Skip to main content

pipeline_runs

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

Overview

Namepipeline_runs
TypeResource
Idazure.container_registry.pipeline_runs

Fields

NameDatatypeDescription
force_update_tagtextfield from the properties object
pipelineRunNametextfield from the properties object
provisioning_statetextfield from the properties object
registryNametextfield from the properties object
requesttextfield from the properties object
resourceGroupNametextfield from the properties object
responsetextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTpipelineRunName, registryName, resourceGroupName, subscriptionIdGets the detailed information for a given pipeline run.
listSELECTregistryName, resourceGroupName, subscriptionIdLists all the pipeline runs for the specified container registry.
createINSERTpipelineRunName, registryName, resourceGroupName, subscriptionIdCreates a pipeline run for a container registry with the specified parameters
deleteDELETEpipelineRunName, registryName, resourceGroupName, subscriptionIdDeletes a pipeline run from a container registry.

SELECT examples

Lists all the pipeline runs for the specified container registry.

SELECT
force_update_tag,
pipelineRunName,
provisioning_state,
registryName,
request,
resourceGroupName,
response,
subscriptionId
FROM azure.container_registry.vw_pipeline_runs
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new pipeline_runs resource.

/*+ create */
INSERT INTO azure.container_registry.pipeline_runs (
pipelineRunName,
registryName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ pipelineRunName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified pipeline_runs resource.

/*+ delete */
DELETE FROM azure.container_registry.pipeline_runs
WHERE pipelineRunName = '{{ pipelineRunName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';