public class DatastoreStub extends com.vmware.vapi.internal.bindings.Stub implements Datastore
Datastore
API service.
WARNING: Internal class, subject to change in future versions.
DatastoreTypes.FilterSpec, DatastoreTypes.Info, DatastoreTypes.Summary, DatastoreTypes.TypeapiProvider, converter, ifaceId, securityContextRESOURCE_TYPE| Constructor and Description |
|---|
DatastoreStub(ApiProvider apiProvider,
StubConfigurationBase config) |
DatastoreStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
DatastoreTypes.Info |
get(java.lang.String datastore)
Retrieves information about the datastore indicated by
datastore. |
void |
get(java.lang.String datastore,
AsyncCallback<DatastoreTypes.Info> asyncCallback)
Retrieves information about the datastore indicated by
datastore. |
void |
get(java.lang.String datastore,
AsyncCallback<DatastoreTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the datastore indicated by
datastore. |
DatastoreTypes.Info |
get(java.lang.String datastore,
InvocationConfig invocationConfig)
Retrieves information about the datastore indicated by
datastore. |
java.util.List<DatastoreTypes.Summary> |
list(DatastoreTypes.FilterSpec filter)
Returns information about at most 1000 visible (subject to permission checks)
datastores in vCenter matching the
DatastoreTypes.FilterSpec. |
void |
list(DatastoreTypes.FilterSpec filter,
AsyncCallback<java.util.List<DatastoreTypes.Summary>> asyncCallback)
Returns information about at most 1000 visible (subject to permission checks)
datastores in vCenter matching the
DatastoreTypes.FilterSpec. |
void |
list(DatastoreTypes.FilterSpec filter,
AsyncCallback<java.util.List<DatastoreTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
datastores in vCenter matching the
DatastoreTypes.FilterSpec. |
java.util.List<DatastoreTypes.Summary> |
list(DatastoreTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
datastores in vCenter matching the
DatastoreTypes.FilterSpec. |
public DatastoreStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public DatastoreStub(ApiProvider apiProvider, StubConfigurationBase config)
public DatastoreTypes.Info get(java.lang.String datastore)
Datastoredatastore.
Synchronous method overload. Result of the invocation will be reported as a method return value.
public DatastoreTypes.Info get(java.lang.String datastore, InvocationConfig invocationConfig)
Datastoredatastore.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface Datastoredatastore - Identifier of the datastore for which information should be retrieved.
The parameter must be an identifier for the resource type: Datastore.invocationConfig - Configuration for the method invocation.public void get(java.lang.String datastore,
AsyncCallback<DatastoreTypes.Info> asyncCallback)
Datastoredatastore.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
information about the datastore.
Operation Errors:
NotFound - if the datastore indicated by datastore does not exist.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user doesn't have the required privileges.
public void get(java.lang.String datastore,
AsyncCallback<DatastoreTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Datastoredatastore.
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:
information about the datastore.
Operation Errors:
NotFound - if the datastore indicated by datastore does not exist.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user doesn't have the required privileges.
get in interface Datastoredatastore - Identifier of the datastore for which information should be retrieved.
The parameter must be an identifier for the resource type: Datastore.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.util.List<DatastoreTypes.Summary> list(DatastoreTypes.FilterSpec filter)
DatastoreDatastoreTypes.FilterSpec.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Datastorefilter - Specification of matching datastores for which information should be returned.
If null, the behavior is equivalent to a DatastoreTypes.FilterSpec with all properties null
which means all datastores match the filter.DatastoreTypes.FilterSpec.public java.util.List<DatastoreTypes.Summary> list(DatastoreTypes.FilterSpec filter, InvocationConfig invocationConfig)
DatastoreDatastoreTypes.FilterSpec.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface Datastorefilter - Specification of matching datastores for which information should be returned.
If null, the behavior is equivalent to a DatastoreTypes.FilterSpec with all properties null
which means all datastores match the filter.invocationConfig - Configuration for the method invocation.DatastoreTypes.FilterSpec.public void list(DatastoreTypes.FilterSpec filter, AsyncCallback<java.util.List<DatastoreTypes.Summary>> asyncCallback)
DatastoreDatastoreTypes.FilterSpec.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Commonly used information about the datastores matching the DatastoreTypes.FilterSpec.
Operation Errors:
InvalidArgument - if the DatastoreTypes.FilterSpec.getTypes() property
contains a value that is not supported by the server.
InvalidArgument - if the DatastoreTypes.FilterSpec.getTypes() property
contains a value that is not supported by the server.
UnableToAllocateResource - if more than 1000 datastores match the DatastoreTypes.FilterSpec.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user doesn't have the required privileges.
list in interface Datastorefilter - Specification of matching datastores for which information should be returned.
If null, the behavior is equivalent to a DatastoreTypes.FilterSpec with all properties null
which means all datastores match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(DatastoreTypes.FilterSpec filter, AsyncCallback<java.util.List<DatastoreTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
DatastoreDatastoreTypes.FilterSpec.
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:
Commonly used information about the datastores matching the DatastoreTypes.FilterSpec.
Operation Errors:
InvalidArgument - if the DatastoreTypes.FilterSpec.getTypes() property
contains a value that is not supported by the server.
InvalidArgument - if the DatastoreTypes.FilterSpec.getTypes() property
contains a value that is not supported by the server.
UnableToAllocateResource - if more than 1000 datastores match the DatastoreTypes.FilterSpec.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user doesn't have the required privileges.
list in interface Datastorefilter - Specification of matching datastores for which information should be returned.
If null, the behavior is equivalent to a DatastoreTypes.FilterSpec with all properties null
which means all datastores match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.