Skip to content

Commit a14a1c9

Browse files
committed
add
1 parent 0a18c86 commit a14a1c9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

tencentcloud/services/ccn/resource_tc_ccn_route_table_input_policies.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ func ResourceTencentCloudCcnRouteTableInputPolicies() *schema.Resource {
6262
"name": {
6363
Type: schema.TypeString,
6464
Required: true,
65-
Description: "Condition type. Example value: `instance-type`.",
65+
Description: "Condition type. Example value: `instance-type`, `instance-region`, `instance-id`, `cidr-block`.",
6666
},
6767
"values": {
6868
Type: schema.TypeList,
6969
Required: true,
7070
Elem: &schema.Schema{Type: schema.TypeString},
71-
Description: "List of conditional values. Example value: `VPC`, `DIRECTCONNECT`.",
71+
Description: "List of conditional values. Example value:\n `instance-type`: `VPC`, `VPNGW`, `DIRECTCONNECT`\n `instance-region`: `ap-guangzhou`\n `instance-id`: `vpc-axrsmmrv`, `dcg-oxad32f7`, `vpngw-33p5vnwd`\n `cidr-block`: `172.0.0.0/8`.",
7272
},
7373
"match_pattern": {
7474
Type: schema.TypeInt,

website/docs/r/ccn_route_table_input_policies.html.markdown

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,12 @@ The `policies` object supports the following:
100100
The `route_conditions` object of `policies` supports the following:
101101

102102
* `match_pattern` - (Required, Int) Matching mode, `1` precise matching, `0` fuzzy matching.
103-
* `name` - (Required, String) Condition type. Example value: `instance-type`.
104-
* `values` - (Required, List) List of conditional values. Example value: `VPC`, `DIRECTCONNECT`.
103+
* `name` - (Required, String) Condition type. Example value: `instance-type`, `instance-region`, `instance-id`, `cidr-block`.
104+
* `values` - (Required, List) List of conditional values. Example value:
105+
`instance-type`: `VPC`, `VPNGW`, `DIRECTCONNECT`
106+
`instance-region`: `ap-guangzhou`
107+
`instance-id`: `vpc-axrsmmrv`, `dcg-oxad32f7`, `vpngw-33p5vnwd`
108+
`cidr-block`: `172.0.0.0/8`.
105109

106110
## Attributes Reference
107111

0 commit comments

Comments
 (0)