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(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
PendingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.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,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> asyncCallback)
Gets detailed update information.
|
void |
get(java.lang.String version,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets detailed update information.
|
PendingTypes.Info |
get(java.lang.String version,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets detailed update information.
|
PendingTypes.ListResult |
list()
Lists all available minor and major updates.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.ListResult> asyncCallback)
Lists all available minor and major updates.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Lists all available minor and major updates.
|
PendingTypes.ListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Lists all available minor and major updates.
|
public PendingStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public PendingStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.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(com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. public void list(com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.ListResult> asyncCallback, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. public void get(java.lang.String version, com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcLifecycle.View
. 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.