Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ComputeEngineTargetDetails.
ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.
Generated from protobuf message google.cloud.vmmigration.v1.ComputeEngineTargetDetails
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ vm_name
string
The name of the VM to create.
↳ project
string
The Google Cloud target project ID or project name.
↳ zone
string
The zone in which to create the VM.
↳ machine_type_series
string
The machine type series to create the VM with.
↳ machine_type
string
The machine type to create the VM with.
↳ network_tags
array
A list of network tags to associate with the VM.
↳ network_interfaces
↳ service_account
string
The service account to associate the VM with.
↳ disk_type
int
The disk type to use in the VM.
↳ labels
↳ license_type
int
The license type to use in OS adaptation.
↳ applied_license
↳ compute_scheduling
↳ secure_boot
bool
Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
↳ enable_vtpm
bool
Optional. Defines whether the instance has vTPM enabled.
↳ enable_integrity_monitoring
bool
Optional. Defines whether the instance has integrity monitoring enabled.
↳ boot_option
int
The VM Boot Option, as set in the source VM.
↳ metadata
↳ additional_licenses
array
Additional licenses to assign to the VM.
↳ hostname
string
The hostname to assign to the VM.
↳ encryption
↳ boot_conversion
int
Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
↳ disk_replica_zones
array
Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
getVmName
The name of the VM to create.
string
setVmName
The name of the VM to create.
var
string
$this
getProject
The Google Cloud target project ID or project name.
string
setProject
The Google Cloud target project ID or project name.
var
string
$this
getZone
The zone in which to create the VM.
string
setZone
The zone in which to create the VM.
var
string
$this
getMachineTypeSeries
The machine type series to create the VM with.
string
setMachineTypeSeries
The machine type series to create the VM with.
var
string
$this
getMachineType
The machine type to create the VM with.
string
setMachineType
The machine type to create the VM with.
var
string
$this
getNetworkTags
A list of network tags to associate with the VM.
setNetworkTags
A list of network tags to associate with the VM.
var
string[]
$this
getNetworkInterfaces
List of NICs connected to this VM.
setNetworkInterfaces
List of NICs connected to this VM.
$this
getServiceAccount
The service account to associate the VM with.
string
setServiceAccount
The service account to associate the VM with.
var
string
$this
getDiskType
The disk type to use in the VM.
int
setDiskType
The disk type to use in the VM.
var
int
Enum of type ComputeEngineDiskType .
$this
getLabels
A map of labels to associate with the VM.
setLabels
A map of labels to associate with the VM.
$this
getLicenseType
The license type to use in OS adaptation.
int
setLicenseType
The license type to use in OS adaptation.
var
int
Enum of type ComputeEngineLicenseType .
$this
getAppliedLicense
The OS license returned from the adaptation module report.
hasAppliedLicense
clearAppliedLicense
setAppliedLicense
The OS license returned from the adaptation module report.
$this
getComputeScheduling
Compute instance scheduling information (if empty default is used).
hasComputeScheduling
clearComputeScheduling
setComputeScheduling
Compute instance scheduling information (if empty default is used).
$this
getSecureBoot
Defines whether the instance has Secure Boot enabled.
This can be set to true only if the VM boot option is EFI.
bool
setSecureBoot
Defines whether the instance has Secure Boot enabled.
This can be set to true only if the VM boot option is EFI.
var
bool
$this
getEnableVtpm
Optional. Defines whether the instance has vTPM enabled.
bool
setEnableVtpm
Optional. Defines whether the instance has vTPM enabled.
var
bool
$this
getEnableIntegrityMonitoring
Optional. Defines whether the instance has integrity monitoring enabled.
bool
setEnableIntegrityMonitoring
Optional. Defines whether the instance has integrity monitoring enabled.
var
bool
$this
getBootOption
The VM Boot Option, as set in the source VM.
int
setBootOption
The VM Boot Option, as set in the source VM.
var
int
Enum of type ComputeEngineBootOption .
$this
getMetadata
The metadata key/value pairs to assign to the VM.
setMetadata
The metadata key/value pairs to assign to the VM.
$this
getAdditionalLicenses
Additional licenses to assign to the VM.
setAdditionalLicenses
Additional licenses to assign to the VM.
var
string[]
$this
getHostname
The hostname to assign to the VM.
string
setHostname
The hostname to assign to the VM.
var
string
$this
getEncryption
Optional. The encryption to apply to the VM disks.
hasEncryption
clearEncryption
setEncryption
Optional. The encryption to apply to the VM disks.
$this
getBootConversion
Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
int
setBootConversion
Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
var
int
Enum of type BootConversion .
$this
getDiskReplicaZones
Optional. Additional replica zones of the target regional disks.
If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
setDiskReplicaZones
Optional. Additional replica zones of the target regional disks.
If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
var
string[]
$this