IJsonpWsEndUserGetSerialCommandResult Method
|
This operation sends a command to a Virtual Machine and returns its output.
The GetSerialCommandResult allows to send a text command to the Extra Control Tool on an individual virtual machine, and get the result back.
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 = "GetSerialCommandResult/{jsonp}/{userName}/{token}/{serverID}?command={command}")]
Stream GetSerialCommandResult(
string jsonp,
string userName,
string token,
string serverID,
string command
)<OperationContractAttribute>
<WebGetAttribute(ResponseFormat := WebMessageFormat.Json, UriTemplate := "GetSerialCommandResult/{jsonp}/{userName}/{token}/{serverID}?command={command}")>
Function GetSerialCommandResult (
jsonp As String,
userName As String,
token As String,
serverID As String,
command As String
) As Stream[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat::Json, UriTemplate = L"GetSerialCommandResult/{jsonp}/{userName}/{token}/{serverID}?command={command}")]
Stream^ GetSerialCommandResult(
String^ jsonp,
String^ userName,
String^ token,
String^ serverID,
String^ command
)[<OperationContractAttribute>]
[<WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "GetSerialCommandResult/{jsonp}/{userName}/{token}/{serverID}?command={command}")>]
abstract GetSerialCommandResult :
jsonp : string *
userName : string *
token : string *
serverID : string *
command : string -> Stream
function GetSerialCommandResult(
jsonp : String,
userName : String,
token : String,
serverID : String,
command : String
) : Stream
Parameters
- jsonp
- Type: SystemString
- userName
- Type: SystemString
- token
- Type: SystemString
- serverID
- Type: SystemString
- command
- Type: SystemString
Return Value
Type:
StreamReturn Value
Type:
Stream
Examples
See Also