public class HardwareCompatibilityStub extends com.vmware.vapi.internal.bindings.Stub implements HardwareCompatibility
HardwareCompatibility
API service.
WARNING: Internal class, subject to change in future versions.
HardwareCompatibilityTypes._VAPI_OPERATIONS, HardwareCompatibilityTypes.CheckSummary, HardwareCompatibilityTypes.ComplianceStatus
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
HardwareCompatibilityStub(ApiProvider apiProvider,
StubConfigurationBase config) |
HardwareCompatibilityStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public HardwareCompatibilityStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public HardwareCompatibilityStub(ApiProvider apiProvider, StubConfigurationBase config)
public HardwareCompatibilityTypes.CheckSummary get(java.lang.String cluster)
HardwareCompatibility
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface HardwareCompatibility
cluster
- identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public HardwareCompatibilityTypes.CheckSummary get(java.lang.String cluster, InvocationConfig invocationConfig)
HardwareCompatibility
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 HardwareCompatibility
cluster
- identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String cluster, AsyncCallback<HardwareCompatibilityTypes.CheckSummary> asyncCallback)
HardwareCompatibility
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
. get
in interface HardwareCompatibility
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.public void get(java.lang.String cluster, AsyncCallback<HardwareCompatibilityTypes.CheckSummary> asyncCallback, InvocationConfig invocationConfig)
HardwareCompatibility
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
. get
in interface HardwareCompatibility
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.public java.lang.String check_Task(java.lang.String cluster)
HardwareCompatibility
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
check_Task
in interface HardwareCompatibility
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public java.lang.String check_Task(java.lang.String cluster, InvocationConfig invocationConfig)
HardwareCompatibility
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.
check_Task
in interface HardwareCompatibility
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void check_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
HardwareCompatibility
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.
check_Task
in interface HardwareCompatibility
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.public void check_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
HardwareCompatibility
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.
check_Task
in interface HardwareCompatibility
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.