JobTypes.BackupRestoreProcessState, JobTypes.LocalizableMessage, JobTypes.LocationType, JobTypes.RestoreJobStatus, JobTypes.RestoreRequest, JobTypes.ReturnResult, JobTypes.ReturnStatus
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
JobTypes.ReturnResult |
cancel()
Cancel the restore job
|
void |
cancel(AsyncCallback<JobTypes.ReturnResult> asyncCallback)
Cancel the restore job
|
void |
cancel(AsyncCallback<JobTypes.ReturnResult> asyncCallback,
InvocationConfig invocationConfig)
Cancel the restore job
|
JobTypes.ReturnResult |
cancel(InvocationConfig invocationConfig)
Cancel the restore job
|
JobTypes.RestoreJobStatus |
create(JobTypes.RestoreRequest piece)
Initiate restore.
|
void |
create(JobTypes.RestoreRequest piece,
AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback)
Initiate restore.
|
void |
create(JobTypes.RestoreRequest piece,
AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback,
InvocationConfig invocationConfig)
Initiate restore.
|
JobTypes.RestoreJobStatus |
create(JobTypes.RestoreRequest piece,
InvocationConfig invocationConfig)
Initiate restore.
|
JobTypes.RestoreJobStatus |
get()
See restore job progress/result.
|
void |
get(AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback)
See restore job progress/result.
|
void |
get(AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback,
InvocationConfig invocationConfig)
See restore job progress/result.
|
JobTypes.RestoreJobStatus |
get(InvocationConfig invocationConfig)
See restore job progress/result.
|
JobTypes.ReturnResult cancel()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorJobTypes.ReturnResult cancel(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.Error
- Generic errorvoid cancel(AsyncCallback<JobTypes.ReturnResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void cancel(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.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.JobTypes.RestoreJobStatus create(JobTypes.RestoreRequest piece)
Synchronous method overload. Result of the invocation will be reported as a method return value.
piece
- RestoreRequest StructureFeatureInUse
- A backup or restore is already in progressNotAllowedInCurrentState
- Restore is allowed only after deployment and before firstbootError
- Generic errorJobTypes.RestoreJobStatus create(JobTypes.RestoreRequest 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
- RestoreRequest StructureinvocationConfig
- Configuration for the method invocation.FeatureInUse
- A backup or restore is already in progressNotAllowedInCurrentState
- Restore is allowed only after deployment and before firstbootError
- Generic errorvoid create(JobTypes.RestoreRequest piece, AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress
NotAllowedInCurrentState
- Restore is allowed only after deployment and before firstboot
Error
- Generic error
piece
- RestoreRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(JobTypes.RestoreRequest piece, AsyncCallback<JobTypes.RestoreJobStatus> 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.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress
NotAllowedInCurrentState
- Restore is allowed only after deployment and before firstboot
Error
- Generic error
piece
- RestoreRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.JobTypes.RestoreJobStatus get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorJobTypes.RestoreJobStatus get(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.Error
- Generic errorvoid get(AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<JobTypes.RestoreJobStatus> 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.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.