MachineImageTargetDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The target details of the machine image resource that will be created by the image import job.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
os_adaptation_parameters |
google.cloud.vmmigration_v1.types.ImageImportOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process. This field is a member of oneof _ os_adaptation_config .
|
skip_os_adaptation |
google.cloud.vmmigration_v1.types.SkipOsAdaptation
Optional. Use to skip OS adaptation process. This field is a member of oneof _ os_adaptation_config .
|
machine_image_name |
str
Required. The name of the machine image to be created. |
target_project |
str
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created. |
description |
str
Optional. An optional description of the machine image. |
single_region_storage |
bool
Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected. |
encryption |
google.cloud.vmmigration_v1.types.Encryption
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key. |
machine_image_parameters_overrides |
google.cloud.vmmigration_v1.types.MachineImageParametersOverrides
Optional. Parameters overriding decisions based on the source machine image configurations. |
service_account |
google.cloud.vmmigration_v1.types.ServiceAccount
Optional. The service account to assign to the instance created by the machine image. |
additional_licenses |
MutableSequence[str]
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME |
labels |
MutableMapping[str, str]
Optional. The labels to apply to the instance created by the machine image. |
tags |
MutableSequence[str]
Optional. The tags to apply to the instance created by the machine image. |
shielded_instance_config |
google.cloud.vmmigration_v1.types.ShieldedInstanceConfig
Optional. Shielded instance configuration. |
network_interfaces |
MutableSequence[google.cloud.vmmigration_v1.types.NetworkInterface]
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import. |
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 |