Compartir a través de


VirtualNetworkResource.CheckIPAddressAvailabilityAsync Método

Definición

Comprueba si hay disponible una dirección IP privada para su uso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability
  • IdVirtualNetworks_CheckIPAddressAvailability de operaciones
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))

Parámetros

ipAddress
String

Dirección IP privada que se va a comprobar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

ipAddress es null.

Se aplica a