public interface Database extends Service, DatabaseTypes
Database interface provides methods to retrieve the health status of
the vcdb. This interface was added in vSphere API 7.0.0.1.DatabaseTypes.Info, DatabaseTypes.Message_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
DatabaseTypes.Info |
get()
Returns the health status of the database.
|
void |
get(AsyncCallback<DatabaseTypes.Info> asyncCallback)
Returns the health status of the database.
|
void |
get(AsyncCallback<DatabaseTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the health status of the database.
|
DatabaseTypes.Info |
get(InvocationConfig invocationConfig)
Returns the health status of the database.
|
DatabaseTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error - if issue in retrieving health of the databaseDatabaseTypes.Info 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 - if issue in retrieving health of the databasevoid get(AsyncCallback<DatabaseTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Health status of the database
Operation Errors:
Error - if issue in retrieving health of the database
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<DatabaseTypes.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 status of the database
Operation Errors:
Error - if issue in retrieving health of the database
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.