Skip to content

Commit b1975e1

Browse files
committed
module: update default value
1 parent 05ce3b4 commit b1975e1

File tree

9 files changed

+241
-88
lines changed

9 files changed

+241
-88
lines changed

README-CN.md

Lines changed: 102 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,122 @@ module "default" {
5252

5353
## 示例
5454

55-
* [Clickhouse 完整示例](https://github.com/terraform-alicloud-modules/terraform-alicloud-eds/tree/main/examples/complete)
55+
* [完整示例](https://github.com/terraform-alicloud-modules/terraform-alicloud-eds/tree/main/examples/complete)
5656

5757
## 注意事项
5858

5959
* 本 Module 使用的 AccessKey 和 SecretKey 可以直接从 `profile``shared_credentials_file`
6060
中获取。如果未设置,可通过下载安装 [aliyun-cli](https://github.com/aliyun/aliyun-cli#installation) 后进行配置.
6161

62-
## 要求
62+
63+
<!-- BEGIN_TF_DOCS -->
64+
## Requirements
6365

6466
| Name | Version |
6567
|------|---------|
66-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | > = 0.13.0 |
67-
| <a name="requirement_alicloud"></a> [alicloud](#requirement\_alicloud) | > = 1.146.0 |
68+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >=0.13 |
6869

6970
## Providers
7071

7172
| Name | Version |
7273
|------|---------|
73-
| <a name="provider_alicloud"></a> [alicloud](#provider\_alicloud) | > = 1.146.0 |
74+
| <a name="provider_alicloud"></a> [alicloud](#provider\_alicloud) | n/a |
75+
76+
## Modules
77+
78+
No modules.
79+
80+
## Resources
81+
82+
| Name | Type |
83+
|------|------|
84+
| [alicloud_ecd_desktop.desktop](https://registry.terraform.io/providers/hashicorp/alicloud/latest/docs/resources/ecd_desktop) | resource |
85+
| [alicloud_ecd_image.image](https://registry.terraform.io/providers/hashicorp/alicloud/latest/docs/resources/ecd_image) | resource |
86+
| [alicloud_ecd_nas_file_system.nas_file_system](https://registry.terraform.io/providers/hashicorp/alicloud/latest/docs/resources/ecd_nas_file_system) | resource |
87+
| [alicloud_ecd_network_package.network_package](https://registry.terraform.io/providers/hashicorp/alicloud/latest/docs/resources/ecd_network_package) | resource |
88+
| [alicloud_ecd_policy_group.policy_group](https://registry.terraform.io/providers/hashicorp/alicloud/latest/docs/resources/ecd_policy_group) | resource |
89+
| [alicloud_ecd_simple_office_site.office_site](https://registry.terraform.io/providers/hashicorp/alicloud/latest/docs/resources/ecd_simple_office_site) | resource |
90+
| [alicloud_ecd_user.user](https://registry.terraform.io/providers/hashicorp/alicloud/latest/docs/resources/ecd_user) | resource |
91+
92+
## Inputs
93+
94+
| Name | Description | Type | Default | Required |
95+
|------|-------------|------|---------|:--------:|
96+
| <a name="input_amount"></a> [amount](#input\_amount) | The amount of the Desktop. | `number` | `1` | no |
97+
| <a name="input_authorize_access_policy_rules"></a> [authorize\_access\_policy\_rules](#input\_authorize\_access\_policy\_rules) | The rule of authorize access rule. | `map(string)` | `{}` | no |
98+
| <a name="input_authorize_security_policy_rules"></a> [authorize\_security\_policy\_rules](#input\_authorize\_security\_policy\_rules) | The policy rule. | `map(string)` | `{}` | no |
99+
| <a name="input_auto_pay"></a> [auto\_pay](#input\_auto\_pay) | The auto-pay of the Desktop whether to pay automatically. values: true, false. | `bool` | `false` | no |
100+
| <a name="input_auto_renew"></a> [auto\_renew](#input\_auto\_renew) | The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false. | `bool` | `false` | no |
101+
| <a name="input_bandwidth"></a> [bandwidth](#input\_bandwidth) | The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps. | `string` | `null` | no |
102+
| <a name="input_bundle_id"></a> [bundle\_id](#input\_bundle\_id) | The bundle id of the Desktop. | `string` | `null` | no |
103+
| <a name="input_cen_id"></a> [cen\_id](#input\_cen\_id) | Cloud Enterprise Network Instance ID. | `string` | `null` | no |
104+
| <a name="input_cen_owner_id"></a> [cen\_owner\_id](#input\_cen\_owner\_id) | The cen owner id. | `number` | `null` | no |
105+
| <a name="input_cidr_block"></a> [cidr\_block](#input\_cidr\_block) | Workspace Corresponds to the Security Office Network of IPv4 Segment. | `string` | `null` | no |
106+
| <a name="input_create_desktop"></a> [create\_desktop](#input\_create\_desktop) | Controls if ecd desktop should be created | `bool` | `false` | no |
107+
| <a name="input_create_image"></a> [create\_image](#input\_create\_image) | Controls if ecd image should be created | `bool` | `false` | no |
108+
| <a name="input_create_nas_file_system"></a> [create\_nas\_file\_system](#input\_create\_nas\_file\_system) | Controls if ecd nas file system should be created | `bool` | `false` | no |
109+
| <a name="input_create_network_package"></a> [create\_network\_package](#input\_create\_network\_package) | Controls if ecd network package should be created | `bool` | `false` | no |
110+
| <a name="input_create_office_site"></a> [create\_office\_site](#input\_create\_office\_site) | Controls if office site should be created | `bool` | `false` | no |
111+
| <a name="input_create_policy_group"></a> [create\_policy\_group](#input\_create\_policy\_group) | Controls if ecd policy group should be created | `bool` | `false` | no |
112+
| <a name="input_create_user"></a> [create\_user](#input\_create\_user) | Controls if ecd user should be created | `bool` | `false` | no |
113+
| <a name="input_desktop_access_type"></a> [desktop\_access\_type](#input\_desktop\_access\_type) | Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC. | `string` | `"Internet"` | no |
114+
| <a name="input_desktop_id"></a> [desktop\_id](#input\_desktop\_id) | The desktop id of the desktop.It will be ignored when create\_desktop = true | `string` | `null` | no |
115+
| <a name="input_desktop_name"></a> [desktop\_name](#input\_desktop\_name) | The desktop name of the Desktop. | `string` | `null` | no |
116+
| <a name="input_desktop_status"></a> [desktop\_status](#input\_desktop\_status) | The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping. | `string` | `null` | no |
117+
| <a name="input_desktop_type"></a> [desktop\_type](#input\_desktop\_type) | The desktop type of the Desktop. | `string` | `null` | no |
118+
| <a name="input_domain_list"></a> [domain\_list](#input\_domain\_list) | The list of domain. | `string` | `null` | no |
119+
| <a name="input_enable_admin_access"></a> [enable\_admin\_access](#input\_enable\_admin\_access) | Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions. | `bool` | `false` | no |
120+
| <a name="input_enable_cross_desktop_access"></a> [enable\_cross\_desktop\_access](#input\_enable\_cross\_desktop\_access) | Enable Cross-Desktop Access. | `bool` | `false` | no |
121+
| <a name="input_end_user_id"></a> [end\_user\_id](#input\_end\_user\_id) | The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters. | `string` | `null` | no |
122+
| <a name="input_host_name"></a> [host\_name](#input\_host\_name) | The hostname of the Desktop. | `string` | `null` | no |
123+
| <a name="input_html_access"></a> [html\_access](#input\_html\_access) | The access of html5. Valid values: off, on. | `string` | `"off"` | no |
124+
| <a name="input_html_file_transfer"></a> [html\_file\_transfer](#input\_html\_file\_transfer) | The html5 file transfer. Valid values: all, download, off, upload. | `string` | `"off"` | no |
125+
| <a name="input_image_description"></a> [image\_description](#input\_image\_description) | The description of the image. | `string` | `null` | no |
126+
| <a name="input_image_name"></a> [image\_name](#input\_image\_name) | The name of the image. | `string` | `null` | no |
127+
| <a name="input_mfa_enabled"></a> [mfa\_enabled](#input\_mfa\_enabled) | Whether to Enable Multi-Factor Authentication MFA. | `bool` | `false` | no |
128+
| <a name="input_mount_target_domain"></a> [mount\_target\_domain](#input\_mount\_target\_domain) | The domain of mount target. | `string` | `null` | no |
129+
| <a name="input_nas_file_system_description"></a> [nas\_file\_system\_description](#input\_nas\_file\_system\_description) | The description of nas file system. | `string` | `null` | no |
130+
| <a name="input_nas_file_system_name"></a> [nas\_file\_system\_name](#input\_nas\_file\_system\_name) | The name of nas file system. | `string` | `null` | no |
131+
| <a name="input_office_site_id"></a> [office\_site\_id](#input\_office\_site\_id) | The ID of the Simple Office Site. | `string` | `null` | no |
132+
| <a name="input_office_site_name"></a> [office\_site\_name](#input\_office\_site\_name) | The office site name. | `string` | `null` | no |
133+
| <a name="input_payment_type"></a> [payment\_type](#input\_payment\_type) | The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo. | `string` | `"PayAsYouGo"` | no |
134+
| <a name="input_period"></a> [period](#input\_period) | The period of the Desktop. | `number` | `1` | no |
135+
| <a name="input_period_unit"></a> [period\_unit](#input\_period\_unit) | The period unit of the Desktop. | `string` | `"Month"` | no |
136+
| <a name="input_policy_clipboard"></a> [policy\_clipboard](#input\_policy\_clipboard) | The clipboard policy. Valid values: off, read, readwrite. | `string` | `"off"` | no |
137+
| <a name="input_policy_group_id"></a> [policy\_group\_id](#input\_policy\_group\_id) | The policy group id of the Desktop.It will be ignored when create\_policy\_group = true | `string` | `null` | no |
138+
| <a name="input_policy_group_name"></a> [policy\_group\_name](#input\_policy\_group\_name) | The name of policy group. | `string` | `null` | no |
139+
| <a name="input_policy_local_drive"></a> [policy\_local\_drive](#input\_policy\_local\_drive) | Local drive redirect policy. Valid values: readwrite, off, read. | `string` | `"off"` | no |
140+
| <a name="input_policy_usb_redirect"></a> [policy\_usb\_redirect](#input\_policy\_usb\_redirect) | The usb redirect policy. Valid values: off, on. | `string` | `"off"` | no |
141+
| <a name="input_policy_watermark"></a> [policy\_watermark](#input\_policy\_watermark) | The watermark policy. Valid values: off, on. | `string` | `"off"` | no |
142+
| <a name="input_reset"></a> [reset](#input\_reset) | The mount point is in an inactive state, reset the mount point of the NAS file system. Default to false. | `bool` | `false` | no |
143+
| <a name="input_root_disk_size_gib"></a> [root\_disk\_size\_gib](#input\_root\_disk\_size\_gib) | The root disk size gib of the Desktop. | `number` | `100` | no |
144+
| <a name="input_sso_enabled"></a> [sso\_enabled](#input\_sso\_enabled) | Whether to Enable Single Sign-on (SSO) for User-Based SSO. | `bool` | `false` | no |
145+
| <a name="input_stopped_mode"></a> [stopped\_mode](#input\_stopped\_mode) | The stopped mode of the Desktop. | `string` | `"StopCharging"` | no |
146+
| <a name="input_tags"></a> [tags](#input\_tags) | A mapping of tags to assign to the resource. | `map(string)` | `{}` | no |
147+
| <a name="input_user_assign_mode"></a> [user\_assign\_mode](#input\_user\_assign\_mode) | The user assign mode of the Desktop. Valid values: ALL, PER\_USER. Default to ALL. | `string` | `"ALL"` | no |
148+
| <a name="input_user_disk_size_gib"></a> [user\_disk\_size\_gib](#input\_user\_disk\_size\_gib) | The user disk size gib of the Desktop. | `number` | `100` | no |
149+
| <a name="input_user_email"></a> [user\_email](#input\_user\_email) | The email of the user email. | `string` | `null` | no |
150+
| <a name="input_user_id"></a> [user\_id](#input\_user\_id) | The desktop end user id of the Desktop.It will be ignored when create\_user = true | `string` | `null` | no |
151+
| <a name="input_user_password"></a> [user\_password](#input\_user\_password) | The password of the user password. | `string` | `null` | no |
152+
| <a name="input_user_phone"></a> [user\_phone](#input\_user\_phone) | The phone of the mobile phone number. | `string` | `null` | no |
153+
| <a name="input_user_status"></a> [user\_status](#input\_user\_status) | The status of the resource. Valid values: Unlocked, Locked. | `string` | `"Unlocked"` | no |
154+
| <a name="input_visual_quality"></a> [visual\_quality](#input\_visual\_quality) | The quality of visual. Valid values: high, lossless, low, medium. | `string` | `"low"` | no |
155+
| <a name="input_watermark_transparency"></a> [watermark\_transparency](#input\_watermark\_transparency) | The watermark transparency. Valid values: DARK, LIGHT, MIDDLE. | `string` | `null` | no |
156+
| <a name="input_watermark_type"></a> [watermark\_type](#input\_watermark\_type) | The type of watemark. Valid values: EndUserId, HostName. | `string` | `null` | no |
157+
158+
## Outputs
159+
160+
| Name | Description |
161+
|------|-------------|
162+
| <a name="output_desktop_bundle_id"></a> [desktop\_bundle\_id](#output\_desktop\_bundle\_id) | The bundle id list of the Desktop. |
163+
| <a name="output_desktop_id"></a> [desktop\_id](#output\_desktop\_id) | The resource ID in terraform of Desktop. |
164+
| <a name="output_image_id"></a> [image\_id](#output\_image\_id) | The resource ID in terraform of Image. |
165+
| <a name="output_nas_file_system_id"></a> [nas\_file\_system\_id](#output\_nas\_file\_system\_id) | The resource ID in terraform of Nas File System. |
166+
| <a name="output_network_package_id"></a> [network\_package\_id](#output\_network\_package\_id) | The resource ID in terraform of Network Package. |
167+
| <a name="output_policy_group_id"></a> [policy\_group\_id](#output\_policy\_group\_id) | The resource ID in terraform of Policy Group. |
168+
| <a name="output_simple_office_site_id"></a> [simple\_office\_site\_id](#output\_simple\_office\_site\_id) | The resource ID in terraform of Simple Office Site. |
169+
| <a name="output_user_id"></a> [user\_id](#output\_user\_id) | The resource ID in terraform of User. |
170+
<!-- END_TF_DOCS -->
74171

75172
## 提交问题
76173

0 commit comments

Comments
 (0)