1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Autoscaling
  5. getAutoScalingConfiguration
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.Autoscaling.getAutoScalingConfiguration

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This data source provides details about a specific Auto Scaling Configuration resource in Oracle Cloud Infrastructure Auto Scaling service.

    Gets information about the specified autoscaling configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAutoScalingConfiguration = oci.Autoscaling.getAutoScalingConfiguration({
        autoScalingConfigurationId: testAutoScalingConfigurationOciAutoscalingAutoScalingConfiguration.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_auto_scaling_configuration = oci.Autoscaling.get_auto_scaling_configuration(auto_scaling_configuration_id=test_auto_scaling_configuration_oci_autoscaling_auto_scaling_configuration["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/autoscaling"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := autoscaling.GetAutoScalingConfiguration(ctx, &autoscaling.GetAutoScalingConfigurationArgs{
    			AutoScalingConfigurationId: testAutoScalingConfigurationOciAutoscalingAutoScalingConfiguration.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testAutoScalingConfiguration = Oci.Autoscaling.GetAutoScalingConfiguration.Invoke(new()
        {
            AutoScalingConfigurationId = testAutoScalingConfigurationOciAutoscalingAutoScalingConfiguration.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Autoscaling.AutoscalingFunctions;
    import com.pulumi.oci.Autoscaling.inputs.GetAutoScalingConfigurationArgs;
    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 testAutoScalingConfiguration = AutoscalingFunctions.getAutoScalingConfiguration(GetAutoScalingConfigurationArgs.builder()
                .autoScalingConfigurationId(testAutoScalingConfigurationOciAutoscalingAutoScalingConfiguration.id())
                .build());
    
        }
    }
    
    variables:
      testAutoScalingConfiguration:
        fn::invoke:
          function: oci:Autoscaling:getAutoScalingConfiguration
          arguments:
            autoScalingConfigurationId: ${testAutoScalingConfigurationOciAutoscalingAutoScalingConfiguration.id}
    

    Using getAutoScalingConfiguration

    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 getAutoScalingConfiguration(args: GetAutoScalingConfigurationArgs, opts?: InvokeOptions): Promise<GetAutoScalingConfigurationResult>
    function getAutoScalingConfigurationOutput(args: GetAutoScalingConfigurationOutputArgs, opts?: InvokeOptions): Output<GetAutoScalingConfigurationResult>
    def get_auto_scaling_configuration(auto_scaling_configuration_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetAutoScalingConfigurationResult
    def get_auto_scaling_configuration_output(auto_scaling_configuration_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetAutoScalingConfigurationResult]
    func LookupAutoScalingConfiguration(ctx *Context, args *LookupAutoScalingConfigurationArgs, opts ...InvokeOption) (*LookupAutoScalingConfigurationResult, error)
    func LookupAutoScalingConfigurationOutput(ctx *Context, args *LookupAutoScalingConfigurationOutputArgs, opts ...InvokeOption) LookupAutoScalingConfigurationResultOutput

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

    public static class GetAutoScalingConfiguration 
    {
        public static Task<GetAutoScalingConfigurationResult> InvokeAsync(GetAutoScalingConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetAutoScalingConfigurationResult> Invoke(GetAutoScalingConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutoScalingConfigurationResult> getAutoScalingConfiguration(GetAutoScalingConfigurationArgs args, InvokeOptions options)
    public static Output<GetAutoScalingConfigurationResult> getAutoScalingConfiguration(GetAutoScalingConfigurationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Autoscaling/getAutoScalingConfiguration:getAutoScalingConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutoScalingConfigurationId string
    The OCID of the autoscaling configuration.
    AutoScalingConfigurationId string
    The OCID of the autoscaling configuration.
    autoScalingConfigurationId String
    The OCID of the autoscaling configuration.
    autoScalingConfigurationId string
    The OCID of the autoscaling configuration.
    auto_scaling_configuration_id str
    The OCID of the autoscaling configuration.
    autoScalingConfigurationId String
    The OCID of the autoscaling configuration.

    getAutoScalingConfiguration Result

    The following output properties are available:

    AutoScalingConfigurationId string
    AutoScalingResources List<GetAutoScalingConfigurationAutoScalingResource>
    A resource that is managed by an autoscaling configuration. The only supported type is instancePool.
    CompartmentId string
    The OCID of the compartment containing the autoscaling configuration.
    CoolDownInSeconds int
    For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    ID of the condition that is assigned after creation.
    IsEnabled bool
    Whether the autoscaling policy is enabled.
    MaxResourceCount int
    The maximum number of resources to scale out to.
    MinResourceCount int
    The minimum number of resources to scale in to.
    Policies List<GetAutoScalingConfigurationPolicy>
    Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
    TimeCreated string
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    AutoScalingConfigurationId string
    AutoScalingResources []GetAutoScalingConfigurationAutoScalingResource
    A resource that is managed by an autoscaling configuration. The only supported type is instancePool.
    CompartmentId string
    The OCID of the compartment containing the autoscaling configuration.
    CoolDownInSeconds int
    For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    ID of the condition that is assigned after creation.
    IsEnabled bool
    Whether the autoscaling policy is enabled.
    MaxResourceCount int
    The maximum number of resources to scale out to.
    MinResourceCount int
    The minimum number of resources to scale in to.
    Policies []GetAutoScalingConfigurationPolicy
    Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
    TimeCreated string
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    autoScalingConfigurationId String
    autoScalingResources List<GetAutoScalingConfigurationAutoScalingResource>
    A resource that is managed by an autoscaling configuration. The only supported type is instancePool.
    compartmentId String
    The OCID of the compartment containing the autoscaling configuration.
    coolDownInSeconds Integer
    For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    ID of the condition that is assigned after creation.
    isEnabled Boolean
    Whether the autoscaling policy is enabled.
    maxResourceCount Integer
    The maximum number of resources to scale out to.
    minResourceCount Integer
    The minimum number of resources to scale in to.
    policies List<GetAutoScalingConfigurationPolicy>
    Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
    timeCreated String
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    autoScalingConfigurationId string
    autoScalingResources GetAutoScalingConfigurationAutoScalingResource[]
    A resource that is managed by an autoscaling configuration. The only supported type is instancePool.
    compartmentId string
    The OCID of the compartment containing the autoscaling configuration.
    coolDownInSeconds number
    For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    ID of the condition that is assigned after creation.
    isEnabled boolean
    Whether the autoscaling policy is enabled.
    maxResourceCount number
    The maximum number of resources to scale out to.
    minResourceCount number
    The minimum number of resources to scale in to.
    policies GetAutoScalingConfigurationPolicy[]
    Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
    timeCreated string
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    auto_scaling_configuration_id str
    auto_scaling_resources Sequence[GetAutoScalingConfigurationAutoScalingResource]
    A resource that is managed by an autoscaling configuration. The only supported type is instancePool.
    compartment_id str
    The OCID of the compartment containing the autoscaling configuration.
    cool_down_in_seconds int
    For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    ID of the condition that is assigned after creation.
    is_enabled bool
    Whether the autoscaling policy is enabled.
    max_resource_count int
    The maximum number of resources to scale out to.
    min_resource_count int
    The minimum number of resources to scale in to.
    policies Sequence[GetAutoScalingConfigurationPolicy]
    Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
    time_created str
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    autoScalingConfigurationId String
    autoScalingResources List<Property Map>
    A resource that is managed by an autoscaling configuration. The only supported type is instancePool.
    compartmentId String
    The OCID of the compartment containing the autoscaling configuration.
    coolDownInSeconds Number
    For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    ID of the condition that is assigned after creation.
    isEnabled Boolean
    Whether the autoscaling policy is enabled.
    maxResourceCount Number
    The maximum number of resources to scale out to.
    minResourceCount Number
    The minimum number of resources to scale in to.
    policies List<Property Map>
    Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
    timeCreated String
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    GetAutoScalingConfigurationAutoScalingResource

    Id string
    ID of the condition that is assigned after creation.
    Type string
    The type of action to take.
    Id string
    ID of the condition that is assigned after creation.
    Type string
    The type of action to take.
    id String
    ID of the condition that is assigned after creation.
    type String
    The type of action to take.
    id string
    ID of the condition that is assigned after creation.
    type string
    The type of action to take.
    id str
    ID of the condition that is assigned after creation.
    type str
    The type of action to take.
    id String
    ID of the condition that is assigned after creation.
    type String
    The type of action to take.

    GetAutoScalingConfigurationPolicy

    Capacities List<GetAutoScalingConfigurationPolicyCapacity>
    The capacity requirements of the autoscaling policy.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ExecutionSchedules List<GetAutoScalingConfigurationPolicyExecutionSchedule>
    The schedule for executing the autoscaling policy.
    Id string
    ID of the condition that is assigned after creation.
    IsEnabled bool
    Whether the autoscaling policy is enabled.
    PolicyType string
    The type of autoscaling policy.
    ResourceActions List<GetAutoScalingConfigurationPolicyResourceAction>
    An action to run on a resource, such as stopping or starting an instance pool.
    Rules List<GetAutoScalingConfigurationPolicyRule>
    TimeCreated string
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    Capacities []GetAutoScalingConfigurationPolicyCapacity
    The capacity requirements of the autoscaling policy.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ExecutionSchedules []GetAutoScalingConfigurationPolicyExecutionSchedule
    The schedule for executing the autoscaling policy.
    Id string
    ID of the condition that is assigned after creation.
    IsEnabled bool
    Whether the autoscaling policy is enabled.
    PolicyType string
    The type of autoscaling policy.
    ResourceActions []GetAutoScalingConfigurationPolicyResourceAction
    An action to run on a resource, such as stopping or starting an instance pool.
    Rules []GetAutoScalingConfigurationPolicyRule
    TimeCreated string
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    capacities List<GetAutoScalingConfigurationPolicyCapacity>
    The capacity requirements of the autoscaling policy.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    executionSchedules List<GetAutoScalingConfigurationPolicyExecutionSchedule>
    The schedule for executing the autoscaling policy.
    id String
    ID of the condition that is assigned after creation.
    isEnabled Boolean
    Whether the autoscaling policy is enabled.
    policyType String
    The type of autoscaling policy.
    resourceActions List<GetAutoScalingConfigurationPolicyResourceAction>
    An action to run on a resource, such as stopping or starting an instance pool.
    rules List<GetAutoScalingConfigurationPolicyRule>
    timeCreated String
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    capacities GetAutoScalingConfigurationPolicyCapacity[]
    The capacity requirements of the autoscaling policy.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    executionSchedules GetAutoScalingConfigurationPolicyExecutionSchedule[]
    The schedule for executing the autoscaling policy.
    id string
    ID of the condition that is assigned after creation.
    isEnabled boolean
    Whether the autoscaling policy is enabled.
    policyType string
    The type of autoscaling policy.
    resourceActions GetAutoScalingConfigurationPolicyResourceAction[]
    An action to run on a resource, such as stopping or starting an instance pool.
    rules GetAutoScalingConfigurationPolicyRule[]
    timeCreated string
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    capacities Sequence[GetAutoScalingConfigurationPolicyCapacity]
    The capacity requirements of the autoscaling policy.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    execution_schedules Sequence[GetAutoScalingConfigurationPolicyExecutionSchedule]
    The schedule for executing the autoscaling policy.
    id str
    ID of the condition that is assigned after creation.
    is_enabled bool
    Whether the autoscaling policy is enabled.
    policy_type str
    The type of autoscaling policy.
    resource_actions Sequence[GetAutoScalingConfigurationPolicyResourceAction]
    An action to run on a resource, such as stopping or starting an instance pool.
    rules Sequence[GetAutoScalingConfigurationPolicyRule]
    time_created str
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    capacities List<Property Map>
    The capacity requirements of the autoscaling policy.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    executionSchedules List<Property Map>
    The schedule for executing the autoscaling policy.
    id String
    ID of the condition that is assigned after creation.
    isEnabled Boolean
    Whether the autoscaling policy is enabled.
    policyType String
    The type of autoscaling policy.
    resourceActions List<Property Map>
    An action to run on a resource, such as stopping or starting an instance pool.
    rules List<Property Map>
    timeCreated String
    The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    GetAutoScalingConfigurationPolicyCapacity

    Initial int
    For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    Max int
    For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out).
    Min int
    For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in).
    Initial int
    For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    Max int
    For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out).
    Min int
    For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in).
    initial Integer
    For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    max Integer
    For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out).
    min Integer
    For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in).
    initial number
    For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    max number
    For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out).
    min number
    For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in).
    initial int
    For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    max int
    For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out).
    min int
    For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in).
    initial Number
    For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
    max Number
    For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out).
    min Number
    For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in).

    GetAutoScalingConfigurationPolicyExecutionSchedule

    Expression string
    A cron expression that represents the time at which to execute the autoscaling policy.
    Timezone string
    The time zone for the execution schedule.
    Type string
    The type of action to take.
    Expression string
    A cron expression that represents the time at which to execute the autoscaling policy.
    Timezone string
    The time zone for the execution schedule.
    Type string
    The type of action to take.
    expression String
    A cron expression that represents the time at which to execute the autoscaling policy.
    timezone String
    The time zone for the execution schedule.
    type String
    The type of action to take.
    expression string
    A cron expression that represents the time at which to execute the autoscaling policy.
    timezone string
    The time zone for the execution schedule.
    type string
    The type of action to take.
    expression str
    A cron expression that represents the time at which to execute the autoscaling policy.
    timezone str
    The time zone for the execution schedule.
    type str
    The type of action to take.
    expression String
    A cron expression that represents the time at which to execute the autoscaling policy.
    timezone String
    The time zone for the execution schedule.
    type String
    The type of action to take.

    GetAutoScalingConfigurationPolicyResourceAction

    Action string
    The action to take when autoscaling is triggered.
    ActionType string
    The category of action to run on the resource.
    Action string
    The action to take when autoscaling is triggered.
    ActionType string
    The category of action to run on the resource.
    action String
    The action to take when autoscaling is triggered.
    actionType String
    The category of action to run on the resource.
    action string
    The action to take when autoscaling is triggered.
    actionType string
    The category of action to run on the resource.
    action str
    The action to take when autoscaling is triggered.
    action_type str
    The category of action to run on the resource.
    action String
    The action to take when autoscaling is triggered.
    actionType String
    The category of action to run on the resource.

    GetAutoScalingConfigurationPolicyRule

    Actions List<GetAutoScalingConfigurationPolicyRuleAction>
    The action to take when autoscaling is triggered.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Id string
    ID of the condition that is assigned after creation.
    Metrics List<GetAutoScalingConfigurationPolicyRuleMetric>
    Actions []GetAutoScalingConfigurationPolicyRuleAction
    The action to take when autoscaling is triggered.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Id string
    ID of the condition that is assigned after creation.
    Metrics []GetAutoScalingConfigurationPolicyRuleMetric
    actions List<GetAutoScalingConfigurationPolicyRuleAction>
    The action to take when autoscaling is triggered.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    id String
    ID of the condition that is assigned after creation.
    metrics List<GetAutoScalingConfigurationPolicyRuleMetric>
    actions GetAutoScalingConfigurationPolicyRuleAction[]
    The action to take when autoscaling is triggered.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    id string
    ID of the condition that is assigned after creation.
    metrics GetAutoScalingConfigurationPolicyRuleMetric[]
    actions Sequence[GetAutoScalingConfigurationPolicyRuleAction]
    The action to take when autoscaling is triggered.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    id str
    ID of the condition that is assigned after creation.
    metrics Sequence[GetAutoScalingConfigurationPolicyRuleMetric]
    actions List<Property Map>
    The action to take when autoscaling is triggered.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    id String
    ID of the condition that is assigned after creation.
    metrics List<Property Map>

    GetAutoScalingConfigurationPolicyRuleAction

    Type string
    The type of action to take.
    Value int
    Type string
    The type of action to take.
    Value int
    type String
    The type of action to take.
    value Integer
    type string
    The type of action to take.
    value number
    type str
    The type of action to take.
    value int
    type String
    The type of action to take.
    value Number

    GetAutoScalingConfigurationPolicyRuleMetric

    MetricCompartmentId string
    The OCID of the compartment containing the metrics.
    MetricSource string
    Source of the metric data for creating the alarm used to trigger autoscaling actions.
    MetricType string
    Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
    Namespace string
    The namespace for the query.
    PendingDuration string
    The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
    Query string
    The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy().
    ResourceGroup string
    The resource group for the query.
    Thresholds List<GetAutoScalingConfigurationPolicyRuleMetricThreshold>
    MetricCompartmentId string
    The OCID of the compartment containing the metrics.
    MetricSource string
    Source of the metric data for creating the alarm used to trigger autoscaling actions.
    MetricType string
    Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
    Namespace string
    The namespace for the query.
    PendingDuration string
    The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
    Query string
    The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy().
    ResourceGroup string
    The resource group for the query.
    Thresholds []GetAutoScalingConfigurationPolicyRuleMetricThreshold
    metricCompartmentId String
    The OCID of the compartment containing the metrics.
    metricSource String
    Source of the metric data for creating the alarm used to trigger autoscaling actions.
    metricType String
    Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
    namespace String
    The namespace for the query.
    pendingDuration String
    The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
    query String
    The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy().
    resourceGroup String
    The resource group for the query.
    thresholds List<GetAutoScalingConfigurationPolicyRuleMetricThreshold>
    metricCompartmentId string
    The OCID of the compartment containing the metrics.
    metricSource string
    Source of the metric data for creating the alarm used to trigger autoscaling actions.
    metricType string
    Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
    namespace string
    The namespace for the query.
    pendingDuration string
    The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
    query string
    The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy().
    resourceGroup string
    The resource group for the query.
    thresholds GetAutoScalingConfigurationPolicyRuleMetricThreshold[]
    metric_compartment_id str
    The OCID of the compartment containing the metrics.
    metric_source str
    Source of the metric data for creating the alarm used to trigger autoscaling actions.
    metric_type str
    Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
    namespace str
    The namespace for the query.
    pending_duration str
    The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
    query str
    The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy().
    resource_group str
    The resource group for the query.
    thresholds Sequence[GetAutoScalingConfigurationPolicyRuleMetricThreshold]
    metricCompartmentId String
    The OCID of the compartment containing the metrics.
    metricSource String
    Source of the metric data for creating the alarm used to trigger autoscaling actions.
    metricType String
    Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
    namespace String
    The namespace for the query.
    pendingDuration String
    The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
    query String
    The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy().
    resourceGroup String
    The resource group for the query.
    thresholds List<Property Map>

    GetAutoScalingConfigurationPolicyRuleMetricThreshold

    Operator string
    The comparison operator to use. Options are greater than (GT), greater than or equal to (GTE), less than (LT), and less than or equal to (LTE).
    Value int
    Operator string
    The comparison operator to use. Options are greater than (GT), greater than or equal to (GTE), less than (LT), and less than or equal to (LTE).
    Value int
    operator String
    The comparison operator to use. Options are greater than (GT), greater than or equal to (GTE), less than (LT), and less than or equal to (LTE).
    value Integer
    operator string
    The comparison operator to use. Options are greater than (GT), greater than or equal to (GTE), less than (LT), and less than or equal to (LTE).
    value number
    operator str
    The comparison operator to use. Options are greater than (GT), greater than or equal to (GTE), less than (LT), and less than or equal to (LTE).
    value int
    operator String
    The comparison operator to use. Options are greater than (GT), greater than or equal to (GTE), less than (LT), and less than or equal to (LTE).
    value Number

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi