public interface HealthCheckSettings extends com.vmware.vapi.bindings.Service, HealthCheckSettingsTypes
HealthCheckSettings interface provides methods to enable/disable
health check settings in vCenter Server. This interface was added in vSphere API
7.0.0.1.HealthCheckSettingsTypes.SettingSpec, HealthCheckSettingsTypes.UpdateSpec_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
HealthCheckSettingsTypes.SettingSpec |
get()
Get health settings for vCenter Server.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback)
Get health settings for vCenter Server.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get health settings for vCenter Server.
|
HealthCheckSettingsTypes.SettingSpec |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get health settings for vCenter Server.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set health settings based on provided healthSpec.
|
HealthCheckSettingsTypes.SettingSpec get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error - Generic errorHealthCheckSettingsTypes.SettingSpec get(com.vmware.vapi.bindings.client.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.
invocationConfig - Configuration for the method invocation.Error - Generic errorvoid get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
health settings.
Operation Errors:
Error - Generic error
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback, com.vmware.vapi.bindings.client.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 settings.
Operation Errors:
Error - Generic error
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.void update(HealthCheckSettingsTypes.UpdateSpec healthSettings)
Synchronous method overload. Result of the invocation will be reported as a method return value.
healthSettings - Error - Generic error.InvalidArgumentvoid update(HealthCheckSettingsTypes.UpdateSpec healthSettings, com.vmware.vapi.bindings.client.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.
healthSettings - invocationConfig - Configuration for the method invocation.Error - Generic error.InvalidArgumentvoid update(HealthCheckSettingsTypes.UpdateSpec healthSettings, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error.
InvalidArgument -
healthSettings - asyncCallback - Receives the status (progress, result or error) of the operation invocation.void update(HealthCheckSettingsTypes.UpdateSpec healthSettings, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.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.
Operation Errors:
Error - Generic error.
InvalidArgument -
healthSettings - asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.