Class: Com::Vmware::Appliance::Health::Softwarepackages

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::Softwarepackages`` class provides methods Get information on available software updates available in remote VUM repository.

Defined Under Namespace

Classes: HealthLevel

Instance Method Summary (collapse)

Constructor Details

- (Softwarepackages) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



483
484
485
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/health.rb', line 483

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

Instance Method Details

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

Get information on available software updates available in remote VUM repository. red indicates that security updates are available. orange indicates that non security updates are available. green indicates that there are no updates available. gray indicates that there was an error retreiving information on software updates.

Returns:

Raises:



494
495
496
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/health.rb', line 494

def get()
    invoke_with_info(@@get_info)
end