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.StorageChange, StorageTypes.StorageMapping
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 |
---|---|
java.util.List<StorageTypes.StorageMapping> |
list()
Get disk to partition mapping.
|
void |
list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> asyncCallback)
Get disk to partition mapping.
|
void |
list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> asyncCallback,
InvocationConfig invocationConfig)
Get disk to partition mapping.
|
java.util.List<StorageTypes.StorageMapping> |
list(InvocationConfig invocationConfig)
Get disk to partition mapping.
|
void |
resize()
Resize all partitions to 100 percent of disk size.
|
void |
resize(AsyncCallback<java.lang.Void> asyncCallback)
Resize all partitions to 100 percent of disk size.
|
void |
resize(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
void |
resize(InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
java.util.Map<java.lang.String,StorageTypes.StorageChange> |
resizeEx()
Resize all partitions to 100 percent of disk size.
|
void |
resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> asyncCallback)
Resize all partitions to 100 percent of disk size.
|
void |
resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> asyncCallback,
InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
java.util.Map<java.lang.String,StorageTypes.StorageChange> |
resizeEx(InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
public StorageStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public StorageStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<StorageTypes.StorageMapping> list()
Storage
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<StorageTypes.StorageMapping> list(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 list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> asyncCallback)
Storage
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
list of mapping items
Operation Errors:
Error
- Generic error
public void list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> 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:
list of mapping items
Operation Errors:
Error
- Generic error
public void resize()
Storage
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void resize(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 resize(AsyncCallback<java.lang.Void> asyncCallback)
Storage
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void resize(AsyncCallback<java.lang.Void> 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 Errors:
Error
- Generic error
public java.util.Map<java.lang.String,StorageTypes.StorageChange> resizeEx()
Storage
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.Map<java.lang.String,StorageTypes.StorageChange> resizeEx(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 resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> asyncCallback)
Storage
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
List of the partitions with the size before and after resizing
Operation Errors:
Error
- Generic error
public void resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> 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:
List of the partitions with the size before and after resizing
Operation Errors:
Error
- Generic error