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.Info
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
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 |
---|---|
java.util.Map<java.lang.String,DatastoreTypes.Info> |
find(java.util.List<java.lang.String> datastores)
Returns datastore information for the specified datastores.
|
void |
find(java.util.List<java.lang.String> datastores,
AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback)
Returns datastore information for the specified datastores.
|
void |
find(java.util.List<java.lang.String> datastores,
AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns datastore information for the specified datastores.
|
java.util.Map<java.lang.String,DatastoreTypes.Info> |
find(java.util.List<java.lang.String> datastores,
InvocationConfig invocationConfig)
Returns datastore information for the specified datastores.
|
public DatastoreStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public DatastoreStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.Map<java.lang.String,DatastoreTypes.Info> find(java.util.List<java.lang.String> datastores)
Datastore
Map
is the datastore identifier and the value in
the Map
is the datastore information.
Synchronous method overload. Result of the invocation will be reported as a method return value.
find
in interface Datastore
datastores
- Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore
.Map
is the datastore identifier and the value in the Map
is the datastore information.
The key in the return value Map
will be an identifier for the
resource type: Datastore
.public java.util.Map<java.lang.String,DatastoreTypes.Info> find(java.util.List<java.lang.String> datastores, InvocationConfig invocationConfig)
Datastore
Map
is the datastore identifier and the value in
the Map
is the datastore information.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
find
in interface Datastore
datastores
- Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore
.invocationConfig
- Configuration for the method invocation.Map
is the datastore identifier and the value in the Map
is the datastore information.
The key in the return value Map
will be an identifier for the
resource type: Datastore
.public void find(java.util.List<java.lang.String> datastores, AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback)
Datastore
Map
is the datastore identifier and the value in
the Map
is the datastore information.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Datastore information for the specified datastores. The key in the return value
Map
is the datastore identifier and the value in the Map
is the datastore information.
The key in the return value Map
will be an identifier for the
resource type: Datastore
.
Operation Errors:
NotFound
- if no datastore can be found for one or more of the datastore identifiers in
datastores
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. Datastore
referenced by the parameter datastores
requires System.Read
.
find
in interface Datastore
datastores
- Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void find(java.util.List<java.lang.String> datastores, AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback, InvocationConfig invocationConfig)
Datastore
Map
is the datastore identifier and the value in
the Map
is the datastore information.
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:
Datastore information for the specified datastores. The key in the return value
Map
is the datastore identifier and the value in the Map
is the datastore information.
The key in the return value Map
will be an identifier for the
resource type: Datastore
.
Operation Errors:
NotFound
- if no datastore can be found for one or more of the datastore identifiers in
datastores
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. Datastore
referenced by the parameter datastores
requires System.Read
.
find
in interface Datastore
datastores
- Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.