public class CompatibilityReportStub extends com.vmware.vapi.internal.bindings.Stub implements CompatibilityReport
CompatibilityReport
API service.
WARNING: Internal class, subject to change in future versions.
CompatibilityReportTypes._VAPI_OPERATIONS, CompatibilityReportTypes.BiosConstraint, CompatibilityReportTypes.DeviceConstraint, CompatibilityReportTypes.DeviceHclInfo, CompatibilityReportTypes.HclReport, CompatibilityReportTypes.Result, CompatibilityReportTypes.ServerCompatibility, CompatibilityReportTypes.ServerHclInfo, CompatibilityReportTypes.Spec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
CompatibilityReportStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CompatibilityReportStub(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 host,
CompatibilityReportTypes.Spec spec)
Generates hardware compatibility report for a specified ESXi host against
specific ESXi release.
|
void |
create_Task(java.lang.String host,
CompatibilityReportTypes.Spec spec,
AsyncCallback<java.lang.String> asyncCallback)
Generates hardware compatibility report for a specified ESXi host against
specific ESXi release.
|
void |
create_Task(java.lang.String host,
CompatibilityReportTypes.Spec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Generates hardware compatibility report for a specified ESXi host against
specific ESXi release.
|
java.lang.String |
create_Task(java.lang.String host,
CompatibilityReportTypes.Spec spec,
InvocationConfig invocationConfig)
Generates hardware compatibility report for a specified ESXi host against
specific ESXi release.
|
CompatibilityReportTypes.Result |
get(java.lang.String host)
Returns the last generated hardware compatibility report for the given host.
|
void |
get(java.lang.String host,
AsyncCallback<CompatibilityReportTypes.Result> asyncCallback)
Returns the last generated hardware compatibility report for the given host.
|
void |
get(java.lang.String host,
AsyncCallback<CompatibilityReportTypes.Result> asyncCallback,
InvocationConfig invocationConfig)
Returns the last generated hardware compatibility report for the given host.
|
CompatibilityReportTypes.Result |
get(java.lang.String host,
InvocationConfig invocationConfig)
Returns the last generated hardware compatibility report for the given host.
|
public CompatibilityReportStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CompatibilityReportStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create_Task(java.lang.String host, CompatibilityReportTypes.Spec spec)
CompatibilityReport
The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id 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 CompatibilityReport
host
- Contains the MoID identifying the ESXi host.
The parameter must be an identifier for the resource type: HostSystem
.spec
- Specifies the input parameters for generating compatibility report.
If null
host compatibility will be checked against the current release
of the ESXi.public java.lang.String create_Task(java.lang.String host, CompatibilityReportTypes.Spec spec, InvocationConfig invocationConfig)
CompatibilityReport
The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id 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 CompatibilityReport
host
- Contains the MoID identifying the ESXi host.
The parameter must be an identifier for the resource type: HostSystem
.spec
- Specifies the input parameters for generating compatibility report.
If null
host compatibility will be checked against the current release
of the ESXi.invocationConfig
- Configuration for the method invocation.public void create_Task(java.lang.String host, CompatibilityReportTypes.Spec spec, AsyncCallback<java.lang.String> asyncCallback)
CompatibilityReport
The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id 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:
NotFound
- if no host with the given MoID can be found.
Unauthenticated
- if the caller is not authenticated.
Unsupported
- if the provided host is not supported.
ResourceInaccessible
- if the vCenter this API is executed on is not part of the Customer Experience
Improvement Program (CEIP).
NotAllowedInCurrentState
- if there is no compatibility data on the vCenter executing the operation.
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure.
create_Task
in interface CompatibilityReport
host
- Contains the MoID identifying the ESXi host.
The parameter must be an identifier for the resource type: HostSystem
.spec
- Specifies the input parameters for generating compatibility report.
If null
host compatibility will be checked against the current release
of the ESXi.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create_Task(java.lang.String host, CompatibilityReportTypes.Spec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
CompatibilityReport
The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id 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:
NotFound
- if no host with the given MoID can be found.
Unauthenticated
- if the caller is not authenticated.
Unsupported
- if the provided host is not supported.
ResourceInaccessible
- if the vCenter this API is executed on is not part of the Customer Experience
Improvement Program (CEIP).
NotAllowedInCurrentState
- if there is no compatibility data on the vCenter executing the operation.
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure.
create_Task
in interface CompatibilityReport
host
- Contains the MoID identifying the ESXi host.
The parameter must be an identifier for the resource type: HostSystem
.spec
- Specifies the input parameters for generating compatibility report.
If null
host compatibility will be checked against the current release
of the ESXi.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public CompatibilityReportTypes.Result get(java.lang.String host)
CompatibilityReport
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface CompatibilityReport
host
- The parameter must be an identifier for the resource type: HostSystem
.public CompatibilityReportTypes.Result get(java.lang.String host, InvocationConfig invocationConfig)
CompatibilityReport
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 CompatibilityReport
host
- The parameter must be an identifier for the resource type: HostSystem
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String host, AsyncCallback<CompatibilityReportTypes.Result> asyncCallback)
CompatibilityReport
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if there is no report generated for the given host. This operation does not
check if the host id is valid or it exists.
Unauthenticated
- if the caller is not authenticated.
ResourceInaccessible
- if the vCenter this API is executed on is not part of the Customer Experience
Improvement Program (CEIP).
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure.
get
in interface CompatibilityReport
host
- The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String host, AsyncCallback<CompatibilityReportTypes.Result> asyncCallback, InvocationConfig invocationConfig)
CompatibilityReport
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:
NotFound
- if there is no report generated for the given host. This operation does not
check if the host id is valid or it exists.
Unauthenticated
- if the caller is not authenticated.
ResourceInaccessible
- if the vCenter this API is executed on is not part of the Customer Experience
Improvement Program (CEIP).
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure.
get
in interface CompatibilityReport
host
- The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.