Skip to main content

runs

Creates, updates, deletes, gets or lists a runs resource.

Overview

Nameruns
TypeResource
Idazure.container_registry.runs

Fields

NameDatatypeDescription
agent_configurationtextfield from the properties object
agent_pool_nametextfield from the properties object
create_timetextfield from the properties object
custom_registriestextfield from the properties object
finish_timetextfield from the properties object
image_update_triggertextfield from the properties object
is_archive_enabledtextfield from the properties object
last_updated_timetextfield from the properties object
log_artifacttextfield from the properties object
output_imagestextfield from the properties object
platformtextfield from the properties object
provisioning_statetextfield from the properties object
registryNametextfield from the properties object
resourceGroupNametextfield from the properties object
runIdtextfield from the properties object
run_error_messagetextfield from the properties object
run_idtextfield from the properties object
run_typetextfield from the properties object
source_registry_authtextfield from the properties object
source_triggertextfield from the properties object
start_timetextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tasktextfield from the properties object
timer_triggertextfield from the properties object
update_trigger_tokentextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTregistryName, resourceGroupName, runId, subscriptionIdGets the detailed information for a given run.
listSELECTregistryName, resourceGroupName, subscriptionIdGets all the runs for a registry.
updateUPDATEregistryName, resourceGroupName, runId, subscriptionIdPatch the run properties.
cancelEXECregistryName, resourceGroupName, runId, subscriptionIdCancel an existing run.

SELECT examples

Gets all the runs for a registry.

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 }}';

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 }}';