IWsEndUserSetEnqueueServerReset Method
|
Performs a restart operation of the virtual server specified. By the method SetEnqueueServerPowerOff() of Aruba WsEndUser,
you can append operation (Job) to reset the virtual server specified by parameter ServerID.
Namespace:
Aruba.Cloud.WsEndUser
Assembly:
Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax[OperationContractAttribute]
WsResult SetEnqueueServerReset(
int serverId
)
<OperationContractAttribute>
Function SetEnqueueServerReset (
serverId As Integer
) As WsResult
[OperationContractAttribute]
WsResult^ SetEnqueueServerReset(
int serverId
)
[<OperationContractAttribute>]
abstract SetEnqueueServerReset :
serverId : int -> WsResult
function SetEnqueueServerReset(
serverId : int
) : WsResult
Parameters
- serverId
- Type: SystemInt32
Value of type string that represents the unique identifier of the virtual server to restart.
Return Value
Type:
WsResult
The method returns the serialization in JavaScript Object Notation (JSON) class
WsResult.
Examples
The method can be called using the following notation:
The following is an example of the response body.
ArubaCloud.Response.ServerRestart.call({
"ExceptionInfo": null,
"ResultCode": 0,
"ResultMessage": null,
"Success": true
})
See Also