GroupProperties
Properties
location
String
The data center location.
[readonly]
max_replica_count
Integer
The maximum value for the number of replicas for 'targetReplicaCount'. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
[optional]
min_replica_count
Integer
The minimum value for the number of replicas for 'targetReplicaCount'. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes
[optional]
target_replica_count
Integer
The target number of VMs in this group. Depending on the scaling policy, this number is automatically adjusted. VMs are automatically created or destroyed to adjust the actual number of VMs to this target number. If 'targetReplicaCount' is specified in the request body, it must be '>= minReplicaCount' and '<= maxReplicaCount'.
[optional]
name
String
The name of the Auto Scaling group. This field must not be null or blank.
[optional]
Example
require 'ionoscloud-vm-autoscaling'
instance = IonoscloudVmAutoscaling::GroupProperties.new(
datacenter: null,
location: de/txl,
max_replica_count: 10,
min_replica_count: 1,
target_replica_count: 1,
name: Autoscaling Group #1,
policy: null,
replica_configuration: null
)Last updated
Was this helpful?