public interface Staged extends Service, StagedTypes
Staged
interface provides methods to get the status of the staged
update. This interface was added in vSphere API 6.7.StagedTypes.Info
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes the staged update.
|
void |
delete(AsyncCallback<java.lang.Void> asyncCallback)
Deletes the staged update.
|
void |
delete(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes the staged update.
|
void |
delete(InvocationConfig invocationConfig)
Deletes the staged update.
|
StagedTypes.Info |
get()
Gets the current status of the staged update.
|
void |
get(AsyncCallback<StagedTypes.Info> asyncCallback)
Gets the current status of the staged update.
|
void |
get(AsyncCallback<StagedTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets the current status of the staged update.
|
StagedTypes.Info |
get(InvocationConfig invocationConfig)
Gets the current status of the staged update.
|
StagedTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotAllowedInCurrentState
- if nothing is stagedStagedTypes.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
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotAllowedInCurrentState
- if nothing is stagedvoid get(AsyncCallback<StagedTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Info structure with information about staged update
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotAllowedInCurrentState
- if nothing is staged
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<StagedTypes.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:
Info structure with information about staged update
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotAllowedInCurrentState
- if nothing is staged
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationvoid delete(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
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationvoid delete(AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(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:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.