Partager via


NetworkFabricExternalNetworkCollection.GetAsync Méthode

Définition

Implémente la méthode GET ExternalNetworks.

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

Paramètres

externalNetworkName
String

Nom du réseau externe.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

externalNetworkName a la valeur null.

S’applique à