Microsoft.ContainerRegistry registries/exportPipelines 2020-11-01-preview

Template format

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

{
  "name": "string",
  "type": "Microsoft.ContainerRegistry/registries/exportPipelines",
  "apiVersion": "2020-11-01-preview",
  "location": "string",
  "identity": {
    "principalId": "string",
    "tenantId": "string",
    "type": "string",
    "userAssignedIdentities": {}
  },
  "properties": {
    "target": {
      "type": "string",
      "uri": "string",
      "keyVaultUri": "string"
    },
    "options": [
      "string"
    ]
  }
}

Property values

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

Microsoft.ContainerRegistry/registries/exportPipelines object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the export pipeline.
type enum Yes For JSON -exportPipelines
-or-
Microsoft.ContainerRegistry/registries/exportPipelines

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-11-01-preview
location string No The location of the export pipeline.
identity object No The identity of the export pipeline. - IdentityProperties object
properties object Yes The properties of the export pipeline. - ExportPipelineProperties object

IdentityProperties object

Name Type Required Value
principalId string No The principal ID of resource identity.
tenantId string No The tenant ID of resource.
type enum No The identity type. - SystemAssigned, UserAssigned, SystemAssigned, UserAssigned, None
userAssignedIdentities object No The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.

ExportPipelineProperties object

Name Type Required Value
target object Yes The target properties of the export pipeline. - ExportPipelineTargetProperties object

ExportPipelineTargetProperties object

Name Type Required Value
type string No The type of target for the export pipeline.
uri string No The target uri of the export pipeline.

When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"

When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName"
keyVaultUri string Yes They key vault secret uri to obtain the target storage SAS token.