VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::DatastoreStub Class Reference

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

Inherits vmware::vcenter::Datastore.

List of all members.

Public Member Functions

 DatastoreStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 DatastoreStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
vmware.vcenter.DatastoreTypes.Info Get (string datastore)
 Retrieves information about the datastore indicated by datastore .
vmware.vcenter.DatastoreTypes.Info Get (string datastore, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Retrieves information about the datastore indicated by datastore .
global::System.Threading.Tasks.Task
< vmware.vcenter.DatastoreTypes.Info
GetAsync (string datastore)
 Retrieves information about the datastore indicated by datastore .
global::System.Threading.Tasks.Task
< vmware.vcenter.DatastoreTypes.Info
GetAsync (string datastore, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Retrieves information about the datastore indicated by datastore .
global::System.Collections.Generic.List
< vmware.vcenter.DatastoreTypes.Summary
List (vmware.vcenter.DatastoreTypes.FilterSpec filter)
 Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .
global::System.Collections.Generic.List
< vmware.vcenter.DatastoreTypes.Summary
List (vmware.vcenter.DatastoreTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.DatastoreTypes.Summary > > 
ListAsync (vmware.vcenter.DatastoreTypes.FilterSpec filter)
 Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.DatastoreTypes.Summary > > 
ListAsync (vmware.vcenter.DatastoreTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .

Detailed Description

Remote stub implementation of the Datastore API service.


Constructor & Destructor Documentation

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

Member Function Documentation

vmware.vcenter.DatastoreTypes.Info vmware::vcenter::DatastoreStub::Get ( string  datastore) [inline]

Retrieves information about the datastore indicated by datastore .

Exceptions:
vmware.vapi.std.errors.NotFoundif the datastore indicated by datastore does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
datastoreIdentifier of the datastore for which information should be retrieved. The parameter must be an identifier for the resource type: Datastore .
Returns:
information about the datastore.

Implements vmware::vcenter::Datastore.

vmware.vcenter.DatastoreTypes.Info vmware::vcenter::DatastoreStub::Get ( string  datastore,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Retrieves information about the datastore indicated by datastore .

Exceptions:
vmware.vapi.std.errors.NotFoundif the datastore indicated by datastore does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
datastoreIdentifier of the datastore for which information should be retrieved. The parameter must be an identifier for the resource type: Datastore .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
information about the datastore.

Implements vmware::vcenter::Datastore.

global::System.Threading.Tasks.Task<vmware.vcenter.DatastoreTypes.Info> vmware::vcenter::DatastoreStub::GetAsync ( string  datastore,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Retrieves information about the datastore indicated by datastore .

Exceptions:
vmware.vapi.std.errors.NotFoundif the datastore indicated by datastore does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
datastoreIdentifier of the datastore for which information should be retrieved. The parameter must be an identifier for the resource type: Datastore .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
information about the datastore.

Implements vmware::vcenter::Datastore.

global::System.Threading.Tasks.Task<vmware.vcenter.DatastoreTypes.Info> vmware::vcenter::DatastoreStub::GetAsync ( string  datastore) [inline]

Retrieves information about the datastore indicated by datastore .

Exceptions:
vmware.vapi.std.errors.NotFoundif the datastore indicated by datastore does not exist.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
datastoreIdentifier of the datastore for which information should be retrieved. The parameter must be an identifier for the resource type: Datastore .
Returns:
information about the datastore.

Implements vmware::vcenter::Datastore.

global::System.Collections.Generic.List<vmware.vcenter.DatastoreTypes.Summary> vmware::vcenter::DatastoreStub::List ( vmware.vcenter.DatastoreTypes.FilterSpec  filter) [inline]

Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 2500 datastores match the Datastore.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
filterSpecification of matching datastores for which information should be returned. If null, the behavior is equivalent to a Datastore.FilterSpec with all fields null which means all datastores match the filter.
Returns:
Commonly used information about the datastores matching the Datastore.FilterSpec .

Implements vmware::vcenter::Datastore.

global::System.Collections.Generic.List<vmware.vcenter.DatastoreTypes.Summary> vmware::vcenter::DatastoreStub::List ( vmware.vcenter.DatastoreTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 2500 datastores match the Datastore.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
filterSpecification of matching datastores for which information should be returned. If null, the behavior is equivalent to a Datastore.FilterSpec with all fields null which means all datastores match the filter.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used information about the datastores matching the Datastore.FilterSpec .

Implements vmware::vcenter::Datastore.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.DatastoreTypes.Summary> > vmware::vcenter::DatastoreStub::ListAsync ( vmware.vcenter.DatastoreTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 2500 datastores match the Datastore.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
filterSpecification of matching datastores for which information should be returned. If null, the behavior is equivalent to a Datastore.FilterSpec with all fields null which means all datastores match the filter.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used information about the datastores matching the Datastore.FilterSpec .

Implements vmware::vcenter::Datastore.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.DatastoreTypes.Summary> > vmware::vcenter::DatastoreStub::ListAsync ( vmware.vcenter.DatastoreTypes.FilterSpec  filter) [inline]

Returns information about at most 2500 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec .

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.InvalidArgumentif the Datastore.FilterSpec.types field contains a value that is not supported by the server.
vmware.vapi.std.errors.UnableToAllocateResourceif more than 2500 datastores match the Datastore.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
filterSpecification of matching datastores for which information should be returned. If null, the behavior is equivalent to a Datastore.FilterSpec with all fields null which means all datastores match the filter.
Returns:
Commonly used information about the datastores matching the Datastore.FilterSpec .

Implements vmware::vcenter::Datastore.


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