DiskImageTargetDetails

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 (Encryption)
  },

  // Union field os_adaptation_config can be only one of the following:
  "osAdaptationParameters": {
    object (ImageImportOsAdaptationParameters)
  },
  "dataDiskImageImport": {
    object (DataDiskImageImport)
  }
  // End of list of possible types for union field os_adaptation_config.
}
Fields
imageName

string

Required. The name of the image to be created.

targetProject

string

Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.

description

string

Optional. An optional description of the image.

familyName

string

Optional. The name of the image family to which the new image belongs.

labels

map (key: string, value: string)

Optional. A map of labels to associate with the image.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

additionalLicenses[]

string

Optional. Additional licenses to assign to the image.

singleRegionStorage

boolean

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

object (Encryption)

Optional. Immutable. The encryption to apply to the image.

Union field os_adaptation_config.

os_adaptation_config can be only one of the following:

osAdaptationParameters

object (ImageImportOsAdaptationParameters)

Optional. Use to set the parameters relevant for the OS adaptation process.

dataDiskImageImport

object (DataDiskImageImport)

Optional. Use to skip OS adaptation process.

ImageImportOsAdaptationParameters

Parameters affecting the OS adaptation process.

JSON representation
{
  "generalize": boolean,
  "licenseType": enum (ComputeEngineLicenseType)
}
Fields
generalize

boolean

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

enum (ComputeEngineLicenseType)

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.