- JSON representation
- SkipOsAdaptation
- MachineImageParametersOverrides
- ServiceAccount
- ShieldedInstanceConfig
- SecureBoot
The target details of the machine image resource that will be created by the image import job.
JSON representation |
---|
{ "machineImageName": string, "targetProject": string, "description": string, "singleRegionStorage": boolean, "encryption": { object ( |
Fields | |
---|---|
machineImageName |
Required. The name of the machine image to be created. |
targetProject |
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created. |
description |
Optional. An optional description of the machine image. |
singleRegionStorage |
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 |
Immutable. The encryption to apply to the machine image. |
machineImageParametersOverrides |
Optional. Parameters overriding decisions based on the source machine image configurations. |
serviceAccount |
Optional. The service account to assign to the instance created by the machine image. |
additionalLicenses[] |
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 |
Optional. The labels to apply to the instance created by the machine image. An object containing a list of |
tags[] |
Optional. The tags to apply to the instance created by the machine image. |
shieldedInstanceConfig |
Optional. Shielded instance configuration. |
networkInterfaces[] |
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses are ignored for machine image import. |
Union field
|
|
osAdaptationParameters |
Optional. Use to set the parameters relevant for the OS adaptation process. |
skipOsAdaptation |
Optional. Use to skip OS adaptation process. |
SkipOsAdaptation
This type has no fields.
Mentions that the machine image import is not using OS adaptation process.
MachineImageParametersOverrides
Parameters overriding decisions based on the source machine image configurations.
JSON representation |
---|
{ "machineType": string } |
Fields | |
---|---|
machineType |
Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource. |
ServiceAccount
Service account to assign to the instance created by the machine image.
JSON representation |
---|
{ "email": string, "scopes": [ string ] } |
Fields | |
---|---|
email |
Required. The email address of the service account. |
scopes[] |
Optional. The list of scopes to be made available for this service account. |
ShieldedInstanceConfig
Shielded instance configuration.
JSON representation |
---|
{
"secureBoot": enum ( |
Fields | |
---|---|
secureBoot |
Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI. |
enableVtpm |
Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI. |
enableIntegrityMonitoring |
Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled. |
SecureBoot
Possible values for secure boot.
Enums | |
---|---|
SECURE_BOOT_UNSPECIFIED |
No explicit value is selected. Will use the configuration of the source (if exists, otherwise the default will be false). |
TRUE |
Use secure boot. This can be set to true only if the image boot option is EFI. |
FALSE |
Do not use secure boot. |