VM Migration v1 API - Class PersistentDiskDefaults (2.7.0)

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

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

Details for creation of a Persistent Disk.

Inheritance

object > PersistentDiskDefaults

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

PersistentDiskDefaults()

public PersistentDiskDefaults()

PersistentDiskDefaults(PersistentDiskDefaults)

public PersistentDiskDefaults(PersistentDiskDefaults other)
Parameter
Name Description
other PersistentDiskDefaults

Properties

AdditionalLabels

public MapField<string, string> AdditionalLabels { get; }

A map of labels to associate with the Persistent Disk.

Property Value
Type Description
MapFieldstringstring

DiskName

public string DiskName { get; set; }

Optional. The name of the Persistent Disk to create.

Property Value
Type Description
string

DiskType

public ComputeEngineDiskType DiskType { get; set; }

The disk type to use.

Property Value
Type Description
ComputeEngineDiskType

Encryption

public Encryption Encryption { get; set; }

Optional. The encryption to apply to the disk.

Property Value
Type Description
Encryption

SourceDiskNumber

public int SourceDiskNumber { get; set; }

Required. The ordinal number of the source VM disk.

Property Value
Type Description
int

VmAttachmentDetails

public VmAttachmentDetails VmAttachmentDetails { get; set; }

Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM.

Property Value
Type Description
VmAttachmentDetails