VMware vSphere Automation SDK for .NET 6.5.0
vmware::appliance::techpreview::Ntp Interface Reference

Ntp interface provides methods Gets NTP configuration status and tests connection to ntp servers. More...

Inherited by vmware::appliance::techpreview::NtpStub.

List of all members.

Public Member Functions

vmware.appliance.techpreview.NtpTypes.TestStatusInfo Test (global::System.Collections.Generic.List< string > servers)
 Test the connection to a list of ntp servers.
vmware.appliance.techpreview.NtpTypes.TestStatusInfo Test (global::System.Collections.Generic.List< string > servers, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Test the connection to a list of ntp servers.
global::System.Threading.Tasks.Task
< vmware.appliance.techpreview.NtpTypes.TestStatusInfo
TestAsync (global::System.Collections.Generic.List< string > servers)
 Test the connection to a list of ntp servers.
global::System.Threading.Tasks.Task
< vmware.appliance.techpreview.NtpTypes.TestStatusInfo
TestAsync (global::System.Collections.Generic.List< string > servers, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Test the connection to a list of ntp servers.
vmware.appliance.techpreview.NtpTypes.NTPConfig Get ()
 Get the NTP configuration status.
vmware.appliance.techpreview.NtpTypes.NTPConfig Get (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the NTP configuration status.
global::System.Threading.Tasks.Task
< vmware.appliance.techpreview.NtpTypes.NTPConfig
GetAsync ()
 Get the NTP configuration status.
global::System.Threading.Tasks.Task
< vmware.appliance.techpreview.NtpTypes.NTPConfig
GetAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the NTP configuration status.

Detailed Description

Ntp interface provides methods Gets NTP configuration status and tests connection to ntp servers.


Member Function Documentation

vmware.appliance.techpreview.NtpTypes.NTPConfig vmware::appliance::techpreview::Ntp::Get ( )

Get the NTP configuration status.

If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
NTP config

Implemented in vmware::appliance::techpreview::NtpStub.

vmware.appliance.techpreview.NtpTypes.NTPConfig vmware::appliance::techpreview::Ntp::Get ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Get the NTP configuration status.

If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
NTP config

Implemented in vmware::appliance::techpreview::NtpStub.

global::System.Threading.Tasks.Task<vmware.appliance.techpreview.NtpTypes.NTPConfig> vmware::appliance::techpreview::Ntp::GetAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Get the NTP configuration status.

If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
NTP config

Implemented in vmware::appliance::techpreview::NtpStub.

global::System.Threading.Tasks.Task<vmware.appliance.techpreview.NtpTypes.NTPConfig> vmware::appliance::techpreview::Ntp::GetAsync ( )

Get the NTP configuration status.

If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
NTP config

Implemented in vmware::appliance::techpreview::NtpStub.

vmware.appliance.techpreview.NtpTypes.TestStatusInfo vmware::appliance::techpreview::Ntp::Test ( global::System.Collections.Generic.List< string >  servers,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Test the connection to a list of ntp servers.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or IP addresses of NTP servers.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
NTP connection status

Implemented in vmware::appliance::techpreview::NtpStub.

vmware.appliance.techpreview.NtpTypes.TestStatusInfo vmware::appliance::techpreview::Ntp::Test ( global::System.Collections.Generic.List< string >  servers)

Test the connection to a list of ntp servers.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or IP addresses of NTP servers.
Returns:
NTP connection status

Implemented in vmware::appliance::techpreview::NtpStub.

global::System.Threading.Tasks.Task<vmware.appliance.techpreview.NtpTypes.TestStatusInfo> vmware::appliance::techpreview::Ntp::TestAsync ( global::System.Collections.Generic.List< string >  servers)

Test the connection to a list of ntp servers.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or IP addresses of NTP servers.
Returns:
NTP connection status

Implemented in vmware::appliance::techpreview::NtpStub.

global::System.Threading.Tasks.Task<vmware.appliance.techpreview.NtpTypes.TestStatusInfo> vmware::appliance::techpreview::Ntp::TestAsync ( global::System.Collections.Generic.List< string >  servers,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Test the connection to a list of ntp servers.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or IP addresses of NTP servers.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
NTP connection status

Implemented in vmware::appliance::techpreview::NtpStub.


The documentation for this interface was generated from the following file: