From 19bc8436278d10a6d02b40c85097cefcd5d3e96a Mon Sep 17 00:00:00 2001 From: hellertang Date: Fri, 1 Sep 2023 13:01:22 +0800 Subject: [PATCH] fix docs --- .../resource_tc_kubernetes_node_pool.go | 4 ++-- .../resource_tc_tdmq_rocketmq_vip_instance.go | 2 +- tencentcloud/resource_tc_vpc_flow_log.go | 2 +- .../docs/r/kubernetes_node_pool.html.markdown | 22 +++++++++---------- .../tdmq_rocketmq_vip_instance.html.markdown | 2 +- website/docs/r/vpc_flow_log.html.markdown | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tencentcloud/resource_tc_kubernetes_node_pool.go b/tencentcloud/resource_tc_kubernetes_node_pool.go index ada85d2aa6..0cb3f3acc7 100644 --- a/tencentcloud/resource_tc_kubernetes_node_pool.go +++ b/tencentcloud/resource_tc_kubernetes_node_pool.go @@ -57,7 +57,7 @@ resource "tencentcloud_kubernetes_node_pool" "mynodepool" { instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" - security_group_ids = ["sg-24vswocp"] + orderly_security_group_ids = ["sg-24vswocp"] data_disk { disk_type = "CLOUD_PREMIUM" @@ -117,7 +117,7 @@ resource "tencentcloud_kubernetes_node_pool" "mynodepool" { instance_type = var.default_instance_type system_disk_type = "CLOUD_PREMIUM" system_disk_size = "50" - security_group_ids = ["sg-24vswocp"] + orderly_security_group_ids = ["sg-24vswocp", "sg-3qntci2v", "sg-7y1t2wax"] instance_charge_type = "SPOTPAID" spot_instance_type = "one-time" spot_max_price = "1000" diff --git a/tencentcloud/resource_tc_tdmq_rocketmq_vip_instance.go b/tencentcloud/resource_tc_tdmq_rocketmq_vip_instance.go index a2bc7c2944..7870163f88 100644 --- a/tencentcloud/resource_tc_tdmq_rocketmq_vip_instance.go +++ b/tencentcloud/resource_tc_tdmq_rocketmq_vip_instance.go @@ -71,7 +71,7 @@ func resourceTencentCloudTdmqRocketmqVipInstance() *schema.Resource { "spec": { Required: true, Type: schema.TypeString, - Description: "Instance specification:Basic type, rocket-vip-basic-1Standard type, rocket-vip-basic-2Advanced Type I, rocket-vip-basic-3Advanced Type II, rocket-vip-basic-4.", + Description: "Instance specification: Basic type: `rocket-vip-basic-1`, Standard type: `rocket-vip-basic-2`, Advanced Type I: `rocket-vip-basic-3`, Advanced Type II: `rocket-vip-basic-4`.", }, "node_count": { Required: true, diff --git a/tencentcloud/resource_tc_vpc_flow_log.go b/tencentcloud/resource_tc_vpc_flow_log.go index 6bb0f4f1c8..eaeffc59dd 100644 --- a/tencentcloud/resource_tc_vpc_flow_log.go +++ b/tencentcloud/resource_tc_vpc_flow_log.go @@ -169,7 +169,7 @@ func resourceTencentCloudVpcFlowLog() *schema.Resource { "cloud_log_id": { Optional: true, Type: schema.TypeString, - Description: "Specify flow log storage id.", + Description: "Specify flow log storage id, just set cls topic id.", }, "storage_type": { Optional: true, diff --git a/website/docs/r/kubernetes_node_pool.html.markdown b/website/docs/r/kubernetes_node_pool.html.markdown index 11bf6721f9..105824238b 100644 --- a/website/docs/r/kubernetes_node_pool.html.markdown +++ b/website/docs/r/kubernetes_node_pool.html.markdown @@ -63,10 +63,10 @@ resource "tencentcloud_kubernetes_node_pool" "mynodepool" { multi_zone_subnet_policy = "EQUALITY" auto_scaling_config { - instance_type = var.default_instance_type - system_disk_type = "CLOUD_PREMIUM" - system_disk_size = "50" - security_group_ids = ["sg-24vswocp"] + instance_type = var.default_instance_type + system_disk_type = "CLOUD_PREMIUM" + system_disk_size = "50" + orderly_security_group_ids = ["sg-24vswocp"] data_disk { disk_type = "CLOUD_PREMIUM" @@ -124,13 +124,13 @@ resource "tencentcloud_kubernetes_node_pool" "mynodepool" { multi_zone_subnet_policy = "EQUALITY" auto_scaling_config { - instance_type = var.default_instance_type - system_disk_type = "CLOUD_PREMIUM" - system_disk_size = "50" - security_group_ids = ["sg-24vswocp"] - instance_charge_type = "SPOTPAID" - spot_instance_type = "one-time" - spot_max_price = "1000" + instance_type = var.default_instance_type + system_disk_type = "CLOUD_PREMIUM" + system_disk_size = "50" + orderly_security_group_ids = ["sg-24vswocp", "sg-3qntci2v", "sg-7y1t2wax"] + instance_charge_type = "SPOTPAID" + spot_instance_type = "one-time" + spot_max_price = "1000" data_disk { disk_type = "CLOUD_PREMIUM" diff --git a/website/docs/r/tdmq_rocketmq_vip_instance.html.markdown b/website/docs/r/tdmq_rocketmq_vip_instance.html.markdown index b714e536b7..be363565e7 100644 --- a/website/docs/r/tdmq_rocketmq_vip_instance.html.markdown +++ b/website/docs/r/tdmq_rocketmq_vip_instance.html.markdown @@ -57,7 +57,7 @@ The following arguments are supported: * `name` - (Required, String) Instance name. * `node_count` - (Required, Int) Number of nodes, minimum 2, maximum 20. -* `spec` - (Required, String) Instance specification:Basic type, rocket-vip-basic-1Standard type, rocket-vip-basic-2Advanced Type I, rocket-vip-basic-3Advanced Type II, rocket-vip-basic-4. +* `spec` - (Required, String) Instance specification: Basic type: `rocket-vip-basic-1`, Standard type: `rocket-vip-basic-2`, Advanced Type I: `rocket-vip-basic-3`, Advanced Type II: `rocket-vip-basic-4`. * `storage_size` - (Required, Int) Single node storage space, in GB, minimum 200GB. * `time_span` - (Required, Int) Purchase period, in months. * `vpc_info` - (Required, List) VPC information. diff --git a/website/docs/r/vpc_flow_log.html.markdown b/website/docs/r/vpc_flow_log.html.markdown index f1aaa0aafa..bc3bb45545 100644 --- a/website/docs/r/vpc_flow_log.html.markdown +++ b/website/docs/r/vpc_flow_log.html.markdown @@ -121,7 +121,7 @@ The following arguments are supported: * `resource_id` - (Required, String) Specify resource unique Id of `resource_type` configured. * `resource_type` - (Required, String) Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`. * `traffic_type` - (Required, String) Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`. -* `cloud_log_id` - (Optional, String) Specify flow log storage id. +* `cloud_log_id` - (Optional, String) Specify flow log storage id, just set cls topic id. * `cloud_log_region` - (Optional, String) Specify flow log storage region, default using current. * `flow_log_description` - (Optional, String) Specify flow Log description. * `flow_log_storage` - (Optional, List) Specify consumer detail, required while `storage_type` is `ckafka`.