public interface Deployment extends Service, DeploymentTypes
Deployment
interface provides methods to get the status of the
vCenter appliance deployment. This interface was added in vSphere API 6.7.DeploymentTypes.Info, DeploymentTypes.Task
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
DeploymentTypes.Info |
get()
Get the current status of the appliance deployment.
|
void |
get(AsyncCallback<DeploymentTypes.Info> asyncCallback)
Get the current status of the appliance deployment.
|
void |
get(AsyncCallback<DeploymentTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the current status of the appliance deployment.
|
DeploymentTypes.Info |
get(InvocationConfig invocationConfig)
Get the current status of the appliance deployment.
|
void |
rollback()
Rollback a failed appliance so it can be configured once again.
|
void |
rollback(AsyncCallback<java.lang.Void> asyncCallback)
Rollback a failed appliance so it can be configured once again.
|
void |
rollback(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Rollback a failed appliance so it can be configured once again.
|
void |
rollback(InvocationConfig invocationConfig)
Rollback a failed appliance so it can be configured once again.
|
DeploymentTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthenticated
- if the caller is not authenticated.NotFound
- if appliance state cannot be determined.DeploymentTypes.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.Unauthenticated
- if the caller is not authenticated.NotFound
- if appliance state cannot be determined.void get(AsyncCallback<DeploymentTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info structure containing the status information about the appliance.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- if appliance state cannot be determined.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<DeploymentTypes.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.
Invocation Result:
Info structure containing the status information about the appliance.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- if appliance state cannot be determined.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void rollback()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unsupported
- if the appliance is not in FAILED state.Unauthenticated
- if the caller is not authenticated.void rollback(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.Unsupported
- if the appliance is not in FAILED state.Unauthenticated
- if the caller is not authenticated.void rollback(AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unsupported
- if the appliance is not in FAILED state.
Unauthenticated
- if the caller is not authenticated.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void rollback(AsyncCallback<java.lang.Void> 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 Errors:
Unsupported
- if the appliance is not in FAILED state.
Unauthenticated
- if the caller is not authenticated.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.