Microsoft.ContainerRegistry registries/importPipelines 2021-06-01-preview

The registries/importPipelines resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.ContainerRegistry/registries/importPipelines resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.ContainerRegistry/registries/importPipelines@2021-06-01-preview' = {
  name: 'string'
  location: 'string'
  identity: {
    principalId: 'string'
    tenantId: 'string'
    type: 'string'
    userAssignedIdentities: {}
  }
  properties: {
    options: [ 'string' ]
    source: {
      keyVaultUri: 'string'
      type: 'AzureStorageBlobContainer'
      uri: 'string'
    }
    trigger: {
      sourceTrigger: {
        status: 'string'
      }
    }
  }
}

Property values

registries/importPipelines

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.ContainerRegistry/registries/importPipelines'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-06-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
location The location of the import pipeline. string
identity Managed identity for the resource. IdentityProperties
properties The properties of an import pipeline. ImportPipelineProperties

IdentityProperties

Name Description Value
principalId The principal ID of resource identity. string
tenantId The tenant ID of resource. string
type The identity type. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 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}'.
object

ImportPipelineProperties

Name Description Value
options The list of all options configured for the pipeline. String array containing any of:
'ContinueOnErrors'
'DeleteSourceBlobOnSuccess'
'OverwriteBlobs'
'OverwriteTags'
source The properties of the import pipeline source. ImportPipelineSourceProperties (required)
trigger PipelineTriggerProperties

ImportPipelineSourceProperties

Name Description Value
keyVaultUri They key vault secret uri to obtain the source storage SAS token. string (required)
type The type of source for the import pipeline. 'AzureStorageBlobContainer'
uri The source uri of the import pipeline.
When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName"
string

PipelineTriggerProperties

Name Description Value
sourceTrigger PipelineSourceTriggerProperties

PipelineSourceTriggerProperties

Name Description Value
status The current status of the source trigger. 'Disabled'
'Enabled'