Skip to content

fix(ccn): [121134432] tencentcloud_ccn_route_table_input_policies update doc #3006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading