Skip to main content

replication_extensions

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

Overview

Namereplication_extensions
TypeResource
Idazure.data_replication.replication_extensions

Fields

The following fields are returned by SELECT queries:

Returns Replication extension Model on success.

NameDatatypeDescription
idstringGets or sets the Id of the resource.
namestringGets or sets the name of the resource.
propertiesobjectReplication extension model properties.
systemDataobjectSystem data required to be defined for Azure resources.
typestringGets or sets the type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, vaultName, replicationExtensionNameGets the details of the replication extension.
listselectsubscriptionId, resourceGroupName, vaultNameGets the list of replication extensions in the given vault.
createinsertsubscriptionId, resourceGroupName, vaultName, replicationExtensionName, data__propertiesCreates the replication extension in the given vault.
deletedeletesubscriptionId, resourceGroupName, vaultName, replicationExtensionNameDeletes the replication extension in the given vault.

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
replicationExtensionNamestringThe replication extension name.
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.
vaultNamestringThe vault name.

SELECT examples

Gets the details of the replication extension.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_replication.replication_extensions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vaultName = '{{ vaultName }}' -- required
AND replicationExtensionName = '{{ replicationExtensionName }}' -- required
;

INSERT examples

Creates the replication extension in the given vault.

INSERT INTO azure.data_replication.replication_extensions (
data__properties,
subscriptionId,
resourceGroupName,
vaultName,
replicationExtensionName
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ vaultName }}',
'{{ replicationExtensionName }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes the replication extension in the given vault.

DELETE FROM azure.data_replication.replication_extensions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND vaultName = '{{ vaultName }}' --required
AND replicationExtensionName = '{{ replicationExtensionName }}' --required
;