Compartilhar via


Replication Class

An object that represents a replication for a container registry.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerregistry.v2023_07_01.models._models_py3.Resource
Replication

Constructor

Replication(*, location: str, tags: Dict[str, str] | None = None, region_endpoint_enabled: bool = True, zone_redundancy: str | _models.ZoneRedundancy | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

The location of the resource. This cannot be changed after the resource is created. Required.

tags

The tags of the resource.

region_endpoint_enabled

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.

Default value: True
zone_redundancy

Whether or not zone redundancy is enabled for this container registry replication. Known values are: "Enabled" and "Disabled".

Variables

Name Description
id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

location
str

The location of the resource. This cannot be changed after the resource is created. Required.

tags

The tags of the resource.

system_data

Metadata pertaining to creation and last modification of the resource.

provisioning_state

The provisioning state of the replication at the time the operation was called. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled".

status

The status of the replication at the time the operation was called.

region_endpoint_enabled

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.

zone_redundancy

Whether or not zone redundancy is enabled for this container registry replication. Known values are: "Enabled" and "Disabled".