Class: Google::Apis::VmmigrationV1alpha1::ImageImportOsAdaptationParameters

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb

Overview

Parameters affecting the OS adaptation process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImageImportOsAdaptationParameters

Returns a new instance of ImageImportOsAdaptationParameters.



2421
2422
2423
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2421

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#generalizeBoolean Also known as: 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). Corresponds to the JSON property generalize

Returns:

  • (Boolean)


2413
2414
2415
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2413

def generalize
  @generalize
end

#license_typeString

Optional. Choose which type of license to apply to the imported image. Corresponds to the JSON property licenseType

Returns:

  • (String)


2419
2420
2421
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2419

def license_type
  @license_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2426
2427
2428
2429
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2426

def update!(**args)
  @generalize = args[:generalize] if args.key?(:generalize)
  @license_type = args[:license_type] if args.key?(:license_type)
end