IJsonpWsEndUserSetEnqueueServerReset 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.
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]
[WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "SetEnqueueServerReset/{jsonp}/{userName}/{token}/{serverId}")]
Stream SetEnqueueServerReset(
string jsonp,
string userName,
string token,
string serverId
)<OperationContractAttribute>
<WebGetAttribute(ResponseFormat := WebMessageFormat.Json, UriTemplate := "SetEnqueueServerReset/{jsonp}/{userName}/{token}/{serverId}")>
Function SetEnqueueServerReset (
jsonp As String,
userName As String,
token As String,
serverId As String
) As Stream[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat::Json, UriTemplate = L"SetEnqueueServerReset/{jsonp}/{userName}/{token}/{serverId}")]
Stream^ SetEnqueueServerReset(
String^ jsonp,
String^ userName,
String^ token,
String^ serverId
)[<OperationContractAttribute>]
[<WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "SetEnqueueServerReset/{jsonp}/{userName}/{token}/{serverId}")>]
abstract SetEnqueueServerReset :
jsonp : string *
userName : string *
token : string *
serverId : string -> Stream
function SetEnqueueServerReset(
jsonp : String,
userName : String,
token : String,
serverId : String
) : Stream
Parameters
- jsonp
- Type: SystemString
ArubaCloud.Response.Server.call - userName
- Type: SystemString
Value of type string that represents the account to use in the format XXXX-ARU.
- token
- Type: SystemString
Value of type string that represents a valid token for the specified account.
- serverId
- Type: SystemString
Value of type string that represents the unique identifier of the virtual server to restart.
Value of type string that represents the unique identifier of the virtual server to restart.
Return Value
Type:
Stream
The method returns the serialization in JavaScript Object Notation (JSON) class
WsResult.
Return Value
Type:
Stream
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
})
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