ionoscloud.getAutoscalingGroup
Explore with Pulumi AI
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
orid
must be provided. If none or both are provided, the datasource will return an error.- Timeouts
Get
Autoscaling Group Timeouts
- 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
orid
must be provided. If none or both are provided, the datasource will return an error.- Timeouts
Get
Autoscaling Group Timeouts
- 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
orid
must be provided. If none or both are provided, the datasource will return an error.- timeouts
Get
Autoscaling Group Timeouts
- 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
orid
must be provided. If none or both are provided, the datasource will return an error.- timeouts
Get
Autoscaling Group Timeouts
- 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
orid
must be provided. If none or both are provided, the datasource will return an error.- timeouts
Get
Autoscaling Group Timeouts
- 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
orid
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:
- Datacenter
Id 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.
- Max
Replica doubleCount - Maximum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - Min
Replica doubleCount - 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<Get
Autoscaling Group Policy> - 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 List<GetAutoscaling Group Replica Configuration> - Target
Replica doubleCount - Timeouts
Get
Autoscaling Group Timeouts
- Datacenter
Id 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.
- Max
Replica float64Count - Maximum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - Min
Replica float64Count - Minimum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - Name string
- The name of the Autoscaling Group.
- Policies
[]Get
Autoscaling Group Policy - 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 []GetAutoscaling Group Replica Configuration - Target
Replica float64Count - Timeouts
Get
Autoscaling Group Timeouts
- datacenter
Id 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.
- max
Replica DoubleCount - Maximum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - min
Replica DoubleCount - 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<Get
Autoscaling Group Policy> - 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 List<GetAutoscaling Group Replica Configuration> - target
Replica DoubleCount - timeouts
Get
Autoscaling Group Timeouts
- datacenter
Id 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.
- max
Replica numberCount - Maximum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - min
Replica numberCount - Minimum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - name string
- The name of the Autoscaling Group.
- policies
Get
Autoscaling Group Policy[] - 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 GetAutoscaling Group Replica Configuration[] - target
Replica numberCount - timeouts
Get
Autoscaling Group Timeouts
- 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_ floatcount - Maximum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - min_
replica_ floatcount - 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[Get
Autoscaling Group Policy] - 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[GetAutoscaling Group Replica Configuration] - target_
replica_ floatcount - timeouts
Get
Autoscaling Group Timeouts
- datacenter
Id 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.
- max
Replica NumberCount - Maximum replica count value for
targetReplicaCount
. Will be enforced for both automatic and manual changes. - min
Replica NumberCount - 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.
- replica
Configurations List<Property Map> - target
Replica NumberCount - 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.
- Scale
In List<GetActions Autoscaling Group Policy Scale In Action> - Specifies the Action to take when the
scaleInThreshold
- Scale
In doubleThreshold - 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 List<GetActions Autoscaling Group Policy Scale Out Action> - 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 - 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
- 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.
- Scale
In []GetActions Autoscaling Group Policy Scale In Action - Specifies the Action to take when the
scaleInThreshold
- Scale
In float64Threshold - 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 []GetActions Autoscaling Group Policy Scale Out Action - 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 - 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
- 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.
- scale
In List<GetActions Autoscaling Group Policy Scale In Action> - Specifies the Action to take when the
scaleInThreshold
- scale
In DoubleThreshold - 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 List<GetActions Autoscaling Group Policy Scale Out Action> - 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 - 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
- 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.
- scale
In GetActions Autoscaling Group Policy Scale In Action[] - Specifies the Action to take when the
scaleInThreshold
- scale
In numberThreshold - 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 GetActions Autoscaling Group Policy Scale Out Action[] - 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 - 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
- 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_ Sequence[Getactions Autoscaling Group Policy Scale In Action] - Specifies the Action to take when the
scaleInThreshold
- scale_
in_ floatthreshold - 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_ Sequence[Getactions Autoscaling Group Policy Scale Out Action] - 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 - 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
- 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.
- scale
In List<Property Map>Actions - Specifies the Action to take when the
scaleInThreshold
- scale
In NumberThreshold - 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 List<Property Map>Actions - 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 - 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
- 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. 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 added or removed in one step. There will always be at least one VM added or removed. - Amount
Type string - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- Cooldown
Period 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.
- Delete
Volumes bool - Termination
Policy stringType
- Amount float64
- When
amountType == ABSOLUTE
, this is the number of VMs added or 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 added or removed in one step. There will always be at least one VM added or removed. - Amount
Type string - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- Cooldown
Period 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.
- Delete
Volumes bool - Termination
Policy stringType
- amount Double
- When
amountType == ABSOLUTE
, this is the number of VMs added or 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 added or removed in one step. There will always be at least one VM added or removed. - amount
Type String - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- cooldown
Period 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.
- delete
Volumes Boolean - termination
Policy StringType
- amount number
- When
amountType == ABSOLUTE
, this is the number of VMs added or 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 added or removed in one step. There will always be at least one VM added or removed. - amount
Type string - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- cooldown
Period 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.
- delete
Volumes boolean - termination
Policy stringType
- amount float
- When
amountType == ABSOLUTE
, this is the number of VMs added or 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 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_ strtype
- amount Number
- When
amountType == ABSOLUTE
, this is the number of VMs added or 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 added or removed in one step. There will always be at least one VM added or removed. - amount
Type String - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- cooldown
Period 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.
- delete
Volumes Boolean - termination
Policy StringType
GetAutoscalingGroupPolicyScaleOutAction
- Amount double
- When
amountType == ABSOLUTE
, this is the number of VMs added or 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 added or removed in one step. There will always be at least one VM added or removed. - Amount
Type string - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- Cooldown
Period 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. 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 added or removed in one step. There will always be at least one VM added or removed. - Amount
Type string - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- Cooldown
Period 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. 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 added or removed in one step. There will always be at least one VM added or removed. - amount
Type String - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- cooldown
Period 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. 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 added or removed in one step. There will always be at least one VM added or removed. - amount
Type string - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- cooldown
Period 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. 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 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. 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 added or removed in one step. There will always be at least one VM added or removed. - amount
Type String - The type for the given amount. Possible values are: [ABSOLUTE, PERCENTAGE].
- cooldown
Period 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
- availability
Zone String - cores Number
- cpu
Family String - nics List<Property Map>
- ram Number
- volumes List<Property Map>
GetAutoscalingGroupReplicaConfigurationNic
- Dhcp bool
- Firewall
Active bool - Firewall
Rules List<GetAutoscaling Group Replica Configuration Nic Firewall Rule> - Firewall
Type string - Flow
Logs List<GetAutoscaling Group Replica Configuration Nic Flow Log> - Lan double
- Name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- Target
Groups List<GetAutoscaling Group Replica Configuration Nic Target Group>
- Dhcp bool
- Firewall
Active bool - Firewall
Rules []GetAutoscaling Group Replica Configuration Nic Firewall Rule - Firewall
Type string - Flow
Logs []GetAutoscaling Group Replica Configuration Nic Flow Log - Lan float64
- Name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- Target
Groups []GetAutoscaling Group Replica Configuration Nic Target Group
- dhcp Boolean
- firewall
Active Boolean - firewall
Rules List<GetAutoscaling Group Replica Configuration Nic Firewall Rule> - firewall
Type String - flow
Logs List<GetAutoscaling Group Replica Configuration Nic Flow Log> - lan Double
- name String
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- target
Groups List<GetAutoscaling Group Replica Configuration Nic Target Group>
- dhcp boolean
- firewall
Active boolean - firewall
Rules GetAutoscaling Group Replica Configuration Nic Firewall Rule[] - firewall
Type string - flow
Logs GetAutoscaling Group Replica Configuration Nic Flow Log[] - lan number
- name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- target
Groups GetAutoscaling Group Replica Configuration Nic Target Group[]
- dhcp bool
- firewall_
active bool - firewall_
rules Sequence[GetAutoscaling Group Replica Configuration Nic Firewall Rule] - firewall_
type str - flow_
logs Sequence[GetAutoscaling Group Replica Configuration Nic Flow Log] - lan float
- name str
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- target_
groups Sequence[GetAutoscaling Group Replica Configuration Nic Target Group]
- dhcp Boolean
- firewall
Active Boolean - firewall
Rules List<Property Map> - firewall
Type String - flow
Logs List<Property Map> - lan Number
- name String
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- target
Groups List<Property Map>
GetAutoscalingGroupReplicaConfigurationNicFirewallRule
- Icmp
Code double - Icmp
Type double - Name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- Port
Range doubleEnd - Port
Range doubleStart - Protocol string
- Source
Ip string - Source
Mac string - Target
Ip string - Type string
- Type of resource
- Icmp
Code float64 - Icmp
Type float64 - Name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- Port
Range float64End - Port
Range float64Start - Protocol string
- Source
Ip string - Source
Mac string - Target
Ip string - Type string
- Type of resource
- icmp
Code Double - icmp
Type Double - name String
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- port
Range DoubleEnd - port
Range DoubleStart - protocol String
- source
Ip String - source
Mac String - target
Ip String - type String
- Type of resource
- icmp
Code number - icmp
Type number - name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- port
Range numberEnd - port
Range numberStart - protocol string
- source
Ip string - source
Mac string - target
Ip 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
orid
must be provided. If none or both are provided, the datasource will return an error.- port_
range_ floatend - port_
range_ floatstart - protocol str
- source_
ip str - source_
mac str - target_
ip str - type str
- Type of resource
- icmp
Code Number - icmp
Type Number - name String
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- port
Range NumberEnd - port
Range NumberStart - protocol String
- source
Ip String - source
Mac String - target
Ip String - type String
- Type of resource
GetAutoscalingGroupReplicaConfigurationNicFlowLog
GetAutoscalingGroupReplicaConfigurationNicTargetGroup
- Port double
- Target
Group stringId - Weight double
- Port float64
- Target
Group stringId - Weight float64
- port Double
- target
Group StringId - weight Double
- port number
- target
Group stringId - weight number
- port float
- target_
group_ strid - weight float
- port Number
- target
Group StringId - weight Number
GetAutoscalingGroupReplicaConfigurationVolume
- Backup
Unit stringId - Boot
Order string - Bus string
- Image string
- Image
Alias string - Name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- Size double
- Ssh
Keys List<string> - Type string
- Type of resource
- Backup
Unit stringId - Boot
Order string - Bus string
- Image string
- Image
Alias string - Name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- Size float64
- Ssh
Keys []string - Type string
- Type of resource
- backup
Unit StringId - boot
Order String - bus String
- image String
- image
Alias String - name String
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- size Double
- ssh
Keys List<String> - type String
- Type of resource
- backup
Unit stringId - boot
Order string - bus string
- image string
- image
Alias string - name string
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- size number
- ssh
Keys string[] - type string
- Type of resource
- backup_
unit_ strid - 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
orid
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
- backup
Unit StringId - boot
Order String - bus String
- image String
- image
Alias String - name String
Name of an existing Autoscaling Group that you want to search for.
Either
name
orid
must be provided. If none or both are provided, the datasource will return an error.- size Number
- ssh
Keys List<String> - type String
- Type of resource
GetAutoscalingGroupTimeouts
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.