Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

AutoScalingConfiguration

This resource provides the Auto Scaling Configuration resource in Oracle Cloud Infrastructure Big Data Service service.

Add an autoscale configuration to the cluster.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAutoScalingConfiguration = new Oci.BigDataService.AutoScalingConfiguration("testAutoScalingConfiguration", new Oci.BigDataService.AutoScalingConfigurationArgs
        {
            BdsInstanceId = oci_bds_bds_instance.Test_bds_instance.Id,
            ClusterAdminPassword = @var.Auto_scaling_configuration_cluster_admin_password,
            IsEnabled = @var.Auto_scaling_configuration_is_enabled,
            NodeType = @var.Auto_scaling_configuration_node_type,
            Policy = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyArgs
            {
                PolicyType = @var.Auto_scaling_configuration_policy_policy_type,
                Rules = 
                {
                    new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyRuleArgs
                    {
                        Action = @var.Auto_scaling_configuration_policy_rules_action,
                        Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyRuleMetricArgs
                        {
                            MetricType = @var.Auto_scaling_configuration_policy_rules_metric_metric_type,
                            Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyRuleMetricThresholdArgs
                            {
                                DurationInMinutes = @var.Auto_scaling_configuration_policy_rules_metric_threshold_duration_in_minutes,
                                Operator = @var.Auto_scaling_configuration_policy_rules_metric_threshold_operator,
                                Value = @var.Auto_scaling_configuration_policy_rules_metric_threshold_value,
                            },
                        },
                    },
                },
            },
            DisplayName = @var.Auto_scaling_configuration_display_name,
        });
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := BigDataService.NewAutoScalingConfiguration(ctx, "testAutoScalingConfiguration", &BigDataService.AutoScalingConfigurationArgs{
			BdsInstanceId:        pulumi.Any(oci_bds_bds_instance.Test_bds_instance.Id),
			ClusterAdminPassword: pulumi.Any(_var.Auto_scaling_configuration_cluster_admin_password),
			IsEnabled:            pulumi.Any(_var.Auto_scaling_configuration_is_enabled),
			NodeType:             pulumi.Any(_var.Auto_scaling_configuration_node_type),
			Policy: &bigdataservice.AutoScalingConfigurationPolicyArgs{
				PolicyType: pulumi.Any(_var.Auto_scaling_configuration_policy_policy_type),
				Rules: bigdataservice.AutoScalingConfigurationPolicyRuleArray{
					&bigdataservice.AutoScalingConfigurationPolicyRuleArgs{
						Action: pulumi.Any(_var.Auto_scaling_configuration_policy_rules_action),
						Metric: &bigdataservice.AutoScalingConfigurationPolicyRuleMetricArgs{
							MetricType: pulumi.Any(_var.Auto_scaling_configuration_policy_rules_metric_metric_type),
							Threshold: &bigdataservice.AutoScalingConfigurationPolicyRuleMetricThresholdArgs{
								DurationInMinutes: pulumi.Any(_var.Auto_scaling_configuration_policy_rules_metric_threshold_duration_in_minutes),
								Operator:          pulumi.Any(_var.Auto_scaling_configuration_policy_rules_metric_threshold_operator),
								Value:             pulumi.Any(_var.Auto_scaling_configuration_policy_rules_metric_threshold_value),
							},
						},
					},
				},
			},
			DisplayName: pulumi.Any(_var.Auto_scaling_configuration_display_name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_auto_scaling_configuration = oci.big_data_service.AutoScalingConfiguration("testAutoScalingConfiguration",
    bds_instance_id=oci_bds_bds_instance["test_bds_instance"]["id"],
    cluster_admin_password=var["auto_scaling_configuration_cluster_admin_password"],
    is_enabled=var["auto_scaling_configuration_is_enabled"],
    node_type=var["auto_scaling_configuration_node_type"],
    policy=oci.big.data.service.AutoScalingConfigurationPolicyArgs(
        policy_type=var["auto_scaling_configuration_policy_policy_type"],
        rules=[oci.big.data.service.AutoScalingConfigurationPolicyRuleArgs(
            action=var["auto_scaling_configuration_policy_rules_action"],
            metric=oci.big.data.service.AutoScalingConfigurationPolicyRuleMetricArgs(
                metric_type=var["auto_scaling_configuration_policy_rules_metric_metric_type"],
                threshold=oci.big.data.service.AutoScalingConfigurationPolicyRuleMetricThresholdArgs(
                    duration_in_minutes=var["auto_scaling_configuration_policy_rules_metric_threshold_duration_in_minutes"],
                    operator=var["auto_scaling_configuration_policy_rules_metric_threshold_operator"],
                    value=var["auto_scaling_configuration_policy_rules_metric_threshold_value"],
                ),
            ),
        )],
    ),
    display_name=var["auto_scaling_configuration_display_name"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutoScalingConfiguration = new oci.bigdataservice.AutoScalingConfiguration("testAutoScalingConfiguration", {
    bdsInstanceId: oci_bds_bds_instance.test_bds_instance.id,
    clusterAdminPassword: _var.auto_scaling_configuration_cluster_admin_password,
    isEnabled: _var.auto_scaling_configuration_is_enabled,
    nodeType: _var.auto_scaling_configuration_node_type,
    policy: {
        policyType: _var.auto_scaling_configuration_policy_policy_type,
        rules: [{
            action: _var.auto_scaling_configuration_policy_rules_action,
            metric: {
                metricType: _var.auto_scaling_configuration_policy_rules_metric_metric_type,
                threshold: {
                    durationInMinutes: _var.auto_scaling_configuration_policy_rules_metric_threshold_duration_in_minutes,
                    operator: _var.auto_scaling_configuration_policy_rules_metric_threshold_operator,
                    value: _var.auto_scaling_configuration_policy_rules_metric_threshold_value,
                },
            },
        }],
    },
    displayName: _var.auto_scaling_configuration_display_name,
});

Coming soon!

Create a AutoScalingConfiguration Resource

new AutoScalingConfiguration(name: string, args: AutoScalingConfigurationArgs, opts?: CustomResourceOptions);
@overload
def AutoScalingConfiguration(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             bds_instance_id: Optional[str] = None,
                             cluster_admin_password: Optional[str] = None,
                             display_name: Optional[str] = None,
                             is_enabled: Optional[bool] = None,
                             node_type: Optional[str] = None,
                             policy: Optional[_bigdataservice.AutoScalingConfigurationPolicyArgs] = None)
@overload
def AutoScalingConfiguration(resource_name: str,
                             args: AutoScalingConfigurationArgs,
                             opts: Optional[ResourceOptions] = None)
func NewAutoScalingConfiguration(ctx *Context, name string, args AutoScalingConfigurationArgs, opts ...ResourceOption) (*AutoScalingConfiguration, error)
public AutoScalingConfiguration(string name, AutoScalingConfigurationArgs args, CustomResourceOptions? opts = null)
public AutoScalingConfiguration(String name, AutoScalingConfigurationArgs args)
public AutoScalingConfiguration(String name, AutoScalingConfigurationArgs args, CustomResourceOptions options)
type: oci:BigDataService:AutoScalingConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AutoScalingConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AutoScalingConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AutoScalingConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AutoScalingConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AutoScalingConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AutoScalingConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AutoScalingConfiguration resource accepts the following input properties:

BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

IsEnabled bool

(Updatable) Whether the autoscale configuration is enabled.

NodeType string

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

Policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

DisplayName string

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

IsEnabled bool

(Updatable) Whether the autoscale configuration is enabled.

NodeType string

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

Policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

DisplayName string

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

isEnabled Boolean

(Updatable) Whether the autoscale configuration is enabled.

nodeType String

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

displayName String

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

bdsInstanceId string

The OCID of the cluster.

clusterAdminPassword string

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

isEnabled boolean

(Updatable) Whether the autoscale configuration is enabled.

nodeType string

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

displayName string

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

bds_instance_id str

The OCID of the cluster.

cluster_admin_password str

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

is_enabled bool

(Updatable) Whether the autoscale configuration is enabled.

node_type str

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

display_name str

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

isEnabled Boolean

(Updatable) Whether the autoscale configuration is enabled.

nodeType String

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy Property Map

(Updatable) Policy definitions for the autoscale configuration.

displayName String

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

Outputs

All input properties are implicitly available as output properties. Additionally, the AutoScalingConfiguration resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

State string

The state of the autoscale configuration.

TimeCreated string

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

TimeUpdated string

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

Id string

The provider-assigned unique ID for this managed resource.

State string

The state of the autoscale configuration.

TimeCreated string

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

TimeUpdated string

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

id String

The provider-assigned unique ID for this managed resource.

state String

The state of the autoscale configuration.

timeCreated String

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

timeUpdated String

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

id string

The provider-assigned unique ID for this managed resource.

state string

The state of the autoscale configuration.

timeCreated string

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

timeUpdated string

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

id str

The provider-assigned unique ID for this managed resource.

state str

The state of the autoscale configuration.

time_created str

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

time_updated str

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

id String

The provider-assigned unique ID for this managed resource.

state String

The state of the autoscale configuration.

timeCreated String

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

timeUpdated String

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

Look up an Existing AutoScalingConfiguration Resource

Get an existing AutoScalingConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AutoScalingConfigurationState, opts?: CustomResourceOptions): AutoScalingConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bds_instance_id: Optional[str] = None,
        cluster_admin_password: Optional[str] = None,
        display_name: Optional[str] = None,
        is_enabled: Optional[bool] = None,
        node_type: Optional[str] = None,
        policy: Optional[_bigdataservice.AutoScalingConfigurationPolicyArgs] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> AutoScalingConfiguration
func GetAutoScalingConfiguration(ctx *Context, name string, id IDInput, state *AutoScalingConfigurationState, opts ...ResourceOption) (*AutoScalingConfiguration, error)
public static AutoScalingConfiguration Get(string name, Input<string> id, AutoScalingConfigurationState? state, CustomResourceOptions? opts = null)
public static AutoScalingConfiguration get(String name, Output<String> id, AutoScalingConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

DisplayName string

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

IsEnabled bool

(Updatable) Whether the autoscale configuration is enabled.

NodeType string

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

Policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

State string

The state of the autoscale configuration.

TimeCreated string

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

TimeUpdated string

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

BdsInstanceId string

The OCID of the cluster.

ClusterAdminPassword string

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

DisplayName string

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

IsEnabled bool

(Updatable) Whether the autoscale configuration is enabled.

NodeType string

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

Policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

State string

The state of the autoscale configuration.

TimeCreated string

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

TimeUpdated string

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

displayName String

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

isEnabled Boolean

(Updatable) Whether the autoscale configuration is enabled.

nodeType String

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

state String

The state of the autoscale configuration.

timeCreated String

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

timeUpdated String

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

bdsInstanceId string

The OCID of the cluster.

clusterAdminPassword string

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

displayName string

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

isEnabled boolean

(Updatable) Whether the autoscale configuration is enabled.

nodeType string

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

state string

The state of the autoscale configuration.

timeCreated string

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

timeUpdated string

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

bds_instance_id str

The OCID of the cluster.

cluster_admin_password str

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

display_name str

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

is_enabled bool

(Updatable) Whether the autoscale configuration is enabled.

node_type str

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy AutoScalingConfigurationPolicyArgs

(Updatable) Policy definitions for the autoscale configuration.

state str

The state of the autoscale configuration.

time_created str

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

time_updated str

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

bdsInstanceId String

The OCID of the cluster.

clusterAdminPassword String

(Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

displayName String

(Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

isEnabled Boolean

(Updatable) Whether the autoscale configuration is enabled.

nodeType String

A node type that is managed by an autoscale configuration. The only supported type is WORKER.

policy Property Map

(Updatable) Policy definitions for the autoscale configuration.

state String

The state of the autoscale configuration.

timeCreated String

The time the cluster was created, shown as an RFC 3339 formatted datetime string.

timeUpdated String

The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.

Supporting Types

AutoScalingConfigurationPolicy

PolicyType string

(Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)

Rules List<AutoScalingConfigurationPolicyRule>

(Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.

PolicyType string

(Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)

Rules []AutoScalingConfigurationPolicyRule

(Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.

policyType String

(Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)

rules List<AutoScalingConfigurationPolicyRule>

(Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.

policyType string

(Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)

rules AutoScalingConfigurationPolicyRule[]

(Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.

policy_type str

(Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)

rules AutoScalingConfigurationPolicyRule]

(Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.

policyType String

(Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)

rules List<Property Map>

(Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.

AutoScalingConfigurationPolicyRule

Action string

(Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.

Metric AutoScalingConfigurationPolicyRuleMetric

(Updatable) Metric and threshold details for triggering an autoscale action.

Action string

(Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.

Metric AutoScalingConfigurationPolicyRuleMetric

(Updatable) Metric and threshold details for triggering an autoscale action.

action String

(Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.

metric AutoScalingConfigurationPolicyRuleMetric

(Updatable) Metric and threshold details for triggering an autoscale action.

action string

(Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.

metric AutoScalingConfigurationPolicyRuleMetric

(Updatable) Metric and threshold details for triggering an autoscale action.

action str

(Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.

metric AutoScalingConfigurationPolicyRuleMetric

(Updatable) Metric and threshold details for triggering an autoscale action.

action String

(Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.

metric Property Map

(Updatable) Metric and threshold details for triggering an autoscale action.

AutoScalingConfigurationPolicyRuleMetric

MetricType string

(Updatable) Allowed value is CPU_UTILIZATION.

Threshold AutoScalingConfigurationPolicyRuleMetricThreshold

(Updatable) An autoscale action is triggered when a performance metric meets or exceeds a threshold.

MetricType string

(Updatable) Allowed value is CPU_UTILIZATION.

Threshold AutoScalingConfigurationPolicyRuleMetricThreshold

(Updatable) An autoscale action is triggered when a performance metric meets or exceeds a threshold.

metricType String

(Updatable) Allowed value is CPU_UTILIZATION.

threshold AutoScalingConfigurationPolicyRuleMetricThreshold

(Updatable) An autoscale action is triggered when a performance metric meets or exceeds a threshold.

metricType string

(Updatable) Allowed value is CPU_UTILIZATION.

threshold AutoScalingConfigurationPolicyRuleMetricThreshold

(Updatable) An autoscale action is triggered when a performance metric meets or exceeds a threshold.

metric_type str

(Updatable) Allowed value is CPU_UTILIZATION.

threshold AutoScalingConfigurationPolicyRuleMetricThreshold

(Updatable) An autoscale action is triggered when a performance metric meets or exceeds a threshold.

metricType String

(Updatable) Allowed value is CPU_UTILIZATION.

threshold Property Map

(Updatable) An autoscale action is triggered when a performance metric meets or exceeds a threshold.

AutoScalingConfigurationPolicyRuleMetricThreshold

DurationInMinutes int

(Updatable) This value is the minimum period of time the metric value meets or exceeds the threshold value before the action is triggered. The value is in minutes.

Operator string

(Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).

Value int

(Updatable) Integer non-negative value. 0 < value < 100

DurationInMinutes int

(Updatable) This value is the minimum period of time the metric value meets or exceeds the threshold value before the action is triggered. The value is in minutes.

Operator string

(Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).

Value int

(Updatable) Integer non-negative value. 0 < value < 100

durationInMinutes Integer

(Updatable) This value is the minimum period of time the metric value meets or exceeds the threshold value before the action is triggered. The value is in minutes.

operator String

(Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).

value Integer

(Updatable) Integer non-negative value. 0 < value < 100

durationInMinutes number

(Updatable) This value is the minimum period of time the metric value meets or exceeds the threshold value before the action is triggered. The value is in minutes.

operator string

(Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).

value number

(Updatable) Integer non-negative value. 0 < value < 100

duration_in_minutes int

(Updatable) This value is the minimum period of time the metric value meets or exceeds the threshold value before the action is triggered. The value is in minutes.

operator str

(Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).

value int

(Updatable) Integer non-negative value. 0 < value < 100

durationInMinutes Number

(Updatable) This value is the minimum period of time the metric value meets or exceeds the threshold value before the action is triggered. The value is in minutes.

operator String

(Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).

value Number

(Updatable) Integer non-negative value. 0 < value < 100

Import

AutoScalingConfiguration can be imported using the id, e.g.

 $ pulumi import oci:BigDataService/autoScalingConfiguration:AutoScalingConfiguration test_auto_scaling_configuration "bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.