Google Cloud Container V1 Client - Class LocalNvmeSsdBlockConfig (1.20.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class LocalNvmeSsdBlockConfig.

LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSD.

Generated from protobuf message google.container.v1.LocalNvmeSsdBlockConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ local_ssd_count int

The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

getLocalSsdCount

The number of raw-block local NVMe SSD disks to be attached to the node.

Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

Returns
TypeDescription
int

setLocalSsdCount

The number of raw-block local NVMe SSD disks to be attached to the node.

Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

Parameter
NameDescription
var int
Returns
TypeDescription
$this