Aracılığıyla paylaş


VirtualNetworksOperationsExtensions.CheckIPAddressAvailabilityAsync Method

Definition

Checks whether a private IP address is available for use.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.IPAddressAvailabilityResult> CheckIPAddressAvailabilityAsync (this Microsoft.Azure.Management.Network.IVirtualNetworksOperations operations, string resourceGroupName, string virtualNetworkName, string ipAddress, System.Threading.CancellationToken cancellationToken = default);
static member CheckIPAddressAvailabilityAsync : Microsoft.Azure.Management.Network.IVirtualNetworksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.IPAddressAvailabilityResult>
<Extension()>
Public Function CheckIPAddressAvailabilityAsync (operations As IVirtualNetworksOperations, resourceGroupName As String, virtualNetworkName As String, ipAddress As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPAddressAvailabilityResult)

Parameters

operations
IVirtualNetworksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkName
String

The name of the virtual network.

ipAddress
String

The private IP address to be verified.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to