Managed Object - HostDateTimeSystem

Property of
HostConfigManager
See also
HostDateTimeConfig, HostDateTimeInfo, HostDateTimeSystemServiceTestResult, HostDateTimeSystemTimeZone
Since
VI API 2.5


Managed Object Description

Properties

Name Type Description
dateTimeInfo PHostDateTimeInfo


P Required privilege: System.Read

Methods

Methods defined in this Managed Object
QueryAvailableTimeZones, QueryDateTime, RefreshDateTimeSystem, TestTimeService, UpdateDateTime, UpdateDateTimeConfig

QueryAvailableTimeZones

Required Privileges
System.Read

Parameters

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

Return Value

Type Description
HostDateTimeSystemTimeZone[]

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



QueryDateTime

Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostDateTimeSystem 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



RefreshDateTimeSystem

Required Privileges
Host.Config.DateTime

Parameters

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

Return Value

Type Description
None

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



TestTimeService

Required Privileges
Host.Config.DateTime
Since
vSphere API 7.0.3.0

Parameters

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

Return Value

Type Description
HostDateTimeSystemServiceTestResult

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



UpdateDateTime

Required Privileges
Host.Config.DateTime

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostDateTimeSystem used to make the method call.
dateTime Pxsd:dateTime

Since VI API 2.5
P Required privilege: dateTime

Return Value

Type Description
None

Faults

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



UpdateDateTimeConfig

Required Privileges
Host.Config.DateTime

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostDateTimeSystem used to make the method call.
config PHostDateTimeConfig

Since VI API 2.5
P Required privilege: config

Return Value

Type Description
None

Faults

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