|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Classes | |
| class | Info |
Avaliable Methods | |
| public method | new () |
| public method | find () |
The Com::Vmware::Vcenter::Inventory::Datastore interface provides methods to retrieve information about datastores.
| public method Com::Vmware::Vcenter::Inventory::Datastore::find | ( | ) |
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. Note: Privileges required for this operation are System.Read.
| datastores | [REQUIRED] Identifiers of the datastores for which information will be returned. The value must be an identifier for the resource type getQualifiedName(Datastore). . The value must be Array of str. |
| 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 value will be an identifier for the resource type getQualifiedName(Datastore). The return type will be Dictionary of str and Com::Vmware::Vcenter::Inventory::Datastore::Info or None |
| Com::Vmware::Vapi::Std::Errors::NotFound | if no datastore can be found for one or more of the datastore identifiers in datastores |
| Com::Vmware::Vapi::Std::Errors::Unauthorized | if you do not have all of the privileges described as follows:
|
Code:
| public method Com::Vmware::Vcenter::Inventory::Datastore::new | ( | ) |
Constructor to initialize the object
| api_provider | - protocol connection to use with stubs created by this factory |
| StubConfig | - Stub's additional configuration |
| Blessed | object |
Code: