JobTypes.BackupRestoreProcessState, JobTypes.LocalizableMessage, JobTypes.LocationType, JobTypes.RestoreJobStatus, JobTypes.RestoreRequest, JobTypes.ReturnResult, JobTypes.ReturnStatus
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
JobStub(ApiProvider apiProvider,
StubConfigurationBase config) |
JobStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public JobStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public JobStub(ApiProvider apiProvider, StubConfigurationBase config)
public JobTypes.ReturnResult cancel()
Job
Synchronous method overload. Result of the invocation will be reported as a method return value.
public JobTypes.ReturnResult cancel(InvocationConfig invocationConfig)
Job
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void cancel(AsyncCallback<JobTypes.ReturnResult> asyncCallback)
Job
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
Error
- Generic error
public void cancel(AsyncCallback<JobTypes.ReturnResult> asyncCallback, InvocationConfig invocationConfig)
Job
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
public JobTypes.RestoreJobStatus create(JobTypes.RestoreRequest piece)
Job
Synchronous method overload. Result of the invocation will be reported as a method return value.
public JobTypes.RestoreJobStatus create(JobTypes.RestoreRequest piece, InvocationConfig invocationConfig)
Job
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(JobTypes.RestoreRequest piece, AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback)
Job
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
public void create(JobTypes.RestoreRequest piece, AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback, InvocationConfig invocationConfig)
Job
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
public JobTypes.RestoreJobStatus get()
Job
Synchronous method overload. Result of the invocation will be reported as a method return value.
public JobTypes.RestoreJobStatus get(InvocationConfig invocationConfig)
Job
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback)
Job
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
RestoreJobStatus Structure
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<JobTypes.RestoreJobStatus> asyncCallback, InvocationConfig invocationConfig)
Job
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