public class PrecheckReportStub extends com.vmware.vapi.internal.bindings.Stub implements PrecheckReport
PrecheckReport
API service.
WARNING: Internal class, subject to change in future versions.
PrecheckReportTypes._VAPI_OPERATIONS, PrecheckReportTypes.Report, PrecheckReportTypes.ReportSummary, PrecheckReportTypes.Result
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
PrecheckReportStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PrecheckReportStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create_Task(java.lang.String version)
Creates a vCenter Server pre-update compatibility check report for the pending
update version.
|
void |
create_Task(java.lang.String version,
AsyncCallback<java.lang.String> asyncCallback)
Creates a vCenter Server pre-update compatibility check report for the pending
update version.
|
void |
create_Task(java.lang.String version,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a vCenter Server pre-update compatibility check report for the pending
update version.
|
java.lang.String |
create_Task(java.lang.String version,
InvocationConfig invocationConfig)
Creates a vCenter Server pre-update compatibility check report for the pending
update version.
|
public PrecheckReportStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PrecheckReportStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create_Task(java.lang.String version)
PrecheckReport
The result of this operation can be queried by calling the Tasks.get(java.lang.String, com.vmware.cis.TasksTypes.GetSpec)
method where task
is the response of this
operation.
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
create_Task
in interface PrecheckReport
version
- Pending update version for which pre-update compatibility check will be
executed.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.update.pending
.public java.lang.String create_Task(java.lang.String version, InvocationConfig invocationConfig)
PrecheckReport
The result of this operation can be queried by calling the Tasks.get(java.lang.String, com.vmware.cis.TasksTypes.GetSpec)
method where task
is the response of this
operation.
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
create_Task
in interface PrecheckReport
version
- Pending update version for which pre-update compatibility check will be
executed.
The parameter must be an identifier for the resource type: com.vmware.vcenter.lcm.update.pending
.invocationConfig
- Configuration for the method invocation.public void create_Task(java.lang.String version, AsyncCallback<java.lang.String> asyncCallback)
PrecheckReport
The result of this operation can be queried by calling the Tasks.get(java.lang.String, com.vmware.cis.TasksTypes.GetSpec)
method where task
is the response of this
operation.
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
NotFound
- if there is no pending update assosiated with the version
in the system.
NotAllowedInCurrentState
- if a precheck is already in progress.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the error.
create_Task
in interface PrecheckReport
version
- Pending update version for which pre-update compatibility check will be
executed.
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.public void create_Task(java.lang.String version, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
PrecheckReport
The result of this operation can be queried by calling the Tasks.get(java.lang.String, com.vmware.cis.TasksTypes.GetSpec)
method where task
is the response of this
operation.
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
NotFound
- if there is no pending update assosiated with the version
in the system.
NotAllowedInCurrentState
- if a precheck is already in progress.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the error.
create_Task
in interface PrecheckReport
version
- Pending update version for which pre-update compatibility check will be
executed.
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.