Replications - Get

Gets the properties of the specified replication.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}?api-version=2023-01-01-preview

URI Parameters

Name In Required Type Description
registryName
path True

string

The name of the container registry.

Regex pattern: ^[a-zA-Z0-9]*$

replicationName
path True

string

The name of the replication.

Regex pattern: ^[a-zA-Z0-9]*$

resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

uuid

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

Replication

The request was successful; the request was well-formed and received properly.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

ReplicationGet

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication?api-version=2023-01-01-preview

Sample Response

{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
  "name": "myReplication",
  "type": "Microsoft.ContainerRegistry/registries/replications",
  "location": "eastus",
  "tags": {
    "key": "value"
  },
  "properties": {
    "provisioningState": "Succeeded",
    "status": {
      "displayStatus": "Ready",
      "message": "The replication is ready.",
      "timestamp": "2017-03-01T23:15:37.0707808Z"
    },
    "regionEndpointEnabled": true,
    "zoneRedundancy": "Disabled"
  }
}

Definitions

Name Description
createdByType

The type of identity that created the resource.

lastModifiedByType

The type of identity that last modified the resource.

ProvisioningState

Provisioning state of the resource.

Replication

An object that represents a replication for a container registry.

Status

The status of an Azure resource at the time the operation was called.

SystemData

Metadata pertaining to creation and last modification of the resource.

ZoneRedundancy

Whether or not zone redundancy is enabled for this container registry

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

lastModifiedByType

The type of identity that last modified the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

ProvisioningState

Provisioning state of the resource.

Name Type Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

Replication

An object that represents a replication for a container registry.

Name Type Default Value Description
id

string

The resource ID.

location

string

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

name

string

The name of the resource.

properties.provisioningState

ProvisioningState

The provisioning state of the replication at the time the operation was called.

properties.regionEndpointEnabled

boolean

True

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.

properties.status

Status

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

properties.zoneRedundancy

ZoneRedundancy

Disabled

Whether or not zone redundancy is enabled for this container registry replication

systemData

SystemData

Metadata pertaining to creation and last modification of the resource.

tags

object

The tags of the resource.

type

string

The type of the resource.

Status

The status of an Azure resource at the time the operation was called.

Name Type Description
displayStatus

string

The short label for the status.

message

string

The detailed message for the status, including alerts and error messages.

timestamp

string

The timestamp when the status was changed to the current value.

SystemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource modification (UTC).

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

lastModifiedByType

The type of identity that last modified the resource.

ZoneRedundancy

Whether or not zone redundancy is enabled for this container registry

Name Type Description
Disabled

string

Enabled

string