Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.15 KB

CreateVpc2Request.md

File metadata and controls

26 lines (20 loc) · 1.15 KB

VultrRuby::CreateVpc2Request

Properties

Name Type Description Notes
region String Create the VPC in this Region id.
description String A description of the VPC. </br> Must be no longer than 255 characters and may include only letters, numbers, spaces, underscores and hyphens. [optional]
ip_type Enum Accepted values: * `v4` [optional]
ip_block String The VPC subnet IP address. For example: 10.99.0.0<br><span style=&quot;color: red&quot;>If a prefix_length is specified then ip_block is a required field.</span> [optional]
prefix_length Integer The number of bits for the netmask in CIDR notation. Example: 24<br><span style=&quot;color: red&quot;>If an ip_block is specified then prefix_length is a required field.</span> [optional]

Example

require 'vultr_ruby'

instance = VultrRuby::CreateVpc2Request.new(
  region: null,
  description: null,
  ip_type: null,
  ip_block: null,
  prefix_length: null
)