Partager via


NetworkExtensions.GetNetworkVirtualAppliance Méthode

Définition

Obtient l’appliance virtuelle réseau spécifiée.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}
  • IdNetworkVirtualAppliances_Get d’opération
public static Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceResource> GetNetworkVirtualAppliance (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkVirtualApplianceName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkVirtualAppliance : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceResource>
<Extension()>
Public Function GetNetworkVirtualAppliance (resourceGroupResource As ResourceGroupResource, networkVirtualApplianceName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkVirtualApplianceResource)

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

networkVirtualApplianceName
String

Nom de l’appliance virtuelle réseau.

expand
String

Développe les ressources référencées.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

networkVirtualApplianceName a la valeur null.

S’applique à