Skip to main content

volumes_replications

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

Overview

Namevolumes_replications
TypeResource
Idazure_isv.netapp.volumes_replications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
endpointTypestringIndicates whether the local volume is the source or destination for the Volume Replication
remoteVolumeRegionstringThe remote region for the other end of the Volume Replication.
remoteVolumeResourceIdstringThe resource ID of the remote volume.
replicationIdstringUUID v4 used to identify the replication. (pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$, example: 5ee41ce4-8f44-4ecd-ad89-8c1e573fe3b8)
replicationSchedulestringSchedule

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, accountName, poolName, volumeNameList all replications for a specified volume
deleteexecsubscriptionId, resourceGroupName, accountName, poolName, volumeNameDelete the replication connection on the destination volume, and send release to the source replication

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
accountNamestringThe name of the NetApp account
poolNamestringThe name of the capacity pool
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.
volumeNamestringThe name of the volume

SELECT examples

List all replications for a specified volume

SELECT
endpointType,
remoteVolumeRegion,
remoteVolumeResourceId,
replicationId,
replicationSchedule
FROM azure_isv.netapp.volumes_replications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND poolName = '{{ poolName }}' -- required
AND volumeName = '{{ volumeName }}' -- required
;

Lifecycle Methods

Delete the replication connection on the destination volume, and send release to the source replication

EXEC azure_isv.netapp.volumes_replications.delete 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@accountName='{{ accountName }}' --required,
@poolName='{{ poolName }}' --required,
@volumeName='{{ volumeName }}' --required
;