Class: Com::Vmware::Appliance::Recovery::Backup::Job
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Appliance::Recovery::Backup::Job
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb
Overview
``Com::Vmware::Appliance::Recovery::Backup::Job`` class provides methods Performs backup restore operations
Defined Under Namespace
Classes: BackupJobStatus, BackupRequest, BackupRestoreProcessState, LocalizableMessage, LocationType, ReturnResult, ReturnStatus
Instance Method Summary (collapse)
-
- (Com::Vmware::Appliance::Recovery::Backup::Job::ReturnResult) cancel(id)
Cancel the backup job.
-
- (Com::Vmware::Appliance::Recovery::Backup::Job::BackupJobStatus) create(piece)
Initiate backup.
-
- (Com::Vmware::Appliance::Recovery::Backup::Job::BackupJobStatus) get(id)
See backup job progress/result.
-
- (Job) initialize(config)
constructor
Constructs a new instance.
-
- (Array<String>) list
Get list of backup jobs.
Constructor Details
- (Job) initialize(config)
Constructs a new instance.
93 94 95 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 93 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Com::Vmware::Appliance::Recovery::Backup::Job::ReturnResult) cancel(id)
Cancel the backup job
108 109 110 111 112 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 108 def cancel(id) invoke_with_info(@@cancel_info, { 'id' => id, }) end |
- (Com::Vmware::Appliance::Recovery::Backup::Job::BackupJobStatus) create(piece)
Initiate backup.
125 126 127 128 129 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 125 def create(piece) invoke_with_info(@@create_info, { 'piece' => piece, }) end |
- (Com::Vmware::Appliance::Recovery::Backup::Job::BackupJobStatus) get(id)
See backup job progress/result.
153 154 155 156 157 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 153 def get(id) invoke_with_info(@@get_info, { 'id' => id, }) end |
- (Array<String>) list
Get list of backup jobs
138 139 140 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/recovery/backup.rb', line 138 def list() invoke_with_info(@@list_info) end |