VM Migration v1 API - Class BootDiskDefaults (2.7.0)

public sealed class BootDiskDefaults : IMessage<BootDiskDefaults>, IEquatable<BootDiskDefaults>, IDeepCloneable<BootDiskDefaults>, IBufferMessage, IMessage

Reference documentation and code samples for the VM Migration v1 API class BootDiskDefaults.

BootDiskDefaults hold information about the boot disk of a VM.

Inheritance

object > BootDiskDefaults

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

BootDiskDefaults()

public BootDiskDefaults()

BootDiskDefaults(BootDiskDefaults)

public BootDiskDefaults(BootDiskDefaults other)
Parameter
Name Description
other BootDiskDefaults

Properties

DeviceName

public string DeviceName { get; set; }

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

Property Value
Type Description
string

DiskName

public string DiskName { get; set; }

Optional. The name of the disk.

Property Value
Type Description
string

DiskType

public ComputeEngineDiskType DiskType { get; set; }

Optional. The type of disk provisioning to use for the VM.

Property Value
Type Description
ComputeEngineDiskType

Encryption

public Encryption Encryption { get; set; }

Optional. The encryption to apply to the boot disk.

Property Value
Type Description
Encryption

Image

public BootDiskDefaults.Types.DiskImageDefaults Image { get; set; }

The image to use when creating the disk.

Property Value
Type Description
BootDiskDefaultsTypesDiskImageDefaults

SourceCase

public BootDiskDefaults.SourceOneofCase SourceCase { get; }
Property Value
Type Description
BootDiskDefaultsSourceOneofCase