replication_extensions
Creates, updates, deletes, gets or lists a replication_extensions
resource.
Overview
Name | replication_extensions |
Type | Resource |
Id | azure.data_replication.replication_extensions |
Fields
- vw_replication_extensions
- replication_extensions
Name | Datatype | Description |
---|---|---|
id | text | Gets or sets the Id of the resource. |
name | text | Gets or sets the name of the resource. |
custom_properties | text | field from the properties object |
provisioning_state | text | field from the properties object |
replicationExtensionName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | Gets or sets the type of the resource. |
vaultName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Gets or sets the Id of the resource. |
name | string | Gets or sets the name of the resource. |
properties | object | Replication extension model properties. |
systemData | object | System data required to be defined for Azure resources. |
type | string | Gets or sets the type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | replicationExtensionName, resourceGroupName, subscriptionId, vaultName | Gets the details of the replication extension. |
list | SELECT | resourceGroupName, subscriptionId, vaultName | Gets the list of replication extensions in the given vault. |
create | INSERT | replicationExtensionName, resourceGroupName, subscriptionId, vaultName, data__properties | Creates the replication extension in the given vault. |
delete | DELETE | replicationExtensionName, resourceGroupName, subscriptionId, vaultName | Deletes the replication extension in the given vault. |
SELECT
examples
Gets the list of replication extensions in the given vault.
- vw_replication_extensions
- replication_extensions
SELECT
id,
name,
custom_properties,
provisioning_state,
replicationExtensionName,
resourceGroupName,
subscriptionId,
system_data,
type,
vaultName
FROM azure.data_replication.vw_replication_extensions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_replication.replication_extensions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new replication_extensions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.data_replication.replication_extensions (
replicationExtensionName,
resourceGroupName,
subscriptionId,
vaultName,
data__properties,
properties
)
SELECT
'{{ replicationExtensionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vaultName }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: customProperties
value:
- name: instanceType
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value: string
DELETE
example
Deletes the specified replication_extensions
resource.
/*+ delete */
DELETE FROM azure.data_replication.replication_extensions
WHERE replicationExtensionName = '{{ replicationExtensionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';