public class UpdateStub extends com.vmware.vapi.internal.bindings.Stub implements Update
Update
API service.
WARNING: Internal class, subject to change in future versions.
UpdateTypes.Info, UpdateTypes.State
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
UpdateStub(ApiProvider apiProvider,
StubConfigurationBase config) |
UpdateStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Request the cancellation the update operation that is currently in progress.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback)
Request the cancellation the update operation that is currently in progress.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Request the cancellation the update operation that is currently in progress.
|
void |
cancel(InvocationConfig invocationConfig)
Request the cancellation the update operation that is currently in progress.
|
UpdateTypes.Info |
get()
Gets the current status of the appliance update.
|
void |
get(AsyncCallback<UpdateTypes.Info> asyncCallback)
Gets the current status of the appliance update.
|
void |
get(AsyncCallback<UpdateTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets the current status of the appliance update.
|
UpdateTypes.Info |
get(InvocationConfig invocationConfig)
Gets the current status of the appliance update.
|
public UpdateStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public UpdateStub(ApiProvider apiProvider, StubConfigurationBase config)
public UpdateTypes.Info get()
Update
Synchronous method overload. Result of the invocation will be reported as a method return value.
public UpdateTypes.Info get(InvocationConfig invocationConfig)
Update
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<UpdateTypes.Info> asyncCallback)
Update
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:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
public void get(AsyncCallback<UpdateTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Update
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:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
public void cancel()
Update
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void cancel(InvocationConfig invocationConfig)
Update
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<java.lang.Void> asyncCallback)
Update
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
NotAllowedInCurrentState
- Current task is not cancellable
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
public void cancel(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Update
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:
Error
- Generic error
NotAllowedInCurrentState
- Current task is not cancellable
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation