vSphere Web Services API
| 
 | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods | 
Managed Object - SimpleCommand(vim.SimpleCommand)
- See also
 - ServiceManagerServiceInfo, SimpleCommandEncoding
 - Since
 - vSphere API Release 5.1
 
Managed Object Description
A managed object that wraps the execution of a single arbitrary command. The specific command executed is assumed to be known from the service name by the client invoking this command. This object presents a generic interface for such services.Properties
| Name | Type | Description | 
|---|---|---|
| encodingType | SimpleCommandEncoding | 
         The encoding type used in the result.
       | 
| entity | ServiceManagerServiceInfo | 
         A description of the service.
       | 
Methods
| Methods defined in this Managed Object | 
|---|
| ExecuteSimpleCommand | 
ExecuteSimpleCommand(Execute)
The single function execution point for this simple command. The actual effects of this command depend upon the service handler registered for this instance.- Required Privileges
 - Global.ServiceManagers
 
Parameters
| Name | Type | Description | 
|---|---|---|
| _this | ManagedObjectReference | A reference to the SimpleCommand used to make the method call. | 
| arguments* | xsd:string[] | 
         An arbitrary collection of arguments.
      
Since VI API 2.5 | 
Return Value
| Type | Description | 
|---|---|
| xsd:string | 
Faults
| Type | Description | 
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. | 
Events
| Type | |
|---|---|
| None | |
Show WSDL type definition
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |