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.
Implements
IMessageComputeEngineTargetDefaults, IEquatableComputeEngineTargetDefaults, IDeepCloneableComputeEngineTargetDefaults, IBufferMessage, IMessageNamespace
Google.Cloud.VMMigration.V1Assembly
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 |
BootConversion
public BootConversion BootConversion { get; set; }
Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
Property Value | |
---|---|
Type | Description |
BootConversion |
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 |
DiskReplicaZones
public RepeatedField<string> DiskReplicaZones { get; }
Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the [zone][google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.zone] field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
DiskType
public ComputeEngineDiskType DiskType { get; set; }
The disk type to use in the VM.
Property Value | |
---|---|
Type | Description |
ComputeEngineDiskType |
EnableIntegrityMonitoring
public bool EnableIntegrityMonitoring { get; set; }
Optional. Defines whether the instance has integrity monitoring enabled. This can be set to true only if the VM boot option is EFI, and vTPM is enabled.
Property Value | |
---|---|
Type | Description |
bool |
EnableVtpm
public bool EnableVtpm { get; set; }
Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.
Property Value | |
---|---|
Type | Description |
bool |
Encryption
public Encryption Encryption { get; set; }
Optional. Immutable. The encryption to apply to the VM disks.
Property Value | |
---|---|
Type | Description |
Encryption |
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 list 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; }
Optional. 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 |