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

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

Inherited by vmware::appliance::NtpStub.

List of all members.

Public Member Functions

global::System.Collections.Generic.List
< vmware.appliance.NtpTypes.TestRunStatus
Test (global::System.Collections.Generic.List< string > servers)
 Test the connection to a list of ntp servers.
global::System.Collections.Generic.List
< vmware.appliance.NtpTypes.TestRunStatus
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
< global::System.Collections.Generic.List
< vmware.appliance.NtpTypes.TestRunStatus > > 
TestAsync (global::System.Collections.Generic.List< string > servers)
 Test the connection to a list of ntp servers.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.appliance.NtpTypes.TestRunStatus > > 
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.
void Set (global::System.Collections.Generic.List< string > servers)
 Set NTP servers.
void Set (global::System.Collections.Generic.List< string > servers, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set NTP servers.
global::System.Threading.Tasks.Task SetAsync (global::System.Collections.Generic.List< string > servers)
 Set NTP servers.
global::System.Threading.Tasks.Task SetAsync (global::System.Collections.Generic.List< string > servers, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set NTP servers.
global::System.Collections.Generic.List
< string > 
Get ()
 Get the NTP configuration status.
global::System.Collections.Generic.List
< string > 
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
< global::System.Collections.Generic.List
< string > > 
GetAsync ()
 Get the NTP configuration status.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< string > > 
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.

This interface was added in vSphere API 6.7.


Member Function Documentation

global::System.Collections.Generic.List<string> vmware::appliance::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. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of NTP servers.

Implemented in vmware::appliance::NtpStub.

global::System.Collections.Generic.List<string> vmware::appliance::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. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of NTP servers.

Implemented in vmware::appliance::NtpStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::appliance::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. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of NTP servers.

Implemented in vmware::appliance::NtpStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::appliance::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. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of NTP servers.

Implemented in vmware::appliance::NtpStub.

void vmware::appliance::Ntp::Set ( global::System.Collections.Generic.List< string >  servers)

Set NTP servers.

This method updates old NTP servers from configuration and sets the input NTP servers in the configuration. If NTP based time synchronization is used internally, the NTP daemon will be restarted to reload given NTP configuration. In case NTP based time synchronization is not used, this method only replaces servers in the NTP configuration. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or ip addresses of ntp servers.

Implemented in vmware::appliance::NtpStub.

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

Set NTP servers.

This method updates old NTP servers from configuration and sets the input NTP servers in the configuration. If NTP based time synchronization is used internally, the NTP daemon will be restarted to reload given NTP configuration. In case NTP based time synchronization is not used, this method only replaces servers in the NTP configuration. This method was added in vSphere API 6.7.

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

Implemented in vmware::appliance::NtpStub.

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

Set NTP servers.

This method updates old NTP servers from configuration and sets the input NTP servers in the configuration. If NTP based time synchronization is used internally, the NTP daemon will be restarted to reload given NTP configuration. In case NTP based time synchronization is not used, this method only replaces servers in the NTP configuration. This method was added in vSphere API 6.7.

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

Implemented in vmware::appliance::NtpStub.

global::System.Threading.Tasks.Task vmware::appliance::Ntp::SetAsync ( global::System.Collections.Generic.List< string >  servers)

Set NTP servers.

This method updates old NTP servers from configuration and sets the input NTP servers in the configuration. If NTP based time synchronization is used internally, the NTP daemon will be restarted to reload given NTP configuration. In case NTP based time synchronization is not used, this method only replaces servers in the NTP configuration. This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or ip addresses of ntp servers.

Implemented in vmware::appliance::NtpStub.

global::System.Collections.Generic.List<vmware.appliance.NtpTypes.TestRunStatus> vmware::appliance::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.

This method was added in vSphere API 6.7.

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:
List of test run statuses.

Implemented in vmware::appliance::NtpStub.

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

Test the connection to a list of ntp servers.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or IP addresses of NTP servers.
Returns:
List of test run statuses.

Implemented in vmware::appliance::NtpStub.

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

Test the connection to a list of ntp servers.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
serversList of host names or IP addresses of NTP servers.
Returns:
List of test run statuses.

Implemented in vmware::appliance::NtpStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.appliance.NtpTypes.TestRunStatus> > vmware::appliance::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.

This method was added in vSphere API 6.7.

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:
List of test run statuses.

Implemented in vmware::appliance::NtpStub.


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