Compartir a través de


VirtualNetworkResource.CheckIPAddressAvailability Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability
  • IdVirtualNetworks_CheckIPAddressAvailability de operaciones
public virtual Azure.Response<Azure.ResourceManager.Network.Models.IPAddressAvailabilityResult> CheckIPAddressAvailability (string ipAddress, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckIPAddressAvailability : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.IPAddressAvailabilityResult>
override this.CheckIPAddressAvailability : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.IPAddressAvailabilityResult>
Public Overridable Function CheckIPAddressAvailability (ipAddress As String, Optional cancellationToken As CancellationToken = Nothing) As 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