class Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails

ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.

Attributes

additional_licenses[RW]

Additional licenses to assign to the VM. Corresponds to the JSON property ‘additionalLicenses` @return [Array<String>]

applied_license[RW]

AppliedLicense holds the license data returned by adaptation module report. Corresponds to the JSON property ‘appliedLicense` @return [Google::Apis::VmmigrationV1alpha1::AppliedLicense]

boot_option[RW]

The VM Boot Option, as set in the source vm. Corresponds to the JSON property ‘bootOption` @return [String]

compute_scheduling[RW]

Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. Corresponds to the JSON property ‘computeScheduling` @return [Google::Apis::VmmigrationV1alpha1::ComputeScheduling]

disk_type[RW]

The disk type to use in the VM. Corresponds to the JSON property ‘diskType` @return [String]

labels[RW]

A map of labels to associate with the VM. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]

license_type[RW]

The license type to use in OS adaptation. Corresponds to the JSON property ‘licenseType` @return [String]

machine_type[RW]

The machine type to create the VM with. Corresponds to the JSON property ‘machineType` @return [String]

machine_type_series[RW]

The machine type series to create the VM with. Corresponds to the JSON property ‘machineTypeSeries` @return [String]

metadata[RW]

The metadata key/value pairs to assign to the VM. Corresponds to the JSON property ‘metadata` @return [Hash<String,String>]

network_interfaces[RW]

List of NICs connected to this VM. Corresponds to the JSON property ‘networkInterfaces` @return [Array<Google::Apis::VmmigrationV1alpha1::NetworkInterface>]

network_tags[RW]

A map of network tags to associate with the VM. Corresponds to the JSON property ‘networkTags` @return [Array<String>]

project[RW]

The GCP target project ID or project name. Corresponds to the JSON property ‘project` @return [String]

secure_boot[RW]

Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. Corresponds to the JSON property ‘secureBoot` @return [Boolean]

secure_boot?[RW]

Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. Corresponds to the JSON property ‘secureBoot` @return [Boolean]

service_account[RW]

The service account to associate the VM with. Corresponds to the JSON property ‘serviceAccount` @return [String]

vm_name[RW]

The name of the VM to create. Corresponds to the JSON property ‘vmName` @return [String]

zone[RW]

The zone in which to create the VM. Corresponds to the JSON property ‘zone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 481
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 486
def update!(**args)
  @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
  @applied_license = args[:applied_license] if args.key?(:applied_license)
  @boot_option = args[:boot_option] if args.key?(:boot_option)
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
  @disk_type = args[:disk_type] if args.key?(:disk_type)
  @labels = args[:labels] if args.key?(:labels)
  @license_type = args[:license_type] if args.key?(:license_type)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
  @machine_type_series = args[:machine_type_series] if args.key?(:machine_type_series)
  @metadata = args[:metadata] if args.key?(:metadata)
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
  @network_tags = args[:network_tags] if args.key?(:network_tags)
  @project = args[:project] if args.key?(:project)
  @secure_boot = args[:secure_boot] if args.key?(:secure_boot)
  @service_account = args[:service_account] if args.key?(:service_account)
  @vm_name = args[:vm_name] if args.key?(:vm_name)
  @zone = args[:zone] if args.key?(:zone)
end