Partager via


NetworkVirtualApplianceCollection.GetIfExists Méthode

Définition

Tente d’obtenir les détails de cette ressource à partir du service.

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

Paramètres

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 à