|
1 | 1 | /* |
2 | 2 |
|
3 | | -Use this data source to query tcaplus clusters |
| 3 | +Use this data source to query TcaplusDB clusters. |
4 | 4 |
|
5 | 5 | Example Usage |
6 | 6 |
|
@@ -33,88 +33,88 @@ func dataSourceTencentCloudTcaplusClusters() *schema.Resource { |
33 | 33 | "cluster_name": { |
34 | 34 | Type: schema.TypeString, |
35 | 35 | Optional: true, |
36 | | - Description: "Name of the tcaplus cluster to be query.", |
| 36 | + Description: "Name of the TcaplusDB cluster to be query.", |
37 | 37 | }, |
38 | 38 | "cluster_id": { |
39 | 39 | Type: schema.TypeString, |
40 | 40 | Optional: true, |
41 | | - Description: "Id of the tcaplus cluster to be query.", |
| 41 | + Description: "Id of the TcaplusDB cluster to be query.", |
42 | 42 | }, |
43 | 43 | "result_output_file": { |
44 | 44 | Type: schema.TypeString, |
45 | 45 | Optional: true, |
46 | | - Description: "Used to save results.", |
| 46 | + Description: "File for saving results.", |
47 | 47 | }, |
48 | 48 | "list": { |
49 | 49 | Type: schema.TypeList, |
50 | 50 | Computed: true, |
51 | | - Description: "A list of tcaplus cluster. Each element contains the following attributes.", |
| 51 | + Description: "A list of TcaplusDB cluster. Each element contains the following attributes.", |
52 | 52 | Elem: &schema.Resource{ |
53 | 53 | Schema: map[string]*schema.Schema{ |
54 | 54 | "cluster_name": { |
55 | 55 | Type: schema.TypeString, |
56 | 56 | Computed: true, |
57 | | - Description: "Name of the tcaplus cluster.", |
| 57 | + Description: "Name of the TcaplusDB cluster.", |
58 | 58 | }, |
59 | 59 | "cluster_id": { |
60 | 60 | Type: schema.TypeString, |
61 | 61 | Computed: true, |
62 | | - Description: "Id of the tcaplus cluster.", |
| 62 | + Description: "Id of the TcaplusDB cluster.", |
63 | 63 | }, |
64 | 64 | "idl_type": { |
65 | 65 | Type: schema.TypeString, |
66 | 66 | Computed: true, |
67 | | - Description: "Idl type of the tcaplus cluster.", |
| 67 | + Description: "IDL type of the TcaplusDB cluster.", |
68 | 68 | }, |
69 | 69 | "vpc_id": { |
70 | 70 | Type: schema.TypeString, |
71 | 71 | Computed: true, |
72 | | - Description: "VPC id of the tcaplus cluster.", |
| 72 | + Description: "VPC id of the TcaplusDB cluster.", |
73 | 73 | }, |
74 | 74 | "subnet_id": { |
75 | 75 | Type: schema.TypeString, |
76 | 76 | Computed: true, |
77 | | - Description: "Subnet id of the tcaplus cluster.", |
| 77 | + Description: "Subnet id of the TcaplusDB cluster.", |
78 | 78 | }, |
79 | 79 | "password": { |
80 | 80 | Type: schema.TypeString, |
81 | 81 | Computed: true, |
82 | | - Description: "Password of the tcaplus cluster.", |
| 82 | + Description: "Access password of the TcaplusDB cluster.", |
83 | 83 | }, |
84 | 84 | "network_type": { |
85 | 85 | Type: schema.TypeString, |
86 | 86 | Computed: true, |
87 | | - Description: "Network type of the tcaplus cluster.", |
| 87 | + Description: "Network type of the TcaplusDB cluster.", |
88 | 88 | }, |
89 | 89 | "create_time": { |
90 | 90 | Type: schema.TypeString, |
91 | 91 | Computed: true, |
92 | | - Description: "Create time of the tcaplus cluster.", |
| 92 | + Description: "Create time of the TcaplusDB cluster.", |
93 | 93 | }, |
94 | 94 | "password_status": { |
95 | 95 | Type: schema.TypeString, |
96 | 96 | Computed: true, |
97 | | - Description: "Password status of the tcaplus cluster.`unmodifiable` means:can not change password now,`modifiable` means:can change password now.", |
| 97 | + Description: "Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment.", |
98 | 98 | }, |
99 | 99 | "api_access_id": { |
100 | 100 | Type: schema.TypeString, |
101 | 101 | Computed: true, |
102 | | - Description: "Access id of the tcaplus cluster.For TcaplusDB SDK connect.", |
| 102 | + Description: "Access id of the TcaplusDB cluster.For TcaplusDB SDK connect.", |
103 | 103 | }, |
104 | 104 | "api_access_ip": { |
105 | 105 | Type: schema.TypeString, |
106 | 106 | Computed: true, |
107 | | - Description: "Access ip of the tcaplus cluster.For TcaplusDB SDK connect.", |
| 107 | + Description: "Access ip of the TcaplusDB cluster.For TcaplusDB SDK connect.", |
108 | 108 | }, |
109 | 109 | "api_access_port": { |
110 | 110 | Type: schema.TypeInt, |
111 | 111 | Computed: true, |
112 | | - Description: "Access port of the tcaplus cluster.For TcaplusDB SDK connect.", |
| 112 | + Description: "Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.", |
113 | 113 | }, |
114 | 114 | "old_password_expire_time": { |
115 | 115 | Type: schema.TypeString, |
116 | 116 | Computed: true, |
117 | | - Description: "This field will display the old password expiration time,if password_status is `unmodifiable` means the old password has not yet expired, otherwise `-`.", |
| 117 | + Description: "Expiration time of the old password. If `password_status` is `unmodifiable`, it means the old password has not yet expired.", |
118 | 118 | }, |
119 | 119 | }, |
120 | 120 | }, |
|
0 commit comments