Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class BootDisk.
A Persistent disk used as the boot disk for a Compute Engine VM instance.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.BootDisk
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
string
Optional. Persistent disk type, in the format |
↳ size_gb |
int|string
Optional. The size of the disk in gigabytes (GB), which must be at least 40 GB. |
↳ storage_pools |
string[]
Optional. The storage pools used for creating the boot disk, in the format: |
getType
Optional. Persistent disk
type, in the
format projects/{project}/zones/{zone}/diskTypes/{disk_type}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
Optional. Persistent disk
type, in the
format projects/{project}/zones/{zone}/diskTypes/{disk_type}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSizeGb
Optional. The size of the disk in gigabytes (GB), which must be at least 40 GB.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setSizeGb
Optional. The size of the disk in gigabytes (GB), which must be at least 40 GB.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStoragePools
Optional. The storage
pools used
for creating the boot disk, in the format:
projects/{project}/zones/{zone}/storagePools/{storage_pool}.
Currently, only one Hyperdisk Balanced storage pool is supported. The storage pool must reside in the same zone as the compute instance.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setStoragePools
Optional. The storage
pools used
for creating the boot disk, in the format:
projects/{project}/zones/{zone}/storagePools/{storage_pool}.
Currently, only one Hyperdisk Balanced storage pool is supported. The storage pool must reside in the same zone as the compute instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|