VMware vCloud Suite SDK for .NET 6.0.0
vmware::vcenter::inventory::DatastoreStub Class Reference

Remote stub implementation of the Datastore API service. More...

Inherits vmware::vcenter::inventory::Datastore.

List of all members.

Public Member Functions

 DatastoreStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
global::System.Collections.Generic.Dictionary
< string,
vmware.vcenter.inventory.DatastoreTypes.Info
Find (global::System.Collections.Generic.List< string > datastores)
 Returns datastore information for the specified datastores.
global::System.Collections.Generic.Dictionary
< string,
vmware.vcenter.inventory.DatastoreTypes.Info
Find (global::System.Collections.Generic.List< string > datastores, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns datastore information for the specified datastores.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.Dictionary
< string,
vmware.vcenter.inventory.DatastoreTypes.Info > > 
FindAsync (global::System.Collections.Generic.List< string > datastores)
 Returns datastore information for the specified datastores.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.Dictionary
< string,
vmware.vcenter.inventory.DatastoreTypes.Info > > 
FindAsync (global::System.Collections.Generic.List< string > datastores, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns datastore information for the specified datastores.

Detailed Description

Remote stub implementation of the Datastore API service.


Constructor & Destructor Documentation

vmware::vcenter::inventory::DatastoreStub::DatastoreStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

global::System.Collections.Generic.Dictionary<string, vmware.vcenter.inventory.DatastoreTypes.Info> vmware::vcenter::inventory::DatastoreStub::Find ( global::System.Collections.Generic.List< string >  datastores) [inline]

Returns datastore information for the specified datastores.

The key in the result map is the datastore identifier and the value in the map is the datastore information.

Exceptions:
vmware.vapi.std.errors.NotFoundif no datastore can be found for one or more of the datastore identifiers in datastores
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
  • The resource Datastore referenced by the parameter datastores requires System.Read .
Parameters:
datastoresIdentifiers of the datastores for which information will be returned. The parameter must contain identifiers for the resource type: Datastore .
Returns:
Datastore information for the specified datastores. The key in the result map is the datastore identifier and the value in the map is the datastore information. The key in the result map will be an identifier for the resource type: Datastore .

Implements vmware::vcenter::inventory::Datastore.

global::System.Collections.Generic.Dictionary<string, vmware.vcenter.inventory.DatastoreTypes.Info> vmware::vcenter::inventory::DatastoreStub::Find ( global::System.Collections.Generic.List< string >  datastores,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns datastore information for the specified datastores.

The key in the result map is the datastore identifier and the value in the map is the datastore information.

Exceptions:
vmware.vapi.std.errors.NotFoundif no datastore can be found for one or more of the datastore identifiers in datastores
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
  • The resource Datastore referenced by the parameter datastores requires System.Read .
Parameters:
datastoresIdentifiers of the datastores for which information will be returned. The parameter must contain identifiers for the resource type: Datastore .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Datastore information for the specified datastores. The key in the result map is the datastore identifier and the value in the map is the datastore information. The key in the result map will be an identifier for the resource type: Datastore .

Implements vmware::vcenter::inventory::Datastore.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.vcenter.inventory.DatastoreTypes.Info> > vmware::vcenter::inventory::DatastoreStub::FindAsync ( global::System.Collections.Generic.List< string >  datastores) [inline]

Returns datastore information for the specified datastores.

The key in the result map is the datastore identifier and the value in the map is the datastore information.

Exceptions:
vmware.vapi.std.errors.NotFoundif no datastore can be found for one or more of the datastore identifiers in datastores
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
  • The resource Datastore referenced by the parameter datastores requires System.Read .
Parameters:
datastoresIdentifiers of the datastores for which information will be returned. The parameter must contain identifiers for the resource type: Datastore .
Returns:
Datastore information for the specified datastores. The key in the result map is the datastore identifier and the value in the map is the datastore information. The key in the result map will be an identifier for the resource type: Datastore .

Implements vmware::vcenter::inventory::Datastore.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.vcenter.inventory.DatastoreTypes.Info> > vmware::vcenter::inventory::DatastoreStub::FindAsync ( global::System.Collections.Generic.List< string >  datastores,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns datastore information for the specified datastores.

The key in the result map is the datastore identifier and the value in the map is the datastore information.

Exceptions:
vmware.vapi.std.errors.NotFoundif no datastore can be found for one or more of the datastore identifiers in datastores
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
  • The resource Datastore referenced by the parameter datastores requires System.Read .
Parameters:
datastoresIdentifiers of the datastores for which information will be returned. The parameter must contain identifiers for the resource type: Datastore .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Datastore information for the specified datastores. The key in the result map is the datastore identifier and the value in the map is the datastore information. The key in the result map will be an identifier for the resource type: Datastore .

Implements vmware::vcenter::inventory::Datastore.


The documentation for this class was generated from the following file: