Share via


SiteRecoveryPolicyResource.Get(CancellationToken) Method

Definition

Gets the details of a replication policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}
  • Operation Id: ReplicationPolicies_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPolicyResource
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of SiteRecoveryPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to