Udostępnij za pośrednictwem


SnapshotPolicyCollection.GetAll(CancellationToken) Method

Definition

List snapshot policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies
  • Operation Id: SnapshotPolicies_List
  • Default Api Version: 2024-07-01
  • Resource: SnapshotPolicyResource
public virtual Azure.Pageable<Azure.ResourceManager.NetApp.SnapshotPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetApp.SnapshotPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetApp.SnapshotPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SnapshotPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to