Replicas - Get

Gets the properties of the specified replica.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}?api-version=2023-03-01

URI Parameters

Name In Required Type Description
configStoreName
path True

string

The name of the configuration store.

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

replicaName
path True

string

The name of the replica.

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

resourceGroupName
path True

string

The name of the resource group to which the container registry belongs.

subscriptionId
path True

string

The Microsoft Azure subscription ID.

api-version
query True

string

The client API version.

Responses

Name Type Description
200 OK

Replica

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

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

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

Replicas_Get

Sample request

GET https://management.azure.com/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus?api-version=2023-03-01

Sample response

{
  "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus",
  "name": "myReplicaEus",
  "type": "Microsoft.AppConfiguration/configurationStores/replicas",
  "location": "eastus",
  "properties": {
    "endpoint": "https://contoso-myreplicaeus.azconfig.io",
    "provisioningState": "Succeeded"
  },
  "systemData": {
    "createdBy": "foo@contoso.com",
    "createdByType": "User",
    "createdAt": "2018-04-24T16:30:55+00:00",
    "lastModifiedBy": "foo@contoso.com",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2018-04-24T16:30:55+00:00"
  }
}

Definitions

Name Description
createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetails

The details of the error.

ErrorResponse

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Replica

The replica resource.

ReplicaProvisioningState

The provisioning state of the replica.

systemData

Metadata pertaining to creation and last modification of the resource.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetails

The details of the error.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

Error code.

message

string

Error message indicating why the operation failed.

ErrorResponse

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Name Type Description
error

ErrorDetails

The details of the error.

Replica

The replica resource.

Name Type Description
id

string

The resource ID.

location

string

The location of the replica.

name

string

The name of the replica.

properties.endpoint

string

The URI of the replica where the replica API will be available.

properties.provisioningState

ReplicaProvisioningState

The provisioning state of the replica.

systemData

systemData

Resource system metadata.

type

string

The type of the resource.

ReplicaProvisioningState

The provisioning state of the replica.

Name Type Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

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 last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.