Skip to content

Commit c45d0fe

Browse files
committed
fix: modify doc
1 parent 07d5637 commit c45d0fe

File tree

4 files changed

+125
-2
lines changed

4 files changed

+125
-2
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
subcategory: "Business Intelligence(BI)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_bi_user_project"
5+
sidebar_current: "docs-tencentcloud-datasource-bi_user_project"
6+
description: |-
7+
Use this data source to query detailed information of bi user_project
8+
---
9+
10+
# tencentcloud_bi_user_project
11+
12+
Use this data source to query detailed information of bi user_project
13+
14+
## Example Usage
15+
16+
```hcl
17+
data "tencentcloud_bi_user_project" "user_project" {
18+
project_id = 123
19+
all_page = true
20+
}
21+
```
22+
23+
## Argument Reference
24+
25+
The following arguments are supported:
26+
27+
* `all_page` - (Optional, Bool) Whether to display all, if true, ignore paging.
28+
* `project_id` - (Optional, Int) Project id.
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+
* `list` - Array(Note: This field may return null, indicating that no valid value can be obtained).
36+
* `area_code` - Mobile area code(Note: This field may return null, indicating that no valid value can be obtained).
37+
* `corp_id` - Enterprise id(Note: This field may return null, indicating that no valid value can be obtained).
38+
* `created_at` - Created at(Note: This field may return null, indicating that no valid value can be obtained).
39+
* `created_user` - Created by(Note: This field may return null, indicating that no valid value can be obtained).
40+
* `email` - E-mail(Note: This field may return null, indicating that no valid value can be obtained).
41+
* `first_modify` - First login to change password, public cloud unrelated fields(Note: This field may return null, indicating that no valid value can be obtained).
42+
* `global_user_name` - Global role name(Note: This field may return null, indicating that no valid value can be obtained).
43+
* `last_login` - Last login time, public cloud unrelated fields(Note: This field may return null, indicating that no valid value can be obtained).
44+
* `mobile` - Mobile number, public cloud unrelated fields(Note: This field may return null, indicating that no valid value can be obtained).
45+
* `phone_number` - Phone number(Note: This field may return null, indicating that no valid value can be obtained).
46+
* `status` - Disabled state(Note: This field may return null, indicating that no valid value can be obtained).
47+
* `updated_at` - Updated at(Note: This field may return null, indicating that no valid value can be obtained).
48+
* `updated_user` - Updated by(Note: This field may return null, indicating that no valid value can be obtained).
49+
* `user_id` - User id.
50+
* `user_name` - Username.
51+
52+
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
subcategory: "Business Intelligence(BI)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_bi_datasource"
5+
sidebar_current: "docs-tencentcloud-resource-bi_datasource"
6+
description: |-
7+
Provides a resource to create a bi datasource
8+
---
9+
10+
# tencentcloud_bi_datasource
11+
12+
Provides a resource to create a bi datasource
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_bi_datasource" "datasource" {
18+
charset = "utf8"
19+
db_host = "bj-cdb-1lxqg5r6.sql.tencentcdb.com"
20+
db_name = "tf-test"
21+
db_port = 63694
22+
db_type = "MYSQL"
23+
db_pwd = "ABc123,,,"
24+
db_user = "root"
25+
project_id = 11015030
26+
source_name = "tf-source-name"
27+
}
28+
```
29+
30+
## Argument Reference
31+
32+
The following arguments are supported:
33+
34+
* `charset` - (Required, String) Charset.
35+
* `db_host` - (Required, String) Host.
36+
* `db_name` - (Required, String) Database name.
37+
* `db_port` - (Required, Int) Port.
38+
* `db_pwd` - (Required, String) Password.
39+
* `db_type` - (Required, String) MYSQL.
40+
* `db_user` - (Required, String) User name.
41+
* `project_id` - (Required, Int) Project id.
42+
* `source_name` - (Required, String) Datasource name in BI.
43+
* `catalog` - (Optional, String) Catalog.
44+
* `data_origin_datasource_id` - (Optional, String) Third-party datasource project id, this parameter can be ignored.
45+
* `data_origin_project_id` - (Optional, String) Third-party datasource project id, this parameter can be ignored.
46+
* `data_origin` - (Optional, String) Third-party datasource identification, this parameter can be ignored.
47+
* `service_type` - (Optional, String) Own or Cloud, default: `Own`.
48+
* `uniq_vpc_id` - (Optional, String) Tencent cloud private network unified identity.
49+
* `vpc_id` - (Optional, String) Tencent cloud private network identity.
50+
51+
## Attributes Reference
52+
53+
In addition to all arguments above, the following attributes are exported:
54+
55+
* `id` - ID of the resource.
56+
57+
58+
59+
## Import
60+
61+
bi datasource can be imported using the id, e.g.
62+
63+
```
64+
terraform import tencentcloud_bi_datasource.datasource datasource_id
65+
```
66+

website/docs/r/bi_project_user_role.html.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ description: |-
1111

1212
Provides a resource to create a bi project_user_role
1313

14+
~> **NOTE:** You cannot use `tencentcloud_bi_user_role` and `tencentcloud_bi_project_user_role` at the same time to modify the `phone_number` and `email` of the same user.
15+
1416
## Example Usage
1517

1618
```hcl
@@ -50,6 +52,6 @@ In addition to all arguments above, the following attributes are exported:
5052
bi project_user_role can be imported using the id, e.g.
5153

5254
```
53-
terraform import tencentcloud_bi_project_user_role.project_user_role project_user_role_id
55+
terraform import tencentcloud_bi_project_user_role.project_user_role projectId#userId
5456
```
5557

website/tencentcloud.erb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@
359359
<li>
360360
<a href="/docs/providers/tencentcloud/d/bi_project.html">tencentcloud_bi_project</a>
361361
</li>
362+
<li>
363+
<a href="/docs/providers/tencentcloud/d/bi_user_project.html">tencentcloud_bi_user_project</a>
364+
</li>
362365
</ul>
363366
</li>
364367
<li>
@@ -374,7 +377,7 @@
374377
<a href="/docs/providers/tencentcloud/r/bi_project_user_role.html">tencentcloud_bi_project_user_role</a>
375378
</li>
376379
<li>
377-
<a href="/docs/providers/tencentcloud/r/bi_datasource_cloud.html">tencentcloud_bi_datasource_cloud</a>
380+
<a href="/docs/providers/tencentcloud/r/bi_datasource.html">tencentcloud_bi_datasource</a>
378381
</li>
379382
<li>
380383
<a href="/docs/providers/tencentcloud/r/bi_embed_token.html">tencentcloud_bi_embed_token</a>

0 commit comments

Comments
 (0)