Udostępnij za pośrednictwem


IStaticIPOperations.CheckAsync(String, String, CancellationToken) Method

Definition

The Check Static IP operation retrieves the details for the availability of static IP addresses for the given virtual network.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkStaticIPAvailabilityResponse> CheckAsync (string networkName, string ipAddress, System.Threading.CancellationToken cancellationToken);
abstract member CheckAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkStaticIPAvailabilityResponse>
Public Function CheckAsync (networkName As String, ipAddress As String, cancellationToken As CancellationToken) As Task(Of NetworkStaticIPAvailabilityResponse)

Parameters

networkName
String

The name of the virtual network.

ipAddress
String

The address of the static IP.

cancellationToken
CancellationToken

Cancellation token.

Returns

A response that indicates the availability of a static IP address, and if not, provides a list of suggestions.

Applies to