Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 3.58 KB

CreateBaremetalRequest.md

File metadata and controls

58 lines (52 loc) · 3.58 KB

VultrRuby::CreateBaremetalRequest

Properties

Name Type Description Notes
region String The Region id to create the instance.
plan String The Bare Metal plan id to use for this instance.
script_id String The Startup Script id to use for this instance. [optional]
enable_ipv6 Boolean Enable IPv6. * true [optional]
sshkey_id Array<String> The SSH Key id to install on this instance. [optional]
user_data String The user-supplied, base64 encoded user data for this Instance. [optional]
label String The user-supplied label. [optional]
activation_email Boolean Notify by email after deployment. * true * false (default) [optional]
hostname String The user-supplied hostname to use when deploying this instance. [optional]
tag String Use `tags` instead. The user-supplied tag. [optional]
reserved_ipv4 String The Reserved IP id for this instance. [optional]
os_id Integer If supplied, deploy the instance using this Operating System id. [optional]
snapshot_id String If supplied, deploy the instance using this Snapshot ID. [optional]
app_id Integer If supplied, deploy the instance using this Application id. [optional]
image_id String If supplied, deploy the instance using this Application image_id. [optional]
persistent_pxe Boolean Enable persistent PXE. * true * false (default) [optional]
attach_vpc2 Array<String> An array of VPC IDs to attach to this Bare Metal Instance. This parameter takes precedence over `enable_vpc2`. Please choose one parameter. [optional]
detach_vpc2 Array<String> An array of VPC IDs to detach from this Bare Metal Instance. This parameter takes precedence over `enable_vpc2`. [optional]
enable_vpc2 Boolean If `true`, VPC 2.0 support will be added to the new server. This parameter attaches a single VPC 2.0 netowrk. When no VPC 2.0 network exists in the region, it will be automatically created. If there are multiple VPC 2.0 networks in the instance's region, use `attach_vpc2` instead to specify a VPC 2.0 network. [optional]
tags Array<String> Tags to apply to the instance. [optional]
user_scheme String Linux-only: The user scheme used for logging into this instance. By default, the &quot;root&quot; user is configured. Alternatively, a limited user with sudo permissions can be selected. * root * limited [optional]

Example

require 'vultr_ruby'

instance = VultrRuby::CreateBaremetalRequest.new(
  region: null,
  plan: null,
  script_id: null,
  enable_ipv6: null,
  sshkey_id: null,
  user_data: null,
  label: null,
  activation_email: null,
  hostname: null,
  tag: null,
  reserved_ipv4: null,
  os_id: null,
  snapshot_id: null,
  app_id: null,
  image_id: null,
  persistent_pxe: null,
  attach_vpc2: null,
  detach_vpc2: null,
  enable_vpc2: null,
  tags: null,
  user_scheme: null
)