workflows
Creates, updates, deletes, gets or lists a workflows resource.
Overview​
| Name | workflows |
| Type | Resource |
| Id | nvidia.private_registry.workflows |
Fields​
The following fields are returned by SELECT queries:
- get_by_team
- get
| Name | Datatype | Description |
|---|---|---|
clone_status | object | Progress of cloning artifact version files (wire: cloneStatus) |
duration | string | Wall-clock execution duration as an ISO-8601 duration (e.g. PT1H30M5S, PT0.001S); Omitted while IN_PROGRESS. |
end_time | string (date_time) | UTC instant when the workflow reached a closed state; omitted while IN_PROGRESS. (wire: endTime) |
message | string | Human-readable message about the workflow status |
request_status | object | Request status information (wire: requestStatus) |
start_time | string (date_time) | UTC instant when the workflow execution started. (wire: startTime) |
status | string | Current status of the workflow (IN_PROGRESS, COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT, UNKNOWN) |
workflow_type | string | Workflow type. (CLONE, CUSTOMER_MANAGED_KEY) (wire: workflowType) |
| Name | Datatype | Description |
|---|---|---|
clone_status | object | Progress of cloning artifact version files (wire: cloneStatus) |
duration | string | Wall-clock execution duration as an ISO-8601 duration (e.g. PT1H30M5S, PT0.001S); Omitted while IN_PROGRESS. |
end_time | string (date_time) | UTC instant when the workflow reached a closed state; omitted while IN_PROGRESS. (wire: endTime) |
message | string | Human-readable message about the workflow status |
request_status | object | Request status information (wire: requestStatus) |
start_time | string (date_time) | UTC instant when the workflow execution started. (wire: startTime) |
status | string | Current status of the workflow (IN_PROGRESS, COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT, UNKNOWN) |
workflow_type | string | Workflow type. (CLONE, CUSTOMER_MANAGED_KEY) (wire: workflowType) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_team | select | team, workflow_id | Returns the current status (pending, running, completed, or failed) of an artifact-registry Temporal workflow execution within the specified organization and team. | |
get | select | workflow_id | Returns the current status (pending, running, completed, or failed) of an artifact-registry Temporal workflow execution within the specified organization. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
team | string (UTF-8) | Team name |
workflow_id | string (UTF-8) | Workflow identifier |
SELECT examples​
- get_by_team
- get
Returns the current status (pending, running, completed, or failed) of an artifact-registry Temporal workflow execution within the specified organization and team.
SELECT
clone_status,
duration,
end_time,
message,
request_status,
start_time,
status,
workflow_type
FROM nvidia.private_registry.workflows
WHERE team = '{{ team }}' -- required
AND workflow_id = '{{ workflow_id }}' -- required
;
Returns the current status (pending, running, completed, or failed) of an artifact-registry Temporal workflow execution within the specified organization.
SELECT
clone_status,
duration,
end_time,
message,
request_status,
start_time,
status,
workflow_type
FROM nvidia.private_registry.workflows
WHERE workflow_id = '{{ workflow_id }}' -- required
;