public interface Recovery extends Service, RecoveryTypes
Recovery
interface provides methods to invoke an appliance recovery
(backup and restore). This interface was added in vSphere API 6.7.RecoveryTypes.Info
Modifier and Type | Method and Description |
---|---|
RecoveryTypes.Info |
get()
Gets the properties of the appliance Recovery subsystem.
|
void |
get(AsyncCallback<RecoveryTypes.Info> asyncCallback)
Gets the properties of the appliance Recovery subsystem.
|
void |
get(AsyncCallback<RecoveryTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets the properties of the appliance Recovery subsystem.
|
RecoveryTypes.Info |
get(InvocationConfig invocationConfig)
Gets the properties of the appliance Recovery subsystem.
|
RecoveryTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- if any error occurs during the execution of the operation.RecoveryTypes.Info 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
- if any error occurs during the execution of the operation.void get(AsyncCallback<RecoveryTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Structure containing the properties of the Recovery subsystem.
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 get(AsyncCallback<RecoveryTypes.Info> 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:
Structure containing the properties of the Recovery subsystem.
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.