Partager via


ElasticSanResource.GetElasticSanVolumeGroupAsync Méthode

Définition

Obtenez un VolumeGroups.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}
  • IdVolumeGroups_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>> GetElasticSanVolumeGroupAsync (string volumeGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetElasticSanVolumeGroupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>>
override this.GetElasticSanVolumeGroupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ElasticSan.ElasticSanVolumeGroupResource>>
Public Overridable Function GetElasticSanVolumeGroupAsync (volumeGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ElasticSanVolumeGroupResource))

Paramètres

volumeGroupName
String

Nom du VolumeGroup.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

volumeGroupName a la valeur null.

S’applique à