volumes_replications
Creates, updates, deletes, gets or lists a volumes_replications
resource.
Overview
Name | volumes_replications |
Type | Resource |
Id | azure_isv.netapp.volumes_replications |
Fields
Name | Datatype | Description |
---|---|---|
endpointType | string | Indicates whether the local volume is the source or destination for the Volume Replication |
remoteVolumeRegion | string | The remote region for the other end of the Volume Replication. |
remoteVolumeResourceId | string | The resource ID of the remote volume. |
replicationId | string | UUID v4 used to identify the replication. |
replicationSchedule | string | Schedule |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | accountName, poolName, resourceGroupName, subscriptionId, volumeName | List all replications for a specified volume |
delete | DELETE | accountName, poolName, resourceGroupName, subscriptionId, volumeName | Delete the replication connection on the destination volume, and send release to the source replication |
SELECT
examples
List all replications for a specified volume
SELECT
endpointType,
remoteVolumeRegion,
remoteVolumeResourceId,
replicationId,
replicationSchedule
FROM azure_isv.netapp.volumes_replications
WHERE accountName = '{{ accountName }}'
AND poolName = '{{ poolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND volumeName = '{{ volumeName }}';
DELETE
example
Deletes the specified volumes_replications
resource.
/*+ delete */
DELETE FROM azure_isv.netapp.volumes_replications
WHERE accountName = '{{ accountName }}'
AND poolName = '{{ poolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND volumeName = '{{ volumeName }}';