| PublicIPAssignAsync Method |
Assigns the Public IP to a cloud server.
Namespace: Rackspace.RackConnect.v3Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public Task AssignAsync(
string serverId,
CancellationToken cancellationToken = null
)
Public Function AssignAsync (
serverId As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ AssignAsync(
String^ serverId,
CancellationToken cancellationToken = nullptr
)
member AssignAsync :
serverId : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task
Parameters
- serverId
- Type: SystemString
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
Return Value
Type:
TaskExceptions See Also