# Managed Object - ServiceInstance

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

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
capability P | Capability |
content P | ServiceContent |
serverClock P | xsd:dateTime |

P Required privilege - see tooltip for details

Methods

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

# CurrentTime

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ServiceInstance used to make the method call.

Return Value

Type | Description
--- | ---
xsd:dateTime |

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

# QueryVMotionCompatibility

Deprecated.

Required Privileges
  Resource.QueryVMotion

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ServiceInstance used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since null
host P | ManagedObjectReference[] to a HostSystem[] | Since null
compatibility* P | xsd:string[] | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
HostVMotionCompatibility[] |

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

# RetrieveProductComponents

Required Privileges
  System.Anonymous
Since
  VI API 2.5

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ServiceInstance used to make the method call.

Return Value

Type | Description
--- | ---
ProductComponentInfo[] |

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

# RetrieveServiceContent

Required Privileges
  System.Anonymous

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ServiceInstance used to make the method call.

Return Value

Type | Description
--- | ---
ServiceContent |

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

# ValidateMigration

Deprecated.

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ServiceInstance used to make the method call.
vm P | ManagedObjectReference[] to a VirtualMachine[] | Since null
state* P | VirtualMachinePowerState | Since null
testType* P | xsd:string[] | Since null
pool* P | ManagedObjectReference to a ResourcePool | Since null
host* P | ManagedObjectReference to a HostSystem | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
Event[] |

Faults

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