1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Autoscaling
  5. getAutoScalingConfigurations
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Autoscaling.getAutoScalingConfigurations

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

This data source provides the list of Auto Scaling Configurations in Oracle Cloud Infrastructure Auto Scaling service.

Lists autoscaling configurations in the specifed compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutoScalingConfigurations = oci.Autoscaling.getAutoScalingConfigurations({
    compartmentId: compartmentId,
    displayName: autoScalingConfigurationDisplayName,
});
Copy
import pulumi
import pulumi_oci as oci

test_auto_scaling_configurations = oci.Autoscaling.get_auto_scaling_configurations(compartment_id=compartment_id,
    display_name=auto_scaling_configuration_display_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/autoscaling"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := autoscaling.GetAutoScalingConfigurations(ctx, &autoscaling.GetAutoScalingConfigurationsArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(autoScalingConfigurationDisplayName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAutoScalingConfigurations = Oci.Autoscaling.GetAutoScalingConfigurations.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = autoScalingConfigurationDisplayName,
    });

});
Copy
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.GetAutoScalingConfigurationsArgs;
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 testAutoScalingConfigurations = AutoscalingFunctions.getAutoScalingConfigurations(GetAutoScalingConfigurationsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(autoScalingConfigurationDisplayName)
            .build());

    }
}
Copy
variables:
  testAutoScalingConfigurations:
    fn::invoke:
      function: oci:Autoscaling:getAutoScalingConfigurations
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${autoScalingConfigurationDisplayName}
Copy

Using getAutoScalingConfigurations

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 getAutoScalingConfigurations(args: GetAutoScalingConfigurationsArgs, opts?: InvokeOptions): Promise<GetAutoScalingConfigurationsResult>
function getAutoScalingConfigurationsOutput(args: GetAutoScalingConfigurationsOutputArgs, opts?: InvokeOptions): Output<GetAutoScalingConfigurationsResult>
Copy
def get_auto_scaling_configurations(compartment_id: Optional[str] = None,
                                    display_name: Optional[str] = None,
                                    filters: Optional[Sequence[_autoscaling.GetAutoScalingConfigurationsFilter]] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetAutoScalingConfigurationsResult
def get_auto_scaling_configurations_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                    display_name: Optional[pulumi.Input[str]] = None,
                                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[_autoscaling.GetAutoScalingConfigurationsFilterArgs]]]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetAutoScalingConfigurationsResult]
Copy
func GetAutoScalingConfigurations(ctx *Context, args *GetAutoScalingConfigurationsArgs, opts ...InvokeOption) (*GetAutoScalingConfigurationsResult, error)
func GetAutoScalingConfigurationsOutput(ctx *Context, args *GetAutoScalingConfigurationsOutputArgs, opts ...InvokeOption) GetAutoScalingConfigurationsResultOutput
Copy

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

public static class GetAutoScalingConfigurations 
{
    public static Task<GetAutoScalingConfigurationsResult> InvokeAsync(GetAutoScalingConfigurationsArgs args, InvokeOptions? opts = null)
    public static Output<GetAutoScalingConfigurationsResult> Invoke(GetAutoScalingConfigurationsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAutoScalingConfigurationsResult> getAutoScalingConfigurations(GetAutoScalingConfigurationsArgs args, InvokeOptions options)
public static Output<GetAutoScalingConfigurationsResult> getAutoScalingConfigurations(GetAutoScalingConfigurationsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Autoscaling/getAutoScalingConfigurations:getAutoScalingConfigurations
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. List<GetAutoScalingConfigurationsFilter>
CompartmentId This property is required. string
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. []GetAutoScalingConfigurationsFilter
compartmentId This property is required. String
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<GetAutoScalingConfigurationsFilter>
compartmentId This property is required. string
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
displayName string
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. GetAutoScalingConfigurationsFilter[]
compartment_id This property is required. str
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
display_name str
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. Sequence[autoscaling.GetAutoScalingConfigurationsFilter]
compartmentId This property is required. String
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<Property Map>

getAutoScalingConfigurations Result

The following output properties are available:

AutoScalingConfigurations List<GetAutoScalingConfigurationsAutoScalingConfiguration>
The list of auto_scaling_configurations.
CompartmentId string
The OCID of the compartment containing the autoscaling configuration.
Id string
The provider-assigned unique ID for this managed resource.
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters List<GetAutoScalingConfigurationsFilter>
AutoScalingConfigurations []GetAutoScalingConfigurationsAutoScalingConfiguration
The list of auto_scaling_configurations.
CompartmentId string
The OCID of the compartment containing the autoscaling configuration.
Id string
The provider-assigned unique ID for this managed resource.
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters []GetAutoScalingConfigurationsFilter
autoScalingConfigurations List<GetAutoScalingConfigurationsAutoScalingConfiguration>
The list of auto_scaling_configurations.
compartmentId String
The OCID of the compartment containing the autoscaling configuration.
id String
The provider-assigned unique ID for this managed resource.
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters List<GetAutoScalingConfigurationsFilter>
autoScalingConfigurations GetAutoScalingConfigurationsAutoScalingConfiguration[]
The list of auto_scaling_configurations.
compartmentId string
The OCID of the compartment containing the autoscaling configuration.
id string
The provider-assigned unique ID for this managed resource.
displayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters GetAutoScalingConfigurationsFilter[]
auto_scaling_configurations Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfiguration]
The list of auto_scaling_configurations.
compartment_id str
The OCID of the compartment containing the autoscaling configuration.
id str
The provider-assigned unique ID for this managed resource.
display_name str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters Sequence[autoscaling.GetAutoScalingConfigurationsFilter]
autoScalingConfigurations List<Property Map>
The list of auto_scaling_configurations.
compartmentId String
The OCID of the compartment containing the autoscaling configuration.
id String
The provider-assigned unique ID for this managed resource.
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters List<Property Map>

Supporting Types

GetAutoScalingConfigurationsAutoScalingConfiguration

AutoScalingResources This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResource>
A resource that is managed by an autoscaling configuration. The only supported type is "instancePool."
CompartmentId This property is required. string
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
CoolDownInSeconds This property is required. 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 This property is required. 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 This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. 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 This property is required. string
ID of the condition that is assigned after creation.
IsEnabled This property is required. bool
Whether the autoscaling policy is enabled.
MaxResourceCount This property is required. int
The maximum number of resources to scale out to.
MinResourceCount This property is required. int
The minimum number of resources to scale in to.
Policies This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicy>
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
TimeCreated This property is required. string
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
AutoScalingResources This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResource
A resource that is managed by an autoscaling configuration. The only supported type is "instancePool."
CompartmentId This property is required. string
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
CoolDownInSeconds This property is required. 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 This property is required. 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 This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. 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 This property is required. string
ID of the condition that is assigned after creation.
IsEnabled This property is required. bool
Whether the autoscaling policy is enabled.
MaxResourceCount This property is required. int
The maximum number of resources to scale out to.
MinResourceCount This property is required. int
The minimum number of resources to scale in to.
Policies This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationPolicy
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
TimeCreated This property is required. string
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
autoScalingResources This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResource>
A resource that is managed by an autoscaling configuration. The only supported type is "instancePool."
compartmentId This property is required. String
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
coolDownInSeconds This property is required. 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 This property is required. 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 This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. 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 This property is required. String
ID of the condition that is assigned after creation.
isEnabled This property is required. Boolean
Whether the autoscaling policy is enabled.
maxResourceCount This property is required. Integer
The maximum number of resources to scale out to.
minResourceCount This property is required. Integer
The minimum number of resources to scale in to.
policies This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicy>
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
timeCreated This property is required. String
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
autoScalingResources This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResource[]
A resource that is managed by an autoscaling configuration. The only supported type is "instancePool."
compartmentId This property is required. string
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
coolDownInSeconds This property is required. 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 This property is required. {[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 This property is required. string
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. {[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 This property is required. string
ID of the condition that is assigned after creation.
isEnabled This property is required. boolean
Whether the autoscaling policy is enabled.
maxResourceCount This property is required. number
The maximum number of resources to scale out to.
minResourceCount This property is required. number
The minimum number of resources to scale in to.
policies This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationPolicy[]
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
timeCreated This property is required. 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_resources This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResource]
A resource that is managed by an autoscaling configuration. The only supported type is "instancePool."
compartment_id This property is required. str
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
cool_down_in_seconds This property is required. 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 This property is required. 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 This property is required. str
A filter to return only resources that match the given display name exactly.
freeform_tags This property is required. 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 This property is required. str
ID of the condition that is assigned after creation.
is_enabled This property is required. bool
Whether the autoscaling policy is enabled.
max_resource_count This property is required. int
The maximum number of resources to scale out to.
min_resource_count This property is required. int
The minimum number of resources to scale in to.
policies This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationPolicy]
Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
time_created This property is required. str
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
autoScalingResources This property is required. List<Property Map>
A resource that is managed by an autoscaling configuration. The only supported type is "instancePool."
compartmentId This property is required. String
The OCID of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment.
coolDownInSeconds This property is required. 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 This property is required. 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 This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. 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 This property is required. String
ID of the condition that is assigned after creation.
isEnabled This property is required. Boolean
Whether the autoscaling policy is enabled.
maxResourceCount This property is required. Number
The maximum number of resources to scale out to.
minResourceCount This property is required. Number
The minimum number of resources to scale in to.
policies This property is required. 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 This property is required. String
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResource

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

GetAutoScalingConfigurationsAutoScalingConfigurationPolicy

Capacities This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacity>
The capacity requirements of the autoscaling policy.
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
ExecutionSchedules This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionSchedule>
The schedule for executing the autoscaling policy.
Id This property is required. string
ID of the condition that is assigned after creation.
IsEnabled This property is required. bool
Whether the autoscaling policy is enabled.
PolicyType This property is required. string
The type of autoscaling policy.
ResourceActions This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceAction>
An action that can be executed against a resource.
Rules This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRule>
TimeCreated This property is required. string
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
Capacities This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacity
The capacity requirements of the autoscaling policy.
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
ExecutionSchedules This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionSchedule
The schedule for executing the autoscaling policy.
Id This property is required. string
ID of the condition that is assigned after creation.
IsEnabled This property is required. bool
Whether the autoscaling policy is enabled.
PolicyType This property is required. string
The type of autoscaling policy.
ResourceActions This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceAction
An action that can be executed against a resource.
Rules This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRule
TimeCreated This property is required. string
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
capacities This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacity>
The capacity requirements of the autoscaling policy.
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
executionSchedules This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionSchedule>
The schedule for executing the autoscaling policy.
id This property is required. String
ID of the condition that is assigned after creation.
isEnabled This property is required. Boolean
Whether the autoscaling policy is enabled.
policyType This property is required. String
The type of autoscaling policy.
resourceActions This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceAction>
An action that can be executed against a resource.
rules This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRule>
timeCreated This property is required. String
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
capacities This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacity[]
The capacity requirements of the autoscaling policy.
displayName This property is required. string
A filter to return only resources that match the given display name exactly.
executionSchedules This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionSchedule[]
The schedule for executing the autoscaling policy.
id This property is required. string
ID of the condition that is assigned after creation.
isEnabled This property is required. boolean
Whether the autoscaling policy is enabled.
policyType This property is required. string
The type of autoscaling policy.
resourceActions This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceAction[]
An action that can be executed against a resource.
rules This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRule[]
timeCreated This property is required. string
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
capacities This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacity]
The capacity requirements of the autoscaling policy.
display_name This property is required. str
A filter to return only resources that match the given display name exactly.
execution_schedules This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionSchedule]
The schedule for executing the autoscaling policy.
id This property is required. str
ID of the condition that is assigned after creation.
is_enabled This property is required. bool
Whether the autoscaling policy is enabled.
policy_type This property is required. str
The type of autoscaling policy.
resource_actions This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceAction]
An action that can be executed against a resource.
rules This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRule]
time_created This property is required. str
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
capacities This property is required. List<Property Map>
The capacity requirements of the autoscaling policy.
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
executionSchedules This property is required. List<Property Map>
The schedule for executing the autoscaling policy.
id This property is required. String
ID of the condition that is assigned after creation.
isEnabled This property is required. Boolean
Whether the autoscaling policy is enabled.
policyType This property is required. String
The type of autoscaling policy.
resourceActions This property is required. List<Property Map>
An action that can be executed against a resource.
rules This property is required. List<Property Map>
timeCreated This property is required. String
The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacity

Initial This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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).

GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionSchedule

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

GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceAction

Action This property is required. string
The action to take when autoscaling is triggered.
ActionType This property is required. string
The type of resource action.
Action This property is required. string
The action to take when autoscaling is triggered.
ActionType This property is required. string
The type of resource action.
action This property is required. String
The action to take when autoscaling is triggered.
actionType This property is required. String
The type of resource action.
action This property is required. string
The action to take when autoscaling is triggered.
actionType This property is required. string
The type of resource action.
action This property is required. str
The action to take when autoscaling is triggered.
action_type This property is required. str
The type of resource action.
action This property is required. String
The action to take when autoscaling is triggered.
actionType This property is required. String
The type of resource action.

GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRule

Actions This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleAction>
The action to take when autoscaling is triggered.
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
Id This property is required. string
ID of the condition that is assigned after creation.
Metrics This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetric>
Metric and threshold details for triggering an autoscaling action.
Actions This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleAction
The action to take when autoscaling is triggered.
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
Id This property is required. string
ID of the condition that is assigned after creation.
Metrics This property is required. []GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetric
Metric and threshold details for triggering an autoscaling action.
actions This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleAction>
The action to take when autoscaling is triggered.
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
id This property is required. String
ID of the condition that is assigned after creation.
metrics This property is required. List<GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetric>
Metric and threshold details for triggering an autoscaling action.
actions This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleAction[]
The action to take when autoscaling is triggered.
displayName This property is required. string
A filter to return only resources that match the given display name exactly.
id This property is required. string
ID of the condition that is assigned after creation.
metrics This property is required. GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetric[]
Metric and threshold details for triggering an autoscaling action.
actions This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleAction]
The action to take when autoscaling is triggered.
display_name This property is required. str
A filter to return only resources that match the given display name exactly.
id This property is required. str
ID of the condition that is assigned after creation.
metrics This property is required. Sequence[autoscaling.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetric]
Metric and threshold details for triggering an autoscaling action.
actions This property is required. List<Property Map>
The action to take when autoscaling is triggered.
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
id This property is required. String
ID of the condition that is assigned after creation.
metrics This property is required. List<Property Map>
Metric and threshold details for triggering an autoscaling action.

GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleAction

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

GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetric

metricType This property is required. String
thresholds This property is required. List<Property Map>

GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThreshold

Operator This property is required. 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 This property is required. int
Operator This property is required. 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 This property is required. int
operator This property is required. 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 This property is required. Integer
operator This property is required. 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 This property is required. number
operator This property is required. 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 This property is required. int
operator This property is required. 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 This property is required. Number

GetAutoScalingConfigurationsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi