public interface ServiceStatus extends Service, ServiceStatusTypes
ServiceStatus
interface provides methods to get the Attestation
Service health status. This interface was added in vSphere API 7.0.0.ServiceStatusTypes._VAPI_OPERATIONS, ServiceStatusTypes.Health, ServiceStatusTypes.Info
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_Task(java.lang.String cluster)
Return the Attestation service health in the given cluster.
|
void |
get_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Return the Attestation service health in the given cluster.
|
void |
get_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return the Attestation service health in the given cluster.
|
java.lang.String |
get_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Return the Attestation service health in the given cluster.
|
java.lang.String get_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
- For any other error.InvalidArgument
- If the cluster id is empty.NotFound
- If the cluster is not found.Unauthenticated
- If the caller is not authenticated.java.lang.String get_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
- For any other error.InvalidArgument
- If the cluster id is empty.NotFound
- If the cluster is not found.Unauthenticated
- If the caller is not authenticated.void get_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
- For any other error.
InvalidArgument
- If the cluster id is empty.
NotFound
- If the cluster is not found.
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 get_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
- For any other error.
InvalidArgument
- If the cluster id is empty.
NotFound
- If the cluster is not found.
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.