1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. EmrAutoScaleStrategy
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.EmrAutoScaleStrategy

Explore with Pulumi AI

Provides a resource to create a emr emr_auto_scale_strategy

Example Usage

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

const emrAutoScaleStrategy = new tencentcloud.EmrAutoScaleStrategy("emrAutoScaleStrategy", {
    instanceId: "emr-rzrochgp",
    strategyType: 2,
    timeAutoScaleStrategies: [{
        configGroupAssigned: "{\"HDFS-2.8.5\":-1,\"YARN-2.8.5\":-1}",
        graceDownFlag: false,
        intervalTime: 100,
        measureMethod: "INSTANCE",
        priority: 1,
        repeatStrategy: {
            dayRepeat: {
                executeAtTimeOfDay: "16:30:00",
                step: 1,
            },
            expire: "2026-02-20 23:59:59",
            repeatType: "DAY",
        },
        retryValidTime: 60,
        scaleAction: 1,
        scaleNum: 1,
        serviceNodeInfos: [7],
        softDeployInfos: [
            1,
            2,
        ],
        strategyName: "tf-test1",
        strategyStatus: 1,
        tags: [{
            tagKey: "createBy",
            tagValue: "terraform",
        }],
        terminatePolicy: "DEFAULT",
    }],
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

emr_auto_scale_strategy = tencentcloud.EmrAutoScaleStrategy("emrAutoScaleStrategy",
    instance_id="emr-rzrochgp",
    strategy_type=2,
    time_auto_scale_strategies=[{
        "config_group_assigned": "{\"HDFS-2.8.5\":-1,\"YARN-2.8.5\":-1}",
        "grace_down_flag": False,
        "interval_time": 100,
        "measure_method": "INSTANCE",
        "priority": 1,
        "repeat_strategy": {
            "day_repeat": {
                "execute_at_time_of_day": "16:30:00",
                "step": 1,
            },
            "expire": "2026-02-20 23:59:59",
            "repeat_type": "DAY",
        },
        "retry_valid_time": 60,
        "scale_action": 1,
        "scale_num": 1,
        "service_node_infos": [7],
        "soft_deploy_infos": [
            1,
            2,
        ],
        "strategy_name": "tf-test1",
        "strategy_status": 1,
        "tags": [{
            "tag_key": "createBy",
            "tag_value": "terraform",
        }],
        "terminate_policy": "DEFAULT",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := tencentcloud.NewEmrAutoScaleStrategy(ctx, "emrAutoScaleStrategy", &tencentcloud.EmrAutoScaleStrategyArgs{
			InstanceId:   pulumi.String("emr-rzrochgp"),
			StrategyType: pulumi.Float64(2),
			TimeAutoScaleStrategies: tencentcloud.EmrAutoScaleStrategyTimeAutoScaleStrategyArray{
				&tencentcloud.EmrAutoScaleStrategyTimeAutoScaleStrategyArgs{
					ConfigGroupAssigned: pulumi.String("{\"HDFS-2.8.5\":-1,\"YARN-2.8.5\":-1}"),
					GraceDownFlag:       pulumi.Bool(false),
					IntervalTime:        pulumi.Float64(100),
					MeasureMethod:       pulumi.String("INSTANCE"),
					Priority:            pulumi.Float64(1),
					RepeatStrategy: &tencentcloud.EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyArgs{
						DayRepeat: &tencentcloud.EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeatArgs{
							ExecuteAtTimeOfDay: pulumi.String("16:30:00"),
							Step:               pulumi.Float64(1),
						},
						Expire:     pulumi.String("2026-02-20 23:59:59"),
						RepeatType: pulumi.String("DAY"),
					},
					RetryValidTime: pulumi.Float64(60),
					ScaleAction:    pulumi.Float64(1),
					ScaleNum:       pulumi.Float64(1),
					ServiceNodeInfos: pulumi.Float64Array{
						pulumi.Float64(7),
					},
					SoftDeployInfos: pulumi.Float64Array{
						pulumi.Float64(1),
						pulumi.Float64(2),
					},
					StrategyName:   pulumi.String("tf-test1"),
					StrategyStatus: pulumi.Float64(1),
					Tags: tencentcloud.EmrAutoScaleStrategyTimeAutoScaleStrategyTagArray{
						&tencentcloud.EmrAutoScaleStrategyTimeAutoScaleStrategyTagArgs{
							TagKey:   pulumi.String("createBy"),
							TagValue: pulumi.String("terraform"),
						},
					},
					TerminatePolicy: pulumi.String("DEFAULT"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var emrAutoScaleStrategy = new Tencentcloud.EmrAutoScaleStrategy("emrAutoScaleStrategy", new()
    {
        InstanceId = "emr-rzrochgp",
        StrategyType = 2,
        TimeAutoScaleStrategies = new[]
        {
            new Tencentcloud.Inputs.EmrAutoScaleStrategyTimeAutoScaleStrategyArgs
            {
                ConfigGroupAssigned = "{\"HDFS-2.8.5\":-1,\"YARN-2.8.5\":-1}",
                GraceDownFlag = false,
                IntervalTime = 100,
                MeasureMethod = "INSTANCE",
                Priority = 1,
                RepeatStrategy = new Tencentcloud.Inputs.EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyArgs
                {
                    DayRepeat = new Tencentcloud.Inputs.EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeatArgs
                    {
                        ExecuteAtTimeOfDay = "16:30:00",
                        Step = 1,
                    },
                    Expire = "2026-02-20 23:59:59",
                    RepeatType = "DAY",
                },
                RetryValidTime = 60,
                ScaleAction = 1,
                ScaleNum = 1,
                ServiceNodeInfos = new[]
                {
                    7,
                },
                SoftDeployInfos = new[]
                {
                    1,
                    2,
                },
                StrategyName = "tf-test1",
                StrategyStatus = 1,
                Tags = new[]
                {
                    new Tencentcloud.Inputs.EmrAutoScaleStrategyTimeAutoScaleStrategyTagArgs
                    {
                        TagKey = "createBy",
                        TagValue = "terraform",
                    },
                },
                TerminatePolicy = "DEFAULT",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.EmrAutoScaleStrategy;
import com.pulumi.tencentcloud.EmrAutoScaleStrategyArgs;
import com.pulumi.tencentcloud.inputs.EmrAutoScaleStrategyTimeAutoScaleStrategyArgs;
import com.pulumi.tencentcloud.inputs.EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyArgs;
import com.pulumi.tencentcloud.inputs.EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeatArgs;
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) {
        var emrAutoScaleStrategy = new EmrAutoScaleStrategy("emrAutoScaleStrategy", EmrAutoScaleStrategyArgs.builder()
            .instanceId("emr-rzrochgp")
            .strategyType(2)
            .timeAutoScaleStrategies(EmrAutoScaleStrategyTimeAutoScaleStrategyArgs.builder()
                .configGroupAssigned("{\"HDFS-2.8.5\":-1,\"YARN-2.8.5\":-1}")
                .graceDownFlag(false)
                .intervalTime(100)
                .measureMethod("INSTANCE")
                .priority(1)
                .repeatStrategy(EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyArgs.builder()
                    .dayRepeat(EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeatArgs.builder()
                        .executeAtTimeOfDay("16:30:00")
                        .step(1)
                        .build())
                    .expire("2026-02-20 23:59:59")
                    .repeatType("DAY")
                    .build())
                .retryValidTime(60)
                .scaleAction(1)
                .scaleNum(1)
                .serviceNodeInfos(7)
                .softDeployInfos(                
                    1,
                    2)
                .strategyName("tf-test1")
                .strategyStatus(1)
                .tags(EmrAutoScaleStrategyTimeAutoScaleStrategyTagArgs.builder()
                    .tagKey("createBy")
                    .tagValue("terraform")
                    .build())
                .terminatePolicy("DEFAULT")
                .build())
            .build());

    }
}
Copy
resources:
  emrAutoScaleStrategy:
    type: tencentcloud:EmrAutoScaleStrategy
    properties:
      instanceId: emr-rzrochgp
      strategyType: 2
      timeAutoScaleStrategies:
        - configGroupAssigned: '{"HDFS-2.8.5":-1,"YARN-2.8.5":-1}'
          graceDownFlag: false
          intervalTime: 100
          measureMethod: INSTANCE
          priority: 1
          repeatStrategy:
            dayRepeat:
              executeAtTimeOfDay: 16:30:00
              step: 1
            expire: 2026-02-20 23:59:59
            repeatType: DAY
          retryValidTime: 60
          scaleAction: 1
          scaleNum: 1
          serviceNodeInfos:
            - 7
          softDeployInfos:
            - 1
            - 2
          strategyName: tf-test1
          strategyStatus: 1
          tags:
            - tagKey: createBy
              tagValue: terraform
          terminatePolicy: DEFAULT
Copy

Create EmrAutoScaleStrategy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EmrAutoScaleStrategy(name: string, args: EmrAutoScaleStrategyArgs, opts?: CustomResourceOptions);
@overload
def EmrAutoScaleStrategy(resource_name: str,
                         args: EmrAutoScaleStrategyArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def EmrAutoScaleStrategy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         instance_id: Optional[str] = None,
                         strategy_type: Optional[float] = None,
                         emr_auto_scale_strategy_id: Optional[str] = None,
                         load_auto_scale_strategies: Optional[Sequence[EmrAutoScaleStrategyLoadAutoScaleStrategyArgs]] = None,
                         time_auto_scale_strategies: Optional[Sequence[EmrAutoScaleStrategyTimeAutoScaleStrategyArgs]] = None)
func NewEmrAutoScaleStrategy(ctx *Context, name string, args EmrAutoScaleStrategyArgs, opts ...ResourceOption) (*EmrAutoScaleStrategy, error)
public EmrAutoScaleStrategy(string name, EmrAutoScaleStrategyArgs args, CustomResourceOptions? opts = null)
public EmrAutoScaleStrategy(String name, EmrAutoScaleStrategyArgs args)
public EmrAutoScaleStrategy(String name, EmrAutoScaleStrategyArgs args, CustomResourceOptions options)
type: tencentcloud:EmrAutoScaleStrategy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

EmrAutoScaleStrategy Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EmrAutoScaleStrategy resource accepts the following input properties:

InstanceId This property is required. string
Instance ID.
StrategyType This property is required. double
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
EmrAutoScaleStrategyId string
ID of the resource.
LoadAutoScaleStrategies List<EmrAutoScaleStrategyLoadAutoScaleStrategy>
Expansion rules based on load.
TimeAutoScaleStrategies List<EmrAutoScaleStrategyTimeAutoScaleStrategy>
Rules for scaling up and down over time.
InstanceId This property is required. string
Instance ID.
StrategyType This property is required. float64
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
EmrAutoScaleStrategyId string
ID of the resource.
LoadAutoScaleStrategies []EmrAutoScaleStrategyLoadAutoScaleStrategyArgs
Expansion rules based on load.
TimeAutoScaleStrategies []EmrAutoScaleStrategyTimeAutoScaleStrategyArgs
Rules for scaling up and down over time.
instanceId This property is required. String
Instance ID.
strategyType This property is required. Double
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
emrAutoScaleStrategyId String
ID of the resource.
loadAutoScaleStrategies List<EmrAutoScaleStrategyLoadAutoScaleStrategy>
Expansion rules based on load.
timeAutoScaleStrategies List<EmrAutoScaleStrategyTimeAutoScaleStrategy>
Rules for scaling up and down over time.
instanceId This property is required. string
Instance ID.
strategyType This property is required. number
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
emrAutoScaleStrategyId string
ID of the resource.
loadAutoScaleStrategies EmrAutoScaleStrategyLoadAutoScaleStrategy[]
Expansion rules based on load.
timeAutoScaleStrategies EmrAutoScaleStrategyTimeAutoScaleStrategy[]
Rules for scaling up and down over time.
instance_id This property is required. str
Instance ID.
strategy_type This property is required. float
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
emr_auto_scale_strategy_id str
ID of the resource.
load_auto_scale_strategies Sequence[EmrAutoScaleStrategyLoadAutoScaleStrategyArgs]
Expansion rules based on load.
time_auto_scale_strategies Sequence[EmrAutoScaleStrategyTimeAutoScaleStrategyArgs]
Rules for scaling up and down over time.
instanceId This property is required. String
Instance ID.
strategyType This property is required. Number
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
emrAutoScaleStrategyId String
ID of the resource.
loadAutoScaleStrategies List<Property Map>
Expansion rules based on load.
timeAutoScaleStrategies List<Property Map>
Rules for scaling up and down over time.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing EmrAutoScaleStrategy Resource

Get an existing EmrAutoScaleStrategy 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?: EmrAutoScaleStrategyState, opts?: CustomResourceOptions): EmrAutoScaleStrategy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        emr_auto_scale_strategy_id: Optional[str] = None,
        instance_id: Optional[str] = None,
        load_auto_scale_strategies: Optional[Sequence[EmrAutoScaleStrategyLoadAutoScaleStrategyArgs]] = None,
        strategy_type: Optional[float] = None,
        time_auto_scale_strategies: Optional[Sequence[EmrAutoScaleStrategyTimeAutoScaleStrategyArgs]] = None) -> EmrAutoScaleStrategy
func GetEmrAutoScaleStrategy(ctx *Context, name string, id IDInput, state *EmrAutoScaleStrategyState, opts ...ResourceOption) (*EmrAutoScaleStrategy, error)
public static EmrAutoScaleStrategy Get(string name, Input<string> id, EmrAutoScaleStrategyState? state, CustomResourceOptions? opts = null)
public static EmrAutoScaleStrategy get(String name, Output<String> id, EmrAutoScaleStrategyState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:EmrAutoScaleStrategy    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
EmrAutoScaleStrategyId string
ID of the resource.
InstanceId string
Instance ID.
LoadAutoScaleStrategies List<EmrAutoScaleStrategyLoadAutoScaleStrategy>
Expansion rules based on load.
StrategyType double
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
TimeAutoScaleStrategies List<EmrAutoScaleStrategyTimeAutoScaleStrategy>
Rules for scaling up and down over time.
EmrAutoScaleStrategyId string
ID of the resource.
InstanceId string
Instance ID.
LoadAutoScaleStrategies []EmrAutoScaleStrategyLoadAutoScaleStrategyArgs
Expansion rules based on load.
StrategyType float64
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
TimeAutoScaleStrategies []EmrAutoScaleStrategyTimeAutoScaleStrategyArgs
Rules for scaling up and down over time.
emrAutoScaleStrategyId String
ID of the resource.
instanceId String
Instance ID.
loadAutoScaleStrategies List<EmrAutoScaleStrategyLoadAutoScaleStrategy>
Expansion rules based on load.
strategyType Double
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
timeAutoScaleStrategies List<EmrAutoScaleStrategyTimeAutoScaleStrategy>
Rules for scaling up and down over time.
emrAutoScaleStrategyId string
ID of the resource.
instanceId string
Instance ID.
loadAutoScaleStrategies EmrAutoScaleStrategyLoadAutoScaleStrategy[]
Expansion rules based on load.
strategyType number
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
timeAutoScaleStrategies EmrAutoScaleStrategyTimeAutoScaleStrategy[]
Rules for scaling up and down over time.
emr_auto_scale_strategy_id str
ID of the resource.
instance_id str
Instance ID.
load_auto_scale_strategies Sequence[EmrAutoScaleStrategyLoadAutoScaleStrategyArgs]
Expansion rules based on load.
strategy_type float
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
time_auto_scale_strategies Sequence[EmrAutoScaleStrategyTimeAutoScaleStrategyArgs]
Rules for scaling up and down over time.
emrAutoScaleStrategyId String
ID of the resource.
instanceId String
Instance ID.
loadAutoScaleStrategies List<Property Map>
Expansion rules based on load.
strategyType Number
1 means expansion and contraction according to load rules, 2 means expansion and contraction according to time rules. Must be filled in and match the following rule policy.
timeAutoScaleStrategies List<Property Map>
Rules for scaling up and down over time.

Supporting Types

EmrAutoScaleStrategyLoadAutoScaleStrategy
, EmrAutoScaleStrategyLoadAutoScaleStrategyArgs

CalmDownTime double
Cooling time for rules to take effect.
ConfigGroupAssigned string
Default configuration group.
GraceDownFlag bool
Elegant shrink switch.
GraceDownTime double
Graceful downsizing waiting time.
LoadMetricsConditions EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions
Multiple indicator trigger conditions.
MeasureMethod string
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
PeriodValid string
Effective time for the rule to take effect.
Priority double
Rule priority, invalid when added, defaults to auto-increment.
ProcessMethod double
Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
ScaleAction double
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
ScaleNum double
The amount of expansion and contraction each time the rule takes effect.
StrategyId double
Rule ID.
StrategyName string
Rule name.
StrategyStatus double
Rule status, 1 means enabled, 3 means disabled.
Tags List<EmrAutoScaleStrategyLoadAutoScaleStrategyTag>
Binding tag list.
YarnNodeLabel string
Rule expansion specifies yarn node label.
CalmDownTime float64
Cooling time for rules to take effect.
ConfigGroupAssigned string
Default configuration group.
GraceDownFlag bool
Elegant shrink switch.
GraceDownTime float64
Graceful downsizing waiting time.
LoadMetricsConditions EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions
Multiple indicator trigger conditions.
MeasureMethod string
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
PeriodValid string
Effective time for the rule to take effect.
Priority float64
Rule priority, invalid when added, defaults to auto-increment.
ProcessMethod float64
Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
ScaleAction float64
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
ScaleNum float64
The amount of expansion and contraction each time the rule takes effect.
StrategyId float64
Rule ID.
StrategyName string
Rule name.
StrategyStatus float64
Rule status, 1 means enabled, 3 means disabled.
Tags []EmrAutoScaleStrategyLoadAutoScaleStrategyTag
Binding tag list.
YarnNodeLabel string
Rule expansion specifies yarn node label.
calmDownTime Double
Cooling time for rules to take effect.
configGroupAssigned String
Default configuration group.
graceDownFlag Boolean
Elegant shrink switch.
graceDownTime Double
Graceful downsizing waiting time.
loadMetricsConditions EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions
Multiple indicator trigger conditions.
measureMethod String
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
periodValid String
Effective time for the rule to take effect.
priority Double
Rule priority, invalid when added, defaults to auto-increment.
processMethod Double
Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
scaleAction Double
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scaleNum Double
The amount of expansion and contraction each time the rule takes effect.
strategyId Double
Rule ID.
strategyName String
Rule name.
strategyStatus Double
Rule status, 1 means enabled, 3 means disabled.
tags List<EmrAutoScaleStrategyLoadAutoScaleStrategyTag>
Binding tag list.
yarnNodeLabel String
Rule expansion specifies yarn node label.
calmDownTime number
Cooling time for rules to take effect.
configGroupAssigned string
Default configuration group.
graceDownFlag boolean
Elegant shrink switch.
graceDownTime number
Graceful downsizing waiting time.
loadMetricsConditions EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions
Multiple indicator trigger conditions.
measureMethod string
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
periodValid string
Effective time for the rule to take effect.
priority number
Rule priority, invalid when added, defaults to auto-increment.
processMethod number
Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
scaleAction number
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scaleNum number
The amount of expansion and contraction each time the rule takes effect.
strategyId number
Rule ID.
strategyName string
Rule name.
strategyStatus number
Rule status, 1 means enabled, 3 means disabled.
tags EmrAutoScaleStrategyLoadAutoScaleStrategyTag[]
Binding tag list.
yarnNodeLabel string
Rule expansion specifies yarn node label.
calm_down_time float
Cooling time for rules to take effect.
config_group_assigned str
Default configuration group.
grace_down_flag bool
Elegant shrink switch.
grace_down_time float
Graceful downsizing waiting time.
load_metrics_conditions EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions
Multiple indicator trigger conditions.
measure_method str
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
period_valid str
Effective time for the rule to take effect.
priority float
Rule priority, invalid when added, defaults to auto-increment.
process_method float
Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
scale_action float
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scale_num float
The amount of expansion and contraction each time the rule takes effect.
strategy_id float
Rule ID.
strategy_name str
Rule name.
strategy_status float
Rule status, 1 means enabled, 3 means disabled.
tags Sequence[EmrAutoScaleStrategyLoadAutoScaleStrategyTag]
Binding tag list.
yarn_node_label str
Rule expansion specifies yarn node label.
calmDownTime Number
Cooling time for rules to take effect.
configGroupAssigned String
Default configuration group.
graceDownFlag Boolean
Elegant shrink switch.
graceDownTime Number
Graceful downsizing waiting time.
loadMetricsConditions Property Map
Multiple indicator trigger conditions.
measureMethod String
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
periodValid String
Effective time for the rule to take effect.
priority Number
Rule priority, invalid when added, defaults to auto-increment.
processMethod Number
Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
scaleAction Number
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scaleNum Number
The amount of expansion and contraction each time the rule takes effect.
strategyId Number
Rule ID.
strategyName String
Rule name.
strategyStatus Number
Rule status, 1 means enabled, 3 means disabled.
tags List<Property Map>
Binding tag list.
yarnNodeLabel String
Rule expansion specifies yarn node label.

EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions
, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsArgs

loadMetrics List<Property Map>
Expansion and contraction load indicators.

EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetric
, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricArgs

Conditions List<EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricCondition>
Trigger condition.
LoadMetrics string
Expansion and contraction load indicators.
MetricId double
Rule metadata record ID.
StatisticPeriod double
The regular statistical period provides 1min, 3min, and 5min.
TriggerThreshold double
The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
Conditions []EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricCondition
Trigger condition.
LoadMetrics string
Expansion and contraction load indicators.
MetricId float64
Rule metadata record ID.
StatisticPeriod float64
The regular statistical period provides 1min, 3min, and 5min.
TriggerThreshold float64
The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
conditions List<EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricCondition>
Trigger condition.
loadMetrics String
Expansion and contraction load indicators.
metricId Double
Rule metadata record ID.
statisticPeriod Double
The regular statistical period provides 1min, 3min, and 5min.
triggerThreshold Double
The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
conditions EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricCondition[]
Trigger condition.
loadMetrics string
Expansion and contraction load indicators.
metricId number
Rule metadata record ID.
statisticPeriod number
The regular statistical period provides 1min, 3min, and 5min.
triggerThreshold number
The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
conditions Sequence[EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricCondition]
Trigger condition.
load_metrics str
Expansion and contraction load indicators.
metric_id float
Rule metadata record ID.
statistic_period float
The regular statistical period provides 1min, 3min, and 5min.
trigger_threshold float
The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
conditions List<Property Map>
Trigger condition.
loadMetrics String
Expansion and contraction load indicators.
metricId Number
Rule metadata record ID.
statisticPeriod Number
The regular statistical period provides 1min, 3min, and 5min.
triggerThreshold Number
The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.

EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricCondition
, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricConditionArgs

CompareMethod This property is required. double
Conditional comparison method, 1 means greater than, 2 means less than, 3 means greater than or equal to, 4 means less than or equal to.
Threshold double
Conditional threshold.
CompareMethod This property is required. float64
Conditional comparison method, 1 means greater than, 2 means less than, 3 means greater than or equal to, 4 means less than or equal to.
Threshold float64
Conditional threshold.
compareMethod This property is required. Double
Conditional comparison method, 1 means greater than, 2 means less than, 3 means greater than or equal to, 4 means less than or equal to.
threshold Double
Conditional threshold.
compareMethod This property is required. number
Conditional comparison method, 1 means greater than, 2 means less than, 3 means greater than or equal to, 4 means less than or equal to.
threshold number
Conditional threshold.
compare_method This property is required. float
Conditional comparison method, 1 means greater than, 2 means less than, 3 means greater than or equal to, 4 means less than or equal to.
threshold float
Conditional threshold.
compareMethod This property is required. Number
Conditional comparison method, 1 means greater than, 2 means less than, 3 means greater than or equal to, 4 means less than or equal to.
threshold Number
Conditional threshold.

EmrAutoScaleStrategyLoadAutoScaleStrategyTag
, EmrAutoScaleStrategyLoadAutoScaleStrategyTagArgs

TagKey string
tag key.
TagValue string
tag value.
TagKey string
tag key.
TagValue string
tag value.
tagKey String
tag key.
tagValue String
tag value.
tagKey string
tag key.
tagValue string
tag value.
tag_key str
tag key.
tag_value str
tag value.
tagKey String
tag key.
tagValue String
tag value.

EmrAutoScaleStrategyTimeAutoScaleStrategy
, EmrAutoScaleStrategyTimeAutoScaleStrategyArgs

IntervalTime This property is required. double
The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
Priority This property is required. double
Rule priority, the smaller it is, the higher it is.
RepeatStrategy This property is required. EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategy
Time expansion and contraction repetition strategy.
RetryValidTime This property is required. double
When multiple rules are triggered at the same time and some of them are not actually executed, retries will be made within this time range.
ScaleAction This property is required. double
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
ScaleNum This property is required. double
The number of expansions and contractions.
StrategyName This property is required. string
Policy name, unique within the cluster.
StrategyStatus This property is required. double
Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
CompensateFlag double
Compensation expansion, 0 means not enabled, 1 means enabled.
ConfigGroupAssigned string
Default configuration group.
GraceDownFlag bool
Elegant shrink switch.
GraceDownTime double
Graceful downsizing waiting time.
GroupId double
scaling group id.
MaxUse double
Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
MeasureMethod string
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
ServiceNodeInfos List<double>
Start process list.
SoftDeployInfos List<double>
Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
StrategyId double
Policy unique ID.
Tags List<EmrAutoScaleStrategyTimeAutoScaleStrategyTag>
Binding tag list.
TerminatePolicy string
Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
IntervalTime This property is required. float64
The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
Priority This property is required. float64
Rule priority, the smaller it is, the higher it is.
RepeatStrategy This property is required. EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategy
Time expansion and contraction repetition strategy.
RetryValidTime This property is required. float64
When multiple rules are triggered at the same time and some of them are not actually executed, retries will be made within this time range.
ScaleAction This property is required. float64
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
ScaleNum This property is required. float64
The number of expansions and contractions.
StrategyName This property is required. string
Policy name, unique within the cluster.
StrategyStatus This property is required. float64
Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
CompensateFlag float64
Compensation expansion, 0 means not enabled, 1 means enabled.
ConfigGroupAssigned string
Default configuration group.
GraceDownFlag bool
Elegant shrink switch.
GraceDownTime float64
Graceful downsizing waiting time.
GroupId float64
scaling group id.
MaxUse float64
Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
MeasureMethod string
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
ServiceNodeInfos []float64
Start process list.
SoftDeployInfos []float64
Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
StrategyId float64
Policy unique ID.
Tags []EmrAutoScaleStrategyTimeAutoScaleStrategyTag
Binding tag list.
TerminatePolicy string
Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
intervalTime This property is required. Double
The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
priority This property is required. Double
Rule priority, the smaller it is, the higher it is.
repeatStrategy This property is required. EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategy
Time expansion and contraction repetition strategy.
retryValidTime This property is required. Double
When multiple rules are triggered at the same time and some of them are not actually executed, retries will be made within this time range.
scaleAction This property is required. Double
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scaleNum This property is required. Double
The number of expansions and contractions.
strategyName This property is required. String
Policy name, unique within the cluster.
strategyStatus This property is required. Double
Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
compensateFlag Double
Compensation expansion, 0 means not enabled, 1 means enabled.
configGroupAssigned String
Default configuration group.
graceDownFlag Boolean
Elegant shrink switch.
graceDownTime Double
Graceful downsizing waiting time.
groupId Double
scaling group id.
maxUse Double
Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
measureMethod String
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
serviceNodeInfos List<Double>
Start process list.
softDeployInfos List<Double>
Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
strategyId Double
Policy unique ID.
tags List<EmrAutoScaleStrategyTimeAutoScaleStrategyTag>
Binding tag list.
terminatePolicy String
Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
intervalTime This property is required. number
The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
priority This property is required. number
Rule priority, the smaller it is, the higher it is.
repeatStrategy This property is required. EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategy
Time expansion and contraction repetition strategy.
retryValidTime This property is required. number
When multiple rules are triggered at the same time and some of them are not actually executed, retries will be made within this time range.
scaleAction This property is required. number
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scaleNum This property is required. number
The number of expansions and contractions.
strategyName This property is required. string
Policy name, unique within the cluster.
strategyStatus This property is required. number
Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
compensateFlag number
Compensation expansion, 0 means not enabled, 1 means enabled.
configGroupAssigned string
Default configuration group.
graceDownFlag boolean
Elegant shrink switch.
graceDownTime number
Graceful downsizing waiting time.
groupId number
scaling group id.
maxUse number
Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
measureMethod string
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
serviceNodeInfos number[]
Start process list.
softDeployInfos number[]
Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
strategyId number
Policy unique ID.
tags EmrAutoScaleStrategyTimeAutoScaleStrategyTag[]
Binding tag list.
terminatePolicy string
Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
interval_time This property is required. float
The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
priority This property is required. float
Rule priority, the smaller it is, the higher it is.
repeat_strategy This property is required. EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategy
Time expansion and contraction repetition strategy.
retry_valid_time This property is required. float
When multiple rules are triggered at the same time and some of them are not actually executed, retries will be made within this time range.
scale_action This property is required. float
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scale_num This property is required. float
The number of expansions and contractions.
strategy_name This property is required. str
Policy name, unique within the cluster.
strategy_status This property is required. float
Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
compensate_flag float
Compensation expansion, 0 means not enabled, 1 means enabled.
config_group_assigned str
Default configuration group.
grace_down_flag bool
Elegant shrink switch.
grace_down_time float
Graceful downsizing waiting time.
group_id float
scaling group id.
max_use float
Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
measure_method str
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
service_node_infos Sequence[float]
Start process list.
soft_deploy_infos Sequence[float]
Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
strategy_id float
Policy unique ID.
tags Sequence[EmrAutoScaleStrategyTimeAutoScaleStrategyTag]
Binding tag list.
terminate_policy str
Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
intervalTime This property is required. Number
The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
priority This property is required. Number
Rule priority, the smaller it is, the higher it is.
repeatStrategy This property is required. Property Map
Time expansion and contraction repetition strategy.
retryValidTime This property is required. Number
When multiple rules are triggered at the same time and some of them are not actually executed, retries will be made within this time range.
scaleAction This property is required. Number
Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
scaleNum This property is required. Number
The number of expansions and contractions.
strategyName This property is required. String
Policy name, unique within the cluster.
strategyStatus This property is required. Number
Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
compensateFlag Number
Compensation expansion, 0 means not enabled, 1 means enabled.
configGroupAssigned String
Default configuration group.
graceDownFlag Boolean
Elegant shrink switch.
graceDownTime Number
Graceful downsizing waiting time.
groupId Number
scaling group id.
maxUse Number
Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
measureMethod String
Expansion resource calculation methods, "DEFAULT", "INSTANCE", "CPU", "MEMORYGB". "DEFAULT" means the default mode, which has the same meaning as "INSTANCE". "INSTANCE" means calculation based on nodes, the default method. "CPU" means calculated based on the number of cores of the machine. "MEMORYGB" means calculated based on the number of machine memory.
serviceNodeInfos List<Number>
Start process list.
softDeployInfos List<Number>
Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
strategyId Number
Policy unique ID.
tags List<Property Map>
Binding tag list.
terminatePolicy String
Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.

EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategy
, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyArgs

RepeatType This property is required. string
The value range is "DAY", "DOW", "DOM", and "NONE", which respectively represent daily repetition, weekly repetition, monthly repetition and one-time execution. Required.
DayRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeat
Repeat rules by day, valid when RepeatType is "DAY".
Expire string
Rule expiration time. After this time, the rule will automatically be placed in a suspended state, in the form of "2020-07-23 00:00:00". Required.
MonthRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeat
Repeat rules by month, valid when RepeatType is "DOM".
NotRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat
Execute the rule once, effective when RepeatType is "NONE".
WeekRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat
Repeat rules by week, valid when RepeatType is "DOW".
RepeatType This property is required. string
The value range is "DAY", "DOW", "DOM", and "NONE", which respectively represent daily repetition, weekly repetition, monthly repetition and one-time execution. Required.
DayRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeat
Repeat rules by day, valid when RepeatType is "DAY".
Expire string
Rule expiration time. After this time, the rule will automatically be placed in a suspended state, in the form of "2020-07-23 00:00:00". Required.
MonthRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeat
Repeat rules by month, valid when RepeatType is "DOM".
NotRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat
Execute the rule once, effective when RepeatType is "NONE".
WeekRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat
Repeat rules by week, valid when RepeatType is "DOW".
repeatType This property is required. String
The value range is "DAY", "DOW", "DOM", and "NONE", which respectively represent daily repetition, weekly repetition, monthly repetition and one-time execution. Required.
dayRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeat
Repeat rules by day, valid when RepeatType is "DAY".
expire String
Rule expiration time. After this time, the rule will automatically be placed in a suspended state, in the form of "2020-07-23 00:00:00". Required.
monthRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeat
Repeat rules by month, valid when RepeatType is "DOM".
notRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat
Execute the rule once, effective when RepeatType is "NONE".
weekRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat
Repeat rules by week, valid when RepeatType is "DOW".
repeatType This property is required. string
The value range is "DAY", "DOW", "DOM", and "NONE", which respectively represent daily repetition, weekly repetition, monthly repetition and one-time execution. Required.
dayRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeat
Repeat rules by day, valid when RepeatType is "DAY".
expire string
Rule expiration time. After this time, the rule will automatically be placed in a suspended state, in the form of "2020-07-23 00:00:00". Required.
monthRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeat
Repeat rules by month, valid when RepeatType is "DOM".
notRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat
Execute the rule once, effective when RepeatType is "NONE".
weekRepeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat
Repeat rules by week, valid when RepeatType is "DOW".
repeat_type This property is required. str
The value range is "DAY", "DOW", "DOM", and "NONE", which respectively represent daily repetition, weekly repetition, monthly repetition and one-time execution. Required.
day_repeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeat
Repeat rules by day, valid when RepeatType is "DAY".
expire str
Rule expiration time. After this time, the rule will automatically be placed in a suspended state, in the form of "2020-07-23 00:00:00". Required.
month_repeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeat
Repeat rules by month, valid when RepeatType is "DOM".
not_repeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat
Execute the rule once, effective when RepeatType is "NONE".
week_repeat EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat
Repeat rules by week, valid when RepeatType is "DOW".
repeatType This property is required. String
The value range is "DAY", "DOW", "DOM", and "NONE", which respectively represent daily repetition, weekly repetition, monthly repetition and one-time execution. Required.
dayRepeat Property Map
Repeat rules by day, valid when RepeatType is "DAY".
expire String
Rule expiration time. After this time, the rule will automatically be placed in a suspended state, in the form of "2020-07-23 00:00:00". Required.
monthRepeat Property Map
Repeat rules by month, valid when RepeatType is "DOM".
notRepeat Property Map
Execute the rule once, effective when RepeatType is "NONE".
weekRepeat Property Map
Repeat rules by week, valid when RepeatType is "DOW".

EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeat
, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeatArgs

ExecuteAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
Step This property is required. double
Executed every Step day.
ExecuteAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
Step This property is required. float64
Executed every Step day.
executeAtTimeOfDay This property is required. String
Repeat the specific time when the task is executed, such as "01:02:00".
step This property is required. Double
Executed every Step day.
executeAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
step This property is required. number
Executed every Step day.
execute_at_time_of_day This property is required. str
Repeat the specific time when the task is executed, such as "01:02:00".
step This property is required. float
Executed every Step day.
executeAtTimeOfDay This property is required. String
Repeat the specific time when the task is executed, such as "01:02:00".
step This property is required. Number
Executed every Step day.

EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeat
, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeatArgs

DaysOfMonthRanges This property is required. List<double>
The description of the day period in each month, the length can only be 2, for example, [2,10] means the 2-10th of each month.
ExecuteAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
DaysOfMonthRanges This property is required. []float64
The description of the day period in each month, the length can only be 2, for example, [2,10] means the 2-10th of each month.
ExecuteAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
daysOfMonthRanges This property is required. List<Double>
The description of the day period in each month, the length can only be 2, for example, [2,10] means the 2-10th of each month.
executeAtTimeOfDay This property is required. String
Repeat the specific time when the task is executed, such as "01:02:00".
daysOfMonthRanges This property is required. number[]
The description of the day period in each month, the length can only be 2, for example, [2,10] means the 2-10th of each month.
executeAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
days_of_month_ranges This property is required. Sequence[float]
The description of the day period in each month, the length can only be 2, for example, [2,10] means the 2-10th of each month.
execute_at_time_of_day This property is required. str
Repeat the specific time when the task is executed, such as "01:02:00".
daysOfMonthRanges This property is required. List<Number>
The description of the day period in each month, the length can only be 2, for example, [2,10] means the 2-10th of each month.
executeAtTimeOfDay This property is required. String
Repeat the specific time when the task is executed, such as "01:02:00".

EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat
, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeatArgs

ExecuteAt This property is required. string
The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
ExecuteAt This property is required. string
The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
executeAt This property is required. String
The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
executeAt This property is required. string
The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
execute_at This property is required. str
The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
executeAt This property is required. String
The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".

EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat
, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeatArgs

DaysOfWeeks This property is required. List<double>
The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
ExecuteAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
DaysOfWeeks This property is required. []float64
The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
ExecuteAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
daysOfWeeks This property is required. List<Double>
The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
executeAtTimeOfDay This property is required. String
Repeat the specific time when the task is executed, such as "01:02:00".
daysOfWeeks This property is required. number[]
The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
executeAtTimeOfDay This property is required. string
Repeat the specific time when the task is executed, such as "01:02:00".
days_of_weeks This property is required. Sequence[float]
The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
execute_at_time_of_day This property is required. str
Repeat the specific time when the task is executed, such as "01:02:00".
daysOfWeeks This property is required. List<Number>
The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
executeAtTimeOfDay This property is required. String
Repeat the specific time when the task is executed, such as "01:02:00".

EmrAutoScaleStrategyTimeAutoScaleStrategyTag
, EmrAutoScaleStrategyTimeAutoScaleStrategyTagArgs

TagKey string
tag key.
TagValue string
tag value.
TagKey string
tag key.
TagValue string
tag value.
tagKey String
tag key.
tagValue String
tag value.
tagKey string
tag key.
tagValue string
tag value.
tag_key str
tag key.
tag_value str
tag value.
tagKey String
tag key.
tagValue String
tag value.

Import

emr emr_auto_scale_strategy can be imported using the id, e.g.

$ pulumi import tencentcloud:index/emrAutoScaleStrategy:EmrAutoScaleStrategy emr_auto_scale_strategy emr_auto_scale_strategy_id
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.