public interface Storage extends Service, StorageTypes
Storage
interface provides methods Get storage health.StorageTypes.HealthLevel
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
StorageTypes.HealthLevel |
get()
Get storage health.
|
void |
get(AsyncCallback<StorageTypes.HealthLevel> asyncCallback)
Get storage health.
|
void |
get(AsyncCallback<StorageTypes.HealthLevel> asyncCallback,
InvocationConfig invocationConfig)
Get storage health.
|
StorageTypes.HealthLevel |
get(InvocationConfig invocationConfig)
Get storage health.
|
StorageTypes.HealthLevel get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorStorageTypes.HealthLevel 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<StorageTypes.HealthLevel> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Storage health.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<StorageTypes.HealthLevel> 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:
Storage health.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.