From babd3056094a4154aa9a8bbc3d8943ebf6acbe5d Mon Sep 17 00:00:00 2001 From: crab Date: Fri, 9 Oct 2020 16:44:23 +0800 Subject: [PATCH 1/3] docs: modify annotation --- tencentcloud/resource_tc_as_lifecycle_hook.go | 8 +-- tencentcloud/resource_tc_as_scaling_config.go | 6 +- tencentcloud/resource_tc_as_scaling_group.go | 8 +-- tencentcloud/resource_tc_as_scaling_policy.go | 12 ++-- tencentcloud/resource_tc_audit.go | 2 +- tencentcloud/resource_tc_cam_policy.go | 2 +- .../resource_tc_cbs_snapshot_policy.go | 4 +- tencentcloud/resource_tc_cbs_storage.go | 8 +-- tencentcloud/resource_tc_ccn.go | 4 +- tencentcloud/resource_tc_ccn_attachment.go | 2 +- tencentcloud/resource_tc_cdn_domain.go | 12 ++-- tencentcloud/resource_tc_cfs_access_rule.go | 6 +- tencentcloud/resource_tc_cfs_file_system.go | 2 +- tencentcloud/resource_tc_ckafka_acl.go | 6 +- tencentcloud/resource_tc_ckafka_topic.go | 2 +- tencentcloud/resource_tc_clb_attachment.go | 4 +- tencentcloud/resource_tc_clb_instance.go | 2 +- tencentcloud/resource_tc_clb_listener.go | 8 +-- tencentcloud/resource_tc_clb_listener_rule.go | 6 +- tencentcloud/resource_tc_cos_bucket.go | 2 +- .../resource_tc_dayu_cc_http_policy.go | 4 +- .../resource_tc_dayu_cc_https_policy.go | 4 +- tencentcloud/resource_tc_dayu_ddos_policy.go | 60 +++++++++---------- ...resource_tc_dayu_ddos_policy_attachment.go | 2 +- .../resource_tc_dayu_ddos_policy_case.go | 28 ++++----- tencentcloud/resource_tc_dayu_l4_rule.go | 6 +- tencentcloud/resource_tc_dayu_l7_rule.go | 6 +- tencentcloud/resource_tc_dc_gateway.go | 6 +- tencentcloud/resource_tc_dcx.go | 6 +- tencentcloud/resource_tc_dnat.go | 2 +- tencentcloud/resource_tc_eip.go | 8 +-- .../resource_tc_elasticsearch_instance.go | 8 +-- tencentcloud/resource_tc_gaap_certificate.go | 2 +- tencentcloud/resource_tc_gaap_http_rule.go | 10 ++-- .../resource_tc_gaap_layer4_listener.go | 6 +- .../resource_tc_gaap_layer7_listener.go | 4 +- tencentcloud/resource_tc_gaap_proxy.go | 8 +-- .../resource_tc_gaap_security_policy.go | 2 +- .../resource_tc_gaap_security_rule.go | 6 +- tencentcloud/resource_tc_ha_vip.go | 2 +- tencentcloud/resource_tc_instance.go | 4 +- ...resource_tc_kubernetes_as_scaling_group.go | 6 +- tencentcloud/resource_tc_lb.go | 4 +- .../resource_tc_monitor_binding_receiver.go | 2 +- .../resource_tc_monitor_policy_group.go | 10 ++-- .../resource_tc_mysql_account_privilege.go | 2 +- .../resource_tc_mysql_backup_policy.go | 2 +- tencentcloud/resource_tc_mysql_instance.go | 10 ++-- tencentcloud/resource_tc_nat_gateway.go | 4 +- tencentcloud/resource_tc_placement_group.go | 2 +- .../resource_tc_postgresql_instance.go | 2 +- .../resource_tc_redis_backup_config.go | 2 +- tencentcloud/resource_tc_redis_instance.go | 2 +- tencentcloud/resource_tc_route_entry.go | 2 +- tencentcloud/resource_tc_route_table_entry.go | 2 +- .../resource_tc_security_group_rule.go | 6 +- tencentcloud/resource_tc_sqlserver_account.go | 2 +- ...urce_tc_sqlserver_account_db_attachment.go | 2 +- ...resource_tc_sqlserver_readonly_instance.go | 2 +- tencentcloud/resource_tc_ssl_certificate.go | 2 +- tencentcloud/resource_tc_tcaplus_cluster.go | 4 +- tencentcloud/resource_tc_tcaplus_table.go | 2 +- tencentcloud/resource_tc_vpn_connection.go | 24 ++++---- tencentcloud/resource_tc_vpn_gateway.go | 14 ++--- .../docs/r/as_lifecycle_hook.html.markdown | 8 +-- .../docs/r/as_scaling_config.html.markdown | 6 +- website/docs/r/as_scaling_group.html.markdown | 8 +-- .../docs/r/as_scaling_policy.html.markdown | 12 ++-- website/docs/r/audit.html.markdown | 2 +- website/docs/r/cam_policy.html.markdown | 2 +- .../docs/r/cbs_snapshot_policy.html.markdown | 4 +- website/docs/r/cbs_storage.html.markdown | 8 +-- website/docs/r/ccn.html.markdown | 4 +- website/docs/r/ccn_attachment.html.markdown | 2 +- website/docs/r/cdn_domain.html.markdown | 12 ++-- website/docs/r/cfs_access_rule.html.markdown | 6 +- website/docs/r/cfs_file_system.html.markdown | 2 +- website/docs/r/ckafka_acl.html.markdown | 6 +- website/docs/r/ckafka_topic.html.markdown | 2 +- website/docs/r/clb_attachment.html.markdown | 4 +- website/docs/r/clb_instance.html.markdown | 2 +- website/docs/r/clb_listener.html.markdown | 8 +-- .../docs/r/clb_listener_rule.html.markdown | 6 +- website/docs/r/cos_bucket.html.markdown | 2 +- .../docs/r/dayu_cc_http_policy.html.markdown | 4 +- .../docs/r/dayu_cc_https_policy.html.markdown | 4 +- website/docs/r/dayu_ddos_policy.html.markdown | 60 +++++++++---------- .../dayu_ddos_policy_attachment.html.markdown | 2 +- .../r/dayu_ddos_policy_case.html.markdown | 24 ++++---- website/docs/r/dayu_l4_rule.html.markdown | 6 +- website/docs/r/dayu_l7_rule.html.markdown | 6 +- website/docs/r/dc_gateway.html.markdown | 6 +- website/docs/r/dcx.html.markdown | 6 +- website/docs/r/dnat.html.markdown | 2 +- website/docs/r/eip.html.markdown | 8 +-- .../r/elasticsearch_instance.html.markdown | 8 +-- website/docs/r/gaap_certificate.html.markdown | 2 +- website/docs/r/gaap_http_rule.html.markdown | 10 ++-- .../docs/r/gaap_layer4_listener.html.markdown | 6 +- .../docs/r/gaap_layer7_listener.html.markdown | 4 +- website/docs/r/gaap_proxy.html.markdown | 8 +-- .../docs/r/gaap_security_policy.html.markdown | 2 +- .../docs/r/gaap_security_rule.html.markdown | 6 +- website/docs/r/ha_vip.html.markdown | 2 +- website/docs/r/instance.html.markdown | 4 +- .../kubernetes_as_scaling_group.html.markdown | 6 +- website/docs/r/lb.html.markdown | 4 +- .../r/monitor_binding_receiver.html.markdown | 2 +- .../docs/r/monitor_policy_group.html.markdown | 10 ++-- .../r/mysql_account_privilege.html.markdown | 2 +- .../docs/r/mysql_backup_policy.html.markdown | 2 +- website/docs/r/mysql_instance.html.markdown | 10 ++-- .../r/mysql_readonly_instance.html.markdown | 10 ++-- website/docs/r/nat_gateway.html.markdown | 4 +- website/docs/r/placement_group.html.markdown | 2 +- .../docs/r/postgresql_instance.html.markdown | 2 +- .../docs/r/redis_backup_config.html.markdown | 2 +- website/docs/r/redis_instance.html.markdown | 2 +- website/docs/r/route_entry.html.markdown | 2 +- .../docs/r/route_table_entry.html.markdown | 2 +- .../docs/r/security_group_rule.html.markdown | 6 +- .../docs/r/sqlserver_account.html.markdown | 2 +- ...server_account_db_attachment.html.markdown | 2 +- .../sqlserver_readonly_instance.html.markdown | 2 +- website/docs/r/ssl_certificate.html.markdown | 2 +- website/docs/r/tcaplus_cluster.html.markdown | 4 +- website/docs/r/tcaplus_table.html.markdown | 2 +- website/docs/r/vpn_connection.html.markdown | 24 ++++---- website/docs/r/vpn_gateway.html.markdown | 14 ++--- 129 files changed, 403 insertions(+), 403 deletions(-) diff --git a/tencentcloud/resource_tc_as_lifecycle_hook.go b/tencentcloud/resource_tc_as_lifecycle_hook.go index 2adfb62cbe..878b5a2bcc 100644 --- a/tencentcloud/resource_tc_as_lifecycle_hook.go +++ b/tencentcloud/resource_tc_as_lifecycle_hook.go @@ -52,21 +52,21 @@ func resourceTencentCloudAsLifecycleHook() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue([]string{"INSTANCE_LAUNCHING", "INSTANCE_TERMINATING"}), - Description: "The instance state to which you want to attach the lifecycle hook. The valid values are INSTANCE_LAUNCHING and INSTANCE_TERMINATING.", + Description: "The instance state to which you want to attach the lifecycle hook. Valid values: INSTANCE_LAUNCHING and INSTANCE_TERMINATING.", }, "default_result": { Type: schema.TypeString, Optional: true, Default: "CONTINUE", ValidateFunc: validateAllowedStringValue([]string{"CONTINUE", "ABANDON"}), - Description: "Defines the action the AS group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is CONTINUE.", + Description: "Defines the action the AS group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. Valid values: CONTINUE and ABANDON. The default value is CONTINUE.", }, "heartbeat_timeout": { Type: schema.TypeInt, Optional: true, Default: 300, ValidateFunc: validateIntegerInRange(30, 3600), - Description: "Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. The range is 30 to 3600, and default value is 300.", + Description: "Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: [30-3600]. and default value is 300.", }, "notification_metadata": { Type: schema.TypeString, @@ -78,7 +78,7 @@ func resourceTencentCloudAsLifecycleHook() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue([]string{"CMQ_QUEUE", "CMQ_TOPIC"}), - Description: "Target type, which can be CMQ_QUEUE or CMQ_TOPIC.", + Description: "Target type. Valid values: CMQ_QUEUE, CMQ_TOPIC.", }, "notification_queue_name": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_as_scaling_config.go b/tencentcloud/resource_tc_as_scaling_config.go index c2a825f878..d1dea7aeda 100644 --- a/tencentcloud/resource_tc_as_scaling_config.go +++ b/tencentcloud/resource_tc_as_scaling_config.go @@ -93,7 +93,7 @@ func resourceTencentCloudAsScalingConfig() *schema.Resource { Optional: true, Default: SYSTEM_DISK_TYPE_CLOUD_PREMIUM, ValidateFunc: validateAllowedStringValue(SYSTEM_DISK_ALLOW_TYPE), - Description: "Type of a CVM disk, and available values include CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.", + Description: "Type of a CVM disk. Valid values: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.", }, "system_disk_size": { Type: schema.TypeInt, @@ -114,7 +114,7 @@ func resourceTencentCloudAsScalingConfig() *schema.Resource { Optional: true, Default: SYSTEM_DISK_TYPE_CLOUD_PREMIUM, ValidateFunc: validateAllowedStringValue(SYSTEM_DISK_ALLOW_TYPE), - Description: "Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD.", + Description: "Types of disk. Valid values: CLOUD_PREMIUM and CLOUD_SSD.", }, "disk_size": { Type: schema.TypeInt, @@ -135,7 +135,7 @@ func resourceTencentCloudAsScalingConfig() *schema.Resource { Optional: true, Default: INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID_BY_HOUR, ValidateFunc: validateAllowedStringValue(INTERNET_CHARGE_ALLOW_TYPE), - Description: "Charge types for network traffic. Available values include `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.", + Description: "Charge types for network traffic. Valid values: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.", }, "internet_max_bandwidth_out": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_as_scaling_group.go b/tencentcloud/resource_tc_as_scaling_group.go index 6484143dbd..554324ab6e 100644 --- a/tencentcloud/resource_tc_as_scaling_group.go +++ b/tencentcloud/resource_tc_as_scaling_group.go @@ -79,13 +79,13 @@ func resourceTencentCloudAsScalingGroup() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 2000), - Description: "Maximum number of CVM instances (0~2000).", + Description: "Maximum number of CVM instances. Valid value ranges: (0~2000).", }, "min_size": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 2000), - Description: "Minimum number of CVM instances (0~2000).", + Description: "Minimum number of CVM instances. Valid value ranges: (0~2000).", }, "vpc_id": { Type: schema.TypeString, @@ -178,7 +178,7 @@ func resourceTencentCloudAsScalingGroup() *schema.Resource { Optional: true, Computed: true, MaxItems: 1, - Description: "Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE.", + Description: "Available values for termination policies. Valid values: OLDEST_INSTANCE and NEWEST_INSTANCE.", Elem: &schema.Schema{ Type: schema.TypeString, Default: SCALING_GROUP_TERMINATION_POLICY_OLDEST_INSTANCE, @@ -189,7 +189,7 @@ func resourceTencentCloudAsScalingGroup() *schema.Resource { "retry_policy": { Type: schema.TypeString, Optional: true, - Description: "Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.", + Description: "Available values for retry policies. Valid values: IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.", Default: SCALING_GROUP_RETRY_POLICY_IMMEDIATE_RETRY, ValidateFunc: validateAllowedStringValue([]string{SCALING_GROUP_RETRY_POLICY_IMMEDIATE_RETRY, SCALING_GROUP_RETRY_POLICY_INCREMENTAL_INTERVALS}), diff --git a/tencentcloud/resource_tc_as_scaling_policy.go b/tencentcloud/resource_tc_as_scaling_policy.go index 4bd999e771..aa65c3ce8c 100644 --- a/tencentcloud/resource_tc_as_scaling_policy.go +++ b/tencentcloud/resource_tc_as_scaling_policy.go @@ -55,7 +55,7 @@ func resourceTencentCloudAsScalingPolicy() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(SCALING_GROUP_ADJUSTMENT_TYPE), - Description: "Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Available values include CHANGE_IN_CAPACITY, EXACT_CAPACITY and PERCENT_CHANGE_IN_CAPACITY.", + Description: "Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values: CHANGE_IN_CAPACITY, EXACT_CAPACITY and PERCENT_CHANGE_IN_CAPACITY.", }, "adjustment_value": { Type: schema.TypeInt, @@ -66,13 +66,13 @@ func resourceTencentCloudAsScalingPolicy() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(SCALING_GROUP_COMPARISON_OPERATOR), - Description: "Comparison operator, of which valid values can be GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, EQUAL_TO and NOT_EQUAL_TO.", + Description: "Comparison operator. Valid values: GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, EQUAL_TO and NOT_EQUAL_TO.", }, "metric_name": { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(SCALING_GROUP_METRIC_NAME), - Description: "Name of an indicator, which can be CPU_UTILIZATION, MEM_UTILIZATION, LAN_TRAFFIC_OUT, LAN_TRAFFIC_IN, WAN_TRAFFIC_OUT and WAN_TRAFFIC_IN.", + Description: "Name of an indicator. Valid values: CPU_UTILIZATION, MEM_UTILIZATION, LAN_TRAFFIC_OUT, LAN_TRAFFIC_IN, WAN_TRAFFIC_OUT and WAN_TRAFFIC_IN.", }, "threshold": { Type: schema.TypeInt, @@ -83,20 +83,20 @@ func resourceTencentCloudAsScalingPolicy() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateAllowedIntValue([]int{60, 300}), - Description: "Time period in second, of which valid values can be 60 and 300.", + Description: "Time period in second. Valid values: 60 and 300.", }, "continuous_time": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(1, 10), - Description: "Retry times (1~10).", + Description: "Retry times. Valid value ranges: (1~10).", }, "statistic": { Type: schema.TypeString, Optional: true, Default: SCALING_GROUP_STATISTIC_AVERAGE, ValidateFunc: validateAllowedStringValue(SCALING_GROUP_STATISTIC), - Description: "Statistic types, include AVERAGE, MAXIMUM and MINIMUM. Default is AVERAGE.", + Description: "Statistic types. Valid values: AVERAGE, MAXIMUM and MINIMUM. Default is AVERAGE.", }, "cooldown": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_audit.go b/tencentcloud/resource_tc_audit.go index 8a752f1b5c..510eb2c326 100644 --- a/tencentcloud/resource_tc_audit.go +++ b/tencentcloud/resource_tc_audit.go @@ -82,7 +82,7 @@ func resourceTencentCloudAudit() *schema.Resource { "read_write_attribute": { Type: schema.TypeInt, Required: true, - Description: "Event attribute filter. 1 for readonly, 2 for writeonly, 3 for all.", + Description: "Event attribute filter. Valid values: 1,2,3. 1 for readonly, 2 for writeonly, 3 for all.", }, "audit_switch": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_cam_policy.go b/tencentcloud/resource_tc_cam_policy.go index ade99e1a6e..eb5797a363 100644 --- a/tencentcloud/resource_tc_cam_policy.go +++ b/tencentcloud/resource_tc_cam_policy.go @@ -97,7 +97,7 @@ func resourceTencentCloudCamPolicy() *schema.Resource { "type": { Type: schema.TypeInt, Computed: true, - Description: "Type of the policy strategy. 1 means customer strategy and 2 means preset strategy.", + Description: "Type of the policy strategy. Valid values: 1,2. 1 means customer strategy and 2 means preset strategy.", }, "create_time": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_cbs_snapshot_policy.go b/tencentcloud/resource_tc_cbs_snapshot_policy.go index 009a2df5ca..0aff31f111 100644 --- a/tencentcloud/resource_tc_cbs_snapshot_policy.go +++ b/tencentcloud/resource_tc_cbs_snapshot_policy.go @@ -57,7 +57,7 @@ func resourceTencentCloudCbsSnapshotPolicy() *schema.Resource { Type: schema.TypeInt, ValidateFunc: validateIntegerInRange(0, 6), }, - Description: "Periodic snapshot is enabled, the available values are [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.", + Description: "Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday.", }, "repeat_hours": { Type: schema.TypeList, @@ -66,7 +66,7 @@ func resourceTencentCloudCbsSnapshotPolicy() *schema.Resource { Type: schema.TypeInt, ValidateFunc: validateIntegerInRange(0, 23), }, - Description: "Trigger times of periodic snapshot, the available values are 0 to 23. The 0 means 00:00, and so on.", + Description: "Trigger times of periodic snapshot. Valid value ranges: [0-23]. The 0 means 00:00, and so on.", }, "retention_days": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_cbs_storage.go b/tencentcloud/resource_tc_cbs_storage.go index da68a1671f..1c0a4f6a4a 100644 --- a/tencentcloud/resource_tc_cbs_storage.go +++ b/tencentcloud/resource_tc_cbs_storage.go @@ -55,7 +55,7 @@ func resourceTencentCloudCbsStorage() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(CBS_STORAGE_TYPE), - Description: "Type of CBS medium, and available values include CLOUD_BASIC, CLOUD_PREMIUM and CLOUD_SSD.", + Description: "Type of CBS medium. Valid values: CLOUD_BASIC, CLOUD_PREMIUM and CLOUD_SSD.", }, "storage_size": { Type: schema.TypeInt, @@ -68,14 +68,14 @@ func resourceTencentCloudCbsStorage() *schema.Resource { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(1, 36), - Description: "The purchased usage period of CBS, and value range [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].", + Description: "The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36].", }, "charge_type": { Type: schema.TypeString, Optional: true, Default: CBS_CHARGE_TYPE_POSTPAID, ValidateFunc: validateAllowedStringValue(CBS_CHARGE_TYPE), - Description: "The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`, The default is `POSTPAID_BY_HOUR`.", + Description: "The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.", }, "prepaid_period": { Type: schema.TypeInt, @@ -137,7 +137,7 @@ func resourceTencentCloudCbsStorage() *schema.Resource { "storage_status": { Type: schema.TypeString, Computed: true, - Description: "Status of CBS, and available values include UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.", + Description: "Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING.", }, "attached": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_ccn.go b/tencentcloud/resource_tc_ccn.go index 5727978fa7..184fd691f4 100644 --- a/tencentcloud/resource_tc_ccn.go +++ b/tencentcloud/resource_tc_ccn.go @@ -60,13 +60,13 @@ func resourceTencentCloudCcn() *schema.Resource { ForceNew: true, Default: CNN_QOS_AU, ValidateFunc: validateAllowedStringValue([]string{CNN_QOS_PT, CNN_QOS_AU, CNN_QOS_AG}), - Description: "Service quality of CCN, and the available value include 'PT', 'AU', 'AG'. The default is 'AU'.", + Description: "Service quality of CCN. Valid values: 'PT', 'AU', 'AG'. The default is 'AU'.", }, // Computed values "state": { Type: schema.TypeString, Computed: true, - Description: "States of instance. The available value include 'ISOLATED'(arrears) and 'AVAILABLE'.", + Description: "States of instance. Valid values: 'ISOLATED'(arrears) and 'AVAILABLE'.", }, "instance_count": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_ccn_attachment.go b/tencentcloud/resource_tc_ccn_attachment.go index 0c4c0a488b..2507284f19 100644 --- a/tencentcloud/resource_tc_ccn_attachment.go +++ b/tencentcloud/resource_tc_ccn_attachment.go @@ -100,7 +100,7 @@ func resourceTencentCloudCcnAttachment() *schema.Resource { "state": { Type: schema.TypeString, Computed: true, - Description: "States of instance is attached, and available values include PENDING, ACTIVE, EXPIRED, REJECTED, DELETED, FAILED(asynchronous forced disassociation after 2 hours), ATTACHING, DETACHING and DETACHFAILED(asynchronous forced disassociation after 2 hours).", + Description: "States of instance is attached. Valid values: PENDING, ACTIVE, EXPIRED, REJECTED, DELETED, FAILED, ATTACHING, DETACHING and DETACHFAILED. FAILED means asynchronous forced disassociation after 2 hours. DETACHFAILED means asynchronous forced disassociation after 2 hours.", }, "attached_time": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_cdn_domain.go b/tencentcloud/resource_tc_cdn_domain.go index 800fa1b646..1ac4d036bc 100644 --- a/tencentcloud/resource_tc_cdn_domain.go +++ b/tencentcloud/resource_tc_cdn_domain.go @@ -124,14 +124,14 @@ func resourceTencentCloudCdnDomain() *schema.Resource { Type: schema.TypeString, Optional: true, Default: CDN_SWITCH_OFF, - Description: "When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are `on` and `off`, and default value is `off`.", + Description: "When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are `on` and `off`. and default value is `off`.", }, "origin_pull_protocol": { Type: schema.TypeString, Optional: true, Default: CDN_ORIGIN_PULL_PROTOCOL_HTTP, ValidateFunc: validateAllowedStringValue(CDN_ORIGIN_PULL_PROTOCOL), - Description: "Origin-pull protocol configuration. Valid values are `http`, `https` and `follow`, and default value is `http`.", + Description: "Origin-pull protocol configuration. Valid values are `http`, `https` and `follow`. and default value is `http`.", }, "backup_origin_type": { Type: schema.TypeString, @@ -172,28 +172,28 @@ func resourceTencentCloudCdnDomain() *schema.Resource { Optional: true, Default: CDN_SWITCH_OFF, ValidateFunc: validateAllowedStringValue(CDN_SWITCH), - Description: "HTTP2 configuration switch. Valid values are `on` and `off`, and default value is `off`.", + Description: "HTTP2 configuration switch. Valid values are `on` and `off`. and default value is `off`.", }, "ocsp_stapling_switch": { Type: schema.TypeString, Optional: true, Default: CDN_SWITCH_OFF, ValidateFunc: validateAllowedStringValue(CDN_SWITCH), - Description: "OCSP configuration switch. Valid values are `on` and `off`, and default value is `off`.", + Description: "OCSP configuration switch. Valid values are `on` and `off`. and default value is `off`.", }, "spdy_switch": { Type: schema.TypeString, Optional: true, Default: CDN_SWITCH_OFF, ValidateFunc: validateAllowedStringValue(CDN_SWITCH), - Description: "Spdy configuration switch. Valid values are `on` and `off`, and default value is `off`.", + Description: "Spdy configuration switch. Valid values are `on` and `off`. and default value is `off`.", }, "verify_client": { Type: schema.TypeString, Optional: true, Default: CDN_SWITCH_OFF, ValidateFunc: validateAllowedStringValue(CDN_SWITCH), - Description: "Client certificate authentication feature. Valid values are `on` and `off`, and default value is `off`.", + Description: "Client certificate authentication feature. Valid values are `on` and `off`. and default value is `off`.", }, "server_certificate_config": { Type: schema.TypeList, diff --git a/tencentcloud/resource_tc_cfs_access_rule.go b/tencentcloud/resource_tc_cfs_access_rule.go index 2cabcf7029..ccf7bc632c 100644 --- a/tencentcloud/resource_tc_cfs_access_rule.go +++ b/tencentcloud/resource_tc_cfs_access_rule.go @@ -51,21 +51,21 @@ func resourceTencentCloudCfsAccessRule() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(1, 100), - Description: "The priority level of rule. The range is 1-100, and 1 indicates the highest priority.", + Description: "The priority level of rule. Valid value ranges: 1-100. and 1 indicates the highest priority.", }, "rw_permission": { Type: schema.TypeString, Optional: true, Default: CFS_RW_PERMISSION_RO, ValidateFunc: validateAllowedStringValue(CFS_RW_PERMISSION), - Description: "Read and write permissions. Valid values are `RO` and `RW`, and default is `RO`.", + Description: "Read and write permissions. Valid values are `RO` and `RW`. and default is `RO`.", }, "user_permission": { Type: schema.TypeString, Optional: true, Default: CFS_USER_PERMISSION_ROOT_SQUASH, ValidateFunc: validateAllowedStringValue(CFS_USER_PERMISSION), - Description: "The permissions of accessing users. Valid values are `all_squash`, `no_all_squash`, `root_squash` and `no_root_squash`, and default is `root_squash`. `all_squash` indicates that all access users are mapped as anonymous users or user groups; `no_all_squash` indicates that access users will match local users first and be mapped to anonymous users or user groups after matching failed; `root_squash` indicates that map access root users to anonymous users or user groups; `no_root_squash` indicates that access root users keep root account permission.", + Description: "The permissions of accessing users. Valid values are `all_squash`, `no_all_squash`, `root_squash` and `no_root_squash`. and default is `root_squash`. `all_squash` indicates that all access users are mapped as anonymous users or user groups; `no_all_squash` indicates that access users will match local users first and be mapped to anonymous users or user groups after matching failed; `root_squash` indicates that map access root users to anonymous users or user groups; `no_root_squash` indicates that access root users keep root account permission.", }, }, } diff --git a/tencentcloud/resource_tc_cfs_file_system.go b/tencentcloud/resource_tc_cfs_file_system.go index 2d77fc79ba..40b120ccc5 100644 --- a/tencentcloud/resource_tc_cfs_file_system.go +++ b/tencentcloud/resource_tc_cfs_file_system.go @@ -70,7 +70,7 @@ func resourceTencentCloudCfsFileSystem() *schema.Resource { Default: CFS_PROTOCOL_NFS, ValidateFunc: validateAllowedStringValue(CFS_PROTOCOL), ForceNew: true, - Description: "File service protocol. Valid values are `NFS` and `CIFS`, and the default is `NFS`.", + Description: "File service protocol. Valid values are `NFS` and `CIFS`. and the default is `NFS`.", }, "vpc_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_ckafka_acl.go b/tencentcloud/resource_tc_ckafka_acl.go index 09cd10409e..52eaca8125 100644 --- a/tencentcloud/resource_tc_ckafka_acl.go +++ b/tencentcloud/resource_tc_ckafka_acl.go @@ -56,7 +56,7 @@ func resourceTencentCloudCkafkaAcl() *schema.Resource { Optional: true, Default: "TOPIC", ForceNew: true, - Description: "ACL resource type. Valid values are `UNKNOWN`, `ANY`, `TOPIC`, `GROUP`, `CLUSTER`, `TRANSACTIONAL_ID`, and `TOPIC` by default. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka.", + Description: "ACL resource type. Valid values are `UNKNOWN`, `ANY`, `TOPIC`, `GROUP`, `CLUSTER`, `TRANSACTIONAL_ID`. and `TOPIC` by default. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka.", }, "resource_name": { Type: schema.TypeString, @@ -68,14 +68,14 @@ func resourceTencentCloudCkafkaAcl() *schema.Resource { Type: schema.TypeString, Required: true, ForceNew: true, - Description: "ACL operation mode, valid values are `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS` and `ALTER_CONFIGS`.", + Description: "ACL operation mode. Valid values: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS` and `ALTER_CONFIGS`.", }, "permission_type": { Type: schema.TypeString, Optional: true, Default: "ALLOW", ForceNew: true, - Description: "ACL permission type, valid values are `UNKNOWN`, `ANY`, `DENY`, `ALLOW`, and `ALLOW` by default. Currently, CKafka supports `ALLOW` (equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka.", + Description: "ACL permission type. Valid values: `UNKNOWN`, `ANY`, `DENY`, `ALLOW`. and `ALLOW` by default. Currently, CKafka supports `ALLOW` (equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka.", }, "host": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_ckafka_topic.go b/tencentcloud/resource_tc_ckafka_topic.go index 98b8c514e1..9041a22753 100644 --- a/tencentcloud/resource_tc_ckafka_topic.go +++ b/tencentcloud/resource_tc_ckafka_topic.go @@ -156,7 +156,7 @@ func resourceTencentCloudCkafkaTopic() *schema.Resource { "forward_status": { Type: schema.TypeInt, Computed: true, - Description: "Data backup cos status. 1: do not open data backup, 0: open data backup.", + Description: "Data backup cos status. Valid values: 0, 1. 1: do not open data backup, 0: open data backup.", }, "segment_bytes": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_clb_attachment.go b/tencentcloud/resource_tc_clb_attachment.go index 06a4a64c17..4b9904b5dd 100644 --- a/tencentcloud/resource_tc_clb_attachment.go +++ b/tencentcloud/resource_tc_clb_attachment.go @@ -90,14 +90,14 @@ func resourceTencentCloudClbServerAttachment() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 65535), - Description: "Port of the backend server.", + Description: "Port of the backend server. Valid value ranges: 0-65535.", }, "weight": { Type: schema.TypeInt, Optional: true, Default: 10, ValidateFunc: validateIntegerInRange(0, 100), - Description: "Forwarding weight of the backend service, the range of [0, 100], defaults to 10.", + Description: "Forwarding weight of the backend service. Valid value ranges: [0, 100]. defaults to 10.", }, }, }, diff --git a/tencentcloud/resource_tc_clb_instance.go b/tencentcloud/resource_tc_clb_instance.go index 86c14eeaa1..70977046dc 100644 --- a/tencentcloud/resource_tc_clb_instance.go +++ b/tencentcloud/resource_tc_clb_instance.go @@ -78,7 +78,7 @@ func resourceTencentCloudClbInstance() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(CLB_NETWORK_TYPE), - Description: "Type of CLB instance, and available values include 'OPEN' and 'INTERNAL'.", + Description: "Type of CLB instance. Valid values: 'OPEN' and 'INTERNAL'.", }, "clb_name": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_clb_listener.go b/tencentcloud/resource_tc_clb_listener.go index 1b6f90da7c..5c1f7dbfeb 100644 --- a/tencentcloud/resource_tc_clb_listener.go +++ b/tencentcloud/resource_tc_clb_listener.go @@ -114,7 +114,7 @@ func resourceTencentCloudClbListener() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(CLB_LISTENER_PROTOCOL), - Description: "Type of protocol within the listener, and available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TCP_SSL'.", + Description: "Type of protocol within the listener. Valid values: 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TCP_SSL'.", }, "health_check_switch": { Type: schema.TypeBool, @@ -127,14 +127,14 @@ func resourceTencentCloudClbListener() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(2, 60), - Description: "Response timeout of health check. The value range is 2-60 sec, and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol.", + Description: "Response timeout of health check. Valid value ranges: is 2-60 sec. and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol.", }, "health_check_interval_time": { Type: schema.TypeInt, Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(5, 300), - Description: "Interval time of health check. The value range is 5-300 sec, and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", + Description: "Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", }, "health_check_health_num": { Type: schema.TypeInt, @@ -154,7 +154,7 @@ func resourceTencentCloudClbListener() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(CERT_SSL_MODE), - Description: "Type of certificate, and available values are 'UNIDIRECTIONAL', 'MUTUAL'. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when it is available.", + Description: "Type of certificate. Valid values: 'UNIDIRECTIONAL', 'MUTUAL'. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when it is available.", }, "certificate_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_clb_listener_rule.go b/tencentcloud/resource_tc_clb_listener_rule.go index 84ad5240a4..762e64fd5d 100644 --- a/tencentcloud/resource_tc_clb_listener_rule.go +++ b/tencentcloud/resource_tc_clb_listener_rule.go @@ -84,7 +84,7 @@ func resourceTencentCloudClbListenerRule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(5, 300), - Description: "Interval time of health check. The value range is 5-300 sec, and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", + Description: "Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", }, "health_check_health_num": { Type: schema.TypeInt, @@ -105,7 +105,7 @@ func resourceTencentCloudClbListenerRule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(1, 31), - Description: "HTTP Status Code. The default is 31 and value range is 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol.", + Description: "HTTP Status Code. The default is 31. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol.", }, "health_check_http_path": { Type: schema.TypeString, @@ -156,7 +156,7 @@ func resourceTencentCloudClbListenerRule() *schema.Resource { Optional: true, Default: CLB_LISTENER_SCHEDULER_WRR, ValidateFunc: validateAllowedStringValue(CLB_LISTENER_SCHEDULER), - Description: "Scheduling method of the CLB listener rules, and available values are 'WRR', 'IP HASH' and 'LEAST_CONN'. The default is 'WRR'. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", + Description: "Scheduling method of the CLB listener rules. Valid values: 'WRR', 'IP HASH' and 'LEAST_CONN'. The default is 'WRR'. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", }, }, } diff --git a/tencentcloud/resource_tc_cos_bucket.go b/tencentcloud/resource_tc_cos_bucket.go index 5cc1c51ef8..8e012d27cc 100644 --- a/tencentcloud/resource_tc_cos_bucket.go +++ b/tencentcloud/resource_tc_cos_bucket.go @@ -130,7 +130,7 @@ func resourceTencentCloudCosBucket() *schema.Resource { s3.ObjectCannedACLPublicRead, s3.ObjectCannedACLPublicReadWrite, }), - Description: "The canned ACL to apply. Available values include private, public-read, and public-read-write. Defaults to private.", + Description: "The canned ACL to apply. Valid values: private, public-read, and public-read-write. Defaults to private.", }, "encryption_algorithm": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dayu_cc_http_policy.go b/tencentcloud/resource_tc_dayu_cc_http_policy.go index 38e29c09a7..d39bb4e5c8 100644 --- a/tencentcloud/resource_tc_dayu_cc_http_policy.go +++ b/tencentcloud/resource_tc_dayu_cc_http_policy.go @@ -145,14 +145,14 @@ func resourceTencentCloudDayuCCHttpPolicy() *schema.Resource { Optional: true, Default: "host", ValidateFunc: validateAllowedStringValue(DAYU_CC_POLICY_HTTP_CHECK_TYPE), - Description: "Key of the rule, valid values are `host`, `cgi`, `ua`, `referer`.", + Description: "Key of the rule. Valid values: `host`, `cgi`, `ua`, `referer`.", }, "operator": { Type: schema.TypeString, Optional: true, Default: "include", ValidateFunc: validateAllowedStringValue(DAYU_CC_POLICY_CHECK_OP), - Description: "Operator of the rule, valid values are `include`, `not_include`, `equal`.", + Description: "Operator of the rule. Valid values: `include`, `not_include`, `equal`.", }, "value": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dayu_cc_https_policy.go b/tencentcloud/resource_tc_dayu_cc_https_policy.go index 0a0f139cb5..5bfb78b78f 100644 --- a/tencentcloud/resource_tc_dayu_cc_https_policy.go +++ b/tencentcloud/resource_tc_dayu_cc_https_policy.go @@ -100,13 +100,13 @@ func resourceTencentCloudDayuCCHttpsPolicy() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(DAYU_CC_POLICY_HTTPS_CHECK_TYPE), - Description: "Key of the rule, valid values are `cgi`, `ua` and `referer`.", + Description: "Key of the rule. Valid values are `cgi`, `ua` and `referer`.", }, "operator": { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(DAYU_CC_POLICY_CHECK_OP_HTTPS), - Description: "Operator of the rule, valid values are `include` and `equal`.", + Description: "Operator of the rule. Valid values are `include` and `equal`.", }, "value": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dayu_ddos_policy.go b/tencentcloud/resource_tc_dayu_ddos_policy.go index b0a39296f1..20c459ad86 100644 --- a/tencentcloud/resource_tc_dayu_ddos_policy.go +++ b/tencentcloud/resource_tc_dayu_ddos_policy.go @@ -92,7 +92,7 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue(DAYU_RESOURCE_TYPE), ForceNew: true, - Description: "Type of the resource that the DDoS policy works for, valid values are `bgpip`, `bgp`, `bgp-multip` and `net`.", + Description: "Type of the resource that the DDoS policy works for. Valid values: `bgpip`, `bgp`, `bgp-multip` and `net`.", }, "name": { Type: schema.TypeString, @@ -139,31 +139,31 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of new connections based on destination IP, and valid value is range from 0 to 4294967295.", + Description: "The limit of new connections based on destination IP. Valid value ranges: [0-4294967295].", }, "d_conn_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of concurrent connections based on destination IP, and valid value is range from 0 to 4294967295.", + Description: "The limit of concurrent connections based on destination IP. Valid value ranges: [0-4294967295].", }, "s_new_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of new connections based on source IP, and valid value is range from 0 to 4294967295.", + Description: "The limit of new connections based on source IP. Valid value ranges: [0-4294967295].", }, "s_conn_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of concurrent connections based on source IP, and valid value is range from 0 to 4294967295.", + Description: "The limit of concurrent connections based on source IP. Valid value ranges: [0-4294967295].", }, "bad_conn_threshold": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The number of new connections based on destination IP that trigger suppression of connections, and valid value is range from 0 to 4294967295.", + Description: "The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: [0-4294967295].", }, "null_conn_enable": { Type: schema.TypeBool, @@ -174,43 +174,43 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 65535), - Description: "Connection timeout of abnormal connection check, and valid value is range from 0 to 65535.", + Description: "Connection timeout of abnormal connection check. Valid value ranges: [0-65535].", }, "syn_rate": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 100), - Description: "The percentage of syn in ack of abnormal connection check, and valid value is range from 0 to 100.", + Description: "The percentage of syn in ack of abnormal connection check. Valid value ranges: [0-100].", }, "syn_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 100), - Description: "The limit of syn of abnormal connection check, and valid value is range from 0 to 100.", + Description: "The limit of syn of abnormal connection check. Valid value ranges: [0-100].", }, "tcp_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of TCP traffic, and valid value is range from 0 to 4294967295(Mbps).", + Description: "The limit of TCP traffic. Valid value ranges: [0-4294967295](Mbps).", }, "udp_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of UDP traffic rate, and valid value is range from 0 to 4294967295(Mbps).", + Description: "The limit of UDP traffic rate. Valid value ranges: [0-4294967295](Mbps).", }, "icmp_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of ICMP traffic rate, and valid value is range from 0 to 4294967295(Mbps).", + Description: "The limit of ICMP traffic rate. Valid value ranges: [0-4294967295](Mbps).", }, "other_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate, and valid value is range from 0 to 4294967295(Mbps).", + Description: "The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: [0-4294967295](Mbps).", }, }, }, @@ -225,33 +225,33 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(DAYU_PROTOCOL), - Description: "Protocol, valid values are `tcp`, `udp`, `icmp`, `all`.", + Description: "Protocol. Valid values are `tcp`, `udp`, `icmp`, `all`.", }, "start_port": { Type: schema.TypeInt, Optional: true, Default: 0, ValidateFunc: validatePort, - Description: "Start port, valid value is range from 0 to 65535.", + Description: "Start port. Valid value ranges: [0-65535].", }, "end_port": { Type: schema.TypeInt, Optional: true, Default: 65535, ValidateFunc: validatePort, - Description: "End port, valid value is range from 0 to 65535. It must be greater than `start_port`.", + Description: "End port. Valid value ranges: [0-65535]. It must be greater than `start_port`.", }, "action": { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(DAYU_PORT_ACTION), - Description: "Action of port to take, valid values area `drop`, `transmit`.", + Description: "Action of port to take. Valid values: `drop`, `transmit`.", }, "kind": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateAllowedIntValue([]int{0, 1, 2}), - Description: "The type of forbidden port, and valid values are 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports.", + Description: "The type of forbidden port. Valid values: 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports.", }, }, }, @@ -284,43 +284,43 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(DAYU_PROTOCOL), - Description: "Protocol, valid values are `tcp`, `udp`, `icmp`, `all`.", + Description: "Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`.", }, "d_start_port": { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "Start port of the destination, valid value is range from 0 to 65535.", + Description: "Start port of the destination. Valid value ranges: [0-65535].", }, "d_end_port": { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "End port of the destination, valid value is range from 0 to 65535. It must be greater than `d_start_port`.", + Description: "End port of the destination. Valid value ranges: [0-65535]. It must be greater than `d_start_port`.", }, "s_start_port": { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "Start port of the source, valid value is range from 0 to 65535.", + Description: "Start port of the source. Valid value ranges: [0-65535].", }, "s_end_port": { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "End port of the source, valid value is range from 0 to 65535. It must be greater than `s_start_port`.", + Description: "End port of the source. Valid value ranges: [0-65535]. It must be greater than `s_start_port`.", }, "pkt_length_min": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The minimum length of the packet, and valid value is range from 0 to 1500(Mbps).", + Description: "The minimum length of the packet. Valid value ranges: [0-1500](Mbps).", }, "pkt_length_max": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The max length of the packet, and valid value is range from 0 to 1500(Mbps). It must be greater than `pkt_length_min`.", + Description: "The max length of the packet. Valid value ranges: [0-1500](Mbps). It must be greater than `pkt_length_min`.", }, "match_begin": { Type: schema.TypeString, @@ -332,7 +332,7 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(DAYU_MATCH_TYPE), - Description: "Match type, valid values are `sunday` and `pcre`, `sunday` means key word match while `pcre` means regular match.", + Description: "Match type. Valid values: `sunday` and `pcre`. `sunday` means key word match while `pcre` means regular match.", }, "match_str": { Type: schema.TypeString, @@ -343,13 +343,13 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The depth of match, and valid value is range from 0 to 1500.", + Description: "The depth of match. Valid value ranges: [0-1500].", }, "offset": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The offset of match, and valid value is range from 0 to 1500.", + Description: "The offset of match. Valid value ranges: [0-1500].", }, "is_include": { Type: schema.TypeBool, @@ -361,7 +361,7 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(DAYU_PACKET_ACTION), - Description: "Action of port to take, valid values area `drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet).", + Description: "Action of port to take. Valid values: `drop`, `drop_black`,`drop_rst`,`drop_black_rst`,`transmit`.`drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet).", }, }, }, @@ -394,7 +394,7 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 100), - Description: "The offset of watermark, and valid value is range from 0 to 100.", + Description: "The offset of watermark. Valid value ranges: [0-100].", }, "auto_remove": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_dayu_ddos_policy_attachment.go b/tencentcloud/resource_tc_dayu_ddos_policy_attachment.go index 5f026de637..fe10e71365 100644 --- a/tencentcloud/resource_tc_dayu_ddos_policy_attachment.go +++ b/tencentcloud/resource_tc_dayu_ddos_policy_attachment.go @@ -48,7 +48,7 @@ func resourceTencentCloudDayuDdosPolicyAttachment() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(DAYU_RESOURCE_TYPE), - Description: "Type of the resource that the DDoS policy works for, valid values are `bgpip`, `bgp`, `bgp-multip`, `net`.", + Description: "Type of the resource that the DDoS policy works for. Valid values are `bgpip`, `bgp`, `bgp-multip`, `net`.", }, }, } diff --git a/tencentcloud/resource_tc_dayu_ddos_policy_case.go b/tencentcloud/resource_tc_dayu_ddos_policy_case.go index fed7d76f63..00fa028e67 100644 --- a/tencentcloud/resource_tc_dayu_ddos_policy_case.go +++ b/tencentcloud/resource_tc_dayu_ddos_policy_case.go @@ -61,7 +61,7 @@ func resourceTencentCloudDayuDdosPolicyCase() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue(DAYU_RESOURCE_TYPE_CASE), ForceNew: true, - Description: "Type of the resource that the DDoS policy case works for, valid values are `bgpip`, `bgp` and `bgp-multip`.", + Description: "Type of the resource that the DDoS policy case works for. Valid values: `bgpip`, `bgp` and `bgp-multip`.", }, "name": { Type: schema.TypeString, @@ -75,7 +75,7 @@ func resourceTencentCloudDayuDdosPolicyCase() *schema.Resource { Elem: &schema.Schema{ Type: schema.TypeString, ValidateFunc: validateAllowedStringValue(DAYU_APP_PLATFORM), - Description: "Platform of the DDoS policy case, and valid values are `PC`, `MOBILE`, `TV` and `SERVER`.", + Description: "Platform of the DDoS policy case. Valid values: `PC`, `MOBILE`, `TV` and `SERVER`.", }, Required: true, Description: "Platform set of the DDoS policy case.", @@ -85,7 +85,7 @@ func resourceTencentCloudDayuDdosPolicyCase() *schema.Resource { Elem: &schema.Schema{ Type: schema.TypeString, ValidateFunc: validateAllowedStringValue(DAYU_PROTOCOL), - Description: "App protocol of the DDoS policy case, and valid values are `tcp`, `udp`, `icmp` and `all`.", + Description: "App protocol of the DDoS policy case. Valid values: `tcp`, `udp`, `icmp` and `all`.", }, Required: true, Description: "App protocol set of the DDoS policy case.", @@ -94,67 +94,67 @@ func resourceTencentCloudDayuDdosPolicyCase() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(DAYU_APP_TYPE), //to see the max - Description: "App type of the DDoS policy case, and valid values are `WEB`, `GAME`, `APP` and `OTHER`.", + Description: "App type of the DDoS policy case. Valid values: `WEB`, `GAME`, `APP` and `OTHER`.", }, "tcp_start_port": { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "Start port of the TCP service, valid value is range from 0 to 65535.", + Description: "Start port of the TCP service. Valid value ranges: [0-65535].", }, "tcp_end_port": { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "End port of the TCP service, valid value is range from 0 to 65535. It must be greater than `tcp_start_port`.", + Description: "End port of the TCP service. Valid value ranges: [0-65535]. It must be greater than `tcp_start_port`.", }, "udp_start_port": { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "Start port of the UDP service, valid value is range from 0 to 65535.", + Description: "Start port of the UDP service. Valid value ranges: [0-65535].", }, "udp_end_port": { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "End port of the UDP service, valid value is range from 0 to 65535. It must be greater than `udp_start_port`.", + Description: "End port of the UDP service. Valid value ranges: [0-65535]. It must be greater than `udp_start_port`.", }, "has_abroad": { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(DAYU_BOOL_FLAG), - Description: "Indicate whether the service involves overseas or not, valid values are `no` and `yes`.", + Description: "Indicate whether the service involves overseas or not. Valid values: `no` and `yes`.", }, "has_initiate_tcp": { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(DAYU_BOOL_FLAG), - Description: "Indicate whether the service actively initiates TCP requests or not, valid values are `no` and `yes`.", + Description: "Indicate whether the service actively initiates TCP requests or not. Valid values: `no` and `yes`.", }, "has_initiate_udp": { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(DAYU_BOOL_FLAG), - Description: "Indicate whether the actively initiate UDP requests or not, valid values are `no` and `yes`.", + Description: "Indicate whether the actively initiate UDP requests or not. Valid values: `no` and `yes`.", }, "has_vpn": { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(DAYU_BOOL_FLAG), - Description: "Indicate whether the service involves VPN service or not, valid values are `no` and `yes`.", + Description: "Indicate whether the service involves VPN service or not. Valid values: `no` and `yes`.", }, "peer_tcp_port": { Type: schema.TypeString, Optional: true, ValidateFunc: validatePort, - Description: "The port that actively initiates TCP requests, valid value is range from 1 to 65535.", + Description: "The port that actively initiates TCP requests. Valid value ranges: [1-65535].", }, "peer_udp_port": { Type: schema.TypeString, Optional: true, ValidateFunc: validatePort, - Description: "The port that actively initiates UDP requests, valid value is range from 1 to 65535.", + Description: "The port that actively initiates UDP requests. Valid value ranges: [1-65535].", }, "tcp_footprint": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dayu_l4_rule.go b/tencentcloud/resource_tc_dayu_l4_rule.go index d714b5187e..6ac0288791 100644 --- a/tencentcloud/resource_tc_dayu_l4_rule.go +++ b/tencentcloud/resource_tc_dayu_l4_rule.go @@ -66,7 +66,7 @@ func resourceTencentCloudDayuL4Rule() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue(DAYU_RESOURCE_TYPE_RULE), ForceNew: true, - Description: "Type of the resource that the layer 4 rule works for, valid values are `bgpip` and `net`.", + Description: "Type of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`.", }, "source_type": { Type: schema.TypeInt, @@ -97,7 +97,7 @@ func resourceTencentCloudDayuL4Rule() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(DAYU_L4_RULE_PROTOCOL), - Description: "Protocol of the rule, valid values are `http`, `https`. When `source_type` is 1(host source), the value of this field can only set with `tcp`.", + Description: "Protocol of the rule. Valid values: `http`, `https`. When `source_type` is 1(host source), the value of this field can only set with `tcp`.", }, "source_list": { Type: schema.TypeSet, @@ -177,7 +177,7 @@ func resourceTencentCloudDayuL4Rule() *schema.Resource { "lb_type": { Type: schema.TypeInt, Computed: true, - Description: "LB type of the rule, 1 for weight cycling and 2 for IP hash.", + Description: "LB type of the rule. Valid values: 1, 2. 1 for weight cycling and 2 for IP hash.", }, }, } diff --git a/tencentcloud/resource_tc_dayu_l7_rule.go b/tencentcloud/resource_tc_dayu_l7_rule.go index 2580cd8539..bd8203f880 100644 --- a/tencentcloud/resource_tc_dayu_l7_rule.go +++ b/tencentcloud/resource_tc_dayu_l7_rule.go @@ -71,7 +71,7 @@ func resourceTencentCloudDayuL7Rule() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(DAYU_L7_RULE_PROTOCOL), - Description: "Protocol of the rule, valid values are `http`, `https`.", + Description: "Protocol of the rule. Valid values: `http`, `https`.", }, "name": { Type: schema.TypeString, @@ -117,7 +117,7 @@ func resourceTencentCloudDayuL7Rule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(10, 60), - Description: "Interval time of health check. The value range is 10-60 sec, and the default is 15 sec.", + Description: "Interval time of health check. Valid value ranges: 10-60 sec. The default is 15 sec.", }, "health_check_health_num": { Type: schema.TypeInt, @@ -138,7 +138,7 @@ func resourceTencentCloudDayuL7Rule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(1, 31), - Description: "HTTP Status Code. The default is 26 and value range is 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.", + Description: "HTTP Status Code. The default is 26. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.", }, "health_check_path": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dc_gateway.go b/tencentcloud/resource_tc_dc_gateway.go index baabc5fbcd..a909e13558 100644 --- a/tencentcloud/resource_tc_dc_gateway.go +++ b/tencentcloud/resource_tc_dc_gateway.go @@ -58,7 +58,7 @@ func resourceTencentCloudDcGatewayInstance() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(DCG_NETWORK_TYPES), - Description: "Type of associated network, the available value include 'VPC' and 'CCN'.", + Description: "Type of associated network. Valid value: 'VPC' and 'CCN'.", }, "network_instance_id": { Type: schema.TypeString, @@ -72,14 +72,14 @@ func resourceTencentCloudDcGatewayInstance() *schema.Resource { ForceNew: true, Default: DCG_GATEWAY_TYPE_NORMAL, ValidateFunc: validateAllowedStringValue(DCG_GATEWAY_TYPES), - Description: "Type of the gateway, the available value include 'NORMAL' and 'NAT'. Default is 'NORMAL'. NOTES: CCN only supports 'NORMAL' and a vpc can create two DCGs, the one is NAT type and the other is non-NAT type.", + Description: "Type of the gateway. Valid value: 'NORMAL' and 'NAT'. Default is 'NORMAL'. NOTES: CCN only supports 'NORMAL' and a vpc can create two DCGs, the one is NAT type and the other is non-NAT type.", }, //compute "cnn_route_type": { Type: schema.TypeString, Computed: true, - Description: "Type of CCN route, the available value include 'BGP' and 'STATIC'. The property is available when the DCG type is CCN gateway and BGP enabled.", + Description: "Type of CCN route. Valid value: 'BGP' and 'STATIC'. The property is available when the DCG type is CCN gateway and BGP enabled.", }, "enable_bgp": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_dcx.go b/tencentcloud/resource_tc_dcx.go index 60cf5728b9..366abce93a 100644 --- a/tencentcloud/resource_tc_dcx.go +++ b/tencentcloud/resource_tc_dcx.go @@ -86,7 +86,7 @@ func resourceTencentCloudDcxInstance() *schema.Resource { ForceNew: true, Default: DC_NETWORK_TYPE_VPC, ValidateFunc: validateAllowedStringValue(DC_NETWORK_TYPES), - Description: "Type of the network, and available values include VPC, BMVPC and CCN. The default value is VPC.", + Description: "Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.", }, "vpc_id": { Type: schema.TypeString, @@ -136,7 +136,7 @@ func resourceTencentCloudDcxInstance() *schema.Resource { Optional: true, ForceNew: true, Default: 0, - Description: "Vlan of the dedicated tunnels, and the range of values is [0-3000]. '0' means that only one tunnel can be created for the physical connect.", + Description: "Vlan of the dedicated tunnels. Valid value ranges:[0-3000]. '0' means that only one tunnel can be created for the physical connect.", }, "tencent_address": { Type: schema.TypeString, @@ -163,7 +163,7 @@ func resourceTencentCloudDcxInstance() *schema.Resource { "state": { Type: schema.TypeString, Computed: true, - Description: "State of the dedicated tunnels, and available values include PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.", + Description: "State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.", }, "create_time": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dnat.go b/tencentcloud/resource_tc_dnat.go index 9176e8d388..017af542bc 100644 --- a/tencentcloud/resource_tc_dnat.go +++ b/tencentcloud/resource_tc_dnat.go @@ -69,7 +69,7 @@ func resourceTencentCloudDnat() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue([]string{"TCP", "UDP"}), - Description: "Type of the network protocol, the available values are: `TCP` and `UDP`.", + Description: "Type of the network protocol. Valid value: `TCP` and `UDP`.", }, "elastic_ip": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_eip.go b/tencentcloud/resource_tc_eip.go index e54dd40f4c..d29a92cf2d 100644 --- a/tencentcloud/resource_tc_eip.go +++ b/tencentcloud/resource_tc_eip.go @@ -55,14 +55,14 @@ func resourceTencentCloudEip() *schema.Resource { Default: EIP_TYPE_EIP, ForceNew: true, ValidateFunc: validateAllowedStringValue(EIP_TYPE), - Description: "The type of eip, and available values include `EIP` and `AnycastEIP`. Default is `EIP`.", + Description: "The type of eip. Valid value: `EIP` and `AnycastEIP`. Default is `EIP`.", }, "anycast_zone": { Type: schema.TypeString, Optional: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(EIP_ANYCAST_ZONE), - Description: "The zone of anycast, and available values include `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`.", + Description: "The zone of anycast. Valid value: `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`.", }, "applicable_for_clb": { Type: schema.TypeBool, @@ -75,14 +75,14 @@ func resourceTencentCloudEip() *schema.Resource { Optional: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(EIP_INTERNET_PROVIDER), - Description: "Internet service provider of eip, and available values include `BGP`, `CMCC`, `CTCC` and `CUCC`.", + Description: "Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`.", }, "internet_charge_type": { Type: schema.TypeString, Optional: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(CVM_INTERNET_CHARGE_TYPE), - Description: "The charge type of eip, and available values include `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR` and `TRAFFIC_POSTPAID_BY_HOUR`.", + Description: "The charge type of eip. Valid value: `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR` and `TRAFFIC_POSTPAID_BY_HOUR`.", }, "internet_max_bandwidth_out": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_elasticsearch_instance.go b/tencentcloud/resource_tc_elasticsearch_instance.go index 7375c0acb1..59db730638 100755 --- a/tencentcloud/resource_tc_elasticsearch_instance.go +++ b/tencentcloud/resource_tc_elasticsearch_instance.go @@ -122,7 +122,7 @@ func resourceTencentCloudElasticsearchInstance() *schema.Resource { ForceNew: true, Default: ES_DEPLOY_MODE_SINGLE_REGION, ValidateFunc: validateAllowedIntValue(ES_DEPLOY_MODE), - Description: "Cluster deployment mode. Valid values are `0` and `1`, `0` is single-AZ deployment, and `1` is multi-AZ deployment. Default value is `0`.", + Description: "Cluster deployment mode. Valid values are `0` and `1`. `0` is single-AZ deployment, and `1` is multi-AZ deployment. Default value is `0`.", }, "multi_zone_infos": { Type: schema.TypeList, @@ -150,7 +150,7 @@ func resourceTencentCloudElasticsearchInstance() *schema.Resource { Optional: true, Default: ES_LICENSE_TYPE_PLATINUM, ValidateFunc: validateAllowedStringValue(ES_LICENSE_TYPE), - Description: "License type. Valid values are `oss`, `basic` and `platinum`, and default value is `platinum`.", + Description: "License type. Valid values are `oss`, `basic` and `platinum`. The default value is `platinum`.", }, "node_info_list": { Type: schema.TypeList, @@ -175,14 +175,14 @@ func resourceTencentCloudElasticsearchInstance() *schema.Resource { Optional: true, Default: ES_NODE_TYPE_HOT_DATA, ValidateFunc: validateAllowedStringValue(ES_NODE_TYPE), - Description: "Node type. Valid values are `hotData`, `warmData` and `dedicatedMaster`, and default value is 'hotData`.", + Description: "Node type. Valid values are `hotData`, `warmData` and `dedicatedMaster`. The default value is 'hotData`.", }, "disk_type": { Type: schema.TypeString, Optional: true, Default: CVM_DISK_TYPE_CLOUD_SSD, ValidateFunc: validateAllowedStringValue(ES_NODE_DISK_TYPE), - Description: "Node disk type. Valid values are `CLOUD_SSD` and `CLOUD_PREMIUM`, and default value is `CLOUD_SSD`.", + Description: "Node disk type. Valid values are `CLOUD_SSD` and `CLOUD_PREMIUM`. The default value is `CLOUD_SSD`.", }, "disk_size": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_gaap_certificate.go b/tencentcloud/resource_tc_gaap_certificate.go index c763755659..fe654276f7 100644 --- a/tencentcloud/resource_tc_gaap_certificate.go +++ b/tencentcloud/resource_tc_gaap_certificate.go @@ -45,7 +45,7 @@ func resourceTencentCloudGaapCertificate() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue([]string{"BASIC", "CLIENT", "SERVER", "REALSERVER", "PROXY"}), - Description: "Type of the certificate, the available values include `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`; `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate.", + Description: "Type of the certificate. Valid value: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate.", }, "content": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_gaap_http_rule.go b/tencentcloud/resource_tc_gaap_http_rule.go index 674204c90e..3775584ffa 100644 --- a/tencentcloud/resource_tc_gaap_http_rule.go +++ b/tencentcloud/resource_tc_gaap_http_rule.go @@ -120,14 +120,14 @@ func resourceTencentCloudGaapHttpRule() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue([]string{"IP", "DOMAIN"}), ForceNew: true, - Description: "Type of the realserver, the available values include `IP` and `DOMAIN`.", + Description: "Type of the realserver. Valid value: `IP` and `DOMAIN`.", }, "scheduler": { Type: schema.TypeString, Optional: true, Default: "rr", ValidateFunc: validateAllowedStringValue([]string{"rr", "wrr", "lc"}), - Description: "Scheduling policy of the forward rule, default value is `rr`, the available values include `rr`, `wrr` and `lc`.", + Description: "Scheduling policy of the forward rule, default value is `rr`. Valid value: `rr`, `wrr` and `lc`.", }, "health_check": { Type: schema.TypeBool, @@ -167,7 +167,7 @@ func resourceTencentCloudGaapHttpRule() *schema.Resource { Optional: true, Default: http.MethodHead, ValidateFunc: validateAllowedStringValue([]string{http.MethodGet, http.MethodHead}), - Description: "Method of the health check, the available values includes `GET` and `HEAD`.", + Description: "Method of the health check. Valid value: `GET` and `HEAD`.", }, "health_check_status_codes": { Type: schema.TypeSet, @@ -175,7 +175,7 @@ func resourceTencentCloudGaapHttpRule() *schema.Resource { Elem: &schema.Schema{Type: schema.TypeInt}, Set: schema.HashInt, Computed: true, - Description: "Return code of confirmed normal, the available values include `100`, `200`, `300`, `400` and `500`.", + Description: "Return code of confirmed normal. Valid value: `100`, `200`, `300`, `400` and `500`.", }, "realservers": { Type: schema.TypeSet, @@ -209,7 +209,7 @@ func resourceTencentCloudGaapHttpRule() *schema.Resource { Optional: true, Default: 1, ValidateFunc: validateIntegerInRange(1, 100), - Description: "Scheduling weight, default value is `1`. The range of values is [1,100].", + Description: "Scheduling weight, default value is `1`. Valid value ranges: [1-100].", }, }, }, diff --git a/tencentcloud/resource_tc_gaap_layer4_listener.go b/tencentcloud/resource_tc_gaap_layer4_listener.go index 922105c90b..d1040bea3d 100644 --- a/tencentcloud/resource_tc_gaap_layer4_listener.go +++ b/tencentcloud/resource_tc_gaap_layer4_listener.go @@ -80,7 +80,7 @@ func resourceTencentCloudGaapLayer4Listener() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue([]string{"TCP", "UDP"}), ForceNew: true, - Description: "Protocol of the layer4 listener, the available values include `TCP` and `UDP`.", + Description: "Protocol of the layer4 listener. Valid value: `TCP` and `UDP`.", }, "name": { Type: schema.TypeString, @@ -100,14 +100,14 @@ func resourceTencentCloudGaapLayer4Listener() *schema.Resource { Optional: true, Default: "rr", ValidateFunc: validateAllowedStringValue([]string{"rr", "wrr", "lc"}), - Description: "Scheduling policy of the layer4 listener, default value is `rr`, the available values include `rr`, `wrr` and `lc`.", + Description: "Scheduling policy of the layer4 listener, default value is `rr`. Valid value: `rr`, `wrr` and `lc`.", }, "realserver_type": { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue([]string{"IP", "DOMAIN"}), ForceNew: true, - Description: "Type of the realserver, the available values include `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`.", + Description: "Type of the realserver. Valid value: `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`.", }, "proxy_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_gaap_layer7_listener.go b/tencentcloud/resource_tc_gaap_layer7_listener.go index 8abc02f759..74cdf1ad23 100644 --- a/tencentcloud/resource_tc_gaap_layer7_listener.go +++ b/tencentcloud/resource_tc_gaap_layer7_listener.go @@ -55,7 +55,7 @@ func resourceTencentCloudGaapLayer7Listener() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue([]string{"HTTP", "HTTPS"}), ForceNew: true, - Description: "Protocol of the layer7 listener, the available values include `HTTP` and `HTTPS`.", + Description: "Protocol of the layer7 listener. Valid value: `HTTP` and `HTTPS`.", }, "name": { Type: schema.TypeString, @@ -87,7 +87,7 @@ func resourceTencentCloudGaapLayer7Listener() *schema.Resource { Optional: true, ValidateFunc: validateAllowedStringValue([]string{"HTTP", "HTTPS"}), ForceNew: true, - Description: "Protocol type of the forwarding, the available values include `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol.", + Description: "Protocol type of the forwarding. Valid value: `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol.", }, "auth_type": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_gaap_proxy.go b/tencentcloud/resource_tc_gaap_proxy.go index 4ea5c2d4bf..a2593ea085 100644 --- a/tencentcloud/resource_tc_gaap_proxy.go +++ b/tencentcloud/resource_tc_gaap_proxy.go @@ -65,27 +65,27 @@ func resourceTencentCloudGaapProxy() *schema.Resource { "bandwidth": { Type: schema.TypeInt, Required: true, - Description: "Maximum bandwidth of the GAAP proxy, unit is Mbps, the available values include `10`, `20`, `50`, `100`, `200`, `500` and `1000`.", + Description: "Maximum bandwidth of the GAAP proxy, unit is Mbps. Valid value: `10`, `20`, `50`, `100`, `200`, `500` and `1000`.", }, "concurrent": { Type: schema.TypeInt, Required: true, ValidateFunc: validateAllowedIntValue([]int{2, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100}), - Description: "Maximum concurrency of the GAAP proxy, unit is 10k, the available values include `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`.", + Description: "Maximum concurrency of the GAAP proxy, unit is 10k. Valid value: `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`.", }, "access_region": { Type: schema.TypeString, Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue([]string{"NorthChina", "EastChina", "SouthChina", "SouthwestChina", "Hongkong", "SL_TAIWAN", "SoutheastAsia", "Korea", "SL_India", "SL_Australia", "Europe", "SL_UK", "SL_SouthAmerica", "NorthAmerica", "SL_MiddleUSA", "Canada", "SL_VIET", "WestIndia", "Thailand", "Virginia", "Russia", "Japan", "SL_Indonesia"}), - Description: "Access region of the GAAP proxy, the available values include `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`.", + Description: "Access region of the GAAP proxy. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`.", }, "realserver_region": { Type: schema.TypeString, Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue([]string{"NorthChina", "EastChina", "SouthChina", "SouthwestChina", "Hongkong", "SL_TAIWAN", "SoutheastAsia", "Korea", "SL_India", "SL_Australia", "Europe", "SL_UK", "SL_SouthAmerica", "NorthAmerica", "SL_MiddleUSA", "Canada", "SL_VIET", "WestIndia", "Thailand", "Virginia", "Russia", "Japan", "SL_Indonesia"}), - Description: "Region of the GAAP realserver, the available values include `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`.", + Description: "Region of the GAAP realserver. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`.", }, "enable": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_gaap_security_policy.go b/tencentcloud/resource_tc_gaap_security_policy.go index a0cc53abfc..b2eb1c0c57 100644 --- a/tencentcloud/resource_tc_gaap_security_policy.go +++ b/tencentcloud/resource_tc_gaap_security_policy.go @@ -56,7 +56,7 @@ func resourceTencentCloudGaapSecurityPolicy() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue([]string{"ACCEPT", "DROP"}), ForceNew: true, - Description: "Default policy, the available values include `ACCEPT` and `DROP`.", + Description: "Default policy. Valid value: `ACCEPT` and `DROP`.", }, "enable": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_gaap_security_rule.go b/tencentcloud/resource_tc_gaap_security_rule.go index d5a474aade..a67e79ba7e 100644 --- a/tencentcloud/resource_tc_gaap_security_rule.go +++ b/tencentcloud/resource_tc_gaap_security_rule.go @@ -73,7 +73,7 @@ func resourceTencentCloudGaapSecurityRule() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue([]string{"ACCEPT", "DROP"}), ForceNew: true, - Description: "Policy of the rule, the available values include `ACCEPT` and `DROP`.", + Description: "Policy of the rule. Valid value: `ACCEPT` and `DROP`.", }, "name": { Type: schema.TypeString, @@ -88,7 +88,7 @@ func resourceTencentCloudGaapSecurityRule() *schema.Resource { Default: "ALL", ValidateFunc: validateAllowedStringValue([]string{"ALL", "TCP", "UDP"}), ForceNew: true, - Description: "Protocol of the security policy rule. Default value is `ALL`, the available values include `TCP`, `UDP` and `ALL`.", + Description: "Protocol of the security policy rule. Default value is `ALL`. Valid value: `TCP`, `UDP` and `ALL`.", }, "port": { Type: schema.TypeString, @@ -105,7 +105,7 @@ func resourceTencentCloudGaapSecurityRule() *schema.Resource { } return }, - Description: "Target port. Default value is `ALL`, the available values include `80`, `80,443` and `3306-20000`.", + Description: "Target port. Default value is `ALL`. Valid value: `80`, `80,443` and `3306-20000`.", }, }, } diff --git a/tencentcloud/resource_tc_ha_vip.go b/tencentcloud/resource_tc_ha_vip.go index 67baa73b99..69741094e3 100644 --- a/tencentcloud/resource_tc_ha_vip.go +++ b/tencentcloud/resource_tc_ha_vip.go @@ -74,7 +74,7 @@ func resourceTencentCloudHaVip() *schema.Resource { "state": { Type: schema.TypeString, Computed: true, - Description: "State of the HA VIP, values are `AVAILABLE`, `UNBIND`.", + Description: "State of the HA VIP. Valid value: `AVAILABLE`, `UNBIND`.", }, "instance_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_instance.go b/tencentcloud/resource_tc_instance.go index 8dd3b894e3..d3ab627630 100644 --- a/tencentcloud/resource_tc_instance.go +++ b/tencentcloud/resource_tc_instance.go @@ -244,7 +244,7 @@ func resourceTencentCloudInstance() *schema.Resource { Default: CVM_DISK_TYPE_CLOUD_BASIC, ForceNew: true, ValidateFunc: validateAllowedStringValue(CVM_DISK_TYPE), - Description: "Type of the system disk. Valid values are `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_SSD` and `CLOUD_PREMIUM`, default value is `CLOUD_BASIC`. NOTE: `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.", + Description: "Type of the system disk. Valid values are `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_SSD` and `CLOUD_PREMIUM`. default value is `CLOUD_BASIC`. NOTE: `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.", }, "system_disk_size": { Type: schema.TypeInt, @@ -252,7 +252,7 @@ func resourceTencentCloudInstance() *schema.Resource { Default: 50, ForceNew: true, ValidateFunc: validateIntegerInRange(50, 1000), - Description: "Size of the system disk. Value range: [50, 1000], and unit is GB. Default is 50GB.", + Description: "Size of the system disk. Valid value ranges: [50, 1000]. and unit is GB. Default is 50GB.", }, "system_disk_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_kubernetes_as_scaling_group.go b/tencentcloud/resource_tc_kubernetes_as_scaling_group.go index 8144764cac..a20a21b520 100644 --- a/tencentcloud/resource_tc_kubernetes_as_scaling_group.go +++ b/tencentcloud/resource_tc_kubernetes_as_scaling_group.go @@ -145,7 +145,7 @@ func kubernetesAsScalingConfigPara() map[string]*schema.Schema { ForceNew: true, Default: SYSTEM_DISK_TYPE_CLOUD_PREMIUM, ValidateFunc: validateAllowedStringValue(SYSTEM_DISK_ALLOW_TYPE), - Description: "Type of a CVM disk, and available values include CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.", + Description: "Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.", }, "system_disk_size": { Type: schema.TypeInt, @@ -169,7 +169,7 @@ func kubernetesAsScalingConfigPara() map[string]*schema.Schema { ForceNew: true, Default: SYSTEM_DISK_TYPE_CLOUD_PREMIUM, ValidateFunc: validateAllowedStringValue(SYSTEM_DISK_ALLOW_TYPE), - Description: "Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD.", + Description: "Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD.", }, "disk_size": { Type: schema.TypeInt, @@ -193,7 +193,7 @@ func kubernetesAsScalingConfigPara() map[string]*schema.Schema { ForceNew: true, Default: INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID_BY_HOUR, ValidateFunc: validateAllowedStringValue(INTERNET_CHARGE_ALLOW_TYPE), - Description: "Charge types for network traffic. Available values include `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.", + Description: "Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.", }, "internet_max_bandwidth_out": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_lb.go b/tencentcloud/resource_tc_lb.go index 995a651e01..04b12acf10 100644 --- a/tencentcloud/resource_tc_lb.go +++ b/tencentcloud/resource_tc_lb.go @@ -48,7 +48,7 @@ func resourceTencentCloudLB() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue([]string{lbNetworkTypeOpen, lbNetworkTypeInternal}), - Description: "The network type of the LB, valid choices: 'OPEN', 'INTERNAL'.", + Description: "The network type of the LB. Valid value: 'OPEN', 'INTERNAL'.", }, "forward": { Type: schema.TypeString, @@ -56,7 +56,7 @@ func resourceTencentCloudLB() *schema.Resource { ForceNew: true, Computed: true, ValidateFunc: validateAllowedStringValue([]string{lbForwardTypeClassic, lbForwardTypeApplication}), - Description: "The type of the LB, valid choices: 'CLASSIC', 'APPLICATION'.", + Description: "The type of the LB. Valid value: 'CLASSIC', 'APPLICATION'.", }, "name": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_monitor_binding_receiver.go b/tencentcloud/resource_tc_monitor_binding_receiver.go index c3b112d09f..1fb0f046ca 100644 --- a/tencentcloud/resource_tc_monitor_binding_receiver.go +++ b/tencentcloud/resource_tc_monitor_binding_receiver.go @@ -75,7 +75,7 @@ func resourceTencentMonitorBindingAlarmReceiver() *schema.Resource { Optional: true, Default: 0, ValidateFunc: validateIntegerInRange(0, 86399), - Description: "Alarm period start time.Range [0,86399], which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'.", + Description: "Alarm period start time. Valid value ranges: [0-86399]. which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'.", }, "end_time": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_monitor_policy_group.go b/tencentcloud/resource_tc_monitor_policy_group.go index 6110baaaaa..7810712b05 100644 --- a/tencentcloud/resource_tc_monitor_policy_group.go +++ b/tencentcloud/resource_tc_monitor_policy_group.go @@ -104,7 +104,7 @@ func resourceTencentMonitorPolicyGroup() *schema.Resource { Optional: true, Default: 0, ValidateFunc: validateAllowedIntValue([]int{0, 1}), - Description: "The and or relation of indicator alarm rule, 0 represents or rule (if any rule is met, the alarm will be raised), 1 represents and rule (if all rules are met, the alarm will be raised).The default is 0.", + Description: "The and or relation of indicator alarm rule.Valid values: 0, 1. 0 represents or rule (if any rule is met, the alarm will be raised), 1 represents and rule (if all rules are met, the alarm will be raised).The default is 0.", }, "conditions": { Type: schema.TypeList, @@ -133,7 +133,7 @@ func resourceTencentMonitorPolicyGroup() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(1, 12), - Description: "Compare type, 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`.", + Description: "Compare type. Valid value ranges: [1-12]. 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`.", }, "calc_value": { Type: schema.TypeFloat, @@ -220,12 +220,12 @@ func resourceTencentMonitorPolicyGroup() *schema.Resource { Type: schema.TypeList, Elem: &schema.Schema{Type: schema.TypeString}, Computed: true, - Description: `Method of warning notification.Optional "SMS", "SITE", "EMAIL", "CALL", "WECHAT".`, + Description: `Method of warning notification. Valid values: "SMS", "SITE", "EMAIL", "CALL", "WECHAT".`, }, "receiver_type": { Type: schema.TypeString, Computed: true, - Description: "Receive type, 'group' (receiving group) or 'user' (receiver).", + Description: "Receive type.Valid values: group, user. 'group' (receiving group) or 'user' (receiver).", }, "round_number": { Type: schema.TypeInt, @@ -251,7 +251,7 @@ func resourceTencentMonitorPolicyGroup() *schema.Resource { Type: schema.TypeList, Elem: &schema.Schema{Type: schema.TypeString}, Computed: true, - Description: `Telephone warning time.Option "OCCUR","RECOVER".`, + Description: `Telephone warning time. Valid values: "OCCUR","RECOVER".`, }, "recover_notify": { Type: schema.TypeList, diff --git a/tencentcloud/resource_tc_mysql_account_privilege.go b/tencentcloud/resource_tc_mysql_account_privilege.go index 6fa8b5e170..4740f5413e 100644 --- a/tencentcloud/resource_tc_mysql_account_privilege.go +++ b/tencentcloud/resource_tc_mysql_account_privilege.go @@ -69,7 +69,7 @@ func resourceTencentCloudMysqlAccountPrivilege() *schema.Resource { "privileges": { Optional: true, Type: schema.TypeSet, - Description: `Database permissions. Available values for Privileges: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE TEMPORARY TABLES", "LOCK TABLES","EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", and "TRIGGER".`, + Description: `Database permissions. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE TEMPORARY TABLES", "LOCK TABLES","EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", and "TRIGGER".`, Elem: &schema.Schema{ Type: schema.TypeString, ValidateFunc: validateAllowedStringValueIgnoreCase(MYSQL_DATABASE_PRIVILEGE), diff --git a/tencentcloud/resource_tc_mysql_backup_policy.go b/tencentcloud/resource_tc_mysql_backup_policy.go index 5c2a8968f8..32d40d819f 100644 --- a/tencentcloud/resource_tc_mysql_backup_policy.go +++ b/tencentcloud/resource_tc_mysql_backup_policy.go @@ -44,7 +44,7 @@ func resourceTencentCloudMysqlBackupPolicy() *schema.Resource { ValidateFunc: validateIntegerInRange(7, 732), Optional: true, Default: 7, - Description: "Instance backup retention days. Valid values: [7-730]. And default value is 7.", + Description: "Instance backup retention days. Valid value ranges: [7-730]. And default value is 7.", }, "backup_model": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_mysql_instance.go b/tencentcloud/resource_tc_mysql_instance.go index 990dccb6ee..6cddf02216 100644 --- a/tencentcloud/resource_tc_mysql_instance.go +++ b/tencentcloud/resource_tc_mysql_instance.go @@ -69,7 +69,7 @@ func TencentMsyqlBasicInfo() map[string]*schema.Schema { return true }, Default: -1, - Description: "Pay type of instance, 0: prepaid, 1: postpaid.", + Description: "Pay type of instance. Valid values:0, 1. 0: prepaid, 1: postpaid.", }, "charge_type": { Type: schema.TypeString, @@ -92,7 +92,7 @@ func TencentMsyqlBasicInfo() map[string]*schema.Schema { } return olds == news }, - Description: "Pay type of instance, valid values are `PREPAID`, `POSTPAID`. Default is `POSTPAID`.", + Description: "Pay type of instance. Valid values:`PREPAID`, `POSTPAID`. Default is `POSTPAID`.", }, "period": { Type: schema.TypeInt, @@ -129,7 +129,7 @@ func TencentMsyqlBasicInfo() map[string]*schema.Schema { Optional: true, ValidateFunc: validateIntegerInRange(1024, 65535), Default: 3306, - Description: "Public access port, rang form 1024 to 65535 and default value is 3306.", + Description: "Public access port. Valid value ranges: [1024-65535]. The default value is 3306.", }, "mem_size": { Type: schema.TypeInt, @@ -186,12 +186,12 @@ func TencentMsyqlBasicInfo() map[string]*schema.Schema { "locked": { Type: schema.TypeInt, Computed: true, - Description: "Indicates whether the instance is locked. 0 - No; 1 - Yes.", + Description: "Indicates whether the instance is locked.Valid values: 0, 1. 0 - No; 1 - Yes.", }, "status": { Type: schema.TypeInt, Computed: true, - Description: "Instance status. Available values: 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.", + Description: "Instance status. Valid values: 0,1,4,5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated.", }, "task_status": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_nat_gateway.go b/tencentcloud/resource_tc_nat_gateway.go index 2db90e5055..f71ccd6740 100644 --- a/tencentcloud/resource_tc_nat_gateway.go +++ b/tencentcloud/resource_tc_nat_gateway.go @@ -62,13 +62,13 @@ func resourceTencentCloudNatGateway() *schema.Resource { Optional: true, Default: 1000000, ValidateFunc: validateAllowedIntValue([]int{1000000, 3000000, 10000000}), - Description: "The upper limit of concurrent connection of NAT gateway, the available values include: 1000000,3000000,10000000. Default is 1000000.", + Description: "The upper limit of concurrent connection of NAT gateway. Valid values: 1000000,3000000,10000000. Default is 1000000.", }, "bandwidth": { Type: schema.TypeInt, Optional: true, Default: 100, - Description: "The maximum public network output bandwidth of NAT gateway (unit: Mbps), the available values include: 20,50,100,200,500,1000,2000,5000. Default is 100.", + Description: "The maximum public network output bandwidth of NAT gateway (unit: Mbps). Valid values: 20,50,100,200,500,1000,2000,5000. Default is 100.", }, "assigned_eip_set": { Type: schema.TypeSet, diff --git a/tencentcloud/resource_tc_placement_group.go b/tencentcloud/resource_tc_placement_group.go index eca29c148b..a40b431bec 100644 --- a/tencentcloud/resource_tc_placement_group.go +++ b/tencentcloud/resource_tc_placement_group.go @@ -50,7 +50,7 @@ func resourceTencentCloudPlacementGroup() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(CVM_PLACEMENT_GROUP_TYPE), - Description: "Type of the placement group, the available values include `HOST`,`SW` and `RACK`.", + Description: "Type of the placement group. Valid values: `HOST`,`SW` and `RACK`.", }, // computed diff --git a/tencentcloud/resource_tc_postgresql_instance.go b/tencentcloud/resource_tc_postgresql_instance.go index 9d1ce282b4..931e58a7a6 100644 --- a/tencentcloud/resource_tc_postgresql_instance.go +++ b/tencentcloud/resource_tc_postgresql_instance.go @@ -68,7 +68,7 @@ func resourceTencentCloudPostgresqlInstance() *schema.Resource { ForceNew: true, Optional: true, Default: "9.3.5", - Description: "Version of the postgresql database engine. Allowed values are `9.3.5`, `9.5.4`, `10.4`.", + Description: "Version of the postgresql database engine.Valid values: `9.3.5`, `9.5.4`, `10.4`.", }, "vpc_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_redis_backup_config.go b/tencentcloud/resource_tc_redis_backup_config.go index c7b3425715..bc92590cad 100644 --- a/tencentcloud/resource_tc_redis_backup_config.go +++ b/tencentcloud/resource_tc_redis_backup_config.go @@ -67,7 +67,7 @@ func resourceTencentCloudRedisBackupConfig() *schema.Resource { Type: schema.TypeSet, Required: true, Elem: &schema.Schema{Type: schema.TypeString}, - Description: "Specifys which day the backup action should take place. Supported values include: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.", + Description: "Specifys which day the backup action should take place. Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.", }, }, } diff --git a/tencentcloud/resource_tc_redis_instance.go b/tencentcloud/resource_tc_redis_instance.go index 3e0a83093b..d8c7d00e06 100644 --- a/tencentcloud/resource_tc_redis_instance.go +++ b/tencentcloud/resource_tc_redis_instance.go @@ -192,7 +192,7 @@ func resourceTencentCloudRedisInstance() *schema.Resource { ForceNew: true, Default: REDIS_CHARGE_TYPE_POSTPAID, ValidateFunc: validateAllowedStringValue([]string{REDIS_CHARGE_TYPE_POSTPAID, REDIS_CHARGE_TYPE_PREPAID}), - Description: "The charge type of instance. Valid values are `PREPAID` and `POSTPAID`. Default value is `POSTPAID`. Note: TencentCloud International only supports `POSTPAID`. Caution that update operation on this field will delete old instances and create new with new charge type.", + Description: "The charge type of instance. Valid values: `PREPAID` and `POSTPAID`. Default value is `POSTPAID`. Note: TencentCloud International only supports `POSTPAID`. Caution that update operation on this field will delete old instances and create new with new charge type.", }, "prepaid_period": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_route_entry.go b/tencentcloud/resource_tc_route_entry.go index 633a8f0671..eef20d2cf3 100644 --- a/tencentcloud/resource_tc_route_entry.go +++ b/tencentcloud/resource_tc_route_entry.go @@ -110,7 +110,7 @@ func resourceTencentCloudRouteEntry() *schema.Resource { } return }, - Description: "The next hop type. Available value is `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway` and `instance`. `instance` points to CVM Instance.", + Description: "The next hop type. Valid values: `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway` and `instance`. `instance` points to CVM Instance.", }, "next_hub": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_route_table_entry.go b/tencentcloud/resource_tc_route_table_entry.go index db3e299615..e295c91209 100644 --- a/tencentcloud/resource_tc_route_table_entry.go +++ b/tencentcloud/resource_tc_route_table_entry.go @@ -84,7 +84,7 @@ func resourceTencentCloudVpcRouteEntry() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(ALL_GATE_WAY_TYPES), - Description: "Type of next-hop, and available values include CVM, VPN, DIRECTCONNECT, PEERCONNECTION, SSLVPN, NAT, NORMAL_CVM, EIP and CCN.", + Description: "Type of next-hop. Valid values: CVM, VPN, DIRECTCONNECT, PEERCONNECTION, SSLVPN, NAT, NORMAL_CVM, EIP and CCN.", }, "next_hub": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_security_group_rule.go b/tencentcloud/resource_tc_security_group_rule.go index a343001ede..974afb062b 100644 --- a/tencentcloud/resource_tc_security_group_rule.go +++ b/tencentcloud/resource_tc_security_group_rule.go @@ -82,7 +82,7 @@ func resourceTencentCloudSecurityGroupRule() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValueIgnoreCase([]string{"ingress", "egress"}), - Description: "Type of the security group rule, the available value include `ingress` and `egress`.", + Description: "Type of the security group rule. Valid values: `ingress` and `egress`.", }, "cidr_ip": { Type: schema.TypeString, @@ -110,7 +110,7 @@ func resourceTencentCloudSecurityGroupRule() *schema.Resource { ForceNew: true, Computed: true, ValidateFunc: validateAllowedStringValueIgnoreCase([]string{"TCP", "UDP", "ICMP"}), - Description: "Type of ip protocol, the available value include `TCP`, `UDP` and `ICMP`. Default to all types protocol.", + Description: "Type of ip protocol. Valid values: `TCP`, `UDP` and `ICMP`. Default to all types protocol.", }, "port_range": { Type: schema.TypeString, @@ -132,7 +132,7 @@ func resourceTencentCloudSecurityGroupRule() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValueIgnoreCase([]string{"ACCEPT", "DROP"}), - Description: "Rule policy of security group, the available value include `ACCEPT` and `DROP`.", + Description: "Rule policy of security group. Valid values: `ACCEPT` and `DROP`.", }, "source_sgid": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_sqlserver_account.go b/tencentcloud/resource_tc_sqlserver_account.go index dbe56de897..d878a42815 100644 --- a/tencentcloud/resource_tc_sqlserver_account.go +++ b/tencentcloud/resource_tc_sqlserver_account.go @@ -75,7 +75,7 @@ func resourceTencentCloudSqlserverAccount() *schema.Resource { "status": { Type: schema.TypeInt, Computed: true, - Description: "Status of the SQL Server account. 1 for creating, 2 for running, 3 for modifying, 4 for resetting password, -1 for deleting.", + Description: "Status of the SQL Server account. Valid values: 1,2,3,4. 1 for creating, 2 for running, 3 for modifying, 4 for resetting password, -1 for deleting.", }, "create_time": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_sqlserver_account_db_attachment.go b/tencentcloud/resource_tc_sqlserver_account_db_attachment.go index 98e96f34dd..fef9e6b841 100644 --- a/tencentcloud/resource_tc_sqlserver_account_db_attachment.go +++ b/tencentcloud/resource_tc_sqlserver_account_db_attachment.go @@ -63,7 +63,7 @@ func resourceTencentCloudSqlserverAccountDBAttachment() *schema.Resource { "privilege": { Type: schema.TypeString, Required: true, - Description: "Privilege of the account on DB. Valid value are `ReadOnly`, `ReadWrite`.", + Description: "Privilege of the account on DB. Valid values: `ReadOnly`, `ReadWrite`.", }, }, } diff --git a/tencentcloud/resource_tc_sqlserver_readonly_instance.go b/tencentcloud/resource_tc_sqlserver_readonly_instance.go index d4df4dce45..29c03d3165 100644 --- a/tencentcloud/resource_tc_sqlserver_readonly_instance.go +++ b/tencentcloud/resource_tc_sqlserver_readonly_instance.go @@ -49,7 +49,7 @@ func resourceTencentCloudSqlserverReadonlyInstance() *schema.Resource { ForceNew: true, Required: true, ValidateFunc: validateAllowedIntValue([]int{1, 3}), - Description: "Type of readonly group. 1 for one auto-assigned readonly instance per one readonly group, 2 for creating new readonly group, 3 for all exist readonly instances stay in the exist readonly group. For now, only 1 and 3 are supported.", + Description: "Type of readonly group. Valid values: 1,3. 1 for one auto-assigned readonly instance per one readonly group, 2 for creating new readonly group, 3 for all exist readonly instances stay in the exist readonly group. For now, only 1 and 3 are supported.", }, "force_upgrade": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_ssl_certificate.go b/tencentcloud/resource_tc_ssl_certificate.go index e03d125fd1..9b19e7d676 100644 --- a/tencentcloud/resource_tc_ssl_certificate.go +++ b/tencentcloud/resource_tc_ssl_certificate.go @@ -56,7 +56,7 @@ func resourceTencentCloudSslCertificate() *schema.Resource { Required: true, ValidateFunc: validateAllowedStringValue(SSL_CERT_TYPE), ForceNew: true, - Description: "Type of the SSL certificate. Available values includes: `CA` and `SVR`.", + Description: "Type of the SSL certificate. Valid values: `CA` and `SVR`.", }, "project_id": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_tcaplus_cluster.go b/tencentcloud/resource_tc_tcaplus_cluster.go index 3c73caed13..d38e714001 100644 --- a/tencentcloud/resource_tc_tcaplus_cluster.go +++ b/tencentcloud/resource_tc_tcaplus_cluster.go @@ -54,7 +54,7 @@ func resourceTencentCloudTcaplusCluster() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validateAllowedStringValue(TCAPLUS_IDL_TYPES), - Description: "IDL type of the TcaplusDB cluster. Valid values are PROTO and TDR.", + Description: "IDL type of the TcaplusDB cluster. Valid values: PROTO and TDR.", }, "cluster_name": { Type: schema.TypeString, @@ -131,7 +131,7 @@ func resourceTencentCloudTcaplusCluster() *schema.Resource { "password_status": { Type: schema.TypeString, Computed: true, - 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.", + Description: "Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, `modifiable`. `unmodifiable`, which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment.", }, "api_access_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_tcaplus_table.go b/tencentcloud/resource_tc_tcaplus_table.go index cca23bf024..6a3b3f5cd0 100644 --- a/tencentcloud/resource_tc_tcaplus_table.go +++ b/tencentcloud/resource_tc_tcaplus_table.go @@ -125,7 +125,7 @@ func resourceTencentCloudTcaplusTable() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validateAllowedStringValue(TCAPLUS_TABLE_IDL_TYPES), - Description: "IDL type of the TcaplusDB table. Valid values are PROTO and TDR.", + Description: "IDL type of the TcaplusDB table. Valid values: PROTO and TDR.", }, "reserved_read_cu": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_vpn_connection.go b/tencentcloud/resource_tc_vpn_connection.go index af64556518..927ed6b4dd 100644 --- a/tencentcloud/resource_tc_vpn_connection.go +++ b/tencentcloud/resource_tc_vpn_connection.go @@ -135,35 +135,35 @@ func resourceTencentCloudVpnConnection() *schema.Resource { Optional: true, Default: VPN_IKE_PROPO_ENCRY_ALGORITHM_3DESCBC, ValidateFunc: validateAllowedStringValue(VPN_IKE_PROPO_ENCRY_ALGORITHM), - Description: "Proto encrypt algorithm of the IKE operation specification, valid values are `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`.", + Description: "Proto encrypt algorithm of the IKE operation specification. Valid values: `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`.", }, "ike_proto_authen_algorithm": { Type: schema.TypeString, Optional: true, Default: VPN_IKE_PROPO_AUTHEN_ALGORITHM_MD5, ValidateFunc: validateAllowedStringValue(VPN_IKE_PROPO_AUTHEN_ALGORITHM), - Description: "Proto authenticate algorithm of the IKE operation specification, valid values are `MD5`, `SHA`. Default Value is `MD5`.", + Description: "Proto authenticate algorithm of the IKE operation specification. Valid values: `MD5`, `SHA`. Default Value is `MD5`.", }, "ike_exchange_mode": { Type: schema.TypeString, Optional: true, Default: VPN_IKE_EXCHANGE_MODE_MAIN, ValidateFunc: validateAllowedStringValue(VPN_IKE_EXCHANGE_MODE), - Description: "Exchange mode of the IKE operation specification, valid values are `AGGRESSIVE`, `MAIN`. Default value is `MAIN`.", + Description: "Exchange mode of the IKE operation specification. Valid values: `AGGRESSIVE`, `MAIN`. Default value is `MAIN`.", }, "ike_local_identity": { Type: schema.TypeString, Optional: true, Default: VPN_IKE_IDENTITY_ADDRESS, ValidateFunc: validateAllowedStringValue(VPN_IKE_IDENTITY), - Description: "Local identity way of IKE operation specification, valid values are `ADDRESS`, `FQDN`. Default value is `ADDRESS`.", + Description: "Local identity way of IKE operation specification. Valid values: `ADDRESS`, `FQDN`. Default value is `ADDRESS`.", }, "ike_remote_identity": { Type: schema.TypeString, Optional: true, Default: VPN_IKE_IDENTITY_ADDRESS, ValidateFunc: validateAllowedStringValue(VPN_IKE_IDENTITY), - Description: "Remote identity way of IKE operation specification, valid values are `ADDRESS`, `FQDN`. Default value is `ADDRESS`.", + Description: "Remote identity way of IKE operation specification. Valid values: `ADDRESS`, `FQDN`. Default value is `ADDRESS`.", }, "ike_local_address": { Type: schema.TypeString, @@ -194,7 +194,7 @@ func resourceTencentCloudVpnConnection() *schema.Resource { Optional: true, Default: VPN_IKE_DH_GROUP_NAME_GROUP1, ValidateFunc: validateAllowedStringValue(VPN_IKE_DH_GROUP_NAME), - Description: "DH group name of the IKE operation specification, valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`. Default value is `GROUP1`.", + Description: "DH group name of the IKE operation specification. Valid values: `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`. Default value is `GROUP1`.", }, "ike_sa_lifetime_seconds": { Type: schema.TypeInt, @@ -214,28 +214,28 @@ func resourceTencentCloudVpnConnection() *schema.Resource { Optional: true, Default: VPN_IPSEC_ENCRY_ALGORITHM_3DESCBC, ValidateFunc: validateAllowedStringValue(VPN_IPSEC_ENCRY_ALGORITHM), - Description: "Encrypt algorithm of the IPSEC operation specification, valid values are `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`.", + Description: "Encrypt algorithm of the IPSEC operation specification. Valid values: `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`.", }, "ipsec_integrity_algorithm": { Type: schema.TypeString, Optional: true, Default: VPN_IPSEC_INTEGRITY_ALGORITHM_MD5, ValidateFunc: validateAllowedStringValue(VPN_IPSEC_INTEGRITY_ALGORITHM), - Description: "Integrity algorithm of the IPSEC operation specification, valid values are `SHA1`, `MD5`. Default value is `MD5`.", + Description: "Integrity algorithm of the IPSEC operation specification. Valid values: `SHA1`, `MD5`. Default value is `MD5`.", }, "ipsec_sa_lifetime_seconds": { Type: schema.TypeInt, Optional: true, Default: 3600, ValidateFunc: validateIntegerInRange(180, 604800), - Description: "SA lifetime of the IPSEC operation specification, unit is `second`. The value ranges from 180 to 604800. Default value is 3600 seconds.", + Description: "SA lifetime of the IPSEC operation specification, unit is `second`. Valid value ranges: [180-604800]. Default value is 3600 seconds.", }, "ipsec_pfs_dh_group": { Type: schema.TypeString, Optional: true, Default: "NULL", ValidateFunc: validateAllowedStringValue(VPN_IPSEC_PFS_DH_GROUP_NAME), - Description: "PFS DH group, valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`.", + Description: "PFS DH group. Valid value: `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`.", }, "ipsec_sa_lifetime_traffic": { Type: schema.TypeInt, @@ -272,12 +272,12 @@ func resourceTencentCloudVpnConnection() *schema.Resource { "state": { Type: schema.TypeString, Computed: true, - Description: "State of the connection, values are `PENDING`, `AVAILABLE`, `DELETING`.", + Description: "State of the connection. Valid value: `PENDING`, `AVAILABLE`, `DELETING`.", }, "net_status": { Type: schema.TypeString, Computed: true, - Description: "Net status of the VPN connection, values are `AVAILABLE`.", + Description: "Net status of the VPN connection. Valid value: `AVAILABLE`.", }, }, } diff --git a/tencentcloud/resource_tc_vpn_gateway.go b/tencentcloud/resource_tc_vpn_gateway.go index 1b3f58c2c3..48e88387e6 100644 --- a/tencentcloud/resource_tc_vpn_gateway.go +++ b/tencentcloud/resource_tc_vpn_gateway.go @@ -102,31 +102,31 @@ func resourceTencentCloudVpnGateway() *schema.Resource { Type: schema.TypeString, Computed: true, Optional: true, - Description: "Type of gateway instance, valid values are `IPSEC`, `SSL` and `CCN`. Note: CCN type is only for whitelist customer now.", + Description: "Type of gateway instance. Valid value: `IPSEC`, `SSL` and `CCN`. Note: CCN type is only for whitelist customer now.", }, "state": { Type: schema.TypeString, Computed: true, - Description: "State of the VPN gateway, valid values are `PENDING`, `DELETING`, `AVAILABLE`.", + Description: "State of the VPN gateway. Valid value: `PENDING`, `DELETING`, `AVAILABLE`.", }, "prepaid_renew_flag": { Type: schema.TypeString, Optional: true, Default: VPN_PERIOD_PREPAID_RENEW_FLAG_AUTO_NOTIFY, - Description: "Flag indicates whether to renew or not, valid values are `NOTIFY_AND_RENEW`, `NOTIFY_AND_AUTO_RENEW`, `NOT_NOTIFY_AND_NOT_RENEW`. This para can only be set to take effect in create operation.", + Description: "Flag indicates whether to renew or not. Valid value: `NOTIFY_AND_RENEW`, `NOTIFY_AND_AUTO_RENEW`, `NOT_NOTIFY_AND_NOT_RENEW`. This para can only be set to take effect in create operation.", }, "prepaid_period": { Type: schema.TypeInt, Optional: true, Default: 1, ValidateFunc: validateAllowedIntValue([]int{1, 2, 3, 4, 6, 7, 8, 9, 12, 24, 36}), - Description: "Period of instance to be prepaid. Valid values are 1, 2, 3, 4, 6, 7, 8, 9, 12, 24, 36 and unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be set to take effect in create operation.", + Description: "Period of instance to be prepaid. Valid value: 1, 2, 3, 4, 6, 7, 8, 9, 12, 24, 36. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be set to take effect in create operation.", }, "charge_type": { Type: schema.TypeString, Optional: true, Default: VPN_CHARGE_TYPE_POSTPAID_BY_HOUR, - Description: "Charge Type of the VPN gateway, valid values are `PREPAID`, `POSTPAID_BY_HOUR` and default is `POSTPAID_BY_HOUR`.", + Description: "Charge Type of the VPN gateway. Valid value: `PREPAID`, `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.", }, "expired_time": { Type: schema.TypeString, @@ -141,12 +141,12 @@ func resourceTencentCloudVpnGateway() *schema.Resource { "new_purchase_plan": { Type: schema.TypeString, Computed: true, - Description: "The plan of new purchase, valid value is `PREPAID_TO_POSTPAID`.", + Description: "The plan of new purchase. Valid value: `PREPAID_TO_POSTPAID`.", }, "restrict_state": { Type: schema.TypeString, Computed: true, - Description: "Restrict state of gateway, valid values are `PRETECIVELY_ISOLATED`, `NORMAL`.", + Description: "Restrict state of gateway. Valid value: `PRETECIVELY_ISOLATED`, `NORMAL`.", }, "zone": { Type: schema.TypeString, diff --git a/website/docs/r/as_lifecycle_hook.html.markdown b/website/docs/r/as_lifecycle_hook.html.markdown index 3ed444a2a2..bb35b05c8c 100644 --- a/website/docs/r/as_lifecycle_hook.html.markdown +++ b/website/docs/r/as_lifecycle_hook.html.markdown @@ -31,13 +31,13 @@ resource "tencentcloud_as_lifecycle_hook" "lifecycle_hook" { The following arguments are supported: * `lifecycle_hook_name` - (Required) The name of the lifecycle hook. -* `lifecycle_transition` - (Required) The instance state to which you want to attach the lifecycle hook. The valid values are INSTANCE_LAUNCHING and INSTANCE_TERMINATING. +* `lifecycle_transition` - (Required) The instance state to which you want to attach the lifecycle hook. Valid values: INSTANCE_LAUNCHING and INSTANCE_TERMINATING. * `scaling_group_id` - (Required, ForceNew) ID of a scaling group. -* `default_result` - (Optional) Defines the action the AS group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is CONTINUE. -* `heartbeat_timeout` - (Optional) Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. The range is 30 to 3600, and default value is 300. +* `default_result` - (Optional) Defines the action the AS group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. Valid values: CONTINUE and ABANDON. The default value is CONTINUE. +* `heartbeat_timeout` - (Optional) Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: [30-3600]. and default value is 300. * `notification_metadata` - (Optional) Contains additional information that you want to include any time AS sends a message to the notification target. * `notification_queue_name` - (Optional) For CMQ_QUEUE type, a name of queue must be set. -* `notification_target_type` - (Optional) Target type, which can be CMQ_QUEUE or CMQ_TOPIC. +* `notification_target_type` - (Optional) Target type. Valid values: CMQ_QUEUE, CMQ_TOPIC. * `notification_topic_name` - (Optional) For CMQ_TOPIC type, a name of topic must be set. ## Attributes Reference diff --git a/website/docs/r/as_scaling_config.html.markdown b/website/docs/r/as_scaling_config.html.markdown index b1c56c6df1..7f99ba1add 100644 --- a/website/docs/r/as_scaling_config.html.markdown +++ b/website/docs/r/as_scaling_config.html.markdown @@ -52,7 +52,7 @@ The following arguments are supported: * `enhanced_monitor_service` - (Optional) To specify whether to enable cloud monitor service. Default is TRUE. * `enhanced_security_service` - (Optional) To specify whether to enable cloud security service. Default is TRUE. * `instance_tags` - (Optional) A list of tags used to associate different resources. -* `internet_charge_type` - (Optional) Charge types for network traffic. Available values include `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. +* `internet_charge_type` - (Optional) Charge types for network traffic. Valid values: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. * `internet_max_bandwidth_out` - (Optional) Max bandwidth of Internet access in Mbps. Default is 0. * `keep_image_login` - (Optional) Specify whether to keep original settings of a CVM image. And it can't be used with password or key_ids together. * `key_ids` - (Optional) ID list of keys. @@ -61,13 +61,13 @@ The following arguments are supported: * `public_ip_assigned` - (Optional) Specify whether to assign an Internet IP address. * `security_group_ids` - (Optional) Security groups to which a CVM instance belongs. * `system_disk_size` - (Optional) Volume of system disk in GB. Default is 50. -* `system_disk_type` - (Optional) Type of a CVM disk, and available values include CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM. +* `system_disk_type` - (Optional) Type of a CVM disk. Valid values: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM. * `user_data` - (Optional) ase64-encoded User Data text, the length limit is 16KB. The `data_disk` object supports the following: * `disk_size` - (Optional) Volume of disk in GB. Default is 0. -* `disk_type` - (Optional) Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD. +* `disk_type` - (Optional) Types of disk. Valid values: CLOUD_PREMIUM and CLOUD_SSD. * `snapshot_id` - (Optional) Data disk snapshot ID. ## Attributes Reference diff --git a/website/docs/r/as_scaling_group.html.markdown b/website/docs/r/as_scaling_group.html.markdown index 43247b6cf6..42132dd893 100644 --- a/website/docs/r/as_scaling_group.html.markdown +++ b/website/docs/r/as_scaling_group.html.markdown @@ -45,8 +45,8 @@ resource "tencentcloud_as_scaling_group" "scaling_group" { The following arguments are supported: * `configuration_id` - (Required) An available ID for a launch configuration. -* `max_size` - (Required) Maximum number of CVM instances (0~2000). -* `min_size` - (Required) Minimum number of CVM instances (0~2000). +* `max_size` - (Required) Maximum number of CVM instances. Valid value ranges: (0~2000). +* `min_size` - (Required) Minimum number of CVM instances. Valid value ranges: (0~2000). * `scaling_group_name` - (Required) Name of a scaling group. * `vpc_id` - (Required) ID of VPC network. * `default_cooldown` - (Optional) Default cooldown time in second, and default value is 300. @@ -54,10 +54,10 @@ The following arguments are supported: * `forward_balancer_ids` - (Optional) List of application load balancers, which can't be specified with load_balancer_ids together. * `load_balancer_ids` - (Optional) ID list of traditional load balancers. * `project_id` - (Optional) Specifies to which project the scaling group belongs. -* `retry_policy` - (Optional) Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS. +* `retry_policy` - (Optional) Available values for retry policies. Valid values: IMMEDIATE_RETRY and INCREMENTAL_INTERVALS. * `subnet_ids` - (Optional) ID list of subnet, and for VPC it is required. * `tags` - (Optional) Tags of a scaling group. -* `termination_policies` - (Optional) Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE. +* `termination_policies` - (Optional) Available values for termination policies. Valid values: OLDEST_INSTANCE and NEWEST_INSTANCE. * `zones` - (Optional) List of available zones, for Basic network it is required. The `forward_balancer_ids` object supports the following: diff --git a/website/docs/r/as_scaling_policy.html.markdown b/website/docs/r/as_scaling_policy.html.markdown index 02cf75da25..01255b03bc 100644 --- a/website/docs/r/as_scaling_policy.html.markdown +++ b/website/docs/r/as_scaling_policy.html.markdown @@ -33,18 +33,18 @@ resource "tencentcloud_as_scaling_policy" "scaling_policy" { The following arguments are supported: -* `adjustment_type` - (Required) Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Available values include CHANGE_IN_CAPACITY, EXACT_CAPACITY and PERCENT_CHANGE_IN_CAPACITY. +* `adjustment_type` - (Required) Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values: CHANGE_IN_CAPACITY, EXACT_CAPACITY and PERCENT_CHANGE_IN_CAPACITY. * `adjustment_value` - (Required) Define the number of instances by which to scale.For CHANGE_IN_CAPACITY type or PERCENT_CHANGE_IN_CAPACITY, a positive increment adds to the current capacity and a negative value removes from the current capacity. For EXACT_CAPACITY type, it defines an absolute number of the existing Auto Scaling group size. -* `comparison_operator` - (Required) Comparison operator, of which valid values can be GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, EQUAL_TO and NOT_EQUAL_TO. -* `continuous_time` - (Required) Retry times (1~10). -* `metric_name` - (Required) Name of an indicator, which can be CPU_UTILIZATION, MEM_UTILIZATION, LAN_TRAFFIC_OUT, LAN_TRAFFIC_IN, WAN_TRAFFIC_OUT and WAN_TRAFFIC_IN. -* `period` - (Required) Time period in second, of which valid values can be 60 and 300. +* `comparison_operator` - (Required) Comparison operator. Valid values: GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, EQUAL_TO and NOT_EQUAL_TO. +* `continuous_time` - (Required) Retry times. Valid value ranges: (1~10). +* `metric_name` - (Required) Name of an indicator. Valid values: CPU_UTILIZATION, MEM_UTILIZATION, LAN_TRAFFIC_OUT, LAN_TRAFFIC_IN, WAN_TRAFFIC_OUT and WAN_TRAFFIC_IN. +* `period` - (Required) Time period in second. Valid values: 60 and 300. * `policy_name` - (Required) Name of a policy used to define a reaction when an alarm is triggered. * `scaling_group_id` - (Required, ForceNew) ID of a scaling group. * `threshold` - (Required) Alarm threshold. * `cooldown` - (Optional) Cooldwon time in second. Default is 300. * `notification_user_group_ids` - (Optional) An ID group of users to be notified when an alarm is triggered. -* `statistic` - (Optional) Statistic types, include AVERAGE, MAXIMUM and MINIMUM. Default is AVERAGE. +* `statistic` - (Optional) Statistic types. Valid values: AVERAGE, MAXIMUM and MINIMUM. Default is AVERAGE. ## Attributes Reference diff --git a/website/docs/r/audit.html.markdown b/website/docs/r/audit.html.markdown index f098b13834..df6b0fa893 100644 --- a/website/docs/r/audit.html.markdown +++ b/website/docs/r/audit.html.markdown @@ -32,7 +32,7 @@ The following arguments are supported: * `cos_bucket` - (Required) Name of the cos bucket to save audit log. Caution: the validation of existing cos bucket will not be checked by terraform. * `cos_region` - (Required) Region of the cos bucket. * `name` - (Required, ForceNew) Name of audit. Valid length ranges from 3 to 128. Only alpha character or numbers or `_` supported. -* `read_write_attribute` - (Required) Event attribute filter. 1 for readonly, 2 for writeonly, 3 for all. +* `read_write_attribute` - (Required) Event attribute filter. Valid values: 1,2,3. 1 for readonly, 2 for writeonly, 3 for all. * `enable_kms_encry` - (Optional) Indicate whether the log is encrypt with KMS algorithm or not. * `key_id` - (Optional) Existing CMK unique key. This field can be get by data source `tencentcloud_audit_key_alias`. Caution: the region of the KMS must be as same as the `cos_region`. * `log_file_prefix` - (Optional) The log file name prefix. The length ranges from 3 to 40. If not set, the account ID will be the log file prefix. diff --git a/website/docs/r/cam_policy.html.markdown b/website/docs/r/cam_policy.html.markdown index fbb6879584..d2083494fc 100644 --- a/website/docs/r/cam_policy.html.markdown +++ b/website/docs/r/cam_policy.html.markdown @@ -50,7 +50,7 @@ In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. * `create_time` - Create time of the CAM policy. -* `type` - Type of the policy strategy. 1 means customer strategy and 2 means preset strategy. +* `type` - Type of the policy strategy. Valid values: 1,2. 1 means customer strategy and 2 means preset strategy. * `update_time` - The last update time of the CAM policy. diff --git a/website/docs/r/cbs_snapshot_policy.html.markdown b/website/docs/r/cbs_snapshot_policy.html.markdown index 3502fe8522..ebb6df6db0 100644 --- a/website/docs/r/cbs_snapshot_policy.html.markdown +++ b/website/docs/r/cbs_snapshot_policy.html.markdown @@ -26,8 +26,8 @@ resource "tencentcloud_cbs_snapshot_policy" "snapshot_policy" { The following arguments are supported: -* `repeat_hours` - (Required) Trigger times of periodic snapshot, the available values are 0 to 23. The 0 means 00:00, and so on. -* `repeat_weekdays` - (Required) Periodic snapshot is enabled, the available values are [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday. +* `repeat_hours` - (Required) Trigger times of periodic snapshot. Valid value ranges: [0-23]. The 0 means 00:00, and so on. +* `repeat_weekdays` - (Required) Periodic snapshot is enabled. Valid values: [0, 1, 2, 3, 4, 5, 6]. 0 means Sunday, 1-6 means Monday to Saturday. * `snapshot_policy_name` - (Required) Name of snapshot policy. The maximum length can not exceed 60 bytes. * `retention_days` - (Optional) Retention days of the snapshot, and the default value is 7. diff --git a/website/docs/r/cbs_storage.html.markdown b/website/docs/r/cbs_storage.html.markdown index a35f26fd5c..6eec7d2d2b 100644 --- a/website/docs/r/cbs_storage.html.markdown +++ b/website/docs/r/cbs_storage.html.markdown @@ -35,11 +35,11 @@ The following arguments are supported: * `availability_zone` - (Required, ForceNew) The available zone that the CBS instance locates at. * `storage_name` - (Required) Name of CBS. The maximum length can not exceed 60 bytes. * `storage_size` - (Required) Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are [10-16000]. -* `storage_type` - (Required, ForceNew) Type of CBS medium, and available values include CLOUD_BASIC, CLOUD_PREMIUM and CLOUD_SSD. -* `charge_type` - (Optional) The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`, The default is `POSTPAID_BY_HOUR`. +* `storage_type` - (Required, ForceNew) Type of CBS medium. Valid values: CLOUD_BASIC, CLOUD_PREMIUM and CLOUD_SSD. +* `charge_type` - (Optional) The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. * `encrypt` - (Optional, ForceNew) Indicates whether CBS is encrypted. * `force_delete` - (Optional) Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. -* `period` - (Optional, **Deprecated**) It has been deprecated from version 1.33.0. Set `prepaid_period` instead. The purchased usage period of CBS, and value range [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]. +* `period` - (Optional, **Deprecated**) It has been deprecated from version 1.33.0. Set `prepaid_period` instead. The purchased usage period of CBS. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]. * `prepaid_period` - (Optional) The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. * `prepaid_renew_flag` - (Optional) When enabled, the CBS instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are `NOTIFY_AND_AUTO_RENEW`, `NOTIFY_AND_MANUAL_RENEW` and `DISABLE_NOTIFY_AND_MANUAL_RENEW`. NOTE: it only works when charge_type is set to `PREPAID`. * `project_id` - (Optional) ID of the project to which the instance belongs. @@ -52,7 +52,7 @@ In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. * `attached` - Indicates whether the CBS is mounted the CVM. -* `storage_status` - Status of CBS, and available values include UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING. +* `storage_status` - Status of CBS. Valid values: UNATTACHED, ATTACHING, ATTACHED, DETACHING, EXPANDING, ROLLBACKING, TORECYCLE and DUMPING. ## Import diff --git a/website/docs/r/ccn.html.markdown b/website/docs/r/ccn.html.markdown index d1631b37fb..7e80b6e67d 100644 --- a/website/docs/r/ccn.html.markdown +++ b/website/docs/r/ccn.html.markdown @@ -27,7 +27,7 @@ The following arguments are supported: * `name` - (Required) Name of the CCN to be queried, and maximum length does not exceed 60 bytes. * `description` - (Optional) Description of CCN, and maximum length does not exceed 100 bytes. -* `qos` - (Optional, ForceNew) Service quality of CCN, and the available value include 'PT', 'AU', 'AG'. The default is 'AU'. +* `qos` - (Optional, ForceNew) Service quality of CCN. Valid values: 'PT', 'AU', 'AG'. The default is 'AU'. * `tags` - (Optional) Instance tag. ## Attributes Reference @@ -37,7 +37,7 @@ In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. * `create_time` - Creation time of resource. * `instance_count` - Number of attached instances. -* `state` - States of instance. The available value include 'ISOLATED'(arrears) and 'AVAILABLE'. +* `state` - States of instance. Valid values: 'ISOLATED'(arrears) and 'AVAILABLE'. ## Import diff --git a/website/docs/r/ccn_attachment.html.markdown b/website/docs/r/ccn_attachment.html.markdown index c2de9859f6..4ab9424182 100644 --- a/website/docs/r/ccn_attachment.html.markdown +++ b/website/docs/r/ccn_attachment.html.markdown @@ -72,6 +72,6 @@ In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. * `attached_time` - Time of attaching. * `cidr_block` - A network address block of the instance that is attached. -* `state` - States of instance is attached, and available values include PENDING, ACTIVE, EXPIRED, REJECTED, DELETED, FAILED(asynchronous forced disassociation after 2 hours), ATTACHING, DETACHING and DETACHFAILED(asynchronous forced disassociation after 2 hours). +* `state` - States of instance is attached. Valid values: PENDING, ACTIVE, EXPIRED, REJECTED, DELETED, FAILED, ATTACHING, DETACHING and DETACHFAILED. FAILED means asynchronous forced disassociation after 2 hours. DETACHFAILED means asynchronous forced disassociation after 2 hours. diff --git a/website/docs/r/cdn_domain.html.markdown b/website/docs/r/cdn_domain.html.markdown index b8cdad0b9a..405139c6d9 100644 --- a/website/docs/r/cdn_domain.html.markdown +++ b/website/docs/r/cdn_domain.html.markdown @@ -61,11 +61,11 @@ The `https_config` object supports the following: * `https_switch` - (Required) HTTPS configuration switch. Valid values are `on` and `off`. * `client_certificate_config` - (Optional) Client certificate configuration information. -* `http2_switch` - (Optional) HTTP2 configuration switch. Valid values are `on` and `off`, and default value is `off`. -* `ocsp_stapling_switch` - (Optional) OCSP configuration switch. Valid values are `on` and `off`, and default value is `off`. +* `http2_switch` - (Optional) HTTP2 configuration switch. Valid values are `on` and `off`. and default value is `off`. +* `ocsp_stapling_switch` - (Optional) OCSP configuration switch. Valid values are `on` and `off`. and default value is `off`. * `server_certificate_config` - (Optional) Server certificate configuration information. -* `spdy_switch` - (Optional) Spdy configuration switch. Valid values are `on` and `off`, and default value is `off`. -* `verify_client` - (Optional) Client certificate authentication feature. Valid values are `on` and `off`, and default value is `off`. +* `spdy_switch` - (Optional) Spdy configuration switch. Valid values are `on` and `off`. and default value is `off`. +* `verify_client` - (Optional) Client certificate authentication feature. Valid values are `on` and `off`. and default value is `off`. The `origin` object supports the following: @@ -74,8 +74,8 @@ The `origin` object supports the following: * `backup_origin_list` - (Optional) Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding `backup_origin_type`. * `backup_origin_type` - (Optional) Backup origin server type. Valid values are `domain` and `ip`. * `backup_server_name` - (Optional) Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default. -* `cos_private_access` - (Optional) When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are `on` and `off`, and default value is `off`. -* `origin_pull_protocol` - (Optional) Origin-pull protocol configuration. Valid values are `http`, `https` and `follow`, and default value is `http`. +* `cos_private_access` - (Optional) When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are `on` and `off`. and default value is `off`. +* `origin_pull_protocol` - (Optional) Origin-pull protocol configuration. Valid values are `http`, `https` and `follow`. and default value is `http`. * `server_name` - (Optional) Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default. The `server_certificate_config` object supports the following: diff --git a/website/docs/r/cfs_access_rule.html.markdown b/website/docs/r/cfs_access_rule.html.markdown index 13193cf37a..088d9222ef 100644 --- a/website/docs/r/cfs_access_rule.html.markdown +++ b/website/docs/r/cfs_access_rule.html.markdown @@ -29,9 +29,9 @@ The following arguments are supported: * `access_group_id` - (Required, ForceNew) ID of a access group. * `auth_client_ip` - (Required) A single IP or a single IP address range such as 10.1.10.11 or 10.10.1.0/24 indicates that all IPs are allowed. Please note that the IP entered should be CVM's private IP. -* `priority` - (Required) The priority level of rule. The range is 1-100, and 1 indicates the highest priority. -* `rw_permission` - (Optional) Read and write permissions. Valid values are `RO` and `RW`, and default is `RO`. -* `user_permission` - (Optional) The permissions of accessing users. Valid values are `all_squash`, `no_all_squash`, `root_squash` and `no_root_squash`, and default is `root_squash`. `all_squash` indicates that all access users are mapped as anonymous users or user groups; `no_all_squash` indicates that access users will match local users first and be mapped to anonymous users or user groups after matching failed; `root_squash` indicates that map access root users to anonymous users or user groups; `no_root_squash` indicates that access root users keep root account permission. +* `priority` - (Required) The priority level of rule. Valid value ranges: 1-100. and 1 indicates the highest priority. +* `rw_permission` - (Optional) Read and write permissions. Valid values are `RO` and `RW`. and default is `RO`. +* `user_permission` - (Optional) The permissions of accessing users. Valid values are `all_squash`, `no_all_squash`, `root_squash` and `no_root_squash`. and default is `root_squash`. `all_squash` indicates that all access users are mapped as anonymous users or user groups; `no_all_squash` indicates that access users will match local users first and be mapped to anonymous users or user groups after matching failed; `root_squash` indicates that map access root users to anonymous users or user groups; `no_root_squash` indicates that access root users keep root account permission. ## Attributes Reference diff --git a/website/docs/r/cfs_file_system.html.markdown b/website/docs/r/cfs_file_system.html.markdown index 0e6f1a2a6c..bf6ab2e3fb 100644 --- a/website/docs/r/cfs_file_system.html.markdown +++ b/website/docs/r/cfs_file_system.html.markdown @@ -34,7 +34,7 @@ The following arguments are supported: * `vpc_id` - (Required, ForceNew) ID of a VPC network. * `mount_ip` - (Optional, ForceNew) IP of mount point. * `name` - (Optional) Name of a file system. -* `protocol` - (Optional, ForceNew) File service protocol. Valid values are `NFS` and `CIFS`, and the default is `NFS`. +* `protocol` - (Optional, ForceNew) File service protocol. Valid values are `NFS` and `CIFS`. and the default is `NFS`. * `tags` - (Optional) Instance tags. ## Attributes Reference diff --git a/website/docs/r/ckafka_acl.html.markdown b/website/docs/r/ckafka_acl.html.markdown index 5e52af01be..bcbdc5801d 100644 --- a/website/docs/r/ckafka_acl.html.markdown +++ b/website/docs/r/ckafka_acl.html.markdown @@ -32,12 +32,12 @@ resource "tencentcloud_ckafka_acl" "foo" { The following arguments are supported: * `instance_id` - (Required, ForceNew) Id of the ckafka instance. -* `operation_type` - (Required, ForceNew) ACL operation mode, valid values are `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS` and `ALTER_CONFIGS`. +* `operation_type` - (Required, ForceNew) ACL operation mode. Valid values: `UNKNOWN`, `ANY`, `ALL`, `READ`, `WRITE`, `CREATE`, `DELETE`, `ALTER`, `DESCRIBE`, `CLUSTER_ACTION`, `DESCRIBE_CONFIGS` and `ALTER_CONFIGS`. * `resource_name` - (Required, ForceNew) ACL resource name, which is related to `resource_type`. For example, if `resource_type` is `TOPIC`, this field indicates the topic name; if `resource_type` is `GROUP`, this field indicates the group name. * `host` - (Optional, ForceNew) IP address allowed to access. The default value is `*`, which means that any host can access. -* `permission_type` - (Optional, ForceNew) ACL permission type, valid values are `UNKNOWN`, `ANY`, `DENY`, `ALLOW`, and `ALLOW` by default. Currently, CKafka supports `ALLOW` (equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. +* `permission_type` - (Optional, ForceNew) ACL permission type. Valid values: `UNKNOWN`, `ANY`, `DENY`, `ALLOW`. and `ALLOW` by default. Currently, CKafka supports `ALLOW` (equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. * `principal` - (Optional, ForceNew) User list. The default value is `*`, which means that any user can access. The current user can only be one included in the user list. -* `resource_type` - (Optional, ForceNew) ACL resource type. Valid values are `UNKNOWN`, `ANY`, `TOPIC`, `GROUP`, `CLUSTER`, `TRANSACTIONAL_ID`, and `TOPIC` by default. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka. +* `resource_type` - (Optional, ForceNew) ACL resource type. Valid values are `UNKNOWN`, `ANY`, `TOPIC`, `GROUP`, `CLUSTER`, `TRANSACTIONAL_ID`. and `TOPIC` by default. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka. ## Attributes Reference diff --git a/website/docs/r/ckafka_topic.html.markdown b/website/docs/r/ckafka_topic.html.markdown index 8bff8eaf41..1b1f40e29d 100644 --- a/website/docs/r/ckafka_topic.html.markdown +++ b/website/docs/r/ckafka_topic.html.markdown @@ -57,7 +57,7 @@ In addition to all arguments above, the following attributes are exported: * `create_time` - Create time of the CKafka topic. * `forward_cos_bucket` - Data backup cos bucket: the bucket address that is dumped to cos. * `forward_interval` - Periodic frequency of data backup to cos. -* `forward_status` - Data backup cos status. 1: do not open data backup, 0: open data backup. +* `forward_status` - Data backup cos status. Valid values: 0, 1. 1: do not open data backup, 0: open data backup. * `message_storage_location` - Message storage location. * `segment_bytes` - Number of bytes rolled by shard. diff --git a/website/docs/r/clb_attachment.html.markdown b/website/docs/r/clb_attachment.html.markdown index 2fa00451a2..b8968370bf 100644 --- a/website/docs/r/clb_attachment.html.markdown +++ b/website/docs/r/clb_attachment.html.markdown @@ -39,8 +39,8 @@ The following arguments are supported: The `targets` object supports the following: * `instance_id` - (Required) Id of the backend server. -* `port` - (Required) Port of the backend server. -* `weight` - (Optional) Forwarding weight of the backend service, the range of [0, 100], defaults to 10. +* `port` - (Required) Port of the backend server. Valid value ranges: 0-65535. +* `weight` - (Optional) Forwarding weight of the backend service. Valid value ranges: [0, 100]. defaults to 10. ## Attributes Reference diff --git a/website/docs/r/clb_instance.html.markdown b/website/docs/r/clb_instance.html.markdown index d95718cf82..43f60524d4 100644 --- a/website/docs/r/clb_instance.html.markdown +++ b/website/docs/r/clb_instance.html.markdown @@ -52,7 +52,7 @@ resource "tencentcloud_clb_instance" "open_clb" { The following arguments are supported: * `clb_name` - (Required) Name of the CLB. The name can only contain Chinese characters, English letters, numbers, underscore and hyphen '-'. -* `network_type` - (Required, ForceNew) Type of CLB instance, and available values include 'OPEN' and 'INTERNAL'. +* `network_type` - (Required, ForceNew) Type of CLB instance. Valid values: 'OPEN' and 'INTERNAL'. * `project_id` - (Optional, ForceNew) Id of the project within the CLB instance, '0' - Default Project. * `security_groups` - (Optional) Security groups of the CLB instance. Only supports 'OPEN' CLBs. * `subnet_id` - (Optional, ForceNew) Subnet id of the CLB. Effective only for CLB within the VPC. Only supports 'INTERNAL' CLBs. diff --git a/website/docs/r/clb_listener.html.markdown b/website/docs/r/clb_listener.html.markdown index 4339e949f9..54cae3ef74 100644 --- a/website/docs/r/clb_listener.html.markdown +++ b/website/docs/r/clb_listener.html.markdown @@ -83,14 +83,14 @@ The following arguments are supported: * `clb_id` - (Required, ForceNew) Id of the CLB. * `listener_name` - (Required) Name of the CLB listener, and available values can only be Chinese characters, English letters, numbers, underscore and hyphen '-'. -* `protocol` - (Required, ForceNew) Type of protocol within the listener, and available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TCP_SSL'. +* `protocol` - (Required, ForceNew) Type of protocol within the listener. Valid values: 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TCP_SSL'. * `certificate_ca_id` - (Optional) Id of the client certificate. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when the ssl mode is 'MUTUAL'. * `certificate_id` - (Optional) Id of the server certificate. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when it is available. -* `certificate_ssl_mode` - (Optional) Type of certificate, and available values are 'UNIDIRECTIONAL', 'MUTUAL'. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when it is available. +* `certificate_ssl_mode` - (Optional) Type of certificate. Valid values: 'UNIDIRECTIONAL', 'MUTUAL'. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when it is available. * `health_check_health_num` - (Optional) Health threshold of health check, and the default is 3. If a success result is returned for the health check for 3 consecutive times, the backend CVM is identified as healthy. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. -* `health_check_interval_time` - (Optional) Interval time of health check. The value range is 5-300 sec, and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. +* `health_check_interval_time` - (Optional) Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `health_check_switch` - (Optional) Indicates whether health check is enabled. -* `health_check_time_out` - (Optional) Response timeout of health check. The value range is 2-60 sec, and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol. +* `health_check_time_out` - (Optional) Response timeout of health check. Valid value ranges: is 2-60 sec. and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol. * `health_check_unhealth_num` - (Optional) Unhealthy threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, the CVM is identified as unhealthy. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `port` - (Optional, ForceNew) Port of the CLB listener. * `scheduler` - (Optional) Scheduling method of the CLB listener, and available values are 'WRR' and 'LEAST_CONN'. The default is 'WRR'. NOTES: The listener of HTTP and 'HTTPS' protocol additionally supports the 'IP Hash' method. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. diff --git a/website/docs/r/clb_listener_rule.html.markdown b/website/docs/r/clb_listener_rule.html.markdown index 49dbd0ecb3..38b8d5a37e 100644 --- a/website/docs/r/clb_listener_rule.html.markdown +++ b/website/docs/r/clb_listener_rule.html.markdown @@ -49,14 +49,14 @@ The following arguments are supported: * `certificate_id` - (Optional, ForceNew) Id of the server certificate. NOTES: Only supports listeners of 'HTTPS' protocol. * `certificate_ssl_mode` - (Optional, ForceNew) Type of certificate, and available values inclue 'UNIDIRECTIONAL', 'MUTUAL'. NOTES: Only supports listeners of 'HTTPS' protocol. * `health_check_health_num` - (Optional) Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. -* `health_check_http_code` - (Optional) HTTP Status Code. The default is 31 and value range is 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. +* `health_check_http_code` - (Optional) HTTP Status Code. The default is 31. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. * `health_check_http_domain` - (Optional) Domain name of health check. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. * `health_check_http_method` - (Optional) Methods of health check. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. The default is 'HEAD', the available value are 'HEAD' and 'GET'. * `health_check_http_path` - (Optional) Path of health check. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. -* `health_check_interval_time` - (Optional) Interval time of health check. The value range is 5-300 sec, and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. +* `health_check_interval_time` - (Optional) Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `health_check_switch` - (Optional) Indicates whether health check is enabled. * `health_check_unhealth_num` - (Optional) Unhealthy threshold of health check, and the default is 3. If the unhealth result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. -* `scheduler` - (Optional) Scheduling method of the CLB listener rules, and available values are 'WRR', 'IP HASH' and 'LEAST_CONN'. The default is 'WRR'. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. +* `scheduler` - (Optional) Scheduling method of the CLB listener rules. Valid values: 'WRR', 'IP HASH' and 'LEAST_CONN'. The default is 'WRR'. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `session_expire_time` - (Optional) Time of session persistence within the CLB listener. NOTES: Available when scheduler is specified as 'WRR', and not available when listener protocol is 'TCP_SSL'. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. ## Attributes Reference diff --git a/website/docs/r/cos_bucket.html.markdown b/website/docs/r/cos_bucket.html.markdown index 3de5d1ddd9..bddbd01518 100644 --- a/website/docs/r/cos_bucket.html.markdown +++ b/website/docs/r/cos_bucket.html.markdown @@ -79,7 +79,7 @@ resource "tencentcloud_cos_bucket" "mycos" { The following arguments are supported: * `bucket` - (Required, ForceNew) The name of a bucket to be created. Bucket format should be [custom name]-[appid], for example `mycos-1258798060`. -* `acl` - (Optional) The canned ACL to apply. Available values include private, public-read, and public-read-write. Defaults to private. +* `acl` - (Optional) The canned ACL to apply. Valid values: private, public-read, and public-read-write. Defaults to private. * `cors_rules` - (Optional) A rule of Cross-Origin Resource Sharing (documented below). * `encryption_algorithm` - (Optional) The server-side encryption algorithm to use. Valid value is `AES256`. * `lifecycle_rules` - (Optional) A configuration of object lifecycle management (documented below). diff --git a/website/docs/r/dayu_cc_http_policy.html.markdown b/website/docs/r/dayu_cc_http_policy.html.markdown index 30c65a0b4e..9983156005 100644 --- a/website/docs/r/dayu_cc_http_policy.html.markdown +++ b/website/docs/r/dayu_cc_http_policy.html.markdown @@ -90,8 +90,8 @@ The following arguments are supported: The `rule_list` object supports the following: -* `operator` - (Optional) Operator of the rule, valid values are `include`, `not_include`, `equal`. -* `skey` - (Optional) Key of the rule, valid values are `host`, `cgi`, `ua`, `referer`. +* `operator` - (Optional) Operator of the rule. Valid values: `include`, `not_include`, `equal`. +* `skey` - (Optional) Key of the rule. Valid values: `host`, `cgi`, `ua`, `referer`. * `value` - (Optional) Rule value, then length should be less than 31 bytes. ## Attributes Reference diff --git a/website/docs/r/dayu_cc_https_policy.html.markdown b/website/docs/r/dayu_cc_https_policy.html.markdown index c6985ddd7c..12aa8d80a4 100644 --- a/website/docs/r/dayu_cc_https_policy.html.markdown +++ b/website/docs/r/dayu_cc_https_policy.html.markdown @@ -48,8 +48,8 @@ The following arguments are supported: The `rule_list` object supports the following: -* `operator` - (Required) Operator of the rule, valid values are `include` and `equal`. -* `skey` - (Required) Key of the rule, valid values are `cgi`, `ua` and `referer`. +* `operator` - (Required) Operator of the rule. Valid values are `include` and `equal`. +* `skey` - (Required) Key of the rule. Valid values are `cgi`, `ua` and `referer`. * `value` - (Required) Rule value, then length should be less than 31 bytes. ## Attributes Reference diff --git a/website/docs/r/dayu_ddos_policy.html.markdown b/website/docs/r/dayu_ddos_policy.html.markdown index c0f24a1404..43c7b64535 100644 --- a/website/docs/r/dayu_ddos_policy.html.markdown +++ b/website/docs/r/dayu_ddos_policy.html.markdown @@ -82,7 +82,7 @@ The following arguments are supported: * `drop_options` - (Required) Option list of abnormal check of the DDos policy, should set at least one policy. * `name` - (Required) Name of the DDoS policy. Length should between 1 and 32. -* `resource_type` - (Required, ForceNew) Type of the resource that the DDoS policy works for, valid values are `bgpip`, `bgp`, `bgp-multip` and `net`. +* `resource_type` - (Required, ForceNew) Type of the resource that the DDoS policy works for. Valid values: `bgpip`, `bgp`, `bgp-multip` and `net`. * `black_ips` - (Optional) Black ip list. * `packet_filters` - (Optional) Message filter options list. * `port_filters` - (Optional) Port limits of abnormal check of the DDos policy. @@ -91,55 +91,55 @@ The following arguments are supported: The `drop_options` object supports the following: -* `bad_conn_threshold` - (Required) The number of new connections based on destination IP that trigger suppression of connections, and valid value is range from 0 to 4294967295. +* `bad_conn_threshold` - (Required) The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: [0-4294967295]. * `check_sync_conn` - (Required) Indicate whether to check null connection or not. -* `conn_timeout` - (Required) Connection timeout of abnormal connection check, and valid value is range from 0 to 65535. -* `d_conn_limit` - (Required) The limit of concurrent connections based on destination IP, and valid value is range from 0 to 4294967295. -* `d_new_limit` - (Required) The limit of new connections based on destination IP, and valid value is range from 0 to 4294967295. +* `conn_timeout` - (Required) Connection timeout of abnormal connection check. Valid value ranges: [0-65535]. +* `d_conn_limit` - (Required) The limit of concurrent connections based on destination IP. Valid value ranges: [0-4294967295]. +* `d_new_limit` - (Required) The limit of new connections based on destination IP. Valid value ranges: [0-4294967295]. * `drop_abroad` - (Required) Indicate whether to drop abroad traffic or not. * `drop_icmp` - (Required) Indicate whether to drop ICMP protocol or not. * `drop_other` - (Required) Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not. * `drop_tcp` - (Required) Indicate whether to drop TCP protocol or not. * `drop_udp` - (Required) Indicate to drop UDP protocol or not. -* `icmp_mbps_limit` - (Required) The limit of ICMP traffic rate, and valid value is range from 0 to 4294967295(Mbps). +* `icmp_mbps_limit` - (Required) The limit of ICMP traffic rate. Valid value ranges: [0-4294967295](Mbps). * `null_conn_enable` - (Required) Indicate to enable null connection or not. -* `other_mbps_limit` - (Required) The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate, and valid value is range from 0 to 4294967295(Mbps). -* `s_conn_limit` - (Required) The limit of concurrent connections based on source IP, and valid value is range from 0 to 4294967295. -* `s_new_limit` - (Required) The limit of new connections based on source IP, and valid value is range from 0 to 4294967295. -* `syn_limit` - (Required) The limit of syn of abnormal connection check, and valid value is range from 0 to 100. -* `tcp_mbps_limit` - (Required) The limit of TCP traffic, and valid value is range from 0 to 4294967295(Mbps). -* `udp_mbps_limit` - (Required) The limit of UDP traffic rate, and valid value is range from 0 to 4294967295(Mbps). -* `syn_rate` - (Optional) The percentage of syn in ack of abnormal connection check, and valid value is range from 0 to 100. +* `other_mbps_limit` - (Required) The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: [0-4294967295](Mbps). +* `s_conn_limit` - (Required) The limit of concurrent connections based on source IP. Valid value ranges: [0-4294967295]. +* `s_new_limit` - (Required) The limit of new connections based on source IP. Valid value ranges: [0-4294967295]. +* `syn_limit` - (Required) The limit of syn of abnormal connection check. Valid value ranges: [0-100]. +* `tcp_mbps_limit` - (Required) The limit of TCP traffic. Valid value ranges: [0-4294967295](Mbps). +* `udp_mbps_limit` - (Required) The limit of UDP traffic rate. Valid value ranges: [0-4294967295](Mbps). +* `syn_rate` - (Optional) The percentage of syn in ack of abnormal connection check. Valid value ranges: [0-100]. The `packet_filters` object supports the following: -* `action` - (Optional) Action of port to take, valid values area `drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet). -* `d_end_port` - (Optional) End port of the destination, valid value is range from 0 to 65535. It must be greater than `d_start_port`. -* `d_start_port` - (Optional) Start port of the destination, valid value is range from 0 to 65535. -* `depth` - (Optional) The depth of match, and valid value is range from 0 to 1500. +* `action` - (Optional) Action of port to take. Valid values: `drop`, `drop_black`,`drop_rst`,`drop_black_rst`,`transmit`.`drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet). +* `d_end_port` - (Optional) End port of the destination. Valid value ranges: [0-65535]. It must be greater than `d_start_port`. +* `d_start_port` - (Optional) Start port of the destination. Valid value ranges: [0-65535]. +* `depth` - (Optional) The depth of match. Valid value ranges: [0-1500]. * `is_include` - (Optional) Indicate whether to include the key word/regular expression or not. * `match_begin` - (Optional) Indicate whether to check load or not, `begin_l5` means to match and `no_match` means not. * `match_str` - (Optional) The key word or regular expression. -* `match_type` - (Optional) Match type, valid values are `sunday` and `pcre`, `sunday` means key word match while `pcre` means regular match. -* `offset` - (Optional) The offset of match, and valid value is range from 0 to 1500. -* `pkt_length_max` - (Optional) The max length of the packet, and valid value is range from 0 to 1500(Mbps). It must be greater than `pkt_length_min`. -* `pkt_length_min` - (Optional) The minimum length of the packet, and valid value is range from 0 to 1500(Mbps). -* `protocol` - (Optional) Protocol, valid values are `tcp`, `udp`, `icmp`, `all`. -* `s_end_port` - (Optional) End port of the source, valid value is range from 0 to 65535. It must be greater than `s_start_port`. -* `s_start_port` - (Optional) Start port of the source, valid value is range from 0 to 65535. +* `match_type` - (Optional) Match type. Valid values: `sunday` and `pcre`. `sunday` means key word match while `pcre` means regular match. +* `offset` - (Optional) The offset of match. Valid value ranges: [0-1500]. +* `pkt_length_max` - (Optional) The max length of the packet. Valid value ranges: [0-1500](Mbps). It must be greater than `pkt_length_min`. +* `pkt_length_min` - (Optional) The minimum length of the packet. Valid value ranges: [0-1500](Mbps). +* `protocol` - (Optional) Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`. +* `s_end_port` - (Optional) End port of the source. Valid value ranges: [0-65535]. It must be greater than `s_start_port`. +* `s_start_port` - (Optional) Start port of the source. Valid value ranges: [0-65535]. The `port_filters` object supports the following: -* `action` - (Optional) Action of port to take, valid values area `drop`, `transmit`. -* `end_port` - (Optional) End port, valid value is range from 0 to 65535. It must be greater than `start_port`. -* `kind` - (Optional) The type of forbidden port, and valid values are 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports. -* `protocol` - (Optional) Protocol, valid values are `tcp`, `udp`, `icmp`, `all`. -* `start_port` - (Optional) Start port, valid value is range from 0 to 65535. +* `action` - (Optional) Action of port to take. Valid values: `drop`, `transmit`. +* `end_port` - (Optional) End port. Valid value ranges: [0-65535]. It must be greater than `start_port`. +* `kind` - (Optional) The type of forbidden port. Valid values: 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports. +* `protocol` - (Optional) Protocol. Valid values are `tcp`, `udp`, `icmp`, `all`. +* `start_port` - (Optional) Start port. Valid value ranges: [0-65535]. The `watermark_filters` object supports the following: * `auto_remove` - (Optional) Indicate whether to auto-remove the watermark or not. -* `offset` - (Optional) The offset of watermark, and valid value is range from 0 to 100. +* `offset` - (Optional) The offset of watermark. Valid value ranges: [0-100]. * `open_switch` - (Optional) Indicate whether to open watermark or not. It muse be set `true` when any field of watermark was set. * `tcp_port_list` - (Optional) Port range of TCP, the format is like `2000-3000`. * `udp_port_list` - (Optional) Port range of TCP, the format is like `2000-3000`. diff --git a/website/docs/r/dayu_ddos_policy_attachment.html.markdown b/website/docs/r/dayu_ddos_policy_attachment.html.markdown index 9f801a151b..6b035659d3 100644 --- a/website/docs/r/dayu_ddos_policy_attachment.html.markdown +++ b/website/docs/r/dayu_ddos_policy_attachment.html.markdown @@ -27,7 +27,7 @@ The following arguments are supported: * `policy_id` - (Required, ForceNew) Id of the policy. * `resource_id` - (Required, ForceNew) Id of the attached resource. -* `resource_type` - (Required, ForceNew) Type of the resource that the DDoS policy works for, valid values are `bgpip`, `bgp`, `bgp-multip`, `net`. +* `resource_type` - (Required, ForceNew) Type of the resource that the DDoS policy works for. Valid values are `bgpip`, `bgp`, `bgp-multip`, `net`. ## Attributes Reference diff --git a/website/docs/r/dayu_ddos_policy_case.html.markdown b/website/docs/r/dayu_ddos_policy_case.html.markdown index 4e91159897..deff4ed10d 100644 --- a/website/docs/r/dayu_ddos_policy_case.html.markdown +++ b/website/docs/r/dayu_ddos_policy_case.html.markdown @@ -47,25 +47,25 @@ resource "tencentcloud_dayu_ddos_policy_case" "foo" { The following arguments are supported: * `app_protocols` - (Required) App protocol set of the DDoS policy case. -* `app_type` - (Required) App type of the DDoS policy case, and valid values are `WEB`, `GAME`, `APP` and `OTHER`. -* `has_abroad` - (Required) Indicate whether the service involves overseas or not, valid values are `no` and `yes`. -* `has_initiate_tcp` - (Required) Indicate whether the service actively initiates TCP requests or not, valid values are `no` and `yes`. +* `app_type` - (Required) App type of the DDoS policy case. Valid values: `WEB`, `GAME`, `APP` and `OTHER`. +* `has_abroad` - (Required) Indicate whether the service involves overseas or not. Valid values: `no` and `yes`. +* `has_initiate_tcp` - (Required) Indicate whether the service actively initiates TCP requests or not. Valid values: `no` and `yes`. * `name` - (Required, ForceNew) Name of the DDoS policy case. Length should between 1 and 64. * `platform_types` - (Required) Platform set of the DDoS policy case. -* `resource_type` - (Required, ForceNew) Type of the resource that the DDoS policy case works for, valid values are `bgpip`, `bgp` and `bgp-multip`. -* `tcp_end_port` - (Required) End port of the TCP service, valid value is range from 0 to 65535. It must be greater than `tcp_start_port`. -* `tcp_start_port` - (Required) Start port of the TCP service, valid value is range from 0 to 65535. -* `udp_end_port` - (Required) End port of the UDP service, valid value is range from 0 to 65535. It must be greater than `udp_start_port`. -* `udp_start_port` - (Required) Start port of the UDP service, valid value is range from 0 to 65535. +* `resource_type` - (Required, ForceNew) Type of the resource that the DDoS policy case works for. Valid values: `bgpip`, `bgp` and `bgp-multip`. +* `tcp_end_port` - (Required) End port of the TCP service. Valid value ranges: [0-65535]. It must be greater than `tcp_start_port`. +* `tcp_start_port` - (Required) Start port of the TCP service. Valid value ranges: [0-65535]. +* `udp_end_port` - (Required) End port of the UDP service. Valid value ranges: [0-65535]. It must be greater than `udp_start_port`. +* `udp_start_port` - (Required) Start port of the UDP service. Valid value ranges: [0-65535]. * `web_api_urls` - (Required) Web API url set. -* `has_initiate_udp` - (Optional) Indicate whether the actively initiate UDP requests or not, valid values are `no` and `yes`. -* `has_vpn` - (Optional) Indicate whether the service involves VPN service or not, valid values are `no` and `yes`. +* `has_initiate_udp` - (Optional) Indicate whether the actively initiate UDP requests or not. Valid values: `no` and `yes`. +* `has_vpn` - (Optional) Indicate whether the service involves VPN service or not. Valid values: `no` and `yes`. * `max_tcp_package_len` - (Optional) The max length of TCP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_tcp_package_len`. * `max_udp_package_len` - (Optional) The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_udp_package_len`. * `min_tcp_package_len` - (Optional) The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500. * `min_udp_package_len` - (Optional) The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500. -* `peer_tcp_port` - (Optional) The port that actively initiates TCP requests, valid value is range from 1 to 65535. -* `peer_udp_port` - (Optional) The port that actively initiates UDP requests, valid value is range from 1 to 65535. +* `peer_tcp_port` - (Optional) The port that actively initiates TCP requests. Valid value ranges: [1-65535]. +* `peer_udp_port` - (Optional) The port that actively initiates UDP requests. Valid value ranges: [1-65535]. * `tcp_footprint` - (Optional) The fixed signature of TCP protocol load, valid value length is range from 1 to 512. * `udp_footprint` - (Optional) The fixed signature of TCP protocol load, valid value length is range from 1 to 512. diff --git a/website/docs/r/dayu_l4_rule.html.markdown b/website/docs/r/dayu_l4_rule.html.markdown index d8343b9c7f..3c8ee146d2 100644 --- a/website/docs/r/dayu_l4_rule.html.markdown +++ b/website/docs/r/dayu_l4_rule.html.markdown @@ -49,9 +49,9 @@ The following arguments are supported: * `d_port` - (Required) The destination port of the L4 rule. * `name` - (Required, ForceNew) Name of the rule. When the `resource_type` is `net`, this field should be set with valid domain. -* `protocol` - (Required) Protocol of the rule, valid values are `http`, `https`. When `source_type` is 1(host source), the value of this field can only set with `tcp`. +* `protocol` - (Required) Protocol of the rule. Valid values: `http`, `https`. When `source_type` is 1(host source), the value of this field can only set with `tcp`. * `resource_id` - (Required, ForceNew) ID of the resource that the layer 4 rule works for. -* `resource_type` - (Required, ForceNew) Type of the resource that the layer 4 rule works for, valid values are `bgpip` and `net`. +* `resource_type` - (Required, ForceNew) Type of the resource that the layer 4 rule works for. Valid values: `bgpip` and `net`. * `s_port` - (Required) The source port of the L4 rule. * `source_list` - (Required) Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 20. * `source_type` - (Required, ForceNew) Source type, 1 for source of host, 2 for source of ip. @@ -73,7 +73,7 @@ The `source_list` object supports the following: In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. -* `lb_type` - LB type of the rule, 1 for weight cycling and 2 for IP hash. +* `lb_type` - LB type of the rule. Valid values: 1, 2. 1 for weight cycling and 2 for IP hash. * `rule_id` - Id of the layer 4 rule. diff --git a/website/docs/r/dayu_l7_rule.html.markdown b/website/docs/r/dayu_l7_rule.html.markdown index 2afae32965..d3869dea8c 100644 --- a/website/docs/r/dayu_l7_rule.html.markdown +++ b/website/docs/r/dayu_l7_rule.html.markdown @@ -42,15 +42,15 @@ The following arguments are supported: * `domain` - (Required, ForceNew) Domain that the layer 7 rule works for. Valid string length ranges from 0 to 80. * `name` - (Required, ForceNew) Name of the rule. -* `protocol` - (Required) Protocol of the rule, valid values are `http`, `https`. +* `protocol` - (Required) Protocol of the rule. Valid values: `http`, `https`. * `resource_id` - (Required, ForceNew) ID of the resource that the layer 7 rule works for. * `resource_type` - (Required, ForceNew) Type of the resource that the layer 7 rule works for, valid value is `bgpip`. * `source_list` - (Required) Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16. * `source_type` - (Required) Source type, 1 for source of host, 2 for source of ip. * `switch` - (Required) Indicate the rule will take effect or not. -* `health_check_code` - (Optional) HTTP Status Code. The default is 26 and value range is 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. +* `health_check_code` - (Optional) HTTP Status Code. The default is 26. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. * `health_check_health_num` - (Optional) Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10. -* `health_check_interval` - (Optional) Interval time of health check. The value range is 10-60 sec, and the default is 15 sec. +* `health_check_interval` - (Optional) Interval time of health check. Valid value ranges: 10-60 sec. The default is 15 sec. * `health_check_method` - (Optional) Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'. * `health_check_path` - (Optional) Path of health check. The default is `/`. * `health_check_switch` - (Optional) Indicates whether health check is enabled. The default is `false`. diff --git a/website/docs/r/dc_gateway.html.markdown b/website/docs/r/dc_gateway.html.markdown index e36c3d45a6..5217a4f362 100644 --- a/website/docs/r/dc_gateway.html.markdown +++ b/website/docs/r/dc_gateway.html.markdown @@ -33,15 +33,15 @@ The following arguments are supported: * `name` - (Required) Name of the DCG. * `network_instance_id` - (Required, ForceNew) If the 'network_type' value is 'VPC', the available value is VPC ID. But when the 'network_type' value is 'CCN', the available value is CCN instance ID. -* `network_type` - (Required, ForceNew) Type of associated network, the available value include 'VPC' and 'CCN'. -* `gateway_type` - (Optional, ForceNew) Type of the gateway, the available value include 'NORMAL' and 'NAT'. Default is 'NORMAL'. NOTES: CCN only supports 'NORMAL' and a vpc can create two DCGs, the one is NAT type and the other is non-NAT type. +* `network_type` - (Required, ForceNew) Type of associated network. Valid value: 'VPC' and 'CCN'. +* `gateway_type` - (Optional, ForceNew) Type of the gateway. Valid value: 'NORMAL' and 'NAT'. Default is 'NORMAL'. NOTES: CCN only supports 'NORMAL' and a vpc can create two DCGs, the one is NAT type and the other is non-NAT type. ## Attributes Reference In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. -* `cnn_route_type` - Type of CCN route, the available value include 'BGP' and 'STATIC'. The property is available when the DCG type is CCN gateway and BGP enabled. +* `cnn_route_type` - Type of CCN route. Valid value: 'BGP' and 'STATIC'. The property is available when the DCG type is CCN gateway and BGP enabled. * `create_time` - Creation time of resource. * `enable_bgp` - Indicates whether the BGP is enabled. diff --git a/website/docs/r/dcx.html.markdown b/website/docs/r/dcx.html.markdown index c5b83fba76..0e12b74933 100644 --- a/website/docs/r/dcx.html.markdown +++ b/website/docs/r/dcx.html.markdown @@ -66,11 +66,11 @@ The following arguments are supported: * `bgp_asn` - (Optional, ForceNew) BGP ASN of the user. A required field within BGP. * `bgp_auth_key` - (Optional, ForceNew) BGP key of the user. * `customer_address` - (Optional, ForceNew) Interconnect IP of the DC within client. -* `network_type` - (Optional, ForceNew) Type of the network, and available values include VPC, BMVPC and CCN. The default value is VPC. +* `network_type` - (Optional, ForceNew) Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC. * `route_filter_prefixes` - (Optional, ForceNew) Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP. * `route_type` - (Optional, ForceNew) Type of the route, and available values include BGP and STATIC. The default value is BGP. * `tencent_address` - (Optional, ForceNew) Interconnect IP of the DC within Tencent. -* `vlan` - (Optional, ForceNew) Vlan of the dedicated tunnels, and the range of values is [0-3000]. '0' means that only one tunnel can be created for the physical connect. +* `vlan` - (Optional, ForceNew) Vlan of the dedicated tunnels. Valid value ranges:[0-3000]. '0' means that only one tunnel can be created for the physical connect. ## Attributes Reference @@ -78,6 +78,6 @@ In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. * `create_time` - Creation time of resource. -* `state` - State of the dedicated tunnels, and available values include PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED. +* `state` - State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED. diff --git a/website/docs/r/dnat.html.markdown b/website/docs/r/dnat.html.markdown index d23aa4ac09..69c69f3a9d 100644 --- a/website/docs/r/dnat.html.markdown +++ b/website/docs/r/dnat.html.markdown @@ -35,7 +35,7 @@ The following arguments are supported: * `nat_id` - (Required, ForceNew) Id of the NAT gateway. * `private_ip` - (Required, ForceNew) Network address of the backend service. * `private_port` - (Required, ForceNew) Port of intranet. -* `protocol` - (Required, ForceNew) Type of the network protocol, the available values are: `TCP` and `UDP`. +* `protocol` - (Required, ForceNew) Type of the network protocol. Valid value: `TCP` and `UDP`. * `vpc_id` - (Required, ForceNew) Id of the VPC. * `description` - (Optional) Description of the NAT forward. diff --git a/website/docs/r/eip.html.markdown b/website/docs/r/eip.html.markdown index 027775c7ee..210fbc8297 100644 --- a/website/docs/r/eip.html.markdown +++ b/website/docs/r/eip.html.markdown @@ -23,14 +23,14 @@ resource "tencentcloud_eip" "foo" { The following arguments are supported: -* `anycast_zone` - (Optional, ForceNew) The zone of anycast, and available values include `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`. +* `anycast_zone` - (Optional, ForceNew) The zone of anycast. Valid value: `ANYCAST_ZONE_GLOBAL` and `ANYCAST_ZONE_OVERSEAS`. * `applicable_for_clb` - (Optional, **Deprecated**) It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB. -* `internet_charge_type` - (Optional, ForceNew) The charge type of eip, and available values include `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR` and `TRAFFIC_POSTPAID_BY_HOUR`. +* `internet_charge_type` - (Optional, ForceNew) The charge type of eip. Valid value: `BANDWIDTH_PACKAGE`, `BANDWIDTH_POSTPAID_BY_HOUR` and `TRAFFIC_POSTPAID_BY_HOUR`. * `internet_max_bandwidth_out` - (Optional, ForceNew) The bandwidth limit of eip, unit is Mbps. -* `internet_service_provider` - (Optional, ForceNew) Internet service provider of eip, and available values include `BGP`, `CMCC`, `CTCC` and `CUCC`. +* `internet_service_provider` - (Optional, ForceNew) Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`. * `name` - (Optional) The name of eip. * `tags` - (Optional) The tags of eip. -* `type` - (Optional, ForceNew) The type of eip, and available values include `EIP` and `AnycastEIP`. Default is `EIP`. +* `type` - (Optional, ForceNew) The type of eip. Valid value: `EIP` and `AnycastEIP`. Default is `EIP`. ## Attributes Reference diff --git a/website/docs/r/elasticsearch_instance.html.markdown b/website/docs/r/elasticsearch_instance.html.markdown index e3f3a90cb5..b46c4585c7 100644 --- a/website/docs/r/elasticsearch_instance.html.markdown +++ b/website/docs/r/elasticsearch_instance.html.markdown @@ -48,9 +48,9 @@ The following arguments are supported: * `basic_security_type` - (Optional) Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are `1` and `2`, `1` is disabled, `2` is enabled, and default value is `1`. * `charge_period` - (Optional, ForceNew) The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to `PREPAID`. * `charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. -* `deploy_mode` - (Optional, ForceNew) Cluster deployment mode. Valid values are `0` and `1`, `0` is single-AZ deployment, and `1` is multi-AZ deployment. Default value is `0`. +* `deploy_mode` - (Optional, ForceNew) Cluster deployment mode. Valid values are `0` and `1`. `0` is single-AZ deployment, and `1` is multi-AZ deployment. Default value is `0`. * `instance_name` - (Optional) Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_). -* `license_type` - (Optional) License type. Valid values are `oss`, `basic` and `platinum`, and default value is `platinum`. +* `license_type` - (Optional) License type. Valid values are `oss`, `basic` and `platinum`. The default value is `platinum`. * `multi_zone_infos` - (Optional, ForceNew) Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is `1`). * `renew_flag` - (Optional, ForceNew) When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are `RENEW_FLAG_AUTO` and `RENEW_FLAG_MANUAL`. NOTE: it only works when charge_type is set to `PREPAID`. * `tags` - (Optional) A mapping of tags to assign to the instance. For tag limits, please refer to [Use Limits](https://intl.cloud.tencent.com/document/product/651/13354). @@ -65,9 +65,9 @@ The `node_info_list` object supports the following: * `node_num` - (Required) Number of nodes. * `node_type` - (Required) Node specification, and valid values refer to [document of tencentcloud](https://intl.cloud.tencent.com/document/product/845/18376). * `disk_size` - (Optional) Node disk size. Unit is GB, and default value is `100`. -* `disk_type` - (Optional) Node disk type. Valid values are `CLOUD_SSD` and `CLOUD_PREMIUM`, and default value is `CLOUD_SSD`. +* `disk_type` - (Optional) Node disk type. Valid values are `CLOUD_SSD` and `CLOUD_PREMIUM`. The default value is `CLOUD_SSD`. * `encrypt` - (Optional) Decides to encrypt this disk or not. -* `type` - (Optional) Node type. Valid values are `hotData`, `warmData` and `dedicatedMaster`, and default value is 'hotData`. +* `type` - (Optional) Node type. Valid values are `hotData`, `warmData` and `dedicatedMaster`. The default value is 'hotData`. ## Attributes Reference diff --git a/website/docs/r/gaap_certificate.html.markdown b/website/docs/r/gaap_certificate.html.markdown index 433ff4c490..886eafcb86 100644 --- a/website/docs/r/gaap_certificate.html.markdown +++ b/website/docs/r/gaap_certificate.html.markdown @@ -26,7 +26,7 @@ resource "tencentcloud_gaap_certificate" "foo" { The following arguments are supported: * `content` - (Required, ForceNew) Content of the certificate, and URL encoding. When the certificate is basic authentication, use the `user:xxx password:xxx` format, where the password is encrypted with `htpasswd` or `openssl`; When the certificate is `CA` or `SSL`, the format is `pem`. -* `type` - (Required, ForceNew) Type of the certificate, the available values include `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`; `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. +* `type` - (Required, ForceNew) Type of the certificate. Valid value: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. * `key` - (Optional, ForceNew) Key of the `SSL` certificate. * `name` - (Optional) Name of the certificate. diff --git a/website/docs/r/gaap_http_rule.html.markdown b/website/docs/r/gaap_http_rule.html.markdown index 0f17a024c0..fce7a92d0c 100644 --- a/website/docs/r/gaap_http_rule.html.markdown +++ b/website/docs/r/gaap_http_rule.html.markdown @@ -76,22 +76,22 @@ The following arguments are supported: * `health_check` - (Required) Indicates whether health check is enable. * `listener_id` - (Required, ForceNew) ID of the layer7 listener. * `path` - (Required) Path of the forward rule. Maximum length is 80. -* `realserver_type` - (Required, ForceNew) Type of the realserver, the available values include `IP` and `DOMAIN`. +* `realserver_type` - (Required, ForceNew) Type of the realserver. Valid value: `IP` and `DOMAIN`. * `connect_timeout` - (Optional) Timeout of the health check response, default value is 2s. * `forward_host` - (Optional) The default value of requested host which is forwarded to the realserver by the listener is `default`. -* `health_check_method` - (Optional) Method of the health check, the available values includes `GET` and `HEAD`. +* `health_check_method` - (Optional) Method of the health check. Valid value: `GET` and `HEAD`. * `health_check_path` - (Optional) Path of health check. Maximum length is 80. -* `health_check_status_codes` - (Optional) Return code of confirmed normal, the available values include `100`, `200`, `300`, `400` and `500`. +* `health_check_status_codes` - (Optional) Return code of confirmed normal. Valid value: `100`, `200`, `300`, `400` and `500`. * `interval` - (Optional) Interval of the health check, default value is 5s. * `realservers` - (Optional) An information list of GAAP realserver. -* `scheduler` - (Optional) Scheduling policy of the forward rule, default value is `rr`, the available values include `rr`, `wrr` and `lc`. +* `scheduler` - (Optional) Scheduling policy of the forward rule, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. The `realservers` object supports the following: * `id` - (Required) ID of the GAAP realserver. * `ip` - (Required) IP of the GAAP realserver. * `port` - (Required) Port of the GAAP realserver. -* `weight` - (Optional) Scheduling weight, default value is `1`. The range of values is [1,100]. +* `weight` - (Optional) Scheduling weight, default value is `1`. Valid value ranges: [1-100]. ## Attributes Reference diff --git a/website/docs/r/gaap_layer4_listener.html.markdown b/website/docs/r/gaap_layer4_listener.html.markdown index 841b2f74fc..05388d1164 100644 --- a/website/docs/r/gaap_layer4_listener.html.markdown +++ b/website/docs/r/gaap_layer4_listener.html.markdown @@ -60,14 +60,14 @@ The following arguments are supported: * `name` - (Required) Name of the layer4 listener, the maximum length is 30. * `port` - (Required, ForceNew) Port of the layer4 listener. -* `protocol` - (Required, ForceNew) Protocol of the layer4 listener, the available values include `TCP` and `UDP`. +* `protocol` - (Required, ForceNew) Protocol of the layer4 listener. Valid value: `TCP` and `UDP`. * `proxy_id` - (Required, ForceNew) ID of the GAAP proxy. -* `realserver_type` - (Required, ForceNew) Type of the realserver, the available values include `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`. +* `realserver_type` - (Required, ForceNew) Type of the realserver. Valid value: `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`. * `connect_timeout` - (Optional) Timeout of the health check response, should less than interval, default value is 2s. NOTES: Only supports listeners of `TCP` protocol and require less than `interval`. * `health_check` - (Optional) Indicates whether health check is enable, default value is `false`. NOTES: Only supports listeners of `TCP` protocol. * `interval` - (Optional) Interval of the health check, default value is 5s. NOTES: Only supports listeners of `TCP` protocol. * `realserver_bind_set` - (Optional) An information list of GAAP realserver. -* `scheduler` - (Optional) Scheduling policy of the layer4 listener, default value is `rr`, the available values include `rr`, `wrr` and `lc`. +* `scheduler` - (Optional) Scheduling policy of the layer4 listener, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. The `realserver_bind_set` object supports the following: diff --git a/website/docs/r/gaap_layer7_listener.html.markdown b/website/docs/r/gaap_layer7_listener.html.markdown index 30d08e27db..0affc11986 100644 --- a/website/docs/r/gaap_layer7_listener.html.markdown +++ b/website/docs/r/gaap_layer7_listener.html.markdown @@ -36,13 +36,13 @@ The following arguments are supported: * `name` - (Required) Name of the layer7 listener, the maximum length is 30. * `port` - (Required, ForceNew) Port of the layer7 listener. -* `protocol` - (Required, ForceNew) Protocol of the layer7 listener, the available values include `HTTP` and `HTTPS`. +* `protocol` - (Required, ForceNew) Protocol of the layer7 listener. Valid value: `HTTP` and `HTTPS`. * `proxy_id` - (Required, ForceNew) ID of the GAAP proxy. * `auth_type` - (Optional, ForceNew) Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. * `certificate_id` - (Optional) Certificate ID of the layer7 listener. NOTES: Only supports listeners of `HTTPS` protocol. * `client_certificate_id` - (Optional, **Deprecated**) It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead. ID of the client certificate. Set only when `auth_type` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. * `client_certificate_ids` - (Optional) ID list of the client certificate. Set only when `auth_type` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. -* `forward_protocol` - (Optional, ForceNew) Protocol type of the forwarding, the available values include `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol. +* `forward_protocol` - (Optional, ForceNew) Protocol type of the forwarding. Valid value: `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol. ## Attributes Reference diff --git a/website/docs/r/gaap_proxy.html.markdown b/website/docs/r/gaap_proxy.html.markdown index 585b9d53fd..2d4bf274d2 100644 --- a/website/docs/r/gaap_proxy.html.markdown +++ b/website/docs/r/gaap_proxy.html.markdown @@ -31,11 +31,11 @@ resource "tencentcloud_gaap_proxy" "foo" { The following arguments are supported: -* `access_region` - (Required, ForceNew) Access region of the GAAP proxy, the available values include `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. -* `bandwidth` - (Required) Maximum bandwidth of the GAAP proxy, unit is Mbps, the available values include `10`, `20`, `50`, `100`, `200`, `500` and `1000`. -* `concurrent` - (Required) Maximum concurrency of the GAAP proxy, unit is 10k, the available values include `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`. +* `access_region` - (Required, ForceNew) Access region of the GAAP proxy. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. +* `bandwidth` - (Required) Maximum bandwidth of the GAAP proxy, unit is Mbps. Valid value: `10`, `20`, `50`, `100`, `200`, `500` and `1000`. +* `concurrent` - (Required) Maximum concurrency of the GAAP proxy, unit is 10k. Valid value: `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`. * `name` - (Required) Name of the GAAP proxy, the maximum length is 30. -* `realserver_region` - (Required, ForceNew) Region of the GAAP realserver, the available values include `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. +* `realserver_region` - (Required, ForceNew) Region of the GAAP realserver. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. * `enable` - (Optional) Indicates whether GAAP proxy is enabled, default value is `true`. * `project_id` - (Optional) ID of the project within the GAAP proxy, '0' means is default project. * `tags` - (Optional) Tags of the GAAP proxy. diff --git a/website/docs/r/gaap_security_policy.html.markdown b/website/docs/r/gaap_security_policy.html.markdown index bbb797f2e4..9f34e2adc5 100644 --- a/website/docs/r/gaap_security_policy.html.markdown +++ b/website/docs/r/gaap_security_policy.html.markdown @@ -32,7 +32,7 @@ resource "tencentcloud_gaap_security_policy" "foo" { The following arguments are supported: -* `action` - (Required, ForceNew) Default policy, the available values include `ACCEPT` and `DROP`. +* `action` - (Required, ForceNew) Default policy. Valid value: `ACCEPT` and `DROP`. * `proxy_id` - (Required, ForceNew) ID of the GAAP proxy. * `enable` - (Optional) Indicates whether policy is enable, default value is `true`. diff --git a/website/docs/r/gaap_security_rule.html.markdown b/website/docs/r/gaap_security_rule.html.markdown index f36045fbda..eb6951650a 100644 --- a/website/docs/r/gaap_security_rule.html.markdown +++ b/website/docs/r/gaap_security_rule.html.markdown @@ -39,12 +39,12 @@ resource "tencentcloud_gaap_security_rule" "foo" { The following arguments are supported: -* `action` - (Required, ForceNew) Policy of the rule, the available values include `ACCEPT` and `DROP`. +* `action` - (Required, ForceNew) Policy of the rule. Valid value: `ACCEPT` and `DROP`. * `cidr_ip` - (Required, ForceNew) A network address block of the request source. * `policy_id` - (Required, ForceNew) ID of the security policy. * `name` - (Optional) Name of the security policy rule. Maximum length is 30. -* `port` - (Optional, ForceNew) Target port. Default value is `ALL`, the available values include `80`, `80,443` and `3306-20000`. -* `protocol` - (Optional, ForceNew) Protocol of the security policy rule. Default value is `ALL`, the available values include `TCP`, `UDP` and `ALL`. +* `port` - (Optional, ForceNew) Target port. Default value is `ALL`. Valid value: `80`, `80,443` and `3306-20000`. +* `protocol` - (Optional, ForceNew) Protocol of the security policy rule. Default value is `ALL`. Valid value: `TCP`, `UDP` and `ALL`. ## Attributes Reference diff --git a/website/docs/r/ha_vip.html.markdown b/website/docs/r/ha_vip.html.markdown index 0d1e3a7e87..846a50aa92 100644 --- a/website/docs/r/ha_vip.html.markdown +++ b/website/docs/r/ha_vip.html.markdown @@ -40,7 +40,7 @@ In addition to all arguments above, the following attributes are exported: * `create_time` - Create time of the HA VIP. * `instance_id` - Instance id that is associated. * `network_interface_id` - Network interface id that is associated. -* `state` - State of the HA VIP, values are `AVAILABLE`, `UNBIND`. +* `state` - State of the HA VIP. Valid value: `AVAILABLE`, `UNBIND`. ## Import diff --git a/website/docs/r/instance.html.markdown b/website/docs/r/instance.html.markdown index 7dbbf77d38..7b79150e7a 100644 --- a/website/docs/r/instance.html.markdown +++ b/website/docs/r/instance.html.markdown @@ -106,8 +106,8 @@ The following arguments are supported: * `spot_max_price` - (Optional, ForceNew) Max price of spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to `SPOTPAID`. * `subnet_id` - (Optional) The id of a VPC subnetwork. If you want to create instances in VPC network, this parameter must be set. * `system_disk_id` - (Optional) System disk snapshot ID used to initialize the system disk. When system disk type is `LOCAL_BASIC` and `LOCAL_SSD`, disk id is not supported. -* `system_disk_size` - (Optional, ForceNew) Size of the system disk. Value range: [50, 1000], and unit is GB. Default is 50GB. -* `system_disk_type` - (Optional, ForceNew) Type of the system disk. Valid values are `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_SSD` and `CLOUD_PREMIUM`, default value is `CLOUD_BASIC`. NOTE: `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. +* `system_disk_size` - (Optional, ForceNew) Size of the system disk. Valid value ranges: [50, 1000]. and unit is GB. Default is 50GB. +* `system_disk_type` - (Optional, ForceNew) Type of the system disk. Valid values are `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_SSD` and `CLOUD_PREMIUM`. default value is `CLOUD_BASIC`. NOTE: `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. * `tags` - (Optional) A mapping of tags to assign to the resource. For tag limits, please refer to [Use Limits](https://intl.cloud.tencent.com/document/product/651/13354). * `user_data_raw` - (Optional, ForceNew) The user data to be specified into this instance, plain text. Conflicts with `user_data`. Limited in 16 KB after encrypted in base64 format. * `user_data` - (Optional, ForceNew) The user data to be specified into this instance. Must be encrypted in base64 format and limited in 16 KB. diff --git a/website/docs/r/kubernetes_as_scaling_group.html.markdown b/website/docs/r/kubernetes_as_scaling_group.html.markdown index 5ba094e548..7884a80eed 100644 --- a/website/docs/r/kubernetes_as_scaling_group.html.markdown +++ b/website/docs/r/kubernetes_as_scaling_group.html.markdown @@ -85,7 +85,7 @@ The `auto_scaling_config` object supports the following: * `enhanced_monitor_service` - (Optional, ForceNew) To specify whether to enable cloud monitor service. Default is TRUE. * `enhanced_security_service` - (Optional, ForceNew) To specify whether to enable cloud security service. Default is TRUE. * `instance_tags` - (Optional, ForceNew) A list of tags used to associate different resources. -* `internet_charge_type` - (Optional, ForceNew) Charge types for network traffic. Available values include `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. +* `internet_charge_type` - (Optional, ForceNew) Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. * `internet_max_bandwidth_out` - (Optional, ForceNew) Max bandwidth of Internet access in Mbps. Default is 0. * `key_ids` - (Optional, ForceNew) ID list of keys. * `password` - (Optional, ForceNew) Password to access. @@ -93,7 +93,7 @@ The `auto_scaling_config` object supports the following: * `public_ip_assigned` - (Optional, ForceNew) Specify whether to assign an Internet IP address. * `security_group_ids` - (Optional, ForceNew) Security groups to which a CVM instance belongs. * `system_disk_size` - (Optional, ForceNew) Volume of system disk in GB. Default is 50. -* `system_disk_type` - (Optional, ForceNew) Type of a CVM disk, and available values include CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM. +* `system_disk_type` - (Optional, ForceNew) Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM. The `auto_scaling_group` object supports the following: @@ -115,7 +115,7 @@ The `auto_scaling_group` object supports the following: The `data_disk` object supports the following: * `disk_size` - (Optional, ForceNew) Volume of disk in GB. Default is 0. -* `disk_type` - (Optional, ForceNew) Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD. +* `disk_type` - (Optional, ForceNew) Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. * `snapshot_id` - (Optional, ForceNew) Data disk snapshot ID. The `forward_balancer_ids` object supports the following: diff --git a/website/docs/r/lb.html.markdown b/website/docs/r/lb.html.markdown index afcc8bb9e3..0ff7b45a9d 100644 --- a/website/docs/r/lb.html.markdown +++ b/website/docs/r/lb.html.markdown @@ -28,8 +28,8 @@ resource "tencentcloud_lb" "classic" { The following arguments are supported: -* `type` - (Required, ForceNew) The network type of the LB, valid choices: 'OPEN', 'INTERNAL'. -* `forward` - (Optional, ForceNew) The type of the LB, valid choices: 'CLASSIC', 'APPLICATION'. +* `type` - (Required, ForceNew) The network type of the LB. Valid value: 'OPEN', 'INTERNAL'. +* `forward` - (Optional, ForceNew) The type of the LB. Valid value: 'CLASSIC', 'APPLICATION'. * `name` - (Optional) The name of the LB. * `project_id` - (Optional, ForceNew) The project id of the LB, unspecified or 0 stands for default project. * `vpc_id` - (Optional, ForceNew) The VPC ID of the LB, unspecified or 0 stands for CVM basic network. diff --git a/website/docs/r/monitor_binding_receiver.html.markdown b/website/docs/r/monitor_binding_receiver.html.markdown index 9e12689ee9..1da39cbcdb 100644 --- a/website/docs/r/monitor_binding_receiver.html.markdown +++ b/website/docs/r/monitor_binding_receiver.html.markdown @@ -61,7 +61,7 @@ The `receivers` object supports the following: * `receive_language` - (Optional) Alert sending language. Optional `en-US`,`zh-CN`. * `receiver_group_list` - (Optional) Alarm receive group id list. * `receiver_user_list` - (Optional) Alarm receiver id list. -* `start_time` - (Optional) Alarm period start time.Range [0,86399], which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'. +* `start_time` - (Optional) Alarm period start time. Valid value ranges: [0-86399]. which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'. ## Attributes Reference diff --git a/website/docs/r/monitor_policy_group.html.markdown b/website/docs/r/monitor_policy_group.html.markdown index 99453a6e06..b0ef023b1f 100644 --- a/website/docs/r/monitor_policy_group.html.markdown +++ b/website/docs/r/monitor_policy_group.html.markdown @@ -59,7 +59,7 @@ The following arguments are supported: * `remark` - (Required, ForceNew) Policy group's remark information. * `conditions` - (Optional) A list of threshold rules. Each element contains the following attributes: * `event_conditions` - (Optional) A list of event rules. Each element contains the following attributes: -* `is_union_rule` - (Optional) The and or relation of indicator alarm rule, 0 represents or rule (if any rule is met, the alarm will be raised), 1 represents and rule (if all rules are met, the alarm will be raised).The default is 0. +* `is_union_rule` - (Optional) The and or relation of indicator alarm rule.Valid values: 0, 1. 0 represents or rule (if any rule is met, the alarm will be raised), 1 represents and rule (if all rules are met, the alarm will be raised).The default is 0. * `project_id` - (Optional, ForceNew) The project id to which the policy group belongs, default is 0. The `conditions` object supports the following: @@ -68,7 +68,7 @@ The `conditions` object supports the following: * `alarm_notify_type` - (Required) Alarm sending convergence type. 0 continuous alarm, 1 index alarm. * `metric_id` - (Required) Id of the metric, refer to `data.tencentcloud_monitor_policy_conditions(metric_id)`. * `calc_period` - (Optional) Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to `data.tencentcloud_monitor_policy_conditions(period_keys)`. -* `calc_type` - (Optional) Compare type, 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`. +* `calc_type` - (Optional) Compare type. Valid value ranges: [1-12]. 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`. * `calc_value` - (Optional) Threshold value, refer to `data.tencentcloud_monitor_policy_conditions(calc_value_*)`. * `continue_period` - (Optional) The rule triggers an alert that lasts for several detection cycles, refer to `data.tencentcloud_monitor_policy_conditions(period_num_keys)`. @@ -93,16 +93,16 @@ In addition to all arguments above, the following attributes are exported: * `receivers` - A list of receivers. Each element contains the following attributes: * `end_time` - End of alarm period. Meaning with `start_time`. * `need_send_notice` - Do need a telephone alarm contact prompt.You don't need 0, you need 1. - * `notify_way` - Method of warning notification.Optional "SMS", "SITE", "EMAIL", "CALL", "WECHAT". + * `notify_way` - Method of warning notification. Valid values: "SMS", "SITE", "EMAIL", "CALL", "WECHAT". * `person_interval` - Telephone warning to individual interval (seconds). * `receive_language` - Alert sending language. * `receiver_group_list` - Alarm receive group id list. - * `receiver_type` - Receive type, 'group' (receiving group) or 'user' (receiver). + * `receiver_type` - Receive type.Valid values: group, user. 'group' (receiving group) or 'user' (receiver). * `receiver_user_list` - Alarm receiver id list. * `recover_notify` - Restore notification mode. Optional "SMS". * `round_interval` - Telephone alarm interval per round (seconds). * `round_number` - Telephone alarm number. - * `send_for` - Telephone warning time.Option "OCCUR","RECOVER". + * `send_for` - Telephone warning time. Valid values: "OCCUR","RECOVER". * `start_time` - Alarm period start time.Range [0,86400], which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'. * `uid_list` - The phone alerts the receiver uid. * `support_regions` - Support regions this policy group. diff --git a/website/docs/r/mysql_account_privilege.html.markdown b/website/docs/r/mysql_account_privilege.html.markdown index c0b34f08ce..f6a805507c 100644 --- a/website/docs/r/mysql_account_privilege.html.markdown +++ b/website/docs/r/mysql_account_privilege.html.markdown @@ -32,7 +32,7 @@ The following arguments are supported: * `database_names` - (Required) List of specified database name. * `mysql_id` - (Required, ForceNew) Instance ID. * `account_host` - (Optional, ForceNew) Account host, default is `%`. -* `privileges` - (Optional) Database permissions. Available values for Privileges: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE TEMPORARY TABLES", "LOCK TABLES","EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", and "TRIGGER". +* `privileges` - (Optional) Database permissions. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE TEMPORARY TABLES", "LOCK TABLES","EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", and "TRIGGER". ## Attributes Reference diff --git a/website/docs/r/mysql_backup_policy.html.markdown b/website/docs/r/mysql_backup_policy.html.markdown index eed4cc41e2..8517d0e6fa 100644 --- a/website/docs/r/mysql_backup_policy.html.markdown +++ b/website/docs/r/mysql_backup_policy.html.markdown @@ -31,7 +31,7 @@ The following arguments are supported: * `mysql_id` - (Required, ForceNew) Instance ID to which policies will be applied. * `backup_model` - (Optional) Backup method. Supported values include: 'physical' - physical backup. * `backup_time` - (Optional) Instance backup time, in the format of "HH:mm-HH:mm". Time setting interval is four hours. Default to "02:00-06:00". The following value can be supported: 02:00-06:00, 06:00-10:00, 10:00-14:00, 14:00-18:00, 18:00-22:00, and 22:00-02:00. -* `retention_period` - (Optional) Instance backup retention days. Valid values: [7-730]. And default value is 7. +* `retention_period` - (Optional) Instance backup retention days. Valid value ranges: [7-730]. And default value is 7. ## Attributes Reference diff --git a/website/docs/r/mysql_instance.html.markdown b/website/docs/r/mysql_instance.html.markdown index 6a5bbbd960..fbf635b1da 100644 --- a/website/docs/r/mysql_instance.html.markdown +++ b/website/docs/r/mysql_instance.html.markdown @@ -55,14 +55,14 @@ The following arguments are supported: * `volume_size` - (Required) Disk size (in GB). * `auto_renew_flag` - (Optional) Auto renew flag. NOTES: Only supported prepaid instance. * `availability_zone` - (Optional, ForceNew) Indicates which availability zone will be used. -* `charge_type` - (Optional, ForceNew) Pay type of instance, valid values are `PREPAID`, `POSTPAID`. Default is `POSTPAID`. +* `charge_type` - (Optional, ForceNew) Pay type of instance. Valid values:`PREPAID`, `POSTPAID`. Default is `POSTPAID`. * `engine_version` - (Optional, ForceNew) The version number of the database engine to use. Supported versions include 5.5/5.6/5.7, and default is 5.7. * `first_slave_zone` - (Optional, ForceNew) Zone information about first slave instance. * `force_delete` - (Optional) Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect. * `internet_service` - (Optional) Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes. -* `intranet_port` - (Optional) Public access port, rang form 1024 to 65535 and default value is 3306. +* `intranet_port` - (Optional) Public access port. Valid value ranges: [1024-65535]. The default value is 3306. * `parameters` - (Optional) List of parameters to use. -* `pay_type` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `charge_type` instead. Pay type of instance, 0: prepaid, 1: postpaid. +* `pay_type` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `charge_type` instead. Pay type of instance. Valid values:0, 1. 0: prepaid, 1: postpaid. * `period` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `prepaid_period` instead. Period of instance. NOTES: Only supported prepaid instance. * `prepaid_period` - (Optional) Period of instance. NOTES: Only supported prepaid instance. * `project_id` - (Optional) Project ID, default value is 0. @@ -83,8 +83,8 @@ In addition to all arguments above, the following attributes are exported: * `internet_host` - host for public access. * `internet_port` - Access port for public access. * `intranet_ip` - instance intranet IP. -* `locked` - Indicates whether the instance is locked. 0 - No; 1 - Yes. -* `status` - Instance status. Available values: 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated. +* `locked` - Indicates whether the instance is locked.Valid values: 0, 1. 0 - No; 1 - Yes. +* `status` - Instance status. Valid values: 0,1,4,5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated. * `task_status` - Indicates which kind of operations is being executed. diff --git a/website/docs/r/mysql_readonly_instance.html.markdown b/website/docs/r/mysql_readonly_instance.html.markdown index 84a68613cd..138cb2f05d 100644 --- a/website/docs/r/mysql_readonly_instance.html.markdown +++ b/website/docs/r/mysql_readonly_instance.html.markdown @@ -41,10 +41,10 @@ The following arguments are supported: * `mem_size` - (Required) Memory size (in MB). * `volume_size` - (Required) Disk size (in GB). * `auto_renew_flag` - (Optional) Auto renew flag. NOTES: Only supported prepaid instance. -* `charge_type` - (Optional, ForceNew) Pay type of instance, valid values are `PREPAID`, `POSTPAID`. Default is `POSTPAID`. +* `charge_type` - (Optional, ForceNew) Pay type of instance. Valid values:`PREPAID`, `POSTPAID`. Default is `POSTPAID`. * `force_delete` - (Optional) Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect. -* `intranet_port` - (Optional) Public access port, rang form 1024 to 65535 and default value is 3306. -* `pay_type` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `charge_type` instead. Pay type of instance, 0: prepaid, 1: postpaid. +* `intranet_port` - (Optional) Public access port. Valid value ranges: [1024-65535]. The default value is 3306. +* `pay_type` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `charge_type` instead. Pay type of instance. Valid values:0, 1. 0: prepaid, 1: postpaid. * `period` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `prepaid_period` instead. Period of instance. NOTES: Only supported prepaid instance. * `prepaid_period` - (Optional) Period of instance. NOTES: Only supported prepaid instance. * `security_groups` - (Optional) Security groups to use. @@ -58,8 +58,8 @@ In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. * `intranet_ip` - instance intranet IP. -* `locked` - Indicates whether the instance is locked. 0 - No; 1 - Yes. -* `status` - Instance status. Available values: 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated. +* `locked` - Indicates whether the instance is locked.Valid values: 0, 1. 0 - No; 1 - Yes. +* `status` - Instance status. Valid values: 0,1,4,5. 0 - Creating; 1 - Running; 4 - Isolating; 5 - Isolated. * `task_status` - Indicates which kind of operations is being executed. diff --git a/website/docs/r/nat_gateway.html.markdown b/website/docs/r/nat_gateway.html.markdown index 505ba25960..b1c86ad6d7 100644 --- a/website/docs/r/nat_gateway.html.markdown +++ b/website/docs/r/nat_gateway.html.markdown @@ -30,8 +30,8 @@ The following arguments are supported: * `assigned_eip_set` - (Required) EIP IP address set bound to the gateway. The value of at least 1 and at most 10. * `name` - (Required) Name of the NAT gateway. * `vpc_id` - (Required, ForceNew) ID of the vpc. -* `bandwidth` - (Optional) The maximum public network output bandwidth of NAT gateway (unit: Mbps), the available values include: 20,50,100,200,500,1000,2000,5000. Default is 100. -* `max_concurrent` - (Optional) The upper limit of concurrent connection of NAT gateway, the available values include: 1000000,3000000,10000000. Default is 1000000. +* `bandwidth` - (Optional) The maximum public network output bandwidth of NAT gateway (unit: Mbps). Valid values: 20,50,100,200,500,1000,2000,5000. Default is 100. +* `max_concurrent` - (Optional) The upper limit of concurrent connection of NAT gateway. Valid values: 1000000,3000000,10000000. Default is 1000000. ## Attributes Reference diff --git a/website/docs/r/placement_group.html.markdown b/website/docs/r/placement_group.html.markdown index 7d84336cee..4003d7dccd 100644 --- a/website/docs/r/placement_group.html.markdown +++ b/website/docs/r/placement_group.html.markdown @@ -25,7 +25,7 @@ resource "tencentcloud_placement_group" "foo" { The following arguments are supported: * `name` - (Required) Name of the placement group, 1-60 characters in length. -* `type` - (Required, ForceNew) Type of the placement group, the available values include `HOST`,`SW` and `RACK`. +* `type` - (Required, ForceNew) Type of the placement group. Valid values: `HOST`,`SW` and `RACK`. ## Attributes Reference diff --git a/website/docs/r/postgresql_instance.html.markdown b/website/docs/r/postgresql_instance.html.markdown index dcc13d452a..a369f59a6b 100644 --- a/website/docs/r/postgresql_instance.html.markdown +++ b/website/docs/r/postgresql_instance.html.markdown @@ -40,7 +40,7 @@ The following arguments are supported: * `availability_zone` - (Optional, ForceNew) Availability zone. * `charge_type` - (Optional, ForceNew) Pay type of the postgresql instance. For now, only `POSTPAID_BY_HOUR` is valid. * `charset` - (Optional, ForceNew) Charset of the root account. Valid values are `UTF8`,`LATIN1`. -* `engine_version` - (Optional, ForceNew) Version of the postgresql database engine. Allowed values are `9.3.5`, `9.5.4`, `10.4`. +* `engine_version` - (Optional, ForceNew) Version of the postgresql database engine.Valid values: `9.3.5`, `9.5.4`, `10.4`. * `project_id` - (Optional) Project id, default value is 0. * `public_access_switch` - (Optional) Indicates whether to enable the access to an instance from public network or not. * `subnet_id` - (Optional, ForceNew) ID of subnet. diff --git a/website/docs/r/redis_backup_config.html.markdown b/website/docs/r/redis_backup_config.html.markdown index 9543ef92ae..0128d80693 100644 --- a/website/docs/r/redis_backup_config.html.markdown +++ b/website/docs/r/redis_backup_config.html.markdown @@ -25,7 +25,7 @@ resource "tencentcloud_redis_backup_config" "redislab" { The following arguments are supported: -* `backup_period` - (Required) Specifys which day the backup action should take place. Supported values include: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday. +* `backup_period` - (Required) Specifys which day the backup action should take place. Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday. * `backup_time` - (Required) Specifys what time the backup action should take place. * `redis_id` - (Required, ForceNew) ID of a Redis instance to which the policy will be applied. diff --git a/website/docs/r/redis_instance.html.markdown b/website/docs/r/redis_instance.html.markdown index c8f9936d52..a0709ee804 100644 --- a/website/docs/r/redis_instance.html.markdown +++ b/website/docs/r/redis_instance.html.markdown @@ -36,7 +36,7 @@ The following arguments are supported: * `availability_zone` - (Required, ForceNew) The available zone ID of an instance to be created, please refer to tencentcloud_redis_zone_config.list. * `mem_size` - (Required) The memory volume of an available instance(in MB), please refer to tencentcloud_redis_zone_config.list[zone].mem_sizes. * `password` - (Required) Password for a Redis user, which should be 8 to 16 characters. -* `charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID`. Default value is `POSTPAID`. Note: TencentCloud International only supports `POSTPAID`. Caution that update operation on this field will delete old instances and create new with new charge type. +* `charge_type` - (Optional, ForceNew) The charge type of instance. Valid values: `PREPAID` and `POSTPAID`. Default value is `POSTPAID`. Note: TencentCloud International only supports `POSTPAID`. Caution that update operation on this field will delete old instances and create new with new charge type. * `force_delete` - (Optional) Indicate whether to delete Redis instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for PREPAID instance. * `name` - (Optional) Instance name. * `port` - (Optional, ForceNew) The port used to access a redis instance. The default value is 6379. And this value can't be changed after creation, or the Redis instance will be recreated. diff --git a/website/docs/r/route_entry.html.markdown b/website/docs/r/route_entry.html.markdown index f9469a9c6a..f5d313e127 100644 --- a/website/docs/r/route_entry.html.markdown +++ b/website/docs/r/route_entry.html.markdown @@ -49,7 +49,7 @@ The following arguments are supported: * `cidr_block` - (Required, ForceNew) The RouteEntry's target network segment. * `next_hub` - (Required, ForceNew) The route entry's next hub. CVM instance ID or VPC router interface ID. -* `next_type` - (Required, ForceNew) The next hop type. Available value is `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway` and `instance`. `instance` points to CVM Instance. +* `next_type` - (Required, ForceNew) The next hop type. Valid values: `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway` and `instance`. `instance` points to CVM Instance. * `route_table_id` - (Required, ForceNew) The ID of the route table. * `vpc_id` - (Required, ForceNew) The VPC ID. diff --git a/website/docs/r/route_table_entry.html.markdown b/website/docs/r/route_table_entry.html.markdown index 8f3a80c82e..fdb98eb057 100644 --- a/website/docs/r/route_table_entry.html.markdown +++ b/website/docs/r/route_table_entry.html.markdown @@ -51,7 +51,7 @@ The following arguments are supported: * `destination_cidr_block` - (Required, ForceNew) Destination address block. * `next_hub` - (Required, ForceNew) ID of next-hop gateway. Note: when 'next_type' is EIP, GatewayId should be '0'. -* `next_type` - (Required, ForceNew) Type of next-hop, and available values include CVM, VPN, DIRECTCONNECT, PEERCONNECTION, SSLVPN, NAT, NORMAL_CVM, EIP and CCN. +* `next_type` - (Required, ForceNew) Type of next-hop. Valid values: CVM, VPN, DIRECTCONNECT, PEERCONNECTION, SSLVPN, NAT, NORMAL_CVM, EIP and CCN. * `route_table_id` - (Required, ForceNew) ID of routing table to which this entry belongs. * `description` - (Optional, ForceNew) Description of the routing table entry. diff --git a/website/docs/r/security_group_rule.html.markdown b/website/docs/r/security_group_rule.html.markdown index c4cdf3eebb..104df8b926 100644 --- a/website/docs/r/security_group_rule.html.markdown +++ b/website/docs/r/security_group_rule.html.markdown @@ -63,12 +63,12 @@ resource "tencentcloud_security_group_rule" "sglab_2" { The following arguments are supported: -* `policy` - (Required, ForceNew) Rule policy of security group, the available value include `ACCEPT` and `DROP`. +* `policy` - (Required, ForceNew) Rule policy of security group. Valid values: `ACCEPT` and `DROP`. * `security_group_id` - (Required, ForceNew) ID of the security group to be queried. -* `type` - (Required, ForceNew) Type of the security group rule, the available value include `ingress` and `egress`. +* `type` - (Required, ForceNew) Type of the security group rule. Valid values: `ingress` and `egress`. * `cidr_ip` - (Optional, ForceNew) An IP address network or segment, and conflict with `source_sgid`. * `description` - (Optional, ForceNew) Description of the security group rule. -* `ip_protocol` - (Optional, ForceNew) Type of ip protocol, the available value include `TCP`, `UDP` and `ICMP`. Default to all types protocol. +* `ip_protocol` - (Optional, ForceNew) Type of ip protocol. Valid values: `TCP`, `UDP` and `ICMP`. Default to all types protocol. * `port_range` - (Optional, ForceNew) Range of the port. The available value can be one, multiple or one segment. E.g. `80`, `80,90` and `80-90`. Default to all ports. * `source_sgid` - (Optional, ForceNew) ID of the nested security group, and conflict with `cidr_ip`. diff --git a/website/docs/r/sqlserver_account.html.markdown b/website/docs/r/sqlserver_account.html.markdown index 4df989cdc0..295f823e12 100644 --- a/website/docs/r/sqlserver_account.html.markdown +++ b/website/docs/r/sqlserver_account.html.markdown @@ -38,7 +38,7 @@ In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. * `create_time` - Create time of the SQL Server account. -* `status` - Status of the SQL Server account. 1 for creating, 2 for running, 3 for modifying, 4 for resetting password, -1 for deleting. +* `status` - Status of the SQL Server account. Valid values: 1,2,3,4. 1 for creating, 2 for running, 3 for modifying, 4 for resetting password, -1 for deleting. * `update_time` - Last updated time of the SQL Server account. diff --git a/website/docs/r/sqlserver_account_db_attachment.html.markdown b/website/docs/r/sqlserver_account_db_attachment.html.markdown index d9f0212b7f..79e7dd016f 100644 --- a/website/docs/r/sqlserver_account_db_attachment.html.markdown +++ b/website/docs/r/sqlserver_account_db_attachment.html.markdown @@ -29,7 +29,7 @@ The following arguments are supported: * `account_name` - (Required, ForceNew) SQL Server account name. * `db_name` - (Required, ForceNew) SQL Server DB name. * `instance_id` - (Required, ForceNew) SQL Server instance ID that the account belongs to. -* `privilege` - (Required) Privilege of the account on DB. Valid value are `ReadOnly`, `ReadWrite`. +* `privilege` - (Required) Privilege of the account on DB. Valid values: `ReadOnly`, `ReadWrite`. ## Attributes Reference diff --git a/website/docs/r/sqlserver_readonly_instance.html.markdown b/website/docs/r/sqlserver_readonly_instance.html.markdown index ae23ea495c..36355a2fc3 100644 --- a/website/docs/r/sqlserver_readonly_instance.html.markdown +++ b/website/docs/r/sqlserver_readonly_instance.html.markdown @@ -35,7 +35,7 @@ The following arguments are supported: * `master_instance_id` - (Required, ForceNew) Indicates the master instance ID of recovery instances. * `memory` - (Required) Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides. * `name` - (Required) Name of the SQL Server instance. -* `readonly_group_type` - (Required, ForceNew) Type of readonly group. 1 for one auto-assigned readonly instance per one readonly group, 2 for creating new readonly group, 3 for all exist readonly instances stay in the exist readonly group. For now, only 1 and 3 are supported. +* `readonly_group_type` - (Required, ForceNew) Type of readonly group. Valid values: 1,3. 1 for one auto-assigned readonly instance per one readonly group, 2 for creating new readonly group, 3 for all exist readonly instances stay in the exist readonly group. For now, only 1 and 3 are supported. * `storage` - (Required) Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of `storage_min` and `storage_max` which data source `tencentcloud_sqlserver_specinfos` provides. * `availability_zone` - (Optional, ForceNew) Availability zone. * `charge_type` - (Optional, ForceNew) Pay type of the SQL Server instance. For now, only `POSTPAID_BY_HOUR` is valid. diff --git a/website/docs/r/ssl_certificate.html.markdown b/website/docs/r/ssl_certificate.html.markdown index fcdb2fbcd1..e1481f264a 100644 --- a/website/docs/r/ssl_certificate.html.markdown +++ b/website/docs/r/ssl_certificate.html.markdown @@ -27,7 +27,7 @@ resource "tencentcloud_ssl_certificate" "foo" { The following arguments are supported: * `cert` - (Required, ForceNew) Content of the SSL certificate. Not allowed newline at the start and end. -* `type` - (Required, ForceNew) Type of the SSL certificate. Available values includes: `CA` and `SVR`. +* `type` - (Required, ForceNew) Type of the SSL certificate. Valid values: `CA` and `SVR`. * `key` - (Optional, ForceNew) Key of the SSL certificate and required when certificate type is `SVR`. Not allowed newline at the start and end. * `name` - (Optional, ForceNew) Name of the SSL certificate. * `project_id` - (Optional, ForceNew) Project ID of the SSL certificate. Default is `0`. diff --git a/website/docs/r/tcaplus_cluster.html.markdown b/website/docs/r/tcaplus_cluster.html.markdown index edbe5b42c6..b4421b0e4c 100644 --- a/website/docs/r/tcaplus_cluster.html.markdown +++ b/website/docs/r/tcaplus_cluster.html.markdown @@ -31,7 +31,7 @@ resource "tencentcloud_tcaplus_cluster" "test" { The following arguments are supported: * `cluster_name` - (Required) Name of the TcaplusDB cluster. Name length should be between 1 and 30. -* `idl_type` - (Required, ForceNew) IDL type of the TcaplusDB cluster. Valid values are PROTO and TDR. +* `idl_type` - (Required, ForceNew) IDL type of the TcaplusDB cluster. Valid values: PROTO and TDR. * `password` - (Required) Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a *mix* of uppercase letters (A-Z), lowercase *letters* (a-z) and *numbers* (0-9). * `subnet_id` - (Required, ForceNew) Subnet id of the TcaplusDB cluster. * `vpc_id` - (Required, ForceNew) VPC id of the TcaplusDB cluster. @@ -48,7 +48,7 @@ In addition to all arguments above, the following attributes are exported: * `create_time` - Create time of the TcaplusDB cluster. * `network_type` - Network type of the TcaplusDB cluster. * `old_password_expire_time` - Expiration time of the old password. If `password_status` is `unmodifiable`, it means the old password has not yet expired. -* `password_status` - 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. +* `password_status` - Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, `modifiable`. `unmodifiable`, which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment. ## Import diff --git a/website/docs/r/tcaplus_table.html.markdown b/website/docs/r/tcaplus_table.html.markdown index b3a5eef6e6..23a18b1bbb 100644 --- a/website/docs/r/tcaplus_table.html.markdown +++ b/website/docs/r/tcaplus_table.html.markdown @@ -86,7 +86,7 @@ The following arguments are supported: * `reserved_read_cu` - (Required, ForceNew) Reserved read capacity units of the TcaplusDB table. * `reserved_volume` - (Required, ForceNew) Reserved storage capacity of the TcaplusDB table (unit: GB). * `reserved_write_cu` - (Required, ForceNew) Reserved write capacity units of the TcaplusDB table. -* `table_idl_type` - (Required) IDL type of the TcaplusDB table. Valid values are PROTO and TDR. +* `table_idl_type` - (Required) IDL type of the TcaplusDB table. Valid values: PROTO and TDR. * `table_name` - (Required, ForceNew) Name of the TcaplusDB table. * `table_type` - (Required, ForceNew) Type of the TcaplusDB table. Valid values are GENERIC and LIST. * `tablegroup_id` - (Required, ForceNew) ID of the table group to which the table belongs. diff --git a/website/docs/r/vpn_connection.html.markdown b/website/docs/r/vpn_connection.html.markdown index 7bdfc8eb6c..989acc1c39 100644 --- a/website/docs/r/vpn_connection.html.markdown +++ b/website/docs/r/vpn_connection.html.markdown @@ -54,22 +54,22 @@ The following arguments are supported: * `pre_share_key` - (Required) Pre-shared key of the VPN connection. * `security_group_policy` - (Required) Security group policy of the VPN connection. * `vpn_gateway_id` - (Required, ForceNew) ID of the VPN gateway. -* `ike_dh_group_name` - (Optional) DH group name of the IKE operation specification, valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`. Default value is `GROUP1`. -* `ike_exchange_mode` - (Optional) Exchange mode of the IKE operation specification, valid values are `AGGRESSIVE`, `MAIN`. Default value is `MAIN`. +* `ike_dh_group_name` - (Optional) DH group name of the IKE operation specification. Valid values: `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`. Default value is `GROUP1`. +* `ike_exchange_mode` - (Optional) Exchange mode of the IKE operation specification. Valid values: `AGGRESSIVE`, `MAIN`. Default value is `MAIN`. * `ike_local_address` - (Optional) Local address of IKE operation specification, valid when ike_local_identity is `ADDRESS`, generally the value is public_ip_address of the related VPN gateway. * `ike_local_fqdn_name` - (Optional) Local FQDN name of the IKE operation specification. -* `ike_local_identity` - (Optional) Local identity way of IKE operation specification, valid values are `ADDRESS`, `FQDN`. Default value is `ADDRESS`. -* `ike_proto_authen_algorithm` - (Optional) Proto authenticate algorithm of the IKE operation specification, valid values are `MD5`, `SHA`. Default Value is `MD5`. -* `ike_proto_encry_algorithm` - (Optional) Proto encrypt algorithm of the IKE operation specification, valid values are `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`. +* `ike_local_identity` - (Optional) Local identity way of IKE operation specification. Valid values: `ADDRESS`, `FQDN`. Default value is `ADDRESS`. +* `ike_proto_authen_algorithm` - (Optional) Proto authenticate algorithm of the IKE operation specification. Valid values: `MD5`, `SHA`. Default Value is `MD5`. +* `ike_proto_encry_algorithm` - (Optional) Proto encrypt algorithm of the IKE operation specification. Valid values: `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`. * `ike_remote_address` - (Optional) Remote address of IKE operation specification, valid when ike_remote_identity is `ADDRESS`, generally the value is public_ip_address of the related customer gateway. * `ike_remote_fqdn_name` - (Optional) Remote FQDN name of the IKE operation specification. -* `ike_remote_identity` - (Optional) Remote identity way of IKE operation specification, valid values are `ADDRESS`, `FQDN`. Default value is `ADDRESS`. +* `ike_remote_identity` - (Optional) Remote identity way of IKE operation specification. Valid values: `ADDRESS`, `FQDN`. Default value is `ADDRESS`. * `ike_sa_lifetime_seconds` - (Optional) SA lifetime of the IKE operation specification, unit is `second`. The value ranges from 60 to 604800. Default value is 86400 seconds. * `ike_version` - (Optional) Version of the IKE operation specification. Default value is `IKEV1`. -* `ipsec_encrypt_algorithm` - (Optional) Encrypt algorithm of the IPSEC operation specification, valid values are `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`. -* `ipsec_integrity_algorithm` - (Optional) Integrity algorithm of the IPSEC operation specification, valid values are `SHA1`, `MD5`. Default value is `MD5`. -* `ipsec_pfs_dh_group` - (Optional) PFS DH group, valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`. -* `ipsec_sa_lifetime_seconds` - (Optional) SA lifetime of the IPSEC operation specification, unit is `second`. The value ranges from 180 to 604800. Default value is 3600 seconds. +* `ipsec_encrypt_algorithm` - (Optional) Encrypt algorithm of the IPSEC operation specification. Valid values: `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`. +* `ipsec_integrity_algorithm` - (Optional) Integrity algorithm of the IPSEC operation specification. Valid values: `SHA1`, `MD5`. Default value is `MD5`. +* `ipsec_pfs_dh_group` - (Optional) PFS DH group. Valid value: `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`. +* `ipsec_sa_lifetime_seconds` - (Optional) SA lifetime of the IPSEC operation specification, unit is `second`. Valid value ranges: [180-604800]. Default value is 3600 seconds. * `ipsec_sa_lifetime_traffic` - (Optional) SA lifetime of the IPSEC operation specification, unit is `KB`. The value should not be less then 2560. Default value is 1843200. * `tags` - (Optional) A list of tags used to associate different resources. * `vpc_id` - (Optional, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway. @@ -87,9 +87,9 @@ In addition to all arguments above, the following attributes are exported: * `create_time` - Create time of the VPN connection. * `encrypt_proto` - Encrypt proto of the VPN connection. * `is_ccn_type` - Indicate whether is ccn type. Modification of this field only impacts force new logic of `vpc_id`. If `is_ccn_type` is true, modification of `vpc_id` will be ignored. -* `net_status` - Net status of the VPN connection, values are `AVAILABLE`. +* `net_status` - Net status of the VPN connection. Valid value: `AVAILABLE`. * `route_type` - Route type of the VPN connection. -* `state` - State of the connection, values are `PENDING`, `AVAILABLE`, `DELETING`. +* `state` - State of the connection. Valid value: `PENDING`, `AVAILABLE`, `DELETING`. * `vpn_proto` - Vpn proto of the VPN connection. diff --git a/website/docs/r/vpn_gateway.html.markdown b/website/docs/r/vpn_gateway.html.markdown index 1492a1c887..6eff65b71a 100644 --- a/website/docs/r/vpn_gateway.html.markdown +++ b/website/docs/r/vpn_gateway.html.markdown @@ -54,11 +54,11 @@ The following arguments are supported: * `name` - (Required) Name of the VPN gateway. The length of character is limited to 1-60. * `zone` - (Required, ForceNew) Zone of the VPN gateway. * `bandwidth` - (Optional) The maximum public network output bandwidth of VPN gateway (unit: Mbps), the available values include: 5,10,20,50,100,200,500,1000. Default is 5. When charge type is `PREPAID`, bandwidth degradation operation is unsupported. -* `charge_type` - (Optional) Charge Type of the VPN gateway, valid values are `PREPAID`, `POSTPAID_BY_HOUR` and default is `POSTPAID_BY_HOUR`. -* `prepaid_period` - (Optional) Period of instance to be prepaid. Valid values are 1, 2, 3, 4, 6, 7, 8, 9, 12, 24, 36 and unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be set to take effect in create operation. -* `prepaid_renew_flag` - (Optional) Flag indicates whether to renew or not, valid values are `NOTIFY_AND_RENEW`, `NOTIFY_AND_AUTO_RENEW`, `NOT_NOTIFY_AND_NOT_RENEW`. This para can only be set to take effect in create operation. +* `charge_type` - (Optional) Charge Type of the VPN gateway. Valid value: `PREPAID`, `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. +* `prepaid_period` - (Optional) Period of instance to be prepaid. Valid value: 1, 2, 3, 4, 6, 7, 8, 9, 12, 24, 36. The unit is month. Caution: when this para and renew_flag para are valid, the request means to renew several months more pre-paid period. This para can only be set to take effect in create operation. +* `prepaid_renew_flag` - (Optional) Flag indicates whether to renew or not. Valid value: `NOTIFY_AND_RENEW`, `NOTIFY_AND_AUTO_RENEW`, `NOT_NOTIFY_AND_NOT_RENEW`. This para can only be set to take effect in create operation. * `tags` - (Optional) A list of tags used to associate different resources. -* `type` - (Optional) Type of gateway instance, valid values are `IPSEC`, `SSL` and `CCN`. Note: CCN type is only for whitelist customer now. +* `type` - (Optional) Type of gateway instance. Valid value: `IPSEC`, `SSL` and `CCN`. Note: CCN type is only for whitelist customer now. * `vpc_id` - (Optional, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway. ## Attributes Reference @@ -69,10 +69,10 @@ In addition to all arguments above, the following attributes are exported: * `create_time` - Create time of the VPN gateway. * `expired_time` - Expired time of the VPN gateway when charge type is `PREPAID`. * `is_address_blocked` - Indicates whether ip address is blocked. -* `new_purchase_plan` - The plan of new purchase, valid value is `PREPAID_TO_POSTPAID`. +* `new_purchase_plan` - The plan of new purchase. Valid value: `PREPAID_TO_POSTPAID`. * `public_ip_address` - Public ip of the VPN gateway. -* `restrict_state` - Restrict state of gateway, valid values are `PRETECIVELY_ISOLATED`, `NORMAL`. -* `state` - State of the VPN gateway, valid values are `PENDING`, `DELETING`, `AVAILABLE`. +* `restrict_state` - Restrict state of gateway. Valid value: `PRETECIVELY_ISOLATED`, `NORMAL`. +* `state` - State of the VPN gateway. Valid value: `PENDING`, `DELETING`, `AVAILABLE`. ## Import From 617ce7b7a43de6b696920570970a9cfb58cc5fd9 Mon Sep 17 00:00:00 2001 From: crab Date: Sat, 10 Oct 2020 10:10:06 +0800 Subject: [PATCH 2/3] docs: modify doc validate ranges --- ...a_source_tc_cam_role_policy_attachments.go | 2 +- .../data_source_tc_sqlserver_zone_config.go | 2 +- .../data_source_tc_tcaplus_clusters.go | 2 +- tencentcloud/resource_tc_as_lifecycle_hook.go | 2 +- tencentcloud/resource_tc_clb_attachment.go | 4 +- tencentcloud/resource_tc_clb_listener.go | 4 +- tencentcloud/resource_tc_clb_listener_rule.go | 4 +- tencentcloud/resource_tc_dayu_ddos_policy.go | 46 +++++++++---------- .../resource_tc_dayu_ddos_policy_case.go | 12 ++--- tencentcloud/resource_tc_dayu_l7_rule.go | 4 +- tencentcloud/resource_tc_dcx.go | 2 +- .../resource_tc_elasticsearch_instance.go | 2 +- tencentcloud/resource_tc_gaap_http_rule.go | 2 +- tencentcloud/resource_tc_instance.go | 4 +- .../resource_tc_kubernetes_cluster.go | 2 +- .../resource_tc_monitor_binding_receiver.go | 2 +- .../resource_tc_monitor_policy_group.go | 2 +- .../resource_tc_mysql_backup_policy.go | 2 +- tencentcloud/resource_tc_mysql_instance.go | 2 +- tencentcloud/resource_tc_tcaplus_cluster.go | 2 +- tencentcloud/resource_tc_vpn_connection.go | 2 +- .../cam_role_policy_attachments.html.markdown | 2 +- .../d/sqlserver_zone_config.html.markdown | 2 +- website/docs/d/tcaplus_clusters.html.markdown | 2 +- .../docs/r/as_lifecycle_hook.html.markdown | 2 +- website/docs/r/clb_attachment.html.markdown | 4 +- website/docs/r/clb_listener.html.markdown | 4 +- .../docs/r/clb_listener_rule.html.markdown | 4 +- website/docs/r/dayu_ddos_policy.html.markdown | 46 +++++++++---------- .../r/dayu_ddos_policy_case.html.markdown | 12 ++--- website/docs/r/dayu_l7_rule.html.markdown | 4 +- website/docs/r/dcx.html.markdown | 2 +- .../r/elasticsearch_instance.html.markdown | 2 +- website/docs/r/gaap_http_rule.html.markdown | 2 +- website/docs/r/instance.html.markdown | 4 +- .../docs/r/kubernetes_cluster.html.markdown | 4 +- .../r/kubernetes_scale_worker.html.markdown | 2 +- .../r/monitor_binding_receiver.html.markdown | 2 +- .../docs/r/monitor_policy_group.html.markdown | 2 +- .../docs/r/mysql_backup_policy.html.markdown | 2 +- website/docs/r/mysql_instance.html.markdown | 2 +- .../r/mysql_readonly_instance.html.markdown | 2 +- website/docs/r/tcaplus_cluster.html.markdown | 2 +- website/docs/r/vpn_connection.html.markdown | 2 +- 44 files changed, 109 insertions(+), 109 deletions(-) diff --git a/tencentcloud/data_source_tc_cam_role_policy_attachments.go b/tencentcloud/data_source_tc_cam_role_policy_attachments.go index 96fc02cfb9..b50759c23a 100644 --- a/tencentcloud/data_source_tc_cam_role_policy_attachments.go +++ b/tencentcloud/data_source_tc_cam_role_policy_attachments.go @@ -54,7 +54,7 @@ func dataSourceTencentCloudCamRolePolicyAttachments() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validateAllowedStringValue(CAM_POLICY_CREATE_STRATEGY), - Description: "Type of the policy strategy. Valid values are 'User', 'QCS', '', 'User' means customer strategy and 'QCS' means preset strategy.", + Description: "Type of the policy strategy. Valid values are 'User', 'QCS'. 'User' means customer strategy and 'QCS' means preset strategy.", }, "result_output_file": { Type: schema.TypeString, diff --git a/tencentcloud/data_source_tc_sqlserver_zone_config.go b/tencentcloud/data_source_tc_sqlserver_zone_config.go index 1608f57e88..5c9faa2e08 100644 --- a/tencentcloud/data_source_tc_sqlserver_zone_config.go +++ b/tencentcloud/data_source_tc_sqlserver_zone_config.go @@ -97,7 +97,7 @@ func dataSourceTencentSqlserverZoneConfig() *schema.Resource { "charge_type": { Type: schema.TypeString, Computed: true, - Description: "Billing mode under this specification. Valid values are `POSTPAID_BY_HOUR`, `PREPAID` and `ALL` which means both POSTPAID_BY_HOUR and PREPAID.", + Description: "Billing mode under this specification. Valid values are `POSTPAID_BY_HOUR`, `PREPAID` and `ALL`. which means both POSTPAID_BY_HOUR and PREPAID.", }, }, }, diff --git a/tencentcloud/data_source_tc_tcaplus_clusters.go b/tencentcloud/data_source_tc_tcaplus_clusters.go index cc0acd7992..0c23469922 100644 --- a/tencentcloud/data_source_tc_tcaplus_clusters.go +++ b/tencentcloud/data_source_tc_tcaplus_clusters.go @@ -94,7 +94,7 @@ func dataSourceTencentCloudTcaplusClusters() *schema.Resource { "password_status": { Type: schema.TypeString, Computed: true, - 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.", + 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.", }, "api_access_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_as_lifecycle_hook.go b/tencentcloud/resource_tc_as_lifecycle_hook.go index 878b5a2bcc..966f32782f 100644 --- a/tencentcloud/resource_tc_as_lifecycle_hook.go +++ b/tencentcloud/resource_tc_as_lifecycle_hook.go @@ -66,7 +66,7 @@ func resourceTencentCloudAsLifecycleHook() *schema.Resource { Optional: true, Default: 300, ValidateFunc: validateIntegerInRange(30, 3600), - Description: "Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: [30-3600]. and default value is 300.", + Description: "Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: (30-3600). and default value is 300.", }, "notification_metadata": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_clb_attachment.go b/tencentcloud/resource_tc_clb_attachment.go index 4b9904b5dd..0895f715b1 100644 --- a/tencentcloud/resource_tc_clb_attachment.go +++ b/tencentcloud/resource_tc_clb_attachment.go @@ -90,14 +90,14 @@ func resourceTencentCloudClbServerAttachment() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 65535), - Description: "Port of the backend server. Valid value ranges: 0-65535.", + Description: "Port of the backend server. Valid value ranges: (0~65535).", }, "weight": { Type: schema.TypeInt, Optional: true, Default: 10, ValidateFunc: validateIntegerInRange(0, 100), - Description: "Forwarding weight of the backend service. Valid value ranges: [0, 100]. defaults to 10.", + Description: "Forwarding weight of the backend service. Valid value ranges: (0~100). defaults to 10.", }, }, }, diff --git a/tencentcloud/resource_tc_clb_listener.go b/tencentcloud/resource_tc_clb_listener.go index 5c1f7dbfeb..6cb2962307 100644 --- a/tencentcloud/resource_tc_clb_listener.go +++ b/tencentcloud/resource_tc_clb_listener.go @@ -127,14 +127,14 @@ func resourceTencentCloudClbListener() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(2, 60), - Description: "Response timeout of health check. Valid value ranges: is 2-60 sec. and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol.", + Description: "Response timeout of health check. Valid value ranges: (2~60) sec. and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol.", }, "health_check_interval_time": { Type: schema.TypeInt, Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(5, 300), - Description: "Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", + Description: "Interval time of health check. Valid value ranges: (5~300) sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", }, "health_check_health_num": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_clb_listener_rule.go b/tencentcloud/resource_tc_clb_listener_rule.go index 762e64fd5d..54bd20ddff 100644 --- a/tencentcloud/resource_tc_clb_listener_rule.go +++ b/tencentcloud/resource_tc_clb_listener_rule.go @@ -84,7 +84,7 @@ func resourceTencentCloudClbListenerRule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(5, 300), - Description: "Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", + Description: "Interval time of health check. Valid value ranges: (5~300) sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.", }, "health_check_health_num": { Type: schema.TypeInt, @@ -105,7 +105,7 @@ func resourceTencentCloudClbListenerRule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(1, 31), - Description: "HTTP Status Code. The default is 31. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol.", + Description: "HTTP Status Code. The default is 31. Valid value ranges: (1~31). 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol.", }, "health_check_http_path": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dayu_ddos_policy.go b/tencentcloud/resource_tc_dayu_ddos_policy.go index 20c459ad86..5fd9a148cf 100644 --- a/tencentcloud/resource_tc_dayu_ddos_policy.go +++ b/tencentcloud/resource_tc_dayu_ddos_policy.go @@ -139,31 +139,31 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of new connections based on destination IP. Valid value ranges: [0-4294967295].", + Description: "The limit of new connections based on destination IP. Valid value ranges: (0~4294967295).", }, "d_conn_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of concurrent connections based on destination IP. Valid value ranges: [0-4294967295].", + Description: "The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295).", }, "s_new_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of new connections based on source IP. Valid value ranges: [0-4294967295].", + Description: "The limit of new connections based on source IP. Valid value ranges: (0~4294967295).", }, "s_conn_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of concurrent connections based on source IP. Valid value ranges: [0-4294967295].", + Description: "The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295).", }, "bad_conn_threshold": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: [0-4294967295].", + Description: "The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295).", }, "null_conn_enable": { Type: schema.TypeBool, @@ -174,43 +174,43 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 65535), - Description: "Connection timeout of abnormal connection check. Valid value ranges: [0-65535].", + Description: "Connection timeout of abnormal connection check. Valid value ranges: (0~65535).", }, "syn_rate": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 100), - Description: "The percentage of syn in ack of abnormal connection check. Valid value ranges: [0-100].", + Description: "The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100).", }, "syn_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 100), - Description: "The limit of syn of abnormal connection check. Valid value ranges: [0-100].", + Description: "The limit of syn of abnormal connection check. Valid value ranges: (0~100).", }, "tcp_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of TCP traffic. Valid value ranges: [0-4294967295](Mbps).", + Description: "The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps).", }, "udp_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of UDP traffic rate. Valid value ranges: [0-4294967295](Mbps).", + Description: "The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps).", }, "icmp_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of ICMP traffic rate. Valid value ranges: [0-4294967295](Mbps).", + Description: "The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps).", }, "other_mbps_limit": { Type: schema.TypeInt, Required: true, ValidateFunc: validateIntegerInRange(0, 4294967295), - Description: "The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: [0-4294967295](Mbps).", + Description: "The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps).", }, }, }, @@ -232,14 +232,14 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Optional: true, Default: 0, ValidateFunc: validatePort, - Description: "Start port. Valid value ranges: [0-65535].", + Description: "Start port. Valid value ranges: (0~65535).", }, "end_port": { Type: schema.TypeInt, Optional: true, Default: 65535, ValidateFunc: validatePort, - Description: "End port. Valid value ranges: [0-65535]. It must be greater than `start_port`.", + Description: "End port. Valid value ranges: (0~65535). It must be greater than `start_port`.", }, "action": { Type: schema.TypeString, @@ -290,37 +290,37 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "Start port of the destination. Valid value ranges: [0-65535].", + Description: "Start port of the destination. Valid value ranges: (0~65535).", }, "d_end_port": { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "End port of the destination. Valid value ranges: [0-65535]. It must be greater than `d_start_port`.", + Description: "End port of the destination. Valid value ranges: (0~65535). It must be greater than `d_start_port`.", }, "s_start_port": { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "Start port of the source. Valid value ranges: [0-65535].", + Description: "Start port of the source. Valid value ranges: (0~65535).", }, "s_end_port": { Type: schema.TypeInt, Optional: true, ValidateFunc: validatePort, - Description: "End port of the source. Valid value ranges: [0-65535]. It must be greater than `s_start_port`.", + Description: "End port of the source. Valid value ranges: (0~65535). It must be greater than `s_start_port`.", }, "pkt_length_min": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The minimum length of the packet. Valid value ranges: [0-1500](Mbps).", + Description: "The minimum length of the packet. Valid value ranges: (0~1500)(Mbps).", }, "pkt_length_max": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The max length of the packet. Valid value ranges: [0-1500](Mbps). It must be greater than `pkt_length_min`.", + Description: "The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than `pkt_length_min`.", }, "match_begin": { Type: schema.TypeString, @@ -343,13 +343,13 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The depth of match. Valid value ranges: [0-1500].", + Description: "The depth of match. Valid value ranges: (0~1500).", }, "offset": { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 1500), - Description: "The offset of match. Valid value ranges: [0-1500].", + Description: "The offset of match. Valid value ranges: (0~1500).", }, "is_include": { Type: schema.TypeBool, @@ -394,7 +394,7 @@ func resourceTencentCloudDayuDdosPolicy() *schema.Resource { Type: schema.TypeInt, Optional: true, ValidateFunc: validateIntegerInRange(0, 100), - Description: "The offset of watermark. Valid value ranges: [0-100].", + Description: "The offset of watermark. Valid value ranges: (0~1500).", }, "auto_remove": { Type: schema.TypeBool, diff --git a/tencentcloud/resource_tc_dayu_ddos_policy_case.go b/tencentcloud/resource_tc_dayu_ddos_policy_case.go index 00fa028e67..8d556e7e94 100644 --- a/tencentcloud/resource_tc_dayu_ddos_policy_case.go +++ b/tencentcloud/resource_tc_dayu_ddos_policy_case.go @@ -100,25 +100,25 @@ func resourceTencentCloudDayuDdosPolicyCase() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "Start port of the TCP service. Valid value ranges: [0-65535].", + Description: "Start port of the TCP service. Valid value ranges: (0~65535).", }, "tcp_end_port": { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "End port of the TCP service. Valid value ranges: [0-65535]. It must be greater than `tcp_start_port`.", + Description: "End port of the TCP service. Valid value ranges: (0~65535). It must be greater than `tcp_start_port`.", }, "udp_start_port": { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "Start port of the UDP service. Valid value ranges: [0-65535].", + Description: "Start port of the UDP service. Valid value ranges: (0~65535).", }, "udp_end_port": { Type: schema.TypeString, Required: true, ValidateFunc: validatePort, - Description: "End port of the UDP service. Valid value ranges: [0-65535]. It must be greater than `udp_start_port`.", + Description: "End port of the UDP service. Valid value ranges: (0~65535). It must be greater than `udp_start_port`.", }, "has_abroad": { Type: schema.TypeString, @@ -148,13 +148,13 @@ func resourceTencentCloudDayuDdosPolicyCase() *schema.Resource { Type: schema.TypeString, Optional: true, ValidateFunc: validatePort, - Description: "The port that actively initiates TCP requests. Valid value ranges: [1-65535].", + Description: "The port that actively initiates TCP requests. Valid value ranges: (1~65535).", }, "peer_udp_port": { Type: schema.TypeString, Optional: true, ValidateFunc: validatePort, - Description: "The port that actively initiates UDP requests. Valid value ranges: [1-65535].", + Description: "The port that actively initiates UDP requests. Valid value ranges: (1~65535).", }, "tcp_footprint": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dayu_l7_rule.go b/tencentcloud/resource_tc_dayu_l7_rule.go index bd8203f880..7f505d9d5d 100644 --- a/tencentcloud/resource_tc_dayu_l7_rule.go +++ b/tencentcloud/resource_tc_dayu_l7_rule.go @@ -117,7 +117,7 @@ func resourceTencentCloudDayuL7Rule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(10, 60), - Description: "Interval time of health check. Valid value ranges: 10-60 sec. The default is 15 sec.", + Description: "Interval time of health check. Valid value ranges: (10~60)sec. The default is 15 sec.", }, "health_check_health_num": { Type: schema.TypeInt, @@ -138,7 +138,7 @@ func resourceTencentCloudDayuL7Rule() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(1, 31), - Description: "HTTP Status Code. The default is 26. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.", + Description: "HTTP Status Code. The default is 26. Valid value ranges: (1~31). 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values.", }, "health_check_path": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_dcx.go b/tencentcloud/resource_tc_dcx.go index 366abce93a..ce0b82a9e1 100644 --- a/tencentcloud/resource_tc_dcx.go +++ b/tencentcloud/resource_tc_dcx.go @@ -136,7 +136,7 @@ func resourceTencentCloudDcxInstance() *schema.Resource { Optional: true, ForceNew: true, Default: 0, - Description: "Vlan of the dedicated tunnels. Valid value ranges:[0-3000]. '0' means that only one tunnel can be created for the physical connect.", + Description: "Vlan of the dedicated tunnels. Valid value ranges: (0~3000). '0' means that only one tunnel can be created for the physical connect.", }, "tencent_address": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_elasticsearch_instance.go b/tencentcloud/resource_tc_elasticsearch_instance.go index 59db730638..2ccd6779f0 100755 --- a/tencentcloud/resource_tc_elasticsearch_instance.go +++ b/tencentcloud/resource_tc_elasticsearch_instance.go @@ -204,7 +204,7 @@ func resourceTencentCloudElasticsearchInstance() *schema.Resource { Optional: true, Default: ES_BASIC_SECURITY_TYPE_OFF, ValidateFunc: validateAllowedIntValue(ES_BASIC_SECURITY_TYPE), - Description: "Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are `1` and `2`, `1` is disabled, `2` is enabled, and default value is `1`.", + Description: "Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are `1` and `2`. `1` is disabled, `2` is enabled, and default value is `1`.", }, "tags": { Type: schema.TypeMap, diff --git a/tencentcloud/resource_tc_gaap_http_rule.go b/tencentcloud/resource_tc_gaap_http_rule.go index 3775584ffa..1ea815d6a8 100644 --- a/tencentcloud/resource_tc_gaap_http_rule.go +++ b/tencentcloud/resource_tc_gaap_http_rule.go @@ -209,7 +209,7 @@ func resourceTencentCloudGaapHttpRule() *schema.Resource { Optional: true, Default: 1, ValidateFunc: validateIntegerInRange(1, 100), - Description: "Scheduling weight, default value is `1`. Valid value ranges: [1-100].", + Description: "Scheduling weight, default value is `1`. Valid value ranges: (1~100).", }, }, }, diff --git a/tencentcloud/resource_tc_instance.go b/tencentcloud/resource_tc_instance.go index d3ab627630..57a7751d51 100644 --- a/tencentcloud/resource_tc_instance.go +++ b/tencentcloud/resource_tc_instance.go @@ -160,7 +160,7 @@ func resourceTencentCloudInstance() *schema.Resource { ForceNew: true, Default: CVM_CHARGE_TYPE_POSTPAID, ValidateFunc: validateAllowedStringValue(CVM_CHARGE_TYPE), - Description: "The charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR` and `SPOTPAID`, The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. `PREPAID` instance may not allow to delete before expired. `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.", + Description: "The charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR` and `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. `PREPAID` instance may not allow to delete before expired. `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.", }, "instance_charge_type_prepaid_period": { Type: schema.TypeInt, @@ -252,7 +252,7 @@ func resourceTencentCloudInstance() *schema.Resource { Default: 50, ForceNew: true, ValidateFunc: validateIntegerInRange(50, 1000), - Description: "Size of the system disk. Valid value ranges: [50, 1000]. and unit is GB. Default is 50GB.", + Description: "Size of the system disk. Valid value ranges: (50~1000). and unit is GB. Default is 50GB.", }, "system_disk_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_kubernetes_cluster.go b/tencentcloud/resource_tc_kubernetes_cluster.go index 1ca71672c2..1141d2b477 100644 --- a/tencentcloud/resource_tc_kubernetes_cluster.go +++ b/tencentcloud/resource_tc_kubernetes_cluster.go @@ -212,7 +212,7 @@ func TkeCvmCreateInfo() map[string]*schema.Schema { ForceNew: true, Default: CVM_CHARGE_TYPE_POSTPAID, ValidateFunc: validateAllowedStringValue(TKE_INSTANCE_CHARGE_TYPE), - Description: "The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`, The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.", + Description: "The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.", }, "instance_charge_type_prepaid_period": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_monitor_binding_receiver.go b/tencentcloud/resource_tc_monitor_binding_receiver.go index 1fb0f046ca..23ca39dbff 100644 --- a/tencentcloud/resource_tc_monitor_binding_receiver.go +++ b/tencentcloud/resource_tc_monitor_binding_receiver.go @@ -75,7 +75,7 @@ func resourceTencentMonitorBindingAlarmReceiver() *schema.Resource { Optional: true, Default: 0, ValidateFunc: validateIntegerInRange(0, 86399), - Description: "Alarm period start time. Valid value ranges: [0-86399]. which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'.", + Description: "Alarm period start time. Valid value ranges: (0~86399). which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'.", }, "end_time": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_monitor_policy_group.go b/tencentcloud/resource_tc_monitor_policy_group.go index 7810712b05..c7d5c6753d 100644 --- a/tencentcloud/resource_tc_monitor_policy_group.go +++ b/tencentcloud/resource_tc_monitor_policy_group.go @@ -133,7 +133,7 @@ func resourceTencentMonitorPolicyGroup() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validateIntegerInRange(1, 12), - Description: "Compare type. Valid value ranges: [1-12]. 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`.", + Description: "Compare type. Valid value ranges: (1~12). 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`.", }, "calc_value": { Type: schema.TypeFloat, diff --git a/tencentcloud/resource_tc_mysql_backup_policy.go b/tencentcloud/resource_tc_mysql_backup_policy.go index 32d40d819f..6e1266a255 100644 --- a/tencentcloud/resource_tc_mysql_backup_policy.go +++ b/tencentcloud/resource_tc_mysql_backup_policy.go @@ -44,7 +44,7 @@ func resourceTencentCloudMysqlBackupPolicy() *schema.Resource { ValidateFunc: validateIntegerInRange(7, 732), Optional: true, Default: 7, - Description: "Instance backup retention days. Valid value ranges: [7-730]. And default value is 7.", + Description: "Instance backup retention days. Valid value ranges: (7~730). And default value is 7.", }, "backup_model": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_mysql_instance.go b/tencentcloud/resource_tc_mysql_instance.go index 6cddf02216..7b10dc96dc 100644 --- a/tencentcloud/resource_tc_mysql_instance.go +++ b/tencentcloud/resource_tc_mysql_instance.go @@ -129,7 +129,7 @@ func TencentMsyqlBasicInfo() map[string]*schema.Schema { Optional: true, ValidateFunc: validateIntegerInRange(1024, 65535), Default: 3306, - Description: "Public access port. Valid value ranges: [1024-65535]. The default value is 3306.", + Description: "Public access port. Valid value ranges: (1024~65535). The default value is 3306.", }, "mem_size": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_tcaplus_cluster.go b/tencentcloud/resource_tc_tcaplus_cluster.go index d38e714001..4c303a2e52 100644 --- a/tencentcloud/resource_tc_tcaplus_cluster.go +++ b/tencentcloud/resource_tc_tcaplus_cluster.go @@ -131,7 +131,7 @@ func resourceTencentCloudTcaplusCluster() *schema.Resource { "password_status": { Type: schema.TypeString, Computed: true, - Description: "Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, `modifiable`. `unmodifiable`, which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment.", + Description: "Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, `modifiable`. `unmodifiable`. which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment.", }, "api_access_id": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_vpn_connection.go b/tencentcloud/resource_tc_vpn_connection.go index 927ed6b4dd..e0e8728f78 100644 --- a/tencentcloud/resource_tc_vpn_connection.go +++ b/tencentcloud/resource_tc_vpn_connection.go @@ -228,7 +228,7 @@ func resourceTencentCloudVpnConnection() *schema.Resource { Optional: true, Default: 3600, ValidateFunc: validateIntegerInRange(180, 604800), - Description: "SA lifetime of the IPSEC operation specification, unit is `second`. Valid value ranges: [180-604800]. Default value is 3600 seconds.", + Description: "SA lifetime of the IPSEC operation specification, unit is `second`. Valid value ranges: (180~604800). Default value is 3600 seconds.", }, "ipsec_pfs_dh_group": { Type: schema.TypeString, diff --git a/website/docs/d/cam_role_policy_attachments.html.markdown b/website/docs/d/cam_role_policy_attachments.html.markdown index edd77ccb86..905b602b66 100644 --- a/website/docs/d/cam_role_policy_attachments.html.markdown +++ b/website/docs/d/cam_role_policy_attachments.html.markdown @@ -33,7 +33,7 @@ The following arguments are supported: * `role_id` - (Required) Id of the attached CAM role to be queried. * `create_mode` - (Optional) Mode of Creation of the CAM user policy attachment. 1 means the cam policy attachment is created by production, and the others indicate syntax strategy ways. * `policy_id` - (Optional) Id of CAM policy to be queried. -* `policy_type` - (Optional) Type of the policy strategy. Valid values are 'User', 'QCS', '', 'User' means customer strategy and 'QCS' means preset strategy. +* `policy_type` - (Optional) Type of the policy strategy. Valid values are 'User', 'QCS'. 'User' means customer strategy and 'QCS' means preset strategy. * `result_output_file` - (Optional) Used to save results. ## Attributes Reference diff --git a/website/docs/d/sqlserver_zone_config.html.markdown b/website/docs/d/sqlserver_zone_config.html.markdown index 64f70c3864..c12a1bc5f2 100644 --- a/website/docs/d/sqlserver_zone_config.html.markdown +++ b/website/docs/d/sqlserver_zone_config.html.markdown @@ -31,7 +31,7 @@ In addition to all arguments above, the following attributes are exported: * `zone_list` - A list of availability zones. Each element contains the following attributes: * `availability_zone` - Alphabet ID of availability zone. * `specinfo_list` - A list of specinfo configurations for the specific availability zone. Each element contains the following attributes: - * `charge_type` - Billing mode under this specification. Valid values are `POSTPAID_BY_HOUR`, `PREPAID` and `ALL` which means both POSTPAID_BY_HOUR and PREPAID. + * `charge_type` - Billing mode under this specification. Valid values are `POSTPAID_BY_HOUR`, `PREPAID` and `ALL`. which means both POSTPAID_BY_HOUR and PREPAID. * `cpu` - Number of CPU cores. * `db_version_name` - Version name corresponding to the `db_version` field. * `db_version` - Database version information. Valid values: `2008R2 (SQL Server 2008 Enterprise)`, `2012SP3 (SQL Server 2012 Enterprise)`, `2016SP1 (SQL Server 2016 Enterprise)`, `201602 (SQL Server 2016 Standard)`, `2017 (SQL Server 2017 Enterprise)`. diff --git a/website/docs/d/tcaplus_clusters.html.markdown b/website/docs/d/tcaplus_clusters.html.markdown index 91b98d2d73..7bfd2555cf 100644 --- a/website/docs/d/tcaplus_clusters.html.markdown +++ b/website/docs/d/tcaplus_clusters.html.markdown @@ -48,7 +48,7 @@ In addition to all arguments above, the following attributes are exported: * `idl_type` - IDL type of the TcaplusDB cluster. * `network_type` - Network type of the TcaplusDB cluster. * `old_password_expire_time` - Expiration time of the old password. If `password_status` is `unmodifiable`, it means the old password has not yet expired. - * `password_status` - 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. + * `password_status` - 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. * `password` - Access password of the TcaplusDB cluster. * `subnet_id` - Subnet id of the TcaplusDB cluster. * `vpc_id` - VPC id of the TcaplusDB cluster. diff --git a/website/docs/r/as_lifecycle_hook.html.markdown b/website/docs/r/as_lifecycle_hook.html.markdown index bb35b05c8c..c9a1ee0618 100644 --- a/website/docs/r/as_lifecycle_hook.html.markdown +++ b/website/docs/r/as_lifecycle_hook.html.markdown @@ -34,7 +34,7 @@ The following arguments are supported: * `lifecycle_transition` - (Required) The instance state to which you want to attach the lifecycle hook. Valid values: INSTANCE_LAUNCHING and INSTANCE_TERMINATING. * `scaling_group_id` - (Required, ForceNew) ID of a scaling group. * `default_result` - (Optional) Defines the action the AS group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. Valid values: CONTINUE and ABANDON. The default value is CONTINUE. -* `heartbeat_timeout` - (Optional) Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: [30-3600]. and default value is 300. +* `heartbeat_timeout` - (Optional) Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: (30-3600). and default value is 300. * `notification_metadata` - (Optional) Contains additional information that you want to include any time AS sends a message to the notification target. * `notification_queue_name` - (Optional) For CMQ_QUEUE type, a name of queue must be set. * `notification_target_type` - (Optional) Target type. Valid values: CMQ_QUEUE, CMQ_TOPIC. diff --git a/website/docs/r/clb_attachment.html.markdown b/website/docs/r/clb_attachment.html.markdown index b8968370bf..889ca2a122 100644 --- a/website/docs/r/clb_attachment.html.markdown +++ b/website/docs/r/clb_attachment.html.markdown @@ -39,8 +39,8 @@ The following arguments are supported: The `targets` object supports the following: * `instance_id` - (Required) Id of the backend server. -* `port` - (Required) Port of the backend server. Valid value ranges: 0-65535. -* `weight` - (Optional) Forwarding weight of the backend service. Valid value ranges: [0, 100]. defaults to 10. +* `port` - (Required) Port of the backend server. Valid value ranges: (0~65535). +* `weight` - (Optional) Forwarding weight of the backend service. Valid value ranges: (0~100). defaults to 10. ## Attributes Reference diff --git a/website/docs/r/clb_listener.html.markdown b/website/docs/r/clb_listener.html.markdown index 54cae3ef74..d1fd04c3a8 100644 --- a/website/docs/r/clb_listener.html.markdown +++ b/website/docs/r/clb_listener.html.markdown @@ -88,9 +88,9 @@ The following arguments are supported: * `certificate_id` - (Optional) Id of the server certificate. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when it is available. * `certificate_ssl_mode` - (Optional) Type of certificate. Valid values: 'UNIDIRECTIONAL', 'MUTUAL'. NOTES: Only supports listeners of 'HTTPS' and 'TCP_SSL' protocol and must be set when it is available. * `health_check_health_num` - (Optional) Health threshold of health check, and the default is 3. If a success result is returned for the health check for 3 consecutive times, the backend CVM is identified as healthy. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. -* `health_check_interval_time` - (Optional) Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. +* `health_check_interval_time` - (Optional) Interval time of health check. Valid value ranges: (5~300) sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `health_check_switch` - (Optional) Indicates whether health check is enabled. -* `health_check_time_out` - (Optional) Response timeout of health check. Valid value ranges: is 2-60 sec. and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol. +* `health_check_time_out` - (Optional) Response timeout of health check. Valid value ranges: (2~60) sec. and the default is 2 sec. Response timeout needs to be less than check interval. NOTES: Only supports listeners of 'TCP','UDP','TCP_SSL' protocol. * `health_check_unhealth_num` - (Optional) Unhealthy threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, the CVM is identified as unhealthy. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `port` - (Optional, ForceNew) Port of the CLB listener. * `scheduler` - (Optional) Scheduling method of the CLB listener, and available values are 'WRR' and 'LEAST_CONN'. The default is 'WRR'. NOTES: The listener of HTTP and 'HTTPS' protocol additionally supports the 'IP Hash' method. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. diff --git a/website/docs/r/clb_listener_rule.html.markdown b/website/docs/r/clb_listener_rule.html.markdown index 38b8d5a37e..a59b97cd5d 100644 --- a/website/docs/r/clb_listener_rule.html.markdown +++ b/website/docs/r/clb_listener_rule.html.markdown @@ -49,11 +49,11 @@ The following arguments are supported: * `certificate_id` - (Optional, ForceNew) Id of the server certificate. NOTES: Only supports listeners of 'HTTPS' protocol. * `certificate_ssl_mode` - (Optional, ForceNew) Type of certificate, and available values inclue 'UNIDIRECTIONAL', 'MUTUAL'. NOTES: Only supports listeners of 'HTTPS' protocol. * `health_check_health_num` - (Optional) Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. -* `health_check_http_code` - (Optional) HTTP Status Code. The default is 31. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. +* `health_check_http_code` - (Optional) HTTP Status Code. The default is 31. Valid value ranges: (1~31). 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. * `health_check_http_domain` - (Optional) Domain name of health check. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. * `health_check_http_method` - (Optional) Methods of health check. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. The default is 'HEAD', the available value are 'HEAD' and 'GET'. * `health_check_http_path` - (Optional) Path of health check. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol. -* `health_check_interval_time` - (Optional) Interval time of health check. Valid value ranges: 5-300 sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. +* `health_check_interval_time` - (Optional) Interval time of health check. Valid value ranges: (5~300) sec. and the default is 5 sec. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `health_check_switch` - (Optional) Indicates whether health check is enabled. * `health_check_unhealth_num` - (Optional) Unhealthy threshold of health check, and the default is 3. If the unhealth result is returned 3 consecutive times, indicates that the forwarding is abnormal. The value range is 2-10. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. * `scheduler` - (Optional) Scheduling method of the CLB listener rules. Valid values: 'WRR', 'IP HASH' and 'LEAST_CONN'. The default is 'WRR'. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule. diff --git a/website/docs/r/dayu_ddos_policy.html.markdown b/website/docs/r/dayu_ddos_policy.html.markdown index 43c7b64535..75e563318c 100644 --- a/website/docs/r/dayu_ddos_policy.html.markdown +++ b/website/docs/r/dayu_ddos_policy.html.markdown @@ -91,55 +91,55 @@ The following arguments are supported: The `drop_options` object supports the following: -* `bad_conn_threshold` - (Required) The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: [0-4294967295]. +* `bad_conn_threshold` - (Required) The number of new connections based on destination IP that trigger suppression of connections. Valid value ranges: (0~4294967295). * `check_sync_conn` - (Required) Indicate whether to check null connection or not. -* `conn_timeout` - (Required) Connection timeout of abnormal connection check. Valid value ranges: [0-65535]. -* `d_conn_limit` - (Required) The limit of concurrent connections based on destination IP. Valid value ranges: [0-4294967295]. -* `d_new_limit` - (Required) The limit of new connections based on destination IP. Valid value ranges: [0-4294967295]. +* `conn_timeout` - (Required) Connection timeout of abnormal connection check. Valid value ranges: (0~65535). +* `d_conn_limit` - (Required) The limit of concurrent connections based on destination IP. Valid value ranges: (0~4294967295). +* `d_new_limit` - (Required) The limit of new connections based on destination IP. Valid value ranges: (0~4294967295). * `drop_abroad` - (Required) Indicate whether to drop abroad traffic or not. * `drop_icmp` - (Required) Indicate whether to drop ICMP protocol or not. * `drop_other` - (Required) Indicate whether to drop other protocols(exclude TCP/UDP/ICMP) or not. * `drop_tcp` - (Required) Indicate whether to drop TCP protocol or not. * `drop_udp` - (Required) Indicate to drop UDP protocol or not. -* `icmp_mbps_limit` - (Required) The limit of ICMP traffic rate. Valid value ranges: [0-4294967295](Mbps). +* `icmp_mbps_limit` - (Required) The limit of ICMP traffic rate. Valid value ranges: (0~4294967295)(Mbps). * `null_conn_enable` - (Required) Indicate to enable null connection or not. -* `other_mbps_limit` - (Required) The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: [0-4294967295](Mbps). -* `s_conn_limit` - (Required) The limit of concurrent connections based on source IP. Valid value ranges: [0-4294967295]. -* `s_new_limit` - (Required) The limit of new connections based on source IP. Valid value ranges: [0-4294967295]. -* `syn_limit` - (Required) The limit of syn of abnormal connection check. Valid value ranges: [0-100]. -* `tcp_mbps_limit` - (Required) The limit of TCP traffic. Valid value ranges: [0-4294967295](Mbps). -* `udp_mbps_limit` - (Required) The limit of UDP traffic rate. Valid value ranges: [0-4294967295](Mbps). -* `syn_rate` - (Optional) The percentage of syn in ack of abnormal connection check. Valid value ranges: [0-100]. +* `other_mbps_limit` - (Required) The limit of other protocols(exclude TCP/UDP/ICMP) traffic rate. Valid value ranges: (0~4294967295)(Mbps). +* `s_conn_limit` - (Required) The limit of concurrent connections based on source IP. Valid value ranges: (0~4294967295). +* `s_new_limit` - (Required) The limit of new connections based on source IP. Valid value ranges: (0~4294967295). +* `syn_limit` - (Required) The limit of syn of abnormal connection check. Valid value ranges: (0~100). +* `tcp_mbps_limit` - (Required) The limit of TCP traffic. Valid value ranges: (0~4294967295)(Mbps). +* `udp_mbps_limit` - (Required) The limit of UDP traffic rate. Valid value ranges: (0~4294967295)(Mbps). +* `syn_rate` - (Optional) The percentage of syn in ack of abnormal connection check. Valid value ranges: (0~100). The `packet_filters` object supports the following: * `action` - (Optional) Action of port to take. Valid values: `drop`, `drop_black`,`drop_rst`,`drop_black_rst`,`transmit`.`drop`(drop the packet), `drop_black`(drop the packet and black the ip),`drop_rst`(drop the packet and disconnect),`drop_black_rst`(drop the packet, black the ip and disconnect),`transmit`(transmit the packet). -* `d_end_port` - (Optional) End port of the destination. Valid value ranges: [0-65535]. It must be greater than `d_start_port`. -* `d_start_port` - (Optional) Start port of the destination. Valid value ranges: [0-65535]. -* `depth` - (Optional) The depth of match. Valid value ranges: [0-1500]. +* `d_end_port` - (Optional) End port of the destination. Valid value ranges: (0~65535). It must be greater than `d_start_port`. +* `d_start_port` - (Optional) Start port of the destination. Valid value ranges: (0~65535). +* `depth` - (Optional) The depth of match. Valid value ranges: (0~1500). * `is_include` - (Optional) Indicate whether to include the key word/regular expression or not. * `match_begin` - (Optional) Indicate whether to check load or not, `begin_l5` means to match and `no_match` means not. * `match_str` - (Optional) The key word or regular expression. * `match_type` - (Optional) Match type. Valid values: `sunday` and `pcre`. `sunday` means key word match while `pcre` means regular match. -* `offset` - (Optional) The offset of match. Valid value ranges: [0-1500]. -* `pkt_length_max` - (Optional) The max length of the packet. Valid value ranges: [0-1500](Mbps). It must be greater than `pkt_length_min`. -* `pkt_length_min` - (Optional) The minimum length of the packet. Valid value ranges: [0-1500](Mbps). +* `offset` - (Optional) The offset of match. Valid value ranges: (0~1500). +* `pkt_length_max` - (Optional) The max length of the packet. Valid value ranges: (0~1500)(Mbps). It must be greater than `pkt_length_min`. +* `pkt_length_min` - (Optional) The minimum length of the packet. Valid value ranges: (0~1500)(Mbps). * `protocol` - (Optional) Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`. -* `s_end_port` - (Optional) End port of the source. Valid value ranges: [0-65535]. It must be greater than `s_start_port`. -* `s_start_port` - (Optional) Start port of the source. Valid value ranges: [0-65535]. +* `s_end_port` - (Optional) End port of the source. Valid value ranges: (0~65535). It must be greater than `s_start_port`. +* `s_start_port` - (Optional) Start port of the source. Valid value ranges: (0~65535). The `port_filters` object supports the following: * `action` - (Optional) Action of port to take. Valid values: `drop`, `transmit`. -* `end_port` - (Optional) End port. Valid value ranges: [0-65535]. It must be greater than `start_port`. +* `end_port` - (Optional) End port. Valid value ranges: (0~65535). It must be greater than `start_port`. * `kind` - (Optional) The type of forbidden port. Valid values: 0, 1, 2. 0 for destination ports make effect, 1 for source ports make effect. 2 for both destination and source ports. * `protocol` - (Optional) Protocol. Valid values are `tcp`, `udp`, `icmp`, `all`. -* `start_port` - (Optional) Start port. Valid value ranges: [0-65535]. +* `start_port` - (Optional) Start port. Valid value ranges: (0~65535). The `watermark_filters` object supports the following: * `auto_remove` - (Optional) Indicate whether to auto-remove the watermark or not. -* `offset` - (Optional) The offset of watermark. Valid value ranges: [0-100]. +* `offset` - (Optional) The offset of watermark. Valid value ranges: (0~1500). * `open_switch` - (Optional) Indicate whether to open watermark or not. It muse be set `true` when any field of watermark was set. * `tcp_port_list` - (Optional) Port range of TCP, the format is like `2000-3000`. * `udp_port_list` - (Optional) Port range of TCP, the format is like `2000-3000`. diff --git a/website/docs/r/dayu_ddos_policy_case.html.markdown b/website/docs/r/dayu_ddos_policy_case.html.markdown index deff4ed10d..9e83e30d35 100644 --- a/website/docs/r/dayu_ddos_policy_case.html.markdown +++ b/website/docs/r/dayu_ddos_policy_case.html.markdown @@ -53,10 +53,10 @@ The following arguments are supported: * `name` - (Required, ForceNew) Name of the DDoS policy case. Length should between 1 and 64. * `platform_types` - (Required) Platform set of the DDoS policy case. * `resource_type` - (Required, ForceNew) Type of the resource that the DDoS policy case works for. Valid values: `bgpip`, `bgp` and `bgp-multip`. -* `tcp_end_port` - (Required) End port of the TCP service. Valid value ranges: [0-65535]. It must be greater than `tcp_start_port`. -* `tcp_start_port` - (Required) Start port of the TCP service. Valid value ranges: [0-65535]. -* `udp_end_port` - (Required) End port of the UDP service. Valid value ranges: [0-65535]. It must be greater than `udp_start_port`. -* `udp_start_port` - (Required) Start port of the UDP service. Valid value ranges: [0-65535]. +* `tcp_end_port` - (Required) End port of the TCP service. Valid value ranges: (0~65535). It must be greater than `tcp_start_port`. +* `tcp_start_port` - (Required) Start port of the TCP service. Valid value ranges: (0~65535). +* `udp_end_port` - (Required) End port of the UDP service. Valid value ranges: (0~65535). It must be greater than `udp_start_port`. +* `udp_start_port` - (Required) Start port of the UDP service. Valid value ranges: (0~65535). * `web_api_urls` - (Required) Web API url set. * `has_initiate_udp` - (Optional) Indicate whether the actively initiate UDP requests or not. Valid values: `no` and `yes`. * `has_vpn` - (Optional) Indicate whether the service involves VPN service or not. Valid values: `no` and `yes`. @@ -64,8 +64,8 @@ The following arguments are supported: * `max_udp_package_len` - (Optional) The max length of UDP message package, valid value length should be greater than 0 and less than 1500. It should be greater than `min_udp_package_len`. * `min_tcp_package_len` - (Optional) The minimum length of TCP message package, valid value length should be greater than 0 and less than 1500. * `min_udp_package_len` - (Optional) The minimum length of UDP message package, valid value length should be greater than 0 and less than 1500. -* `peer_tcp_port` - (Optional) The port that actively initiates TCP requests. Valid value ranges: [1-65535]. -* `peer_udp_port` - (Optional) The port that actively initiates UDP requests. Valid value ranges: [1-65535]. +* `peer_tcp_port` - (Optional) The port that actively initiates TCP requests. Valid value ranges: (1~65535). +* `peer_udp_port` - (Optional) The port that actively initiates UDP requests. Valid value ranges: (1~65535). * `tcp_footprint` - (Optional) The fixed signature of TCP protocol load, valid value length is range from 1 to 512. * `udp_footprint` - (Optional) The fixed signature of TCP protocol load, valid value length is range from 1 to 512. diff --git a/website/docs/r/dayu_l7_rule.html.markdown b/website/docs/r/dayu_l7_rule.html.markdown index d3869dea8c..68e059c018 100644 --- a/website/docs/r/dayu_l7_rule.html.markdown +++ b/website/docs/r/dayu_l7_rule.html.markdown @@ -48,9 +48,9 @@ The following arguments are supported: * `source_list` - (Required) Source list of the rule, it can be a set of ip sources or a set of domain sources. The number of items ranges from 1 to 16. * `source_type` - (Required) Source type, 1 for source of host, 2 for source of ip. * `switch` - (Required) Indicate the rule will take effect or not. -* `health_check_code` - (Optional) HTTP Status Code. The default is 26. Valid value ranges: 1-31. 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. +* `health_check_code` - (Optional) HTTP Status Code. The default is 26. Valid value ranges: (1~31). 1 means the return value '1xx' is health. 2 means the return value '2xx' is health. 4 means the return value '3xx' is health. 8 means the return value '4xx' is health. 16 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. * `health_check_health_num` - (Optional) Health threshold of health check, and the default is 3. If a success result is returned for the health check 3 consecutive times, indicates that the forwarding is normal. The value range is 2-10. -* `health_check_interval` - (Optional) Interval time of health check. Valid value ranges: 10-60 sec. The default is 15 sec. +* `health_check_interval` - (Optional) Interval time of health check. Valid value ranges: (10~60)sec. The default is 15 sec. * `health_check_method` - (Optional) Methods of health check. The default is 'HEAD', the available value are 'HEAD' and 'GET'. * `health_check_path` - (Optional) Path of health check. The default is `/`. * `health_check_switch` - (Optional) Indicates whether health check is enabled. The default is `false`. diff --git a/website/docs/r/dcx.html.markdown b/website/docs/r/dcx.html.markdown index 0e12b74933..6a2b006f59 100644 --- a/website/docs/r/dcx.html.markdown +++ b/website/docs/r/dcx.html.markdown @@ -70,7 +70,7 @@ The following arguments are supported: * `route_filter_prefixes` - (Optional, ForceNew) Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP. * `route_type` - (Optional, ForceNew) Type of the route, and available values include BGP and STATIC. The default value is BGP. * `tencent_address` - (Optional, ForceNew) Interconnect IP of the DC within Tencent. -* `vlan` - (Optional, ForceNew) Vlan of the dedicated tunnels. Valid value ranges:[0-3000]. '0' means that only one tunnel can be created for the physical connect. +* `vlan` - (Optional, ForceNew) Vlan of the dedicated tunnels. Valid value ranges: (0~3000). '0' means that only one tunnel can be created for the physical connect. ## Attributes Reference diff --git a/website/docs/r/elasticsearch_instance.html.markdown b/website/docs/r/elasticsearch_instance.html.markdown index b46c4585c7..2f6412f60d 100644 --- a/website/docs/r/elasticsearch_instance.html.markdown +++ b/website/docs/r/elasticsearch_instance.html.markdown @@ -45,7 +45,7 @@ The following arguments are supported: * `subnet_id` - (Required, ForceNew) The id of a VPC subnetwork. * `version` - (Required) Version of the instance. Valid values are `5.6.4`, `6.4.3`, `6.8.2` and `7.5.1`. * `vpc_id` - (Required, ForceNew) The id of a VPC network. -* `basic_security_type` - (Optional) Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are `1` and `2`, `1` is disabled, `2` is enabled, and default value is `1`. +* `basic_security_type` - (Optional) Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are `1` and `2`. `1` is disabled, `2` is enabled, and default value is `1`. * `charge_period` - (Optional, ForceNew) The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to `PREPAID`. * `charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. * `deploy_mode` - (Optional, ForceNew) Cluster deployment mode. Valid values are `0` and `1`. `0` is single-AZ deployment, and `1` is multi-AZ deployment. Default value is `0`. diff --git a/website/docs/r/gaap_http_rule.html.markdown b/website/docs/r/gaap_http_rule.html.markdown index fce7a92d0c..e5ad7b868b 100644 --- a/website/docs/r/gaap_http_rule.html.markdown +++ b/website/docs/r/gaap_http_rule.html.markdown @@ -91,7 +91,7 @@ The `realservers` object supports the following: * `id` - (Required) ID of the GAAP realserver. * `ip` - (Required) IP of the GAAP realserver. * `port` - (Required) Port of the GAAP realserver. -* `weight` - (Optional) Scheduling weight, default value is `1`. Valid value ranges: [1-100]. +* `weight` - (Optional) Scheduling weight, default value is `1`. Valid value ranges: (1~100). ## Attributes Reference diff --git a/website/docs/r/instance.html.markdown b/website/docs/r/instance.html.markdown index 7b79150e7a..b74141e125 100644 --- a/website/docs/r/instance.html.markdown +++ b/website/docs/r/instance.html.markdown @@ -90,7 +90,7 @@ The following arguments are supported: * `hostname` - (Optional, ForceNew) The hostname of CVM. Windows instance: The name should be a combination of 2 to 15 characters comprised of letters (case insensitive), numbers, and hyphens (-). Period (.) is not supported, and the name cannot be a string of pure numbers. Other types (such as Linux) of instances: The name should be a combination of 2 to 60 characters, supporting multiple periods (.). The piece between two periods is composed of letters (case insensitive), numbers, and hyphens (-). * `instance_charge_type_prepaid_period` - (Optional) The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. * `instance_charge_type_prepaid_renew_flag` - (Optional) When enabled, the CVM instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are `NOTIFY_AND_AUTO_RENEW`, `NOTIFY_AND_MANUAL_RENEW` and `DISABLE_NOTIFY_AND_MANUAL_RENEW`. NOTE: it only works when instance_charge_type is set to `PREPAID`. -* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR` and `SPOTPAID`, The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. `PREPAID` instance may not allow to delete before expired. `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time. +* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR` and `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. `PREPAID` instance may not allow to delete before expired. `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time. * `instance_name` - (Optional) The name of the CVM. The max length of instance_name is 60, and default value is `Terraform-CVM-Instance`. * `instance_type` - (Optional) The type of instance to start. * `internet_charge_type` - (Optional, ForceNew) Internet charge type of the instance, Valid values are `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `BANDWIDTH_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. This value does not need to be set when `allocate_public_ip` is false. @@ -106,7 +106,7 @@ The following arguments are supported: * `spot_max_price` - (Optional, ForceNew) Max price of spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to `SPOTPAID`. * `subnet_id` - (Optional) The id of a VPC subnetwork. If you want to create instances in VPC network, this parameter must be set. * `system_disk_id` - (Optional) System disk snapshot ID used to initialize the system disk. When system disk type is `LOCAL_BASIC` and `LOCAL_SSD`, disk id is not supported. -* `system_disk_size` - (Optional, ForceNew) Size of the system disk. Valid value ranges: [50, 1000]. and unit is GB. Default is 50GB. +* `system_disk_size` - (Optional, ForceNew) Size of the system disk. Valid value ranges: (50~1000). and unit is GB. Default is 50GB. * `system_disk_type` - (Optional, ForceNew) Type of the system disk. Valid values are `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_SSD` and `CLOUD_PREMIUM`. default value is `CLOUD_BASIC`. NOTE: `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. * `tags` - (Optional) A mapping of tags to assign to the resource. For tag limits, please refer to [Use Limits](https://intl.cloud.tencent.com/document/product/651/13354). * `user_data_raw` - (Optional, ForceNew) The user data to be specified into this instance, plain text. Conflicts with `user_data`. Limited in 16 KB after encrypted in base64 format. diff --git a/website/docs/r/kubernetes_cluster.html.markdown b/website/docs/r/kubernetes_cluster.html.markdown index 5cdbf32223..9d28d2b122 100644 --- a/website/docs/r/kubernetes_cluster.html.markdown +++ b/website/docs/r/kubernetes_cluster.html.markdown @@ -164,7 +164,7 @@ The `master_config` object supports the following: * `enhanced_security_service` - (Optional, ForceNew) To specify whether to enable cloud security service. Default is TRUE. * `instance_charge_type_prepaid_period` - (Optional, ForceNew) The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. * `instance_charge_type_prepaid_renew_flag` - (Optional, ForceNew) When enabled, the CVM instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are `NOTIFY_AND_AUTO_RENEW`, `NOTIFY_AND_MANUAL_RENEW` and `DISABLE_NOTIFY_AND_MANUAL_RENEW`. NOTE: it only works when instance_charge_type is set to `PREPAID`. -* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`, The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. +* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. * `instance_name` - (Optional, ForceNew) Name of the CVMs. * `internet_charge_type` - (Optional, ForceNew) Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR. * `internet_max_bandwidth_out` - (Optional, ForceNew) Max bandwidth of Internet access in Mbps. Default is 0. @@ -188,7 +188,7 @@ The `worker_config` object supports the following: * `enhanced_security_service` - (Optional, ForceNew) To specify whether to enable cloud security service. Default is TRUE. * `instance_charge_type_prepaid_period` - (Optional, ForceNew) The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. * `instance_charge_type_prepaid_renew_flag` - (Optional, ForceNew) When enabled, the CVM instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are `NOTIFY_AND_AUTO_RENEW`, `NOTIFY_AND_MANUAL_RENEW` and `DISABLE_NOTIFY_AND_MANUAL_RENEW`. NOTE: it only works when instance_charge_type is set to `PREPAID`. -* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`, The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. +* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. * `instance_name` - (Optional, ForceNew) Name of the CVMs. * `internet_charge_type` - (Optional, ForceNew) Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR. * `internet_max_bandwidth_out` - (Optional, ForceNew) Max bandwidth of Internet access in Mbps. Default is 0. diff --git a/website/docs/r/kubernetes_scale_worker.html.markdown b/website/docs/r/kubernetes_scale_worker.html.markdown index a481dbe930..90ce451ce8 100644 --- a/website/docs/r/kubernetes_scale_worker.html.markdown +++ b/website/docs/r/kubernetes_scale_worker.html.markdown @@ -78,7 +78,7 @@ The `worker_config` object supports the following: * `enhanced_security_service` - (Optional, ForceNew) To specify whether to enable cloud security service. Default is TRUE. * `instance_charge_type_prepaid_period` - (Optional, ForceNew) The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. * `instance_charge_type_prepaid_renew_flag` - (Optional, ForceNew) When enabled, the CVM instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are `NOTIFY_AND_AUTO_RENEW`, `NOTIFY_AND_MANUAL_RENEW` and `DISABLE_NOTIFY_AND_MANUAL_RENEW`. NOTE: it only works when instance_charge_type is set to `PREPAID`. -* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`, The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. +* `instance_charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. * `instance_name` - (Optional, ForceNew) Name of the CVMs. * `internet_charge_type` - (Optional, ForceNew) Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR. * `internet_max_bandwidth_out` - (Optional, ForceNew) Max bandwidth of Internet access in Mbps. Default is 0. diff --git a/website/docs/r/monitor_binding_receiver.html.markdown b/website/docs/r/monitor_binding_receiver.html.markdown index 1da39cbcdb..076cb94317 100644 --- a/website/docs/r/monitor_binding_receiver.html.markdown +++ b/website/docs/r/monitor_binding_receiver.html.markdown @@ -61,7 +61,7 @@ The `receivers` object supports the following: * `receive_language` - (Optional) Alert sending language. Optional `en-US`,`zh-CN`. * `receiver_group_list` - (Optional) Alarm receive group id list. * `receiver_user_list` - (Optional) Alarm receiver id list. -* `start_time` - (Optional) Alarm period start time. Valid value ranges: [0-86399]. which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'. +* `start_time` - (Optional) Alarm period start time. Valid value ranges: (0~86399). which removes the date after it is converted to Beijing time as a Unix timestamp, for example 7200 means '10:0:0'. ## Attributes Reference diff --git a/website/docs/r/monitor_policy_group.html.markdown b/website/docs/r/monitor_policy_group.html.markdown index b0ef023b1f..4433aab67b 100644 --- a/website/docs/r/monitor_policy_group.html.markdown +++ b/website/docs/r/monitor_policy_group.html.markdown @@ -68,7 +68,7 @@ The `conditions` object supports the following: * `alarm_notify_type` - (Required) Alarm sending convergence type. 0 continuous alarm, 1 index alarm. * `metric_id` - (Required) Id of the metric, refer to `data.tencentcloud_monitor_policy_conditions(metric_id)`. * `calc_period` - (Optional) Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to `data.tencentcloud_monitor_policy_conditions(period_keys)`. -* `calc_type` - (Optional) Compare type. Valid value ranges: [1-12]. 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`. +* `calc_type` - (Optional) Compare type. Valid value ranges: (1~12). 1 means more than, 2 means greater than or equal, 3 means less than, 4 means less than or equal to, 5 means equal, 6 means not equal, 7 means days rose, 8 means days fell, 9 means weeks rose, 10 means weeks fell, 11 means period rise, 12 means period fell, refer to `data.tencentcloud_monitor_policy_conditions(calc_type_keys)`. * `calc_value` - (Optional) Threshold value, refer to `data.tencentcloud_monitor_policy_conditions(calc_value_*)`. * `continue_period` - (Optional) The rule triggers an alert that lasts for several detection cycles, refer to `data.tencentcloud_monitor_policy_conditions(period_num_keys)`. diff --git a/website/docs/r/mysql_backup_policy.html.markdown b/website/docs/r/mysql_backup_policy.html.markdown index 8517d0e6fa..659a64c518 100644 --- a/website/docs/r/mysql_backup_policy.html.markdown +++ b/website/docs/r/mysql_backup_policy.html.markdown @@ -31,7 +31,7 @@ The following arguments are supported: * `mysql_id` - (Required, ForceNew) Instance ID to which policies will be applied. * `backup_model` - (Optional) Backup method. Supported values include: 'physical' - physical backup. * `backup_time` - (Optional) Instance backup time, in the format of "HH:mm-HH:mm". Time setting interval is four hours. Default to "02:00-06:00". The following value can be supported: 02:00-06:00, 06:00-10:00, 10:00-14:00, 14:00-18:00, 18:00-22:00, and 22:00-02:00. -* `retention_period` - (Optional) Instance backup retention days. Valid value ranges: [7-730]. And default value is 7. +* `retention_period` - (Optional) Instance backup retention days. Valid value ranges: (7~730). And default value is 7. ## Attributes Reference diff --git a/website/docs/r/mysql_instance.html.markdown b/website/docs/r/mysql_instance.html.markdown index fbf635b1da..d22362a07f 100644 --- a/website/docs/r/mysql_instance.html.markdown +++ b/website/docs/r/mysql_instance.html.markdown @@ -60,7 +60,7 @@ The following arguments are supported: * `first_slave_zone` - (Optional, ForceNew) Zone information about first slave instance. * `force_delete` - (Optional) Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect. * `internet_service` - (Optional) Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes. -* `intranet_port` - (Optional) Public access port. Valid value ranges: [1024-65535]. The default value is 3306. +* `intranet_port` - (Optional) Public access port. Valid value ranges: (1024~65535). The default value is 3306. * `parameters` - (Optional) List of parameters to use. * `pay_type` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `charge_type` instead. Pay type of instance. Valid values:0, 1. 0: prepaid, 1: postpaid. * `period` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `prepaid_period` instead. Period of instance. NOTES: Only supported prepaid instance. diff --git a/website/docs/r/mysql_readonly_instance.html.markdown b/website/docs/r/mysql_readonly_instance.html.markdown index 138cb2f05d..ab34d4ac76 100644 --- a/website/docs/r/mysql_readonly_instance.html.markdown +++ b/website/docs/r/mysql_readonly_instance.html.markdown @@ -43,7 +43,7 @@ The following arguments are supported: * `auto_renew_flag` - (Optional) Auto renew flag. NOTES: Only supported prepaid instance. * `charge_type` - (Optional, ForceNew) Pay type of instance. Valid values:`PREPAID`, `POSTPAID`. Default is `POSTPAID`. * `force_delete` - (Optional) Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect. -* `intranet_port` - (Optional) Public access port. Valid value ranges: [1024-65535]. The default value is 3306. +* `intranet_port` - (Optional) Public access port. Valid value ranges: (1024~65535). The default value is 3306. * `pay_type` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `charge_type` instead. Pay type of instance. Valid values:0, 1. 0: prepaid, 1: postpaid. * `period` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `prepaid_period` instead. Period of instance. NOTES: Only supported prepaid instance. * `prepaid_period` - (Optional) Period of instance. NOTES: Only supported prepaid instance. diff --git a/website/docs/r/tcaplus_cluster.html.markdown b/website/docs/r/tcaplus_cluster.html.markdown index b4421b0e4c..1fa95d1c0e 100644 --- a/website/docs/r/tcaplus_cluster.html.markdown +++ b/website/docs/r/tcaplus_cluster.html.markdown @@ -48,7 +48,7 @@ In addition to all arguments above, the following attributes are exported: * `create_time` - Create time of the TcaplusDB cluster. * `network_type` - Network type of the TcaplusDB cluster. * `old_password_expire_time` - Expiration time of the old password. If `password_status` is `unmodifiable`, it means the old password has not yet expired. -* `password_status` - Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, `modifiable`. `unmodifiable`, which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment. +* `password_status` - Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, `modifiable`. `unmodifiable`. which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment. ## Import diff --git a/website/docs/r/vpn_connection.html.markdown b/website/docs/r/vpn_connection.html.markdown index 989acc1c39..3f72921355 100644 --- a/website/docs/r/vpn_connection.html.markdown +++ b/website/docs/r/vpn_connection.html.markdown @@ -69,7 +69,7 @@ The following arguments are supported: * `ipsec_encrypt_algorithm` - (Optional) Encrypt algorithm of the IPSEC operation specification. Valid values: `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`. * `ipsec_integrity_algorithm` - (Optional) Integrity algorithm of the IPSEC operation specification. Valid values: `SHA1`, `MD5`. Default value is `MD5`. * `ipsec_pfs_dh_group` - (Optional) PFS DH group. Valid value: `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`. -* `ipsec_sa_lifetime_seconds` - (Optional) SA lifetime of the IPSEC operation specification, unit is `second`. Valid value ranges: [180-604800]. Default value is 3600 seconds. +* `ipsec_sa_lifetime_seconds` - (Optional) SA lifetime of the IPSEC operation specification, unit is `second`. Valid value ranges: (180~604800). Default value is 3600 seconds. * `ipsec_sa_lifetime_traffic` - (Optional) SA lifetime of the IPSEC operation specification, unit is `KB`. The value should not be less then 2560. Default value is 1843200. * `tags` - (Optional) A list of tags used to associate different resources. * `vpc_id` - (Optional, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway. From 2d61cca1c4e27cd63339c618b8855025bd204244 Mon Sep 17 00:00:00 2001 From: crab Date: Fri, 16 Oct 2020 20:32:50 +0800 Subject: [PATCH 3/3] =?UTF-8?q?docs:=201=E3=80=81add=20VOD=20datasource=20?= =?UTF-8?q?directory=20for=20provider.2=E3=80=81update=20describe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 + tencentcloud/provider.go | 5 + ..._dynamic_streaming_templates.html.markdown | 104 ++++++++++++++++++ .../vod_image_sprite_templates.html.markdown | 65 +++++++++++ .../d/vod_procedure_templates.html.markdown | 95 ++++++++++++++++ ...hot_by_time_offset_templates.html.markdown | 59 ++++++++++ .../d/vod_super_player_configs.html.markdown | 73 ++++++++++++ website/tencentcloud.erb | 21 +++- 8 files changed, 426 insertions(+), 1 deletion(-) create mode 100644 website/docs/d/vod_adaptive_dynamic_streaming_templates.html.markdown create mode 100644 website/docs/d/vod_image_sprite_templates.html.markdown create mode 100644 website/docs/d/vod_procedure_templates.html.markdown create mode 100644 website/docs/d/vod_snapshot_by_time_offset_templates.html.markdown create mode 100644 website/docs/d/vod_super_player_configs.html.markdown diff --git a/CHANGELOG.md b/CHANGELOG.md index ddfa8e03ed..b9d0310d4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ ## 1.45.2 (Unreleased) + +ENHANCEMENTS: + +* update Resource and Datasource description. + ## 1.45.1 (October 16, 2020) ENHANCEMENTS: diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index ad14b091b3..da9f61142a 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -390,6 +390,11 @@ TcaplusDB VOD Data Source + tencentcloud_vod_adaptive_dynamic_streaming_templates + tencentcloud_vod_snapshot_by_time_offset_templates + tencentcloud_vod_super_player_configs + tencentcloud_vod_image_sprite_templates + tencentcloud_vod_procedure_templates Resource diff --git a/website/docs/d/vod_adaptive_dynamic_streaming_templates.html.markdown b/website/docs/d/vod_adaptive_dynamic_streaming_templates.html.markdown new file mode 100644 index 0000000000..ea012fa46c --- /dev/null +++ b/website/docs/d/vod_adaptive_dynamic_streaming_templates.html.markdown @@ -0,0 +1,104 @@ +--- +subcategory: "VOD" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_vod_adaptive_dynamic_streaming_templates" +sidebar_current: "docs-tencentcloud-datasource-vod_adaptive_dynamic_streaming_templates" +description: |- + Use this data source to query detailed information of VOD adaptive dynamic streaming templates. +--- + +# tencentcloud_vod_adaptive_dynamic_streaming_templates + +Use this data source to query detailed information of VOD adaptive dynamic streaming templates. + +## Example Usage + +```hcl +resource "tencentcloud_vod_adaptive_dynamic_streaming_template" "foo" { + format = "HLS" + name = "tf-adaptive" + drm_type = "SimpleAES" + disable_higher_video_bitrate = false + disable_higher_video_resolution = false + comment = "test" + + stream_info { + video { + codec = "libx265" + fps = 4 + bitrate = 129 + resolution_adaptive = false + width = 128 + height = 128 + fill_type = "stretch" + } + audio { + codec = "libmp3lame" + bitrate = 129 + sample_rate = 44100 + audio_channel = "dual" + } + remove_audio = false + } + stream_info { + video { + codec = "libx264" + fps = 4 + bitrate = 256 + } + audio { + codec = "libfdk_aac" + bitrate = 256 + sample_rate = 44100 + } + remove_audio = true + } +} + +data "tencentcloud_vod_adaptive_dynamic_streaming_templates" "foo" { + type = "Custom" + definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id +} +``` + +## Argument Reference + +The following arguments are supported: + +* `definition` - (Optional) Unique ID filter of adaptive dynamic streaming template. +* `result_output_file` - (Optional) Used to save results. +* `sub_app_id` - (Optional) Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. +* `type` - (Optional) Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `template_list` - A list of adaptive dynamic streaming templates. Each element contains the following attributes: + * `comment` - Template description. + * `create_time` - Creation time of template in ISO date format. + * `definition` - Unique ID of adaptive dynamic streaming template. + * `disable_higher_video_bitrate` - Whether to prohibit transcoding video from low bitrate to high bitrate. `false`: no, `true`: yes. + * `disable_higher_video_resolution` - Whether to prohibit transcoding from low resolution to high resolution. `false`: no, `true`: yes. + * `drm_type` - DRM scheme type. + * `format` - Adaptive bitstream format. + * `name` - Template name. + * `stream_info` - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. + * `audio` - Audio parameter information. + * `audio_channel` - Audio channel system. Valid values: mono, dual, stereo. + * `bitrate` - Audio stream bitrate in Kbps. Value range: `0` and `[26, 256]`. If the value is `0`, the bitrate of the audio stream will be the same as that of the original audio. + * `codec` - Audio stream encoder. Valid value are: `libfdk_aac` and `libmp3lame`. + * `sample_rate` - Audio stream sample rate. Valid values: `32000`, `44100`, `48000`. in Hz. + * `remove_audio` - Whether to remove audio stream. `false`: no, `true`: yes. + * `video` - Video parameter information. + * `bitrate` - Bitrate of video stream in Kbps. Value range: `0` and `[128, 35000]`. If the value is `0`, the bitrate of the video will be the same as that of the source video. + * `codec` - Video stream encoder. Valid values: `libx264`, `libx265`, `av1`.`libx264`: H.264, `libx265`: H.265, `av1`: AOMedia Video 1. Currently, a resolution within 640x480 must be specified for `H.265`. and the `av1` container only supports mp4. + * `fill_type` - Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: `stretch`: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; `black`: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Note: this field may return null, indicating that no valid values can be obtained. + * `fps` - Video frame rate in Hz. Value range: `[0, 60]`. If the value is `0`, the frame rate will be the same as that of the source video. + * `height` - Maximum value of the height (or short side) of a video stream in px. Value range: `0` and `[128, 4096]`. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, `width` will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. Note: this field may return null, indicating that no valid values can be obtained. + * `resolution_adaptive` - Resolution adaption. Valid values: `true`,`false`. `true`: enabled. In this case, `width` represents the long side of a video, while `height` the short side; `false`: disabled. In this case, `width` represents the width of a video, while `height` the height. Note: this field may return null, indicating that no valid values can be obtained. + * `width` - Maximum value of the width (or long side) of a video stream in px. Value range: `0` and `[128, 4096]`. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, `width` will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. Note: this field may return null, indicating that no valid values can be obtained. + * `type` - Template type filter. Valid values: `Preset`,`Custom`. `Preset`: preset template; `Custom`: custom template. + * `update_time` - Last modified time of template in ISO date format. + + diff --git a/website/docs/d/vod_image_sprite_templates.html.markdown b/website/docs/d/vod_image_sprite_templates.html.markdown new file mode 100644 index 0000000000..fa450c1966 --- /dev/null +++ b/website/docs/d/vod_image_sprite_templates.html.markdown @@ -0,0 +1,65 @@ +--- +subcategory: "VOD" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_vod_image_sprite_templates" +sidebar_current: "docs-tencentcloud-datasource-vod_image_sprite_templates" +description: |- + Use this data source to query detailed information of VOD image sprite templates. +--- + +# tencentcloud_vod_image_sprite_templates + +Use this data source to query detailed information of VOD image sprite templates. + +## Example Usage + +```hcl +resource "tencentcloud_vod_image_sprite_template" "foo" { + sample_type = "Percent" + sample_interval = 10 + row_count = 3 + column_count = 3 + name = "tf-sprite" + comment = "test" + fill_type = "stretch" + width = 128 + height = 128 + resolution_adaptive = false +} + +data "tencentcloud_vod_image_sprite_templates" "foo" { + type = "Custom" + definition = tencentcloud_vod_image_sprite_template.foo.id +} +``` + +## Argument Reference + +The following arguments are supported: + +* `definition` - (Optional) Unique ID filter of image sprite template. +* `result_output_file` - (Optional) Used to save results. +* `sub_app_id` - (Optional) Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. +* `type` - (Optional) Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `template_list` - A list of image sprite templates. Each element contains the following attributes: + * `column_count` - Subimage column count of an image sprite. + * `comment` - Template description. + * `create_time` - Creation time of template in ISO date format. + * `definition` - Unique ID of image sprite template. + * `fill_type` - Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: `stretch`: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; `black`: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. + * `height` - Maximum value of the `height` (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, `width` will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. + * `name` - Name of a time point screen capturing template. + * `resolution_adaptive` - Resolution adaption. Valid values: `true`: enabled. In this case, `width` represents the long side of a video, while `height` the short side; `false`: disabled. In this case, `width` represents the width of a video, while `height` the height. + * `row_count` - Subimage row count of an image sprite. + * `sample_interval` - Sampling interval. If `sample_type` is `Percent`, sampling will be performed at an interval of the specified percentage. If `sample_type` is `Time`, sampling will be performed at the specified time interval in seconds. + * `sample_type` - Sampling type. Valid values: `Percent`, `Time`. `Percent`: by percent. `Time`: by time interval. + * `type` - Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + * `update_time` - Last modified time of template in ISO date format. + * `width` - Maximum value of the `width` (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, width will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. + + diff --git a/website/docs/d/vod_procedure_templates.html.markdown b/website/docs/d/vod_procedure_templates.html.markdown new file mode 100644 index 0000000000..230905acc2 --- /dev/null +++ b/website/docs/d/vod_procedure_templates.html.markdown @@ -0,0 +1,95 @@ +--- +subcategory: "VOD" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_vod_procedure_templates" +sidebar_current: "docs-tencentcloud-datasource-vod_procedure_templates" +description: |- + Use this data source to query detailed information of VOD procedure templates. +--- + +# tencentcloud_vod_procedure_templates + +Use this data source to query detailed information of VOD procedure templates. + +## Example Usage + +```hcl +resource "tencentcloud_vod_procedure_template" "foo" { + name = "tf-procedure" + comment = "test" + media_process_task { + adaptive_dynamic_streaming_task_list { + definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id + } + snapshot_by_time_offset_task_list { + definition = tencentcloud_vod_snapshot_by_time_offset_template.foo.id + ext_time_offset_list = [ + "3.5s" + ] + } + image_sprite_task_list { + definition = tencentcloud_vod_image_sprite_template.foo.id + } + } +} + +data "tencentcloud_vod_procedure_templates" "foo" { + type = "Custom" + name = tencentcloud_vod_procedure_template.foo.id +} +``` + +## Argument Reference + +The following arguments are supported: + +* `name` - (Optional) Name of procedure template. +* `result_output_file` - (Optional) Used to save results. +* `sub_app_id` - (Optional) Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. +* `type` - (Optional) Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `template_list` - A list of adaptive dynamic streaming templates. Each element contains the following attributes: + * `comment` - Template description. + * `create_time` - Creation time of template in ISO date format. + * `media_process_task` - Parameter of video processing task. + * `adaptive_dynamic_streaming_task_list` - List of adaptive bitrate streaming tasks. Note: this field may return null, indicating that no valid values can be obtained. + * `definition` - Adaptive bitrate streaming template ID. + * `watermark_list` - List of up to `10` image or text watermarks. Note: this field may return null, indicating that no valid values can be obtained. + * `animated_graphic_task_list` - List of animated image generating tasks. Note: this field may return null, indicating that no valid values can be obtained. + * `definition` - Animated image generating template ID. + * `end_time_offset` - End time of animated image in video in seconds. + * `start_time_offset` - Start time of animated image in video in seconds. + * `cover_by_snapshot_task_list` - List of cover generating tasks. Note: this field may return null, indicating that no valid values can be obtained. + * `definition` - Time point screen capturing template ID. + * `position_type` - Screen capturing mode. Valid values: `Time`, `Percent`. `Time`: screen captures by time point, `Percent`: screen captures by percentage. + * `position_value` - Screenshot position: For time point screen capturing, this means to take a screenshot at a specified time point (in seconds) and use it as the cover. For percentage screen capturing, this value means to take a screenshot at a specified percentage of the video duration and use it as the cover. + * `watermark_list` - List of up to `10` image or text watermarks. Note: this field may return null, indicating that no valid values can be obtained. + * `image_sprite_task_list` - List of image sprite generating tasks. Note: this field may return null, indicating that no valid values can be obtained. + * `definition` - Image sprite generating template ID. + * `sample_snapshot_task_list` - List of sampled screen capturing tasks. Note: this field may return null, indicating that no valid values can be obtained. + * `definition` - Sampled screen capturing template ID. + * `watermark_list` - List of up to `10` image or text watermarks. Note: this field may return null, indicating that no valid values can be obtained. + * `snapshot_by_time_offset_task_list` - List of time point screen capturing tasks. Note: this field may return null, indicating that no valid values can be obtained. + * `definition` - Time point screen capturing template ID. + * `ext_time_offset_list` - The list of screenshot time points. `s` and `%` formats are supported: When a time point string ends with `s`, its unit is second. For example, `3.5s` means the 3.5th second of the video; When a time point string ends with `%`, it is marked with corresponding percentage of the video duration. For example, `10%` means that the time point is at the 10% of the video entire duration. + * `watermark_list` - List of up to `10` image or text watermarks. Note: this field may return null, indicating that no valid values can be obtained. + * `transcode_task_list` - List of transcoding tasks. Note: this field may return null, indicating that no valid values can be obtained. + * `definition` - Video transcoding template ID. + * `mosaic_list` - List of blurs. Up to 10 ones can be supported. + * `coordinate_origin` - Origin position, which currently can only be: `TopLeft`: the origin of coordinates is in the top-left corner of the video, and the origin of the blur is in the top-left corner of the image or text. + * `end_time_offset` - End time offset of blur in seconds. If this parameter is left empty or `0` is entered, the blur will exist till the last video frame; If this value is greater than `0` (e.g., n), the blur will exist till second n; If this value is smaller than `0` (e.g., -n), the blur will exist till second n before the last video frame. + * `height` - Blur height. `%` and `px` formats are supported: If the string ends in `%`, the `height` of the blur will be the specified percentage of the video height; for example, 10% means that Height is 10% of the video height; If the string ends in `px`, the `height` of the blur will be in px; for example, 100px means that Height is 100 px. + * `start_time_offset` - Start time offset of blur in seconds. If this parameter is left empty or `0` is entered, the blur will appear upon the first video frame. If this parameter is left empty or `0` is entered, the blur will appear upon the first video frame; If this value is greater than `0` (e.g., n), the blur will appear at second n after the first video frame; If this value is smaller than `0` (e.g., -n), the blur will appear at second n before the last video frame. + * `width` - Blur width. `%` and `px` formats are supported: If the string ends in `%`, the `width` of the blur will be the specified percentage of the video width; for example, 10% means that `width` is 10% of the video width; If the string ends in `px`, the `width` of the blur will be in px; for example, 100px means that Width is 100 px. + * `x_pos` - The horizontal position of the origin of the blur relative to the origin of coordinates of the video. `%` and `px` formats are supported: If the string ends in `%`, the XPos of the blur will be the specified percentage of the video width; for example, 10% means that XPos is 10% of the video width; If the string ends in `px`, the XPos of the blur will be the specified px; for example, 100px means that XPos is 100 px. + * `y_pos` - Vertical position of the origin of blur relative to the origin of coordinates of video. `%` and `px` formats are supported: If the string ends in `%`, the YPos of the blur will be the specified percentage of the video height; for example, 10% means that YPos is 10% of the video height; If the string ends in `px`, the YPos of the blur will be the specified px; for example, 100px means that YPos is 100 px. + * `watermark_list` - List of up to `10` image or text watermarks. Note: this field may return null, indicating that no valid values can be obtained. + * `name` - Task flow name. + * `type` - Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + * `update_time` - Last modified time of template in ISO date format. + + diff --git a/website/docs/d/vod_snapshot_by_time_offset_templates.html.markdown b/website/docs/d/vod_snapshot_by_time_offset_templates.html.markdown new file mode 100644 index 0000000000..c23e25b060 --- /dev/null +++ b/website/docs/d/vod_snapshot_by_time_offset_templates.html.markdown @@ -0,0 +1,59 @@ +--- +subcategory: "VOD" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_vod_snapshot_by_time_offset_templates" +sidebar_current: "docs-tencentcloud-datasource-vod_snapshot_by_time_offset_templates" +description: |- + Use this data source to query detailed information of VOD snapshot by time offset templates. +--- + +# tencentcloud_vod_snapshot_by_time_offset_templates + +Use this data source to query detailed information of VOD snapshot by time offset templates. + +## Example Usage + +```hcl +resource "tencentcloud_vod_snapshot_by_time_offset_template" "foo" { + name = "tf-snapshot" + width = 130 + height = 128 + resolution_adaptive = false + format = "png" + comment = "test" + fill_type = "white" +} + +data "tencentcloud_vod_snapshot_by_time_offset_templates" "foo" { + type = "Custom" + definition = tencentcloud_vod_snapshot_by_time_offset_template.foo.id +} +``` + +## Argument Reference + +The following arguments are supported: + +* `definition` - (Optional) Unique ID filter of snapshot by time offset template. +* `result_output_file` - (Optional) Used to save results. +* `sub_app_id` - (Optional) Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. +* `type` - (Optional) Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `template_list` - A list of snapshot by time offset templates. Each element contains the following attributes: + * `comment` - Template description. + * `create_time` - Creation time of template in ISO date format. + * `definition` - Unique ID of snapshot by time offset template. + * `fill_type` - Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: `stretch`: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot `shorter` or `longer`; `black`: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. `white`: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks. `gauss`: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur. + * `format` - Image format. Valid values: `jpg`, `png`. + * `height` - Maximum value of the `height` (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, `width` will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. + * `name` - Name of a time point screen capturing template. + * `resolution_adaptive` - Resolution adaption. Valid values: `true`, `false`. `true`: enabled. In this case, `width` represents the long side of a video, while `height` the short side; `false`: disabled. In this case, `width` represents the width of a video, while `height` the height. + * `type` - Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + * `update_time` - Last modified time of template in ISO date format. + * `width` - Maximum value of the `width` (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, width will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. + + diff --git a/website/docs/d/vod_super_player_configs.html.markdown b/website/docs/d/vod_super_player_configs.html.markdown new file mode 100644 index 0000000000..afc4fa3f94 --- /dev/null +++ b/website/docs/d/vod_super_player_configs.html.markdown @@ -0,0 +1,73 @@ +--- +subcategory: "VOD" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_vod_super_player_configs" +sidebar_current: "docs-tencentcloud-datasource-vod_super_player_configs" +description: |- + Use this data source to query detailed information of VOD super player configs. +--- + +# tencentcloud_vod_super_player_configs + +Use this data source to query detailed information of VOD super player configs. + +## Example Usage + +```hcl +resource "tencentcloud_vod_super_player_config" "foo" { + name = "tf-super-player" + drm_switch = true + drm_streaming_info { + simple_aes_definition = tencentcloud_vod_adaptive_dynamic_streaming_template.foo.id + } + image_sprite_definition = tencentcloud_vod_image_sprite_template.foo.id + resolution_names { + min_edge_length = 889 + name = "test1" + } + resolution_names { + min_edge_length = 890 + name = "test2" + } + domain = "Default" + scheme = "Default" + comment = "test" +} + +data "tencentcloud_vod_super_player_configs" "foo" { + type = "Custom" + name = "tf-super-player" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `name` - (Optional) Name of super player config. +* `result_output_file` - (Optional) Used to save results. +* `sub_app_id` - (Optional) Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. +* `type` - (Optional) Config type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `config_list` - A list of super player configs. Each element contains the following attributes: + * `adaptive_dynamic_streaming_definition` - ID of the unencrypted adaptive bitrate streaming template that allows output, which is required if `drm_switch` is `false`. + * `comment` - Template description. + * `create_time` - Creation time of template in ISO date format. + * `domain` - Domain name used for playback. If it is left empty or set to `Default`, the domain name configured in [Default Distribution Configuration](https://cloud.tencent.com/document/product/266/33373) will be used. + * `drm_streaming_info` - Content of the DRM-protected adaptive bitrate streaming template that allows output, which is required if `drm_switch` is `true`. + * `simple_aes_definition` - ID of the adaptive dynamic streaming template whose protection type is `SimpleAES`. + * `drm_switch` - Switch of DRM-protected adaptive bitstream playback: `true`: enabled, indicating to play back only output adaptive bitstreams protected by DRM; `false`: disabled, indicating to play back unencrypted output adaptive bitstreams. + * `image_sprite_definition` - ID of the image sprite template that allows output. + * `name` - Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user. + * `resolution_names` - Display name of player for substreams with different resolutions. If this parameter is left empty or an empty array, the default configuration will be used: `min_edge_length: 240, name: LD`; `min_edge_length: 480, name: SD`; `min_edge_length: 720, name: HD`; `min_edge_length: 1080, name: FHD`; `min_edge_length: 1440, name: 2K`; `min_edge_length: 2160, name: 4K`; `min_edge_length: 4320, name: 8K`. + * `min_edge_length` - Length of video short side in px. + * `name` - Display name. + * `scheme` - Scheme used for playback. If it is left empty or set to `Default`, the scheme configured in [Default Distribution Configuration](https://cloud.tencent.com/document/product/266/33373) will be used. Other valid values: `HTTP`; `HTTPS`. + * `type` - Template type filter. Valid values: `Preset`, `Custom`. `Preset`: preset template; `Custom`: custom template. + * `update_time` - Last modified time of template in ISO date format. + + diff --git a/website/tencentcloud.erb b/website/tencentcloud.erb index 084a039c13..3a2a450915 100644 --- a/website/tencentcloud.erb +++ b/website/tencentcloud.erb @@ -1080,7 +1080,26 @@
  • VOD