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",
    }],
});
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",
    }])
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
	})
}
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",
            },
        },
    });
});
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());
    }
}
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
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 string
- The unique name of the resource.
- args EmrAutoScaleStrategyArgs
- 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 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 string
- The unique name of the resource.
- args EmrAutoScaleStrategyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EmrAutoScaleStrategyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 string
- Instance ID.
- 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.
- EmrAuto stringScale Strategy Id 
- ID of the resource.
- LoadAuto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> 
- Expansion rules based on load.
- TimeAuto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> 
- Rules for scaling up and down over time.
- InstanceId string
- Instance ID.
- 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.
- EmrAuto stringScale Strategy Id 
- ID of the resource.
- LoadAuto []EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy Args 
- Expansion rules based on load.
- TimeAuto []EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy Args 
- Rules for scaling up and down over time.
- instanceId String
- Instance ID.
- 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.
- emrAuto StringScale Strategy Id 
- ID of the resource.
- loadAuto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> 
- Expansion rules based on load.
- timeAuto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> 
- Rules for scaling up and down over time.
- instanceId string
- Instance ID.
- 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.
- emrAuto stringScale Strategy Id 
- ID of the resource.
- loadAuto EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy[] 
- Expansion rules based on load.
- timeAuto EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy[] 
- Rules for scaling up and down over time.
- instance_id str
- Instance ID.
- 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.
- emr_auto_ strscale_ strategy_ id 
- ID of the resource.
- load_auto_ Sequence[Emrscale_ strategies Auto Scale Strategy Load Auto Scale Strategy Args] 
- Expansion rules based on load.
- time_auto_ Sequence[Emrscale_ strategies Auto Scale Strategy Time Auto Scale Strategy Args] 
- Rules for scaling up and down over time.
- instanceId String
- Instance ID.
- 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.
- emrAuto StringScale Strategy Id 
- ID of the resource.
- loadAuto List<Property Map>Scale Strategies 
- Expansion rules based on load.
- timeAuto List<Property Map>Scale Strategies 
- 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) -> EmrAutoScaleStrategyfunc 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
- 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.
- EmrAuto stringScale Strategy Id 
- ID of the resource.
- InstanceId string
- Instance ID.
- LoadAuto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> 
- 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.
- TimeAuto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> 
- Rules for scaling up and down over time.
- EmrAuto stringScale Strategy Id 
- ID of the resource.
- InstanceId string
- Instance ID.
- LoadAuto []EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy Args 
- 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.
- TimeAuto []EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy Args 
- Rules for scaling up and down over time.
- emrAuto StringScale Strategy Id 
- ID of the resource.
- instanceId String
- Instance ID.
- loadAuto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> 
- 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.
- timeAuto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> 
- Rules for scaling up and down over time.
- emrAuto stringScale Strategy Id 
- ID of the resource.
- instanceId string
- Instance ID.
- loadAuto EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy[] 
- 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.
- timeAuto EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy[] 
- Rules for scaling up and down over time.
- emr_auto_ strscale_ strategy_ id 
- ID of the resource.
- instance_id str
- Instance ID.
- load_auto_ Sequence[Emrscale_ strategies Auto Scale Strategy Load Auto Scale Strategy Args] 
- 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_ Sequence[Emrscale_ strategies Auto Scale Strategy Time Auto Scale Strategy Args] 
- Rules for scaling up and down over time.
- emrAuto StringScale Strategy Id 
- ID of the resource.
- instanceId String
- Instance ID.
- loadAuto List<Property Map>Scale Strategies 
- 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.
- timeAuto List<Property Map>Scale Strategies 
- Rules for scaling up and down over time.
Supporting Types
EmrAutoScaleStrategyLoadAutoScaleStrategy, EmrAutoScaleStrategyLoadAutoScaleStrategyArgs                
- CalmDown doubleTime 
- Cooling time for rules to take effect.
- ConfigGroup stringAssigned 
- Default configuration group.
- GraceDown boolFlag 
- Elegant shrink switch.
- GraceDown doubleTime 
- Graceful downsizing waiting time.
- LoadMetrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions 
- 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.
- 
List<EmrAuto Scale Strategy Load Auto Scale Strategy Tag> 
- Binding tag list.
- YarnNode stringLabel 
- Rule expansion specifies yarn node label.
- CalmDown float64Time 
- Cooling time for rules to take effect.
- ConfigGroup stringAssigned 
- Default configuration group.
- GraceDown boolFlag 
- Elegant shrink switch.
- GraceDown float64Time 
- Graceful downsizing waiting time.
- LoadMetrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions 
- 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.
- 
[]EmrAuto Scale Strategy Load Auto Scale Strategy Tag 
- Binding tag list.
- YarnNode stringLabel 
- Rule expansion specifies yarn node label.
- calmDown DoubleTime 
- Cooling time for rules to take effect.
- configGroup StringAssigned 
- Default configuration group.
- graceDown BooleanFlag 
- Elegant shrink switch.
- graceDown DoubleTime 
- Graceful downsizing waiting time.
- loadMetrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions 
- 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.
- 
List<EmrAuto Scale Strategy Load Auto Scale Strategy Tag> 
- Binding tag list.
- yarnNode StringLabel 
- Rule expansion specifies yarn node label.
- calmDown numberTime 
- Cooling time for rules to take effect.
- configGroup stringAssigned 
- Default configuration group.
- graceDown booleanFlag 
- Elegant shrink switch.
- graceDown numberTime 
- Graceful downsizing waiting time.
- loadMetrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions 
- 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.
- 
EmrAuto Scale Strategy Load Auto Scale Strategy Tag[] 
- Binding tag list.
- yarnNode stringLabel 
- Rule expansion specifies yarn node label.
- calm_down_ floattime 
- Cooling time for rules to take effect.
- config_group_ strassigned 
- Default configuration group.
- grace_down_ boolflag 
- Elegant shrink switch.
- grace_down_ floattime 
- Graceful downsizing waiting time.
- load_metrics_ Emrconditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions 
- 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.
- 
Sequence[EmrAuto Scale Strategy Load Auto Scale Strategy Tag] 
- Binding tag list.
- yarn_node_ strlabel 
- Rule expansion specifies yarn node label.
- calmDown NumberTime 
- Cooling time for rules to take effect.
- configGroup StringAssigned 
- Default configuration group.
- graceDown BooleanFlag 
- Elegant shrink switch.
- graceDown NumberTime 
- Graceful downsizing waiting time.
- loadMetrics Property MapConditions 
- 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.
- List<Property Map>
- Binding tag list.
- yarnNode StringLabel 
- Rule expansion specifies yarn node label.
EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsArgs                      
- LoadMetrics List<EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric> 
- Expansion and contraction load indicators.
- LoadMetrics []EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric 
- Expansion and contraction load indicators.
- loadMetrics List<EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric> 
- Expansion and contraction load indicators.
- loadMetrics EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric[] 
- Expansion and contraction load indicators.
- load_metrics Sequence[EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric] 
- Expansion and contraction load indicators.
- loadMetrics List<Property Map>
- Expansion and contraction load indicators.
EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetric, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricArgs                          
- Conditions
List<EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition> 
- 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
[]EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition 
- 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<EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition> 
- 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
EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition[] 
- 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[EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition] 
- 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 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 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 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 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 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 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                  
EmrAutoScaleStrategyTimeAutoScaleStrategy, EmrAutoScaleStrategyTimeAutoScaleStrategyArgs                
- IntervalTime double
- The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
- Priority double
- Rule priority, the smaller it is, the higher it is.
- RepeatStrategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy 
- Time expansion and contraction repetition strategy.
- RetryValid doubleTime 
- 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 double
- Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- ScaleNum double
- The number of expansions and contractions.
- StrategyName string
- Policy name, unique within the cluster.
- StrategyStatus 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.
- ConfigGroup stringAssigned 
- Default configuration group.
- GraceDown boolFlag 
- Elegant shrink switch.
- GraceDown doubleTime 
- 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.
- ServiceNode List<double>Infos 
- Start process list.
- SoftDeploy List<double>Infos 
- 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.
- 
List<EmrAuto Scale Strategy Time Auto Scale Strategy Tag> 
- Binding tag list.
- TerminatePolicy string
- Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- IntervalTime float64
- The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
- Priority float64
- Rule priority, the smaller it is, the higher it is.
- RepeatStrategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy 
- Time expansion and contraction repetition strategy.
- RetryValid float64Time 
- 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 float64
- Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- ScaleNum float64
- The number of expansions and contractions.
- StrategyName string
- Policy name, unique within the cluster.
- StrategyStatus 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.
- ConfigGroup stringAssigned 
- Default configuration group.
- GraceDown boolFlag 
- Elegant shrink switch.
- GraceDown float64Time 
- 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.
- ServiceNode []float64Infos 
- Start process list.
- SoftDeploy []float64Infos 
- 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.
- 
[]EmrAuto Scale Strategy Time Auto Scale Strategy Tag 
- Binding tag list.
- TerminatePolicy string
- Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- intervalTime Double
- The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
- priority Double
- Rule priority, the smaller it is, the higher it is.
- repeatStrategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy 
- Time expansion and contraction repetition strategy.
- retryValid DoubleTime 
- 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 Double
- Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scaleNum Double
- The number of expansions and contractions.
- strategyName String
- Policy name, unique within the cluster.
- strategyStatus 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.
- configGroup StringAssigned 
- Default configuration group.
- graceDown BooleanFlag 
- Elegant shrink switch.
- graceDown DoubleTime 
- 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.
- serviceNode List<Double>Infos 
- Start process list.
- softDeploy List<Double>Infos 
- 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.
- 
List<EmrAuto Scale Strategy Time Auto Scale Strategy Tag> 
- Binding tag list.
- terminatePolicy String
- Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- intervalTime number
- The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
- priority number
- Rule priority, the smaller it is, the higher it is.
- repeatStrategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy 
- Time expansion and contraction repetition strategy.
- retryValid numberTime 
- 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 number
- Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scaleNum number
- The number of expansions and contractions.
- strategyName string
- Policy name, unique within the cluster.
- strategyStatus 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.
- configGroup stringAssigned 
- Default configuration group.
- graceDown booleanFlag 
- Elegant shrink switch.
- graceDown numberTime 
- 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.
- serviceNode number[]Infos 
- Start process list.
- softDeploy number[]Infos 
- 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.
- 
EmrAuto Scale Strategy Time Auto Scale Strategy Tag[] 
- Binding tag list.
- terminatePolicy string
- Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- interval_time float
- The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
- priority float
- Rule priority, the smaller it is, the higher it is.
- repeat_strategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy 
- Time expansion and contraction repetition strategy.
- retry_valid_ floattime 
- 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 float
- Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scale_num float
- The number of expansions and contractions.
- strategy_name str
- Policy name, unique within the cluster.
- strategy_status 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_ strassigned 
- Default configuration group.
- grace_down_ boolflag 
- Elegant shrink switch.
- grace_down_ floattime 
- 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_ Sequence[float]infos 
- Start process list.
- soft_deploy_ Sequence[float]infos 
- 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.
- 
Sequence[EmrAuto Scale Strategy Time Auto Scale Strategy Tag] 
- Binding tag list.
- terminate_policy str
- Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- intervalTime Number
- The cooling time after the policy is triggered. During this period, elastic expansion and contraction will not be triggered.
- priority Number
- Rule priority, the smaller it is, the higher it is.
- repeatStrategy Property Map
- Time expansion and contraction repetition strategy.
- retryValid NumberTime 
- 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 Number
- Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scaleNum Number
- The number of expansions and contractions.
- strategyName String
- Policy name, unique within the cluster.
- strategyStatus 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.
- configGroup StringAssigned 
- Default configuration group.
- graceDown BooleanFlag 
- Elegant shrink switch.
- graceDown NumberTime 
- 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.
- serviceNode List<Number>Infos 
- Start process list.
- softDeploy List<Number>Infos 
- 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.
- 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 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Day Repeat 
- 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Month Repeat 
- Repeat rules by month, valid when RepeatType is "DOM".
- NotRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Not Repeat 
- Execute the rule once, effective when RepeatType is "NONE".
- WeekRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Week Repeat 
- Repeat rules by week, valid when RepeatType is "DOW".
- RepeatType 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Day Repeat 
- 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Month Repeat 
- Repeat rules by month, valid when RepeatType is "DOM".
- NotRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Not Repeat 
- Execute the rule once, effective when RepeatType is "NONE".
- WeekRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Week Repeat 
- Repeat rules by week, valid when RepeatType is "DOW".
- repeatType 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Day Repeat 
- 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Month Repeat 
- Repeat rules by month, valid when RepeatType is "DOM".
- notRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Not Repeat 
- Execute the rule once, effective when RepeatType is "NONE".
- weekRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Week Repeat 
- Repeat rules by week, valid when RepeatType is "DOW".
- repeatType 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Day Repeat 
- 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Month Repeat 
- Repeat rules by month, valid when RepeatType is "DOM".
- notRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Not Repeat 
- Execute the rule once, effective when RepeatType is "NONE".
- weekRepeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Week Repeat 
- Repeat rules by week, valid when RepeatType is "DOW".
- repeat_type 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Day Repeat 
- 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 EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Month Repeat 
- Repeat rules by month, valid when RepeatType is "DOM".
- not_repeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Not Repeat 
- Execute the rule once, effective when RepeatType is "NONE".
- week_repeat EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy Week Repeat 
- Repeat rules by week, valid when RepeatType is "DOW".
- repeatType 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                        
- ExecuteAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- Step double
- Executed every Step day.
- ExecuteAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- Step float64
- Executed every Step day.
- executeAt StringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- step Double
- Executed every Step day.
- executeAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- step number
- Executed every Step day.
- execute_at_ strtime_ of_ day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- step float
- Executed every Step day.
- executeAt StringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- step Number
- Executed every Step day.
EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeat, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyMonthRepeatArgs                        
- DaysOf List<double>Month Ranges 
- 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.
- ExecuteAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- DaysOf []float64Month Ranges 
- 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.
- ExecuteAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- daysOf List<Double>Month Ranges 
- 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.
- executeAt StringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- daysOf number[]Month Ranges 
- 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.
- executeAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- days_of_ Sequence[float]month_ ranges 
- 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_ strtime_ of_ day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- daysOf List<Number>Month Ranges 
- 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.
- executeAt StringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeatArgs                        
- ExecuteAt string
- The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- ExecuteAt string
- The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- executeAt String
- The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- executeAt string
- The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- execute_at str
- The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- executeAt String
- The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeatArgs                        
- DaysOf List<double>Weeks 
- The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- ExecuteAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- DaysOf []float64Weeks 
- The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- ExecuteAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- daysOf List<Double>Weeks 
- The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- executeAt StringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- daysOf number[]Weeks 
- The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- executeAt stringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- days_of_ Sequence[float]weeks 
- The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- execute_at_ strtime_ of_ day 
- Repeat the specific time when the task is executed, such as "01:02:00".
- daysOf List<Number>Weeks 
- The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- executeAt StringTime Of Day 
- Repeat the specific time when the task is executed, such as "01:02:00".
EmrAutoScaleStrategyTimeAutoScaleStrategyTag, EmrAutoScaleStrategyTimeAutoScaleStrategyTagArgs                  
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
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 tencentcloudTerraform Provider.