Microsoft.ContainerRegistry registries/pipelineRuns template reference

Template format

To create a Microsoft.ContainerRegistry/registries/pipelineRuns resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ContainerRegistry/registries/pipelineRuns",
  "apiVersion": "2019-12-01-preview",
  "properties": {
    "request": {
      "pipelineResourceId": "string",
      "artifacts": [
        "string"
      ],
      "source": {
        "type": "AzureStorageBlob",
        "name": "string"
      },
      "target": {
        "type": "AzureStorageBlob",
        "name": "string"
      },
      "catalogDigest": "string"
    }
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ContainerRegistry/registries/pipelineRuns object

Name Type Required Value
name string Yes The name of the pipeline run.
type enum Yes pipelineRuns
-or-
Microsoft.ContainerRegistry/registries/pipelineRuns

See Set name and type for child resources.
apiVersion enum Yes 2019-12-01-preview
properties object Yes The properties of a pipeline run. - PipelineRunProperties object

PipelineRunProperties object

Name Type Required Value
request object No The request parameters for a pipeline run. - PipelineRunRequest object

PipelineRunRequest object

| Name | Type | Required | Value | | ---- | ---- | ---- | ---- | | pipelineResourceId | string | No | The resource ID of the pipeline to run. | | artifacts | array | No | List of source artifacts to be transferred by the pipeline. Specify an image by repository ('hello-world'). This will use the 'latest' tag. Specify an image by tag ('hello-world:latest'). Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). - string | | source | object | No | The source properties of the pipeline run. - PipelineRunSourceProperties object | | target | object | No | The target properties of the pipeline run. - PipelineRunTargetProperties object | | catalogDigest | string | No | The digest of the tar used to transfer the artifacts. |

PipelineRunSourceProperties object

Name Type Required Value
type enum No The type of the source. - AzureStorageBlob
name string No The name of the source.

PipelineRunTargetProperties object

Name Type Required Value
type enum No The type of the target. - AzureStorageBlob
name string No The name of the target.