VM Migration v1 API - Class ComputeEngineTargetDefaults (2.6.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
Name Description
other ComputeEngineTargetDefaults

Properties

AdditionalLicenses

public RepeatedField<string> AdditionalLicenses { get; }

Additional licenses to assign to the VM.

Property Value
Type Description
RepeatedFieldstring

AppliedLicense

public AppliedLicense AppliedLicense { get; set; }

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

Property Value
Type Description
AppliedLicense

BootOption

public ComputeEngineBootOption BootOption { get; set; }

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

Property Value
Type Description
ComputeEngineBootOption

ComputeScheduling

public ComputeScheduling ComputeScheduling { get; set; }

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

Property Value
Type Description
ComputeScheduling

DiskType

public ComputeEngineDiskType DiskType { get; set; }

The disk type to use in the VM.

Property Value
Type Description
ComputeEngineDiskType

Hostname

public string Hostname { get; set; }

The hostname to assign to the VM.

Property Value
Type Description
string

Labels

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

A map of labels to associate with the VM.

Property Value
Type Description
MapFieldstringstring

LicenseType

public ComputeEngineLicenseType LicenseType { get; set; }

The license type to use in OS adaptation.

Property Value
Type Description
ComputeEngineLicenseType

MachineType

public string MachineType { get; set; }

The machine type to create the VM with.

Property Value
Type Description
string

MachineTypeSeries

public string MachineTypeSeries { get; set; }

The machine type series to create the VM with.

Property Value
Type Description
string

Metadata

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

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

Property Value
Type Description
MapFieldstringstring

NetworkInterfaces

public RepeatedField<NetworkInterface> NetworkInterfaces { get; }

List of NICs connected to this VM.

Property Value
Type Description
RepeatedFieldNetworkInterface

NetworkTags

public RepeatedField<string> NetworkTags { get; }

A map of network tags to associate with the VM.

Property Value
Type Description
RepeatedFieldstring

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
Type Description
bool

ServiceAccount

public string ServiceAccount { get; set; }

The service account to associate the VM with.

Property Value
Type Description
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
Type Description
string

TargetProjectAsTargetProjectName

public TargetProjectName TargetProjectAsTargetProjectName { get; set; }

TargetProjectName-typed view over the TargetProject resource name property.

Property Value
Type Description
TargetProjectName

VmName

public string VmName { get; set; }

The name of the VM to create.

Property Value
Type Description
string

Zone

public string Zone { get; set; }

The zone in which to create the VM.

Property Value
Type Description
string