GoogleApi.VMMigration.V1.Model.DiskImageTargetDetails (google_api_vm_migration v0.11.0)

View Source

The target details of the image resource that will be created by the import job.

Attributes

  • additionalLicenses (type: list(String.t), default: nil) - Optional. Additional licenses to assign to the 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
  • dataDiskImageImport (type: GoogleApi.VMMigration.V1.Model.DataDiskImageImport.t, default: nil) - Optional. Use to skip OS adaptation process.
  • description (type: String.t, default: nil) - Optional. An optional description of the image.
  • encryption (type: GoogleApi.VMMigration.V1.Model.Encryption.t, default: nil) - Immutable. The encryption to apply to the image.
  • familyName (type: String.t, default: nil) - Optional. The name of the image family to which the new image belongs.
  • imageName (type: String.t, default: nil) - Required. The name of the image to be created.
  • labels (type: map(), default: nil) - Optional. A map of labels to associate with the image.
  • osAdaptationParameters (type: GoogleApi.VMMigration.V1.Model.ImageImportOsAdaptationParameters.t, default: nil) - Optional. Use to set the parameters relevant for the OS adaptation process.
  • singleRegionStorage (type: boolean(), default: nil) - 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.
  • targetProject (type: String.t, default: nil) - Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.DiskImageTargetDetails{
  additionalLicenses: [String.t()] | nil,
  dataDiskImageImport:
    GoogleApi.VMMigration.V1.Model.DataDiskImageImport.t() | nil,
  description: String.t() | nil,
  encryption: GoogleApi.VMMigration.V1.Model.Encryption.t() | nil,
  familyName: String.t() | nil,
  imageName: String.t() | nil,
  labels: map() | nil,
  osAdaptationParameters:
    GoogleApi.VMMigration.V1.Model.ImageImportOsAdaptationParameters.t() | nil,
  singleRegionStorage: boolean() | nil,
  targetProject: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.