Class ComputeEngineTargetDefaults (1.8.4)

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 map 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
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.
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.

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, .Message]

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 mapping is a mapping type or there are keyword parameters.

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, .Message]

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 mapping is a mapping type or there are keyword parameters.