# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::VmCreationConfig (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::VmCreationConfig.

VM creation configuration message

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #subnet

    def subnet() -> ::String

**Returns**

- (::String) --- The subnet name the vm needs to be created in.

### #subnet=

    def subnet=(value) -> ::String

**Parameter**

- **value** (::String) --- The subnet name the vm needs to be created in.
**Returns**

- (::String) --- The subnet name the vm needs to be created in.

### #vm_machine_type

    def vm_machine_type() -> ::String

**Returns**

- (::String) --- Required. VM instance machine type to create.

### #vm_machine_type=

    def vm_machine_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. VM instance machine type to create.
**Returns**

- (::String) --- Required. VM instance machine type to create.

### #vm_zone

    def vm_zone() -> ::String

**Returns**

- (::String) --- The Google Cloud Platform zone to create the VM in.

### #vm_zone=

    def vm_zone=(value) -> ::String

**Parameter**

- **value** (::String) --- The Google Cloud Platform zone to create the VM in.
**Returns**

- (::String) --- The Google Cloud Platform zone to create the VM in.