Class: Com::Vmware::Appliance::Recovery::RestoreService

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::Restore`` class provides methods Performs restore operations

Defined Under Namespace

Classes: LocalizableMessage, LocationType, Metadata, RestoreRequest

Instance Method Summary (collapse)

Constructor Details

- (RestoreService) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



403
404
405
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery.rb', line 403

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

Instance Method Details

- (Com::Vmware::Appliance::Recovery::Restore::Metadata) validate(piece)

Get metadata before restore

Parameters:

  • piece (Com::Vmware::Appliance::Recovery::Restore::RestoreRequest)

    RestoreRequest Structure

Returns:

  • (Com::Vmware::Appliance::Recovery::Restore::Metadata)

    Metadata Structure

Raises:



416
417
418
419
420
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery.rb', line 416

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