ionoscloud.AutoscalingGroup
Explore with Pulumi AI
Manages an Autoscaling Group on IonosCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
import * as random from "@pulumi/random";
const datacenterExample = new ionoscloud.Datacenter("datacenterExample", {location: "de/fra"});
const lanExample1 = new ionoscloud.Lan("lanExample1", {
datacenterId: datacenterExample.datacenterId,
"public": false,
});
const lanExample2 = new ionoscloud.Lan("lanExample2", {
datacenterId: datacenterExample.datacenterId,
"public": false,
});
const autoscalingTargetGroup = new ionoscloud.TargetGroup("autoscalingTargetGroup", {
algorithm: "ROUND_ROBIN",
protocol: "HTTP",
});
const serverImagePassword = new random.index.Random_password("serverImagePassword", {
length: 16,
special: false,
});
const autoscalingGroupExample = new ionoscloud.AutoscalingGroup("autoscalingGroupExample", {
datacenterId: datacenterExample.datacenterId,
maxReplicaCount: 2,
minReplicaCount: 1,
policy: {
metric: "INSTANCE_CPU_UTILIZATION_AVERAGE",
range: "PT24H",
scaleInAction: {
amount: 1,
amountType: "ABSOLUTE",
terminationPolicyType: "OLDEST_SERVER_FIRST",
cooldownPeriod: "PT5M",
deleteVolumes: true,
},
scaleInThreshold: 33,
scaleOutAction: {
amount: 1,
amountType: "ABSOLUTE",
cooldownPeriod: "PT5M",
},
scaleOutThreshold: 77,
unit: "PER_HOUR",
},
replicaConfiguration: {
availabilityZone: "AUTO",
cores: 2,
cpuFamily: "INTEL_SKYLAKE",
ram: 2048,
nics: [
{
lan: lanExample1.lanId,
name: "nic_example_1",
dhcp: true,
},
{
lan: lanExample2.lanId,
name: "nic_example_2",
dhcp: true,
firewallActive: true,
firewallType: "INGRESS",
firewallRules: [{
name: "rule_1",
protocol: "TCP",
portRangeStart: 1,
portRangeEnd: 1000,
type: "INGRESS",
}],
flowLogs: [{
name: "flow_log_1",
bucket: "test-de-bucket",
action: "ALL",
direction: "BIDIRECTIONAL",
}],
targetGroup: {
targetGroupId: autoscalingTargetGroup.targetGroupId,
port: 80,
weight: 50,
},
},
],
volumes: [{
imageAlias: "ubuntu:latest",
name: "volume_example",
size: 10,
type: "HDD",
userData: "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
imagePassword: serverImagePassword.result,
bootOrder: "AUTO",
}],
},
});
import pulumi
import pulumi_ionoscloud as ionoscloud
import pulumi_random as random
datacenter_example = ionoscloud.Datacenter("datacenterExample", location="de/fra")
lan_example1 = ionoscloud.Lan("lanExample1",
datacenter_id=datacenter_example.datacenter_id,
public=False)
lan_example2 = ionoscloud.Lan("lanExample2",
datacenter_id=datacenter_example.datacenter_id,
public=False)
autoscaling_target_group = ionoscloud.TargetGroup("autoscalingTargetGroup",
algorithm="ROUND_ROBIN",
protocol="HTTP")
server_image_password = random.index.Random_password("serverImagePassword",
length=16,
special=False)
autoscaling_group_example = ionoscloud.AutoscalingGroup("autoscalingGroupExample",
datacenter_id=datacenter_example.datacenter_id,
max_replica_count=2,
min_replica_count=1,
policy={
"metric": "INSTANCE_CPU_UTILIZATION_AVERAGE",
"range": "PT24H",
"scale_in_action": {
"amount": 1,
"amount_type": "ABSOLUTE",
"termination_policy_type": "OLDEST_SERVER_FIRST",
"cooldown_period": "PT5M",
"delete_volumes": True,
},
"scale_in_threshold": 33,
"scale_out_action": {
"amount": 1,
"amount_type": "ABSOLUTE",
"cooldown_period": "PT5M",
},
"scale_out_threshold": 77,
"unit": "PER_HOUR",
},
replica_configuration={
"availability_zone": "AUTO",
"cores": 2,
"cpu_family": "INTEL_SKYLAKE",
"ram": 2048,
"nics": [
{
"lan": lan_example1.lan_id,
"name": "nic_example_1",
"dhcp": True,
},
{
"lan": lan_example2.lan_id,
"name": "nic_example_2",
"dhcp": True,
"firewall_active": True,
"firewall_type": "INGRESS",
"firewall_rules": [{
"name": "rule_1",
"protocol": "TCP",
"port_range_start": 1,
"port_range_end": 1000,
"type": "INGRESS",
}],
"flow_logs": [{
"name": "flow_log_1",
"bucket": "test-de-bucket",
"action": "ALL",
"direction": "BIDIRECTIONAL",
}],
"target_group": {
"target_group_id": autoscaling_target_group.target_group_id,
"port": 80,
"weight": 50,
},
},
],
"volumes": [{
"image_alias": "ubuntu:latest",
"name": "volume_example",
"size": 10,
"type": "HDD",
"user_data": "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
"image_password": server_image_password["result"],
"boot_order": "AUTO",
}],
})
package main
import (
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
datacenterExample, err := ionoscloud.NewDatacenter(ctx, "datacenterExample", &ionoscloud.DatacenterArgs{
Location: pulumi.String("de/fra"),
})
if err != nil {
return err
}
lanExample1, err := ionoscloud.NewLan(ctx, "lanExample1", &ionoscloud.LanArgs{
DatacenterId: datacenterExample.DatacenterId,
Public: pulumi.Bool(false),
})
if err != nil {
return err
}
lanExample2, err := ionoscloud.NewLan(ctx, "lanExample2", &ionoscloud.LanArgs{
DatacenterId: datacenterExample.DatacenterId,
Public: pulumi.Bool(false),
})
if err != nil {
return err
}
autoscalingTargetGroup, err := ionoscloud.NewTargetGroup(ctx, "autoscalingTargetGroup", &ionoscloud.TargetGroupArgs{
Algorithm: pulumi.String("ROUND_ROBIN"),
Protocol: pulumi.String("HTTP"),
})
if err != nil {
return err
}
serverImagePassword, err := random.NewRandom_password(ctx, "serverImagePassword", &random.Random_passwordArgs{
Length: 16,
Special: false,
})
if err != nil {
return err
}
_, err = ionoscloud.NewAutoscalingGroup(ctx, "autoscalingGroupExample", &ionoscloud.AutoscalingGroupArgs{
DatacenterId: datacenterExample.DatacenterId,
MaxReplicaCount: pulumi.Float64(2),
MinReplicaCount: pulumi.Float64(1),
Policy: &ionoscloud.AutoscalingGroupPolicyArgs{
Metric: pulumi.String("INSTANCE_CPU_UTILIZATION_AVERAGE"),
Range: pulumi.String("PT24H"),
ScaleInAction: &ionoscloud.AutoscalingGroupPolicyScaleInActionArgs{
Amount: pulumi.Float64(1),
AmountType: pulumi.String("ABSOLUTE"),
TerminationPolicyType: pulumi.String("OLDEST_SERVER_FIRST"),
CooldownPeriod: pulumi.String("PT5M"),
DeleteVolumes: pulumi.Bool(true),
},
ScaleInThreshold: pulumi.Float64(33),
ScaleOutAction: &ionoscloud.AutoscalingGroupPolicyScaleOutActionArgs{
Amount: pulumi.Float64(1),
AmountType: pulumi.String("ABSOLUTE"),
CooldownPeriod: pulumi.String("PT5M"),
},
ScaleOutThreshold: pulumi.Float64(77),
Unit: pulumi.String("PER_HOUR"),
},
ReplicaConfiguration: &ionoscloud.AutoscalingGroupReplicaConfigurationArgs{
AvailabilityZone: pulumi.String("AUTO"),
Cores: pulumi.Float64(2),
CpuFamily: pulumi.String("INTEL_SKYLAKE"),
Ram: pulumi.Float64(2048),
Nics: ionoscloud.AutoscalingGroupReplicaConfigurationNicArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationNicArgs{
Lan: lanExample1.LanId,
Name: pulumi.String("nic_example_1"),
Dhcp: pulumi.Bool(true),
},
&ionoscloud.AutoscalingGroupReplicaConfigurationNicArgs{
Lan: lanExample2.LanId,
Name: pulumi.String("nic_example_2"),
Dhcp: pulumi.Bool(true),
FirewallActive: pulumi.Bool(true),
FirewallType: pulumi.String("INGRESS"),
FirewallRules: ionoscloud.AutoscalingGroupReplicaConfigurationNicFirewallRuleArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationNicFirewallRuleArgs{
Name: pulumi.String("rule_1"),
Protocol: pulumi.String("TCP"),
PortRangeStart: pulumi.Float64(1),
PortRangeEnd: pulumi.Float64(1000),
Type: pulumi.String("INGRESS"),
},
},
FlowLogs: ionoscloud.AutoscalingGroupReplicaConfigurationNicFlowLogArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationNicFlowLogArgs{
Name: pulumi.String("flow_log_1"),
Bucket: pulumi.String("test-de-bucket"),
Action: pulumi.String("ALL"),
Direction: pulumi.String("BIDIRECTIONAL"),
},
},
TargetGroup: &ionoscloud.AutoscalingGroupReplicaConfigurationNicTargetGroupArgs{
TargetGroupId: autoscalingTargetGroup.TargetGroupId,
Port: pulumi.Float64(80),
Weight: pulumi.Float64(50),
},
},
},
Volumes: ionoscloud.AutoscalingGroupReplicaConfigurationVolumeArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationVolumeArgs{
ImageAlias: pulumi.String("ubuntu:latest"),
Name: pulumi.String("volume_example"),
Size: pulumi.Float64(10),
Type: pulumi.String("HDD"),
UserData: pulumi.String("ZWNobyAiSGVsbG8sIFdvcmxkIgo="),
ImagePassword: serverImagePassword.Result,
BootOrder: pulumi.String("AUTO"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var datacenterExample = new Ionoscloud.Datacenter("datacenterExample", new()
{
Location = "de/fra",
});
var lanExample1 = new Ionoscloud.Lan("lanExample1", new()
{
DatacenterId = datacenterExample.DatacenterId,
Public = false,
});
var lanExample2 = new Ionoscloud.Lan("lanExample2", new()
{
DatacenterId = datacenterExample.DatacenterId,
Public = false,
});
var autoscalingTargetGroup = new Ionoscloud.TargetGroup("autoscalingTargetGroup", new()
{
Algorithm = "ROUND_ROBIN",
Protocol = "HTTP",
});
var serverImagePassword = new Random.Index.Random_password("serverImagePassword", new()
{
Length = 16,
Special = false,
});
var autoscalingGroupExample = new Ionoscloud.AutoscalingGroup("autoscalingGroupExample", new()
{
DatacenterId = datacenterExample.DatacenterId,
MaxReplicaCount = 2,
MinReplicaCount = 1,
Policy = new Ionoscloud.Inputs.AutoscalingGroupPolicyArgs
{
Metric = "INSTANCE_CPU_UTILIZATION_AVERAGE",
Range = "PT24H",
ScaleInAction = new Ionoscloud.Inputs.AutoscalingGroupPolicyScaleInActionArgs
{
Amount = 1,
AmountType = "ABSOLUTE",
TerminationPolicyType = "OLDEST_SERVER_FIRST",
CooldownPeriod = "PT5M",
DeleteVolumes = true,
},
ScaleInThreshold = 33,
ScaleOutAction = new Ionoscloud.Inputs.AutoscalingGroupPolicyScaleOutActionArgs
{
Amount = 1,
AmountType = "ABSOLUTE",
CooldownPeriod = "PT5M",
},
ScaleOutThreshold = 77,
Unit = "PER_HOUR",
},
ReplicaConfiguration = new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationArgs
{
AvailabilityZone = "AUTO",
Cores = 2,
CpuFamily = "INTEL_SKYLAKE",
Ram = 2048,
Nics = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicArgs
{
Lan = lanExample1.LanId,
Name = "nic_example_1",
Dhcp = true,
},
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicArgs
{
Lan = lanExample2.LanId,
Name = "nic_example_2",
Dhcp = true,
FirewallActive = true,
FirewallType = "INGRESS",
FirewallRules = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicFirewallRuleArgs
{
Name = "rule_1",
Protocol = "TCP",
PortRangeStart = 1,
PortRangeEnd = 1000,
Type = "INGRESS",
},
},
FlowLogs = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicFlowLogArgs
{
Name = "flow_log_1",
Bucket = "test-de-bucket",
Action = "ALL",
Direction = "BIDIRECTIONAL",
},
},
TargetGroup = new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicTargetGroupArgs
{
TargetGroupId = autoscalingTargetGroup.TargetGroupId,
Port = 80,
Weight = 50,
},
},
},
Volumes = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationVolumeArgs
{
ImageAlias = "ubuntu:latest",
Name = "volume_example",
Size = 10,
Type = "HDD",
UserData = "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
ImagePassword = serverImagePassword.Result,
BootOrder = "AUTO",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.Datacenter;
import com.pulumi.ionoscloud.DatacenterArgs;
import com.pulumi.ionoscloud.Lan;
import com.pulumi.ionoscloud.LanArgs;
import com.pulumi.ionoscloud.TargetGroup;
import com.pulumi.ionoscloud.TargetGroupArgs;
import com.pulumi.random.random_password;
import com.pulumi.random.Random_passwordArgs;
import com.pulumi.ionoscloud.AutoscalingGroup;
import com.pulumi.ionoscloud.AutoscalingGroupArgs;
import com.pulumi.ionoscloud.inputs.AutoscalingGroupPolicyArgs;
import com.pulumi.ionoscloud.inputs.AutoscalingGroupPolicyScaleInActionArgs;
import com.pulumi.ionoscloud.inputs.AutoscalingGroupPolicyScaleOutActionArgs;
import com.pulumi.ionoscloud.inputs.AutoscalingGroupReplicaConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var datacenterExample = new Datacenter("datacenterExample", DatacenterArgs.builder()
.location("de/fra")
.build());
var lanExample1 = new Lan("lanExample1", LanArgs.builder()
.datacenterId(datacenterExample.datacenterId())
.public_(false)
.build());
var lanExample2 = new Lan("lanExample2", LanArgs.builder()
.datacenterId(datacenterExample.datacenterId())
.public_(false)
.build());
var autoscalingTargetGroup = new TargetGroup("autoscalingTargetGroup", TargetGroupArgs.builder()
.algorithm("ROUND_ROBIN")
.protocol("HTTP")
.build());
var serverImagePassword = new Random_password("serverImagePassword", Random_passwordArgs.builder()
.length(16)
.special(false)
.build());
var autoscalingGroupExample = new AutoscalingGroup("autoscalingGroupExample", AutoscalingGroupArgs.builder()
.datacenterId(datacenterExample.datacenterId())
.maxReplicaCount(2)
.minReplicaCount(1)
.policy(AutoscalingGroupPolicyArgs.builder()
.metric("INSTANCE_CPU_UTILIZATION_AVERAGE")
.range("PT24H")
.scaleInAction(AutoscalingGroupPolicyScaleInActionArgs.builder()
.amount(1)
.amountType("ABSOLUTE")
.terminationPolicyType("OLDEST_SERVER_FIRST")
.cooldownPeriod("PT5M")
.deleteVolumes(true)
.build())
.scaleInThreshold(33)
.scaleOutAction(AutoscalingGroupPolicyScaleOutActionArgs.builder()
.amount(1)
.amountType("ABSOLUTE")
.cooldownPeriod("PT5M")
.build())
.scaleOutThreshold(77)
.unit("PER_HOUR")
.build())
.replicaConfiguration(AutoscalingGroupReplicaConfigurationArgs.builder()
.availabilityZone("AUTO")
.cores("2")
.cpuFamily("INTEL_SKYLAKE")
.ram(2048)
.nics(
AutoscalingGroupReplicaConfigurationNicArgs.builder()
.lan(lanExample1.lanId())
.name("nic_example_1")
.dhcp(true)
.build(),
AutoscalingGroupReplicaConfigurationNicArgs.builder()
.lan(lanExample2.lanId())
.name("nic_example_2")
.dhcp(true)
.firewallActive(true)
.firewallType("INGRESS")
.firewallRules(AutoscalingGroupReplicaConfigurationNicFirewallRuleArgs.builder()
.name("rule_1")
.protocol("TCP")
.portRangeStart(1)
.portRangeEnd(1000)
.type("INGRESS")
.build())
.flowLogs(AutoscalingGroupReplicaConfigurationNicFlowLogArgs.builder()
.name("flow_log_1")
.bucket("test-de-bucket")
.action("ALL")
.direction("BIDIRECTIONAL")
.build())
.targetGroup(AutoscalingGroupReplicaConfigurationNicTargetGroupArgs.builder()
.targetGroupId(autoscalingTargetGroup.targetGroupId())
.port(80)
.weight(50)
.build())
.build())
.volumes(AutoscalingGroupReplicaConfigurationVolumeArgs.builder()
.imageAlias("ubuntu:latest")
.name("volume_example")
.size(10)
.type("HDD")
.userData("ZWNobyAiSGVsbG8sIFdvcmxkIgo=")
.imagePassword(serverImagePassword.result())
.bootOrder("AUTO")
.build())
.build())
.build());
}
}
resources:
datacenterExample:
type: ionoscloud:Datacenter
properties:
location: de/fra
lanExample1:
type: ionoscloud:Lan
properties:
datacenterId: ${datacenterExample.datacenterId}
public: false
lanExample2:
type: ionoscloud:Lan
properties:
datacenterId: ${datacenterExample.datacenterId}
public: false
autoscalingTargetGroup:
type: ionoscloud:TargetGroup
properties:
algorithm: ROUND_ROBIN
protocol: HTTP
autoscalingGroupExample:
type: ionoscloud:AutoscalingGroup
properties:
datacenterId: ${datacenterExample.datacenterId}
maxReplicaCount: 2
minReplicaCount: 1
policy:
metric: INSTANCE_CPU_UTILIZATION_AVERAGE
range: PT24H
scaleInAction:
amount: 1
amountType: ABSOLUTE
terminationPolicyType: OLDEST_SERVER_FIRST
cooldownPeriod: PT5M
deleteVolumes: true
scaleInThreshold: 33
scaleOutAction:
amount: 1
amountType: ABSOLUTE
cooldownPeriod: PT5M
scaleOutThreshold: 77
unit: PER_HOUR
replicaConfiguration:
availabilityZone: AUTO
cores: '2'
cpuFamily: INTEL_SKYLAKE
ram: 2048
nics:
- lan: ${lanExample1.lanId}
name: nic_example_1
dhcp: true
- lan: ${lanExample2.lanId}
name: nic_example_2
dhcp: true
firewallActive: true
firewallType: INGRESS
firewallRules:
- name: rule_1
protocol: TCP
portRangeStart: 1
portRangeEnd: 1000
type: INGRESS
flowLogs:
- name: flow_log_1
bucket: test-de-bucket
action: ALL
direction: BIDIRECTIONAL
targetGroup:
targetGroupId: ${autoscalingTargetGroup.targetGroupId}
port: 80
weight: 50
volumes:
- imageAlias: ubuntu:latest
name: volume_example
size: 10
type: HDD
userData: ZWNobyAiSGVsbG8sIFdvcmxkIgo=
imagePassword: ${serverImagePassword.result}
bootOrder: AUTO
serverImagePassword:
type: random:random_password
properties:
length: 16
special: false
Create AutoscalingGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutoscalingGroup(name: string, args: AutoscalingGroupArgs, opts?: CustomResourceOptions);
@overload
def AutoscalingGroup(resource_name: str,
args: AutoscalingGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AutoscalingGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
datacenter_id: Optional[str] = None,
max_replica_count: Optional[float] = None,
min_replica_count: Optional[float] = None,
policy: Optional[AutoscalingGroupPolicyArgs] = None,
replica_configuration: Optional[AutoscalingGroupReplicaConfigurationArgs] = None,
autoscaling_group_id: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[AutoscalingGroupTimeoutsArgs] = None)
func NewAutoscalingGroup(ctx *Context, name string, args AutoscalingGroupArgs, opts ...ResourceOption) (*AutoscalingGroup, error)
public AutoscalingGroup(string name, AutoscalingGroupArgs args, CustomResourceOptions? opts = null)
public AutoscalingGroup(String name, AutoscalingGroupArgs args)
public AutoscalingGroup(String name, AutoscalingGroupArgs args, CustomResourceOptions options)
type: ionoscloud:AutoscalingGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutoscalingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutoscalingGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutoscalingGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutoscalingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutoscalingGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var autoscalingGroupResource = new Ionoscloud.AutoscalingGroup("autoscalingGroupResource", new()
{
DatacenterId = "string",
MaxReplicaCount = 0,
MinReplicaCount = 0,
Policy = new Ionoscloud.Inputs.AutoscalingGroupPolicyArgs
{
Metric = "string",
ScaleInAction = new Ionoscloud.Inputs.AutoscalingGroupPolicyScaleInActionArgs
{
Amount = 0,
AmountType = "string",
DeleteVolumes = false,
CooldownPeriod = "string",
TerminationPolicyType = "string",
},
ScaleInThreshold = 0,
ScaleOutAction = new Ionoscloud.Inputs.AutoscalingGroupPolicyScaleOutActionArgs
{
Amount = 0,
AmountType = "string",
CooldownPeriod = "string",
},
ScaleOutThreshold = 0,
Unit = "string",
Range = "string",
},
ReplicaConfiguration = new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationArgs
{
AvailabilityZone = "string",
Cores = 0,
Ram = 0,
CpuFamily = "string",
Nics = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicArgs
{
Lan = 0,
Name = "string",
Dhcp = false,
FirewallActive = false,
FirewallRules = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicFirewallRuleArgs
{
Protocol = "string",
IcmpCode = 0,
IcmpType = 0,
Name = "string",
PortRangeEnd = 0,
PortRangeStart = 0,
SourceIp = "string",
SourceMac = "string",
TargetIp = "string",
Type = "string",
},
},
FirewallType = "string",
FlowLogs = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicFlowLogArgs
{
Action = "string",
Bucket = "string",
Direction = "string",
Name = "string",
Id = "string",
},
},
TargetGroup = new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationNicTargetGroupArgs
{
Port = 0,
TargetGroupId = "string",
Weight = 0,
},
},
},
Volumes = new[]
{
new Ionoscloud.Inputs.AutoscalingGroupReplicaConfigurationVolumeArgs
{
BootOrder = "string",
Name = "string",
Size = 0,
Type = "string",
BackupUnitId = "string",
Bus = "string",
Image = "string",
ImageAlias = "string",
ImagePassword = "string",
SshKeys = new[]
{
"string",
},
UserData = "string",
},
},
},
AutoscalingGroupId = "string",
Name = "string",
Timeouts = new Ionoscloud.Inputs.AutoscalingGroupTimeoutsArgs
{
Create = "string",
Default = "string",
Delete = "string",
Update = "string",
},
});
example, err := ionoscloud.NewAutoscalingGroup(ctx, "autoscalingGroupResource", &ionoscloud.AutoscalingGroupArgs{
DatacenterId: pulumi.String("string"),
MaxReplicaCount: pulumi.Float64(0),
MinReplicaCount: pulumi.Float64(0),
Policy: &ionoscloud.AutoscalingGroupPolicyArgs{
Metric: pulumi.String("string"),
ScaleInAction: &ionoscloud.AutoscalingGroupPolicyScaleInActionArgs{
Amount: pulumi.Float64(0),
AmountType: pulumi.String("string"),
DeleteVolumes: pulumi.Bool(false),
CooldownPeriod: pulumi.String("string"),
TerminationPolicyType: pulumi.String("string"),
},
ScaleInThreshold: pulumi.Float64(0),
ScaleOutAction: &ionoscloud.AutoscalingGroupPolicyScaleOutActionArgs{
Amount: pulumi.Float64(0),
AmountType: pulumi.String("string"),
CooldownPeriod: pulumi.String("string"),
},
ScaleOutThreshold: pulumi.Float64(0),
Unit: pulumi.String("string"),
Range: pulumi.String("string"),
},
ReplicaConfiguration: &ionoscloud.AutoscalingGroupReplicaConfigurationArgs{
AvailabilityZone: pulumi.String("string"),
Cores: pulumi.Float64(0),
Ram: pulumi.Float64(0),
CpuFamily: pulumi.String("string"),
Nics: ionoscloud.AutoscalingGroupReplicaConfigurationNicArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationNicArgs{
Lan: pulumi.Float64(0),
Name: pulumi.String("string"),
Dhcp: pulumi.Bool(false),
FirewallActive: pulumi.Bool(false),
FirewallRules: ionoscloud.AutoscalingGroupReplicaConfigurationNicFirewallRuleArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationNicFirewallRuleArgs{
Protocol: pulumi.String("string"),
IcmpCode: pulumi.Float64(0),
IcmpType: pulumi.Float64(0),
Name: pulumi.String("string"),
PortRangeEnd: pulumi.Float64(0),
PortRangeStart: pulumi.Float64(0),
SourceIp: pulumi.String("string"),
SourceMac: pulumi.String("string"),
TargetIp: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
FirewallType: pulumi.String("string"),
FlowLogs: ionoscloud.AutoscalingGroupReplicaConfigurationNicFlowLogArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationNicFlowLogArgs{
Action: pulumi.String("string"),
Bucket: pulumi.String("string"),
Direction: pulumi.String("string"),
Name: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
TargetGroup: &ionoscloud.AutoscalingGroupReplicaConfigurationNicTargetGroupArgs{
Port: pulumi.Float64(0),
TargetGroupId: pulumi.String("string"),
Weight: pulumi.Float64(0),
},
},
},
Volumes: ionoscloud.AutoscalingGroupReplicaConfigurationVolumeArray{
&ionoscloud.AutoscalingGroupReplicaConfigurationVolumeArgs{
BootOrder: pulumi.String("string"),
Name: pulumi.String("string"),
Size: pulumi.Float64(0),
Type: pulumi.String("string"),
BackupUnitId: pulumi.String("string"),
Bus: pulumi.String("string"),
Image: pulumi.String("string"),
ImageAlias: pulumi.String("string"),
ImagePassword: pulumi.String("string"),
SshKeys: pulumi.StringArray{
pulumi.String("string"),
},
UserData: pulumi.String("string"),
},
},
},
AutoscalingGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
Timeouts: &ionoscloud.AutoscalingGroupTimeoutsArgs{
Create: pulumi.String("string"),
Default: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var autoscalingGroupResource = new AutoscalingGroup("autoscalingGroupResource", AutoscalingGroupArgs.builder()
.datacenterId("string")
.maxReplicaCount(0)
.minReplicaCount(0)
.policy(AutoscalingGroupPolicyArgs.builder()
.metric("string")
.scaleInAction(AutoscalingGroupPolicyScaleInActionArgs.builder()
.amount(0)
.amountType("string")
.deleteVolumes(false)
.cooldownPeriod("string")
.terminationPolicyType("string")
.build())
.scaleInThreshold(0)
.scaleOutAction(AutoscalingGroupPolicyScaleOutActionArgs.builder()
.amount(0)
.amountType("string")
.cooldownPeriod("string")
.build())
.scaleOutThreshold(0)
.unit("string")
.range("string")
.build())
.replicaConfiguration(AutoscalingGroupReplicaConfigurationArgs.builder()
.availabilityZone("string")
.cores(0)
.ram(0)
.cpuFamily("string")
.nics(AutoscalingGroupReplicaConfigurationNicArgs.builder()
.lan(0)
.name("string")
.dhcp(false)
.firewallActive(false)
.firewallRules(AutoscalingGroupReplicaConfigurationNicFirewallRuleArgs.builder()
.protocol("string")
.icmpCode(0)
.icmpType(0)
.name("string")
.portRangeEnd(0)
.portRangeStart(0)
.sourceIp("string")
.sourceMac("string")
.targetIp("string")
.type("string")
.build())
.firewallType("string")
.flowLogs(AutoscalingGroupReplicaConfigurationNicFlowLogArgs.builder()
.action("string")
.bucket("string")
.direction("string")
.name("string")
.id("string")
.build())
.targetGroup(AutoscalingGroupReplicaConfigurationNicTargetGroupArgs.builder()
.port(0)
.targetGroupId("string")
.weight(0)
.build())
.build())
.volumes(AutoscalingGroupReplicaConfigurationVolumeArgs.builder()
.bootOrder("string")
.name("string")
.size(0)
.type("string")
.backupUnitId("string")
.bus("string")
.image("string")
.imageAlias("string")
.imagePassword("string")
.sshKeys("string")
.userData("string")
.build())
.build())
.autoscalingGroupId("string")
.name("string")
.timeouts(AutoscalingGroupTimeoutsArgs.builder()
.create("string")
.default_("string")
.delete("string")
.update("string")
.build())
.build());
autoscaling_group_resource = ionoscloud.AutoscalingGroup("autoscalingGroupResource",
datacenter_id="string",
max_replica_count=0,
min_replica_count=0,
policy={
"metric": "string",
"scale_in_action": {
"amount": 0,
"amount_type": "string",
"delete_volumes": False,
"cooldown_period": "string",
"termination_policy_type": "string",
},
"scale_in_threshold": 0,
"scale_out_action": {
"amount": 0,
"amount_type": "string",
"cooldown_period": "string",
},
"scale_out_threshold": 0,
"unit": "string",
"range": "string",
},
replica_configuration={
"availability_zone": "string",
"cores": 0,
"ram": 0,
"cpu_family": "string",
"nics": [{
"lan": 0,
"name": "string",
"dhcp": False,
"firewall_active": False,
"firewall_rules": [{
"protocol": "string",
"icmp_code": 0,
"icmp_type": 0,
"name": "string",
"port_range_end": 0,
"port_range_start": 0,
"source_ip": "string",
"source_mac": "string",
"target_ip": "string",
"type": "string",
}],
"firewall_type": "string",
"flow_logs": [{
"action": "string",
"bucket": "string",
"direction": "string",
"name": "string",
"id": "string",
}],
"target_group": {
"port": 0,
"target_group_id": "string",
"weight": 0,
},
}],
"volumes": [{
"boot_order": "string",
"name": "string",
"size": 0,
"type": "string",
"backup_unit_id": "string",
"bus": "string",
"image": "string",
"image_alias": "string",
"image_password": "string",
"ssh_keys": ["string"],
"user_data": "string",
}],
},
autoscaling_group_id="string",
name="string",
timeouts={
"create": "string",
"default": "string",
"delete": "string",
"update": "string",
})
const autoscalingGroupResource = new ionoscloud.AutoscalingGroup("autoscalingGroupResource", {
datacenterId: "string",
maxReplicaCount: 0,
minReplicaCount: 0,
policy: {
metric: "string",
scaleInAction: {
amount: 0,
amountType: "string",
deleteVolumes: false,
cooldownPeriod: "string",
terminationPolicyType: "string",
},
scaleInThreshold: 0,
scaleOutAction: {
amount: 0,
amountType: "string",
cooldownPeriod: "string",
},
scaleOutThreshold: 0,
unit: "string",
range: "string",
},
replicaConfiguration: {
availabilityZone: "string",
cores: 0,
ram: 0,
cpuFamily: "string",
nics: [{
lan: 0,
name: "string",
dhcp: false,
firewallActive: false,
firewallRules: [{
protocol: "string",
icmpCode: 0,
icmpType: 0,
name: "string",
portRangeEnd: 0,
portRangeStart: 0,
sourceIp: "string",
sourceMac: "string",
targetIp: "string",
type: "string",
}],
firewallType: "string",
flowLogs: [{
action: "string",
bucket: "string",
direction: "string",
name: "string",
id: "string",
}],
targetGroup: {
port: 0,
targetGroupId: "string",
weight: 0,
},
}],
volumes: [{
bootOrder: "string",
name: "string",
size: 0,
type: "string",
backupUnitId: "string",
bus: "string",
image: "string",
imageAlias: "string",
imagePassword: "string",
sshKeys: ["string"],
userData: "string",
}],
},
autoscalingGroupId: "string",
name: "string",
timeouts: {
create: "string",
"default": "string",
"delete": "string",
update: "string",
},
});
type: ionoscloud:AutoscalingGroup
properties:
autoscalingGroupId: string
datacenterId: string
maxReplicaCount: 0
minReplicaCount: 0
name: string
policy:
metric: string
range: string
scaleInAction:
amount: 0
amountType: string
cooldownPeriod: string
deleteVolumes: false
terminationPolicyType: string
scaleInThreshold: 0
scaleOutAction:
amount: 0
amountType: string
cooldownPeriod: string
scaleOutThreshold: 0
unit: string
replicaConfiguration:
availabilityZone: string
cores: 0
cpuFamily: string
nics:
- dhcp: false
firewallActive: false
firewallRules:
- icmpCode: 0
icmpType: 0
name: string
portRangeEnd: 0
portRangeStart: 0
protocol: string
sourceIp: string
sourceMac: string
targetIp: string
type: string
firewallType: string
flowLogs:
- action: string
bucket: string
direction: string
id: string
name: string
lan: 0
name: string
targetGroup:
port: 0
targetGroupId: string
weight: 0
ram: 0
volumes:
- backupUnitId: string
bootOrder: string
bus: string
image: string
imageAlias: string
imagePassword: string
name: string
size: 0
sshKeys:
- string
type: string
userData: string
timeouts:
create: string
default: string
delete: string
update: string
AutoscalingGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AutoscalingGroup resource accepts the following input properties:
- Datacenter
Id string - [string] Unique identifier for the resource
- Max
Replica doubleCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Min
Replica doubleCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Policy
Autoscaling
Group Policy - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- Replica
Configuration AutoscalingGroup Replica Configuration - [List]
- Autoscaling
Group stringId - Name string
- [string] User-defined name for the Autoscaling Group.
- Timeouts
Autoscaling
Group Timeouts
- Datacenter
Id string - [string] Unique identifier for the resource
- Max
Replica float64Count - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Min
Replica float64Count - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Policy
Autoscaling
Group Policy Args - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- Replica
Configuration AutoscalingGroup Replica Configuration Args - [List]
- Autoscaling
Group stringId - Name string
- [string] User-defined name for the Autoscaling Group.
- Timeouts
Autoscaling
Group Timeouts Args
- datacenter
Id String - [string] Unique identifier for the resource
- max
Replica DoubleCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min
Replica DoubleCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- policy
Autoscaling
Group Policy - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica
Configuration AutoscalingGroup Replica Configuration - [List]
- autoscaling
Group StringId - name String
- [string] User-defined name for the Autoscaling Group.
- timeouts
Autoscaling
Group Timeouts
- datacenter
Id string - [string] Unique identifier for the resource
- max
Replica numberCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min
Replica numberCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- policy
Autoscaling
Group Policy - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica
Configuration AutoscalingGroup Replica Configuration - [List]
- autoscaling
Group stringId - name string
- [string] User-defined name for the Autoscaling Group.
- timeouts
Autoscaling
Group Timeouts
- datacenter_
id str - [string] Unique identifier for the resource
- max_
replica_ floatcount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min_
replica_ floatcount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- policy
Autoscaling
Group Policy Args - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica_
configuration AutoscalingGroup Replica Configuration Args - [List]
- autoscaling_
group_ strid - name str
- [string] User-defined name for the Autoscaling Group.
- timeouts
Autoscaling
Group Timeouts Args
- datacenter
Id String - [string] Unique identifier for the resource
- max
Replica NumberCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min
Replica NumberCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- policy Property Map
- [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica
Configuration Property Map - [List]
- autoscaling
Group StringId - name String
- [string] User-defined name for the Autoscaling Group.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the AutoscalingGroup resource produces the following output properties:
Look up Existing AutoscalingGroup Resource
Get an existing AutoscalingGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AutoscalingGroupState, opts?: CustomResourceOptions): AutoscalingGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
autoscaling_group_id: Optional[str] = None,
datacenter_id: Optional[str] = None,
location: Optional[str] = None,
max_replica_count: Optional[float] = None,
min_replica_count: Optional[float] = None,
name: Optional[str] = None,
policy: Optional[AutoscalingGroupPolicyArgs] = None,
replica_configuration: Optional[AutoscalingGroupReplicaConfigurationArgs] = None,
timeouts: Optional[AutoscalingGroupTimeoutsArgs] = None) -> AutoscalingGroup
func GetAutoscalingGroup(ctx *Context, name string, id IDInput, state *AutoscalingGroupState, opts ...ResourceOption) (*AutoscalingGroup, error)
public static AutoscalingGroup Get(string name, Input<string> id, AutoscalingGroupState? state, CustomResourceOptions? opts = null)
public static AutoscalingGroup get(String name, Output<String> id, AutoscalingGroupState state, CustomResourceOptions options)
resources: _: type: ionoscloud:AutoscalingGroup get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Autoscaling
Group stringId - Datacenter
Id string - [string] Unique identifier for the resource
- Location string
- Location of the data center.
- Max
Replica doubleCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Min
Replica doubleCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Policy
Autoscaling
Group Policy - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- Replica
Configuration AutoscalingGroup Replica Configuration - [List]
- Timeouts
Autoscaling
Group Timeouts
- Autoscaling
Group stringId - Datacenter
Id string - [string] Unique identifier for the resource
- Location string
- Location of the data center.
- Max
Replica float64Count - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Min
Replica float64Count - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Policy
Autoscaling
Group Policy Args - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- Replica
Configuration AutoscalingGroup Replica Configuration Args - [List]
- Timeouts
Autoscaling
Group Timeouts Args
- autoscaling
Group StringId - datacenter
Id String - [string] Unique identifier for the resource
- location String
- Location of the data center.
- max
Replica DoubleCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min
Replica DoubleCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- name String
- [string] User-defined name for the Autoscaling Group.
- policy
Autoscaling
Group Policy - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica
Configuration AutoscalingGroup Replica Configuration - [List]
- timeouts
Autoscaling
Group Timeouts
- autoscaling
Group stringId - datacenter
Id string - [string] Unique identifier for the resource
- location string
- Location of the data center.
- max
Replica numberCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min
Replica numberCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- name string
- [string] User-defined name for the Autoscaling Group.
- policy
Autoscaling
Group Policy - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica
Configuration AutoscalingGroup Replica Configuration - [List]
- timeouts
Autoscaling
Group Timeouts
- autoscaling_
group_ strid - datacenter_
id str - [string] Unique identifier for the resource
- location str
- Location of the data center.
- max_
replica_ floatcount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min_
replica_ floatcount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- name str
- [string] User-defined name for the Autoscaling Group.
- policy
Autoscaling
Group Policy Args - [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica_
configuration AutoscalingGroup Replica Configuration Args - [List]
- timeouts
Autoscaling
Group Timeouts Args
- autoscaling
Group StringId - datacenter
Id String - [string] Unique identifier for the resource
- location String
- Location of the data center.
- max
Replica NumberCount - [int] The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- min
Replica NumberCount - [int] The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
- name String
- [string] User-defined name for the Autoscaling Group.
- policy Property Map
- [List] Specifies the behavior of this Autoscaling Group. A policy consists of Triggers and Actions, whereby an Action is some kind of automated behavior, and a Trigger is defined by the circumstances under which the Action is triggered. Currently, two separate Actions, namely Scaling In and Out are supported, triggered through Thresholds defined on a given Metric.
- replica
Configuration Property Map - [List]
- timeouts Property Map
Supporting Types
AutoscalingGroupPolicy, AutoscalingGroupPolicyArgs
- Metric string
- [string] The Metric that should trigger the scaling actions. Metric values are checked at fixed intervals. Possible values:
INSTANCE_CPU_UTILIZATION_AVERAGE
,INSTANCE_NETWORK_IN_BYTES
,INSTANCE_NETWORK_IN_PACKETS
,INSTANCE_NETWORK_OUT_BYTES
,INSTANCE_NETWORK_OUT_PACKETS
- Scale
In AutoscalingAction Group Policy Scale In Action - [list] Specifies the action to take when the
scaleInThreshold
is exceeded. Hereby, scaling in is always about removing VMs that are currently associated with this autoscaling group. Default termination policy is OLDEST_SERVER_FIRST. - Scale
In doubleThreshold - [int] A lower threshold on the value of
metric
. Will be used withless than
(<) operator. Exceeding this will start a Scale-In Action as specified by thescaleInAction
property. The value must have a higher minimum delta to thescaleOutThreshold
depending on themetric
to avoid competitive actions at the same time. - Scale
Out AutoscalingAction Group Policy Scale Out Action - [list] Specifies the action to take when the
scaleOutThreshold
is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group. - Scale
Out doubleThreshold - [int] The upper threshold for the value of the
metric
. Used with thegreater than
(>) operator. A scale-out action is triggered when this value is exceeded, specified by thescaleOutAction
property. The value must have a lower minimum delta to thescaleInThreshold
, depending on the metric, to avoid competing for actions simultaneously. Ifproperties.policy.unit=TOTAL
, a value >= 40 must be chosen. - Unit string
- [string] Units of the applied Metric. Possible values are:
PER_HOUR
,PER_MINUTE
,PER_SECOND
,TOTAL
. - Range string
- [string] Defines the time range, for which the samples will be aggregated. Default is 120s. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- Metric string
- [string] The Metric that should trigger the scaling actions. Metric values are checked at fixed intervals. Possible values:
INSTANCE_CPU_UTILIZATION_AVERAGE
,INSTANCE_NETWORK_IN_BYTES
,INSTANCE_NETWORK_IN_PACKETS
,INSTANCE_NETWORK_OUT_BYTES
,INSTANCE_NETWORK_OUT_PACKETS
- Scale
In AutoscalingAction Group Policy Scale In Action - [list] Specifies the action to take when the
scaleInThreshold
is exceeded. Hereby, scaling in is always about removing VMs that are currently associated with this autoscaling group. Default termination policy is OLDEST_SERVER_FIRST. - Scale
In float64Threshold - [int] A lower threshold on the value of
metric
. Will be used withless than
(<) operator. Exceeding this will start a Scale-In Action as specified by thescaleInAction
property. The value must have a higher minimum delta to thescaleOutThreshold
depending on themetric
to avoid competitive actions at the same time. - Scale
Out AutoscalingAction Group Policy Scale Out Action - [list] Specifies the action to take when the
scaleOutThreshold
is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group. - Scale
Out float64Threshold - [int] The upper threshold for the value of the
metric
. Used with thegreater than
(>) operator. A scale-out action is triggered when this value is exceeded, specified by thescaleOutAction
property. The value must have a lower minimum delta to thescaleInThreshold
, depending on the metric, to avoid competing for actions simultaneously. Ifproperties.policy.unit=TOTAL
, a value >= 40 must be chosen. - Unit string
- [string] Units of the applied Metric. Possible values are:
PER_HOUR
,PER_MINUTE
,PER_SECOND
,TOTAL
. - Range string
- [string] Defines the time range, for which the samples will be aggregated. Default is 120s. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- metric String
- [string] The Metric that should trigger the scaling actions. Metric values are checked at fixed intervals. Possible values:
INSTANCE_CPU_UTILIZATION_AVERAGE
,INSTANCE_NETWORK_IN_BYTES
,INSTANCE_NETWORK_IN_PACKETS
,INSTANCE_NETWORK_OUT_BYTES
,INSTANCE_NETWORK_OUT_PACKETS
- scale
In AutoscalingAction Group Policy Scale In Action - [list] Specifies the action to take when the
scaleInThreshold
is exceeded. Hereby, scaling in is always about removing VMs that are currently associated with this autoscaling group. Default termination policy is OLDEST_SERVER_FIRST. - scale
In DoubleThreshold - [int] A lower threshold on the value of
metric
. Will be used withless than
(<) operator. Exceeding this will start a Scale-In Action as specified by thescaleInAction
property. The value must have a higher minimum delta to thescaleOutThreshold
depending on themetric
to avoid competitive actions at the same time. - scale
Out AutoscalingAction Group Policy Scale Out Action - [list] Specifies the action to take when the
scaleOutThreshold
is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group. - scale
Out DoubleThreshold - [int] The upper threshold for the value of the
metric
. Used with thegreater than
(>) operator. A scale-out action is triggered when this value is exceeded, specified by thescaleOutAction
property. The value must have a lower minimum delta to thescaleInThreshold
, depending on the metric, to avoid competing for actions simultaneously. Ifproperties.policy.unit=TOTAL
, a value >= 40 must be chosen. - unit String
- [string] Units of the applied Metric. Possible values are:
PER_HOUR
,PER_MINUTE
,PER_SECOND
,TOTAL
. - range String
- [string] Defines the time range, for which the samples will be aggregated. Default is 120s. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- metric string
- [string] The Metric that should trigger the scaling actions. Metric values are checked at fixed intervals. Possible values:
INSTANCE_CPU_UTILIZATION_AVERAGE
,INSTANCE_NETWORK_IN_BYTES
,INSTANCE_NETWORK_IN_PACKETS
,INSTANCE_NETWORK_OUT_BYTES
,INSTANCE_NETWORK_OUT_PACKETS
- scale
In AutoscalingAction Group Policy Scale In Action - [list] Specifies the action to take when the
scaleInThreshold
is exceeded. Hereby, scaling in is always about removing VMs that are currently associated with this autoscaling group. Default termination policy is OLDEST_SERVER_FIRST. - scale
In numberThreshold - [int] A lower threshold on the value of
metric
. Will be used withless than
(<) operator. Exceeding this will start a Scale-In Action as specified by thescaleInAction
property. The value must have a higher minimum delta to thescaleOutThreshold
depending on themetric
to avoid competitive actions at the same time. - scale
Out AutoscalingAction Group Policy Scale Out Action - [list] Specifies the action to take when the
scaleOutThreshold
is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group. - scale
Out numberThreshold - [int] The upper threshold for the value of the
metric
. Used with thegreater than
(>) operator. A scale-out action is triggered when this value is exceeded, specified by thescaleOutAction
property. The value must have a lower minimum delta to thescaleInThreshold
, depending on the metric, to avoid competing for actions simultaneously. Ifproperties.policy.unit=TOTAL
, a value >= 40 must be chosen. - unit string
- [string] Units of the applied Metric. Possible values are:
PER_HOUR
,PER_MINUTE
,PER_SECOND
,TOTAL
. - range string
- [string] Defines the time range, for which the samples will be aggregated. Default is 120s. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- metric str
- [string] The Metric that should trigger the scaling actions. Metric values are checked at fixed intervals. Possible values:
INSTANCE_CPU_UTILIZATION_AVERAGE
,INSTANCE_NETWORK_IN_BYTES
,INSTANCE_NETWORK_IN_PACKETS
,INSTANCE_NETWORK_OUT_BYTES
,INSTANCE_NETWORK_OUT_PACKETS
- scale_
in_ Autoscalingaction Group Policy Scale In Action - [list] Specifies the action to take when the
scaleInThreshold
is exceeded. Hereby, scaling in is always about removing VMs that are currently associated with this autoscaling group. Default termination policy is OLDEST_SERVER_FIRST. - scale_
in_ floatthreshold - [int] A lower threshold on the value of
metric
. Will be used withless than
(<) operator. Exceeding this will start a Scale-In Action as specified by thescaleInAction
property. The value must have a higher minimum delta to thescaleOutThreshold
depending on themetric
to avoid competitive actions at the same time. - scale_
out_ Autoscalingaction Group Policy Scale Out Action - [list] Specifies the action to take when the
scaleOutThreshold
is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group. - scale_
out_ floatthreshold - [int] The upper threshold for the value of the
metric
. Used with thegreater than
(>) operator. A scale-out action is triggered when this value is exceeded, specified by thescaleOutAction
property. The value must have a lower minimum delta to thescaleInThreshold
, depending on the metric, to avoid competing for actions simultaneously. Ifproperties.policy.unit=TOTAL
, a value >= 40 must be chosen. - unit str
- [string] Units of the applied Metric. Possible values are:
PER_HOUR
,PER_MINUTE
,PER_SECOND
,TOTAL
. - range str
- [string] Defines the time range, for which the samples will be aggregated. Default is 120s. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- metric String
- [string] The Metric that should trigger the scaling actions. Metric values are checked at fixed intervals. Possible values:
INSTANCE_CPU_UTILIZATION_AVERAGE
,INSTANCE_NETWORK_IN_BYTES
,INSTANCE_NETWORK_IN_PACKETS
,INSTANCE_NETWORK_OUT_BYTES
,INSTANCE_NETWORK_OUT_PACKETS
- scale
In Property MapAction - [list] Specifies the action to take when the
scaleInThreshold
is exceeded. Hereby, scaling in is always about removing VMs that are currently associated with this autoscaling group. Default termination policy is OLDEST_SERVER_FIRST. - scale
In NumberThreshold - [int] A lower threshold on the value of
metric
. Will be used withless than
(<) operator. Exceeding this will start a Scale-In Action as specified by thescaleInAction
property. The value must have a higher minimum delta to thescaleOutThreshold
depending on themetric
to avoid competitive actions at the same time. - scale
Out Property MapAction - [list] Specifies the action to take when the
scaleOutThreshold
is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group. - scale
Out NumberThreshold - [int] The upper threshold for the value of the
metric
. Used with thegreater than
(>) operator. A scale-out action is triggered when this value is exceeded, specified by thescaleOutAction
property. The value must have a lower minimum delta to thescaleInThreshold
, depending on the metric, to avoid competing for actions simultaneously. Ifproperties.policy.unit=TOTAL
, a value >= 40 must be chosen. - unit String
- [string] Units of the applied Metric. Possible values are:
PER_HOUR
,PER_MINUTE
,PER_SECOND
,TOTAL
. - range String
- [string] Defines the time range, for which the samples will be aggregated. Default is 120s. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
AutoscalingGroupPolicyScaleInAction, AutoscalingGroupPolicyScaleInActionArgs
- Amount double
- [int] When
amountType == ABSOLUTE
, this is the number of VMs removed in one step. WhenamountType == PERCENTAGE
, this is a percentage value, which will be applied to the autoscaling group's currenttargetReplicaCount
in order to derive the number of VMs that will be removed in one step. There will always be at least one VM removed. For SCALE_IN operation new volumes are NOT deleted after the server deletion. - Amount
Type string - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - Delete
Volumes bool - [bool] If set to
true
, when deleting a replica during scale in, any attached volume will also be deleted. When set tofalse
, all volumes remain in the datacenter and must be deleted manually. Note that every scale-out creates new volumes. When they are not deleted, they will eventually use all of your contracts resource limits. At this point, scaling out would not be possible anymore. - Cooldown
Period string - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- Termination
Policy stringType - [string] The type of the termination policy for the autoscaling group so that a specific pattern is followed for Scaling-In replicas. Default termination policy is
OLDEST_SERVER_FIRST
. Possible values are:OLDEST_SERVER_FIRST
,NEWEST_SERVER_FIRST
,RANDOM
- Amount float64
- [int] When
amountType == ABSOLUTE
, this is the number of VMs removed in one step. WhenamountType == PERCENTAGE
, this is a percentage value, which will be applied to the autoscaling group's currenttargetReplicaCount
in order to derive the number of VMs that will be removed in one step. There will always be at least one VM removed. For SCALE_IN operation new volumes are NOT deleted after the server deletion. - Amount
Type string - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - Delete
Volumes bool - [bool] If set to
true
, when deleting a replica during scale in, any attached volume will also be deleted. When set tofalse
, all volumes remain in the datacenter and must be deleted manually. Note that every scale-out creates new volumes. When they are not deleted, they will eventually use all of your contracts resource limits. At this point, scaling out would not be possible anymore. - Cooldown
Period string - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- Termination
Policy stringType - [string] The type of the termination policy for the autoscaling group so that a specific pattern is followed for Scaling-In replicas. Default termination policy is
OLDEST_SERVER_FIRST
. Possible values are:OLDEST_SERVER_FIRST
,NEWEST_SERVER_FIRST
,RANDOM
- amount Double
- [int] When
amountType == ABSOLUTE
, this is the number of VMs removed in one step. WhenamountType == PERCENTAGE
, this is a percentage value, which will be applied to the autoscaling group's currenttargetReplicaCount
in order to derive the number of VMs that will be removed in one step. There will always be at least one VM removed. For SCALE_IN operation new volumes are NOT deleted after the server deletion. - amount
Type String - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - delete
Volumes Boolean - [bool] If set to
true
, when deleting a replica during scale in, any attached volume will also be deleted. When set tofalse
, all volumes remain in the datacenter and must be deleted manually. Note that every scale-out creates new volumes. When they are not deleted, they will eventually use all of your contracts resource limits. At this point, scaling out would not be possible anymore. - cooldown
Period String - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- termination
Policy StringType - [string] The type of the termination policy for the autoscaling group so that a specific pattern is followed for Scaling-In replicas. Default termination policy is
OLDEST_SERVER_FIRST
. Possible values are:OLDEST_SERVER_FIRST
,NEWEST_SERVER_FIRST
,RANDOM
- amount number
- [int] When
amountType == ABSOLUTE
, this is the number of VMs removed in one step. WhenamountType == PERCENTAGE
, this is a percentage value, which will be applied to the autoscaling group's currenttargetReplicaCount
in order to derive the number of VMs that will be removed in one step. There will always be at least one VM removed. For SCALE_IN operation new volumes are NOT deleted after the server deletion. - amount
Type string - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - delete
Volumes boolean - [bool] If set to
true
, when deleting a replica during scale in, any attached volume will also be deleted. When set tofalse
, all volumes remain in the datacenter and must be deleted manually. Note that every scale-out creates new volumes. When they are not deleted, they will eventually use all of your contracts resource limits. At this point, scaling out would not be possible anymore. - cooldown
Period string - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- termination
Policy stringType - [string] The type of the termination policy for the autoscaling group so that a specific pattern is followed for Scaling-In replicas. Default termination policy is
OLDEST_SERVER_FIRST
. Possible values are:OLDEST_SERVER_FIRST
,NEWEST_SERVER_FIRST
,RANDOM
- amount float
- [int] When
amountType == ABSOLUTE
, this is the number of VMs removed in one step. WhenamountType == PERCENTAGE
, this is a percentage value, which will be applied to the autoscaling group's currenttargetReplicaCount
in order to derive the number of VMs that will be removed in one step. There will always be at least one VM removed. For SCALE_IN operation new volumes are NOT deleted after the server deletion. - amount_
type str - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - delete_
volumes bool - [bool] If set to
true
, when deleting a replica during scale in, any attached volume will also be deleted. When set tofalse
, all volumes remain in the datacenter and must be deleted manually. Note that every scale-out creates new volumes. When they are not deleted, they will eventually use all of your contracts resource limits. At this point, scaling out would not be possible anymore. - cooldown_
period str - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- termination_
policy_ strtype - [string] The type of the termination policy for the autoscaling group so that a specific pattern is followed for Scaling-In replicas. Default termination policy is
OLDEST_SERVER_FIRST
. Possible values are:OLDEST_SERVER_FIRST
,NEWEST_SERVER_FIRST
,RANDOM
- amount Number
- [int] When
amountType == ABSOLUTE
, this is the number of VMs removed in one step. WhenamountType == PERCENTAGE
, this is a percentage value, which will be applied to the autoscaling group's currenttargetReplicaCount
in order to derive the number of VMs that will be removed in one step. There will always be at least one VM removed. For SCALE_IN operation new volumes are NOT deleted after the server deletion. - amount
Type String - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - delete
Volumes Boolean - [bool] If set to
true
, when deleting a replica during scale in, any attached volume will also be deleted. When set tofalse
, all volumes remain in the datacenter and must be deleted manually. Note that every scale-out creates new volumes. When they are not deleted, they will eventually use all of your contracts resource limits. At this point, scaling out would not be possible anymore. - cooldown
Period String - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- termination
Policy StringType - [string] The type of the termination policy for the autoscaling group so that a specific pattern is followed for Scaling-In replicas. Default termination policy is
OLDEST_SERVER_FIRST
. Possible values are:OLDEST_SERVER_FIRST
,NEWEST_SERVER_FIRST
,RANDOM
AutoscalingGroupPolicyScaleOutAction, AutoscalingGroupPolicyScaleOutActionArgs
- Amount double
- [int] When
amountType=ABSOLUTE
specifies the absolute number of VMs that are added. The value must be between 1 to 10.amountType=PERCENTAGE
specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200. At least one VM is always added. - Amount
Type string - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - Cooldown
Period string - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- Amount float64
- [int] When
amountType=ABSOLUTE
specifies the absolute number of VMs that are added. The value must be between 1 to 10.amountType=PERCENTAGE
specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200. At least one VM is always added. - Amount
Type string - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - Cooldown
Period string - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- amount Double
- [int] When
amountType=ABSOLUTE
specifies the absolute number of VMs that are added. The value must be between 1 to 10.amountType=PERCENTAGE
specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200. At least one VM is always added. - amount
Type String - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - cooldown
Period String - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- amount number
- [int] When
amountType=ABSOLUTE
specifies the absolute number of VMs that are added. The value must be between 1 to 10.amountType=PERCENTAGE
specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200. At least one VM is always added. - amount
Type string - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - cooldown
Period string - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- amount float
- [int] When
amountType=ABSOLUTE
specifies the absolute number of VMs that are added. The value must be between 1 to 10.amountType=PERCENTAGE
specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200. At least one VM is always added. - amount_
type str - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - cooldown_
period str - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
- amount Number
- [int] When
amountType=ABSOLUTE
specifies the absolute number of VMs that are added. The value must be between 1 to 10.amountType=PERCENTAGE
specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200. At least one VM is always added. - amount
Type String - [string] The type for the given amount. Possible values are:
ABSOLUTE
,PERCENTAGE
. - cooldown
Period String - [string] Minimum time to pass after this Scaling action has started, until the next Scaling action will be started. Additionally, if a Scaling action is currently in progress, no second Scaling action will be started for the same autoscaling group. Instead, the Metric will be re-evaluated after the current Scaling action is completed (either successfully or with failures). This is validated with a minimum value of 2 minutes and a maximum of 24 hours currently. Default value is 5 minutes if not given. Note that when you set it to values like 5m the API will automatically transform it in PT5M, so the plan will show you a diff in state that should be ignored.
AutoscalingGroupReplicaConfiguration, AutoscalingGroupReplicaConfigurationArgs
- Availability
Zone string - [string] The zone where the VMs are created using this configuration. Possible values are:
AUTO
,ZONE_1
,ZONE_2
. - Cores double
- [int] The total number of cores for the VMs.
- Ram double
- [int] The amount of memory for the VMs 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.
- Cpu
Family string - [string] CPU family for the VMs created using this configuration. If null, the VM will be created with the default CPU family for the assigned location. Possible values are:
INTEL_SKYLAKE
,INTEL_XEON
. - Nics
List<Autoscaling
Group Replica Configuration Nic> - Set of NICs associated with this Replica.
- Volumes
List<Autoscaling
Group Replica Configuration Volume> - [list] List of volumes associated with this Replica.
- Availability
Zone string - [string] The zone where the VMs are created using this configuration. Possible values are:
AUTO
,ZONE_1
,ZONE_2
. - Cores float64
- [int] The total number of cores for the VMs.
- Ram float64
- [int] The amount of memory for the VMs 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.
- Cpu
Family string - [string] CPU family for the VMs created using this configuration. If null, the VM will be created with the default CPU family for the assigned location. Possible values are:
INTEL_SKYLAKE
,INTEL_XEON
. - Nics
[]Autoscaling
Group Replica Configuration Nic - Set of NICs associated with this Replica.
- Volumes
[]Autoscaling
Group Replica Configuration Volume - [list] List of volumes associated with this Replica.
- availability
Zone String - [string] The zone where the VMs are created using this configuration. Possible values are:
AUTO
,ZONE_1
,ZONE_2
. - cores Double
- [int] The total number of cores for the VMs.
- ram Double
- [int] The amount of memory for the VMs 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.
- cpu
Family String - [string] CPU family for the VMs created using this configuration. If null, the VM will be created with the default CPU family for the assigned location. Possible values are:
INTEL_SKYLAKE
,INTEL_XEON
. - nics
List<Autoscaling
Group Replica Configuration Nic> - Set of NICs associated with this Replica.
- volumes
List<Autoscaling
Group Replica Configuration Volume> - [list] List of volumes associated with this Replica.
- availability
Zone string - [string] The zone where the VMs are created using this configuration. Possible values are:
AUTO
,ZONE_1
,ZONE_2
. - cores number
- [int] The total number of cores for the VMs.
- ram number
- [int] The amount of memory for the VMs 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.
- cpu
Family string - [string] CPU family for the VMs created using this configuration. If null, the VM will be created with the default CPU family for the assigned location. Possible values are:
INTEL_SKYLAKE
,INTEL_XEON
. - nics
Autoscaling
Group Replica Configuration Nic[] - Set of NICs associated with this Replica.
- volumes
Autoscaling
Group Replica Configuration Volume[] - [list] List of volumes associated with this Replica.
- availability_
zone str - [string] The zone where the VMs are created using this configuration. Possible values are:
AUTO
,ZONE_1
,ZONE_2
. - cores float
- [int] The total number of cores for the VMs.
- ram float
- [int] The amount of memory for the VMs 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.
- cpu_
family str - [string] CPU family for the VMs created using this configuration. If null, the VM will be created with the default CPU family for the assigned location. Possible values are:
INTEL_SKYLAKE
,INTEL_XEON
. - nics
Sequence[Autoscaling
Group Replica Configuration Nic] - Set of NICs associated with this Replica.
- volumes
Sequence[Autoscaling
Group Replica Configuration Volume] - [list] List of volumes associated with this Replica.
- availability
Zone String - [string] The zone where the VMs are created using this configuration. Possible values are:
AUTO
,ZONE_1
,ZONE_2
. - cores Number
- [int] The total number of cores for the VMs.
- ram Number
- [int] The amount of memory for the VMs 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.
- cpu
Family String - [string] CPU family for the VMs created using this configuration. If null, the VM will be created with the default CPU family for the assigned location. Possible values are:
INTEL_SKYLAKE
,INTEL_XEON
. - nics List<Property Map>
- Set of NICs associated with this Replica.
- volumes List<Property Map>
- [list] List of volumes associated with this Replica.
AutoscalingGroupReplicaConfigurationNic, AutoscalingGroupReplicaConfigurationNicArgs
- Lan double
- Lan ID for this replica Nic.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Dhcp bool
- Dhcp flag for this replica Nic. This is an optional attribute with default value of 'true' if not given in the request payload or given as null.
- Firewall
Active bool - Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.
- Firewall
Rules List<AutoscalingGroup Replica Configuration Nic Firewall Rule> - List of all firewall rules for the specified NIC.
- Firewall
Type string - The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
- Flow
Logs List<AutoscalingGroup Replica Configuration Nic Flow Log> - List of all flow logs for the specified NIC.
- Target
Group AutoscalingGroup Replica Configuration Nic Target Group - In order to link VM to ALB, target group must be provided.
- Lan float64
- Lan ID for this replica Nic.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Dhcp bool
- Dhcp flag for this replica Nic. This is an optional attribute with default value of 'true' if not given in the request payload or given as null.
- Firewall
Active bool - Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.
- Firewall
Rules []AutoscalingGroup Replica Configuration Nic Firewall Rule - List of all firewall rules for the specified NIC.
- Firewall
Type string - The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
- Flow
Logs []AutoscalingGroup Replica Configuration Nic Flow Log - List of all flow logs for the specified NIC.
- Target
Group AutoscalingGroup Replica Configuration Nic Target Group - In order to link VM to ALB, target group must be provided.
- lan Double
- Lan ID for this replica Nic.
- name String
- [string] User-defined name for the Autoscaling Group.
- dhcp Boolean
- Dhcp flag for this replica Nic. This is an optional attribute with default value of 'true' if not given in the request payload or given as null.
- firewall
Active Boolean - Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.
- firewall
Rules List<AutoscalingGroup Replica Configuration Nic Firewall Rule> - List of all firewall rules for the specified NIC.
- firewall
Type String - The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
- flow
Logs List<AutoscalingGroup Replica Configuration Nic Flow Log> - List of all flow logs for the specified NIC.
- target
Group AutoscalingGroup Replica Configuration Nic Target Group - In order to link VM to ALB, target group must be provided.
- lan number
- Lan ID for this replica Nic.
- name string
- [string] User-defined name for the Autoscaling Group.
- dhcp boolean
- Dhcp flag for this replica Nic. This is an optional attribute with default value of 'true' if not given in the request payload or given as null.
- firewall
Active boolean - Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.
- firewall
Rules AutoscalingGroup Replica Configuration Nic Firewall Rule[] - List of all firewall rules for the specified NIC.
- firewall
Type string - The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
- flow
Logs AutoscalingGroup Replica Configuration Nic Flow Log[] - List of all flow logs for the specified NIC.
- target
Group AutoscalingGroup Replica Configuration Nic Target Group - In order to link VM to ALB, target group must be provided.
- lan float
- Lan ID for this replica Nic.
- name str
- [string] User-defined name for the Autoscaling Group.
- dhcp bool
- Dhcp flag for this replica Nic. This is an optional attribute with default value of 'true' if not given in the request payload or given as null.
- firewall_
active bool - Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.
- firewall_
rules Sequence[AutoscalingGroup Replica Configuration Nic Firewall Rule] - List of all firewall rules for the specified NIC.
- firewall_
type str - The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
- flow_
logs Sequence[AutoscalingGroup Replica Configuration Nic Flow Log] - List of all flow logs for the specified NIC.
- target_
group AutoscalingGroup Replica Configuration Nic Target Group - In order to link VM to ALB, target group must be provided.
- lan Number
- Lan ID for this replica Nic.
- name String
- [string] User-defined name for the Autoscaling Group.
- dhcp Boolean
- Dhcp flag for this replica Nic. This is an optional attribute with default value of 'true' if not given in the request payload or given as null.
- firewall
Active Boolean - Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.
- firewall
Rules List<Property Map> - List of all firewall rules for the specified NIC.
- firewall
Type String - The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
- flow
Logs List<Property Map> - List of all flow logs for the specified NIC.
- target
Group Property Map - In order to link VM to ALB, target group must be provided.
AutoscalingGroupReplicaConfigurationNicFirewallRule, AutoscalingGroupReplicaConfigurationNicFirewallRuleArgs
- Protocol string
- The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
- Icmp
Code double - Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null' allows all codes.
- Icmp
Type double - Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Port
Range doubleEnd - Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- Port
Range doubleStart - Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- Source
Ip string - Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
- Source
Mac string - Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
- Target
Ip string - If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
- Type string
- The firewall rule type. If not specified, the default value 'INGRESS' is used.
- Protocol string
- The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
- Icmp
Code float64 - Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null' allows all codes.
- Icmp
Type float64 - Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Port
Range float64End - Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- Port
Range float64Start - Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- Source
Ip string - Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
- Source
Mac string - Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
- Target
Ip string - If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
- Type string
- The firewall rule type. If not specified, the default value 'INGRESS' is used.
- protocol String
- The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
- icmp
Code Double - Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null' allows all codes.
- icmp
Type Double - Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
- name String
- [string] User-defined name for the Autoscaling Group.
- port
Range DoubleEnd - Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- port
Range DoubleStart - Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- source
Ip String - Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
- source
Mac String - Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
- target
Ip String - If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
- type String
- The firewall rule type. If not specified, the default value 'INGRESS' is used.
- protocol string
- The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
- icmp
Code number - Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null' allows all codes.
- icmp
Type number - Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
- name string
- [string] User-defined name for the Autoscaling Group.
- port
Range numberEnd - Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- port
Range numberStart - Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- source
Ip string - Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
- source
Mac string - Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
- target
Ip string - If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
- type string
- The firewall rule type. If not specified, the default value 'INGRESS' is used.
- protocol str
- The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
- icmp_
code float - Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null' allows all codes.
- icmp_
type float - Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
- name str
- [string] User-defined name for the Autoscaling Group.
- port_
range_ floatend - Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- port_
range_ floatstart - Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- source_
ip str - Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
- source_
mac str - Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
- target_
ip str - If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
- type str
- The firewall rule type. If not specified, the default value 'INGRESS' is used.
- protocol String
- The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
- icmp
Code Number - Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null' allows all codes.
- icmp
Type Number - Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
- name String
- [string] User-defined name for the Autoscaling Group.
- port
Range NumberEnd - Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- port
Range NumberStart - Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'port_range_start' and 'port_range_end' allows all ports.
- source
Ip String - Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
- source
Mac String - Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
- target
Ip String - If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
- type String
- The firewall rule type. If not specified, the default value 'INGRESS' is used.
AutoscalingGroupReplicaConfigurationNicFlowLog, AutoscalingGroupReplicaConfigurationNicFlowLogArgs
- Action string
- Specifies the traffic direction pattern. Valid values: ACCEPTED, REJECTED, ALL. Immutable, forces re-recreation of the nic resource.
- Bucket string
- The bucket name of an existing IONOS Object Storage bucket. Immutable, forces re-recreation of the nic resource.
- Direction string
- Specifies the traffic direction pattern. Valid values: INGRESS, EGRESS, BIDIRECTIONAL. Immutable, forces re-recreation of the nic resource.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Id string
- The resource's unique identifier.
- Action string
- Specifies the traffic direction pattern. Valid values: ACCEPTED, REJECTED, ALL. Immutable, forces re-recreation of the nic resource.
- Bucket string
- The bucket name of an existing IONOS Object Storage bucket. Immutable, forces re-recreation of the nic resource.
- Direction string
- Specifies the traffic direction pattern. Valid values: INGRESS, EGRESS, BIDIRECTIONAL. Immutable, forces re-recreation of the nic resource.
- Name string
- [string] User-defined name for the Autoscaling Group.
- Id string
- The resource's unique identifier.
- action String
- Specifies the traffic direction pattern. Valid values: ACCEPTED, REJECTED, ALL. Immutable, forces re-recreation of the nic resource.
- bucket String
- The bucket name of an existing IONOS Object Storage bucket. Immutable, forces re-recreation of the nic resource.
- direction String
- Specifies the traffic direction pattern. Valid values: INGRESS, EGRESS, BIDIRECTIONAL. Immutable, forces re-recreation of the nic resource.
- name String
- [string] User-defined name for the Autoscaling Group.
- id String
- The resource's unique identifier.
- action string
- Specifies the traffic direction pattern. Valid values: ACCEPTED, REJECTED, ALL. Immutable, forces re-recreation of the nic resource.
- bucket string
- The bucket name of an existing IONOS Object Storage bucket. Immutable, forces re-recreation of the nic resource.
- direction string
- Specifies the traffic direction pattern. Valid values: INGRESS, EGRESS, BIDIRECTIONAL. Immutable, forces re-recreation of the nic resource.
- name string
- [string] User-defined name for the Autoscaling Group.
- id string
- The resource's unique identifier.
- action str
- Specifies the traffic direction pattern. Valid values: ACCEPTED, REJECTED, ALL. Immutable, forces re-recreation of the nic resource.
- bucket str
- The bucket name of an existing IONOS Object Storage bucket. Immutable, forces re-recreation of the nic resource.
- direction str
- Specifies the traffic direction pattern. Valid values: INGRESS, EGRESS, BIDIRECTIONAL. Immutable, forces re-recreation of the nic resource.
- name str
- [string] User-defined name for the Autoscaling Group.
- id str
- The resource's unique identifier.
- action String
- Specifies the traffic direction pattern. Valid values: ACCEPTED, REJECTED, ALL. Immutable, forces re-recreation of the nic resource.
- bucket String
- The bucket name of an existing IONOS Object Storage bucket. Immutable, forces re-recreation of the nic resource.
- direction String
- Specifies the traffic direction pattern. Valid values: INGRESS, EGRESS, BIDIRECTIONAL. Immutable, forces re-recreation of the nic resource.
- name String
- [string] User-defined name for the Autoscaling Group.
- id String
- The resource's unique identifier.
AutoscalingGroupReplicaConfigurationNicTargetGroup, AutoscalingGroupReplicaConfigurationNicTargetGroupArgs
- Port double
- The port for the target group.
- Target
Group stringId - The ID of the target group.
- Weight double
- The weight for the target group.
- Port float64
- The port for the target group.
- Target
Group stringId - The ID of the target group.
- Weight float64
- The weight for the target group.
- port Double
- The port for the target group.
- target
Group StringId - The ID of the target group.
- weight Double
- The weight for the target group.
- port number
- The port for the target group.
- target
Group stringId - The ID of the target group.
- weight number
- The weight for the target group.
- port float
- The port for the target group.
- target_
group_ strid - The ID of the target group.
- weight float
- The weight for the target group.
- port Number
- The port for the target group.
- target
Group StringId - The ID of the target group.
- weight Number
- The weight for the target group.
AutoscalingGroupReplicaConfigurationVolume, AutoscalingGroupReplicaConfigurationVolumeArgs
- Boot
Order string - [string] Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the volume as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
- Name string
- [string] Name for this replica volume.
- Size double
- [int] Name for this replica volume.
- Type string
- [string] Storage Type for this replica volume. Possible values:
SSD
,HDD
,SSD_STANDARD
orSSD_PREMIUM
. - Backup
Unit stringId - [string] The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either
public image
orimageAlias
in conjunction with this property. - Bus string
- [string] The bus type of the volume. Default setting is
VIRTIO
. The bus typeIDE
is also supported. - Image string
- [string] The image installed on the volume. Only the UUID of the image is presently supported.
- Image
Alias string - [string] The image installed on the volume. Must be an
imageAlias
as specified via the images API. Note that one ofimage
orimageAlias
must be set, but not both. - Image
Password string - [string] Image password for this replica volume.
- Ssh
Keys List<string> - List of ssh keys, supports values or paths to files. Cannot be changed at update.
- User
Data string - [string] User-data (Cloud Init) for this replica volume. Make sure you provide a Cloud Init compatible image in conjunction with this parameter.
- Boot
Order string - [string] Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the volume as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
- Name string
- [string] Name for this replica volume.
- Size float64
- [int] Name for this replica volume.
- Type string
- [string] Storage Type for this replica volume. Possible values:
SSD
,HDD
,SSD_STANDARD
orSSD_PREMIUM
. - Backup
Unit stringId - [string] The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either
public image
orimageAlias
in conjunction with this property. - Bus string
- [string] The bus type of the volume. Default setting is
VIRTIO
. The bus typeIDE
is also supported. - Image string
- [string] The image installed on the volume. Only the UUID of the image is presently supported.
- Image
Alias string - [string] The image installed on the volume. Must be an
imageAlias
as specified via the images API. Note that one ofimage
orimageAlias
must be set, but not both. - Image
Password string - [string] Image password for this replica volume.
- Ssh
Keys []string - List of ssh keys, supports values or paths to files. Cannot be changed at update.
- User
Data string - [string] User-data (Cloud Init) for this replica volume. Make sure you provide a Cloud Init compatible image in conjunction with this parameter.
- boot
Order String - [string] Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the volume as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
- name String
- [string] Name for this replica volume.
- size Double
- [int] Name for this replica volume.
- type String
- [string] Storage Type for this replica volume. Possible values:
SSD
,HDD
,SSD_STANDARD
orSSD_PREMIUM
. - backup
Unit StringId - [string] The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either
public image
orimageAlias
in conjunction with this property. - bus String
- [string] The bus type of the volume. Default setting is
VIRTIO
. The bus typeIDE
is also supported. - image String
- [string] The image installed on the volume. Only the UUID of the image is presently supported.
- image
Alias String - [string] The image installed on the volume. Must be an
imageAlias
as specified via the images API. Note that one ofimage
orimageAlias
must be set, but not both. - image
Password String - [string] Image password for this replica volume.
- ssh
Keys List<String> - List of ssh keys, supports values or paths to files. Cannot be changed at update.
- user
Data String - [string] User-data (Cloud Init) for this replica volume. Make sure you provide a Cloud Init compatible image in conjunction with this parameter.
- boot
Order string - [string] Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the volume as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
- name string
- [string] Name for this replica volume.
- size number
- [int] Name for this replica volume.
- type string
- [string] Storage Type for this replica volume. Possible values:
SSD
,HDD
,SSD_STANDARD
orSSD_PREMIUM
. - backup
Unit stringId - [string] The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either
public image
orimageAlias
in conjunction with this property. - bus string
- [string] The bus type of the volume. Default setting is
VIRTIO
. The bus typeIDE
is also supported. - image string
- [string] The image installed on the volume. Only the UUID of the image is presently supported.
- image
Alias string - [string] The image installed on the volume. Must be an
imageAlias
as specified via the images API. Note that one ofimage
orimageAlias
must be set, but not both. - image
Password string - [string] Image password for this replica volume.
- ssh
Keys string[] - List of ssh keys, supports values or paths to files. Cannot be changed at update.
- user
Data string - [string] User-data (Cloud Init) for this replica volume. Make sure you provide a Cloud Init compatible image in conjunction with this parameter.
- boot_
order str - [string] Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the volume as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
- name str
- [string] Name for this replica volume.
- size float
- [int] Name for this replica volume.
- type str
- [string] Storage Type for this replica volume. Possible values:
SSD
,HDD
,SSD_STANDARD
orSSD_PREMIUM
. - backup_
unit_ strid - [string] The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either
public image
orimageAlias
in conjunction with this property. - bus str
- [string] The bus type of the volume. Default setting is
VIRTIO
. The bus typeIDE
is also supported. - image str
- [string] The image installed on the volume. Only the UUID of the image is presently supported.
- image_
alias str - [string] The image installed on the volume. Must be an
imageAlias
as specified via the images API. Note that one ofimage
orimageAlias
must be set, but not both. - image_
password str - [string] Image password for this replica volume.
- ssh_
keys Sequence[str] - List of ssh keys, supports values or paths to files. Cannot be changed at update.
- user_
data str - [string] User-data (Cloud Init) for this replica volume. Make sure you provide a Cloud Init compatible image in conjunction with this parameter.
- boot
Order String - [string] Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the volume as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
- name String
- [string] Name for this replica volume.
- size Number
- [int] Name for this replica volume.
- type String
- [string] Storage Type for this replica volume. Possible values:
SSD
,HDD
,SSD_STANDARD
orSSD_PREMIUM
. - backup
Unit StringId - [string] The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either
public image
orimageAlias
in conjunction with this property. - bus String
- [string] The bus type of the volume. Default setting is
VIRTIO
. The bus typeIDE
is also supported. - image String
- [string] The image installed on the volume. Only the UUID of the image is presently supported.
- image
Alias String - [string] The image installed on the volume. Must be an
imageAlias
as specified via the images API. Note that one ofimage
orimageAlias
must be set, but not both. - image
Password String - [string] Image password for this replica volume.
- ssh
Keys List<String> - List of ssh keys, supports values or paths to files. Cannot be changed at update.
- user
Data String - [string] User-data (Cloud Init) for this replica volume. Make sure you provide a Cloud Init compatible image in conjunction with this parameter.
AutoscalingGroupTimeouts, AutoscalingGroupTimeoutsArgs
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.