Condividi tramite


ObjectReplicationPolicyCollection.GetAll(CancellationToken) Method

Definition

List the object replication policies associated with the storage account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ObjectReplicationPolicyResource that may take multiple service requests to iterate over.

Applies to