Skip to content

Commit

Permalink
fix(ccn): [121134432] tencentcloud_ccn_route_table_input_policies u…
Browse files Browse the repository at this point in the history
…pdate doc (#3006)

* add

* add
  • Loading branch information
SevenEarth authored Dec 11, 2024
1 parent 62a3151 commit 76fad48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ func ResourceTencentCloudCcnRouteTableInputPolicies() *schema.Resource {
"name": {
Type: schema.TypeString,
Required: true,
Description: "condition type.",
Description: "Condition type. Example value: `instance-type`, `instance-region`, `instance-id`, `cidr-block`.",
},
"values": {
Type: schema.TypeList,
Required: true,
Elem: &schema.Schema{Type: schema.TypeString},
Description: "List of conditional values.",
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`.",
},
"match_pattern": {
Type: schema.TypeInt,
Expand Down
8 changes: 6 additions & 2 deletions website/docs/r/ccn_route_table_input_policies.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,12 @@ The `policies` object supports the following:
The `route_conditions` object of `policies` supports the following:

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

## Attributes Reference

Expand Down

0 comments on commit 76fad48

Please sign in to comment.