Freigeben über


NetworkProfileCollection.Exists(String, String, CancellationToken) Methode

Definition

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

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}
  • Vorgang IdNetworkProfiles_Get
public virtual Azure.Response<bool> Exists (string networkProfileName, 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 (networkProfileName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameter

networkProfileName
String

Der Name des Präfixes für öffentliche IP-Adressen.

expand
String

Erweitert Ressourcen, auf die verwiesen wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

networkProfileName ist NULL.

Gilt für: