Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::Disk.
Additional disk for managed instance groups.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#existing_disk
def existing_disk() -> ::String-
(::String) — Optional. An existing persistent disk to attach read-only to all VMs in
the managed instance group, in the format
projects/{project}/zones/{zone}/disks/{disk}.Note: The following fields are mutually exclusive:
existing_disk,image,snapshot. If a field in that set is populated, all other fields in the set will automatically be cleared.
#existing_disk=
def existing_disk=(value) -> ::String-
value (::String) — Optional. An existing persistent disk to attach read-only to all VMs in
the managed instance group, in the format
projects/{project}/zones/{zone}/disks/{disk}.Note: The following fields are mutually exclusive:
existing_disk,image,snapshot. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. An existing persistent disk to attach read-only to all VMs in
the managed instance group, in the format
projects/{project}/zones/{zone}/disks/{disk}.Note: The following fields are mutually exclusive:
existing_disk,image,snapshot. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image
def image() -> ::String-
(::String) — Optional. Source image for the disk.
Note: The following fields are mutually exclusive:
image,snapshot,existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image=
def image=(value) -> ::String-
value (::String) — Optional. Source image for the disk.
Note: The following fields are mutually exclusive:
image,snapshot,existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. Source image for the disk.
Note: The following fields are mutually exclusive:
image,snapshot,existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
#size_gb
def size_gb() -> ::Integer- (::Integer) — Optional. Size of the disk in GB. This field is required when creating a new disk.
#size_gb=
def size_gb=(value) -> ::Integer- value (::Integer) — Optional. Size of the disk in GB. This field is required when creating a new disk.
- (::Integer) — Optional. Size of the disk in GB. This field is required when creating a new disk.
#snapshot
def snapshot() -> ::String-
(::String) — Optional. Source snapshot for the disk.
Note: The following fields are mutually exclusive:
snapshot,image,existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
#snapshot=
def snapshot=(value) -> ::String-
value (::String) — Optional. Source snapshot for the disk.
Note: The following fields are mutually exclusive:
snapshot,image,existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. Source snapshot for the disk.
Note: The following fields are mutually exclusive:
snapshot,image,existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
#type
def type() -> ::String-
(::String) — Optional. Persistent disk
type, in the
format
projects/{project}/zones/{zone}/diskTypes/{disk_type}. This field is required when creating a new disk.
#type=
def type=(value) -> ::String-
value (::String) — Optional. Persistent disk
type, in the
format
projects/{project}/zones/{zone}/diskTypes/{disk_type}. This field is required when creating a new disk.
-
(::String) — Optional. Persistent disk
type, in the
format
projects/{project}/zones/{zone}/diskTypes/{disk_type}. This field is required when creating a new disk.