Partager via


InboundNatRuleCollection.Exists(String, String, CancellationToken) Méthode

Définition

Vérifie si la ressource existe dans Azure.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • IdInboundNatRules_Get d’opération
public virtual Azure.Response<bool> Exists (string inboundNatRuleName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (inboundNatRuleName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Paramètres

inboundNatRuleName
String

Nom de la règle NAT de trafic entrant.

expand
String

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

inboundNatRuleName a la valeur null.

S’applique à