Class: Com::Vmware::Appliance::Recovery::BackupService

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

Overview

``Com::Vmware::Appliance::Recovery::Backup`` class provides methods Performs backup restore operations

Defined Under Namespace

Classes: BackupRequest, LocalizableMessage, LocationType, ReturnResult, ReturnStatus

Instance Method Summary (collapse)

Constructor Details

- (BackupService) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



52
53
54
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery.rb', line 52

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

Instance Method Details

- (Com::Vmware::Appliance::Recovery::Backup::ReturnResult) validate(piece)

Check for backup errors without starting backup.

Parameters:

  • piece (Com::Vmware::Appliance::Recovery::Backup::BackupRequest)

    BackupRequest Structure

Returns:

  • (Com::Vmware::Appliance::Recovery::Backup::ReturnResult)

    ReturnResult Structure

Raises:



67
68
69
70
71
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery.rb', line 67

def validate(piece)
    invoke_with_info(@@validate_info, {
        'piece' => piece,
    })
end