VMware vSphere Automation SDK for .NET 7.0.0.1
|
Ntp
interface provides methods Gets NTP configuration status and tests connection to ntp servers.
More...
Inherited by vmware::appliance::NtpStub.
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. |
Ntp
interface provides methods Gets NTP configuration status and tests connection to ntp servers.
This interface was added in vSphere API 6.7.
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.
vmware.vapi.std.errors.Error | Generic error |
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.
vmware.vapi.std.errors.Error | Generic error |
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.
vmware.vapi.std.errors.Error | Generic error |
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.
vmware.vapi.std.errors.Error | Generic error |
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.
vmware.vapi.std.errors.Error | Generic error |
servers | List 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.
vmware.vapi.std.errors.Error | Generic error |
servers | List of host names or ip addresses of ntp servers. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | Generic error |
servers | List of host names or ip addresses of ntp servers. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | Generic error |
servers | List 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.
vmware.vapi.std.errors.Error | Generic error |
servers | List of host names or IP addresses of NTP servers. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
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.
vmware.vapi.std.errors.Error | Generic error |
servers | List of host names or IP addresses of NTP servers. |
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.
vmware.vapi.std.errors.Error | Generic error |
servers | List of host names or IP addresses of NTP servers. |
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.
vmware.vapi.std.errors.Error | Generic error |
servers | List of host names or IP addresses of NTP servers. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::appliance::NtpStub.