Class: Com::Vmware::Appliance::Access::Dcui

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

Overview

``Com::Vmware::Appliance::Access::Dcui`` class provides methods Get/Set enabled state of DCUI.

Instance Method Summary (collapse)

Constructor Details

- (Dcui) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



136
137
138
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/access.rb', line 136

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

Instance Method Details

- (Boolean) get

Get enabled state of Direct Console User Interface (DCUI TTY2).

Returns:

  • (Boolean)

    DCUI is enabled.

Raises:



161
162
163
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/access.rb', line 161

def get()
    invoke_with_info(@@get_info)
end

- (Void) set(enabled)

Set enabled state of Direct Console User Interface (DCUI TTY2).

Parameters:

  • enabled (Boolean)

    DCUI is enabled.

Returns:

  • (Void)

Raises:



148
149
150
151
152
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/access.rb', line 148

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