Share via


MockableContainerServiceSubscriptionResource.GetManagedClusterSnapshots Method

Definition

Gets a list of managed cluster snapshots in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedclustersnapshots
  • Operation Id: ManagedClusterSnapshots_List
public virtual Azure.Pageable<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource> GetManagedClusterSnapshots (System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedClusterSnapshots : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>
override this.GetManagedClusterSnapshots : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>
Public Overridable Function GetManagedClusterSnapshots (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedClusterSnapshotResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to