1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. getAutoscalingGroup
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.getAutoscalingGroup

Explore with Pulumi AI

ionoscloud logo
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

    The autoscaling group data source can be used to search for and return an existing Autoscaling Group. You can provide a string for the name or id parameters which will be compared with provisioned Autoscaling Groups. If a single match is found, it will be returned.

    Example Usage

    By Id

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@pulumi/ionoscloud";
    
    const autoscalingGroup = ionoscloud.getAutoscalingGroup({
        id: "autoscaling_group_uuid",
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    autoscaling_group = ionoscloud.get_autoscaling_group(id="autoscaling_group_uuid")
    
    package main
    
    import (
    	"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 {
    		_, err := ionoscloud.LookupAutoscalingGroup(ctx, &ionoscloud.LookupAutoscalingGroupArgs{
    			Id: pulumi.StringRef("autoscaling_group_uuid"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var autoscalingGroup = Ionoscloud.GetAutoscalingGroup.Invoke(new()
        {
            Id = "autoscaling_group_uuid",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.IonoscloudFunctions;
    import com.pulumi.ionoscloud.inputs.GetAutoscalingGroupArgs;
    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) {
            final var autoscalingGroup = IonoscloudFunctions.getAutoscalingGroup(GetAutoscalingGroupArgs.builder()
                .id("autoscaling_group_uuid")
                .build());
    
        }
    }
    
    variables:
      autoscalingGroup:
        fn::invoke:
          function: ionoscloud:getAutoscalingGroup
          arguments:
            id: autoscaling_group_uuid
    

    By Name

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@pulumi/ionoscloud";
    
    const autoscalingGroup = ionoscloud.getAutoscalingGroup({
        name: "test_ds",
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    autoscaling_group = ionoscloud.get_autoscaling_group(name="test_ds")
    
    package main
    
    import (
    	"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 {
    		_, err := ionoscloud.LookupAutoscalingGroup(ctx, &ionoscloud.LookupAutoscalingGroupArgs{
    			Name: pulumi.StringRef("test_ds"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var autoscalingGroup = Ionoscloud.GetAutoscalingGroup.Invoke(new()
        {
            Name = "test_ds",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.IonoscloudFunctions;
    import com.pulumi.ionoscloud.inputs.GetAutoscalingGroupArgs;
    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) {
            final var autoscalingGroup = IonoscloudFunctions.getAutoscalingGroup(GetAutoscalingGroupArgs.builder()
                .name("test_ds")
                .build());
    
        }
    }
    
    variables:
      autoscalingGroup:
        fn::invoke:
          function: ionoscloud:getAutoscalingGroup
          arguments:
            name: test_ds
    

    Using getAutoscalingGroup

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAutoscalingGroup(args: GetAutoscalingGroupArgs, opts?: InvokeOptions): Promise<GetAutoscalingGroupResult>
    function getAutoscalingGroupOutput(args: GetAutoscalingGroupOutputArgs, opts?: InvokeOptions): Output<GetAutoscalingGroupResult>
    def get_autoscaling_group(id: Optional[str] = None,
                              name: Optional[str] = None,
                              timeouts: Optional[GetAutoscalingGroupTimeouts] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAutoscalingGroupResult
    def get_autoscaling_group_output(id: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              timeouts: Optional[pulumi.Input[GetAutoscalingGroupTimeoutsArgs]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetAutoscalingGroupResult]
    func LookupAutoscalingGroup(ctx *Context, args *LookupAutoscalingGroupArgs, opts ...InvokeOption) (*LookupAutoscalingGroupResult, error)
    func LookupAutoscalingGroupOutput(ctx *Context, args *LookupAutoscalingGroupOutputArgs, opts ...InvokeOption) LookupAutoscalingGroupResultOutput

    > Note: This function is named LookupAutoscalingGroup in the Go SDK.

    public static class GetAutoscalingGroup 
    {
        public static Task<GetAutoscalingGroupResult> InvokeAsync(GetAutoscalingGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetAutoscalingGroupResult> Invoke(GetAutoscalingGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutoscalingGroupResult> getAutoscalingGroup(GetAutoscalingGroupArgs args, InvokeOptions options)
    public static Output<GetAutoscalingGroupResult> getAutoscalingGroup(GetAutoscalingGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ionoscloud:index/getAutoscalingGroup:getAutoscalingGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id of an existing Autoscaling Group that you want to search for.
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    Timeouts GetAutoscalingGroupTimeouts
    Id string
    Id of an existing Autoscaling Group that you want to search for.
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    Timeouts GetAutoscalingGroupTimeouts
    id String
    Id of an existing Autoscaling Group that you want to search for.
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    timeouts GetAutoscalingGroupTimeouts
    id string
    Id of an existing Autoscaling Group that you want to search for.
    name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    timeouts GetAutoscalingGroupTimeouts
    id str
    Id of an existing Autoscaling Group that you want to search for.
    name str

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    timeouts GetAutoscalingGroupTimeouts
    id String
    Id of an existing Autoscaling Group that you want to search for.
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    timeouts Property Map

    getAutoscalingGroup Result

    The following output properties are available:

    DatacenterId string
    Id string
    Unique identifier for the resource
    Location string
    Location of the datacenter. This location is the same as the one from the selected template.
    MaxReplicaCount double
    Maximum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    MinReplicaCount double
    Minimum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    Name string
    The name of the Autoscaling Group.
    Policies List<GetAutoscalingGroupPolicy>
    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.
    ReplicaConfigurations List<GetAutoscalingGroupReplicaConfiguration>
    TargetReplicaCount double
    Timeouts GetAutoscalingGroupTimeouts
    DatacenterId string
    Id string
    Unique identifier for the resource
    Location string
    Location of the datacenter. This location is the same as the one from the selected template.
    MaxReplicaCount float64
    Maximum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    MinReplicaCount float64
    Minimum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    Name string
    The name of the Autoscaling Group.
    Policies []GetAutoscalingGroupPolicy
    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.
    ReplicaConfigurations []GetAutoscalingGroupReplicaConfiguration
    TargetReplicaCount float64
    Timeouts GetAutoscalingGroupTimeouts
    datacenterId String
    id String
    Unique identifier for the resource
    location String
    Location of the datacenter. This location is the same as the one from the selected template.
    maxReplicaCount Double
    Maximum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    minReplicaCount Double
    Minimum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    name String
    The name of the Autoscaling Group.
    policies List<GetAutoscalingGroupPolicy>
    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.
    replicaConfigurations List<GetAutoscalingGroupReplicaConfiguration>
    targetReplicaCount Double
    timeouts GetAutoscalingGroupTimeouts
    datacenterId string
    id string
    Unique identifier for the resource
    location string
    Location of the datacenter. This location is the same as the one from the selected template.
    maxReplicaCount number
    Maximum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    minReplicaCount number
    Minimum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    name string
    The name of the Autoscaling Group.
    policies GetAutoscalingGroupPolicy[]
    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.
    replicaConfigurations GetAutoscalingGroupReplicaConfiguration[]
    targetReplicaCount number
    timeouts GetAutoscalingGroupTimeouts
    datacenter_id str
    id str
    Unique identifier for the resource
    location str
    Location of the datacenter. This location is the same as the one from the selected template.
    max_replica_count float
    Maximum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    min_replica_count float
    Minimum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    name str
    The name of the Autoscaling Group.
    policies Sequence[GetAutoscalingGroupPolicy]
    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_configurations Sequence[GetAutoscalingGroupReplicaConfiguration]
    target_replica_count float
    timeouts GetAutoscalingGroupTimeouts
    datacenterId String
    id String
    Unique identifier for the resource
    location String
    Location of the datacenter. This location is the same as the one from the selected template.
    maxReplicaCount Number
    Maximum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    minReplicaCount Number
    Minimum replica count value for targetReplicaCount. Will be enforced for both automatic and manual changes.
    name String
    The name of the Autoscaling Group.
    policies List<Property Map>
    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.
    replicaConfigurations List<Property Map>
    targetReplicaCount Number
    timeouts Property Map

    Supporting Types

    GetAutoscalingGroupPolicy

    Metric string
    The Metric that should trigger Scaling Actions. The values of the Metric are checked in fixed intervals.
    Range string
    Defines the range of time from which 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.
    ScaleInActions List<GetAutoscalingGroupPolicyScaleInAction>
    Specifies the Action to take when the scaleInThreshold
    ScaleInThreshold double
    A lower threshold on the value of metric. Will be used with less than (<) operator. Exceeding this will start a Scale-In Action as specified by the scaleInAction property. The value must have a higher minimum delta to the scaleOutThreshold depending on the metric to avoid competitive actions at the same time.
    ScaleOutActions List<GetAutoscalingGroupPolicyScaleOutAction>
    Specifies the action to take when the scaleOutThreshold is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group
    ScaleOutThreshold double
    The upper threshold for the value of the metric. Used with the greater than (>) operator. A scale-out action is triggered when this value is exceeded, specified by the scaleOutAction property. The value must have a lower minimum delta to the scaleInThreshold, depending on the metric, to avoid competing for actions simultaneously. If properties.policy.unit=TOTAL, a value >= 40 must be chosen.
    Unit string
    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.
    Metric string
    The Metric that should trigger Scaling Actions. The values of the Metric are checked in fixed intervals.
    Range string
    Defines the range of time from which 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.
    ScaleInActions []GetAutoscalingGroupPolicyScaleInAction
    Specifies the Action to take when the scaleInThreshold
    ScaleInThreshold float64
    A lower threshold on the value of metric. Will be used with less than (<) operator. Exceeding this will start a Scale-In Action as specified by the scaleInAction property. The value must have a higher minimum delta to the scaleOutThreshold depending on the metric to avoid competitive actions at the same time.
    ScaleOutActions []GetAutoscalingGroupPolicyScaleOutAction
    Specifies the action to take when the scaleOutThreshold is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group
    ScaleOutThreshold float64
    The upper threshold for the value of the metric. Used with the greater than (>) operator. A scale-out action is triggered when this value is exceeded, specified by the scaleOutAction property. The value must have a lower minimum delta to the scaleInThreshold, depending on the metric, to avoid competing for actions simultaneously. If properties.policy.unit=TOTAL, a value >= 40 must be chosen.
    Unit string
    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.
    metric String
    The Metric that should trigger Scaling Actions. The values of the Metric are checked in fixed intervals.
    range String
    Defines the range of time from which 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.
    scaleInActions List<GetAutoscalingGroupPolicyScaleInAction>
    Specifies the Action to take when the scaleInThreshold
    scaleInThreshold Double
    A lower threshold on the value of metric. Will be used with less than (<) operator. Exceeding this will start a Scale-In Action as specified by the scaleInAction property. The value must have a higher minimum delta to the scaleOutThreshold depending on the metric to avoid competitive actions at the same time.
    scaleOutActions List<GetAutoscalingGroupPolicyScaleOutAction>
    Specifies the action to take when the scaleOutThreshold is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group
    scaleOutThreshold Double
    The upper threshold for the value of the metric. Used with the greater than (>) operator. A scale-out action is triggered when this value is exceeded, specified by the scaleOutAction property. The value must have a lower minimum delta to the scaleInThreshold, depending on the metric, to avoid competing for actions simultaneously. If properties.policy.unit=TOTAL, a value >= 40 must be chosen.
    unit String
    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.
    metric string
    The Metric that should trigger Scaling Actions. The values of the Metric are checked in fixed intervals.
    range string
    Defines the range of time from which 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.
    scaleInActions GetAutoscalingGroupPolicyScaleInAction[]
    Specifies the Action to take when the scaleInThreshold
    scaleInThreshold number
    A lower threshold on the value of metric. Will be used with less than (<) operator. Exceeding this will start a Scale-In Action as specified by the scaleInAction property. The value must have a higher minimum delta to the scaleOutThreshold depending on the metric to avoid competitive actions at the same time.
    scaleOutActions GetAutoscalingGroupPolicyScaleOutAction[]
    Specifies the action to take when the scaleOutThreshold is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group
    scaleOutThreshold number
    The upper threshold for the value of the metric. Used with the greater than (>) operator. A scale-out action is triggered when this value is exceeded, specified by the scaleOutAction property. The value must have a lower minimum delta to the scaleInThreshold, depending on the metric, to avoid competing for actions simultaneously. If properties.policy.unit=TOTAL, a value >= 40 must be chosen.
    unit string
    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.
    metric str
    The Metric that should trigger Scaling Actions. The values of the Metric are checked in fixed intervals.
    range str
    Defines the range of time from which 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.
    scale_in_actions Sequence[GetAutoscalingGroupPolicyScaleInAction]
    Specifies the Action to take when the scaleInThreshold
    scale_in_threshold float
    A lower threshold on the value of metric. Will be used with less than (<) operator. Exceeding this will start a Scale-In Action as specified by the scaleInAction property. The value must have a higher minimum delta to the scaleOutThreshold depending on the metric to avoid competitive actions at the same time.
    scale_out_actions Sequence[GetAutoscalingGroupPolicyScaleOutAction]
    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_threshold float
    The upper threshold for the value of the metric. Used with the greater than (>) operator. A scale-out action is triggered when this value is exceeded, specified by the scaleOutAction property. The value must have a lower minimum delta to the scaleInThreshold, depending on the metric, to avoid competing for actions simultaneously. If properties.policy.unit=TOTAL, a value >= 40 must be chosen.
    unit str
    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.
    metric String
    The Metric that should trigger Scaling Actions. The values of the Metric are checked in fixed intervals.
    range String
    Defines the range of time from which 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.
    scaleInActions List<Property Map>
    Specifies the Action to take when the scaleInThreshold
    scaleInThreshold Number
    A lower threshold on the value of metric. Will be used with less than (<) operator. Exceeding this will start a Scale-In Action as specified by the scaleInAction property. The value must have a higher minimum delta to the scaleOutThreshold depending on the metric to avoid competitive actions at the same time.
    scaleOutActions List<Property Map>
    Specifies the action to take when the scaleOutThreshold is exceeded. Hereby, scaling out is always about adding new VMs to this autoscaling group
    scaleOutThreshold Number
    The upper threshold for the value of the metric. Used with the greater than (>) operator. A scale-out action is triggered when this value is exceeded, specified by the scaleOutAction property. The value must have a lower minimum delta to the scaleInThreshold, depending on the metric, to avoid competing for actions simultaneously. If properties.policy.unit=TOTAL, a value >= 40 must be chosen.
    unit String
    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.

    GetAutoscalingGroupPolicyScaleInAction

    Amount double
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    AmountType string
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    CooldownPeriod 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 completed (either successful or with failures). 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.
    DeleteVolumes bool
    TerminationPolicyType string
    Amount float64
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    AmountType string
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    CooldownPeriod 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 completed (either successful or with failures). 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.
    DeleteVolumes bool
    TerminationPolicyType string
    amount Double
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amountType String
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldownPeriod 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 completed (either successful or with failures). 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.
    deleteVolumes Boolean
    terminationPolicyType String
    amount number
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amountType string
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldownPeriod 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 completed (either successful or with failures). 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.
    deleteVolumes boolean
    terminationPolicyType string
    amount float
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amount_type str
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldown_period str
    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 completed (either successful or with failures). 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.
    delete_volumes bool
    termination_policy_type str
    amount Number
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amountType String
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldownPeriod 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 completed (either successful or with failures). 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.
    deleteVolumes Boolean
    terminationPolicyType String

    GetAutoscalingGroupPolicyScaleOutAction

    Amount double
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    AmountType string
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    CooldownPeriod 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 completed (either successful or with failures). 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
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    AmountType string
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    CooldownPeriod 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 completed (either successful or with failures). 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
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amountType String
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldownPeriod 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 completed (either successful or with failures). 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
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amountType string
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldownPeriod 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 completed (either successful or with failures). 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
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amount_type str
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldown_period str
    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 completed (either successful or with failures). 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
    When amountType == ABSOLUTE, this is the number of VMs added or removed in one step. When amountType == PERCENTAGE, this is a percentage value, which will be applied to the Autoscaling Group's current targetReplicaCount in order to derive the number of VMs that will be added or removed in one step. There will always be at least one VM added or removed.
    amountType String
    The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
    cooldownPeriod 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 completed (either successful or with failures). 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.

    GetAutoscalingGroupReplicaConfiguration

    GetAutoscalingGroupReplicaConfigurationNic

    Dhcp bool
    FirewallActive bool
    FirewallRules List<GetAutoscalingGroupReplicaConfigurationNicFirewallRule>
    FirewallType string
    FlowLogs List<GetAutoscalingGroupReplicaConfigurationNicFlowLog>
    Lan double
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    TargetGroups List<GetAutoscalingGroupReplicaConfigurationNicTargetGroup>
    Dhcp bool
    FirewallActive bool
    FirewallRules []GetAutoscalingGroupReplicaConfigurationNicFirewallRule
    FirewallType string
    FlowLogs []GetAutoscalingGroupReplicaConfigurationNicFlowLog
    Lan float64
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    TargetGroups []GetAutoscalingGroupReplicaConfigurationNicTargetGroup
    dhcp Boolean
    firewallActive Boolean
    firewallRules List<GetAutoscalingGroupReplicaConfigurationNicFirewallRule>
    firewallType String
    flowLogs List<GetAutoscalingGroupReplicaConfigurationNicFlowLog>
    lan Double
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    targetGroups List<GetAutoscalingGroupReplicaConfigurationNicTargetGroup>
    dhcp boolean
    firewallActive boolean
    firewallRules GetAutoscalingGroupReplicaConfigurationNicFirewallRule[]
    firewallType string
    flowLogs GetAutoscalingGroupReplicaConfigurationNicFlowLog[]
    lan number
    name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    targetGroups GetAutoscalingGroupReplicaConfigurationNicTargetGroup[]
    dhcp bool
    firewall_active bool
    firewall_rules Sequence[GetAutoscalingGroupReplicaConfigurationNicFirewallRule]
    firewall_type str
    flow_logs Sequence[GetAutoscalingGroupReplicaConfigurationNicFlowLog]
    lan float
    name str

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    target_groups Sequence[GetAutoscalingGroupReplicaConfigurationNicTargetGroup]
    dhcp Boolean
    firewallActive Boolean
    firewallRules List<Property Map>
    firewallType String
    flowLogs List<Property Map>
    lan Number
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    targetGroups List<Property Map>

    GetAutoscalingGroupReplicaConfigurationNicFirewallRule

    IcmpCode double
    IcmpType double
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    PortRangeEnd double
    PortRangeStart double
    Protocol string
    SourceIp string
    SourceMac string
    TargetIp string
    Type string
    Type of resource
    IcmpCode float64
    IcmpType float64
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    PortRangeEnd float64
    PortRangeStart float64
    Protocol string
    SourceIp string
    SourceMac string
    TargetIp string
    Type string
    Type of resource
    icmpCode Double
    icmpType Double
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    portRangeEnd Double
    portRangeStart Double
    protocol String
    sourceIp String
    sourceMac String
    targetIp String
    type String
    Type of resource
    icmpCode number
    icmpType number
    name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    portRangeEnd number
    portRangeStart number
    protocol string
    sourceIp string
    sourceMac string
    targetIp string
    type string
    Type of resource
    icmp_code float
    icmp_type float
    name str

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    port_range_end float
    port_range_start float
    protocol str
    source_ip str
    source_mac str
    target_ip str
    type str
    Type of resource
    icmpCode Number
    icmpType Number
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    portRangeEnd Number
    portRangeStart Number
    protocol String
    sourceIp String
    sourceMac String
    targetIp String
    type String
    Type of resource

    GetAutoscalingGroupReplicaConfigurationNicFlowLog

    Action string
    Bucket string
    Direction string
    Id string
    Id of an existing Autoscaling Group that you want to search for.
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    Action string
    Bucket string
    Direction string
    Id string
    Id of an existing Autoscaling Group that you want to search for.
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    action String
    bucket String
    direction String
    id String
    Id of an existing Autoscaling Group that you want to search for.
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    action string
    bucket string
    direction string
    id string
    Id of an existing Autoscaling Group that you want to search for.
    name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    action str
    bucket str
    direction str
    id str
    Id of an existing Autoscaling Group that you want to search for.
    name str

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    action String
    bucket String
    direction String
    id String
    Id of an existing Autoscaling Group that you want to search for.
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    GetAutoscalingGroupReplicaConfigurationNicTargetGroup

    Port double
    TargetGroupId string
    Weight double
    Port float64
    TargetGroupId string
    Weight float64
    port Double
    targetGroupId String
    weight Double
    port number
    targetGroupId string
    weight number
    port Number
    targetGroupId String
    weight Number

    GetAutoscalingGroupReplicaConfigurationVolume

    BackupUnitId string
    BootOrder string
    Bus string
    Image string
    ImageAlias string
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    Size double
    SshKeys List<string>
    Type string
    Type of resource
    BackupUnitId string
    BootOrder string
    Bus string
    Image string
    ImageAlias string
    Name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    Size float64
    SshKeys []string
    Type string
    Type of resource
    backupUnitId String
    bootOrder String
    bus String
    image String
    imageAlias String
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    size Double
    sshKeys List<String>
    type String
    Type of resource
    backupUnitId string
    bootOrder string
    bus string
    image string
    imageAlias string
    name string

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    size number
    sshKeys string[]
    type string
    Type of resource
    backup_unit_id str
    boot_order str
    bus str
    image str
    image_alias str
    name str

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    size float
    ssh_keys Sequence[str]
    type str
    Type of resource
    backupUnitId String
    bootOrder String
    bus String
    image String
    imageAlias String
    name String

    Name of an existing Autoscaling Group that you want to search for.

    Either name or id must be provided. If none or both are provided, the datasource will return an error.

    size Number
    sshKeys List<String>
    type String
    Type of resource

    GetAutoscalingGroupTimeouts

    Create string
    Default string
    Delete string
    Update string
    Create string
    Default string
    Delete string
    Update string
    create String
    default_ String
    delete String
    update String
    create string
    default string
    delete string
    update string
    create String
    default String
    delete String
    update String

    Package Details

    Repository
    ionoscloud ionos-cloud/terraform-provider-ionoscloud
    License
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud