Partager via


ManagedClusterSnapshotCollection.Get(String, CancellationToken) Méthode

Définition

Obtient un cluster managé instantané.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}
  • IdManagedClusterSnapshots_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource> Get (string resourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>
Public Overridable Function Get (resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedClusterSnapshotResource)

Paramètres

resourceName
String

Nom de la ressource de cluster managé.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

resourceName est une chaîne vide et devait être non vide.

resourceName a la valeur null.

S’applique à