tencentcloud.TseCngwCanaryRule
Explore with Pulumi AI
Provides a resource to create a tse cngw_canary_rule
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const cngwService = new tencentcloud.TseCngwService("cngwService", {
gatewayId: "gateway-ddbb709b",
path: "/test",
protocol: "http",
retries: 5,
tags: {
created: "terraform",
},
timeout: 6000,
upstreamType: "IPList",
upstreamInfo: {
algorithm: "round-robin",
autoScalingCvmPort: 80,
autoScalingGroupId: "asg-519acdug",
autoScalingHookStatus: "Normal",
autoScalingTatCmdStatus: "Normal",
port: 0,
slowStart: 20,
targets: [{
health: "HEALTHCHECKS_OFF",
host: "192.168.0.1",
port: 80,
weight: 100,
}],
},
});
const cngwCanaryRule = new tencentcloud.TseCngwCanaryRule("cngwCanaryRule", {
gatewayId: cngwService.gatewayId,
serviceId: cngwService.serviceId,
tags: {
created: "terraform",
},
canaryRule: {
enabled: true,
priority: 100,
balancedServiceLists: [{
percent: 100,
serviceId: cngwService.serviceId,
serviceName: cngwService.name,
}],
conditionLists: [{
key: "test",
operator: "eq",
type: "query",
value: "1",
}],
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cngw_service = tencentcloud.TseCngwService("cngwService",
gateway_id="gateway-ddbb709b",
path="/test",
protocol="http",
retries=5,
tags={
"created": "terraform",
},
timeout=6000,
upstream_type="IPList",
upstream_info={
"algorithm": "round-robin",
"auto_scaling_cvm_port": 80,
"auto_scaling_group_id": "asg-519acdug",
"auto_scaling_hook_status": "Normal",
"auto_scaling_tat_cmd_status": "Normal",
"port": 0,
"slow_start": 20,
"targets": [{
"health": "HEALTHCHECKS_OFF",
"host": "192.168.0.1",
"port": 80,
"weight": 100,
}],
})
cngw_canary_rule = tencentcloud.TseCngwCanaryRule("cngwCanaryRule",
gateway_id=cngw_service.gateway_id,
service_id=cngw_service.service_id,
tags={
"created": "terraform",
},
canary_rule={
"enabled": True,
"priority": 100,
"balanced_service_lists": [{
"percent": 100,
"service_id": cngw_service.service_id,
"service_name": cngw_service.name,
}],
"condition_lists": [{
"key": "test",
"operator": "eq",
"type": "query",
"value": "1",
}],
})
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 {
cngwService, err := tencentcloud.NewTseCngwService(ctx, "cngwService", &tencentcloud.TseCngwServiceArgs{
GatewayId: pulumi.String("gateway-ddbb709b"),
Path: pulumi.String("/test"),
Protocol: pulumi.String("http"),
Retries: pulumi.Float64(5),
Tags: pulumi.StringMap{
"created": pulumi.String("terraform"),
},
Timeout: pulumi.Float64(6000),
UpstreamType: pulumi.String("IPList"),
UpstreamInfo: &tencentcloud.TseCngwServiceUpstreamInfoArgs{
Algorithm: pulumi.String("round-robin"),
AutoScalingCvmPort: pulumi.Float64(80),
AutoScalingGroupId: pulumi.String("asg-519acdug"),
AutoScalingHookStatus: pulumi.String("Normal"),
AutoScalingTatCmdStatus: pulumi.String("Normal"),
Port: pulumi.Float64(0),
SlowStart: pulumi.Float64(20),
Targets: tencentcloud.TseCngwServiceUpstreamInfoTargetArray{
&tencentcloud.TseCngwServiceUpstreamInfoTargetArgs{
Health: pulumi.String("HEALTHCHECKS_OFF"),
Host: pulumi.String("192.168.0.1"),
Port: pulumi.Float64(80),
Weight: pulumi.Float64(100),
},
},
},
})
if err != nil {
return err
}
_, err = tencentcloud.NewTseCngwCanaryRule(ctx, "cngwCanaryRule", &tencentcloud.TseCngwCanaryRuleArgs{
GatewayId: cngwService.GatewayId,
ServiceId: cngwService.ServiceId,
Tags: pulumi.StringMap{
"created": pulumi.String("terraform"),
},
CanaryRule: &tencentcloud.TseCngwCanaryRuleCanaryRuleArgs{
Enabled: pulumi.Bool(true),
Priority: pulumi.Float64(100),
BalancedServiceLists: tencentcloud.TseCngwCanaryRuleCanaryRuleBalancedServiceListArray{
&tencentcloud.TseCngwCanaryRuleCanaryRuleBalancedServiceListArgs{
Percent: pulumi.Float64(100),
ServiceId: cngwService.ServiceId,
ServiceName: cngwService.Name,
},
},
ConditionLists: tencentcloud.TseCngwCanaryRuleCanaryRuleConditionListArray{
&tencentcloud.TseCngwCanaryRuleCanaryRuleConditionListArgs{
Key: pulumi.String("test"),
Operator: pulumi.String("eq"),
Type: pulumi.String("query"),
Value: pulumi.String("1"),
},
},
},
})
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 cngwService = new Tencentcloud.TseCngwService("cngwService", new()
{
GatewayId = "gateway-ddbb709b",
Path = "/test",
Protocol = "http",
Retries = 5,
Tags =
{
{ "created", "terraform" },
},
Timeout = 6000,
UpstreamType = "IPList",
UpstreamInfo = new Tencentcloud.Inputs.TseCngwServiceUpstreamInfoArgs
{
Algorithm = "round-robin",
AutoScalingCvmPort = 80,
AutoScalingGroupId = "asg-519acdug",
AutoScalingHookStatus = "Normal",
AutoScalingTatCmdStatus = "Normal",
Port = 0,
SlowStart = 20,
Targets = new[]
{
new Tencentcloud.Inputs.TseCngwServiceUpstreamInfoTargetArgs
{
Health = "HEALTHCHECKS_OFF",
Host = "192.168.0.1",
Port = 80,
Weight = 100,
},
},
},
});
var cngwCanaryRule = new Tencentcloud.TseCngwCanaryRule("cngwCanaryRule", new()
{
GatewayId = cngwService.GatewayId,
ServiceId = cngwService.ServiceId,
Tags =
{
{ "created", "terraform" },
},
CanaryRule = new Tencentcloud.Inputs.TseCngwCanaryRuleCanaryRuleArgs
{
Enabled = true,
Priority = 100,
BalancedServiceLists = new[]
{
new Tencentcloud.Inputs.TseCngwCanaryRuleCanaryRuleBalancedServiceListArgs
{
Percent = 100,
ServiceId = cngwService.ServiceId,
ServiceName = cngwService.Name,
},
},
ConditionLists = new[]
{
new Tencentcloud.Inputs.TseCngwCanaryRuleCanaryRuleConditionListArgs
{
Key = "test",
Operator = "eq",
Type = "query",
Value = "1",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TseCngwService;
import com.pulumi.tencentcloud.TseCngwServiceArgs;
import com.pulumi.tencentcloud.inputs.TseCngwServiceUpstreamInfoArgs;
import com.pulumi.tencentcloud.TseCngwCanaryRule;
import com.pulumi.tencentcloud.TseCngwCanaryRuleArgs;
import com.pulumi.tencentcloud.inputs.TseCngwCanaryRuleCanaryRuleArgs;
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 cngwService = new TseCngwService("cngwService", TseCngwServiceArgs.builder()
.gatewayId("gateway-ddbb709b")
.path("/test")
.protocol("http")
.retries(5)
.tags(Map.of("created", "terraform"))
.timeout(6000)
.upstreamType("IPList")
.upstreamInfo(TseCngwServiceUpstreamInfoArgs.builder()
.algorithm("round-robin")
.autoScalingCvmPort(80)
.autoScalingGroupId("asg-519acdug")
.autoScalingHookStatus("Normal")
.autoScalingTatCmdStatus("Normal")
.port(0)
.slowStart(20)
.targets(TseCngwServiceUpstreamInfoTargetArgs.builder()
.health("HEALTHCHECKS_OFF")
.host("192.168.0.1")
.port(80)
.weight(100)
.build())
.build())
.build());
var cngwCanaryRule = new TseCngwCanaryRule("cngwCanaryRule", TseCngwCanaryRuleArgs.builder()
.gatewayId(cngwService.gatewayId())
.serviceId(cngwService.serviceId())
.tags(Map.of("created", "terraform"))
.canaryRule(TseCngwCanaryRuleCanaryRuleArgs.builder()
.enabled(true)
.priority(100)
.balancedServiceLists(TseCngwCanaryRuleCanaryRuleBalancedServiceListArgs.builder()
.percent(100)
.serviceId(cngwService.serviceId())
.serviceName(cngwService.name())
.build())
.conditionLists(TseCngwCanaryRuleCanaryRuleConditionListArgs.builder()
.key("test")
.operator("eq")
.type("query")
.value("1")
.build())
.build())
.build());
}
}
resources:
cngwService:
type: tencentcloud:TseCngwService
properties:
gatewayId: gateway-ddbb709b
path: /test
protocol: http
retries: 5
tags:
created: terraform
timeout: 6000
upstreamType: IPList
upstreamInfo:
algorithm: round-robin
autoScalingCvmPort: 80
autoScalingGroupId: asg-519acdug
autoScalingHookStatus: Normal
autoScalingTatCmdStatus: Normal
port: 0
slowStart: 20
targets:
- health: HEALTHCHECKS_OFF
host: 192.168.0.1
port: 80
weight: 100
cngwCanaryRule:
type: tencentcloud:TseCngwCanaryRule
properties:
gatewayId: ${cngwService.gatewayId}
serviceId: ${cngwService.serviceId}
tags:
created: terraform
canaryRule:
enabled: true
priority: 100
balancedServiceLists:
- percent: 100
serviceId: ${cngwService.serviceId}
serviceName: ${cngwService.name}
conditionLists:
- key: test
operator: eq
type: query
value: '1'
Create TseCngwCanaryRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TseCngwCanaryRule(name: string, args: TseCngwCanaryRuleArgs, opts?: CustomResourceOptions);
@overload
def TseCngwCanaryRule(resource_name: str,
args: TseCngwCanaryRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TseCngwCanaryRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
canary_rule: Optional[TseCngwCanaryRuleCanaryRuleArgs] = None,
gateway_id: Optional[str] = None,
service_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tse_cngw_canary_rule_id: Optional[str] = None)
func NewTseCngwCanaryRule(ctx *Context, name string, args TseCngwCanaryRuleArgs, opts ...ResourceOption) (*TseCngwCanaryRule, error)
public TseCngwCanaryRule(string name, TseCngwCanaryRuleArgs args, CustomResourceOptions? opts = null)
public TseCngwCanaryRule(String name, TseCngwCanaryRuleArgs args)
public TseCngwCanaryRule(String name, TseCngwCanaryRuleArgs args, CustomResourceOptions options)
type: tencentcloud:TseCngwCanaryRule
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 TseCngwCanaryRuleArgs
- 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 TseCngwCanaryRuleArgs
- 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 TseCngwCanaryRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TseCngwCanaryRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TseCngwCanaryRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TseCngwCanaryRule 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 TseCngwCanaryRule resource accepts the following input properties:
- Canary
Rule TseCngw Canary Rule Canary Rule - canary rule configuration.
- Gateway
Id string - gateway ID.
- Service
Id string - service ID.
- Dictionary<string, string>
- Tag description list.
- Tse
Cngw stringCanary Rule Id - ID of the resource.
- Canary
Rule TseCngw Canary Rule Canary Rule Args - canary rule configuration.
- Gateway
Id string - gateway ID.
- Service
Id string - service ID.
- map[string]string
- Tag description list.
- Tse
Cngw stringCanary Rule Id - ID of the resource.
- canary
Rule TseCngw Canary Rule Canary Rule - canary rule configuration.
- gateway
Id String - gateway ID.
- service
Id String - service ID.
- Map<String,String>
- Tag description list.
- tse
Cngw StringCanary Rule Id - ID of the resource.
- canary
Rule TseCngw Canary Rule Canary Rule - canary rule configuration.
- gateway
Id string - gateway ID.
- service
Id string - service ID.
- {[key: string]: string}
- Tag description list.
- tse
Cngw stringCanary Rule Id - ID of the resource.
- canary_
rule TseCngw Canary Rule Canary Rule Args - canary rule configuration.
- gateway_
id str - gateway ID.
- service_
id str - service ID.
- Mapping[str, str]
- Tag description list.
- tse_
cngw_ strcanary_ rule_ id - ID of the resource.
- canary
Rule Property Map - canary rule configuration.
- gateway
Id String - gateway ID.
- service
Id String - service ID.
- Map<String>
- Tag description list.
- tse
Cngw StringCanary Rule Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TseCngwCanaryRule 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 TseCngwCanaryRule Resource
Get an existing TseCngwCanaryRule 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?: TseCngwCanaryRuleState, opts?: CustomResourceOptions): TseCngwCanaryRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
canary_rule: Optional[TseCngwCanaryRuleCanaryRuleArgs] = None,
gateway_id: Optional[str] = None,
service_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tse_cngw_canary_rule_id: Optional[str] = None) -> TseCngwCanaryRule
func GetTseCngwCanaryRule(ctx *Context, name string, id IDInput, state *TseCngwCanaryRuleState, opts ...ResourceOption) (*TseCngwCanaryRule, error)
public static TseCngwCanaryRule Get(string name, Input<string> id, TseCngwCanaryRuleState? state, CustomResourceOptions? opts = null)
public static TseCngwCanaryRule get(String name, Output<String> id, TseCngwCanaryRuleState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TseCngwCanaryRule 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.
- Canary
Rule TseCngw Canary Rule Canary Rule - canary rule configuration.
- Gateway
Id string - gateway ID.
- Service
Id string - service ID.
- Dictionary<string, string>
- Tag description list.
- Tse
Cngw stringCanary Rule Id - ID of the resource.
- Canary
Rule TseCngw Canary Rule Canary Rule Args - canary rule configuration.
- Gateway
Id string - gateway ID.
- Service
Id string - service ID.
- map[string]string
- Tag description list.
- Tse
Cngw stringCanary Rule Id - ID of the resource.
- canary
Rule TseCngw Canary Rule Canary Rule - canary rule configuration.
- gateway
Id String - gateway ID.
- service
Id String - service ID.
- Map<String,String>
- Tag description list.
- tse
Cngw StringCanary Rule Id - ID of the resource.
- canary
Rule TseCngw Canary Rule Canary Rule - canary rule configuration.
- gateway
Id string - gateway ID.
- service
Id string - service ID.
- {[key: string]: string}
- Tag description list.
- tse
Cngw stringCanary Rule Id - ID of the resource.
- canary_
rule TseCngw Canary Rule Canary Rule Args - canary rule configuration.
- gateway_
id str - gateway ID.
- service_
id str - service ID.
- Mapping[str, str]
- Tag description list.
- tse_
cngw_ strcanary_ rule_ id - ID of the resource.
- canary
Rule Property Map - canary rule configuration.
- gateway
Id String - gateway ID.
- service
Id String - service ID.
- Map<String>
- Tag description list.
- tse
Cngw StringCanary Rule Id - ID of the resource.
Supporting Types
TseCngwCanaryRuleCanaryRule, TseCngwCanaryRuleCanaryRuleArgs
- Enabled bool
- the status of canary rule.
- Priority double
- priority. The value ranges from 0 to 100; the larger the value, the higher the priority; the priority cannot be repeated between different rules.
- Balanced
Service List<TseLists Cngw Canary Rule Canary Rule Balanced Service List> - service weight configuration.
- Condition
Lists List<TseCngw Canary Rule Canary Rule Condition List> - parameter matching condition list.
- Service
Id string - service ID.
- Service
Name string - service name.
- Enabled bool
- the status of canary rule.
- Priority float64
- priority. The value ranges from 0 to 100; the larger the value, the higher the priority; the priority cannot be repeated between different rules.
- Balanced
Service []TseLists Cngw Canary Rule Canary Rule Balanced Service List - service weight configuration.
- Condition
Lists []TseCngw Canary Rule Canary Rule Condition List - parameter matching condition list.
- Service
Id string - service ID.
- Service
Name string - service name.
- enabled Boolean
- the status of canary rule.
- priority Double
- priority. The value ranges from 0 to 100; the larger the value, the higher the priority; the priority cannot be repeated between different rules.
- balanced
Service List<TseLists Cngw Canary Rule Canary Rule Balanced Service List> - service weight configuration.
- condition
Lists List<TseCngw Canary Rule Canary Rule Condition List> - parameter matching condition list.
- service
Id String - service ID.
- service
Name String - service name.
- enabled boolean
- the status of canary rule.
- priority number
- priority. The value ranges from 0 to 100; the larger the value, the higher the priority; the priority cannot be repeated between different rules.
- balanced
Service TseLists Cngw Canary Rule Canary Rule Balanced Service List[] - service weight configuration.
- condition
Lists TseCngw Canary Rule Canary Rule Condition List[] - parameter matching condition list.
- service
Id string - service ID.
- service
Name string - service name.
- enabled bool
- the status of canary rule.
- priority float
- priority. The value ranges from 0 to 100; the larger the value, the higher the priority; the priority cannot be repeated between different rules.
- balanced_
service_ Sequence[Tselists Cngw Canary Rule Canary Rule Balanced Service List] - service weight configuration.
- condition_
lists Sequence[TseCngw Canary Rule Canary Rule Condition List] - parameter matching condition list.
- service_
id str - service ID.
- service_
name str - service name.
- enabled Boolean
- the status of canary rule.
- priority Number
- priority. The value ranges from 0 to 100; the larger the value, the higher the priority; the priority cannot be repeated between different rules.
- balanced
Service List<Property Map>Lists - service weight configuration.
- condition
Lists List<Property Map> - parameter matching condition list.
- service
Id String - service ID.
- service
Name String - service name.
TseCngwCanaryRuleCanaryRuleBalancedServiceList, TseCngwCanaryRuleCanaryRuleBalancedServiceListArgs
- Percent double
- percent, 10 is 10%, valid values:0 to 100.
- Service
Id string - service ID, required when used as an input parameter.
- Service
Name string - service name, meaningless when used as an input parameter.
- Upstream
Name string - upstream name, meaningless when used as an input parameter.
- Percent float64
- percent, 10 is 10%, valid values:0 to 100.
- Service
Id string - service ID, required when used as an input parameter.
- Service
Name string - service name, meaningless when used as an input parameter.
- Upstream
Name string - upstream name, meaningless when used as an input parameter.
- percent Double
- percent, 10 is 10%, valid values:0 to 100.
- service
Id String - service ID, required when used as an input parameter.
- service
Name String - service name, meaningless when used as an input parameter.
- upstream
Name String - upstream name, meaningless when used as an input parameter.
- percent number
- percent, 10 is 10%, valid values:0 to 100.
- service
Id string - service ID, required when used as an input parameter.
- service
Name string - service name, meaningless when used as an input parameter.
- upstream
Name string - upstream name, meaningless when used as an input parameter.
- percent float
- percent, 10 is 10%, valid values:0 to 100.
- service_
id str - service ID, required when used as an input parameter.
- service_
name str - service name, meaningless when used as an input parameter.
- upstream_
name str - upstream name, meaningless when used as an input parameter.
- percent Number
- percent, 10 is 10%, valid values:0 to 100.
- service
Id String - service ID, required when used as an input parameter.
- service
Name String - service name, meaningless when used as an input parameter.
- upstream
Name String - upstream name, meaningless when used as an input parameter.
TseCngwCanaryRuleCanaryRuleConditionList, TseCngwCanaryRuleCanaryRuleConditionListArgs
- Type string
- type.Reference value:
path
,method
,query
,header
,cookie
,body
,system
. - Delimiter string
- delimiter. valid when operator is in or not in, reference value:
,
,;
,\n
. - Global
Config stringId - global configuration ID.
- Global
Config stringName - global configuration name.
- Key string
- parameter name.
- Operator string
- operator.Reference value:
le
,eq
,lt
,ne
,ge
,gt
,regex
,exists
,in
,not in
,prefix
,exact
,regex
. - Value string
- parameter value.
- Type string
- type.Reference value:
path
,method
,query
,header
,cookie
,body
,system
. - Delimiter string
- delimiter. valid when operator is in or not in, reference value:
,
,;
,\n
. - Global
Config stringId - global configuration ID.
- Global
Config stringName - global configuration name.
- Key string
- parameter name.
- Operator string
- operator.Reference value:
le
,eq
,lt
,ne
,ge
,gt
,regex
,exists
,in
,not in
,prefix
,exact
,regex
. - Value string
- parameter value.
- type String
- type.Reference value:
path
,method
,query
,header
,cookie
,body
,system
. - delimiter String
- delimiter. valid when operator is in or not in, reference value:
,
,;
,\n
. - global
Config StringId - global configuration ID.
- global
Config StringName - global configuration name.
- key String
- parameter name.
- operator String
- operator.Reference value:
le
,eq
,lt
,ne
,ge
,gt
,regex
,exists
,in
,not in
,prefix
,exact
,regex
. - value String
- parameter value.
- type string
- type.Reference value:
path
,method
,query
,header
,cookie
,body
,system
. - delimiter string
- delimiter. valid when operator is in or not in, reference value:
,
,;
,\n
. - global
Config stringId - global configuration ID.
- global
Config stringName - global configuration name.
- key string
- parameter name.
- operator string
- operator.Reference value:
le
,eq
,lt
,ne
,ge
,gt
,regex
,exists
,in
,not in
,prefix
,exact
,regex
. - value string
- parameter value.
- type str
- type.Reference value:
path
,method
,query
,header
,cookie
,body
,system
. - delimiter str
- delimiter. valid when operator is in or not in, reference value:
,
,;
,\n
. - global_
config_ strid - global configuration ID.
- global_
config_ strname - global configuration name.
- key str
- parameter name.
- operator str
- operator.Reference value:
le
,eq
,lt
,ne
,ge
,gt
,regex
,exists
,in
,not in
,prefix
,exact
,regex
. - value str
- parameter value.
- type String
- type.Reference value:
path
,method
,query
,header
,cookie
,body
,system
. - delimiter String
- delimiter. valid when operator is in or not in, reference value:
,
,;
,\n
. - global
Config StringId - global configuration ID.
- global
Config StringName - global configuration name.
- key String
- parameter name.
- operator String
- operator.Reference value:
le
,eq
,lt
,ne
,ge
,gt
,regex
,exists
,in
,not in
,prefix
,exact
,regex
. - value String
- parameter value.
Import
tse cngw_canary_rule can be imported using the gatewayId#serviceId#priority, e.g.
$ pulumi import tencentcloud:index/tseCngwCanaryRule:TseCngwCanaryRule cngw_canary_rule gateway-ddbb709b#b6017eaf-2363-481e-9e93-8d65aaf498cd#100
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.