Freigeben über


IPGroupCollection.Exists(String, String, CancellationToken) Methode

Definition

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}
  • Vorgangs-IdIpGroups_Get
public virtual Azure.Response<bool> Exists (string ipGroupsName, 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 (ipGroupsName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameter

ipGroupsName
String

Der Name der ipGroups.

expand
String

Erweitert resourceIds (von Firewalls/Netzwerksicherheitsgruppen usw.), auf die von der IpGroups-Ressource verwiesen wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

ipGroupsName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

ipGroupsName ist NULL.

Gilt für: