Class: Com::Vmware::Vcenter::Folder
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Vcenter::Folder
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb
Overview
The Folder class provides methods for manipulating a vCenter Server folder.
Defined Under Namespace
Classes: FilterSpec, Summary, Type
Constant Summary
- RESOURCE_TYPE =
'Folder'
Instance Method Summary (collapse)
-
- (Folder) initialize(config)
constructor
Constructs a new instance.
-
- (Array<Com::Vmware::Vcenter::Folder::Summary>) list(filter = nil)
Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the :class:`Com::Vmware::Vcenter::Folder::FilterSpec` .
Constructor Details
- (Folder) initialize(config)
Constructs a new instance.
1056 1057 1058 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 1056 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Array<Com::Vmware::Vcenter::Folder::Summary>) list(filter = nil)
Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the :class:`Com::Vmware::Vcenter::Folder::FilterSpec` .
1080 1081 1082 1083 1084 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 1080 def list(filter=nil) invoke_with_info(@@list_info, { 'filter' => filter, }) end |