Scripting Object - VcHostDateTimeSystem

Scripting-object corresponding to
HostDateTimeSystem
Attribute of
VcHostConfigManager

Scripting Object Description

This managed object provides for NTP and date/time related configuration on a host. Information regarding the running status of the NTP daemon and functionality to start and stop the daemon is provided by the {@link vim.host.ServiceSystem} object.

Attributes

Name Type Description
dateTimeInfoVcHostDateTimeInfo

@since VI API 2.5
idString

@since Unknown
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, createTrigger, queryAvailableTimeZones, queryDateTime, refreshDateTimeSystem, updateDateTime, updateDateTimeConfig

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

queryDateTime

Get the current DateTime on the host. @since VI API 2.5

Parameters

NameTypeDescription
None

Return Value

Type Description
Date

updateDateTime

Update the date/time on the host. This method should be used with caution since network delays, execution delays can result in time skews. @since VI API 2.5

Parameters

NameTypeDescription
arg0Date


Return Value

Type Description
None

queryAvailableTimeZones

Retrieves the list of available timezones on the host. The API works off the public domain 'tz' timezone database. @since VI API 2.5

Parameters

NameTypeDescription
None

Return Value

Type Description
VcHostDateTimeSystemTimeZone []

updateDateTimeConfig

Update the DateTime configuration of the host. @since VI API 2.5

Parameters

NameTypeDescription
arg0VcHostDateTimeConfig


Return Value

Type Description
None

refreshDateTimeSystem

Refresh the DateTime related settings to pick up any changes that might have occurred. @since VI API 2.5

Parameters

NameTypeDescription
None

Return Value

Type Description
None