VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::appliance::NtpStub Class Reference

Remote stub implementation of the Ntp API service. More...

Inherits vmware::appliance::Ntp.

List of all members.

Public Member Functions

 NtpStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 NtpStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
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

Remote stub implementation of the Ntp API service.


Constructor & Destructor Documentation

vmware::appliance::NtpStub::NtpStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::appliance::NtpStub::NtpStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

global::System.Collections.Generic.List<string> vmware::appliance::NtpStub::Get ( ) [inline]

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.

Implements vmware::appliance::Ntp.

global::System.Collections.Generic.List<string> vmware::appliance::NtpStub::Get ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

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.

Implements vmware::appliance::Ntp.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::appliance::NtpStub::GetAsync ( ) [inline]

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.

Implements vmware::appliance::Ntp.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::appliance::NtpStub::GetAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

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.

Implements vmware::appliance::Ntp.

void vmware::appliance::NtpStub::Set ( global::System.Collections.Generic.List< string >  servers) [inline]

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.

Implements vmware::appliance::Ntp.

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

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

Implements vmware::appliance::Ntp.

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

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

Implements vmware::appliance::Ntp.

global::System.Threading.Tasks.Task vmware::appliance::NtpStub::SetAsync ( global::System.Collections.Generic.List< string >  servers) [inline]

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.

Implements vmware::appliance::Ntp.

global::System.Collections.Generic.List<vmware.appliance.NtpTypes.TestRunStatus> vmware::appliance::NtpStub::Test ( global::System.Collections.Generic.List< string >  servers,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

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.

Implements vmware::appliance::Ntp.

global::System.Collections.Generic.List<vmware.appliance.NtpTypes.TestRunStatus> vmware::appliance::NtpStub::Test ( global::System.Collections.Generic.List< string >  servers) [inline]

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.

Implements vmware::appliance::Ntp.

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

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.

Implements vmware::appliance::Ntp.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.appliance.NtpTypes.TestRunStatus> > vmware::appliance::NtpStub::TestAsync ( global::System.Collections.Generic.List< string >  servers,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

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.

Implements vmware::appliance::Ntp.


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