Class: Google::Apis::GkeonpremV1::VmwareNodePool
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareNodePool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
Resource VmwareNodePool represents a VMware node pool. ##
Instance Attribute Summary collapse
-
#annotations ⇒ Hash<String,String>
Annotations on the node pool.
-
#config ⇒ Google::Apis::GkeonpremV1::VmwareNodeConfig
Parameters that describe the configuration of all nodes within a given node pool.
-
#create_time ⇒ String
Output only.
-
#delete_time ⇒ String
Output only.
-
#display_name ⇒ String
The display name for the node pool.
-
#etag ⇒ String
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up- to-date value before proceeding.
-
#name ⇒ String
Immutable.
-
#node_pool_autoscaling ⇒ Google::Apis::GkeonpremV1::VmwareNodePoolAutoscalingConfig
NodePoolAutoscaling config for the NodePool to allow for the kubernetes to scale NodePool.
-
#on_prem_version ⇒ String
Anthos version for the node pool.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#state ⇒ String
Output only.
-
#status ⇒ Google::Apis::GkeonpremV1::ResourceStatus
ResourceStatus describes why a cluster or node pool has a certain status.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareNodePool
constructor
A new instance of VmwareNodePool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareNodePool
Returns a new instance of VmwareNodePool.
5228 5229 5230 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotations ⇒ Hash<String,String>
Annotations on the node pool. This field has the same restrictions as
Kubernetes annotations. The total size of all keys and values combined is
limited to 256k. Key can have 2 segments: prefix (optional) and name (required)
, separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63
characters or less, begin and end with alphanumerics, with dashes (-),
underscores (_), dots (.), and alphanumerics between.
Corresponds to the JSON property annotations
5153 5154 5155 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5153 def annotations @annotations end |
#config ⇒ Google::Apis::GkeonpremV1::VmwareNodeConfig
Parameters that describe the configuration of all nodes within a given node
pool.
Corresponds to the JSON property config
5159 5160 5161 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5159 def config @config end |
#create_time ⇒ String
Output only. The time at which this node pool was created.
Corresponds to the JSON property createTime
5164 5165 5166 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5164 def create_time @create_time end |
#delete_time ⇒ String
Output only. The time at which this node pool was deleted. If the resource is
not deleted, this must be empty
Corresponds to the JSON property deleteTime
5170 5171 5172 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5170 def delete_time @delete_time end |
#display_name ⇒ String
The display name for the node pool.
Corresponds to the JSON property displayName
5175 5176 5177 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5175 def display_name @display_name end |
#etag ⇒ String
This checksum is computed by the server based on the value of other fields,
and may be sent on update and delete requests to ensure the client has an up-
to-date value before proceeding. Allows clients to perform consistent read-
modify-writes through optimistic concurrency control.
Corresponds to the JSON property etag
5183 5184 5185 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5183 def etag @etag end |
#name ⇒ String
Immutable. The resource name of this node pool.
Corresponds to the JSON property name
5188 5189 5190 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5188 def name @name end |
#node_pool_autoscaling ⇒ Google::Apis::GkeonpremV1::VmwareNodePoolAutoscalingConfig
NodePoolAutoscaling config for the NodePool to allow for the kubernetes to
scale NodePool.
Corresponds to the JSON property nodePoolAutoscaling
5194 5195 5196 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5194 def node_pool_autoscaling @node_pool_autoscaling end |
#on_prem_version ⇒ String
Anthos version for the node pool. Defaults to the user cluster version.
Corresponds to the JSON property onPremVersion
5199 5200 5201 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5199 def on_prem_version @on_prem_version end |
#reconciling ⇒ Boolean Also known as: reconciling?
Output only. If set, there are currently changes in flight to the node pool.
Corresponds to the JSON property reconciling
5204 5205 5206 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5204 def reconciling @reconciling end |
#state ⇒ String
Output only. The current state of the node pool.
Corresponds to the JSON property state
5210 5211 5212 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5210 def state @state end |
#status ⇒ Google::Apis::GkeonpremV1::ResourceStatus
ResourceStatus describes why a cluster or node pool has a certain status. (e.g.
, ERROR or DEGRADED).
Corresponds to the JSON property status
5216 5217 5218 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5216 def status @status end |
#uid ⇒ String
Output only. The unique identifier of the node pool.
Corresponds to the JSON property uid
5221 5222 5223 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5221 def uid @uid end |
#update_time ⇒ String
Output only. The time at which this node pool was last updated.
Corresponds to the JSON property updateTime
5226 5227 5228 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5226 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5233 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @config = args[:config] if args.key?(:config) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @name = args[:name] if args.key?(:name) @node_pool_autoscaling = args[:node_pool_autoscaling] if args.key?(:node_pool_autoscaling) @on_prem_version = args[:on_prem_version] if args.key?(:on_prem_version) @reconciling = args[:reconciling] if args.key?(:reconciling) @state = args[:state] if args.key?(:state) @status = args[:status] if args.key?(:status) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |