IStaticIPOperations.CheckAsync Method (String, String, CancellationToken)
The Check Static IP operation retrieves the details for the availability of static IP addresses for the given virtual network.
Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Syntax
Task<NetworkStaticIPAvailabilityResponse> CheckAsync(
string networkName,
string ipAddress,
CancellationToken cancellationToken
)
Task<NetworkStaticIPAvailabilityResponse^>^ CheckAsync(
String^ networkName,
String^ ipAddress,
CancellationToken cancellationToken
)
abstract CheckAsync :
networkName:string *
ipAddress:string *
cancellationToken:CancellationToken -> Task<NetworkStaticIPAvailabilityResponse>
Function CheckAsync (
networkName As String,
ipAddress As String,
cancellationToken As CancellationToken
) As Task(Of NetworkStaticIPAvailabilityResponse)
Parameters
networkName
Type: System.StringThe name of the virtual network.
ipAddress
Type: System.StringThe address of the static IP.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<NetworkStaticIPAvailabilityResponse>
A response that indicates the availability of a static IP address, and if not, provides a list of suggestions.
See Also
IStaticIPOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace
Return to top