Class: Com::Vmware::Appliance::System::Uptime

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

Overview

``Com::Vmware::Appliance::System::Uptime`` class provides methods Get the system uptime.

Instance Method Summary (collapse)

Constructor Details

- (Uptime) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



49
50
51
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 49

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

Instance Method Details

- (Float) get

Get the system uptime.

Returns:

  • (Float)

    system uptime

Raises:



60
61
62
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 60

def get()
    invoke_with_info(@@get_info)
end