VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::Datastore Interface Reference

The Datastore interface provides methods for manipulating a datastore. More...

Inherited by vmware::vcenter::DatastoreStub.

List of all members.

Public Member Functions

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

The Datastore interface provides methods for manipulating a datastore.


Member Function Documentation

vmware.vcenter.DatastoreTypes.Info vmware::vcenter::Datastore::Get ( string  datastore)

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.

Implemented in vmware::vcenter::DatastoreStub.

vmware.vcenter.DatastoreTypes.Info vmware::vcenter::Datastore::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 .

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.

Implemented in vmware::vcenter::DatastoreStub.

global::System.Threading.Tasks.Task<vmware.vcenter.DatastoreTypes.Info> vmware::vcenter::Datastore::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 .

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.

Implemented in vmware::vcenter::DatastoreStub.

global::System.Threading.Tasks.Task<vmware.vcenter.DatastoreTypes.Info> vmware::vcenter::Datastore::GetAsync ( string  datastore)

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.

Implemented in vmware::vcenter::DatastoreStub.

global::System.Collections.Generic.List<vmware.vcenter.DatastoreTypes.Summary> vmware::vcenter::Datastore::List ( vmware.vcenter.DatastoreTypes.FilterSpec  filter)

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 .

Implemented in vmware::vcenter::DatastoreStub.

global::System.Collections.Generic.List<vmware.vcenter.DatastoreTypes.Summary> vmware::vcenter::Datastore::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 .

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 .

Implemented in vmware::vcenter::DatastoreStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.DatastoreTypes.Summary> > vmware::vcenter::Datastore::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 .

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 .

Implemented in vmware::vcenter::DatastoreStub.

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

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 .

Implemented in vmware::vcenter::DatastoreStub.


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