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

View Source

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

Attributes

  • additionalLicenses (type: list(String.t), default: nil) - 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
  • description (type: String.t, default: nil) - Optional. An optional description of the machine image.
  • encryption (type: GoogleApi.VMMigration.V1.Model.Encryption.t, default: nil) - Immutable. The encryption to apply to the machine image.
  • labels (type: map(), default: nil) - Optional. The labels to apply to the instance created by the machine image.
  • machineImageName (type: String.t, default: nil) - Required. The name of the machine image to be created.
  • machineImageParametersOverrides (type: GoogleApi.VMMigration.V1.Model.MachineImageParametersOverrides.t, default: nil) - Optional. Parameters overriding decisions based on the source machine image configurations.
  • networkInterfaces (type: list(GoogleApi.VMMigration.V1.Model.NetworkInterface.t), default: nil) - 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.
  • osAdaptationParameters (type: GoogleApi.VMMigration.V1.Model.ImageImportOsAdaptationParameters.t, default: nil) - Optional. Use to set the parameters relevant for the OS adaptation process.
  • serviceAccount (type: GoogleApi.VMMigration.V1.Model.ServiceAccount.t, default: nil) - Optional. The service account to assign to the instance created by the machine image.
  • shieldedInstanceConfig (type: GoogleApi.VMMigration.V1.Model.ShieldedInstanceConfig.t, default: nil) - Optional. Shielded instance configuration.
  • singleRegionStorage (type: boolean(), default: nil) - 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.
  • skipOsAdaptation (type: GoogleApi.VMMigration.V1.Model.SkipOsAdaptation.t, default: nil) - Optional. Use to skip OS adaptation process.
  • tags (type: list(String.t), default: nil) - Optional. The tags to apply to the instance created by the machine image.
  • targetProject (type: String.t, default: nil) - Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.MachineImageTargetDetails{
  additionalLicenses: [String.t()] | nil,
  description: String.t() | nil,
  encryption: GoogleApi.VMMigration.V1.Model.Encryption.t() | nil,
  labels: map() | nil,
  machineImageName: String.t() | nil,
  machineImageParametersOverrides:
    GoogleApi.VMMigration.V1.Model.MachineImageParametersOverrides.t() | nil,
  networkInterfaces:
    [GoogleApi.VMMigration.V1.Model.NetworkInterface.t()] | nil,
  osAdaptationParameters:
    GoogleApi.VMMigration.V1.Model.ImageImportOsAdaptationParameters.t() | nil,
  serviceAccount: GoogleApi.VMMigration.V1.Model.ServiceAccount.t() | nil,
  shieldedInstanceConfig:
    GoogleApi.VMMigration.V1.Model.ShieldedInstanceConfig.t() | nil,
  singleRegionStorage: boolean() | nil,
  skipOsAdaptation: GoogleApi.VMMigration.V1.Model.SkipOsAdaptation.t() | nil,
  tags: [String.t()] | nil,
  targetProject: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.