ReplicaProperties

Properties

Name
Type
Description
Notes

availability_zone

[optional]

cores

Integer

The total number of cores for the VMs.

cpu_family

[optional]

nics

The list of NICs associated with this replica.

[optional]

ram

Integer

The size of the memory for the VMs in MB. The size must be in multiples of 256 MB, with a minimum of 256 MB; if you set 'ramHotPlug=TRUE', you must use at least 1024 MB. If you set the RAM size to more than 240 GB, 'ramHotPlug=FALSE' is fixed.

Example

require 'ionoscloud-vm-autoscaling'

instance = IonoscloudVmAutoscaling::ReplicaProperties.new(
  availability_zone: null,
  cores: 2,
  cpu_family: null,
  nics: null,
  ram: 2048
)

Last updated

Was this helpful?