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(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
HealthStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.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,
com.vmware.vapi.bindings.client.AsyncCallback<HealthTypes.Info> asyncCallback)
Returns the health information of a container registry in the vCenter.
|
void |
get(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<HealthTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the health information of a container registry in the vCenter.
|
HealthTypes.Info |
get(java.lang.String registry,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the health information of a container registry in the vCenter.
|
public HealthStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public HealthStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.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
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. public void get(java.lang.String registry, com.vmware.vapi.bindings.client.AsyncCallback<HealthTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.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
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. 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.