|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Classes | |
| class | BackupRestoreProcessState |
| class | LocalizableMessage |
| class | LocationType |
| class | RestoreJobStatus |
| class | RestoreRequest |
| class | ReturnResult |
| class | ReturnStatus |
Avaliable Methods | |
| public method | create () |
| public method | get () |
| public method | cancel () |
| public method | new () |
Com::Vmware::Appliance::Recovery::Restore::Job interface provides methods Performs restore operations
| public method Com::Vmware::Appliance::Recovery::Restore::Job::cancel | ( | ) |
Cancel the backup job
| RestoreJobStatus | Structure The return type will be Com::Vmware::Appliance::Recovery::Restore::Job::ReturnResult |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Recovery::Restore::Job::create | ( | ) |
Initiate restore.
| piece | [REQUIRED] RestoreRequest Structure . The value must be Com::Vmware::Appliance::Recovery::Restore::Job::RestoreRequest. |
| RestoreJobStatus | Structure The return type will be Com::Vmware::Appliance::Recovery::Restore::Job::RestoreJobStatus |
| Com::Vmware::Vapi::Std::Errors::FeatureInUse | A backup or restore is already in progress |
| Com::Vmware::Vapi::Std::Errors::NotAllowedInCurrentState | Restore is allowed only after deployment and before firstboot |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Recovery::Restore::Job::get | ( | ) |
See restore job progress/result.
| RestoreJobStatus | Structure The return type will be Com::Vmware::Appliance::Recovery::Restore::Job::RestoreJobStatus |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Recovery::Restore::Job::new | ( | ) |
Constructor to initialize the object
| api_provider | - protocol connection to use with stubs created by this factory |
| StubConfig | - Stub's additional configuration |
| Blessed | object |
Code: