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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the private link resource.
forceUpdateTagstringHow the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.
provisioningStatestringThe provisioning state of a pipeline run. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". (Creating, Updating, Deleting, Succeeded, Failed, Canceled)
requestobjectThe request parameters for a pipeline run.
responseobjectThe response of a pipeline run.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, registry_name, pipeline_run_name, subscription_idGets the detailed information for a given pipeline run.
listselectresource_group_name, registry_name, subscription_idLists all the pipeline runs for the specified container registry.
createinsertresource_group_name, registry_name, pipeline_run_name, subscription_idCreates a pipeline run for a container registry with the specified parameters.
deletedeleteresource_group_name, registry_name, pipeline_run_name, subscription_idDeletes a pipeline run from a container registry.

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.

NameDatatypeDescription
pipeline_run_namestringThe name of the pipeline run. Required.
registry_namestringThe name of the container registry. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the detailed information for a given pipeline run.

SELECT
id,
name,
forceUpdateTag,
provisioningState,
request,
response,
systemData,
type
FROM azure.container_registry.pipeline_runs
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND registry_name = '{{ registry_name }}' -- required
AND pipeline_run_name = '{{ pipeline_run_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates a pipeline run for a container registry with the specified parameters.

INSERT INTO azure.container_registry.pipeline_runs (
properties,
resource_group_name,
registry_name,
pipeline_run_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ registry_name }}',
'{{ pipeline_run_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes a pipeline run from a container registry.

DELETE FROM azure.container_registry.pipeline_runs
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND registry_name = '{{ registry_name }}' --required
AND pipeline_run_name = '{{ pipeline_run_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;