public class HealthStub extends com.vmware.vapi.internal.bindings.Stub implements Health
Health
API service.
WARNING: Internal class, subject to change in future versions.
HealthTypes.Info, HealthTypes.Status
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
HealthStub(ApiProvider apiProvider,
StubConfigurationBase config) |
HealthStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public HealthStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public HealthStub(ApiProvider apiProvider, StubConfigurationBase config)
public HealthTypes.Info get(java.lang.String registry)
Health
Synchronous method overload. Result of the invocation will be reported as a method return value.
public HealthTypes.Info get(java.lang.String registry, InvocationConfig invocationConfig)
Health
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String registry, AsyncCallback<HealthTypes.Info> asyncCallback)
Health
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
public void get(java.lang.String registry, AsyncCallback<HealthTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Health
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
get
in interface Health
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.