The target details of the image resource that will be created by the import job.
JSON representation |
---|
{ "imageName": string, "targetProject": string, "description": string, "familyName": string, "labels": { string: string, ... }, "additionalLicenses": [ string ], "singleRegionStorage": boolean, "encryption": { object ( |
Fields | |
---|---|
imageName |
Required. The name of the image to be created. |
targetProject |
Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created. |
description |
Optional. An optional description of the image. |
familyName |
Optional. The name of the image family to which the new image belongs. |
labels |
Optional. A map of labels to associate with the image. An object containing a list of |
additionalLicenses[] |
Optional. Additional licenses to assign to the image. |
singleRegionStorage |
Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected. |
encryption |
Optional. Immutable. The encryption to apply to the image. |
Union field
|
|
osAdaptationParameters |
Optional. Use to set the parameters relevant for the OS adaptation process. |
dataDiskImageImport |
Optional. Use to skip OS adaptation process. |
ImageImportOsAdaptationParameters
Parameters affecting the OS adaptation process.
JSON representation |
---|
{
"generalize": boolean,
"licenseType": enum ( |
Fields | |
---|---|
generalize |
Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID). |
licenseType |
Optional. Choose which type of license to apply to the imported image. |
DataDiskImageImport
This type has no fields.
Mentions that the image import is not using OS adaptation process.