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()
DeploymentSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Deploymentpublic DeploymentTypes.Info get(InvocationConfig invocationConfig)
DeploymentSynchronous 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 DeploymentinvocationConfig - Configuration for the method invocation.public void get(AsyncCallback<DeploymentTypes.Info> asyncCallback)
DeploymentAsynchronous 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 DeploymentasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<DeploymentTypes.Info> asyncCallback, InvocationConfig invocationConfig)
DeploymentAsynchronous 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 DeploymentasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void rollback()
DeploymentSynchronous method overload. Result of the invocation will be reported as a method return value.
rollback in interface Deploymentpublic void rollback(InvocationConfig invocationConfig)
DeploymentSynchronous 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 DeploymentinvocationConfig - Configuration for the method invocation.public void rollback(AsyncCallback<java.lang.Void> asyncCallback)
DeploymentAsynchronous 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 DeploymentasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void rollback(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
DeploymentAsynchronous 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 DeploymentasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.