Click or drag to resize

IJsonpWsEndUserSetEnqueueServerStop Method

This method executes shutdown of virtual server. By SetEnqueueServerStart it’s possible add shutdown operation (Job) of virtual server with serverId in input

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 = "SetEnqueueServerStop/{jsonp}/{userName}/{token}/{serverId}")]
Stream SetEnqueueServerStop(
	string jsonp,
	string userName,
	string token,
	string serverId
)

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
System.Int32 value indicate server ID to shutdown

Return Value

Type: Stream
WsResult contain call information. For more information consult WsResult
Examples
The method can be called using the following notation:
https://api.dc1.computing.cloud.it/wsenduser/v1.3/jsonp/SetEnqueueServerStop/ArubaCloud.Response.ServerStop.call/ARU-0000/e20cf5fa-ce5c-489c-9160-b26efdc1bad8/859

Below an example of response:

ArubaCloud.Response.ServerStop.call({
  "ExceptionInfo": null,
  "ResultCode": 0,
  "ResultMessage": null,
  "Success": true
})
See Also