class Google::Apis::VmmigrationV1alpha1::TargetVmDetails
TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project.
Attributes
AppliedLicense
holds the license data returned by adaptation module report. Corresponds to the JSON property ‘appliedLicense` @return [Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::ComputeScheduling]
The disk type to use in the VM. Corresponds to the JSON property ‘diskType` @return [String]
The external IP to define in the VM. Corresponds to the JSON property ‘externalIp` @return [String]
The internal IP to define in the VM. The formats accepted are: ‘ephemeral` \ ipv4 address \ a named address resource full path. Corresponds to the JSON property `internalIp` @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>]
The name of the VM to create. Corresponds to the JSON property ‘name` @return [String]
The network to connect the VM to. Corresponds to the JSON property ‘network` @return [String]
List of NICs connected to this VM. Corresponds to the JSON property ‘networkInterfaces` @return [Array<Google::Apis::VmmigrationV1alpha1::NetworkInterface>]
Output only. The project in which to create the VM. Corresponds to the JSON property ‘project` @return [String]
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 subnetwork to connect the VM to. Corresponds to the JSON property ‘subnetwork` @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 zone in which to create the VM. Corresponds to the JSON property ‘zone` @return [String]
Public Class Methods
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 2175 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 2180 def update!(**args) @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) @external_ip = args[:external_ip] if args.key?(:external_ip) @internal_ip = args[:internal_ip] if args.key?(:internal_ip) @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) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @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) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @target_project = args[:target_project] if args.key?(:target_project) @zone = args[:zone] if args.key?(:zone) end