class Google::Apis::VmmigrationV1alpha1::TargetVmDetails

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

Attributes

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]

Output only. 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]

external_ip[RW]

The external IP to define in the VM. Corresponds to the JSON property ‘externalIp` @return [String]

internal_ip[RW]

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]

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>]

name[RW]

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

network[RW]

The network to connect the VM to. Corresponds to the JSON property ‘network` @return [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]

Output only. The project in which to create the VM. 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]

subnetwork[RW]

The subnetwork to connect the VM to. Corresponds to the JSON property ‘subnetwork` @return [String]

target_project[RW]

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]

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 2175
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 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