public sealed class BootDisk : IMessage<BootDisk>, IEquatable<BootDisk>, IDeepCloneable<BootDisk>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class BootDisk.
The definition of a boot disk.
Namespace
Google.Cloud.Notebooks.V2Assembly
Google.Cloud.Notebooks.V2.dll
Constructors
BootDisk()
public BootDisk()
BootDisk(BootDisk)
public BootDisk(BootDisk other)
Parameter | |
---|---|
Name | Description |
other | BootDisk |
Properties
DiskEncryption
public DiskEncryption DiskEncryption { get; set; }
Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
Property Value | |
---|---|
Type | Description |
DiskEncryption |
DiskSizeGb
public long DiskSizeGb { get; set; }
Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
Property Value | |
---|---|
Type | Description |
long |
DiskType
public DiskType DiskType { get; set; }
Optional. Indicates the type of the disk.
Property Value | |
---|---|
Type | Description |
DiskType |
KmsKey
public string KmsKey { get; set; }
Optional. Input only. The KMS key used to encrypt the disks, only
applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
Property Value | |
---|---|
Type | Description |
string |