Class SavedAttachedDisk
DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class SavedAttachedDisk : IDirectResponseSchema
Properties
AutoDelete
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
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
Specifies the name of the disk attached to the source instance.
Declaration
[JsonProperty("deviceName")]
public virtual string DeviceName { get; set; }
Property Value
Type | Description |
---|---|
string |
DiskEncryptionKey
The encryption key for the disk.
Declaration
[JsonProperty("diskEncryptionKey")]
public virtual CustomerEncryptionKey DiskEncryptionKey { get; set; }
Property Value
Type | Description |
---|---|
CustomerEncryptionKey |
DiskSizeGb
The size of the disk in base-2 GB.
Declaration
[JsonProperty("diskSizeGb")]
public virtual long? DiskSizeGb { get; set; }
Property Value
Type | Description |
---|---|
long? |
DiskType
[Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd
Declaration
[JsonProperty("diskType")]
public virtual string DiskType { 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
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<GuestOsFeature> GuestOsFeatures { get; set; }
Property Value
Type | Description |
---|---|
IList<GuestOsFeature> |
Index
Specifies zero-based index of the disk that is attached to the source instance.
Declaration
[JsonProperty("index")]
public virtual int? Index { get; set; }
Property Value
Type | Description |
---|---|
int? |
Interface__
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
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 this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type | Description |
---|---|
string |
Source
Specifies a URL of the disk attached to the source instance.
Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageBytes
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
Declaration
[JsonProperty("storageBytes")]
public virtual long? StorageBytes { get; set; }
Property Value
Type | Description |
---|---|
long? |
StorageBytesStatus
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
Declaration
[JsonProperty("storageBytesStatus")]
public virtual string StorageBytesStatus { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |