runs
Creates, updates, deletes, gets or lists a runs
resource.
Overview
Name | runs |
Type | Resource |
Id | azure.container_registry.runs |
Fields
- vw_runs
- runs
Name | Datatype | Description |
---|---|---|
agent_configuration | text | field from the properties object |
agent_pool_name | text | field from the properties object |
create_time | text | field from the properties object |
custom_registries | text | field from the properties object |
finish_time | text | field from the properties object |
image_update_trigger | text | field from the properties object |
is_archive_enabled | text | field from the properties object |
last_updated_time | text | field from the properties object |
log_artifact | text | field from the properties object |
output_images | text | field from the properties object |
platform | text | field from the properties object |
provisioning_state | text | field from the properties object |
registryName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
runId | text | field from the properties object |
run_error_message | text | field from the properties object |
run_id | text | field from the properties object |
run_type | text | field from the properties object |
source_registry_auth | text | field from the properties object |
source_trigger | text | field from the properties object |
start_time | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
task | text | field from the properties object |
timer_trigger | text | field from the properties object |
update_trigger_token | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties for a run. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | registryName, resourceGroupName, runId, subscriptionId | Gets the detailed information for a given run. |
list | SELECT | registryName, resourceGroupName, subscriptionId | Gets all the runs for a registry. |
update | UPDATE | registryName, resourceGroupName, runId, subscriptionId | Patch the run properties. |
cancel | EXEC | registryName, resourceGroupName, runId, subscriptionId | Cancel an existing run. |
SELECT
examples
Gets all the runs for a registry.
- vw_runs
- runs
SELECT
agent_configuration,
agent_pool_name,
create_time,
custom_registries,
finish_time,
image_update_trigger,
is_archive_enabled,
last_updated_time,
log_artifact,
output_images,
platform,
provisioning_state,
registryName,
resourceGroupName,
runId,
run_error_message,
run_id,
run_type,
source_registry_auth,
source_trigger,
start_time,
status,
subscriptionId,
task,
timer_trigger,
update_trigger_token
FROM azure.container_registry.vw_runs
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.container_registry.runs
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
UPDATE
example
Updates a runs
resource.
/*+ update */
UPDATE azure.container_registry.runs
SET
isArchiveEnabled = true|false
WHERE
registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND runId = '{{ runId }}'
AND subscriptionId = '{{ subscriptionId }}';