public interface HealthCheckSettings extends 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(AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback)
Get health settings for vCenter Server.
|
void |
get(AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback,
InvocationConfig invocationConfig)
Get health settings for vCenter Server.
|
HealthCheckSettingsTypes.SettingSpec |
get(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,
AsyncCallback<java.lang.Void> asyncCallback)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
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(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(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(AsyncCallback<HealthCheckSettingsTypes.SettingSpec> 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 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.void update(HealthCheckSettingsTypes.UpdateSpec healthSettings, 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.void update(HealthCheckSettingsTypes.UpdateSpec healthSettings, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error.
healthSettings
- asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(HealthCheckSettingsTypes.UpdateSpec healthSettings, AsyncCallback<java.lang.Void> 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.
Operation Errors:
Error
- Generic error.
healthSettings
- asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.