NetAppVolumeResource.AuthorizeExternalReplicationAsync Method

Definition

Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication.
  • Operation Id. : Volumes_AuthorizeExternalReplication.
  • Default Api Version. : 2026-01-15-preview.
  • Resource. : NetAppVolumeResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.Models.SvmPeerCommandResult>> AuthorizeExternalReplicationAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member AuthorizeExternalReplicationAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.Models.SvmPeerCommandResult>>
override this.AuthorizeExternalReplicationAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.Models.SvmPeerCommandResult>>
Public Overridable Function AuthorizeExternalReplicationAsync (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SvmPeerCommandResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to