public class CompatibilityReleasesStub extends com.vmware.vapi.internal.bindings.Stub implements CompatibilityReleases
CompatibilityReleases
API service.
WARNING: Internal class, subject to change in future versions.
CompatibilityReleasesTypes.EsxiCompatibilityReleases
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
CompatibilityReleasesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CompatibilityReleasesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
CompatibilityReleasesTypes.EsxiCompatibilityReleases |
list(java.lang.String host)
Lists the locally available ESXi releases for a given host that can be used to
generate a compatiblity report.
|
void |
list(java.lang.String host,
AsyncCallback<CompatibilityReleasesTypes.EsxiCompatibilityReleases> asyncCallback)
Lists the locally available ESXi releases for a given host that can be used to
generate a compatiblity report.
|
void |
list(java.lang.String host,
AsyncCallback<CompatibilityReleasesTypes.EsxiCompatibilityReleases> asyncCallback,
InvocationConfig invocationConfig)
Lists the locally available ESXi releases for a given host that can be used to
generate a compatiblity report.
|
CompatibilityReleasesTypes.EsxiCompatibilityReleases |
list(java.lang.String host,
InvocationConfig invocationConfig)
Lists the locally available ESXi releases for a given host that can be used to
generate a compatiblity report.
|
public CompatibilityReleasesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CompatibilityReleasesStub(ApiProvider apiProvider, StubConfigurationBase config)
public CompatibilityReleasesTypes.EsxiCompatibilityReleases list(java.lang.String host)
CompatibilityReleases
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface CompatibilityReleases
host
- Contains the MoID identifying the ESXi host.
The parameter must be an identifier for the resource type: HostSystem
.public CompatibilityReleasesTypes.EsxiCompatibilityReleases list(java.lang.String host, InvocationConfig invocationConfig)
CompatibilityReleases
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface CompatibilityReleases
host
- Contains the MoID identifying the ESXi host.
The parameter must be an identifier for the resource type: HostSystem
.invocationConfig
- Configuration for the method invocation.public void list(java.lang.String host, AsyncCallback<CompatibilityReleasesTypes.EsxiCompatibilityReleases> asyncCallback)
CompatibilityReleases
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Available releases for compatibility for a specified host.
Operation Errors:
InternalServerError
- If there is some internal error. The accompanying error message will give more
details about the failure.
NotAllowedInCurrentState
- if there is no compatibility data on the vCenter executing the operation.
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).
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.HardwareCompatibility.Read
. list
in interface CompatibilityReleases
host
- Contains the MoID identifying the ESXi 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 list(java.lang.String host, AsyncCallback<CompatibilityReleasesTypes.EsxiCompatibilityReleases> asyncCallback, InvocationConfig invocationConfig)
CompatibilityReleases
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:
Available releases for compatibility for a specified host.
Operation Errors:
InternalServerError
- If there is some internal error. The accompanying error message will give more
details about the failure.
NotAllowedInCurrentState
- if there is no compatibility data on the vCenter executing the operation.
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).
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.HardwareCompatibility.Read
. list
in interface CompatibilityReleases
host
- Contains the MoID identifying the ESXi 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.