Class: Com::Vmware::Vcenter::Cluster
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Vcenter::Cluster
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb
Overview
The ``Com::Vmware::Vcenter::Cluster`` class provides methods to manage clusters in the vCenter Server.
Defined Under Namespace
Classes: FilterSpec, Info, Summary
Constant Summary
- RESOURCE_TYPE =
'ClusterComputeResource'
Instance Method Summary (collapse)
-
- (Com::Vmware::Vcenter::Cluster::Info) get(cluster)
Retrieves information about the cluster corresponding to ``cluster`` .
-
- (Cluster) initialize(config)
constructor
Constructs a new instance.
-
- (Array<Com::Vmware::Vcenter::Cluster::Summary>) list(filter = nil)
Returns information about at most 1000 visible (subject to permission checks) clusters in vCenter matching the :class:`Com::Vmware::Vcenter::Cluster::FilterSpec` .
Constructor Details
- (Cluster) initialize(config)
Constructs a new instance.
69 70 71 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 69 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Com::Vmware::Vcenter::Cluster::Info) get(cluster)
Retrieves information about the cluster corresponding to ``cluster`` .
112 113 114 115 116 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 112 def get(cluster) invoke_with_info(@@get_info, { 'cluster' => cluster, }) end |
- (Array<Com::Vmware::Vcenter::Cluster::Summary>) list(filter = nil)
Returns information about at most 1000 visible (subject to permission checks) clusters in vCenter matching the :class:`Com::Vmware::Vcenter::Cluster::FilterSpec` .
91 92 93 94 95 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter.rb', line 91 def list(filter=nil) invoke_with_info(@@list_info, { 'filter' => filter, }) end |