Google Cloud Dms V1 Client - Class VmCreationConfig (1.1.0)

Reference documentation and code samples for the Google Cloud Dms V1 Client class VmCreationConfig.

VM creation configuration message

Generated from protobuf message google.cloud.clouddms.v1.VmCreationConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vm_machine_type string

Required. VM instance machine type to create.

↳ vm_zone string

The Google Cloud Platform zone to create the VM in.

↳ subnet string

The subnet name the vm needs to be created in.

getVmMachineType

Required. VM instance machine type to create.

Returns
TypeDescription
string

setVmMachineType

Required. VM instance machine type to create.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmZone

The Google Cloud Platform zone to create the VM in.

Returns
TypeDescription
string

setVmZone

The Google Cloud Platform zone to create the VM in.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubnet

The subnet name the vm needs to be created in.

Returns
TypeDescription
string

setSubnet

The subnet name the vm needs to be created in.

Parameter
NameDescription
var string
Returns
TypeDescription
$this