Class: Google::Apis::VmwareengineV1::ManagementCluster
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::ManagementCluster
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmwareengine_v1/classes.rb,
lib/google/apis/vmwareengine_v1/representations.rb,
lib/google/apis/vmwareengine_v1/representations.rb
Overview
Management cluster configuration.
Instance Attribute Summary collapse
-
#cluster_id ⇒ String
Required.
-
#node_type_configs ⇒ Hash<String,Google::Apis::VmwareengineV1::NodeTypeConfig>
Required.
-
#stretched_cluster_config ⇒ Google::Apis::VmwareengineV1::StretchedClusterConfig
Configuration of a stretched cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagementCluster
constructor
A new instance of ManagementCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagementCluster
Returns a new instance of ManagementCluster.
1655 1656 1657 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_id ⇒ String
Required. The user-provided identifier of the new Cluster
. The identifier
must meet the following requirements: * Only contains 1-63 alphanumeric
characters and hyphens * Begins with an alphabetical character * Ends with a
non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
Corresponds to the JSON property clusterId
1642 1643 1644 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1642 def cluster_id @cluster_id end |
#node_type_configs ⇒ Hash<String,Google::Apis::VmwareengineV1::NodeTypeConfig>
Required. The map of cluster node types in this cluster, where the key is
canonical identifier of the node type (corresponds to the NodeType
).
Corresponds to the JSON property nodeTypeConfigs
1648 1649 1650 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1648 def node_type_configs @node_type_configs end |
#stretched_cluster_config ⇒ Google::Apis::VmwareengineV1::StretchedClusterConfig
Configuration of a stretched cluster.
Corresponds to the JSON property stretchedClusterConfig
1653 1654 1655 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1653 def stretched_cluster_config @stretched_cluster_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1660 1661 1662 1663 1664 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1660 def update!(**args) @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @node_type_configs = args[:node_type_configs] if args.key?(:node_type_configs) @stretched_cluster_config = args[:stretched_cluster_config] if args.key?(:stretched_cluster_config) end |