Skip to content

Commit 9c1d1cc

Browse files
committed
doc(tco): fix doc
1 parent e5b8311 commit 9c1d1cc

5 files changed

+168
-0
lines changed

tencentcloud/provider.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,9 @@ Tencent Cloud Organization (TCO)
16491649
tencentcloud_organization_org_member_email
16501650
tencentcloud_organization_org_member_auth_identity_attachment
16511651
tencentcloud_organization_org_member_policy_attachment
1652+
tencentcloud_organization_org_manage_policy
1653+
tencentcloud_organization_org_manage_policy_config
1654+
tencentcloud_organization_org_manage_policy_target
16521655
tencentcloud_organization_policy_sub_account_attachment
16531656
tencentcloud_organization_quit_organization_operation
16541657
tencentcloud_organization_org_share_unit
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
subcategory: "Tencent Cloud Organization (TCO)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_organization_org_manage_policy"
5+
sidebar_current: "docs-tencentcloud-resource-organization_org_manage_policy"
6+
description: |-
7+
Provides a resource to create a organization org_manage_policy
8+
---
9+
10+
# tencentcloud_organization_org_manage_policy
11+
12+
Provides a resource to create a organization org_manage_policy
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_organization_org_manage_policy" "org_manage_policy" {
18+
name = "FullAccessPolicy"
19+
content = "{\"version\":\"2.0\",\"statement\":[{\"effect\":\"allow\",\"action\":\"*\",\"resource\":\"*\"}]}"
20+
type = "SERVICE_CONTROL_POLICY"
21+
description = "Full access policy"
22+
}
23+
```
24+
25+
## Argument Reference
26+
27+
The following arguments are supported:
28+
29+
* `content` - (Required, String) Policy content. Refer to the CAM policy syntax.
30+
* `name` - (Required, String) Policy name.
31+
The length is 1~128 characters, which can include Chinese characters, English letters, numbers, and underscores.
32+
* `description` - (Optional, String) Policy description.
33+
* `type` - (Optional, String) Policy type. Default value is SERVICE_CONTROL_POLICY.
34+
Valid values:
35+
- `SERVICE_CONTROL_POLICY`: Service control policy.
36+
- `TAG_POLICY`: Tag policy.
37+
38+
## Attributes Reference
39+
40+
In addition to all arguments above, the following attributes are exported:
41+
42+
* `id` - ID of the resource.
43+
* `policy_id` - Policy Id.
44+
45+
46+
## Import
47+
48+
organization org_manage_policy can be imported using the id, e.g.
49+
50+
```
51+
terraform import tencentcloud_organization_org_manage_policy.org_manage_policy policy_id#type
52+
```
53+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
subcategory: "Tencent Cloud Organization (TCO)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_organization_org_manage_policy_config"
5+
sidebar_current: "docs-tencentcloud-resource-organization_org_manage_policy_config"
6+
description: |-
7+
Provides a resource to create a organization org_manage_policy_config
8+
---
9+
10+
# tencentcloud_organization_org_manage_policy_config
11+
12+
Provides a resource to create a organization org_manage_policy_config
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_organization_org_manage_policy_config" "org_manage_policy_config" {
18+
organization_id = 80001
19+
policy_type = "SERVICE_CONTROL_POLICY"
20+
}
21+
```
22+
23+
## Argument Reference
24+
25+
The following arguments are supported:
26+
27+
* `organization_id` - (Required, Int, ForceNew) Organization ID.
28+
* `policy_type` - (Optional, String, ForceNew) Policy type. Default value is SERVICE_CONTROL_POLICY.
29+
Valid values:
30+
- `SERVICE_CONTROL_POLICY`: Service control policy.
31+
- `TAG_POLICY`: Tag policy.
32+
33+
## Attributes Reference
34+
35+
In addition to all arguments above, the following attributes are exported:
36+
37+
* `id` - ID of the resource.
38+
39+
40+
41+
## Import
42+
43+
organization org_manage_policy_config can be imported using the id, e.g.
44+
45+
```
46+
terraform import tencentcloud_organization_org_manage_policy_config.org_manage_policy_config organization_id#policy_type
47+
```
48+
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
subcategory: "Tencent Cloud Organization (TCO)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_organization_org_manage_policy_target"
5+
sidebar_current: "docs-tencentcloud-resource-organization_org_manage_policy_target"
6+
description: |-
7+
Provides a resource to create a organization org_manage_policy_target
8+
---
9+
10+
# tencentcloud_organization_org_manage_policy_target
11+
12+
Provides a resource to create a organization org_manage_policy_target
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_organization_org_manage_policy_target" "org_manage_policy_target" {
18+
target_id = 10001
19+
target_type = "NODE"
20+
policy_id = 100001
21+
policy_type = "SERVICE_CONTROL_POLICY"
22+
}
23+
```
24+
25+
## Argument Reference
26+
27+
The following arguments are supported:
28+
29+
* `policy_id` - (Required, Int, ForceNew) Policy Id.
30+
* `target_id` - (Required, Int, ForceNew) Binding target ID of the policy. Member Uin or Department ID.
31+
* `target_type` - (Required, String, ForceNew) Target type.
32+
Valid values:
33+
- `NODE`: Department.
34+
- `MEMBER`: Check Member.
35+
* `policy_type` - (Optional, String, ForceNew) Policy type. Default value is SERVICE_CONTROL_POLICY.
36+
Valid values:
37+
- `SERVICE_CONTROL_POLICY`: Service control policy.
38+
- `TAG_POLICY`: Tag policy.
39+
40+
## Attributes Reference
41+
42+
In addition to all arguments above, the following attributes are exported:
43+
44+
* `id` - ID of the resource.
45+
46+
47+
48+
## Import
49+
50+
organization org_manage_policy_target can be imported using the id, e.g.
51+
52+
```
53+
terraform import tencentcloud_organization_org_manage_policy_target.org_manage_policy_target policy_type#policy_id#target_type#target_id
54+
```
55+

website/tencentcloud.erb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4307,6 +4307,15 @@
43074307
<li>
43084308
<a href="/docs/providers/tencentcloud/r/organization_org_identity.html">tencentcloud_organization_org_identity</a>
43094309
</li>
4310+
<li>
4311+
<a href="/docs/providers/tencentcloud/r/organization_org_manage_policy.html">tencentcloud_organization_org_manage_policy</a>
4312+
</li>
4313+
<li>
4314+
<a href="/docs/providers/tencentcloud/r/organization_org_manage_policy_config.html">tencentcloud_organization_org_manage_policy_config</a>
4315+
</li>
4316+
<li>
4317+
<a href="/docs/providers/tencentcloud/r/organization_org_manage_policy_target.html">tencentcloud_organization_org_manage_policy_target</a>
4318+
</li>
43104319
<li>
43114320
<a href="/docs/providers/tencentcloud/r/organization_org_member.html">tencentcloud_organization_org_member</a>
43124321
</li>

0 commit comments

Comments
 (0)