Managed Object - SimpleCommand(vim.SimpleCommand)

See also
ServiceManagerServiceInfo, SimpleCommandEncoding
Since
vSphere API 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
encodingTypeSimpleCommandEncoding

The encoding type used in the result.
entityServiceManagerServiceInfo

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

NameTypeDescription
_thisManagedObjectReference A reference to the SimpleCommand used to make the method call.
arguments* Pxsd:string[]

An arbitrary collection of arguments.

Since VI API 2.5
*Need not be set P Required privilege: arguments

Return Value

Type Description
xsd:string

Faults

Type Description
RuntimeFaultThrown 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