Freigeben über


IPAllocationCollection.ExistsAsync(String, String, CancellationToken) Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgangs-IdIpAllocations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string ipAllocationName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (ipAllocationName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameter

ipAllocationName
String

Der Name der IpAllocation.

expand
String

Erweitert die referenzierten Ressourcen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

ipAllocationName ist NULL.

Gilt für: