Condividi tramite


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. : 2026-01-01.
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

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

Applies to