ComputeEngineTargetDefaults(mapping=None, *, ignore_unknown_fields=False, **kwargs)
ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
Attributes |
|
---|---|
Name | Description |
vm_name |
str
The name of the VM to create. |
target_project |
str
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. |
zone |
str
The zone in which to create the VM. |
machine_type_series |
str
The machine type series to create the VM with. |
machine_type |
str
The machine type to create the VM with. |
network_tags |
MutableSequence[str]
A list of network tags to associate with the VM. |
network_interfaces |
MutableSequence[google.cloud.vmmigration_v1.types.NetworkInterface]
List of NICs connected to this VM. |
service_account |
str
Optional. The service account to associate the VM with. |
disk_type |
google.cloud.vmmigration_v1.types.ComputeEngineDiskType
The disk type to use in the VM. |
labels |
MutableMapping[str, str]
A map of labels to associate with the VM. |
license_type |
google.cloud.vmmigration_v1.types.ComputeEngineLicenseType
The license type to use in OS adaptation. |
applied_license |
google.cloud.vmmigration_v1.types.AppliedLicense
Output only. The OS license returned from the adaptation module report. |
compute_scheduling |
google.cloud.vmmigration_v1.types.ComputeScheduling
Compute instance scheduling information (if empty default is used). |
secure_boot |
bool
Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI. |
enable_vtpm |
bool
Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI. |
enable_integrity_monitoring |
bool
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. |
boot_option |
google.cloud.vmmigration_v1.types.ComputeEngineBootOption
Output only. The VM Boot Option, as set in the source VM. |
metadata |
MutableMapping[str, str]
The metadata key/value pairs to assign to the VM. |
additional_licenses |
MutableSequence[str]
Additional licenses to assign to the VM. |
hostname |
str
The hostname to assign to the VM. |
encryption |
google.cloud.vmmigration_v1.types.Encryption
Optional. Immutable. The encryption to apply to the VM disks. |
boot_conversion |
google.cloud.vmmigration_v1.types.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. |
disk_replica_zones |
MutableSequence[str]
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 |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
MetadataEntry
MetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |