Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig (v0.7.0)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig.

Parameters that describe the nodes in a cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#autoscaling_metrics_collection

def autoscaling_metrics_collection() -> ::Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection
Returns

#autoscaling_metrics_collection=

def autoscaling_metrics_collection=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection
Parameter
Returns

#config_encryption

def config_encryption() -> ::Google::Cloud::GkeMultiCloud::V1::AwsConfigEncryption
Returns

#config_encryption=

def config_encryption=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsConfigEncryption
Parameter
Returns

#iam_instance_profile

def iam_instance_profile() -> ::String
Returns
  • (::String) — Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

#iam_instance_profile=

def iam_instance_profile=(value) -> ::String
Parameter
  • value (::String) — Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.
Returns
  • (::String) — Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

#image_type

def image_type() -> ::String
Returns
  • (::String) — Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

    When unspecified, it defaults to ubuntu.

#image_type=

def image_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

    When unspecified, it defaults to ubuntu.

Returns
  • (::String) — Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

    When unspecified, it defaults to ubuntu.

#instance_placement

def instance_placement() -> ::Google::Cloud::GkeMultiCloud::V1::AwsInstancePlacement
Returns

#instance_placement=

def instance_placement=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsInstancePlacement
Parameter
Returns

#instance_type

def instance_type() -> ::String
Returns
  • (::String) — Optional. The EC2 instance type when creating on-Demand instances.

    If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

#instance_type=

def instance_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The EC2 instance type when creating on-Demand instances.

    If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

Returns
  • (::String) — Optional. The EC2 instance type when creating on-Demand instances.

    If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

#proxy_config

def proxy_config() -> ::Google::Cloud::GkeMultiCloud::V1::AwsProxyConfig
Returns

#proxy_config=

def proxy_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsProxyConfig
Parameter
Returns

#root_volume

def root_volume() -> ::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate
Returns
  • (::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate) — Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

    When unspecified, it defaults to 32 GiB with the GP2 volume type.

#root_volume=

def root_volume=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate
Parameter
  • value (::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate) — Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

    When unspecified, it defaults to 32 GiB with the GP2 volume type.

Returns
  • (::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate) — Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

    When unspecified, it defaults to 32 GiB with the GP2 volume type.

#security_group_ids

def security_group_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

#security_group_ids=

def security_group_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.
Returns
  • (::Array<::String>) — Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

#spot_config

def spot_config() -> ::Google::Cloud::GkeMultiCloud::V1::SpotConfig
Returns
  • (::Google::Cloud::GkeMultiCloud::V1::SpotConfig) — Optional. Configuration for provisioning EC2 Spot instances

    When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

#spot_config=

def spot_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::SpotConfig
Parameter
  • value (::Google::Cloud::GkeMultiCloud::V1::SpotConfig) — Optional. Configuration for provisioning EC2 Spot instances

    When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

Returns
  • (::Google::Cloud::GkeMultiCloud::V1::SpotConfig) — Optional. Configuration for provisioning EC2 Spot instances

    When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

#ssh_config

def ssh_config() -> ::Google::Cloud::GkeMultiCloud::V1::AwsSshConfig
Returns

#ssh_config=

def ssh_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsSshConfig
Parameter
Returns

#tags

def tags() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

#tags=

def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

#taints

def taints() -> ::Array<::Google::Cloud::GkeMultiCloud::V1::NodeTaint>
Returns

#taints=

def taints=(value) -> ::Array<::Google::Cloud::GkeMultiCloud::V1::NodeTaint>
Parameter
Returns