共用方式為


ObjectReplicationPolicyResource.Get(CancellationToken) Method

Definition

Get the object replication policy of the storage account by policy ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}
  • Operation Id: ObjectReplicationPolicies_Get
  • Default Api Version: 2023-05-01
  • Resource: ObjectReplicationPolicyResource
public virtual Azure.Response<Azure.ResourceManager.Storage.ObjectReplicationPolicyResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.ObjectReplicationPolicyResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.ObjectReplicationPolicyResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ObjectReplicationPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to