public class StorageStub extends com.vmware.vapi.internal.bindings.Stub implements Storage
Storage
API service.
WARNING: Internal class, subject to change in future versions.
StorageTypes.HealthLevel
Constructor and Description |
---|
StorageStub(ApiProvider apiProvider,
StubConfigurationBase config) |
StorageStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public StorageStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public StorageStub(ApiProvider apiProvider, StubConfigurationBase config)
public StorageTypes.HealthLevel get()
Storage
Synchronous method overload. Result of the invocation will be reported as a method return value.
public StorageTypes.HealthLevel get(InvocationConfig invocationConfig)
Storage
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(AsyncCallback<StorageTypes.HealthLevel> asyncCallback)
Storage
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Storage health.
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<StorageTypes.HealthLevel> asyncCallback, InvocationConfig invocationConfig)
Storage
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Storage health.
Operation Errors:
Error
- Generic error