Class: Com::Vmware::Appliance::Techpreview::System::Update

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

Overview

``Com::Vmware::Appliance::Techpreview::System::Update`` class provides methods Performs update repository configuration.

Defined Under Namespace

Classes: AutoUpdateNotification, UpdateDay, UpdateStructGet, UpdateStructSet

Instance Method Summary (collapse)

Constructor Details

- (Update) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



64
65
66
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 64

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

Instance Method Details

- (Com::Vmware::Appliance::Techpreview::System::Update::UpdateStructGet) get

Get update repository configuration.

Returns:

Raises:



89
90
91
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 89

def get()
    invoke_with_info(@@get_info)
end

- (Void) set(config)

Set update repository configuration.

Parameters:

Returns:

  • (Void)

Raises:



76
77
78
79
80
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/system.rb', line 76

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