Class: Google::Apis::GkeonpremV1::BareMetalAdminCluster
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminCluster
- 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 that represents a bare metal admin cluster.
Instance Attribute Summary collapse
-
#annotations ⇒ Hash<String,String>
Annotations on the bare metal admin cluster.
-
#bare_metal_version ⇒ String
The Anthos clusters on bare metal version for the bare metal admin cluster.
-
#binary_authorization ⇒ Google::Apis::GkeonpremV1::BinaryAuthorization
Configuration for Binary Authorization.
-
#cluster_operations ⇒ Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig
BareMetalAdminClusterOperationsConfig specifies the admin cluster's observability infrastructure.
-
#control_plane ⇒ Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig
BareMetalAdminControlPlaneConfig specifies the control plane configuration.
-
#create_time ⇒ String
Output only.
-
#delete_time ⇒ String
Output only.
-
#description ⇒ String
A human readable description of this bare metal admin cluster.
-
#endpoint ⇒ String
Output only.
-
#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.
-
#fleet ⇒ Google::Apis::GkeonpremV1::Fleet
Fleet related configuration.
-
#load_balancer ⇒ Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerConfig
BareMetalAdminLoadBalancerConfig specifies the load balancer configuration.
-
#local_name ⇒ String
Output only.
-
#maintenance_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMaintenanceConfig
BareMetalAdminMaintenanceConfig specifies configurations to put bare metal Admin cluster CRs nodes in and out of maintenance.
-
#maintenance_status ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMaintenanceStatus
BareMetalAdminMaintenanceStatus represents the maintenance status for bare metal Admin cluster CR's nodes.
-
#name ⇒ String
Immutable.
-
#network_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminNetworkConfig
BareMetalAdminNetworkConfig specifies the cluster network configuration.
-
#node_access_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminNodeAccessConfig
Specifies the node access related settings for the bare metal admin cluster.
-
#node_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminWorkloadNodeConfig
BareMetalAdminWorkloadNodeConfig specifies the workload node configurations.
-
#os_environment_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminOsEnvironmentConfig
Specifies operating system operation settings for cluster provisioning.
-
#proxy ⇒ Google::Apis::GkeonpremV1::BareMetalAdminProxyConfig
BareMetalAdminProxyConfig specifies the cluster proxy configuration.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#security_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminSecurityConfig
Specifies the security related settings for the bare metal admin cluster.
-
#state ⇒ String
Output only.
-
#status ⇒ Google::Apis::GkeonpremV1::ResourceStatus
ResourceStatus describes why a cluster or node pool has a certain status.
-
#storage ⇒ Google::Apis::GkeonpremV1::BareMetalAdminStorageConfig
BareMetalAdminStorageConfig specifies the cluster storage configuration.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#validation_check ⇒ Google::Apis::GkeonpremV1::ValidationCheck
ValidationCheck represents the result of preflight check.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminCluster
constructor
A new instance of BareMetalAdminCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminCluster
Returns a new instance of BareMetalAdminCluster.
334 335 336 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 334 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotations ⇒ Hash<String,String>
Annotations on the bare metal admin cluster. 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
171 172 173 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 171 def annotations @annotations end |
#bare_metal_version ⇒ String
The Anthos clusters on bare metal version for the bare metal admin cluster.
Corresponds to the JSON property bareMetalVersion
176 177 178 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 176 def @bare_metal_version end |
#binary_authorization ⇒ Google::Apis::GkeonpremV1::BinaryAuthorization
Configuration for Binary Authorization.
Corresponds to the JSON property binaryAuthorization
181 182 183 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 181 def @binary_authorization end |
#cluster_operations ⇒ Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig
BareMetalAdminClusterOperationsConfig specifies the admin cluster's
observability infrastructure.
Corresponds to the JSON property clusterOperations
187 188 189 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 187 def cluster_operations @cluster_operations end |
#control_plane ⇒ Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig
BareMetalAdminControlPlaneConfig specifies the control plane configuration.
Corresponds to the JSON property controlPlane
192 193 194 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 192 def control_plane @control_plane end |
#create_time ⇒ String
Output only. The time at which this bare metal admin cluster was created.
Corresponds to the JSON property createTime
197 198 199 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 197 def create_time @create_time end |
#delete_time ⇒ String
Output only. The time at which this bare metal admin cluster was deleted. If
the resource is not deleted, this must be empty
Corresponds to the JSON property deleteTime
203 204 205 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 203 def delete_time @delete_time end |
#description ⇒ String
A human readable description of this bare metal admin cluster.
Corresponds to the JSON property description
208 209 210 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 208 def description @description end |
#endpoint ⇒ String
Output only. The IP address name of bare metal admin cluster's API server.
Corresponds to the JSON property endpoint
213 214 215 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 213 def endpoint @endpoint 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
221 222 223 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 221 def etag @etag end |
#fleet ⇒ Google::Apis::GkeonpremV1::Fleet
Fleet related configuration. Fleets are a Google Cloud concept for logically
organizing clusters, letting you use and manage multi-cluster capabilities and
apply consistent policies across your systems. See Anthos Fleets for more details on
Anthos multi-cluster capabilities using Fleets. ##
Corresponds to the JSON property fleet
230 231 232 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 230 def fleet @fleet end |
#load_balancer ⇒ Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerConfig
BareMetalAdminLoadBalancerConfig specifies the load balancer configuration.
Corresponds to the JSON property loadBalancer
235 236 237 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 235 def load_balancer @load_balancer end |
#local_name ⇒ String
Output only. The object name of the bare metal cluster custom resource. This
field is used to support conflicting names when enrolling existing clusters to
the API. When used as a part of cluster enrollment, this field will differ
from the ID in the resource name. For new clusters, this field will match the
user provided cluster name and be visible in the last component of the
resource name. It is not modifiable. All users should use this name to access
their cluster using gkectl or kubectl and should expect to see the local name
when viewing admin cluster controller logs.
Corresponds to the JSON property localName
247 248 249 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 247 def local_name @local_name end |
#maintenance_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMaintenanceConfig
BareMetalAdminMaintenanceConfig specifies configurations to put bare metal
Admin cluster CRs nodes in and out of maintenance.
Corresponds to the JSON property maintenanceConfig
253 254 255 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 253 def maintenance_config @maintenance_config end |
#maintenance_status ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMaintenanceStatus
BareMetalAdminMaintenanceStatus represents the maintenance status for bare
metal Admin cluster CR's nodes.
Corresponds to the JSON property maintenanceStatus
259 260 261 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 259 def maintenance_status @maintenance_status end |
#name ⇒ String
Immutable. The bare metal admin cluster resource name.
Corresponds to the JSON property name
264 265 266 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 264 def name @name end |
#network_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminNetworkConfig
BareMetalAdminNetworkConfig specifies the cluster network configuration.
Corresponds to the JSON property networkConfig
269 270 271 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 269 def network_config @network_config end |
#node_access_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminNodeAccessConfig
Specifies the node access related settings for the bare metal admin cluster.
Corresponds to the JSON property nodeAccessConfig
274 275 276 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 274 def node_access_config @node_access_config end |
#node_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminWorkloadNodeConfig
BareMetalAdminWorkloadNodeConfig specifies the workload node configurations.
Corresponds to the JSON property nodeConfig
279 280 281 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 279 def node_config @node_config end |
#os_environment_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminOsEnvironmentConfig
Specifies operating system operation settings for cluster provisioning.
Corresponds to the JSON property osEnvironmentConfig
284 285 286 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 284 def os_environment_config @os_environment_config end |
#proxy ⇒ Google::Apis::GkeonpremV1::BareMetalAdminProxyConfig
BareMetalAdminProxyConfig specifies the cluster proxy configuration.
Corresponds to the JSON property proxy
289 290 291 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 289 def proxy @proxy end |
#reconciling ⇒ Boolean Also known as: reconciling?
Output only. If set, there are currently changes in flight to the bare metal
Admin Cluster.
Corresponds to the JSON property reconciling
295 296 297 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 295 def reconciling @reconciling end |
#security_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminSecurityConfig
Specifies the security related settings for the bare metal admin cluster.
Corresponds to the JSON property securityConfig
301 302 303 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 301 def security_config @security_config end |
#state ⇒ String
Output only. The current state of the bare metal admin cluster.
Corresponds to the JSON property state
306 307 308 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 306 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
312 313 314 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 312 def status @status end |
#storage ⇒ Google::Apis::GkeonpremV1::BareMetalAdminStorageConfig
BareMetalAdminStorageConfig specifies the cluster storage configuration.
Corresponds to the JSON property storage
317 318 319 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 317 def storage @storage end |
#uid ⇒ String
Output only. The unique identifier of the bare metal admin cluster.
Corresponds to the JSON property uid
322 323 324 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 322 def uid @uid end |
#update_time ⇒ String
Output only. The time at which this bare metal admin cluster was last updated.
Corresponds to the JSON property updateTime
327 328 329 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 327 def update_time @update_time end |
#validation_check ⇒ Google::Apis::GkeonpremV1::ValidationCheck
ValidationCheck represents the result of preflight check.
Corresponds to the JSON property validationCheck
332 333 334 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 332 def validation_check @validation_check end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 339 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @bare_metal_version = args[:bare_metal_version] if args.key?(:bare_metal_version) @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization) @cluster_operations = args[:cluster_operations] if args.key?(:cluster_operations) @control_plane = args[:control_plane] if args.key?(:control_plane) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @description = args[:description] if args.key?(:description) @endpoint = args[:endpoint] if args.key?(:endpoint) @etag = args[:etag] if args.key?(:etag) @fleet = args[:fleet] if args.key?(:fleet) @load_balancer = args[:load_balancer] if args.key?(:load_balancer) @local_name = args[:local_name] if args.key?(:local_name) @maintenance_config = args[:maintenance_config] if args.key?(:maintenance_config) @maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status) @name = args[:name] if args.key?(:name) @network_config = args[:network_config] if args.key?(:network_config) @node_access_config = args[:node_access_config] if args.key?(:node_access_config) @node_config = args[:node_config] if args.key?(:node_config) @os_environment_config = args[:os_environment_config] if args.key?(:os_environment_config) @proxy = args[:proxy] if args.key?(:proxy) @reconciling = args[:reconciling] if args.key?(:reconciling) @security_config = args[:security_config] if args.key?(:security_config) @state = args[:state] if args.key?(:state) @status = args[:status] if args.key?(:status) @storage = args[:storage] if args.key?(:storage) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) @validation_check = args[:validation_check] if args.key?(:validation_check) end |