Google Anthos Multi Cloud V1 Client - Class AwsVolumeTemplate (0.4.4)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsVolumeTemplate.

Configuration template for AWS EBS volumes.

Generated from protobuf message google.cloud.gkemulticloud.v1.AwsVolumeTemplate

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ size_gib int

Optional. The size of the volume, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.

↳ volume_type int

Optional. Type of the EBS volume. When unspecified, it defaults to GP2 volume.

↳ iops int

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

↳ kms_key_arn 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.

getSizeGib

Optional. The size of the volume, in GiBs.

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

Returns
TypeDescription
int

setSizeGib

Optional. The size of the volume, in GiBs.

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVolumeType

Optional. Type of the EBS volume.

When unspecified, it defaults to GP2 volume.

Returns
TypeDescription
int

setVolumeType

Optional. Type of the EBS volume.

When unspecified, it defaults to GP2 volume.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getIops

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

Returns
TypeDescription
int

setIops

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKmsKeyArn

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
TypeDescription
string

setKmsKeyArn

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this