Class ComputeEngineTargetDefaults
ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
Implements
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1.Data
Assembly: Google.Apis.VMMigrationService.v1.dll
Syntax
public class ComputeEngineTargetDefaults : IDirectResponseSchema
Properties
AdaptationModifiers
Optional. AdaptationModifiers are the set of modifiers used during OS adaptation.
Declaration
[JsonProperty("adaptationModifiers")]
public virtual IList<AdaptationModifier> AdaptationModifiers { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AdaptationModifier> |
AdditionalLicenses
Additional licenses to assign to the VM.
Declaration
[JsonProperty("additionalLicenses")]
public virtual IList<string> AdditionalLicenses { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
AppliedLicense
Output only. The OS license returned from the adaptation module report.
Declaration
[JsonProperty("appliedLicense")]
public virtual AppliedLicense AppliedLicense { get; set; }
Property Value
| Type | Description |
|---|---|
| AppliedLicense |
BootConversion
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.
Declaration
[JsonProperty("bootConversion")]
public virtual string BootConversion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BootOption
Output only. The VM Boot Option, as set in the source VM.
Declaration
[JsonProperty("bootOption")]
public virtual string BootOption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ComputeScheduling
Compute instance scheduling information (if empty default is used).
Declaration
[JsonProperty("computeScheduling")]
public virtual ComputeScheduling ComputeScheduling { get; set; }
Property Value
| Type | Description |
|---|---|
| ComputeScheduling |
DiskReplicaZones
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 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.
Declaration
[JsonProperty("diskReplicaZones")]
public virtual IList<string> DiskReplicaZones { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
DiskType
The disk type to use in the VM.
Declaration
[JsonProperty("diskType")]
public virtual string DiskType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnableIntegrityMonitoring
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.
Declaration
[JsonProperty("enableIntegrityMonitoring")]
public virtual bool? EnableIntegrityMonitoring { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
EnableVtpm
Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.
Declaration
[JsonProperty("enableVtpm")]
public virtual bool? EnableVtpm { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Encryption
Optional. Immutable. The encryption to apply to the VM disks.
Declaration
[JsonProperty("encryption")]
public virtual Encryption Encryption { get; set; }
Property Value
| Type | Description |
|---|---|
| Encryption |
Hostname
The hostname to assign to the VM.
Declaration
[JsonProperty("hostname")]
public virtual string Hostname { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
A map of labels to associate with the VM.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
LicenseType
The license type to use in OS adaptation.
Declaration
[JsonProperty("licenseType")]
public virtual string LicenseType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MachineType
The machine type to create the VM with.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MachineTypeSeries
The machine type series to create the VM with.
Declaration
[JsonProperty("machineTypeSeries")]
public virtual string MachineTypeSeries { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
The metadata key/value pairs to assign to the VM.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, string> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
NetworkInterfaces
List of NICs connected to this VM.
Declaration
[JsonProperty("networkInterfaces")]
public virtual IList<NetworkInterface> NetworkInterfaces { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<NetworkInterface> |
NetworkTags
A list of network tags to associate with the VM.
Declaration
[JsonProperty("networkTags")]
public virtual IList<string> NetworkTags { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
SecureBoot
Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
Declaration
[JsonProperty("secureBoot")]
public virtual bool? SecureBoot { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ServiceAccount
Optional. The service account to associate the VM with.
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StoragePool
Optional. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.
Declaration
[JsonProperty("storagePool")]
public virtual string StoragePool { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetProject
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
Declaration
[JsonProperty("targetProject")]
public virtual string TargetProject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VmName
The name of the VM to create.
Declaration
[JsonProperty("vmName")]
public virtual string VmName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Zone
The zone in which to create the VM.
Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |