Class: Com::Vmware::Appliance::Techpreview::Timesync

Inherits:
VAPI::Bindings::VapiService
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb

Overview

``Com::Vmware::Appliance::Techpreview::Timesync`` class provides methods Performs time synchronization configuration.

Defined Under Namespace

Classes: TimeSyncConfig, TimeSyncMode

Instance Method Summary (collapse)

Constructor Details

- (Timesync) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



906
907
908
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb', line 906

def initialize(config)
    super(config, @@service_info)
end

Instance Method Details

- (Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncConfig) get

Get time synchronization configuration.

Returns:

Raises:



931
932
933
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb', line 931

def get()
    invoke_with_info(@@get_info)
end

- (Void) set(config)

Set time synchronization configuration.

Parameters:

Returns:

  • (Void)

Raises:



918
919
920
921
922
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb', line 918

def set(config)
    invoke_with_info(@@set_info, {
        'config' => config,
    })
end