Condividi tramite


AgentPoolSnapshotCollection.GetAll(CancellationToken) Method

Definition

Lists snapshots in the specified subscription and resource group.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots.
  • Operation Id. : Snapshots_ListByResourceGroup.
  • Default Api Version. : 2026-01-01.
public virtual Azure.Pageable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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