public class DeploymentStub extends com.vmware.vapi.internal.bindings.Stub implements Deployment
Deployment
API service.
WARNING: Internal class, subject to change in future versions.
DeploymentTypes.Info, DeploymentTypes.Task
Constructor and Description |
---|
DeploymentStub(ApiProvider apiProvider,
StubConfigurationBase config) |
DeploymentStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public DeploymentStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public DeploymentStub(ApiProvider apiProvider, StubConfigurationBase config)
public DeploymentTypes.Info get()
Deployment
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Deployment
public DeploymentTypes.Info get(InvocationConfig invocationConfig)
Deployment
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Deployment
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<DeploymentTypes.Info> asyncCallback)
Deployment
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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.
get
in interface Deployment
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<DeploymentTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Deployment
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:
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.
get
in interface Deployment
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void rollback()
Deployment
Synchronous method overload. Result of the invocation will be reported as a method return value.
rollback
in interface Deployment
public void rollback(InvocationConfig invocationConfig)
Deployment
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
rollback
in interface Deployment
invocationConfig
- Configuration for the method invocation.public void rollback(AsyncCallback<java.lang.Void> asyncCallback)
Deployment
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.
rollback
in interface Deployment
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void rollback(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Deployment
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.
rollback
in interface Deployment
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.