# GroupPutProperties

## Properties

| Name                       | Type                                                                                                                                          | Description                                                                                                                                                                                                                                                                                                                              | Notes       |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **datacenter**             | [**GroupPutPropertiesDatacenter**](https://docs.ionos.com/sections-test/ruby-sdk/vm-autoscaling-ruby-sdk/models/groupputpropertiesdatacenter) |                                                                                                                                                                                                                                                                                                                                          | \[optional] |
| **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.                                                                                                                                                                                  |             |
| **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                                                                                                                                                                                   |             |
| **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.                                                                                                                                                                                                                                                                |             |
| **policy**                 | [**GroupPolicy**](https://docs.ionos.com/sections-test/ruby-sdk/vm-autoscaling-ruby-sdk/models/grouppolicy)                                   |                                                                                                                                                                                                                                                                                                                                          |             |
| **replica\_configuration** | [**ReplicaPropertiesPost**](https://docs.ionos.com/sections-test/ruby-sdk/vm-autoscaling-ruby-sdk/models/replicapropertiespost)               |                                                                                                                                                                                                                                                                                                                                          |             |

## Example

```ruby
require 'ionoscloud-vm-autoscaling'

instance = IonoscloudVmAutoscaling::GroupPutProperties.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
)
```
