public interface HardwareCompatibility extends Service, HardwareCompatibilityTypes
HardwareCompatibility
interface provides methods to manage HCL
Validation of a software specification of an ESX cluster.HardwareCompatibilityTypes._VAPI_OPERATIONS, HardwareCompatibilityTypes.CheckSummary, HardwareCompatibilityTypes.ComplianceStatus
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
check_Task(java.lang.String cluster)
Initiates a Cluster HCL Validation check for a given cluster.
|
void |
check_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Initiates a Cluster HCL Validation check for a given cluster.
|
void |
check_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Initiates a Cluster HCL Validation check for a given cluster.
|
java.lang.String |
check_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Initiates a Cluster HCL Validation check for a given cluster.
|
HardwareCompatibilityTypes.CheckSummary |
get(java.lang.String cluster)
Returns the hcl validation check summary.
|
void |
get(java.lang.String cluster,
AsyncCallback<HardwareCompatibilityTypes.CheckSummary> asyncCallback)
Returns the hcl validation check summary.
|
void |
get(java.lang.String cluster,
AsyncCallback<HardwareCompatibilityTypes.CheckSummary> asyncCallback,
InvocationConfig invocationConfig)
Returns the hcl validation check summary.
|
HardwareCompatibilityTypes.CheckSummary |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Returns the hcl validation check summary.
|
HardwareCompatibilityTypes.CheckSummary get(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.HardwareCompatibility.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.HardwareCompatibility.Read
. HardwareCompatibilityTypes.CheckSummary get(java.lang.String cluster, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.HardwareCompatibility.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.HardwareCompatibility.Read
. void get(java.lang.String cluster, AsyncCallback<HardwareCompatibilityTypes.CheckSummary> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
CheckSummary hcl validation summary.
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.HardwareCompatibility.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.HardwareCompatibility.Read
. cluster
- identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, AsyncCallback<HardwareCompatibilityTypes.CheckSummary> asyncCallback, InvocationConfig invocationConfig)
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:
CheckSummary hcl validation summary.
Operation Errors:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.HardwareCompatibility.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.HardwareCompatibility.Read
. cluster
- identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String check_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String check_Task(java.lang.String cluster, InvocationConfig invocationConfig)
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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.NotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void check_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
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:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void check_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
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:
Error
- If there is some other unknown internal error. The accompanying error message
will give more details about the failure.
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.