published on Monday, Jun 15, 2026 by Volcengine
published on Monday, Jun 15, 2026 by Volcengine
GTM routing rule resource, which defines the address pool set, health checks, and effective policies for a specific line.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
gTMRuleDemo:
type: volcenginecc:gtm:Rule
name: GTMRuleDemo
properties:
disable: false
effectivePoolSetIndex: 0
gtmId: gtm_id_xxxxx
line: default
name: Protocol-https
policyType: policy_type_xxxxx
poolSetMode: manual
poolSets:
- name: 主地址池集
active_addr_thr: 1
pools:
- poolId: pool_id_xxxxx
weight: 1
probe:
advised_node_count: 8
disable: false
failed_count: 3
protocol: https
port: 443
url: /content/pages
host: www.example.com
http_method: GET
http_usability_codes:
- operator: interval
codes:
- 100
- 200
ping_count: 0
ping_loss_percent: 0
interval: 60
is_manual_nodes: false
nodes:
- China-North lq Bytedance
- China-North lf Bytedance
- China-North hl Bytedance
timeout: 5
remark: test for create
useRuleProbeConfig: true
usePolicyProbeNodes: false
weight: 1
Example coming soon!
Create Rule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Rule(name: string, args: RuleArgs, opts?: CustomResourceOptions);@overload
def Rule(resource_name: str,
args: RuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Rule(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
policy_type: Optional[str] = None,
gtm_id: Optional[str] = None,
pool_set_mode: Optional[str] = None,
line: Optional[str] = None,
effective_pool_set_index: Optional[int] = None,
disable: Optional[bool] = None,
pool_sets: Optional[Sequence[RulePoolSetArgs]] = None,
probe: Optional[RuleProbeArgs] = None,
remark: Optional[str] = None,
use_policy_probe_nodes: Optional[bool] = None,
use_rule_probe_config: Optional[bool] = None,
weight: Optional[int] = None)func NewRule(ctx *Context, name string, args RuleArgs, opts ...ResourceOption) (*Rule, error)public Rule(string name, RuleArgs args, CustomResourceOptions? opts = null)type: volcenginecc:gtm:Rule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_gtm_rule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RuleArgs
- 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 RuleArgs
- 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 RuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleruleResourceResourceFromGtmrule = new Volcenginecc.Gtm.Rule("exampleruleResourceResourceFromGtmrule", new()
{
Name = "string",
PolicyType = "string",
GtmId = "string",
PoolSetMode = "string",
Line = "string",
EffectivePoolSetIndex = 0,
Disable = false,
PoolSets = new[]
{
new Volcenginecc.Gtm.Inputs.RulePoolSetArgs
{
ActiveAddrThr = 0,
Name = "string",
Pools = new[]
{
new Volcenginecc.Gtm.Inputs.RulePoolSetPoolArgs
{
Addresses = new[]
{
new Volcenginecc.Gtm.Inputs.RulePoolSetPoolAddressArgs
{
Active = false,
Capacity = 0,
Geo = "string",
Latency = 0,
Mode = "string",
RectifiedGeos = new[]
{
"string",
},
Value = "string",
Weight = 0,
},
},
InactiveAddrCount = 0,
Name = "string",
PoolId = "string",
Weight = 0,
},
},
},
},
Probe = new Volcenginecc.Gtm.Inputs.RuleProbeArgs
{
AdvisedNodeCount = 0,
Disable = false,
FailedCount = 0,
Host = "string",
HttpMethod = "string",
HttpUsabilityCodes = new[]
{
new Volcenginecc.Gtm.Inputs.RuleProbeHttpUsabilityCodeArgs
{
Codes = new[]
{
0,
},
Operator = "string",
},
},
Interval = 0,
IsManualNodes = false,
Nodes = new[]
{
"string",
},
PingCount = 0,
PingLossPercent = 0,
Port = 0,
Protocol = "string",
Timeout = 0,
Url = "string",
},
Remark = "string",
UsePolicyProbeNodes = false,
UseRuleProbeConfig = false,
Weight = 0,
});
example, err := gtm.NewRule(ctx, "exampleruleResourceResourceFromGtmrule", >m.RuleArgs{
Name: pulumi.String("string"),
PolicyType: pulumi.String("string"),
GtmId: pulumi.String("string"),
PoolSetMode: pulumi.String("string"),
Line: pulumi.String("string"),
EffectivePoolSetIndex: pulumi.Int(0),
Disable: pulumi.Bool(false),
PoolSets: gtm.RulePoolSetArray{
>m.RulePoolSetArgs{
ActiveAddrThr: pulumi.Int(0),
Name: pulumi.String("string"),
Pools: gtm.RulePoolSetPoolArray{
>m.RulePoolSetPoolArgs{
Addresses: gtm.RulePoolSetPoolAddressArray{
>m.RulePoolSetPoolAddressArgs{
Active: pulumi.Bool(false),
Capacity: pulumi.Int(0),
Geo: pulumi.String("string"),
Latency: pulumi.Int(0),
Mode: pulumi.String("string"),
RectifiedGeos: pulumi.StringArray{
pulumi.String("string"),
},
Value: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
InactiveAddrCount: pulumi.Int(0),
Name: pulumi.String("string"),
PoolId: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
},
},
Probe: >m.RuleProbeArgs{
AdvisedNodeCount: pulumi.Int(0),
Disable: pulumi.Bool(false),
FailedCount: pulumi.Int(0),
Host: pulumi.String("string"),
HttpMethod: pulumi.String("string"),
HttpUsabilityCodes: gtm.RuleProbeHttpUsabilityCodeArray{
>m.RuleProbeHttpUsabilityCodeArgs{
Codes: pulumi.IntArray{
pulumi.Int(0),
},
Operator: pulumi.String("string"),
},
},
Interval: pulumi.Int(0),
IsManualNodes: pulumi.Bool(false),
Nodes: pulumi.StringArray{
pulumi.String("string"),
},
PingCount: pulumi.Int(0),
PingLossPercent: pulumi.Int(0),
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
Timeout: pulumi.Int(0),
Url: pulumi.String("string"),
},
Remark: pulumi.String("string"),
UsePolicyProbeNodes: pulumi.Bool(false),
UseRuleProbeConfig: pulumi.Bool(false),
Weight: pulumi.Int(0),
})
resource "volcenginecc_gtm_rule" "exampleruleResourceResourceFromGtmrule" {
name = "string"
policy_type = "string"
gtm_id = "string"
pool_set_mode = "string"
line = "string"
effective_pool_set_index = 0
disable = false
pool_sets {
active_addr_thr = 0
name = "string"
pools {
addresses {
active = false
capacity = 0
geo = "string"
latency = 0
mode = "string"
rectified_geos = ["string"]
value = "string"
weight = 0
}
inactive_addr_count = 0
name = "string"
pool_id = "string"
weight = 0
}
}
probe = {
advised_node_count = 0
disable = false
failed_count = 0
host = "string"
http_method = "string"
http_usability_codes = [{
"codes" = [0]
"operator" = "string"
}]
interval = 0
is_manual_nodes = false
nodes = ["string"]
ping_count = 0
ping_loss_percent = 0
port = 0
protocol = "string"
timeout = 0
url = "string"
}
remark = "string"
use_policy_probe_nodes = false
use_rule_probe_config = false
weight = 0
}
var exampleruleResourceResourceFromGtmrule = new com.volcengine.volcenginecc.gtm.Rule("exampleruleResourceResourceFromGtmrule", com.volcengine.volcenginecc.gtm.RuleArgs.builder()
.name("string")
.policyType("string")
.gtmId("string")
.poolSetMode("string")
.line("string")
.effectivePoolSetIndex(0)
.disable(false)
.poolSets(RulePoolSetArgs.builder()
.activeAddrThr(0)
.name("string")
.pools(RulePoolSetPoolArgs.builder()
.addresses(RulePoolSetPoolAddressArgs.builder()
.active(false)
.capacity(0)
.geo("string")
.latency(0)
.mode("string")
.rectifiedGeos("string")
.value("string")
.weight(0)
.build())
.inactiveAddrCount(0)
.name("string")
.poolId("string")
.weight(0)
.build())
.build())
.probe(RuleProbeArgs.builder()
.advisedNodeCount(0)
.disable(false)
.failedCount(0)
.host("string")
.httpMethod("string")
.httpUsabilityCodes(RuleProbeHttpUsabilityCodeArgs.builder()
.codes(0)
.operator("string")
.build())
.interval(0)
.isManualNodes(false)
.nodes("string")
.pingCount(0)
.pingLossPercent(0)
.port(0)
.protocol("string")
.timeout(0)
.url("string")
.build())
.remark("string")
.usePolicyProbeNodes(false)
.useRuleProbeConfig(false)
.weight(0)
.build());
examplerule_resource_resource_from_gtmrule = volcenginecc.gtm.Rule("exampleruleResourceResourceFromGtmrule",
name="string",
policy_type="string",
gtm_id="string",
pool_set_mode="string",
line="string",
effective_pool_set_index=0,
disable=False,
pool_sets=[{
"active_addr_thr": 0,
"name": "string",
"pools": [{
"addresses": [{
"active": False,
"capacity": 0,
"geo": "string",
"latency": 0,
"mode": "string",
"rectified_geos": ["string"],
"value": "string",
"weight": 0,
}],
"inactive_addr_count": 0,
"name": "string",
"pool_id": "string",
"weight": 0,
}],
}],
probe={
"advised_node_count": 0,
"disable": False,
"failed_count": 0,
"host": "string",
"http_method": "string",
"http_usability_codes": [{
"codes": [0],
"operator": "string",
}],
"interval": 0,
"is_manual_nodes": False,
"nodes": ["string"],
"ping_count": 0,
"ping_loss_percent": 0,
"port": 0,
"protocol": "string",
"timeout": 0,
"url": "string",
},
remark="string",
use_policy_probe_nodes=False,
use_rule_probe_config=False,
weight=0)
const exampleruleResourceResourceFromGtmrule = new volcenginecc.gtm.Rule("exampleruleResourceResourceFromGtmrule", {
name: "string",
policyType: "string",
gtmId: "string",
poolSetMode: "string",
line: "string",
effectivePoolSetIndex: 0,
disable: false,
poolSets: [{
activeAddrThr: 0,
name: "string",
pools: [{
addresses: [{
active: false,
capacity: 0,
geo: "string",
latency: 0,
mode: "string",
rectifiedGeos: ["string"],
value: "string",
weight: 0,
}],
inactiveAddrCount: 0,
name: "string",
poolId: "string",
weight: 0,
}],
}],
probe: {
advisedNodeCount: 0,
disable: false,
failedCount: 0,
host: "string",
httpMethod: "string",
httpUsabilityCodes: [{
codes: [0],
operator: "string",
}],
interval: 0,
isManualNodes: false,
nodes: ["string"],
pingCount: 0,
pingLossPercent: 0,
port: 0,
protocol: "string",
timeout: 0,
url: "string",
},
remark: "string",
usePolicyProbeNodes: false,
useRuleProbeConfig: false,
weight: 0,
});
type: volcenginecc:gtm:Rule
properties:
disable: false
effectivePoolSetIndex: 0
gtmId: string
line: string
name: string
policyType: string
poolSetMode: string
poolSets:
- activeAddrThr: 0
name: string
pools:
- addresses:
- active: false
capacity: 0
geo: string
latency: 0
mode: string
rectifiedGeos:
- string
value: string
weight: 0
inactiveAddrCount: 0
name: string
poolId: string
weight: 0
probe:
advisedNodeCount: 0
disable: false
failedCount: 0
host: string
httpMethod: string
httpUsabilityCodes:
- codes:
- 0
operator: string
interval: 0
isManualNodes: false
nodes:
- string
pingCount: 0
pingLossPercent: 0
port: 0
protocol: string
timeout: 0
url: string
remark: string
usePolicyProbeNodes: false
useRuleProbeConfig: false
weight: 0
Rule 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 Rule resource accepts the following input properties:
- Gtm
Id string - UUID of the GTM instance.
- Name string
- Route rule name.
- Policy
Type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- Disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- Effective
Pool intSet Index - Index of the effective address pool set.
- Line string
- Route rule applicable lines.
- Pool
Set stringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- Pool
Sets List<Volcengine.Rule Pool Set> - Probe
Volcengine.
Rule Probe - Health check parameters for the route rule.
- Remark string
- Route rule remarks.
- Use
Policy boolProbe Nodes - Whether to inherit instance-level health check nodes.
- Use
Rule boolProbe Config - Whether to use route rule-level probe configuration.
- Weight int
- Routing rule weight.
- Gtm
Id string - UUID of the GTM instance.
- Name string
- Route rule name.
- Policy
Type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- Disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- Effective
Pool intSet Index - Index of the effective address pool set.
- Line string
- Route rule applicable lines.
- Pool
Set stringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- Pool
Sets []RulePool Set Args - Probe
Rule
Probe Args - Health check parameters for the route rule.
- Remark string
- Route rule remarks.
- Use
Policy boolProbe Nodes - Whether to inherit instance-level health check nodes.
- Use
Rule boolProbe Config - Whether to use route rule-level probe configuration.
- Weight int
- Routing rule weight.
- gtm_
id string - UUID of the GTM instance.
- name string
- Route rule name.
- policy_
type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective_
pool_ numberset_ index - Index of the effective address pool set.
- line string
- Route rule applicable lines.
- pool_
set_ stringmode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool_
sets list(object) - probe object
- Health check parameters for the route rule.
- remark string
- Route rule remarks.
- use_
policy_ boolprobe_ nodes - Whether to inherit instance-level health check nodes.
- use_
rule_ boolprobe_ config - Whether to use route rule-level probe configuration.
- weight number
- Routing rule weight.
- gtm
Id String - UUID of the GTM instance.
- name String
- Route rule name.
- policy
Type String - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- disable Boolean
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective
Pool IntegerSet Index - Index of the effective address pool set.
- line String
- Route rule applicable lines.
- pool
Set StringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool
Sets List<RulePool Set> - probe
Rule
Probe - Health check parameters for the route rule.
- remark String
- Route rule remarks.
- use
Policy BooleanProbe Nodes - Whether to inherit instance-level health check nodes.
- use
Rule BooleanProbe Config - Whether to use route rule-level probe configuration.
- weight Integer
- Routing rule weight.
- gtm
Id string - UUID of the GTM instance.
- name string
- Route rule name.
- policy
Type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- disable boolean
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective
Pool numberSet Index - Index of the effective address pool set.
- line string
- Route rule applicable lines.
- pool
Set stringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool
Sets RulePool Set[] - probe
Rule
Probe - Health check parameters for the route rule.
- remark string
- Route rule remarks.
- use
Policy booleanProbe Nodes - Whether to inherit instance-level health check nodes.
- use
Rule booleanProbe Config - Whether to use route rule-level probe configuration.
- weight number
- Routing rule weight.
- gtm_
id str - UUID of the GTM instance.
- name str
- Route rule name.
- policy_
type str - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective_
pool_ intset_ index - Index of the effective address pool set.
- line str
- Route rule applicable lines.
- pool_
set_ strmode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool_
sets Sequence[RulePool Set Args] - probe
Rule
Probe Args - Health check parameters for the route rule.
- remark str
- Route rule remarks.
- use_
policy_ boolprobe_ nodes - Whether to inherit instance-level health check nodes.
- use_
rule_ boolprobe_ config - Whether to use route rule-level probe configuration.
- weight int
- Routing rule weight.
- gtm
Id String - UUID of the GTM instance.
- name String
- Route rule name.
- policy
Type String - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- disable Boolean
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective
Pool NumberSet Index - Index of the effective address pool set.
- line String
- Route rule applicable lines.
- pool
Set StringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool
Sets List<Property Map> - probe Property Map
- Health check parameters for the route rule.
- remark String
- Route rule remarks.
- use
Policy BooleanProbe Nodes - Whether to inherit instance-level health check nodes.
- use
Rule BooleanProbe Config - Whether to use route rule-level probe configuration.
- weight Number
- Routing rule weight.
Outputs
All input properties are implicitly available as output properties. Additionally, the Rule resource produces the following output properties:
- Create
Time string - Route rule creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Probe
Mode string - Health check mode.
- Rule
Id string - Routing rule ID.
- Update
Time string - Route rule update time.
- Create
Time string - Route rule creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Probe
Mode string - Health check mode.
- Rule
Id string - Routing rule ID.
- Update
Time string - Route rule update time.
- create_
time string - Route rule creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- probe_
mode string - Health check mode.
- rule_
id string - Routing rule ID.
- update_
time string - Route rule update time.
- create
Time String - Route rule creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- probe
Mode String - Health check mode.
- rule
Id String - Routing rule ID.
- update
Time String - Route rule update time.
- create
Time string - Route rule creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- probe
Mode string - Health check mode.
- rule
Id string - Routing rule ID.
- update
Time string - Route rule update time.
- create_
time str - Route rule creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- probe_
mode str - Health check mode.
- rule_
id str - Routing rule ID.
- update_
time str - Route rule update time.
- create
Time String - Route rule creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- probe
Mode String - Health check mode.
- rule
Id String - Routing rule ID.
- update
Time String - Route rule update time.
Look up Existing Rule Resource
Get an existing Rule 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?: RuleState, opts?: CustomResourceOptions): Rule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
disable: Optional[bool] = None,
effective_pool_set_index: Optional[int] = None,
gtm_id: Optional[str] = None,
line: Optional[str] = None,
name: Optional[str] = None,
policy_type: Optional[str] = None,
pool_set_mode: Optional[str] = None,
pool_sets: Optional[Sequence[RulePoolSetArgs]] = None,
probe: Optional[RuleProbeArgs] = None,
probe_mode: Optional[str] = None,
remark: Optional[str] = None,
rule_id: Optional[str] = None,
update_time: Optional[str] = None,
use_policy_probe_nodes: Optional[bool] = None,
use_rule_probe_config: Optional[bool] = None,
weight: Optional[int] = None) -> Rulefunc GetRule(ctx *Context, name string, id IDInput, state *RuleState, opts ...ResourceOption) (*Rule, error)public static Rule Get(string name, Input<string> id, RuleState? state, CustomResourceOptions? opts = null)public static Rule get(String name, Output<String> id, RuleState state, CustomResourceOptions options)resources: _: type: volcenginecc:gtm:Rule get: id: ${id}import {
to = volcenginecc_gtm_rule.example
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.
- Create
Time string - Route rule creation time.
- Disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- Effective
Pool intSet Index - Index of the effective address pool set.
- Gtm
Id string - UUID of the GTM instance.
- Line string
- Route rule applicable lines.
- Name string
- Route rule name.
- Policy
Type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- Pool
Set stringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- Pool
Sets List<Volcengine.Rule Pool Set> - Probe
Volcengine.
Rule Probe - Health check parameters for the route rule.
- Probe
Mode string - Health check mode.
- Remark string
- Route rule remarks.
- Rule
Id string - Routing rule ID.
- Update
Time string - Route rule update time.
- Use
Policy boolProbe Nodes - Whether to inherit instance-level health check nodes.
- Use
Rule boolProbe Config - Whether to use route rule-level probe configuration.
- Weight int
- Routing rule weight.
- Create
Time string - Route rule creation time.
- Disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- Effective
Pool intSet Index - Index of the effective address pool set.
- Gtm
Id string - UUID of the GTM instance.
- Line string
- Route rule applicable lines.
- Name string
- Route rule name.
- Policy
Type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- Pool
Set stringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- Pool
Sets []RulePool Set Args - Probe
Rule
Probe Args - Health check parameters for the route rule.
- Probe
Mode string - Health check mode.
- Remark string
- Route rule remarks.
- Rule
Id string - Routing rule ID.
- Update
Time string - Route rule update time.
- Use
Policy boolProbe Nodes - Whether to inherit instance-level health check nodes.
- Use
Rule boolProbe Config - Whether to use route rule-level probe configuration.
- Weight int
- Routing rule weight.
- create_
time string - Route rule creation time.
- disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective_
pool_ numberset_ index - Index of the effective address pool set.
- gtm_
id string - UUID of the GTM instance.
- line string
- Route rule applicable lines.
- name string
- Route rule name.
- policy_
type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- pool_
set_ stringmode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool_
sets list(object) - probe object
- Health check parameters for the route rule.
- probe_
mode string - Health check mode.
- remark string
- Route rule remarks.
- rule_
id string - Routing rule ID.
- update_
time string - Route rule update time.
- use_
policy_ boolprobe_ nodes - Whether to inherit instance-level health check nodes.
- use_
rule_ boolprobe_ config - Whether to use route rule-level probe configuration.
- weight number
- Routing rule weight.
- create
Time String - Route rule creation time.
- disable Boolean
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective
Pool IntegerSet Index - Index of the effective address pool set.
- gtm
Id String - UUID of the GTM instance.
- line String
- Route rule applicable lines.
- name String
- Route rule name.
- policy
Type String - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- pool
Set StringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool
Sets List<RulePool Set> - probe
Rule
Probe - Health check parameters for the route rule.
- probe
Mode String - Health check mode.
- remark String
- Route rule remarks.
- rule
Id String - Routing rule ID.
- update
Time String - Route rule update time.
- use
Policy BooleanProbe Nodes - Whether to inherit instance-level health check nodes.
- use
Rule BooleanProbe Config - Whether to use route rule-level probe configuration.
- weight Integer
- Routing rule weight.
- create
Time string - Route rule creation time.
- disable boolean
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective
Pool numberSet Index - Index of the effective address pool set.
- gtm
Id string - UUID of the GTM instance.
- line string
- Route rule applicable lines.
- name string
- Route rule name.
- policy
Type string - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- pool
Set stringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool
Sets RulePool Set[] - probe
Rule
Probe - Health check parameters for the route rule.
- probe
Mode string - Health check mode.
- remark string
- Route rule remarks.
- rule
Id string - Routing rule ID.
- update
Time string - Route rule update time.
- use
Policy booleanProbe Nodes - Whether to inherit instance-level health check nodes.
- use
Rule booleanProbe Config - Whether to use route rule-level probe configuration.
- weight number
- Routing rule weight.
- create_
time str - Route rule creation time.
- disable bool
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective_
pool_ intset_ index - Index of the effective address pool set.
- gtm_
id str - UUID of the GTM instance.
- line str
- Route rule applicable lines.
- name str
- Route rule name.
- policy_
type str - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- pool_
set_ strmode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool_
sets Sequence[RulePool Set Args] - probe
Rule
Probe Args - Health check parameters for the route rule.
- probe_
mode str - Health check mode.
- remark str
- Route rule remarks.
- rule_
id str - Routing rule ID.
- update_
time str - Route rule update time.
- use_
policy_ boolprobe_ nodes - Whether to inherit instance-level health check nodes.
- use_
rule_ boolprobe_ config - Whether to use route rule-level probe configuration.
- weight int
- Routing rule weight.
- create
Time String - Route rule creation time.
- disable Boolean
- Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
- effective
Pool NumberSet Index - Index of the effective address pool set.
- gtm
Id String - UUID of the GTM instance.
- line String
- Route rule applicable lines.
- name String
- Route rule name.
- policy
Type String - The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
- pool
Set StringMode - Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
- pool
Sets List<Property Map> - probe Property Map
- Health check parameters for the route rule.
- probe
Mode String - Health check mode.
- remark String
- Route rule remarks.
- rule
Id String - Routing rule ID.
- update
Time String - Route rule update time.
- use
Policy BooleanProbe Nodes - Whether to inherit instance-level health check nodes.
- use
Rule BooleanProbe Config - Whether to use route rule-level probe configuration.
- weight Number
- Routing rule weight.
Supporting Types
RulePoolSet, RulePoolSetArgs
- Active
Addr intThr - Minimum number of available addresses required for the address pool collection to be considered available.
- Name string
- Address pool name.
- Pools
List<Volcengine.
Rule Pool Set Pool>
- Active
Addr intThr - Minimum number of available addresses required for the address pool collection to be considered available.
- Name string
- Address pool name.
- Pools
[]Rule
Pool Set Pool
- active_
addr_ numberthr - Minimum number of available addresses required for the address pool collection to be considered available.
- name string
- Address pool name.
- pools list(object)
- active
Addr IntegerThr - Minimum number of available addresses required for the address pool collection to be considered available.
- name String
- Address pool name.
- pools
List<Rule
Pool Set Pool>
- active
Addr numberThr - Minimum number of available addresses required for the address pool collection to be considered available.
- name string
- Address pool name.
- pools
Rule
Pool Set Pool[]
- active_
addr_ intthr - Minimum number of available addresses required for the address pool collection to be considered available.
- name str
- Address pool name.
- pools
Sequence[Rule
Pool Set Pool]
- active
Addr NumberThr - Minimum number of available addresses required for the address pool collection to be considered available.
- name String
- Address pool name.
- pools List<Property Map>
RulePoolSetPool, RulePoolSetPoolArgs
- Addresses
List<Volcengine.
Rule Pool Set Pool Address> - Inactive
Addr intCount - The number of unavailable addresses in the address pool.
- Name string
- Address pool name.
- Pool
Id string - Address pool ID.
- Weight int
- Address pool weight.
- Addresses
[]Rule
Pool Set Pool Address - Inactive
Addr intCount - The number of unavailable addresses in the address pool.
- Name string
- Address pool name.
- Pool
Id string - Address pool ID.
- Weight int
- Address pool weight.
- addresses list(object)
- inactive_
addr_ numbercount - The number of unavailable addresses in the address pool.
- name string
- Address pool name.
- pool_
id string - Address pool ID.
- weight number
- Address pool weight.
- addresses
List<Rule
Pool Set Pool Address> - inactive
Addr IntegerCount - The number of unavailable addresses in the address pool.
- name String
- Address pool name.
- pool
Id String - Address pool ID.
- weight Integer
- Address pool weight.
- addresses
Rule
Pool Set Pool Address[] - inactive
Addr numberCount - The number of unavailable addresses in the address pool.
- name string
- Address pool name.
- pool
Id string - Address pool ID.
- weight number
- Address pool weight.
- addresses
Sequence[Rule
Pool Set Pool Address] - inactive_
addr_ intcount - The number of unavailable addresses in the address pool.
- name str
- Address pool name.
- pool_
id str - Address pool ID.
- weight int
- Address pool weight.
- addresses List<Property Map>
- inactive
Addr NumberCount - The number of unavailable addresses in the address pool.
- name String
- Address pool name.
- pool
Id String - Address pool ID.
- weight Number
- Address pool weight.
RulePoolSetPoolAddress, RulePoolSetPoolAddressArgs
- Active bool
- Whether the address is available. true: The address is available. false: The address is unavailable.
- Capacity int
- The capacity of the address. For addresses without a set capacity value, this parameter returns the default capacity value of 1000.
- Geo string
- This parameter has no practical significance. You can ignore this parameter.
- Latency int
- Latency (ms) for health check probe accessing the target address.
- Mode string
- The mechanism for determining whether an address is available. auto: automatic mode. Cloud Scheduling GTM determines address availability based on health check results. alwayson: address is always available. alwaysoff: address is always unavailable.
- Rectified
Geos List<string> - The assigned region for the target address. See line codes for the mapping between line codes and specific regions (i.e., lines).
- Value string
- Address.
- Weight int
- Address weight. For addresses without a specified weight, this parameter returns the default weight value of 1.
- Active bool
- Whether the address is available. true: The address is available. false: The address is unavailable.
- Capacity int
- The capacity of the address. For addresses without a set capacity value, this parameter returns the default capacity value of 1000.
- Geo string
- This parameter has no practical significance. You can ignore this parameter.
- Latency int
- Latency (ms) for health check probe accessing the target address.
- Mode string
- The mechanism for determining whether an address is available. auto: automatic mode. Cloud Scheduling GTM determines address availability based on health check results. alwayson: address is always available. alwaysoff: address is always unavailable.
- Rectified
Geos []string - The assigned region for the target address. See line codes for the mapping between line codes and specific regions (i.e., lines).
- Value string
- Address.
- Weight int
- Address weight. For addresses without a specified weight, this parameter returns the default weight value of 1.
- active bool
- Whether the address is available. true: The address is available. false: The address is unavailable.
- capacity number
- The capacity of the address. For addresses without a set capacity value, this parameter returns the default capacity value of 1000.
- geo string
- This parameter has no practical significance. You can ignore this parameter.
- latency number
- Latency (ms) for health check probe accessing the target address.
- mode string
- The mechanism for determining whether an address is available. auto: automatic mode. Cloud Scheduling GTM determines address availability based on health check results. alwayson: address is always available. alwaysoff: address is always unavailable.
- rectified_
geos list(string) - The assigned region for the target address. See line codes for the mapping between line codes and specific regions (i.e., lines).
- value string
- Address.
- weight number
- Address weight. For addresses without a specified weight, this parameter returns the default weight value of 1.
- active Boolean
- Whether the address is available. true: The address is available. false: The address is unavailable.
- capacity Integer
- The capacity of the address. For addresses without a set capacity value, this parameter returns the default capacity value of 1000.
- geo String
- This parameter has no practical significance. You can ignore this parameter.
- latency Integer
- Latency (ms) for health check probe accessing the target address.
- mode String
- The mechanism for determining whether an address is available. auto: automatic mode. Cloud Scheduling GTM determines address availability based on health check results. alwayson: address is always available. alwaysoff: address is always unavailable.
- rectified
Geos List<String> - The assigned region for the target address. See line codes for the mapping between line codes and specific regions (i.e., lines).
- value String
- Address.
- weight Integer
- Address weight. For addresses without a specified weight, this parameter returns the default weight value of 1.
- active boolean
- Whether the address is available. true: The address is available. false: The address is unavailable.
- capacity number
- The capacity of the address. For addresses without a set capacity value, this parameter returns the default capacity value of 1000.
- geo string
- This parameter has no practical significance. You can ignore this parameter.
- latency number
- Latency (ms) for health check probe accessing the target address.
- mode string
- The mechanism for determining whether an address is available. auto: automatic mode. Cloud Scheduling GTM determines address availability based on health check results. alwayson: address is always available. alwaysoff: address is always unavailable.
- rectified
Geos string[] - The assigned region for the target address. See line codes for the mapping between line codes and specific regions (i.e., lines).
- value string
- Address.
- weight number
- Address weight. For addresses without a specified weight, this parameter returns the default weight value of 1.
- active bool
- Whether the address is available. true: The address is available. false: The address is unavailable.
- capacity int
- The capacity of the address. For addresses without a set capacity value, this parameter returns the default capacity value of 1000.
- geo str
- This parameter has no practical significance. You can ignore this parameter.
- latency int
- Latency (ms) for health check probe accessing the target address.
- mode str
- The mechanism for determining whether an address is available. auto: automatic mode. Cloud Scheduling GTM determines address availability based on health check results. alwayson: address is always available. alwaysoff: address is always unavailable.
- rectified_
geos Sequence[str] - The assigned region for the target address. See line codes for the mapping between line codes and specific regions (i.e., lines).
- value str
- Address.
- weight int
- Address weight. For addresses without a specified weight, this parameter returns the default weight value of 1.
- active Boolean
- Whether the address is available. true: The address is available. false: The address is unavailable.
- capacity Number
- The capacity of the address. For addresses without a set capacity value, this parameter returns the default capacity value of 1000.
- geo String
- This parameter has no practical significance. You can ignore this parameter.
- latency Number
- Latency (ms) for health check probe accessing the target address.
- mode String
- The mechanism for determining whether an address is available. auto: automatic mode. Cloud Scheduling GTM determines address availability based on health check results. alwayson: address is always available. alwaysoff: address is always unavailable.
- rectified
Geos List<String> - The assigned region for the target address. See line codes for the mapping between line codes and specific regions (i.e., lines).
- value String
- Address.
- weight Number
- Address weight. For addresses without a specified weight, this parameter returns the default weight value of 1.
RuleProbe, RuleProbeArgs
- Advised
Node intCount - Recommended number of health check probe points.
- Disable bool
- Whether health checks are disabled. true: disabled. false: not disabled.
- Failed
Count int - The threshold for the number of health check failures before a single target address is considered faulty. For example, if you set this parameter to 3, a target address is marked as faulty after 3 consecutive health check failures. The default value is 3.
- Host string
- Domain name of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- Http
Method string - HTTP request method. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- Http
Usability List<Volcengine.Codes Rule Probe Http Usability Code> - Interval int
- The interval between each health check, in seconds.
- Is
Manual boolNodes - Whether to manually configure the health check probe. true: Manually configure the health check probe. false: Use recommended health check probe.
- Nodes List<string>
- Health check probe point.
- Ping
Count int - Packet count. If you set this parameter to 10, each ping check sends 10 packets simultaneously. This parameter is only valid when the health check protocol is set to ping.
- Ping
Loss intPercent - Packet loss rate, expressed as a percentage. If the packet loss rate exceeds this parameter, the result is considered abnormal. For example, if this parameter is set to 10 and the packet loss rate during the health check is 11%, the result is considered abnormal. This parameter is only valid when the health check protocol is set to ping.
- Port int
- Port of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- Protocol string
- Protocol used for health checks. ping: ICMP protocol. tcp: TCP protocol. http: HTTP protocol. https: HTTPS protocol.
- Timeout int
- The timeout period for the health check task, in seconds. ping: If the latency exceeds the value of Timeout, it is considered packet loss. http/https: If the latency exceeds the value of Timeout, it is considered an abnormal result.
- Url string
- Path part of the health check target address, starting with /. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- Advised
Node intCount - Recommended number of health check probe points.
- Disable bool
- Whether health checks are disabled. true: disabled. false: not disabled.
- Failed
Count int - The threshold for the number of health check failures before a single target address is considered faulty. For example, if you set this parameter to 3, a target address is marked as faulty after 3 consecutive health check failures. The default value is 3.
- Host string
- Domain name of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- Http
Method string - HTTP request method. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- Http
Usability []RuleCodes Probe Http Usability Code - Interval int
- The interval between each health check, in seconds.
- Is
Manual boolNodes - Whether to manually configure the health check probe. true: Manually configure the health check probe. false: Use recommended health check probe.
- Nodes []string
- Health check probe point.
- Ping
Count int - Packet count. If you set this parameter to 10, each ping check sends 10 packets simultaneously. This parameter is only valid when the health check protocol is set to ping.
- Ping
Loss intPercent - Packet loss rate, expressed as a percentage. If the packet loss rate exceeds this parameter, the result is considered abnormal. For example, if this parameter is set to 10 and the packet loss rate during the health check is 11%, the result is considered abnormal. This parameter is only valid when the health check protocol is set to ping.
- Port int
- Port of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- Protocol string
- Protocol used for health checks. ping: ICMP protocol. tcp: TCP protocol. http: HTTP protocol. https: HTTPS protocol.
- Timeout int
- The timeout period for the health check task, in seconds. ping: If the latency exceeds the value of Timeout, it is considered packet loss. http/https: If the latency exceeds the value of Timeout, it is considered an abnormal result.
- Url string
- Path part of the health check target address, starting with /. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- advised_
node_ numbercount - Recommended number of health check probe points.
- disable bool
- Whether health checks are disabled. true: disabled. false: not disabled.
- failed_
count number - The threshold for the number of health check failures before a single target address is considered faulty. For example, if you set this parameter to 3, a target address is marked as faulty after 3 consecutive health check failures. The default value is 3.
- host string
- Domain name of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http_
method string - HTTP request method. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http_
usability_ list(object)codes - interval number
- The interval between each health check, in seconds.
- is_
manual_ boolnodes - Whether to manually configure the health check probe. true: Manually configure the health check probe. false: Use recommended health check probe.
- nodes list(string)
- Health check probe point.
- ping_
count number - Packet count. If you set this parameter to 10, each ping check sends 10 packets simultaneously. This parameter is only valid when the health check protocol is set to ping.
- ping_
loss_ numberpercent - Packet loss rate, expressed as a percentage. If the packet loss rate exceeds this parameter, the result is considered abnormal. For example, if this parameter is set to 10 and the packet loss rate during the health check is 11%, the result is considered abnormal. This parameter is only valid when the health check protocol is set to ping.
- port number
- Port of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- protocol string
- Protocol used for health checks. ping: ICMP protocol. tcp: TCP protocol. http: HTTP protocol. https: HTTPS protocol.
- timeout number
- The timeout period for the health check task, in seconds. ping: If the latency exceeds the value of Timeout, it is considered packet loss. http/https: If the latency exceeds the value of Timeout, it is considered an abnormal result.
- url string
- Path part of the health check target address, starting with /. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- advised
Node IntegerCount - Recommended number of health check probe points.
- disable Boolean
- Whether health checks are disabled. true: disabled. false: not disabled.
- failed
Count Integer - The threshold for the number of health check failures before a single target address is considered faulty. For example, if you set this parameter to 3, a target address is marked as faulty after 3 consecutive health check failures. The default value is 3.
- host String
- Domain name of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http
Method String - HTTP request method. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http
Usability List<RuleCodes Probe Http Usability Code> - interval Integer
- The interval between each health check, in seconds.
- is
Manual BooleanNodes - Whether to manually configure the health check probe. true: Manually configure the health check probe. false: Use recommended health check probe.
- nodes List<String>
- Health check probe point.
- ping
Count Integer - Packet count. If you set this parameter to 10, each ping check sends 10 packets simultaneously. This parameter is only valid when the health check protocol is set to ping.
- ping
Loss IntegerPercent - Packet loss rate, expressed as a percentage. If the packet loss rate exceeds this parameter, the result is considered abnormal. For example, if this parameter is set to 10 and the packet loss rate during the health check is 11%, the result is considered abnormal. This parameter is only valid when the health check protocol is set to ping.
- port Integer
- Port of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- protocol String
- Protocol used for health checks. ping: ICMP protocol. tcp: TCP protocol. http: HTTP protocol. https: HTTPS protocol.
- timeout Integer
- The timeout period for the health check task, in seconds. ping: If the latency exceeds the value of Timeout, it is considered packet loss. http/https: If the latency exceeds the value of Timeout, it is considered an abnormal result.
- url String
- Path part of the health check target address, starting with /. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- advised
Node numberCount - Recommended number of health check probe points.
- disable boolean
- Whether health checks are disabled. true: disabled. false: not disabled.
- failed
Count number - The threshold for the number of health check failures before a single target address is considered faulty. For example, if you set this parameter to 3, a target address is marked as faulty after 3 consecutive health check failures. The default value is 3.
- host string
- Domain name of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http
Method string - HTTP request method. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http
Usability RuleCodes Probe Http Usability Code[] - interval number
- The interval between each health check, in seconds.
- is
Manual booleanNodes - Whether to manually configure the health check probe. true: Manually configure the health check probe. false: Use recommended health check probe.
- nodes string[]
- Health check probe point.
- ping
Count number - Packet count. If you set this parameter to 10, each ping check sends 10 packets simultaneously. This parameter is only valid when the health check protocol is set to ping.
- ping
Loss numberPercent - Packet loss rate, expressed as a percentage. If the packet loss rate exceeds this parameter, the result is considered abnormal. For example, if this parameter is set to 10 and the packet loss rate during the health check is 11%, the result is considered abnormal. This parameter is only valid when the health check protocol is set to ping.
- port number
- Port of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- protocol string
- Protocol used for health checks. ping: ICMP protocol. tcp: TCP protocol. http: HTTP protocol. https: HTTPS protocol.
- timeout number
- The timeout period for the health check task, in seconds. ping: If the latency exceeds the value of Timeout, it is considered packet loss. http/https: If the latency exceeds the value of Timeout, it is considered an abnormal result.
- url string
- Path part of the health check target address, starting with /. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- advised_
node_ intcount - Recommended number of health check probe points.
- disable bool
- Whether health checks are disabled. true: disabled. false: not disabled.
- failed_
count int - The threshold for the number of health check failures before a single target address is considered faulty. For example, if you set this parameter to 3, a target address is marked as faulty after 3 consecutive health check failures. The default value is 3.
- host str
- Domain name of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http_
method str - HTTP request method. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http_
usability_ Sequence[Rulecodes Probe Http Usability Code] - interval int
- The interval between each health check, in seconds.
- is_
manual_ boolnodes - Whether to manually configure the health check probe. true: Manually configure the health check probe. false: Use recommended health check probe.
- nodes Sequence[str]
- Health check probe point.
- ping_
count int - Packet count. If you set this parameter to 10, each ping check sends 10 packets simultaneously. This parameter is only valid when the health check protocol is set to ping.
- ping_
loss_ intpercent - Packet loss rate, expressed as a percentage. If the packet loss rate exceeds this parameter, the result is considered abnormal. For example, if this parameter is set to 10 and the packet loss rate during the health check is 11%, the result is considered abnormal. This parameter is only valid when the health check protocol is set to ping.
- port int
- Port of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- protocol str
- Protocol used for health checks. ping: ICMP protocol. tcp: TCP protocol. http: HTTP protocol. https: HTTPS protocol.
- timeout int
- The timeout period for the health check task, in seconds. ping: If the latency exceeds the value of Timeout, it is considered packet loss. http/https: If the latency exceeds the value of Timeout, it is considered an abnormal result.
- url str
- Path part of the health check target address, starting with /. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- advised
Node NumberCount - Recommended number of health check probe points.
- disable Boolean
- Whether health checks are disabled. true: disabled. false: not disabled.
- failed
Count Number - The threshold for the number of health check failures before a single target address is considered faulty. For example, if you set this parameter to 3, a target address is marked as faulty after 3 consecutive health check failures. The default value is 3.
- host String
- Domain name of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http
Method String - HTTP request method. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- http
Usability List<Property Map>Codes - interval Number
- The interval between each health check, in seconds.
- is
Manual BooleanNodes - Whether to manually configure the health check probe. true: Manually configure the health check probe. false: Use recommended health check probe.
- nodes List<String>
- Health check probe point.
- ping
Count Number - Packet count. If you set this parameter to 10, each ping check sends 10 packets simultaneously. This parameter is only valid when the health check protocol is set to ping.
- ping
Loss NumberPercent - Packet loss rate, expressed as a percentage. If the packet loss rate exceeds this parameter, the result is considered abnormal. For example, if this parameter is set to 10 and the packet loss rate during the health check is 11%, the result is considered abnormal. This parameter is only valid when the health check protocol is set to ping.
- port Number
- Port of the health check target address. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
- protocol String
- Protocol used for health checks. ping: ICMP protocol. tcp: TCP protocol. http: HTTP protocol. https: HTTPS protocol.
- timeout Number
- The timeout period for the health check task, in seconds. ping: If the latency exceeds the value of Timeout, it is considered packet loss. http/https: If the latency exceeds the value of Timeout, it is considered an abnormal result.
- url String
- Path part of the health check target address, starting with /. This parameter is only valid when the health check protocol is set to HTTP or HTTPS.
RuleProbeHttpUsabilityCode, RuleProbeHttpUsabilityCodeArgs
Import
$ pulumi import volcenginecc:gtm/rule:Rule example "gtm_id|policy_type|rule_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Monday, Jun 15, 2026 by Volcengine