Class: Com::Vmware::Vcenter::Inventory::Datastore
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Vcenter::Inventory::Datastore
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/inventory.rb
Overview
The ``Com::Vmware::Vcenter::Inventory::Datastore`` class provides methods to retrieve information about datastores.
Defined Under Namespace
Classes: Info
Instance Method Summary (collapse)
-
- (Hash<String, Com::Vmware::Vcenter::Inventory::Datastore::Info, nil>) find(datastores)
Returns datastore information for the specified datastores.
-
- (Datastore) initialize(config)
constructor
Constructs a new instance.
Constructor Details
- (Datastore) initialize(config)
Constructs a new instance.
52 53 54 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/inventory.rb', line 52 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Hash<String, Com::Vmware::Vcenter::Inventory::Datastore::Info, nil>) find(datastores)
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.
69 70 71 72 73 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/inventory.rb', line 69 def find(datastores) invoke_with_info(@@find_info, { 'datastores' => datastores, }) end |