Condividi tramite


ManagedClusterSnapshotResource.GetAsync(CancellationToken) Method

Definition

Gets a managed cluster snapshot.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}.
  • Operation Id. : ManagedClusterSnapshots_Get.
  • Default Api Version. : 2026-01-02-preview.
  • Resource. : ManagedClusterSnapshotResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedClusterSnapshotResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to