From a6ea722c60f07cb2c18d286c0d1047c84325c5e0 Mon Sep 17 00:00:00 2001 From: mikatong Date: Wed, 18 Dec 2024 10:41:10 +0800 Subject: [PATCH] update node_type --- tencentcloud/services/emr/resource_tc_lite_hbase_instance.go | 2 +- .../services/emr/resource_tc_serverless_hbase_instance.go | 2 +- website/docs/r/lite_hbase_instance.html.markdown | 2 +- website/docs/r/serverless_hbase_instance.html.markdown | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tencentcloud/services/emr/resource_tc_lite_hbase_instance.go b/tencentcloud/services/emr/resource_tc_lite_hbase_instance.go index a6f3751efe..b37a863205 100644 --- a/tencentcloud/services/emr/resource_tc_lite_hbase_instance.go +++ b/tencentcloud/services/emr/resource_tc_lite_hbase_instance.go @@ -52,7 +52,7 @@ func ResourceTencentCloudLiteHbaseInstance() *schema.Resource { "node_type": { Type: schema.TypeString, - Required: true, + Optional: true, Description: "Instance node type, can be filled in as 4C16G, 8C32G, 16C64G, 32C128G, case insensitive.", }, diff --git a/tencentcloud/services/emr/resource_tc_serverless_hbase_instance.go b/tencentcloud/services/emr/resource_tc_serverless_hbase_instance.go index e2438c74de..62b2879248 100644 --- a/tencentcloud/services/emr/resource_tc_serverless_hbase_instance.go +++ b/tencentcloud/services/emr/resource_tc_serverless_hbase_instance.go @@ -51,7 +51,7 @@ func ResourceTencentCloudServerlessHbaseInstance() *schema.Resource { "node_type": { Type: schema.TypeString, - Required: true, + Optional: true, Description: "Instance node type, can be filled in as 4C16G, 8C32G, 16C64G, 32C128G, case insensitive.", }, diff --git a/website/docs/r/lite_hbase_instance.html.markdown b/website/docs/r/lite_hbase_instance.html.markdown index b6c2f18b5f..e77d99abaa 100644 --- a/website/docs/r/lite_hbase_instance.html.markdown +++ b/website/docs/r/lite_hbase_instance.html.markdown @@ -42,10 +42,10 @@ The following arguments are supported: * `disk_size` - (Required, Int) Instance single-node disk capacity, in GB. The single-node disk capacity must be greater than or equal to 100 and less than or equal to 250 times the number of CPU cores. The capacity adjustment step is 100. * `disk_type` - (Required, String) Instance disk type, Value range: CLOUD_HSSD: indicate performance cloud storage(ESSD). CLOUD_BSSD: indicate standard cloud storage(SSD). * `instance_name` - (Required, String) Instance name. Length limit is 6-36 characters. Only Chinese characters, letters, numbers, -, and _ are allowed. -* `node_type` - (Required, String) Instance node type, can be filled in as 4C16G, 8C32G, 16C64G, 32C128G, case insensitive. * `pay_mode` - (Required, Int) Instance pay mode. Value range: 0: indicates post-pay mode, that is, pay-as-you-go. 1: indicates pre-pay mode, that is, monthly subscription. * `zone_settings` - (Required, List) Detailed configuration of the instance availability zone, currently supports multiple availability zones, the number of availability zones can only be 1 or 3, including zone name, VPC information, and number of nodes. The total number of nodes across all zones must be greater than or equal to 3 and less than or equal to 50. * `auto_renew_flag` - (Optional, Int) AutoRenewFlag, Value range: 0: indicates NOTIFY_AND_MANUAL_RENEW; 1: indicates NOTIFY_AND_AUTO_RENEW; 2: indicates DISABLE_NOTIFY_AND_MANUAL_RENEW. +* `node_type` - (Optional, String) Instance node type, can be filled in as 4C16G, 8C32G, 16C64G, 32C128G, case insensitive. * `tags` - (Optional, List) List of tags to bind to the instance. * `time_span` - (Optional, Int) Time span. * `time_unit` - (Optional, String) Time unit, fill in m which means month. diff --git a/website/docs/r/serverless_hbase_instance.html.markdown b/website/docs/r/serverless_hbase_instance.html.markdown index 0673065e8b..a8b2e7cbca 100644 --- a/website/docs/r/serverless_hbase_instance.html.markdown +++ b/website/docs/r/serverless_hbase_instance.html.markdown @@ -42,10 +42,10 @@ The following arguments are supported: * `disk_size` - (Required, Int) Instance single-node disk capacity, in GB. The single-node disk capacity must be greater than or equal to 100 and less than or equal to 250 times the number of CPU cores. The capacity adjustment step is 100. * `disk_type` - (Required, String) Instance disk type, Value range: CLOUD_HSSD: indicate performance cloud storage(ESSD). CLOUD_BSSD: indicate standard cloud storage(SSD). * `instance_name` - (Required, String) Instance name. Length limit is 6-36 characters. Only Chinese characters, letters, numbers, -, and _ are allowed. -* `node_type` - (Required, String) Instance node type, can be filled in as 4C16G, 8C32G, 16C64G, 32C128G, case insensitive. * `pay_mode` - (Required, Int) Instance pay mode. Value range: 0: indicates post-pay mode, that is, pay-as-you-go. 1: indicates pre-pay mode, that is, monthly subscription. * `zone_settings` - (Required, List) Detailed configuration of the instance availability zone, currently supports multiple availability zones, the number of availability zones can only be 1 or 3, including zone name, VPC information, and number of nodes. The total number of nodes across all zones must be greater than or equal to 3 and less than or equal to 50. * `auto_renew_flag` - (Optional, Int) AutoRenewFlag, Value range: 0: indicates NOTIFY_AND_MANUAL_RENEW; 1: indicates NOTIFY_AND_AUTO_RENEW; 2: indicates DISABLE_NOTIFY_AND_MANUAL_RENEW. +* `node_type` - (Optional, String) Instance node type, can be filled in as 4C16G, 8C32G, 16C64G, 32C128G, case insensitive. * `tags` - (Optional, List) List of tags to bind to the instance. * `time_span` - (Optional, Int) Time span. * `time_unit` - (Optional, String) Time unit, fill in m which means month.