VM Migration v1 API - Class ComputeEngineTargetDefaults (2.2.0)

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

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

ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.

Inheritance

Object > ComputeEngineTargetDefaults

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

ComputeEngineTargetDefaults()

public ComputeEngineTargetDefaults()

ComputeEngineTargetDefaults(ComputeEngineTargetDefaults)

public ComputeEngineTargetDefaults(ComputeEngineTargetDefaults other)
Parameter
NameDescription
otherComputeEngineTargetDefaults

Properties

AdditionalLicenses

public RepeatedField<string> AdditionalLicenses { get; }

Additional licenses to assign to the VM.

Property Value
TypeDescription
RepeatedField<String>

AppliedLicense

public AppliedLicense AppliedLicense { get; set; }

Output only. The OS license returned from the adaptation module report.

Property Value
TypeDescription
AppliedLicense

BootOption

public ComputeEngineBootOption BootOption { get; set; }

Output only. The VM Boot Option, as set in the source vm.

Property Value
TypeDescription
ComputeEngineBootOption

ComputeScheduling

public ComputeScheduling ComputeScheduling { get; set; }

Compute instance scheduling information (if empty default is used).

Property Value
TypeDescription
ComputeScheduling

DiskType

public ComputeEngineDiskType DiskType { get; set; }

The disk type to use in the VM.

Property Value
TypeDescription
ComputeEngineDiskType

Hostname

public string Hostname { get; set; }

The hostname to assign to the VM.

Property Value
TypeDescription
String

Labels

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

A map of labels to associate with the VM.

Property Value
TypeDescription
MapField<String, String>

LicenseType

public ComputeEngineLicenseType LicenseType { get; set; }

The license type to use in OS adaptation.

Property Value
TypeDescription
ComputeEngineLicenseType

MachineType

public string MachineType { get; set; }

The machine type to create the VM with.

Property Value
TypeDescription
String

MachineTypeSeries

public string MachineTypeSeries { get; set; }

The machine type series to create the VM with.

Property Value
TypeDescription
String

Metadata

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

The metadata key/value pairs to assign to the VM.

Property Value
TypeDescription
MapField<String, String>

NetworkInterfaces

public RepeatedField<NetworkInterface> NetworkInterfaces { get; }

List of NICs connected to this VM.

Property Value
TypeDescription
RepeatedField<NetworkInterface>

NetworkTags

public RepeatedField<string> NetworkTags { get; }

A map of network tags to associate with the VM.

Property Value
TypeDescription
RepeatedField<String>

SecureBoot

public bool SecureBoot { get; set; }

Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.

Property Value
TypeDescription
Boolean

ServiceAccount

public string ServiceAccount { get; set; }

The service account to associate the VM with.

Property Value
TypeDescription
String

TargetProject

public string TargetProject { get; set; }

The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.

Property Value
TypeDescription
String

TargetProjectAsTargetProjectName

public TargetProjectName TargetProjectAsTargetProjectName { get; set; }

TargetProjectName-typed view over the TargetProject resource name property.

Property Value
TypeDescription
TargetProjectName

VmName

public string VmName { get; set; }

The name of the VM to create.

Property Value
TypeDescription
String

Zone

public string Zone { get; set; }

The zone in which to create the VM.

Property Value
TypeDescription
String