ServerProperties

Properties

NameTypeDescriptionNotes

name

String

A name of that resource

[optional]

cores

Integer

The total number of cores for the server

ram

Integer

The amount of memory for the server in MB, e.g. 2048. Size must be specified in multiples of 256 MB with a minimum of 256 MB; however, if you set ramHotPlug to TRUE then you must use a minimum of 1024 MB. If you set the RAM size more than 240GB, then ramHotPlug will be set to FALSE and can not be set to TRUE unless RAM size not set to less than 240GB.

availability_zone

String

The availability zone in which the server should exist

[optional]

vm_state

String

Status of the virtual Machine

[optional][readonly]

boot_cdrom

[optional]

boot_volume

[optional]

cpu_family

String

Cpu family of pserver

[optional]

Example

require 'ionoscloud'

instance = Ionoscloud::ServerProperties.new(
  name: My resource,
  cores: 4,
  ram: 4096,
  availability_zone: AUTO,
  vm_state: RUNNING,
  boot_cdrom: null,
  boot_volume: null,
  cpu_family: AMD_OPTERON
)

Last updated