VM Migration v1 API - Class ComputeEngineDisk (2.7.0)

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

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

Compute Engine disk target details.

Inheritance

object > ComputeEngineDisk

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

ComputeEngineDisk()

public ComputeEngineDisk()

ComputeEngineDisk(ComputeEngineDisk)

public ComputeEngineDisk(ComputeEngineDisk other)
Parameter
Name Description
other ComputeEngineDisk

Properties

DiskId

public string DiskId { get; set; }

Optional. Target Compute Engine Disk ID. This is the resource ID segment of the Compute Engine Disk to create. In the resource name compute/v1/projects/{project}/zones/{zone}/disks/disk1 "disk1" is the resource ID for the disk.

Property Value
Type Description
string

DiskType

public ComputeEngineDiskType DiskType { get; set; }

Required. The disk type to use.

Property Value
Type Description
ComputeEngineDiskType

ReplicaZones

public RepeatedField<string> ReplicaZones { get; }

Optional. Replication zones of the regional disk. Should be of the form: projects/{target-project}/locations/{replica-zone} Currently only one replica zone is supported.

Property Value
Type Description
RepeatedFieldstring

ReplicaZonesAsLocationNames

public ResourceNameList<LocationName> ReplicaZonesAsLocationNames { get; }

LocationName-typed view over the ReplicaZones resource name property.

Property Value
Type Description
ResourceNameListLocationName

Zone

public string Zone { get; set; }

Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}

Property Value
Type Description
string

ZoneAsLocationName

public LocationName ZoneAsLocationName { get; set; }

LocationName-typed view over the Zone resource name property.

Property Value
Type Description
LocationName