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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setVmMachineType
Required. VM instance machine type to create.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVmZone
The Google Cloud Platform zone to create the VM in.
Returns | |
---|---|
Type | Description |
string |
setVmZone
The Google Cloud Platform zone to create the VM in.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSubnet
The subnet name the vm needs to be created in.
Returns | |
---|---|
Type | Description |
string |
setSubnet
The subnet name the vm needs to be created in.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |