Class: Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb

Overview

Configuration template for AWS EBS volumes.

Defined Under Namespace

Modules: VolumeType

Instance Attribute Summary collapse

Instance Attribute Details

#iops::Integer

Returns Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume.

Returns:

  • (::Integer)

    Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume.



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb', line 337

class AwsVolumeTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of supported EBS volumes. We currently only support GP2 or GP3
  # volumes.
  # See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
  # for more information.
  module VolumeType
    # Not set.
    VOLUME_TYPE_UNSPECIFIED = 0

    # GP2 (General Purpose SSD volume type).
    GP2 = 1

    # GP3 (General Purpose SSD volume type).
    GP3 = 2
  end
end

#kms_key_arn::String

Returns Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.

If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.

Returns:

  • (::String)

    Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.

    If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb', line 337

class AwsVolumeTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of supported EBS volumes. We currently only support GP2 or GP3
  # volumes.
  # See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
  # for more information.
  module VolumeType
    # Not set.
    VOLUME_TYPE_UNSPECIFIED = 0

    # GP2 (General Purpose SSD volume type).
    GP2 = 1

    # GP3 (General Purpose SSD volume type).
    GP3 = 2
  end
end

#size_gib::Integer

Returns Optional. The size of the volume, in GiBs.

When unspecified, a default value is provided. See the specific reference in the parent resource.

Returns:

  • (::Integer)

    Optional. The size of the volume, in GiBs.

    When unspecified, a default value is provided. See the specific reference in the parent resource.



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb', line 337

class AwsVolumeTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of supported EBS volumes. We currently only support GP2 or GP3
  # volumes.
  # See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
  # for more information.
  module VolumeType
    # Not set.
    VOLUME_TYPE_UNSPECIFIED = 0

    # GP2 (General Purpose SSD volume type).
    GP2 = 1

    # GP3 (General Purpose SSD volume type).
    GP3 = 2
  end
end

#throughput::Integer

Returns Optional. The throughput that the volume supports, in MiB/s. Only valid if volume_type is GP3.

If the volume_type is GP3 and this is not speficied, it defaults to 125.

Returns:

  • (::Integer)

    Optional. The throughput that the volume supports, in MiB/s. Only valid if volume_type is GP3.

    If the volume_type is GP3 and this is not speficied, it defaults to 125.



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb', line 337

class AwsVolumeTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of supported EBS volumes. We currently only support GP2 or GP3
  # volumes.
  # See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
  # for more information.
  module VolumeType
    # Not set.
    VOLUME_TYPE_UNSPECIFIED = 0

    # GP2 (General Purpose SSD volume type).
    GP2 = 1

    # GP3 (General Purpose SSD volume type).
    GP3 = 2
  end
end

#volume_type::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate::VolumeType

Returns Optional. Type of the EBS volume.

When unspecified, it defaults to GP2 volume.

Returns:



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb', line 337

class AwsVolumeTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of supported EBS volumes. We currently only support GP2 or GP3
  # volumes.
  # See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
  # for more information.
  module VolumeType
    # Not set.
    VOLUME_TYPE_UNSPECIFIED = 0

    # GP2 (General Purpose SSD volume type).
    GP2 = 1

    # GP3 (General Purpose SSD volume type).
    GP3 = 2
  end
end