Click or drag to resize
PublicIPAssignAsync Method
Assigns the Public IP to a cloud server.

Namespace: Rackspace.RackConnect.v3
Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax
public Task AssignAsync(
	string serverId,
	CancellationToken cancellationToken = null
)

Parameters

serverId
Type: SystemString
cancellationToken (Optional)
Type: System.ThreadingCancellationToken

Return Value

Type: Task
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen the PublicIP instance was not constructed by the RackConnectService, as it is missing the appropriate internal state to execute service calls.
See Also