public sealed class Disk : IMessage<Disk>, IEquatable<Disk>, IDeepCloneable<Disk>, IBufferMessage, IMessageReference documentation and code samples for the Cluster Director v1beta API class Disk.
Additional disk for managed instance groups.
Namespace
Google.Cloud.HypercomputeCluster.V1BetaAssembly
Google.Cloud.HypercomputeCluster.V1Beta.dll
Constructors
Disk()
public Disk()Disk(Disk)
public Disk(Disk other)| Parameter | |
|---|---|
| Name | Description |
other |
Disk |
Properties
ExistingDisk
public string ExistingDisk { get; set; }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}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ExistingDiskAsDiskName
public DiskName ExistingDiskAsDiskName { get; set; }DiskName-typed view over the ExistingDisk resource name property.
| Property Value | |
|---|---|
| Type | Description |
DiskName |
|
HasExistingDisk
public bool HasExistingDisk { get; }Gets whether the "existing_disk" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasImage
public bool HasImage { get; }Gets whether the "image" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasSnapshot
public bool HasSnapshot { get; }Gets whether the "snapshot" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Image
public string Image { get; set; }Optional. Source image for the disk.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ImageAsImageName
public ImageName ImageAsImageName { get; set; }| Property Value | |
|---|---|
| Type | Description |
ImageName |
|
SizeGb
public long SizeGb { get; set; }Optional. Size of the disk in GB. This field is required when creating a new disk.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Snapshot
public string Snapshot { get; set; }Optional. Source snapshot for the disk.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SnapshotAsSnapshotName
public SnapshotName SnapshotAsSnapshotName { get; set; }SnapshotName-typed view over the Snapshot resource name property.
| Property Value | |
|---|---|
| Type | Description |
SnapshotName |
|
SourceCase
public Disk.SourceOneofCase SourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
DiskSourceOneofCase |
|
Type
public string Type { get; set; }Optional. Persistent disk
type, in the
format projects/{project}/zones/{zone}/diskTypes/{disk_type}.
This field is required when creating a new disk.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TypeAsDiskTypeName
public DiskTypeName TypeAsDiskTypeName { get; set; }DiskTypeName-typed view over the Type resource name property.
| Property Value | |
|---|---|
| Type | Description |
DiskTypeName |
|