public interface Health extends Service, HealthTypes
Health
interface provides methods to retrieve health status for a
container registry.HealthTypes.Info, HealthTypes.Status
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
HealthTypes.Info |
get(java.lang.String registry)
Returns the health information of a container registry in the vCenter.
|
void |
get(java.lang.String registry,
AsyncCallback<HealthTypes.Info> asyncCallback)
Returns the health information of a container registry in the vCenter.
|
void |
get(java.lang.String registry,
AsyncCallback<HealthTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the health information of a container registry in the vCenter.
|
HealthTypes.Info |
get(java.lang.String registry,
InvocationConfig invocationConfig)
Returns the health information of a container registry in the vCenter.
|
HealthTypes.Info get(java.lang.String registry)
Synchronous method overload. Result of the invocation will be reported as a method return value.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.Error
- if the system reports an error while responding to the request.NotFound
- if the registry does not exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user is not a member of the AdministratorsHealthTypes.Info get(java.lang.String registry, 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.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the registry does not exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user is not a member of the Administratorsvoid get(java.lang.String registry, AsyncCallback<HealthTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Health information of the registry.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the registry does not exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user is not a member of the Administrators
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String registry, AsyncCallback<HealthTypes.Info> 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:
Health information of the registry.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the registry does not exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user is not a member of the Administrators
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.