Class: Com::Vmware::Appliance::Recovery::Backup::Parts

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

Overview

``Com::Vmware::Appliance::Recovery::Backup::Parts`` class provides methods Provides list of parts optional for the backup

Defined Under Namespace

Classes: LocalizableMessage, Part

Instance Method Summary (collapse)

Constructor Details

- (Parts) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



632
633
634
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 632

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

Instance Method Details

- (Fixnum) get(id)

Get size of the optional part

Parameters:

  • id (String)

    part id

Returns:

  • (Fixnum)

    int size

Raises:



656
657
658
659
660
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 656

def get(id)
    invoke_with_info(@@get_info, {
        'id' => id,
    })
end

- (Array<Com::Vmware::Appliance::Recovery::Backup::Parts::Part>) list

Get a list of the backup parts

Returns:

Raises:



643
644
645
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 643

def list()
    invoke_with_info(@@list_info)
end