JobTypes.BackupJobStatus, JobTypes.BackupRequest, JobTypes.BackupRestoreProcessState, JobTypes.LocalizableMessage, JobTypes.LocationType, JobTypes.ReturnResult, JobTypes.ReturnStatus
Modifier and Type | Method and Description |
---|---|
JobTypes.ReturnResult |
cancel(java.lang.String id)
Cancel the backup job.
|
void |
cancel(java.lang.String id,
AsyncCallback<JobTypes.ReturnResult> asyncCallback)
Cancel the backup job.
|
void |
cancel(java.lang.String id,
AsyncCallback<JobTypes.ReturnResult> asyncCallback,
InvocationConfig invocationConfig)
Cancel the backup job.
|
JobTypes.ReturnResult |
cancel(java.lang.String id,
InvocationConfig invocationConfig)
Cancel the backup job.
|
JobTypes.BackupJobStatus |
create(JobTypes.BackupRequest piece)
Initiate backup.
|
void |
create(JobTypes.BackupRequest piece,
AsyncCallback<JobTypes.BackupJobStatus> asyncCallback)
Initiate backup.
|
void |
create(JobTypes.BackupRequest piece,
AsyncCallback<JobTypes.BackupJobStatus> asyncCallback,
InvocationConfig invocationConfig)
Initiate backup.
|
JobTypes.BackupJobStatus |
create(JobTypes.BackupRequest piece,
InvocationConfig invocationConfig)
Initiate backup.
|
JobTypes.BackupJobStatus |
get(java.lang.String id)
See backup job progress/result.
|
void |
get(java.lang.String id,
AsyncCallback<JobTypes.BackupJobStatus> asyncCallback)
See backup job progress/result.
|
void |
get(java.lang.String id,
AsyncCallback<JobTypes.BackupJobStatus> asyncCallback,
InvocationConfig invocationConfig)
See backup job progress/result.
|
JobTypes.BackupJobStatus |
get(java.lang.String id,
InvocationConfig invocationConfig)
See backup job progress/result.
|
java.util.List<java.lang.String> |
list()
Get list of backup jobs
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Get list of backup jobs
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Get list of backup jobs
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Get list of backup jobs
|
JobTypes.ReturnResult cancel(java.lang.String id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
JobTypes.ReturnResult cancel(java.lang.String id, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
id
- ID (ID of job)
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job
.invocationConfig
- Configuration for the method invocation.NotFound
- if backup associated with id does not exist.Error
- if any error occurs during the execution of the operation.void cancel(java.lang.String id, AsyncCallback<JobTypes.ReturnResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
BackupJobStatus Structure
Operation Errors:
NotFound
- if backup associated with id does not exist.
Error
- if any error occurs during the execution of the operation.
id
- ID (ID of job)
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void cancel(java.lang.String id, AsyncCallback<JobTypes.ReturnResult> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
BackupJobStatus Structure
Operation Errors:
NotFound
- if backup associated with id does not exist.
Error
- if any error occurs during the execution of the operation.
id
- ID (ID of job)
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.JobTypes.BackupJobStatus create(JobTypes.BackupRequest piece)
Synchronous method overload. Result of the invocation will be reported as a method return value.
piece
- BackupRequest StructureFeatureInUse
- A backup or restore is already in progress.Error
- if any error occurs during the execution of the operation.JobTypes.BackupJobStatus create(JobTypes.BackupRequest piece, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
piece
- BackupRequest StructureinvocationConfig
- Configuration for the method invocation.FeatureInUse
- A backup or restore is already in progress.Error
- if any error occurs during the execution of the operation.void create(JobTypes.BackupRequest piece, AsyncCallback<JobTypes.BackupJobStatus> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
BackupJobStatus Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress.
Error
- if any error occurs during the execution of the operation.
piece
- BackupRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(JobTypes.BackupRequest piece, AsyncCallback<JobTypes.BackupJobStatus> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
BackupJobStatus Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress.
Error
- if any error occurs during the execution of the operation.
piece
- BackupRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<java.lang.String> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.appliance.recovery.backup.job
.Error
- if any error occurs during the execution of the operation.java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.com.vmware.appliance.recovery.backup.job
.Error
- if any error occurs during the execution of the operation.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
list of BackupJob IDs
The return value will contain identifiers for the resource type: com.vmware.appliance.recovery.backup.job
.
Operation Errors:
Error
- if any error occurs during the execution of the operation.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
list of BackupJob IDs
The return value will contain identifiers for the resource type: com.vmware.appliance.recovery.backup.job
.
Operation Errors:
Error
- if any error occurs during the execution of the operation.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.JobTypes.BackupJobStatus get(java.lang.String id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
JobTypes.BackupJobStatus get(java.lang.String id, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
id
- ID (ID of job)
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job
.invocationConfig
- Configuration for the method invocation.NotFound
- if backup associated with id does not exist.Error
- if any error occurs during the execution of the operation.void get(java.lang.String id, AsyncCallback<JobTypes.BackupJobStatus> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
BackupJobStatus Structure
Operation Errors:
NotFound
- if backup associated with id does not exist.
Error
- if any error occurs during the execution of the operation.
id
- ID (ID of job)
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String id, AsyncCallback<JobTypes.BackupJobStatus> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
BackupJobStatus Structure
Operation Errors:
NotFound
- if backup associated with id does not exist.
Error
- if any error occurs during the execution of the operation.
id
- ID (ID of job)
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.