Cluster Director V1BETA API - Class Google::Cloud::HypercomputeCluster::V1beta::BootDisk (v1.3.0)

Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::BootDisk.

A Persistent disk used as the boot disk for a Compute Engine VM instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#size_gb

def size_gb() -> ::Integer
Returns
  • (::Integer) — Optional. The size of the disk in gigabytes (GB), which must be at least 40 GB.

#size_gb=

def size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The size of the disk in gigabytes (GB), which must be at least 40 GB.
Returns
  • (::Integer) — Optional. The size of the disk in gigabytes (GB), which must be at least 40 GB.

#storage_pools

def storage_pools() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#storage_pools=

def storage_pools=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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
  • (::Array<::String>) — 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.

#type

def type() -> ::String
Returns
  • (::String) — Optional. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Optional. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.
Returns
  • (::String) — Optional. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.