Show / Hide Table of Contents

Class AttachedDisk

An instance-attached disk resource.

Inheritance
object
AttachedDisk
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Backupdr.v1.Data
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class AttachedDisk : IDirectResponseSchema

Properties

AutoDelete

Optional. 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. 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. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)

Declaration
[JsonProperty("deviceName")]
public virtual string DeviceName { get; set; }
Property Value
Type Description
string

DiskEncryptionKey

Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.

Declaration
[JsonProperty("diskEncryptionKey")]
public virtual CustomerEncryptionKey DiskEncryptionKey { get; set; }
Property Value
Type Description
CustomerEncryptionKey

DiskInterface

Optional. Specifies the disk interface to use for attaching this disk.

Declaration
[JsonProperty("diskInterface")]
public virtual string DiskInterface { get; set; }
Property Value
Type Description
string

DiskSizeGb

Optional. The size of the disk in GB.

Declaration
[JsonProperty("diskSizeGb")]
public virtual long? DiskSizeGb { get; set; }
Property Value
Type Description
long?

DiskType

Optional. Output only. The URI 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

DiskTypeDeprecated

Specifies the type of the disk.

Declaration
[JsonProperty("diskTypeDeprecated")]
public virtual string DiskTypeDeprecated { 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

GuestOsFeature

Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.

Declaration
[JsonProperty("guestOsFeature")]
public virtual IList<GuestOsFeature> GuestOsFeature { get; set; }
Property Value
Type Description
IList<GuestOsFeature>

Index

Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.

Declaration
[JsonProperty("index")]
public virtual long? Index { get; set; }
Property Value
Type Description
long?

InitializeParams

Optional. Specifies the parameters to initialize this disk.

Declaration
[JsonProperty("initializeParams")]
public virtual InitializeParams InitializeParams { get; set; }
Property Value
Type Description
InitializeParams

Kind

Optional. Type of the resource.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

License

Optional. Any valid publicly visible licenses.

Declaration
[JsonProperty("license")]
public virtual IList<string> License { get; set; }
Property Value
Type Description
IList<string>

Mode

Optional. The mode in which to attach this disk.

Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type Description
string

SavedState

Optional. Output only. The state of the disk.

Declaration
[JsonProperty("savedState")]
public virtual string SavedState { get; set; }
Property Value
Type Description
string

Source

Optional. 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

Optional. Specifies the type of the disk.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX