public class PendingStub extends com.vmware.vapi.internal.bindings.Stub implements Pending
Pending
API service.
WARNING: Internal class, subject to change in future versions.
PendingTypes.Category, PendingTypes.Info, PendingTypes.ListResult, PendingTypes.SeverityType, PendingTypes.Summary, PendingTypes.UpdateType
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
PendingStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PendingStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
PendingTypes.Info |
get(java.lang.String version)
Gets detailed update information.
|
void |
get(java.lang.String version,
AsyncCallback<PendingTypes.Info> asyncCallback)
Gets detailed update information.
|
void |
get(java.lang.String version,
AsyncCallback<PendingTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets detailed update information.
|
PendingTypes.Info |
get(java.lang.String version,
InvocationConfig invocationConfig)
Gets detailed update information.
|
PendingTypes.ListResult |
list()
Lists all available minor and major updates.
|
void |
list(AsyncCallback<PendingTypes.ListResult> asyncCallback)
Lists all available minor and major updates.
|
void |
list(AsyncCallback<PendingTypes.ListResult> asyncCallback,
InvocationConfig invocationConfig)
Lists all available minor and major updates.
|
PendingTypes.ListResult |
list(InvocationConfig invocationConfig)
Lists all available minor and major updates.
|
public PendingStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PendingStub(ApiProvider apiProvider, StubConfigurationBase config)
public PendingTypes.ListResult list()
Pending
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PendingTypes.ListResult list(InvocationConfig invocationConfig)
Pending
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 list(AsyncCallback<PendingTypes.ListResult> asyncCallback)
Pending
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the pending patch/updates for the given vCenter server
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the error.
public void list(AsyncCallback<PendingTypes.ListResult> asyncCallback, InvocationConfig invocationConfig)
Pending
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:
Information about the pending patch/updates for the given vCenter server
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the error.
public PendingTypes.Info get(java.lang.String version)
Pending
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PendingTypes.Info get(java.lang.String version, InvocationConfig invocationConfig)
Pending
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 Pending
version
- A version identified the update
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.update.pending
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String version, AsyncCallback<PendingTypes.Info> asyncCallback)
Pending
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
A detailed information about the particular vCenter patch/update
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
NotFound
- if there is no pending update assosiated with the version
in the system.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the error.
public void get(java.lang.String version, AsyncCallback<PendingTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Pending
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:
A detailed information about the particular vCenter patch/update
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
NotFound
- if there is no pending update assosiated with the version
in the system.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the error.
get
in interface Pending
version
- A version identified the update
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.update.pending
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.