pipeline_runs
Creates, updates, deletes, gets or lists a pipeline_runs
resource.
Overview
Name | pipeline_runs |
Type | Resource |
Id | azure.container_registry.pipeline_runs |
Fields
- vw_pipeline_runs
- pipeline_runs
Name | Datatype | Description |
---|---|---|
force_update_tag | text | field from the properties object |
pipelineRunName | text | field from the properties object |
provisioning_state | text | field from the properties object |
registryName | text | field from the properties object |
request | text | field from the properties object |
resourceGroupName | text | field from the properties object |
response | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of a pipeline run. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | pipelineRunName, registryName, resourceGroupName, subscriptionId | Gets the detailed information for a given pipeline run. |
list | SELECT | registryName, resourceGroupName, subscriptionId | Lists all the pipeline runs for the specified container registry. |
create | INSERT | pipelineRunName, registryName, resourceGroupName, subscriptionId | Creates a pipeline run for a container registry with the specified parameters |
delete | DELETE | pipelineRunName, registryName, resourceGroupName, subscriptionId | Deletes a pipeline run from a container registry. |
SELECT
examples
Lists all the pipeline runs for the specified container registry.
- vw_pipeline_runs
- pipeline_runs
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 }}';
SELECT
properties
FROM azure.container_registry.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_registry.pipeline_runs (
pipelineRunName,
registryName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ pipelineRunName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: request
value:
- name: pipelineResourceId
value: string
- name: artifacts
value:
- string
- name: source
value:
- name: type
value: string
- name: name
value: string
- name: target
value:
- name: type
value: string
- name: name
value: string
- name: catalogDigest
value: string
- name: response
value:
- name: status
value: string
- name: importedArtifacts
value:
- string
- name: progress
value:
- name: percentage
value: string
- name: startTime
value: string
- name: finishTime
value: string
- name: source
value:
- name: type
value: string
- name: uri
value: string
- name: keyVaultUri
value: string
- name: target
value:
- name: type
value: string
- name: uri
value: string
- name: keyVaultUri
value: string
- name: catalogDigest
value: string
- name: trigger
value:
- name: sourceTrigger
value:
- name: timestamp
value: string
- name: pipelineRunErrorMessage
value: string
- name: forceUpdateTag
value: string
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 }}';