class Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults
ComputeEngineTargetDefaults
is a collection of details for creating a VM in a target Compute Engine project.
Attributes
Additional licenses to assign to the VM. Corresponds to the JSON property ‘additionalLicenses` @return [Array<String>]
AppliedLicense
holds the license data returned by adaptation module report. Corresponds to the JSON property ‘appliedLicense` @return [Google::Apis::VmmigrationV1::AppliedLicense]
Output only. The VM Boot Option, as set in the source vm. Corresponds to the JSON property ‘bootOption` @return [String]
Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. Corresponds to the JSON property ‘computeScheduling` @return [Google::Apis::VmmigrationV1::ComputeScheduling]
The disk type to use in the VM. Corresponds to the JSON property ‘diskType` @return [String]
A map of labels to associate with the VM. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]
The license type to use in OS adaptation. Corresponds to the JSON property ‘licenseType` @return [String]
The machine type to create the VM with. Corresponds to the JSON property ‘machineType` @return [String]
The machine type series to create the VM with. Corresponds to the JSON property ‘machineTypeSeries` @return [String]
The metadata key/value pairs to assign to the VM. Corresponds to the JSON property ‘metadata` @return [Hash<String,String>]
List of NICs connected to this VM. Corresponds to the JSON property ‘networkInterfaces` @return [Array<Google::Apis::VmmigrationV1::NetworkInterface>]
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]
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]
The service account to associate the VM with. Corresponds to the JSON property ‘serviceAccount` @return [String]
The full path of the resource of type TargetProject
which represents the Compute Engine project in which to create this VM. Corresponds to the JSON property ‘targetProject` @return [String]
The name of the VM to create. Corresponds to the JSON property ‘vmName` @return [String]
The zone in which to create the VM. Corresponds to the JSON property ‘zone` @return [String]
Public Class Methods
# File lib/google/apis/vmmigration_v1/classes.rb, line 354 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vmmigration_v1/classes.rb, line 359 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) @secure_boot = args[:secure_boot] if args.key?(:secure_boot) @service_account = args[:service_account] if args.key?(:service_account) @target_project = args[:target_project] if args.key?(:target_project) @vm_name = args[:vm_name] if args.key?(:vm_name) @zone = args[:zone] if args.key?(:zone) end