MockableContainerServiceSubscriptionResource.GetAgentPoolSnapshotsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.