JobTypes.BackupJobStatus, JobTypes.BackupRequest, JobTypes.BackupRestoreProcessState, JobTypes.LocalizableMessage, JobTypes.LocationType, JobTypes.ReturnResult, JobTypes.ReturnStatus
Modifier and Type | Method and Description |
---|---|
JobTypes.ReturnResult |
cancel(String id)
Cancel the backup job
|
void |
cancel(String id,
AsyncCallback<JobTypes.ReturnResult> asyncCallback)
Cancel the backup job
|
void |
cancel(String id,
AsyncCallback<JobTypes.ReturnResult> asyncCallback,
InvocationConfig invocationConfig)
Cancel the backup job
|
JobTypes.ReturnResult |
cancel(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(String id)
See backup job progress/result.
|
void |
get(String id,
AsyncCallback<JobTypes.BackupJobStatus> asyncCallback)
See backup job progress/result.
|
void |
get(String id,
AsyncCallback<JobTypes.BackupJobStatus> asyncCallback,
InvocationConfig invocationConfig)
See backup job progress/result.
|
JobTypes.BackupJobStatus |
get(String id,
InvocationConfig invocationConfig)
See backup job progress/result.
|
List<String> |
list()
Get list of backup jobs
|
void |
list(AsyncCallback<List<String>> asyncCallback)
Get list of backup jobs
|
void |
list(AsyncCallback<List<String>> asyncCallback,
InvocationConfig invocationConfig)
Get list of backup jobs
|
List<String> |
list(InvocationConfig invocationConfig)
Get list of backup jobs
|
JobTypes.ReturnResult cancel(String id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
JobTypes.ReturnResult cancel(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.
void cancel(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
- ID is not found
Error
- Generic error
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(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
- ID is not found
Error
- Generic error
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 progressError
- Generic errorJobTypes.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 progressError
- Generic errorvoid 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
- Generic error
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
- Generic error
piece
- BackupRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.List<String> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.appliance.recovery.backup.job
.Error
- Generic errorList<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
- Generic errorvoid list(AsyncCallback<List<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
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<List<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
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.JobTypes.BackupJobStatus get(String id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
JobTypes.BackupJobStatus get(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.
void get(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
- ID is not found
Error
- Generic error
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(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
- ID is not found
Error
- Generic error
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.Copyright © 2016. All Rights Reserved.