Class: Com::Vmware::Vcenter::Datastore
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Vcenter::Datastore
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb
Overview
The Datastore class provides methods for manipulating a datastore.
Defined Under Namespace
Classes: FilterSpec, Info, Summary, Type
Constant Summary
- RESOURCE_TYPE =
'Datastore'
Instance Method Summary (collapse)
-
- (Com::Vmware::Vcenter::Datastore::Info) get(datastore)
Retrieves information about the datastore indicated by ``datastore`` .
-
- (Datastore) initialize(config)
constructor
Constructs a new instance.
-
- (Array<Com::Vmware::Vcenter::Datastore::Summary>) list(filter = nil)
Returns information about at most 1000 visible (subject to permission checks) datastores in vCenter matching the :class:`Com::Vmware::Vcenter::Datastore::FilterSpec` .
Constructor Details
- (Datastore) initialize(config)
Constructs a new instance.
688 689 690 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 688 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Com::Vmware::Vcenter::Datastore::Info) get(datastore)
Retrieves information about the datastore indicated by ``datastore`` .
709 710 711 712 713 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 709 def get(datastore) invoke_with_info(@@get_info, { 'datastore' => datastore, }) end |
- (Array<Com::Vmware::Vcenter::Datastore::Summary>) list(filter = nil)
Returns information about at most 1000 visible (subject to permission checks) datastores in vCenter matching the :class:`Com::Vmware::Vcenter::Datastore::FilterSpec` .
735 736 737 738 739 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 735 def list(filter=nil) invoke_with_info(@@list_info, { 'filter' => filter, }) end |