Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Autoscaling.getAutoScalingConfiguration
Explore with Pulumi AI
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/v2/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 GetAutoScalingConfiguration(ctx *Context, args *GetAutoScalingConfigurationArgs, opts ...InvokeOption) (*GetAutoScalingConfigurationResult, error)
func GetAutoScalingConfigurationOutput(ctx *Context, args *GetAutoScalingConfigurationOutputArgs, opts ...InvokeOption) GetAutoScalingConfigurationResultOutput
> Note: This function is named GetAutoScalingConfiguration
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Autoscaling/getAutoScalingConfiguration:getAutoScalingConfiguration
arguments:
# arguments dictionary
The following arguments are supported:
- Auto
Scaling stringConfiguration Id - The OCID of the autoscaling configuration.
- Auto
Scaling stringConfiguration Id - The OCID of the autoscaling configuration.
- auto
Scaling StringConfiguration Id - The OCID of the autoscaling configuration.
- auto
Scaling stringConfiguration Id - The OCID of the autoscaling configuration.
- auto_
scaling_ strconfiguration_ id - The OCID of the autoscaling configuration.
- auto
Scaling StringConfiguration Id - The OCID of the autoscaling configuration.
getAutoScalingConfiguration Result
The following output properties are available:
- Auto
Scaling stringConfiguration Id - Auto
Scaling List<GetResources Auto Scaling Configuration Auto Scaling Resource> - A resource that is managed by an autoscaling configuration. The only supported type is
instancePool
. - Compartment
Id string - The OCID of the compartment containing the autoscaling configuration.
- Cool
Down intIn Seconds - 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.
- 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"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- Is
Enabled bool - Whether the autoscaling policy is enabled.
- Max
Resource intCount - The maximum number of resources to scale out to.
- Min
Resource intCount - The minimum number of resources to scale in to.
- Policies
List<Get
Auto Scaling Configuration Policy> - Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
- Time
Created 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 stringConfiguration Id - Auto
Scaling []GetResources Auto Scaling Configuration Auto Scaling Resource - A resource that is managed by an autoscaling configuration. The only supported type is
instancePool
. - Compartment
Id string - The OCID of the compartment containing the autoscaling configuration.
- Cool
Down intIn Seconds - 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.
- 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"}
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- Is
Enabled bool - Whether the autoscaling policy is enabled.
- Max
Resource intCount - The maximum number of resources to scale out to.
- Min
Resource intCount - The minimum number of resources to scale in to.
- Policies
[]Get
Auto Scaling Configuration Policy - Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
- Time
Created 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 StringConfiguration Id - auto
Scaling List<GetResources Auto Scaling Configuration Auto Scaling Resource> - A resource that is managed by an autoscaling configuration. The only supported type is
instancePool
. - compartment
Id String - The OCID of the compartment containing the autoscaling configuration.
- cool
Down IntegerIn Seconds - 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.
- 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"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- is
Enabled Boolean - Whether the autoscaling policy is enabled.
- max
Resource IntegerCount - The maximum number of resources to scale out to.
- min
Resource IntegerCount - The minimum number of resources to scale in to.
- policies
List<Get
Auto Scaling Configuration Policy> - Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
- time
Created 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 stringConfiguration Id - auto
Scaling GetResources Auto Scaling Configuration Auto Scaling Resource[] - A resource that is managed by an autoscaling configuration. The only supported type is
instancePool
. - compartment
Id string - The OCID of the compartment containing the autoscaling configuration.
- cool
Down numberIn Seconds - 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.
- {[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"}
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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.
- is
Enabled boolean - Whether the autoscaling policy is enabled.
- max
Resource numberCount - The maximum number of resources to scale out to.
- min
Resource numberCount - The minimum number of resources to scale in to.
- policies
Get
Auto Scaling Configuration Policy[] - Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take.
- time
Created 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_ strconfiguration_ id - auto_
scaling_ Sequence[autoscaling.resources Get Auto Scaling Configuration Auto Scaling Resource] - 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_ intin_ seconds - 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.
- 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.
- 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_ intcount - The maximum number of resources to scale out to.
- min_
resource_ intcount - The minimum number of resources to scale in to.
- policies
Sequence[autoscaling.
Get Auto Scaling Configuration Policy] - 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
- auto
Scaling StringConfiguration Id - auto
Scaling List<Property Map>Resources - A resource that is managed by an autoscaling configuration. The only supported type is
instancePool
. - compartment
Id String - The OCID of the compartment containing the autoscaling configuration.
- cool
Down NumberIn Seconds - 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.
- 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"}
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- is
Enabled Boolean - Whether the autoscaling policy is enabled.
- max
Resource NumberCount - The maximum number of resources to scale out to.
- min
Resource NumberCount - 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.
- time
Created 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
GetAutoScalingConfigurationPolicy
- Capacities
List<Get
Auto Scaling Configuration Policy Capacity> - The capacity requirements of the autoscaling policy.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Execution
Schedules List<GetAuto Scaling Configuration Policy Execution Schedule> - The schedule for executing the autoscaling policy.
- Id string
- ID of the condition that is assigned after creation.
- Is
Enabled bool - Whether the autoscaling policy is enabled.
- Policy
Type string - The type of autoscaling policy.
- Resource
Actions List<GetAuto Scaling Configuration Policy Resource Action> - An action that can be executed against a resource.
- Rules
List<Get
Auto Scaling Configuration Policy Rule> - Time
Created string - The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Capacities
[]Get
Auto Scaling Configuration Policy Capacity - The capacity requirements of the autoscaling policy.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Execution
Schedules []GetAuto Scaling Configuration Policy Execution Schedule - The schedule for executing the autoscaling policy.
- Id string
- ID of the condition that is assigned after creation.
- Is
Enabled bool - Whether the autoscaling policy is enabled.
- Policy
Type string - The type of autoscaling policy.
- Resource
Actions []GetAuto Scaling Configuration Policy Resource Action - An action that can be executed against a resource.
- Rules
[]Get
Auto Scaling Configuration Policy Rule - Time
Created 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<Get
Auto Scaling Configuration Policy Capacity> - The capacity requirements of the autoscaling policy.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- execution
Schedules List<GetAuto Scaling Configuration Policy Execution Schedule> - The schedule for executing the autoscaling policy.
- id String
- ID of the condition that is assigned after creation.
- is
Enabled Boolean - Whether the autoscaling policy is enabled.
- policy
Type String - The type of autoscaling policy.
- resource
Actions List<GetAuto Scaling Configuration Policy Resource Action> - An action that can be executed against a resource.
- rules
List<Get
Auto Scaling Configuration Policy Rule> - time
Created String - The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- capacities
Get
Auto Scaling Configuration Policy Capacity[] - The capacity requirements of the autoscaling policy.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- execution
Schedules GetAuto Scaling Configuration Policy Execution Schedule[] - The schedule for executing the autoscaling policy.
- id string
- ID of the condition that is assigned after creation.
- is
Enabled boolean - Whether the autoscaling policy is enabled.
- policy
Type string - The type of autoscaling policy.
- resource
Actions GetAuto Scaling Configuration Policy Resource Action[] - An action that can be executed against a resource.
- rules
Get
Auto Scaling Configuration Policy Rule[] - time
Created 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[autoscaling.
Get Auto Scaling Configuration Policy Capacity] - 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[autoscaling.Get Auto Scaling Configuration Policy Execution Schedule] - 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[autoscaling.Get Auto Scaling Configuration Policy Resource Action] - An action that can be executed against a resource.
- rules
Sequence[autoscaling.
Get Auto Scaling Configuration Policy Rule] - 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.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- execution
Schedules List<Property Map> - The schedule for executing the autoscaling policy.
- id String
- ID of the condition that is assigned after creation.
- is
Enabled Boolean - Whether the autoscaling policy is enabled.
- policy
Type String - The type of autoscaling policy.
- resource
Actions List<Property Map> - An action that can be executed against a resource.
- rules List<Property Map>
- time
Created 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.
- Action
Type string - The type of resource action.
- Action string
- The action to take when autoscaling is triggered.
- Action
Type string - The type of resource action.
- action String
- The action to take when autoscaling is triggered.
- action
Type String - The type of resource action.
- action string
- The action to take when autoscaling is triggered.
- action
Type string - The type of resource action.
- action str
- The action to take when autoscaling is triggered.
- action_
type str - The type of resource action.
- action String
- The action to take when autoscaling is triggered.
- action
Type String - The type of resource action.
GetAutoScalingConfigurationPolicyRule
- Actions
List<Get
Auto Scaling Configuration Policy Rule Action> - The action to take when autoscaling is triggered.
- Display
Name 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<Get
Auto Scaling Configuration Policy Rule Metric> - Metric and threshold details for triggering an autoscaling action.
- Actions
[]Get
Auto Scaling Configuration Policy Rule Action - The action to take when autoscaling is triggered.
- Display
Name 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
[]Get
Auto Scaling Configuration Policy Rule Metric - Metric and threshold details for triggering an autoscaling action.
- actions
List<Get
Auto Scaling Configuration Policy Rule Action> - The action to take when autoscaling is triggered.
- display
Name 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<Get
Auto Scaling Configuration Policy Rule Metric> - Metric and threshold details for triggering an autoscaling action.
- actions
Get
Auto Scaling Configuration Policy Rule Action[] - The action to take when autoscaling is triggered.
- display
Name 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
Get
Auto Scaling Configuration Policy Rule Metric[] - Metric and threshold details for triggering an autoscaling action.
- actions
Sequence[autoscaling.
Get Auto Scaling Configuration Policy Rule Action] - 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[autoscaling.
Get Auto Scaling Configuration Policy Rule Metric] - Metric and threshold details for triggering an autoscaling action.
- actions List<Property Map>
- The action to take when autoscaling is triggered.
- display
Name 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>
- Metric and threshold details for triggering an autoscaling action.
GetAutoScalingConfigurationPolicyRuleAction
GetAutoScalingConfigurationPolicyRuleMetric
GetAutoScalingConfigurationPolicyRuleMetricThreshold
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.