Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults (v0.6.0)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#additional_licenses

def additional_licenses() -> ::Array<::String>
Returns
  • (::Array<::String>) — Additional licenses to assign to the VM.

#additional_licenses=

def additional_licenses=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Additional licenses to assign to the VM.
Returns
  • (::Array<::String>) — Additional licenses to assign to the VM.

#applied_license

def applied_license() -> ::Google::Cloud::VMMigration::V1::AppliedLicense
Returns

#boot_option

def boot_option() -> ::Google::Cloud::VMMigration::V1::ComputeEngineBootOption
Returns

#compute_scheduling

def compute_scheduling() -> ::Google::Cloud::VMMigration::V1::ComputeScheduling
Returns

#compute_scheduling=

def compute_scheduling=(value) -> ::Google::Cloud::VMMigration::V1::ComputeScheduling
Parameter
Returns

#disk_type

def disk_type() -> ::Google::Cloud::VMMigration::V1::ComputeEngineDiskType
Returns

#disk_type=

def disk_type=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineDiskType
Parameter
Returns

#hostname

def hostname() -> ::String
Returns
  • (::String) — The hostname to assign to the VM.

#hostname=

def hostname=(value) -> ::String
Parameter
  • value (::String) — The hostname to assign to the VM.
Returns
  • (::String) — The hostname to assign to the VM.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map of labels to associate with the VM.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — A map of labels to associate with the VM.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map of labels to associate with the VM.

#license_type

def license_type() -> ::Google::Cloud::VMMigration::V1::ComputeEngineLicenseType
Returns

#license_type=

def license_type=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineLicenseType
Parameter
Returns

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — The machine type to create the VM with.

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — The machine type to create the VM with.
Returns
  • (::String) — The machine type to create the VM with.

#machine_type_series

def machine_type_series() -> ::String
Returns
  • (::String) — The machine type series to create the VM with.

#machine_type_series=

def machine_type_series=(value) -> ::String
Parameter
  • value (::String) — The machine type series to create the VM with.
Returns
  • (::String) — The machine type series to create the VM with.

#metadata

def metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The metadata key/value pairs to assign to the VM.

#metadata=

def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — The metadata key/value pairs to assign to the VM.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The metadata key/value pairs to assign to the VM.

#network_interfaces

def network_interfaces() -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>
Returns

#network_interfaces=

def network_interfaces=(value) -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>
Parameter
Returns

#network_tags

def network_tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — A map of network tags to associate with the VM.

#network_tags=

def network_tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A map of network tags to associate with the VM.
Returns
  • (::Array<::String>) — A map of network tags to associate with the VM.

#secure_boot

def secure_boot() -> ::Boolean
Returns
  • (::Boolean) — Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.

#secure_boot=

def secure_boot=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
Returns
  • (::Boolean) — Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.

#service_account

def service_account() -> ::String
Returns
  • (::String) — The service account to associate the VM with.

#service_account=

def service_account=(value) -> ::String
Parameter
  • value (::String) — The service account to associate the VM with.
Returns
  • (::String) — The service account to associate the VM with.

#target_project

def target_project() -> ::String
Returns
  • (::String) — The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.

#target_project=

def target_project=(value) -> ::String
Parameter
  • value (::String) — The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
Returns
  • (::String) — The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.

#vm_name

def vm_name() -> ::String
Returns
  • (::String) — The name of the VM to create.

#vm_name=

def vm_name=(value) -> ::String
Parameter
  • value (::String) — The name of the VM to create.
Returns
  • (::String) — The name of the VM to create.

#zone

def zone() -> ::String
Returns
  • (::String) — The zone in which to create the VM.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — The zone in which to create the VM.
Returns
  • (::String) — The zone in which to create the VM.