Class List Method List File List

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

Inherits:
  VAPI::Bindings::VapiService
  - Object
  - VAPI::Bindings::VapiService
  - Com::Vmware::Appliance::Health::Softwarepackages
  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)

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

  Get information on available software updates available in remote VUM repository.

- - (Softwarepackages) initialize(config) constructor

  Constructs a new instance.

## 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:

- (`Com::Vmware::Appliance::Health::Softwarepackages::HealthLevel`) —

  software updates available.

Raises:

- (`Com::Vmware::Vapi::Std::Errors::Error`) —

  Generic error

    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