Skip to main content

replicas

Creates, updates, deletes, gets or lists a replicas resource.

Overview

Namereplicas
TypeResource
Idazure.app_configuration.replicas

Fields

The following fields are returned by SELECT queries:

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

NameDatatypeDescription
idstringThe resource ID.
namestringThe name of the replica.
locationstringThe location of the replica.
propertiesobjectAll replica properties.
systemDataobjectResource system metadata.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, configStoreName, replicaNameGets the properties of the specified replica.
list_by_configuration_storeselectsubscriptionId, resourceGroupName, configStoreName$skipTokenLists the replicas for a given configuration store.
createinsertsubscriptionId, resourceGroupName, configStoreName, replicaNameCreates a replica with the specified parameters.
deletedeletesubscriptionId, resourceGroupName, configStoreName, replicaNameDeletes a replica.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
configStoreNamestringThe name of the configuration store.
replicaNamestringThe name of the replica.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$skipTokenstringA skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

SELECT examples

Gets the properties of the specified replica.

SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.app_configuration.replicas
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND configStoreName = '{{ configStoreName }}' -- required
AND replicaName = '{{ replicaName }}' -- required
;

INSERT examples

Creates a replica with the specified parameters.

INSERT INTO azure.app_configuration.replicas (
data__location,
subscriptionId,
resourceGroupName,
configStoreName,
replicaName
)
SELECT
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ configStoreName }}',
'{{ replicaName }}'
RETURNING
id,
name,
location,
properties,
systemData,
type
;

DELETE examples

Deletes a replica.

DELETE FROM azure.app_configuration.replicas
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND configStoreName = '{{ configStoreName }}' --required
AND replicaName = '{{ replicaName }}' --required
;