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:
- Instance
Id string - Instance ID.
- Strategy
Type 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.
- Emr
Auto stringScale Strategy Id - ID of the resource.
- Load
Auto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> - Expansion rules based on load.
- Time
Auto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> - Rules for scaling up and down over time.
- Instance
Id string - Instance ID.
- Strategy
Type 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.
- Emr
Auto stringScale Strategy Id - ID of the resource.
- Load
Auto []EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy Args - Expansion rules based on load.
- Time
Auto []EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy Args - Rules for scaling up and down over time.
- instance
Id String - Instance ID.
- strategy
Type 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.
- emr
Auto StringScale Strategy Id - ID of the resource.
- load
Auto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> - Expansion rules based on load.
- time
Auto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> - Rules for scaling up and down over time.
- instance
Id string - Instance ID.
- strategy
Type 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.
- emr
Auto stringScale Strategy Id - ID of the resource.
- load
Auto EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy[] - Expansion rules based on load.
- time
Auto 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.
- instance
Id String - Instance ID.
- strategy
Type 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.
- emr
Auto StringScale Strategy Id - ID of the resource.
- load
Auto List<Property Map>Scale Strategies - Expansion rules based on load.
- time
Auto 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) -> 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
- 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.
- Emr
Auto stringScale Strategy Id - ID of the resource.
- Instance
Id string - Instance ID.
- Load
Auto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> - Expansion rules based on load.
- Strategy
Type 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.
- Time
Auto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> - Rules for scaling up and down over time.
- Emr
Auto stringScale Strategy Id - ID of the resource.
- Instance
Id string - Instance ID.
- Load
Auto []EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy Args - Expansion rules based on load.
- Strategy
Type 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.
- Time
Auto []EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy Args - Rules for scaling up and down over time.
- emr
Auto StringScale Strategy Id - ID of the resource.
- instance
Id String - Instance ID.
- load
Auto List<EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy> - Expansion rules based on load.
- strategy
Type 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.
- time
Auto List<EmrScale Strategies Auto Scale Strategy Time Auto Scale Strategy> - Rules for scaling up and down over time.
- emr
Auto stringScale Strategy Id - ID of the resource.
- instance
Id string - Instance ID.
- load
Auto EmrScale Strategies Auto Scale Strategy Load Auto Scale Strategy[] - Expansion rules based on load.
- strategy
Type 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.
- time
Auto 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.
- emr
Auto StringScale Strategy Id - ID of the resource.
- instance
Id String - Instance ID.
- load
Auto List<Property Map>Scale Strategies - Expansion rules based on load.
- strategy
Type 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.
- time
Auto List<Property Map>Scale Strategies - Rules for scaling up and down over time.
Supporting Types
EmrAutoScaleStrategyLoadAutoScaleStrategy, EmrAutoScaleStrategyLoadAutoScaleStrategyArgs
- Calm
Down doubleTime - Cooling time for rules to take effect.
- Config
Group stringAssigned - Default configuration group.
- Grace
Down boolFlag - Elegant shrink switch.
- Grace
Down doubleTime - Graceful downsizing waiting time.
- Load
Metrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions - Multiple indicator trigger conditions.
- Measure
Method 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.
- Period
Valid string - Effective time for the rule to take effect.
- Priority double
- Rule priority, invalid when added, defaults to auto-increment.
- Process
Method double - Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
- Scale
Action double - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- Scale
Num double - The amount of expansion and contraction each time the rule takes effect.
- Strategy
Id double - Rule ID.
- Strategy
Name string - Rule name.
- Strategy
Status double - Rule status, 1 means enabled, 3 means disabled.
- List<Emr
Auto Scale Strategy Load Auto Scale Strategy Tag> - Binding tag list.
- Yarn
Node stringLabel - Rule expansion specifies yarn node label.
- Calm
Down float64Time - Cooling time for rules to take effect.
- Config
Group stringAssigned - Default configuration group.
- Grace
Down boolFlag - Elegant shrink switch.
- Grace
Down float64Time - Graceful downsizing waiting time.
- Load
Metrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions - Multiple indicator trigger conditions.
- Measure
Method 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.
- Period
Valid string - Effective time for the rule to take effect.
- Priority float64
- Rule priority, invalid when added, defaults to auto-increment.
- Process
Method float64 - Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
- Scale
Action float64 - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- Scale
Num float64 - The amount of expansion and contraction each time the rule takes effect.
- Strategy
Id float64 - Rule ID.
- Strategy
Name string - Rule name.
- Strategy
Status float64 - Rule status, 1 means enabled, 3 means disabled.
- []Emr
Auto Scale Strategy Load Auto Scale Strategy Tag - Binding tag list.
- Yarn
Node stringLabel - Rule expansion specifies yarn node label.
- calm
Down DoubleTime - Cooling time for rules to take effect.
- config
Group StringAssigned - Default configuration group.
- grace
Down BooleanFlag - Elegant shrink switch.
- grace
Down DoubleTime - Graceful downsizing waiting time.
- load
Metrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions - Multiple indicator trigger conditions.
- measure
Method 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.
- period
Valid String - Effective time for the rule to take effect.
- priority Double
- Rule priority, invalid when added, defaults to auto-increment.
- process
Method Double - Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
- scale
Action Double - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scale
Num Double - The amount of expansion and contraction each time the rule takes effect.
- strategy
Id Double - Rule ID.
- strategy
Name String - Rule name.
- strategy
Status Double - Rule status, 1 means enabled, 3 means disabled.
- List<Emr
Auto Scale Strategy Load Auto Scale Strategy Tag> - Binding tag list.
- yarn
Node StringLabel - Rule expansion specifies yarn node label.
- calm
Down numberTime - Cooling time for rules to take effect.
- config
Group stringAssigned - Default configuration group.
- grace
Down booleanFlag - Elegant shrink switch.
- grace
Down numberTime - Graceful downsizing waiting time.
- load
Metrics EmrConditions Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions - Multiple indicator trigger conditions.
- measure
Method 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.
- period
Valid string - Effective time for the rule to take effect.
- priority number
- Rule priority, invalid when added, defaults to auto-increment.
- process
Method number - Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
- scale
Action number - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scale
Num number - The amount of expansion and contraction each time the rule takes effect.
- strategy
Id number - Rule ID.
- strategy
Name string - Rule name.
- strategy
Status number - Rule status, 1 means enabled, 3 means disabled.
- Emr
Auto Scale Strategy Load Auto Scale Strategy Tag[] - Binding tag list.
- yarn
Node 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[Emr
Auto Scale Strategy Load Auto Scale Strategy Tag] - Binding tag list.
- yarn_
node_ strlabel - Rule expansion specifies yarn node label.
- calm
Down NumberTime - Cooling time for rules to take effect.
- config
Group StringAssigned - Default configuration group.
- grace
Down BooleanFlag - Elegant shrink switch.
- grace
Down NumberTime - Graceful downsizing waiting time.
- load
Metrics Property MapConditions - Multiple indicator trigger conditions.
- measure
Method 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.
- period
Valid String - Effective time for the rule to take effect.
- priority Number
- Rule priority, invalid when added, defaults to auto-increment.
- process
Method Number - Indicator processing method, 1 represents MAX, 2 represents MIN, and 3 represents AVG.
- scale
Action Number - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scale
Num Number - The amount of expansion and contraction each time the rule takes effect.
- strategy
Id Number - Rule ID.
- strategy
Name String - Rule name.
- strategy
Status Number - Rule status, 1 means enabled, 3 means disabled.
- List<Property Map>
- Binding tag list.
- yarn
Node StringLabel - Rule expansion specifies yarn node label.
EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditions, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsArgs
- Load
Metrics List<EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric> - Expansion and contraction load indicators.
- Load
Metrics []EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric - Expansion and contraction load indicators.
- load
Metrics List<EmrAuto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric> - Expansion and contraction load indicators.
- load
Metrics 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.
- load
Metrics List<Property Map> - Expansion and contraction load indicators.
EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetric, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricArgs
- Conditions
List<Emr
Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition> - Trigger condition.
- Load
Metrics string - Expansion and contraction load indicators.
- Metric
Id double - Rule metadata record ID.
- Statistic
Period double - The regular statistical period provides 1min, 3min, and 5min.
- Trigger
Threshold double - The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
- Conditions
[]Emr
Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition - Trigger condition.
- Load
Metrics string - Expansion and contraction load indicators.
- Metric
Id float64 - Rule metadata record ID.
- Statistic
Period float64 - The regular statistical period provides 1min, 3min, and 5min.
- Trigger
Threshold float64 - The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
- conditions
List<Emr
Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition> - Trigger condition.
- load
Metrics String - Expansion and contraction load indicators.
- metric
Id Double - Rule metadata record ID.
- statistic
Period Double - The regular statistical period provides 1min, 3min, and 5min.
- trigger
Threshold Double - The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
- conditions
Emr
Auto Scale Strategy Load Auto Scale Strategy Load Metrics Conditions Load Metric Condition[] - Trigger condition.
- load
Metrics string - Expansion and contraction load indicators.
- metric
Id number - Rule metadata record ID.
- statistic
Period number - The regular statistical period provides 1min, 3min, and 5min.
- trigger
Threshold number - The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
- conditions
Sequence[Emr
Auto 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.
- load
Metrics String - Expansion and contraction load indicators.
- metric
Id Number - Rule metadata record ID.
- statistic
Period Number - The regular statistical period provides 1min, 3min, and 5min.
- trigger
Threshold Number - The number of triggers. When the number of consecutive triggers exceeds TriggerThreshold, the expansion and contraction will begin.
EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricCondition, EmrAutoScaleStrategyLoadAutoScaleStrategyLoadMetricsConditionsLoadMetricConditionArgs
- Compare
Method 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.
- Compare
Method 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.
- compare
Method 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.
- compare
Method 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.
- compare
Method 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
- Interval
Time 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.
- Repeat
Strategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy - Time expansion and contraction repetition strategy.
- Retry
Valid 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.
- Scale
Action double - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- Scale
Num double - The number of expansions and contractions.
- Strategy
Name string - Policy name, unique within the cluster.
- Strategy
Status double - Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
- Compensate
Flag double - Compensation expansion, 0 means not enabled, 1 means enabled.
- Config
Group stringAssigned - Default configuration group.
- Grace
Down boolFlag - Elegant shrink switch.
- Grace
Down doubleTime - Graceful downsizing waiting time.
- Group
Id double - scaling group id.
- Max
Use double - Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
- Measure
Method 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.
- Service
Node List<double>Infos - Start process list.
- Soft
Deploy List<double>Infos - Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
- Strategy
Id double - Policy unique ID.
- List<Emr
Auto Scale Strategy Time Auto Scale Strategy Tag> - Binding tag list.
- Terminate
Policy string - Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- Interval
Time 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.
- Repeat
Strategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy - Time expansion and contraction repetition strategy.
- Retry
Valid 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.
- Scale
Action float64 - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- Scale
Num float64 - The number of expansions and contractions.
- Strategy
Name string - Policy name, unique within the cluster.
- Strategy
Status float64 - Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
- Compensate
Flag float64 - Compensation expansion, 0 means not enabled, 1 means enabled.
- Config
Group stringAssigned - Default configuration group.
- Grace
Down boolFlag - Elegant shrink switch.
- Grace
Down float64Time - Graceful downsizing waiting time.
- Group
Id float64 - scaling group id.
- Max
Use float64 - Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
- Measure
Method 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.
- Service
Node []float64Infos - Start process list.
- Soft
Deploy []float64Infos - Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
- Strategy
Id float64 - Policy unique ID.
- []Emr
Auto Scale Strategy Time Auto Scale Strategy Tag - Binding tag list.
- Terminate
Policy string - Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- interval
Time 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.
- repeat
Strategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy - Time expansion and contraction repetition strategy.
- retry
Valid 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.
- scale
Action Double - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scale
Num Double - The number of expansions and contractions.
- strategy
Name String - Policy name, unique within the cluster.
- strategy
Status Double - Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
- compensate
Flag Double - Compensation expansion, 0 means not enabled, 1 means enabled.
- config
Group StringAssigned - Default configuration group.
- grace
Down BooleanFlag - Elegant shrink switch.
- grace
Down DoubleTime - Graceful downsizing waiting time.
- group
Id Double - scaling group id.
- max
Use Double - Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
- measure
Method 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.
- service
Node List<Double>Infos - Start process list.
- soft
Deploy List<Double>Infos - Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
- strategy
Id Double - Policy unique ID.
- List<Emr
Auto Scale Strategy Time Auto Scale Strategy Tag> - Binding tag list.
- terminate
Policy String - Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
- interval
Time 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.
- repeat
Strategy EmrAuto Scale Strategy Time Auto Scale Strategy Repeat Strategy - Time expansion and contraction repetition strategy.
- retry
Valid 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.
- scale
Action number - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scale
Num number - The number of expansions and contractions.
- strategy
Name string - Policy name, unique within the cluster.
- strategy
Status number - Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
- compensate
Flag number - Compensation expansion, 0 means not enabled, 1 means enabled.
- config
Group stringAssigned - Default configuration group.
- grace
Down booleanFlag - Elegant shrink switch.
- grace
Down numberTime - Graceful downsizing waiting time.
- group
Id number - scaling group id.
- max
Use number - Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
- measure
Method 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.
- service
Node number[]Infos - Start process list.
- soft
Deploy number[]Infos - Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
- strategy
Id number - Policy unique ID.
- Emr
Auto Scale Strategy Time Auto Scale Strategy Tag[] - Binding tag list.
- terminate
Policy 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[Emr
Auto 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.
- interval
Time 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.
- repeat
Strategy Property Map - Time expansion and contraction repetition strategy.
- retry
Valid 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.
- scale
Action Number - Expansion and contraction actions, 1 means expansion, 2 means shrinkage.
- scale
Num Number - The number of expansions and contractions.
- strategy
Name String - Policy name, unique within the cluster.
- strategy
Status Number - Rule status, 1 means valid, 2 means invalid, and 3 means suspended. Required.
- compensate
Flag Number - Compensation expansion, 0 means not enabled, 1 means enabled.
- config
Group StringAssigned - Default configuration group.
- grace
Down BooleanFlag - Elegant shrink switch.
- grace
Down NumberTime - Graceful downsizing waiting time.
- group
Id Number - scaling group id.
- max
Use Number - Maximum usage time, seconds, minimum 1 hour, maximum 24 hours.
- measure
Method 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.
- service
Node List<Number>Infos - Start process list.
- soft
Deploy List<Number>Infos - Node deployment service list. Only fill in HDFS and YARN for deployment services. Mapping relationship table corresponding to component names.
- strategy
Id Number - Policy unique ID.
- List<Property Map>
- Binding tag list.
- terminate
Policy String - Destruction strategy, "DEFAULT", the default destruction strategy, shrinkage is triggered by shrinkage rules, "TIMING" means scheduled destruction.
EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategy, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyArgs
- Repeat
Type string - 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 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.
- 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".
- Repeat
Type string - 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 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.
- 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".
- repeat
Type String - 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 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.
- 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".
- repeat
Type string - 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 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.
- 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".
- 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".
- repeat
Type String - 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 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.
- month
Repeat Property Map - Repeat rules by month, valid when RepeatType is "DOM".
- not
Repeat Property Map - Execute the rule once, effective when RepeatType is "NONE".
- week
Repeat Property Map - Repeat rules by week, valid when RepeatType is "DOW".
EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeat, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyDayRepeatArgs
- Execute
At stringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- Step double
- Executed every Step day.
- Execute
At stringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- Step float64
- Executed every Step day.
- execute
At StringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- step Double
- Executed every Step day.
- execute
At 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.
- execute
At 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
- Days
Of 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.
- Execute
At stringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- Days
Of []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.
- Execute
At stringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- days
Of 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.
- execute
At StringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- days
Of 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.
- execute
At 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".
- days
Of 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.
- execute
At StringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeat, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyNotRepeatArgs
- Execute
At string - The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- Execute
At string - The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- execute
At String - The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
- execute
At 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".
- execute
At String - The specific and complete time of the task execution, the format is "2020-07-13 00:00:00".
EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeat, EmrAutoScaleStrategyTimeAutoScaleStrategyRepeatStrategyWeekRepeatArgs
- Days
Of List<double>Weeks - The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- Execute
At stringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- Days
Of []float64Weeks - The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- Execute
At stringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- days
Of List<Double>Weeks - The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- execute
At StringTime Of Day - Repeat the specific time when the task is executed, such as "01:02:00".
- days
Of number[]Weeks - The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- execute
At 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".
- days
Of List<Number>Weeks - The numerical description of the days of the week, for example, [1,3,4] means Monday, Wednesday, and Thursday every week.
- execute
At 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
tencentcloud
Terraform Provider.