Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The registries/replications resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ContainerRegistry/registries/replications resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ContainerRegistry/registries/replications@2020-11-01-preview' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
regionEndpointEnabled: bool
zoneRedundancy: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.ContainerRegistry/registries/replications
Name | Description | Value |
---|---|---|
location | The location of the resource. This cannot be changed after the resource is created. | string (required) |
name | The resource name | string Constraints: Min length = 5 Max length = 50 Pattern = ^[a-zA-Z0-9]*$ (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: registries |
properties | The properties of the replication. | ReplicationProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ReplicationProperties
Name | Description | Value |
---|---|---|
regionEndpointEnabled | Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. | bool |
zoneRedundancy | Whether or not zone redundancy is enabled for this container registry replication | 'Disabled' 'Enabled' |
ResourceTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Azure Container Registry with Geo-replication Template | A template for creating a new Azure Container Registry with geo-replication |
ARM template resource definition
The registries/replications resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ContainerRegistry/registries/replications resource, add the following JSON to your template.
{
"type": "Microsoft.ContainerRegistry/registries/replications",
"apiVersion": "2020-11-01-preview",
"name": "string",
"location": "string",
"properties": {
"regionEndpointEnabled": "bool",
"zoneRedundancy": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.ContainerRegistry/registries/replications
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-11-01-preview' |
location | The location of the resource. This cannot be changed after the resource is created. | string (required) |
name | The resource name | string Constraints: Min length = 5 Max length = 50 Pattern = ^[a-zA-Z0-9]*$ (required) |
properties | The properties of the replication. | ReplicationProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.ContainerRegistry/registries/replications' |
ReplicationProperties
Name | Description | Value |
---|---|---|
regionEndpointEnabled | Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. | bool |
zoneRedundancy | Whether or not zone redundancy is enabled for this container registry replication | 'Disabled' 'Enabled' |
ResourceTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Azure Container Registry with Geo-replication Template |
A template for creating a new Azure Container Registry with geo-replication |
Terraform (AzAPI provider) resource definition
The registries/replications resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ContainerRegistry/registries/replications resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ContainerRegistry/registries/replications@2020-11-01-preview"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
regionEndpointEnabled = bool
zoneRedundancy = "string"
}
}
}
Property Values
Microsoft.ContainerRegistry/registries/replications
Name | Description | Value |
---|---|---|
location | The location of the resource. This cannot be changed after the resource is created. | string (required) |
name | The resource name | string Constraints: Min length = 5 Max length = 50 Pattern = ^[a-zA-Z0-9]*$ (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: registries |
properties | The properties of the replication. | ReplicationProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.ContainerRegistry/registries/replications@2020-11-01-preview" |
ReplicationProperties
Name | Description | Value |
---|---|---|
regionEndpointEnabled | Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. | bool |
zoneRedundancy | Whether or not zone redundancy is enabled for this container registry replication | 'Disabled' 'Enabled' |
ResourceTags
Name | Description | Value |
---|