Class: Com::Vmware::Appliance::Health::Swap

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

Overview

``Com::Vmware::Appliance::Health::Swap`` class provides methods Get swap health.

Defined Under Namespace

Classes: HealthLevel

Instance Method Summary (collapse)

Constructor Details

- (Swap) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



741
742
743
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/health.rb', line 741

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

Instance Method Details

- (Com::Vmware::Appliance::Health::Swap::HealthLevel) get

Get swap health.

Returns:

Raises:



752
753
754
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/health.rb', line 752

def get()
    invoke_with_info(@@get_info)
end