Partager via


VirtualNetworkResource.CheckIPAddressAvailabilityAsync Méthode

Définition

Vérifie si une adresse IP privée est disponible.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability
  • IdVirtualNetworks_CheckIPAddressAvailability d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.IPAddressAvailabilityResult>> CheckIPAddressAvailabilityAsync (string ipAddress, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckIPAddressAvailabilityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.IPAddressAvailabilityResult>>
override this.CheckIPAddressAvailabilityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.IPAddressAvailabilityResult>>
Public Overridable Function CheckIPAddressAvailabilityAsync (ipAddress As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IPAddressAvailabilityResult))

Paramètres

ipAddress
String

Adresse IP privée à vérifier.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

ipAddress a la valeur null.

S’applique à