Skip to content

Commit c9eaaa3

Browse files
committed
add data source doc
1 parent 36bc864 commit c9eaaa3

File tree

4 files changed

+100
-1
lines changed

4 files changed

+100
-1
lines changed

tencentcloud/provider.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,10 @@ Media Processing Service(MPS)
950950
tencentcloud_mps_watermark_template
951951
952952
Cloud HDFS(CHDFS)
953+
Data Source
954+
tencentcloud_chdfs_access_groups
955+
tencentcloud_chdfs_mount_points
956+
953957
Resource
954958
tencentcloud_chdfs_access_group
955959
tencentcloud_chdfs_access_rule
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
subcategory: "Cloud HDFS(CHDFS)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_chdfs_access_groups"
5+
sidebar_current: "docs-tencentcloud-datasource-chdfs_access_groups"
6+
description: |-
7+
Use this data source to query detailed information of chdfs access_groups
8+
---
9+
10+
# tencentcloud_chdfs_access_groups
11+
12+
Use this data source to query detailed information of chdfs access_groups
13+
14+
## Example Usage
15+
16+
```hcl
17+
data "tencentcloud_chdfs_access_groups" "access_groups" {
18+
vpc_id = "vpc-pewdpc0d"
19+
}
20+
```
21+
22+
## Argument Reference
23+
24+
The following arguments are supported:
25+
26+
* `owner_uin` - (Optional, Int) get groups belongs to the owner uin, must set but only can use one of VpcId and OwnerUin to get the groups.
27+
* `result_output_file` - (Optional, String) Used to save results.
28+
* `vpc_id` - (Optional, String) get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
29+
30+
## Attributes Reference
31+
32+
In addition to all arguments above, the following attributes are exported:
33+
34+
* `access_groups` - access group list.
35+
* `access_group_id` - access group id.
36+
* `access_group_name` - access group name.
37+
* `create_time` - create time.
38+
* `description` - access group description.
39+
* `vpc_id` - VPC ID.
40+
* `vpc_type` - vpc network type(1:CVM, 2:BM 1.0).
41+
42+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
subcategory: "Cloud HDFS(CHDFS)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_chdfs_mount_points"
5+
sidebar_current: "docs-tencentcloud-datasource-chdfs_mount_points"
6+
description: |-
7+
Use this data source to query detailed information of chdfs mount_points
8+
---
9+
10+
# tencentcloud_chdfs_mount_points
11+
12+
Use this data source to query detailed information of chdfs mount_points
13+
14+
## Example Usage
15+
16+
```hcl
17+
data "tencentcloud_chdfs_mount_points" "mount_points" {
18+
file_system_id = "f14mpfy5lh4e"
19+
}
20+
```
21+
22+
## Argument Reference
23+
24+
The following arguments are supported:
25+
26+
* `access_group_id` - (Optional, String) get mount points belongs to access group id, only can use one of the AccessGroupId,FileSystemId,OwnerUin paramaters.
27+
* `file_system_id` - (Optional, String) get mount points belongs to file system id, only can use one of the AccessGroupId,FileSystemId,OwnerUin paramaters.
28+
* `owner_uin` - (Optional, Int) get mount points belongs to owner uin, only can use one of the AccessGroupId,FileSystemId,OwnerUin paramaters.
29+
* `result_output_file` - (Optional, String) Used to save results.
30+
31+
## Attributes Reference
32+
33+
In addition to all arguments above, the following attributes are exported:
34+
35+
* `mount_points` - mount point list.
36+
* `access_group_ids` - associated group ids.
37+
* `create_time` - create time.
38+
* `file_system_id` - mounted file system id.
39+
* `mount_point_id` - mount point id.
40+
* `mount_point_name` - mount point name.
41+
* `status` - mount point status.
42+
43+

website/tencentcloud.erb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,17 @@
564564
<li>
565565
<a href="#">Cloud HDFS(CHDFS)</a>
566566
<ul class="nav">
567-
567+
<li>
568+
<a href="#">Data Sources</a>
569+
<ul class="nav nav-auto-expand">
570+
<li>
571+
<a href="/docs/providers/tencentcloud/d/chdfs_access_groups.html">tencentcloud_chdfs_access_groups</a>
572+
</li>
573+
<li>
574+
<a href="/docs/providers/tencentcloud/d/chdfs_mount_points.html">tencentcloud_chdfs_mount_points</a>
575+
</li>
576+
</ul>
577+
</li>
568578
<li>
569579
<a href="#">Resources</a>
570580
<ul class="nav nav-auto-expand">

0 commit comments

Comments
 (0)