Class LocalDisk
A Local attached disk resource.
Implements
Inherited Members
Namespace: Google.Apis.AIPlatformNotebooks.v1.Data
Assembly: Google.Apis.AIPlatformNotebooks.v1.dll
Syntax
public class LocalDisk : IDirectResponseSchema
Properties
AutoDelete
Optional. Output only. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
Declaration
[JsonProperty("autoDelete")]
public virtual bool? AutoDelete { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Boot
Optional. Output only. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
Declaration
[JsonProperty("boot")]
public virtual bool? Boot { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DeviceName
Optional. Output only. Specifies a unique device name of your choice that is reflected into the
/dev/disk/by-id/google-*
tree of a Linux operating system running within the instance. This name can be
used to reference the device for mounting, resizing, and so on, from within the instance. If not specified,
the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a
number assigned by Google Compute Engine. This field is only applicable for persistent disks.
Declaration
[JsonProperty("deviceName")]
public virtual string DeviceName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GuestOsFeatures
Output only. Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
Declaration
[JsonProperty("guestOsFeatures")]
public virtual IList<RuntimeGuestOsFeature> GuestOsFeatures { get; set; }
Property Value
Type | Description |
---|---|
IList<RuntimeGuestOsFeature> |
Index
Output only. A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.
Declaration
[JsonProperty("index")]
public virtual int? Index { get; set; }
Property Value
Type | Description |
---|---|
int? |
InitializeParams
Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.
Declaration
[JsonProperty("initializeParams")]
public virtual LocalDiskInitializeParams InitializeParams { get; set; }
Property Value
Type | Description |
---|---|
LocalDiskInitializeParams |
Interface__
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is
SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent
disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics
of SCSI over NVMe, see Local SSD performance. Valid values: * NVME
* SCSI
Declaration
[JsonProperty("interface")]
public virtual string Interface__ { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Output only. Type of the resource. Always compute#attachedDisk for attached disks.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Licenses
Output only. Any valid publicly visible licenses.
Declaration
[JsonProperty("licenses")]
public virtual IList<string> Licenses { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Mode
The mode in which to attach this disk, either READ_WRITE
or READ_ONLY
. If not specified, the default is
to attach the disk in READ_WRITE
mode. Valid values: * READ_ONLY
* READ_WRITE
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type | Description |
---|---|
string |
Source
Specifies a valid partial or full URL to an existing Persistent Disk resource.
Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Specifies the type of the disk, either SCRATCH
or PERSISTENT
. If not specified, the default is
PERSISTENT
. Valid values: * PERSISTENT
* SCRATCH
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |