Class ComputeEngineTargetDetails (1.2.0)

ComputeEngineTargetDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.

Attributes

NameDescription
vm_name str
The name of the VM to create.
project str
The GCP target project ID or project name.
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 Sequence[str]
A map of network tags to associate with the VM.
network_interfaces Sequence[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 Mapping[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
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
The VM Boot Option, as set in the source vm.
metadata Mapping[str, str]
The metadata key/value pairs to assign to the VM.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
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
NameDescription
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.