ManagedNetworkGroupCollection.GetAsync(String, CancellationToken) Méthode

Définition

L’opération Get ManagedNetworkGroups obtient un groupe de réseau managé spécifié par le groupe de ressources, le nom du réseau managé et le nom du groupe

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}
  • IdManagedNetworkGroups_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkGroupResource>> GetAsync (string managedNetworkGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkGroupResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkGroupResource>>
Public Overridable Function GetAsync (managedNetworkGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedNetworkGroupResource))

Paramètres

managedNetworkGroupName
String

Nom du groupe de réseau managé.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

managedNetworkGroupName a la valeur null.

S’applique à