tencentcloud.DayuCcPolicyV2
Explore with Pulumi AI
Use this resource to create a dayu CC policy
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const demo = new tencentcloud.DayuCcPolicyV2("demo", {
business: "bgpip",
ccBlackWhiteIps: [{
blackWhiteIp: "1.2.3.4",
domain: "12.com",
protocol: "http",
type: "black",
}],
ccGeoIpPolicys: [{
action: "drop",
domain: "12.com",
protocol: "http",
regionType: "china",
}],
ccPrecisionPolicys: [{
domain: "1.com",
ip: "162.62.163.34",
policyAction: "drop",
policys: [{
fieldName: "cgi",
fieldType: "value",
value: "12123.com",
valueOperator: "equal",
}],
protocol: "http",
}],
ccPrecisionReqLimits: [{
domain: "11.com",
level: "loose",
policys: [{
action: "alg",
executeDuration: 2,
mode: "equal",
period: 5,
requestNum: 12,
uri: "15.com",
}],
protocol: "http",
}],
resourceId: "bgpip-000004xf",
thresholds: [{
domain: "12.com",
threshold: 0,
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
demo = tencentcloud.DayuCcPolicyV2("demo",
business="bgpip",
cc_black_white_ips=[{
"black_white_ip": "1.2.3.4",
"domain": "12.com",
"protocol": "http",
"type": "black",
}],
cc_geo_ip_policys=[{
"action": "drop",
"domain": "12.com",
"protocol": "http",
"region_type": "china",
}],
cc_precision_policys=[{
"domain": "1.com",
"ip": "162.62.163.34",
"policy_action": "drop",
"policys": [{
"field_name": "cgi",
"field_type": "value",
"value": "12123.com",
"value_operator": "equal",
}],
"protocol": "http",
}],
cc_precision_req_limits=[{
"domain": "11.com",
"level": "loose",
"policys": [{
"action": "alg",
"execute_duration": 2,
"mode": "equal",
"period": 5,
"request_num": 12,
"uri": "15.com",
}],
"protocol": "http",
}],
resource_id="bgpip-000004xf",
thresholds=[{
"domain": "12.com",
"threshold": 0,
}])
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.NewDayuCcPolicyV2(ctx, "demo", &tencentcloud.DayuCcPolicyV2Args{
Business: pulumi.String("bgpip"),
CcBlackWhiteIps: tencentcloud.DayuCcPolicyV2CcBlackWhiteIpArray{
&tencentcloud.DayuCcPolicyV2CcBlackWhiteIpArgs{
BlackWhiteIp: pulumi.String("1.2.3.4"),
Domain: pulumi.String("12.com"),
Protocol: pulumi.String("http"),
Type: pulumi.String("black"),
},
},
CcGeoIpPolicys: tencentcloud.DayuCcPolicyV2CcGeoIpPolicyArray{
&tencentcloud.DayuCcPolicyV2CcGeoIpPolicyArgs{
Action: pulumi.String("drop"),
Domain: pulumi.String("12.com"),
Protocol: pulumi.String("http"),
RegionType: pulumi.String("china"),
},
},
CcPrecisionPolicys: tencentcloud.DayuCcPolicyV2CcPrecisionPolicyArray{
&tencentcloud.DayuCcPolicyV2CcPrecisionPolicyArgs{
Domain: pulumi.String("1.com"),
Ip: pulumi.String("162.62.163.34"),
PolicyAction: pulumi.String("drop"),
Policys: tencentcloud.DayuCcPolicyV2CcPrecisionPolicyPolicyArray{
&tencentcloud.DayuCcPolicyV2CcPrecisionPolicyPolicyArgs{
FieldName: pulumi.String("cgi"),
FieldType: pulumi.String("value"),
Value: pulumi.String("12123.com"),
ValueOperator: pulumi.String("equal"),
},
},
Protocol: pulumi.String("http"),
},
},
CcPrecisionReqLimits: tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitArray{
&tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitArgs{
Domain: pulumi.String("11.com"),
Level: pulumi.String("loose"),
Policys: tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitPolicyArray{
&tencentcloud.DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs{
Action: pulumi.String("alg"),
ExecuteDuration: pulumi.Float64(2),
Mode: pulumi.String("equal"),
Period: pulumi.Float64(5),
RequestNum: pulumi.Float64(12),
Uri: pulumi.String("15.com"),
},
},
Protocol: pulumi.String("http"),
},
},
ResourceId: pulumi.String("bgpip-000004xf"),
Thresholds: tencentcloud.DayuCcPolicyV2ThresholdArray{
&tencentcloud.DayuCcPolicyV2ThresholdArgs{
Domain: pulumi.String("12.com"),
Threshold: pulumi.Float64(0),
},
},
})
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 demo = new Tencentcloud.DayuCcPolicyV2("demo", new()
{
Business = "bgpip",
CcBlackWhiteIps = new[]
{
new Tencentcloud.Inputs.DayuCcPolicyV2CcBlackWhiteIpArgs
{
BlackWhiteIp = "1.2.3.4",
Domain = "12.com",
Protocol = "http",
Type = "black",
},
},
CcGeoIpPolicys = new[]
{
new Tencentcloud.Inputs.DayuCcPolicyV2CcGeoIpPolicyArgs
{
Action = "drop",
Domain = "12.com",
Protocol = "http",
RegionType = "china",
},
},
CcPrecisionPolicys = new[]
{
new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionPolicyArgs
{
Domain = "1.com",
Ip = "162.62.163.34",
PolicyAction = "drop",
Policys = new[]
{
new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionPolicyPolicyArgs
{
FieldName = "cgi",
FieldType = "value",
Value = "12123.com",
ValueOperator = "equal",
},
},
Protocol = "http",
},
},
CcPrecisionReqLimits = new[]
{
new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionReqLimitArgs
{
Domain = "11.com",
Level = "loose",
Policys = new[]
{
new Tencentcloud.Inputs.DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs
{
Action = "alg",
ExecuteDuration = 2,
Mode = "equal",
Period = 5,
RequestNum = 12,
Uri = "15.com",
},
},
Protocol = "http",
},
},
ResourceId = "bgpip-000004xf",
Thresholds = new[]
{
new Tencentcloud.Inputs.DayuCcPolicyV2ThresholdArgs
{
Domain = "12.com",
Threshold = 0,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.DayuCcPolicyV2;
import com.pulumi.tencentcloud.DayuCcPolicyV2Args;
import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcBlackWhiteIpArgs;
import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcGeoIpPolicyArgs;
import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcPrecisionPolicyArgs;
import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2CcPrecisionReqLimitArgs;
import com.pulumi.tencentcloud.inputs.DayuCcPolicyV2ThresholdArgs;
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 demo = new DayuCcPolicyV2("demo", DayuCcPolicyV2Args.builder()
.business("bgpip")
.ccBlackWhiteIps(DayuCcPolicyV2CcBlackWhiteIpArgs.builder()
.blackWhiteIp("1.2.3.4")
.domain("12.com")
.protocol("http")
.type("black")
.build())
.ccGeoIpPolicys(DayuCcPolicyV2CcGeoIpPolicyArgs.builder()
.action("drop")
.domain("12.com")
.protocol("http")
.regionType("china")
.build())
.ccPrecisionPolicys(DayuCcPolicyV2CcPrecisionPolicyArgs.builder()
.domain("1.com")
.ip("162.62.163.34")
.policyAction("drop")
.policys(DayuCcPolicyV2CcPrecisionPolicyPolicyArgs.builder()
.fieldName("cgi")
.fieldType("value")
.value("12123.com")
.valueOperator("equal")
.build())
.protocol("http")
.build())
.ccPrecisionReqLimits(DayuCcPolicyV2CcPrecisionReqLimitArgs.builder()
.domain("11.com")
.level("loose")
.policys(DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs.builder()
.action("alg")
.executeDuration(2)
.mode("equal")
.period(5)
.requestNum(12)
.uri("15.com")
.build())
.protocol("http")
.build())
.resourceId("bgpip-000004xf")
.thresholds(DayuCcPolicyV2ThresholdArgs.builder()
.domain("12.com")
.threshold(0)
.build())
.build());
}
}
resources:
demo:
type: tencentcloud:DayuCcPolicyV2
properties:
business: bgpip
ccBlackWhiteIps:
- blackWhiteIp: 1.2.3.4
domain: 12.com
protocol: http
type: black
ccGeoIpPolicys:
- action: drop
domain: 12.com
protocol: http
regionType: china
ccPrecisionPolicys:
- domain: 1.com
ip: 162.62.163.34
policyAction: drop
policys:
- fieldName: cgi
fieldType: value
value: 12123.com
valueOperator: equal
protocol: http
ccPrecisionReqLimits:
- domain: 11.com
level: loose
policys:
- action: alg
executeDuration: 2
mode: equal
period: 5
requestNum: 12
uri: 15.com
protocol: http
resourceId: bgpip-000004xf
thresholds:
- domain: 12.com
threshold: 0
Create DayuCcPolicyV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DayuCcPolicyV2(name: string, args: DayuCcPolicyV2Args, opts?: CustomResourceOptions);
@overload
def DayuCcPolicyV2(resource_name: str,
args: DayuCcPolicyV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def DayuCcPolicyV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
business: Optional[str] = None,
resource_id: Optional[str] = None,
cc_black_white_ips: Optional[Sequence[DayuCcPolicyV2CcBlackWhiteIpArgs]] = None,
cc_geo_ip_policys: Optional[Sequence[DayuCcPolicyV2CcGeoIpPolicyArgs]] = None,
cc_precision_policys: Optional[Sequence[DayuCcPolicyV2CcPrecisionPolicyArgs]] = None,
cc_precision_req_limits: Optional[Sequence[DayuCcPolicyV2CcPrecisionReqLimitArgs]] = None,
dayu_cc_policy_v2_id: Optional[str] = None,
thresholds: Optional[Sequence[DayuCcPolicyV2ThresholdArgs]] = None)
func NewDayuCcPolicyV2(ctx *Context, name string, args DayuCcPolicyV2Args, opts ...ResourceOption) (*DayuCcPolicyV2, error)
public DayuCcPolicyV2(string name, DayuCcPolicyV2Args args, CustomResourceOptions? opts = null)
public DayuCcPolicyV2(String name, DayuCcPolicyV2Args args)
public DayuCcPolicyV2(String name, DayuCcPolicyV2Args args, CustomResourceOptions options)
type: tencentcloud:DayuCcPolicyV2
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 DayuCcPolicyV2Args
- 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 DayuCcPolicyV2Args
- 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 DayuCcPolicyV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DayuCcPolicyV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DayuCcPolicyV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DayuCcPolicyV2 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 DayuCcPolicyV2 resource accepts the following input properties:
- Business string
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- Resource
Id string - The ID of the resource instance.
- Cc
Black List<DayuWhite Ips Cc Policy V2Cc Black White Ip> - Blacklist and whitelist.
- Cc
Geo List<DayuIp Policys Cc Policy V2Cc Geo Ip Policy> - Details of the CC region blocking policy list.
- Cc
Precision List<DayuPolicys Cc Policy V2Cc Precision Policy> - CC Precision Protection List.
- Cc
Precision List<DayuReq Limits Cc Policy V2Cc Precision Req Limit> - CC frequency throttling policy.
- Dayu
Cc stringPolicy V2Id - ID of the resource.
- Thresholds
List<Dayu
Cc Policy V2Threshold> - List of protection threshold configurations.
- Business string
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- Resource
Id string - The ID of the resource instance.
- Cc
Black []DayuWhite Ips Cc Policy V2Cc Black White Ip Args - Blacklist and whitelist.
- Cc
Geo []DayuIp Policys Cc Policy V2Cc Geo Ip Policy Args - Details of the CC region blocking policy list.
- Cc
Precision []DayuPolicys Cc Policy V2Cc Precision Policy Args - CC Precision Protection List.
- Cc
Precision []DayuReq Limits Cc Policy V2Cc Precision Req Limit Args - CC frequency throttling policy.
- Dayu
Cc stringPolicy V2Id - ID of the resource.
- Thresholds
[]Dayu
Cc Policy V2Threshold Args - List of protection threshold configurations.
- business String
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- resource
Id String - The ID of the resource instance.
- cc
Black List<DayuWhite Ips Cc Policy V2Cc Black White Ip> - Blacklist and whitelist.
- cc
Geo List<DayuIp Policys Cc Policy V2Cc Geo Ip Policy> - Details of the CC region blocking policy list.
- cc
Precision List<DayuPolicys Cc Policy V2Cc Precision Policy> - CC Precision Protection List.
- cc
Precision List<DayuReq Limits Cc Policy V2Cc Precision Req Limit> - CC frequency throttling policy.
- dayu
Cc StringPolicy V2Id - ID of the resource.
- thresholds
List<Dayu
Cc Policy V2Threshold> - List of protection threshold configurations.
- business string
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- resource
Id string - The ID of the resource instance.
- cc
Black DayuWhite Ips Cc Policy V2Cc Black White Ip[] - Blacklist and whitelist.
- cc
Geo DayuIp Policys Cc Policy V2Cc Geo Ip Policy[] - Details of the CC region blocking policy list.
- cc
Precision DayuPolicys Cc Policy V2Cc Precision Policy[] - CC Precision Protection List.
- cc
Precision DayuReq Limits Cc Policy V2Cc Precision Req Limit[] - CC frequency throttling policy.
- dayu
Cc stringPolicy V2Id - ID of the resource.
- thresholds
Dayu
Cc Policy V2Threshold[] - List of protection threshold configurations.
- business str
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- resource_
id str - The ID of the resource instance.
- cc_
black_ Sequence[Dayuwhite_ ips Cc Policy V2Cc Black White Ip Args] - Blacklist and whitelist.
- cc_
geo_ Sequence[Dayuip_ policys Cc Policy V2Cc Geo Ip Policy Args] - Details of the CC region blocking policy list.
- cc_
precision_ Sequence[Dayupolicys Cc Policy V2Cc Precision Policy Args] - CC Precision Protection List.
- cc_
precision_ Sequence[Dayureq_ limits Cc Policy V2Cc Precision Req Limit Args] - CC frequency throttling policy.
- dayu_
cc_ strpolicy_ v2_ id - ID of the resource.
- thresholds
Sequence[Dayu
Cc Policy V2Threshold Args] - List of protection threshold configurations.
- business String
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- resource
Id String - The ID of the resource instance.
- cc
Black List<Property Map>White Ips - Blacklist and whitelist.
- cc
Geo List<Property Map>Ip Policys - Details of the CC region blocking policy list.
- cc
Precision List<Property Map>Policys - CC Precision Protection List.
- cc
Precision List<Property Map>Req Limits - CC frequency throttling policy.
- dayu
Cc StringPolicy V2Id - ID of the resource.
- thresholds List<Property Map>
- List of protection threshold configurations.
Outputs
All input properties are implicitly available as output properties. Additionally, the DayuCcPolicyV2 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 DayuCcPolicyV2 Resource
Get an existing DayuCcPolicyV2 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?: DayuCcPolicyV2State, opts?: CustomResourceOptions): DayuCcPolicyV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
business: Optional[str] = None,
cc_black_white_ips: Optional[Sequence[DayuCcPolicyV2CcBlackWhiteIpArgs]] = None,
cc_geo_ip_policys: Optional[Sequence[DayuCcPolicyV2CcGeoIpPolicyArgs]] = None,
cc_precision_policys: Optional[Sequence[DayuCcPolicyV2CcPrecisionPolicyArgs]] = None,
cc_precision_req_limits: Optional[Sequence[DayuCcPolicyV2CcPrecisionReqLimitArgs]] = None,
dayu_cc_policy_v2_id: Optional[str] = None,
resource_id: Optional[str] = None,
thresholds: Optional[Sequence[DayuCcPolicyV2ThresholdArgs]] = None) -> DayuCcPolicyV2
func GetDayuCcPolicyV2(ctx *Context, name string, id IDInput, state *DayuCcPolicyV2State, opts ...ResourceOption) (*DayuCcPolicyV2, error)
public static DayuCcPolicyV2 Get(string name, Input<string> id, DayuCcPolicyV2State? state, CustomResourceOptions? opts = null)
public static DayuCcPolicyV2 get(String name, Output<String> id, DayuCcPolicyV2State state, CustomResourceOptions options)
resources: _: type: tencentcloud:DayuCcPolicyV2 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.
- Business string
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- Cc
Black List<DayuWhite Ips Cc Policy V2Cc Black White Ip> - Blacklist and whitelist.
- Cc
Geo List<DayuIp Policys Cc Policy V2Cc Geo Ip Policy> - Details of the CC region blocking policy list.
- Cc
Precision List<DayuPolicys Cc Policy V2Cc Precision Policy> - CC Precision Protection List.
- Cc
Precision List<DayuReq Limits Cc Policy V2Cc Precision Req Limit> - CC frequency throttling policy.
- Dayu
Cc stringPolicy V2Id - ID of the resource.
- Resource
Id string - The ID of the resource instance.
- Thresholds
List<Dayu
Cc Policy V2Threshold> - List of protection threshold configurations.
- Business string
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- Cc
Black []DayuWhite Ips Cc Policy V2Cc Black White Ip Args - Blacklist and whitelist.
- Cc
Geo []DayuIp Policys Cc Policy V2Cc Geo Ip Policy Args - Details of the CC region blocking policy list.
- Cc
Precision []DayuPolicys Cc Policy V2Cc Precision Policy Args - CC Precision Protection List.
- Cc
Precision []DayuReq Limits Cc Policy V2Cc Precision Req Limit Args - CC frequency throttling policy.
- Dayu
Cc stringPolicy V2Id - ID of the resource.
- Resource
Id string - The ID of the resource instance.
- Thresholds
[]Dayu
Cc Policy V2Threshold Args - List of protection threshold configurations.
- business String
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- cc
Black List<DayuWhite Ips Cc Policy V2Cc Black White Ip> - Blacklist and whitelist.
- cc
Geo List<DayuIp Policys Cc Policy V2Cc Geo Ip Policy> - Details of the CC region blocking policy list.
- cc
Precision List<DayuPolicys Cc Policy V2Cc Precision Policy> - CC Precision Protection List.
- cc
Precision List<DayuReq Limits Cc Policy V2Cc Precision Req Limit> - CC frequency throttling policy.
- dayu
Cc StringPolicy V2Id - ID of the resource.
- resource
Id String - The ID of the resource instance.
- thresholds
List<Dayu
Cc Policy V2Threshold> - List of protection threshold configurations.
- business string
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- cc
Black DayuWhite Ips Cc Policy V2Cc Black White Ip[] - Blacklist and whitelist.
- cc
Geo DayuIp Policys Cc Policy V2Cc Geo Ip Policy[] - Details of the CC region blocking policy list.
- cc
Precision DayuPolicys Cc Policy V2Cc Precision Policy[] - CC Precision Protection List.
- cc
Precision DayuReq Limits Cc Policy V2Cc Precision Req Limit[] - CC frequency throttling policy.
- dayu
Cc stringPolicy V2Id - ID of the resource.
- resource
Id string - The ID of the resource instance.
- thresholds
Dayu
Cc Policy V2Threshold[] - List of protection threshold configurations.
- business str
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- cc_
black_ Sequence[Dayuwhite_ ips Cc Policy V2Cc Black White Ip Args] - Blacklist and whitelist.
- cc_
geo_ Sequence[Dayuip_ policys Cc Policy V2Cc Geo Ip Policy Args] - Details of the CC region blocking policy list.
- cc_
precision_ Sequence[Dayupolicys Cc Policy V2Cc Precision Policy Args] - CC Precision Protection List.
- cc_
precision_ Sequence[Dayureq_ limits Cc Policy V2Cc Precision Req Limit Args] - CC frequency throttling policy.
- dayu_
cc_ strpolicy_ v2_ id - ID of the resource.
- resource_
id str - The ID of the resource instance.
- thresholds
Sequence[Dayu
Cc Policy V2Threshold Args] - List of protection threshold configurations.
- business String
- Business of resource instance. bgpip indicates anti-anti-ip ip; bgp means exclusive package; bgp-multip means shared packet; net indicates anti-anti-ip pro version.
- cc
Black List<Property Map>White Ips - Blacklist and whitelist.
- cc
Geo List<Property Map>Ip Policys - Details of the CC region blocking policy list.
- cc
Precision List<Property Map>Policys - CC Precision Protection List.
- cc
Precision List<Property Map>Req Limits - CC frequency throttling policy.
- dayu
Cc StringPolicy V2Id - ID of the resource.
- resource
Id String - The ID of the resource instance.
- thresholds List<Property Map>
- List of protection threshold configurations.
Supporting Types
DayuCcPolicyV2CcBlackWhiteIp, DayuCcPolicyV2CcBlackWhiteIpArgs
- Black
White stringIp - Blacklist and whitelist IP addresses.
- Domain string
- Domain.
- Protocol string
- Protocol.
- Type string
- IP type, value [black(blacklist IP), white (whitelist IP)].
- Create
Time string - Create time.
- Modify
Time string - Modify time.
- Black
White stringIp - Blacklist and whitelist IP addresses.
- Domain string
- Domain.
- Protocol string
- Protocol.
- Type string
- IP type, value [black(blacklist IP), white (whitelist IP)].
- Create
Time string - Create time.
- Modify
Time string - Modify time.
- black
White StringIp - Blacklist and whitelist IP addresses.
- domain String
- Domain.
- protocol String
- Protocol.
- type String
- IP type, value [black(blacklist IP), white (whitelist IP)].
- create
Time String - Create time.
- modify
Time String - Modify time.
- black
White stringIp - Blacklist and whitelist IP addresses.
- domain string
- Domain.
- protocol string
- Protocol.
- type string
- IP type, value [black(blacklist IP), white (whitelist IP)].
- create
Time string - Create time.
- modify
Time string - Modify time.
- black_
white_ strip - Blacklist and whitelist IP addresses.
- domain str
- Domain.
- protocol str
- Protocol.
- type str
- IP type, value [black(blacklist IP), white (whitelist IP)].
- create_
time str - Create time.
- modify_
time str - Modify time.
- black
White StringIp - Blacklist and whitelist IP addresses.
- domain String
- Domain.
- protocol String
- Protocol.
- type String
- IP type, value [black(blacklist IP), white (whitelist IP)].
- create
Time String - Create time.
- modify
Time String - Modify time.
DayuCcPolicyV2CcGeoIpPolicy, DayuCcPolicyV2CcGeoIpPolicyArgs
- Action string
- User action, drop or arg.
- Domain string
- domain.
- Protocol string
- Protocol, preferably HTTP, HTTPS.
- Region
Type string - Regional types, divided into china, oversea and customized.
- Area
Lists List<double> - The list of region IDs that the user selects to block.
- Create
Time string - Create time.
- Modify
Time string - Modify time.
- Action string
- User action, drop or arg.
- Domain string
- domain.
- Protocol string
- Protocol, preferably HTTP, HTTPS.
- Region
Type string - Regional types, divided into china, oversea and customized.
- Area
Lists []float64 - The list of region IDs that the user selects to block.
- Create
Time string - Create time.
- Modify
Time string - Modify time.
- action String
- User action, drop or arg.
- domain String
- domain.
- protocol String
- Protocol, preferably HTTP, HTTPS.
- region
Type String - Regional types, divided into china, oversea and customized.
- area
Lists List<Double> - The list of region IDs that the user selects to block.
- create
Time String - Create time.
- modify
Time String - Modify time.
- action string
- User action, drop or arg.
- domain string
- domain.
- protocol string
- Protocol, preferably HTTP, HTTPS.
- region
Type string - Regional types, divided into china, oversea and customized.
- area
Lists number[] - The list of region IDs that the user selects to block.
- create
Time string - Create time.
- modify
Time string - Modify time.
- action str
- User action, drop or arg.
- domain str
- domain.
- protocol str
- Protocol, preferably HTTP, HTTPS.
- region_
type str - Regional types, divided into china, oversea and customized.
- area_
lists Sequence[float] - The list of region IDs that the user selects to block.
- create_
time str - Create time.
- modify_
time str - Modify time.
- action String
- User action, drop or arg.
- domain String
- domain.
- protocol String
- Protocol, preferably HTTP, HTTPS.
- region
Type String - Regional types, divided into china, oversea and customized.
- area
Lists List<Number> - The list of region IDs that the user selects to block.
- create
Time String - Create time.
- modify
Time String - Modify time.
DayuCcPolicyV2CcPrecisionPolicy, DayuCcPolicyV2CcPrecisionPolicyArgs
- Domain string
- Domain.
- Ip string
- Ip address.
- Policy
Action string - Policy mode (discard or captcha).
- Policys
List<Dayu
Cc Policy V2Cc Precision Policy Policy> - A list of policies.
- Protocol string
- Protocol.
- Policy
Id string - Policy Id.
- Domain string
- Domain.
- Ip string
- Ip address.
- Policy
Action string - Policy mode (discard or captcha).
- Policys
[]Dayu
Cc Policy V2Cc Precision Policy Policy - A list of policies.
- Protocol string
- Protocol.
- Policy
Id string - Policy Id.
- domain String
- Domain.
- ip String
- Ip address.
- policy
Action String - Policy mode (discard or captcha).
- policys
List<Dayu
Cc Policy V2Cc Precision Policy Policy> - A list of policies.
- protocol String
- Protocol.
- policy
Id String - Policy Id.
- domain string
- Domain.
- ip string
- Ip address.
- policy
Action string - Policy mode (discard or captcha).
- policys
Dayu
Cc Policy V2Cc Precision Policy Policy[] - A list of policies.
- protocol string
- Protocol.
- policy
Id string - Policy Id.
- domain str
- Domain.
- ip str
- Ip address.
- policy_
action str - Policy mode (discard or captcha).
- policys
Sequence[Dayu
Cc Policy V2Cc Precision Policy Policy] - A list of policies.
- protocol str
- Protocol.
- policy_
id str - Policy Id.
- domain String
- Domain.
- ip String
- Ip address.
- policy
Action String - Policy mode (discard or captcha).
- policys List<Property Map>
- A list of policies.
- protocol String
- Protocol.
- policy
Id String - Policy Id.
DayuCcPolicyV2CcPrecisionPolicyPolicy, DayuCcPolicyV2CcPrecisionPolicyPolicyArgs
- Field
Name string - Configuration item types, currently only support value.
- Field
Type string - Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
- Value string
- Configure the value.
- Value
Operator string - Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
- Field
Name string - Configuration item types, currently only support value.
- Field
Type string - Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
- Value string
- Configure the value.
- Value
Operator string - Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
- field
Name String - Configuration item types, currently only support value.
- field
Type String - Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
- value String
- Configure the value.
- value
Operator String - Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
- field
Name string - Configuration item types, currently only support value.
- field
Type string - Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
- value string
- Configure the value.
- value
Operator string - Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
- field_
name str - Configuration item types, currently only support value.
- field_
type str - Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
- value str
- Configure the value.
- value_
operator str - Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
- field
Name String - Configuration item types, currently only support value.
- field
Type String - Configuration fields with the desirable values cgi, ua, cookie, referer, accept, srcip.
- value String
- Configure the value.
- value
Operator String - Configure the item-value comparison mode, which can be taken as the value of evaluate, not_equal, include.
DayuCcPolicyV2CcPrecisionReqLimit, DayuCcPolicyV2CcPrecisionReqLimitArgs
- Domain string
- Domain.
- Level string
- Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
- Policys
List<Dayu
Cc Policy V2Cc Precision Req Limit Policy> - The CC Frequency Limit Policy Item field.
- Protocol string
- Protocol, preferably HTTP, HTTPS.
- Instance
Id string - Instance id.
- Ip string
- IP address.
- Domain string
- Domain.
- Level string
- Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
- Policys
[]Dayu
Cc Policy V2Cc Precision Req Limit Policy - The CC Frequency Limit Policy Item field.
- Protocol string
- Protocol, preferably HTTP, HTTPS.
- Instance
Id string - Instance id.
- Ip string
- IP address.
- domain String
- Domain.
- level String
- Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
- policys
List<Dayu
Cc Policy V2Cc Precision Req Limit Policy> - The CC Frequency Limit Policy Item field.
- protocol String
- Protocol, preferably HTTP, HTTPS.
- instance
Id String - Instance id.
- ip String
- IP address.
- domain string
- Domain.
- level string
- Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
- policys
Dayu
Cc Policy V2Cc Precision Req Limit Policy[] - The CC Frequency Limit Policy Item field.
- protocol string
- Protocol, preferably HTTP, HTTPS.
- instance
Id string - Instance id.
- ip string
- IP address.
- domain str
- Domain.
- level str
- Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
- policys
Sequence[Dayu
Cc Policy V2Cc Precision Req Limit Policy] - The CC Frequency Limit Policy Item field.
- protocol str
- Protocol, preferably HTTP, HTTPS.
- instance_
id str - Instance id.
- ip str
- IP address.
- domain String
- Domain.
- level String
- Protection rating, the optional value of default means default policy, loose means loose, and strict means strict.
- policys List<Property Map>
- The CC Frequency Limit Policy Item field.
- protocol String
- Protocol, preferably HTTP, HTTPS.
- instance
Id String - Instance id.
- ip String
- IP address.
DayuCcPolicyV2CcPrecisionReqLimitPolicy, DayuCcPolicyV2CcPrecisionReqLimitPolicyArgs
- Action string
- The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
- Execute
Duration double - The duration of the frequency limit policy can be taken from 1 to 86400 per second.
- Mode string
- The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
- Period double
- Statistical period, take values 1, 10, 30, 60, in seconds.
- Request
Num double - The number of requests, the value is 1 to 20000.
- string
- Cookies, one of the three policy entries can only be filled in.
- Uri string
- Uri, one of the three policy entries can only be filled in.
- User
Agent string - User-Agent, only one of the three policy entries can be filled in.
- Action string
- The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
- Execute
Duration float64 - The duration of the frequency limit policy can be taken from 1 to 86400 per second.
- Mode string
- The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
- Period float64
- Statistical period, take values 1, 10, 30, 60, in seconds.
- Request
Num float64 - The number of requests, the value is 1 to 20000.
- string
- Cookies, one of the three policy entries can only be filled in.
- Uri string
- Uri, one of the three policy entries can only be filled in.
- User
Agent string - User-Agent, only one of the three policy entries can be filled in.
- action String
- The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
- execute
Duration Double - The duration of the frequency limit policy can be taken from 1 to 86400 per second.
- mode String
- The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
- period Double
- Statistical period, take values 1, 10, 30, 60, in seconds.
- request
Num Double - The number of requests, the value is 1 to 20000.
- String
- Cookies, one of the three policy entries can only be filled in.
- uri String
- Uri, one of the three policy entries can only be filled in.
- user
Agent String - User-Agent, only one of the three policy entries can be filled in.
- action string
- The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
- execute
Duration number - The duration of the frequency limit policy can be taken from 1 to 86400 per second.
- mode string
- The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
- period number
- Statistical period, take values 1, 10, 30, 60, in seconds.
- request
Num number - The number of requests, the value is 1 to 20000.
- string
- Cookies, one of the three policy entries can only be filled in.
- uri string
- Uri, one of the three policy entries can only be filled in.
- user
Agent string - User-Agent, only one of the three policy entries can be filled in.
- action str
- The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
- execute_
duration float - The duration of the frequency limit policy can be taken from 1 to 86400 per second.
- mode str
- The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
- period float
- Statistical period, take values 1, 10, 30, 60, in seconds.
- request_
num float - The number of requests, the value is 1 to 20000.
- str
- Cookies, one of the three policy entries can only be filled in.
- uri str
- Uri, one of the three policy entries can only be filled in.
- user_
agent str - User-Agent, only one of the three policy entries can be filled in.
- action String
- The frequency limit policy mode, the optional value of arg indicates the verification code, and drop indicates the discard.
- execute
Duration Number - The duration of the frequency limit policy can be taken from 1 to 86400 per second.
- mode String
- The policy item is compared, and the optional value include indicates inclusion, and equal means equal.
- period Number
- Statistical period, take values 1, 10, 30, 60, in seconds.
- request
Num Number - The number of requests, the value is 1 to 20000.
- String
- Cookies, one of the three policy entries can only be filled in.
- uri String
- Uri, one of the three policy entries can only be filled in.
- user
Agent String - User-Agent, only one of the three policy entries can be filled in.
DayuCcPolicyV2Threshold, DayuCcPolicyV2ThresholdArgs
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.