Links

ServerProperties

Properties

Name
Type
Description
Notes
template_uuid
String
The ID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource.
[optional]
name
String
The name of the resource.
[optional]
cores
Integer
The total number of cores for the server.
ram
Integer
The memory size for the server in MB, such as 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 be provisioned.
[optional]
vm_state
String
Status of the virtual machine.
[optional][readonly]
boot_cdrom
[optional]
boot_volume
[optional]
cpu_family
String
CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource.
[optional]
type
String
server usages: ENTERPRISE or CUBE
[optional]

Example

require 'ionoscloud'
instance = Ionoscloud::ServerProperties.new(
template_uuid: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
name: My resource,
cores: 4,
ram: 4096,
availability_zone: AUTO,
vm_state: RUNNING,
boot_cdrom: null,
boot_volume: null,
cpu_family: AMD_OPTERON,
type: CUBE
)