Managed Object - ServiceInstance

See also
Capability, Event, HostSystem, HostVMotionCompatibility, ProductComponentInfo, ResourcePool, ServiceContent, VirtualMachine, VirtualMachinePowerState
Since
null


Managed Object Description

Properties

Name Type Description
capability PCapability


content PServiceContent


serverClock Pxsd:dateTime


PRequired privilege - see tooltip for details

Methods

Methods defined in this Managed Object
CurrentTime, QueryVMotionCompatibility, RetrieveProductComponents, RetrieveServiceContent, ValidateMigration

CurrentTime

Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ServiceInstance used to make the method call.

Return Value

Type Description
xsd:dateTime

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



QueryVMotionCompatibility

Deprecated.

Required Privileges
Resource.QueryVMotion

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ServiceInstance used to make the method call.
vm PManagedObjectReference
to a VirtualMachine

Since null
host PManagedObjectReference[]
to a HostSystem[]

Since null
compatibility* Pxsd:string[]

Since null
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
HostVMotionCompatibility[]

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



RetrieveProductComponents

Required Privileges
System.Anonymous
Since
VI API 2.5

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ServiceInstance used to make the method call.

Return Value

Type Description
ProductComponentInfo[]

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



RetrieveServiceContent

Required Privileges
System.Anonymous

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ServiceInstance used to make the method call.

Return Value

Type Description
ServiceContent

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



ValidateMigration

Deprecated.

Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ServiceInstance used to make the method call.
vm PManagedObjectReference[]
to a VirtualMachine[]

Since null
state* PVirtualMachinePowerState

Since null
testType* Pxsd:string[]

Since null
pool* PManagedObjectReference
to a ResourcePool

Since null
host* PManagedObjectReference
to a HostSystem

Since null
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
Event[]

Faults

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