MockableContainerServiceSubscriptionResource.GetAgentPoolSnapshotsAsync Method

Definition

Gets a list of snapshots in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots
  • Operation Id: Snapshots_List
  • Default Api Version: 2023-10-01
  • Resource: AgentPoolSnapshotResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource> GetAgentPoolSnapshotsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAgentPoolSnapshotsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>
override this.GetAgentPoolSnapshotsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>
Public Overridable Function GetAgentPoolSnapshotsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AgentPoolSnapshotResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AgentPoolSnapshotResource that may take multiple service requests to iterate over.

Applies to