Click or drag to resize
RackConnectService.CreatePublicIPAsync Method
Allocates a public IP address to the current account.

Namespace: Rackspace.RackConnect.v3
Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax
public Task<PublicIP> CreatePublicIPAsync(
	PublicIPCreateDefinition definition,
	CancellationToken cancellationToken = null
)

Parameters

definition
Type: Rackspace.RackConnect.v3.PublicIPCreateDefinition
The public IP definition.
cancellationToken (Optional)
Type: System.Threading.CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type: Task<PublicIP>
The identifer of the public IP address while it is being provisioned. Use WaitUntilPublicIPIsActiveAsync(Identifier, Nullable< TimeSpan> , Nullable< TimeSpan> , IProgress< Boolean> , CancellationToken) to wait for the IP address to be fully active.
See Also