From 6255583285e7ffb77c3cb01e2d5c0c15726f136b Mon Sep 17 00:00:00 2001 From: arunma Date: Tue, 29 Aug 2023 14:56:05 +0800 Subject: [PATCH 01/20] feat: support cat --- .../data_source_tc_cat_metric_data.go | 147 ++++++++++++++++++ .../data_source_tc_cat_metric_data_test.go | 34 ++++ tencentcloud/provider.go | 1 + tencentcloud/resource_tc_cat_task_set.go | 47 ++++++ tencentcloud/resource_tc_cat_task_set_test.go | 1 + tencentcloud/service_tencentcloud_cat.go | 50 ++++++ 6 files changed, 280 insertions(+) create mode 100644 tencentcloud/data_source_tc_cat_metric_data.go create mode 100644 tencentcloud/data_source_tc_cat_metric_data_test.go diff --git a/tencentcloud/data_source_tc_cat_metric_data.go b/tencentcloud/data_source_tc_cat_metric_data.go new file mode 100644 index 0000000000..aa327d38ab --- /dev/null +++ b/tencentcloud/data_source_tc_cat_metric_data.go @@ -0,0 +1,147 @@ +/* +Use this data source to query detailed information of cat metric_data +Example Usage +```hcl +data "tencentcloud_cat_metric_data" "metric_data" { + analyze_task_type = "" + metric_type = "" + field = "" + filter = "" + group_by = "" + filters = +} +``` +*/ +package tencentcloud + +import ( + "context" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + cat "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409" + "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper" +) + +func dataSourceTencentCloudCatMetricData() *schema.Resource { + return &schema.Resource{ + Read: dataSourceTencentCloudCatMetricDataRead, + Schema: map[string]*schema.Schema{ + "analyze_task_type": { + Optional: true, + Type: schema.TypeString, + Description: "Analysis of task type, supported types: `AnalyzeTaskType_Network`: network quality, `AnalyzeTaskType_Browse`: page performance, `AnalyzeTaskType_Transport`: port performance, `AnalyzeTaskType_UploadDownload`: file transport, `AnalyzeTaskType_MediaStream`: audiovisual experience.", + }, + + "metric_type": { + Optional: true, + Type: schema.TypeString, + Description: "Metric type, metrics queries are passed with gauge by default.", + }, + + "field": { + Optional: true, + Type: schema.TypeString, + Description: "Detailed fields of metrics, specified metrics can be passed or aggregate metrics, such as avg(ping_time) means entire delay.", + }, + + "filter": { + Optional: true, + Type: schema.TypeString, + Description: "Filter conditions can be passed as a single filter or multiple parameters concatenated together.", + }, + + "group_by": { + Optional: true, + Type: schema.TypeString, + Description: "Aggregation time, such as 1m, 1d, 30d, and so on.", + }, + + "filters": { + Optional: true, + Type: schema.TypeSet, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + Description: "Multiple condition filtering, supports combining multiple filtering conditions for query.", + }, + + "metric_set": { + Computed: true, + Type: schema.TypeString, + Description: "Return JSON string.", + }, + + "result_output_file": { + Type: schema.TypeString, + Optional: true, + Description: "Used to save results.", + }, + }, + } +} + +func dataSourceTencentCloudCatMetricDataRead(d *schema.ResourceData, meta interface{}) error { + defer logElapsed("data_source.tencentcloud_cat_metric_data.read")() + defer inconsistentCheck(d, meta)() + + logId := getLogId(contextNil) + + ctx := context.WithValue(context.TODO(), logIdKey, logId) + + paramMap := make(map[string]interface{}) + if v, ok := d.GetOk("analyze_task_type"); ok { + paramMap["AnalyzeTaskType"] = helper.String(v.(string)) + } + + if v, ok := d.GetOk("metric_type"); ok { + paramMap["MetricType"] = helper.String(v.(string)) + } + + if v, ok := d.GetOk("field"); ok { + paramMap["Field"] = helper.String(v.(string)) + } + + if v, ok := d.GetOk("filter"); ok { + paramMap["Filter"] = helper.String(v.(string)) + } + + if v, ok := d.GetOk("group_by"); ok { + paramMap["GroupBy"] = helper.String(v.(string)) + } + + if v, ok := d.GetOk("filters"); ok { + filtersSet := v.(*schema.Set).List() + paramMap["Filters"] = helper.InterfacesStringsPoint(filtersSet) + } + + service := CatService{client: meta.(*TencentCloudClient).apiV3Conn} + + var metric *cat.DescribeProbeMetricDataResponseParams + err := resource.Retry(readRetryTimeout, func() *resource.RetryError { + result, e := service.DescribeCatMetricDataByFilter(ctx, paramMap) + if e != nil { + return retryError(e) + } + metric = result + return nil + }) + if err != nil { + return err + } + + var metricSet string + if metric != nil && metric.MetricSet != nil { + metricSet = *metric.MetricSet + _ = d.Set("metric_set", metric.MetricSet) + } + + d.SetId(helper.DataResourceIdsHash([]string{metricSet})) + output, ok := d.GetOk("result_output_file") + if ok && output.(string) != "" { + if e := writeToFile(output.(string), metricSet); e != nil { + return e + } + } + return nil +} diff --git a/tencentcloud/data_source_tc_cat_metric_data_test.go b/tencentcloud/data_source_tc_cat_metric_data_test.go new file mode 100644 index 0000000000..c22ed16985 --- /dev/null +++ b/tencentcloud/data_source_tc_cat_metric_data_test.go @@ -0,0 +1,34 @@ +package tencentcloud + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" +) + +func TestAccTencentCloudCatMetricDataDataSource_basic(t *testing.T) { + t.Parallel() + resource.Test(t, resource.TestCase{ + PreCheck: func() { + testAccPreCheck(t) + }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccCatMetricDataDataSource, + Check: resource.ComposeTestCheckFunc(testAccCheckTencentCloudDataSourceID("data.tencentcloud_cat_metric_data.metric_data")), + }, + }, + }) +} + +const testAccCatMetricDataDataSource = ` +data "tencentcloud_cat_metric_data" "metric_data" { + analyze_task_type = "" + metric_type = "" + field = "" + filter = "" + group_by = "" + filters = + } +` diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index 4f82438687..4bc657bc23 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -2201,6 +2201,7 @@ func Provider() *schema.Provider { "tencentcloud_tdcpg_instances": dataSourceTencentCloudTdcpgInstances(), "tencentcloud_cat_probe_data": dataSourceTencentCloudCatProbeData(), "tencentcloud_cat_node": dataSourceTencentCloudCatNode(), + "tencentcloud_cat_metric_data": dataSourceTencentCloudCatMetricData(), "tencentcloud_rum_project": dataSourceTencentCloudRumProject(), "tencentcloud_rum_offline_log_config": dataSourceTencentCloudRumOfflineLogConfig(), "tencentcloud_rum_whitelist": dataSourceTencentCloudRumWhitelist(), diff --git a/tencentcloud/resource_tc_cat_task_set.go b/tencentcloud/resource_tc_cat_task_set.go index e028a6aefc..7388534f07 100644 --- a/tencentcloud/resource_tc_cat_task_set.go +++ b/tencentcloud/resource_tc_cat_task_set.go @@ -142,6 +142,12 @@ func resourceTencentCloudCatTaskSet() *schema.Resource { Description: "Timer task cron expression.", }, + "operate": { + Type: schema.TypeString, + Optional: true, + Description: "The input is valid when the parameter is modified, `suspend`/`resume`, used to suspend/resume the dial test task.", + }, + "status": { Type: schema.TypeInt, Computed: true, @@ -407,6 +413,47 @@ func resourceTencentCloudCatTaskSetUpdate(d *schema.ResourceData, meta interface return err } + if d.HasChange("operate") { + if v, ok := d.GetOk("operate"); ok { + operate := v.(string) + if operate == "suspend" { + requestSuspend := cat.NewSuspendProbeTaskRequest() + requestSuspend.TaskIds = append(requestSuspend.TaskIds, &taskId) + err := resource.Retry(writeRetryTimeout, func() *resource.RetryError { + result, e := meta.(*TencentCloudClient).apiV3Conn.UseCatClient().SuspendProbeTask(requestSuspend) + if e != nil { + return retryError(e) + } else { + log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), result.ToJsonString()) + } + return nil + }) + if err != nil { + log.Printf("[CRITAL]%s Suspend cat task failed, reason:%+v", logId, err) + return err + } + } else if operate == "resume" { + requestResume := cat.NewResumeProbeTaskRequest() + requestResume.TaskIds = append(requestResume.TaskIds, &taskId) + err := resource.Retry(writeRetryTimeout, func() *resource.RetryError { + result, e := meta.(*TencentCloudClient).apiV3Conn.UseCatClient().ResumeProbeTask(requestResume) + if e != nil { + return retryError(e) + } else { + log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), result.ToJsonString()) + } + return nil + }) + if err != nil { + log.Printf("[CRITAL]%s Resume cat task failed, reason:%+v", logId, err) + return err + } + } else { + return fmt.Errorf("`operate` only allows the input of suspend/resume.") + } + } + } + if d.HasChange("tags") { tcClient := meta.(*TencentCloudClient).apiV3Conn tagService := &TagService{client: tcClient} diff --git a/tencentcloud/resource_tc_cat_task_set_test.go b/tencentcloud/resource_tc_cat_task_set_test.go index 8a8adee722..9e1fa6a010 100644 --- a/tencentcloud/resource_tc_cat_task_set_test.go +++ b/tencentcloud/resource_tc_cat_task_set_test.go @@ -6,6 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" ) +// go test -i; go test -test.run TestAccTencentCloudCatTaskSet_basic -v func TestAccTencentCloudCatTaskSet_basic(t *testing.T) { t.Parallel() diff --git a/tencentcloud/service_tencentcloud_cat.go b/tencentcloud/service_tencentcloud_cat.go index 10856e5c3a..a674441099 100644 --- a/tencentcloud/service_tencentcloud_cat.go +++ b/tencentcloud/service_tencentcloud_cat.go @@ -237,3 +237,53 @@ func (me *CatService) DescribeCatProbeDataByFilter(ctx context.Context, param ma return } + +func (me *CatService) DescribeCatMetricDataByFilter(ctx context.Context, param map[string]interface{}) (metricData *cat.DescribeProbeMetricDataResponseParams, errRet error) { + var ( + logId = getLogId(ctx) + request = cat.NewDescribeProbeMetricDataRequest() + ) + + defer func() { + if errRet != nil { + log.Printf("[CRITAL]%s api[%s] fail, request body [%s], reason[%s]\n", logId, request.GetAction(), request.ToJsonString(), errRet.Error()) + } + }() + + for k, v := range param { + if k == "AnalyzeTaskType" { + request.AnalyzeTaskType = v.(*string) + } + if k == "MetricType" { + request.MetricType = v.(*string) + } + if k == "Field" { + request.Field = v.(*string) + } + if k == "Filter" { + request.Filter = v.(*string) + } + if k == "GroupBy" { + request.GroupBy = v.(*string) + } + if k == "Filters" { + request.Filters = v.([]*string) + } + } + + ratelimit.Check(request.GetAction()) + response, err := me.client.UseCatClient().DescribeProbeMetricData(request) + if err != nil { + errRet = err + return + } + log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), response.ToJsonString()) + + if response == nil || response.Response == nil { + return + } + + metricData = response.Response + + return +} From d7be87716443ba0921907542fa12e15f571cb596 Mon Sep 17 00:00:00 2001 From: arunma Date: Tue, 29 Aug 2023 22:55:20 +0800 Subject: [PATCH 02/20] faet: support task --- go.mod | 2 +- go.sum | 2 + tencentcloud/resource_tc_cat_task_set.go | 40 ++++++++- tencentcloud/resource_tc_cat_task_set_test.go | 53 ++++++++++++ .../tencentcloud/cat/v20180409/client.go | 68 +++++++++++++++ .../tencentcloud/cat/v20180409/models.go | 83 ++++++++++++++++++- vendor/modules.txt | 2 +- 7 files changed, 243 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 5b5c9b8d39..8fd097cef0 100644 --- a/go.mod +++ b/go.mod @@ -30,7 +30,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.624 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.756 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.699 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.539 diff --git a/go.sum b/go.sum index b1f19e5808..20acf0c2b0 100644 --- a/go.sum +++ b/go.sum @@ -786,6 +786,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 h1:ToZpNh7 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409/go.mod h1:U24yUxCDruJLayOsP/onO2E/7+9ljeNsNO+phu+PeiM= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520 h1:n4FN0PI+1MVWi+RGQbD/cElXjquZQK0K1h1Z1nNWNWw= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520/go.mod h1:gzI+2Qd/iUfPPQQjW30k0G3mJ3m7tXeXrydJMm8jsOo= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733 h1:EuHBdrlwixwtjcWQGNILMRxKZ4+Hu0PwvAUqeAd29o4= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733/go.mod h1:XMBnnStqx3gP5GSBT+RqDTq1O6ru/hUCXK+CgONiYIM= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 h1:TPGLjH6wqkA5Iirl6xCxFkWwrtCZ8ZmeF7ASzqUbsZA= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591/go.mod h1:nCAGfVTXZkVnurkbjF3b0FM6RwGztE9t8D9Ms1unaKo= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.592 h1:xowULQ7Mca1TjHyjAGe8RYjg37yhWpne5Q+TihFNHVA= diff --git a/tencentcloud/resource_tc_cat_task_set.go b/tencentcloud/resource_tc_cat_task_set.go index 7388534f07..07bba8ccac 100644 --- a/tencentcloud/resource_tc_cat_task_set.go +++ b/tencentcloud/resource_tc_cat_task_set.go @@ -385,10 +385,6 @@ func resourceTencentCloudCatTaskSetUpdate(d *schema.ResourceData, meta interface } } - if d.HasChange("batch_tasks") { - return fmt.Errorf("`batch_tasks` do not support change now.") - } - if d.HasChange("task_type") { return fmt.Errorf("`task_type` do not support change now.") } @@ -397,6 +393,42 @@ func resourceTencentCloudCatTaskSetUpdate(d *schema.ResourceData, meta interface return fmt.Errorf("`task_category` do not support change now.") } + if d.HasChange("batch_tasks") { + oldInterface, newInterface := d.GetChange("batch_tasks") + oldMap := make(map[string]interface{}) + newMap := make(map[string]interface{}) + for _, item := range oldInterface.([]interface{}) { + oldMap = item.(map[string]interface{}) + } + for _, item := range newInterface.([]interface{}) { + newMap = item.(map[string]interface{}) + } + replace, _ := diffTags(oldMap, newMap) + + if _, ok := replace["target_address"]; ok { + return fmt.Errorf("`target_address` do not support change now.") + } + + if v, ok := replace["name"]; ok { + requestTaskAttributes := cat.NewUpdateProbeTaskAttributesRequest() + requestTaskAttributes.TaskId = &taskId + requestTaskAttributes.Name = &v + err := resource.Retry(writeRetryTimeout, func() *resource.RetryError { + result, e := meta.(*TencentCloudClient).apiV3Conn.UseCatClient().UpdateProbeTaskAttributes(requestTaskAttributes) + if e != nil { + return retryError(e) + } else { + log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), result.ToJsonString()) + } + return nil + }) + if err != nil { + log.Printf("[CRITAL]%s Suspend cat task failed, reason:%+v", logId, err) + return err + } + } + } + err := resource.Retry(writeRetryTimeout, func() *resource.RetryError { result, e := meta.(*TencentCloudClient).apiV3Conn.UseCatClient().UpdateProbeTaskConfigurationList(request) if e != nil { diff --git a/tencentcloud/resource_tc_cat_task_set_test.go b/tencentcloud/resource_tc_cat_task_set_test.go index 9e1fa6a010..ed5475faf6 100644 --- a/tencentcloud/resource_tc_cat_task_set_test.go +++ b/tencentcloud/resource_tc_cat_task_set_test.go @@ -18,6 +18,7 @@ func TestAccTencentCloudCatTaskSet_basic(t *testing.T) { Config: testAccCatTaskSet, Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttrSet("tencentcloud_cat_task_set.task_set", "id"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "name", "demo"), ), }, { @@ -25,6 +26,13 @@ func TestAccTencentCloudCatTaskSet_basic(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + Config: testAccCatTaskSetUp, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttrSet("tencentcloud_cat_task_set.task_set", "id"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "name", "demo_test"), + ), + }, }, }) } @@ -73,3 +81,48 @@ resource "tencentcloud_cat_task_set" "task_set" { } ` + +const testAccCatTaskSetUp = ` + +resource "tencentcloud_cat_task_set" "task_set" { + batch_tasks { + name = "demo_test" + target_address = "http://www.baidu.com" + } + task_type = 5 + nodes = ["12136", "12137", "12138", "12141", "12144"] + interval = 6 + parameters = jsonencode( + { + "ipType" = 0, + "grabBag" = 0, + "filterIp" = 0, + "netIcmpOn" = 1, + "netIcmpActivex" = 0, + "netIcmpTimeout" = 20, + "netIcmpInterval" = 0.5, + "netIcmpNum" = 20, + "netIcmpSize" = 32, + "netIcmpDataCut" = 1, + "netDnsOn" = 1, + "netDnsTimeout" = 5, + "netDnsQuerymethod" = 1, + "netDnsNs" = "", + "netDigOn" = 1, + "netDnsServer" = 2, + "netTracertOn" = 1, + "netTracertTimeout" = 60, + "netTracertNum" = 30, + "whiteList" = "", + "blackList" = "", + "netIcmpActivexStr" = "" + } + ) + task_category = 1 + cron = "* 0-6 * * *" + tags = { + "createdBy" = "terraform" + } +} + +` diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/client.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/client.go index 5db0fa27b9..1b160dd0ab 100644 --- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/client.go +++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/client.go @@ -345,6 +345,7 @@ func NewDescribeProbeMetricDataResponse() (response *DescribeProbeMetricDataResp // 查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询 // // 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" func (c *Client) DescribeProbeMetricData(request *DescribeProbeMetricDataRequest) (response *DescribeProbeMetricDataResponse, err error) { return c.DescribeProbeMetricDataWithContext(context.Background(), request) @@ -354,6 +355,7 @@ func (c *Client) DescribeProbeMetricData(request *DescribeProbeMetricDataRequest // 查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询 // // 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" func (c *Client) DescribeProbeMetricDataWithContext(ctx context.Context, request *DescribeProbeMetricDataRequest) (response *DescribeProbeMetricDataResponse, err error) { if request == nil { @@ -619,6 +621,72 @@ func (c *Client) SuspendProbeTaskWithContext(ctx context.Context, request *Suspe return } +func NewUpdateProbeTaskAttributesRequest() (request *UpdateProbeTaskAttributesRequest) { + request = &UpdateProbeTaskAttributesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("cat", APIVersion, "UpdateProbeTaskAttributes") + + + return +} + +func NewUpdateProbeTaskAttributesResponse() (response *UpdateProbeTaskAttributesResponse) { + response = &UpdateProbeTaskAttributesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// UpdateProbeTaskAttributes +// 更新探测任务属性 +// +// 可能返回的错误码: +// FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" +// FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" +// FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" +// FAILEDOPERATION_NOVALIDNODES = "FailedOperation.NoValidNodes" +// FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" +// FAILEDOPERATION_TASKNOTRUNNING = "FailedOperation.TaskNotRunning" +// FAILEDOPERATION_TASKNOTSUSPENDED = "FailedOperation.TaskNotSuspended" +// FAILEDOPERATION_TASKOPERATIONNOTALLOW = "FailedOperation.TaskOperationNotAllow" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) UpdateProbeTaskAttributes(request *UpdateProbeTaskAttributesRequest) (response *UpdateProbeTaskAttributesResponse, err error) { + return c.UpdateProbeTaskAttributesWithContext(context.Background(), request) +} + +// UpdateProbeTaskAttributes +// 更新探测任务属性 +// +// 可能返回的错误码: +// FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" +// FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" +// FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" +// FAILEDOPERATION_NOVALIDNODES = "FailedOperation.NoValidNodes" +// FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" +// FAILEDOPERATION_TASKNOTRUNNING = "FailedOperation.TaskNotRunning" +// FAILEDOPERATION_TASKNOTSUSPENDED = "FailedOperation.TaskNotSuspended" +// FAILEDOPERATION_TASKOPERATIONNOTALLOW = "FailedOperation.TaskOperationNotAllow" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) UpdateProbeTaskAttributesWithContext(ctx context.Context, request *UpdateProbeTaskAttributesRequest) (response *UpdateProbeTaskAttributesResponse, err error) { + if request == nil { + request = NewUpdateProbeTaskAttributesRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("UpdateProbeTaskAttributes require credential") + } + + request.SetContext(ctx) + + response = NewUpdateProbeTaskAttributesResponse() + err = c.Send(request, response) + return +} + func NewUpdateProbeTaskConfigurationListRequest() (request *UpdateProbeTaskConfigurationListRequest) { request = &UpdateProbeTaskConfigurationListRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go index e9ceffecc4..845801906d 100644 --- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go +++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go @@ -1068,7 +1068,15 @@ type ProbeTask struct { // 任务 ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` - // 任务类型 + // 拨测类型 + //
  • 1 = 页面浏览
  • + //
  • 2 =文件上传
  • + //
  • 3 = 文件下载
  • + //
  • 4 = 端口性能
  • + //
  • 5 = 网络质量
  • + //
  • 6 =流媒体
  • + // + // 即时拨测只支持页面浏览,网络质量,文件下载 TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"` // 拨测节点列表 @@ -1081,6 +1089,16 @@ type ProbeTask struct { Parameters *string `json:"Parameters,omitempty" name:"Parameters"` // 任务状态 + //
  • 1 = 创建中
  • + //
  • 2 = 运行中
  • + //
  • 3 = 运行异常
  • + //
  • 4 = 暂停中
  • + //
  • 5 = 暂停异常
  • + //
  • 6 = 任务暂停
  • + //
  • 7 = 任务删除中
  • + //
  • 8 = 任务删除异常
  • + //
  • 9 = 任务删除
  • + //
  • 10 = 定时任务暂停中
  • Status *int64 `json:"Status,omitempty" name:"Status"` // 目标地址 @@ -1109,6 +1127,8 @@ type ProbeTask struct { Cron *string `json:"Cron,omitempty" name:"Cron"` // 定时任务启动状态 + //
  • 1 = 定时任务表达式生效
  • + //
  • 2 = 定时任务表达式未生效(一般为任务手动暂停)
  • // 注意:此字段可能返回 null,表示取不到有效值。 CronState *int64 `json:"CronState,omitempty" name:"CronState"` @@ -1276,6 +1296,67 @@ type TaskResult struct { ErrorMessage *string `json:"ErrorMessage,omitempty" name:"ErrorMessage"` } +// Predefined struct for user +type UpdateProbeTaskAttributesRequestParams struct { + // 任务 ID + TaskId *string `json:"TaskId,omitempty" name:"TaskId"` + + // 任务名 + Name *string `json:"Name,omitempty" name:"Name"` +} + +type UpdateProbeTaskAttributesRequest struct { + *tchttp.BaseRequest + + // 任务 ID + TaskId *string `json:"TaskId,omitempty" name:"TaskId"` + + // 任务名 + Name *string `json:"Name,omitempty" name:"Name"` +} + +func (r *UpdateProbeTaskAttributesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *UpdateProbeTaskAttributesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "TaskId") + delete(f, "Name") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateProbeTaskAttributesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type UpdateProbeTaskAttributesResponseParams struct { + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` +} + +type UpdateProbeTaskAttributesResponse struct { + *tchttp.BaseResponse + Response *UpdateProbeTaskAttributesResponseParams `json:"Response"` +} + +func (r *UpdateProbeTaskAttributesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *UpdateProbeTaskAttributesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type UpdateProbeTaskConfigurationListRequestParams struct { // 任务 ID diff --git a/vendor/modules.txt b/vendor/modules.txt index f7695c6c49..6b023a9708 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1058,7 +1058,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419 # github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam/v20190116 -# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520 +# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409 # github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 From 884a053dec3ffa0a4f8853bb7bdd7037f82ee1fd Mon Sep 17 00:00:00 2001 From: arunma Date: Fri, 1 Sep 2023 16:41:19 +0800 Subject: [PATCH 03/20] fix: Modify the interface DescribeProbeNodes to DescribeNodes --- tencentcloud/data_source_tc_cat_metric_data.go | 6 +++--- tencentcloud/data_source_tc_cat_node.go | 14 +++++++++++--- tencentcloud/service_tencentcloud_cat.go | 6 +++--- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/tencentcloud/data_source_tc_cat_metric_data.go b/tencentcloud/data_source_tc_cat_metric_data.go index aa327d38ab..5a9f9716a0 100644 --- a/tencentcloud/data_source_tc_cat_metric_data.go +++ b/tencentcloud/data_source_tc_cat_metric_data.go @@ -28,19 +28,19 @@ func dataSourceTencentCloudCatMetricData() *schema.Resource { Read: dataSourceTencentCloudCatMetricDataRead, Schema: map[string]*schema.Schema{ "analyze_task_type": { - Optional: true, + Required: true, Type: schema.TypeString, Description: "Analysis of task type, supported types: `AnalyzeTaskType_Network`: network quality, `AnalyzeTaskType_Browse`: page performance, `AnalyzeTaskType_Transport`: port performance, `AnalyzeTaskType_UploadDownload`: file transport, `AnalyzeTaskType_MediaStream`: audiovisual experience.", }, "metric_type": { - Optional: true, + Required: true, Type: schema.TypeString, Description: "Metric type, metrics queries are passed with gauge by default.", }, "field": { - Optional: true, + Required: true, Type: schema.TypeString, Description: "Detailed fields of metrics, specified metrics can be passed or aggregate metrics, such as avg(ping_time) means entire delay.", }, diff --git a/tencentcloud/data_source_tc_cat_node.go b/tencentcloud/data_source_tc_cat_node.go index 6d14234f7e..727c7ef048 100644 --- a/tencentcloud/data_source_tc_cat_node.go +++ b/tencentcloud/data_source_tc_cat_node.go @@ -113,6 +113,11 @@ func dataSourceTencentCloudCatNode() *schema.Resource { Computed: true, Description: "Node status: 1=running, 2=offline.", }, + "task_types": { + Type: schema.TypeInt, + Computed: true, + Description: "The task types supported by the node. `1`: page performance, `2`: file upload, `3`: file download, `4`: port performance, `5`: network quality, `6`: audio and video experience.", + }, }, }, }, @@ -156,7 +161,7 @@ func dataSourceTencentCloudCatNodeRead(d *schema.ResourceData, meta interface{}) catService := CatService{client: meta.(*TencentCloudClient).apiV3Conn} - var nodeSets []*cat.NodeDefine + var nodeSets []*cat.NodeDefineExt err := resource.Retry(readRetryTimeout, func() *resource.RetryError { results, e := catService.DescribeCatNodeByFilter(ctx, paramMap) if e != nil { @@ -202,8 +207,11 @@ func dataSourceTencentCloudCatNodeRead(d *schema.ResourceData, meta interface{}) if nodeSet.CodeType != nil { nodeSetMap["code_type"] = nodeSet.CodeType } - if nodeSet.NodeDefineStatus != nil { - nodeSetMap["node_define_status"] = nodeSet.NodeDefineStatus + // if nodeSet.NodeDefineStatus != nil { + // nodeSetMap["node_define_status"] = nodeSet.NodeDefineStatus + // } + if nodeSet.TaskTypes != nil { + nodeSetMap["task_types"] = nodeSet.TaskTypes } ids = append(ids, *nodeSet.Name) nodeSetList = append(nodeSetList, nodeSetMap) diff --git a/tencentcloud/service_tencentcloud_cat.go b/tencentcloud/service_tencentcloud_cat.go index a674441099..de0a070510 100644 --- a/tencentcloud/service_tencentcloud_cat.go +++ b/tencentcloud/service_tencentcloud_cat.go @@ -91,10 +91,10 @@ func (me *CatService) DeleteCatTaskSetById(ctx context.Context, taskId string) ( return } -func (me *CatService) DescribeCatNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefine, errRet error) { +func (me *CatService) DescribeCatNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefineExt, errRet error) { var ( logId = getLogId(ctx) - request = cat.NewDescribeProbeNodesRequest() + request = cat.NewDescribeNodesRequest() ) defer func() { @@ -128,7 +128,7 @@ func (me *CatService) DescribeCatNodeByFilter(ctx context.Context, param map[str } ratelimit.Check(request.GetAction()) - response, err := me.client.UseCatClient().DescribeProbeNodes(request) + response, err := me.client.UseCatClient().DescribeNodes(request) if err != nil { log.Printf("[CRITAL]%s api[%s] fail, request body [%s], reason[%s]\n", logId, request.GetAction(), request.ToJsonString(), err.Error()) From d6e84df3c80a05cfb58823a0714582e792f26f0d Mon Sep 17 00:00:00 2001 From: arunma Date: Fri, 22 Sep 2023 14:56:09 +0800 Subject: [PATCH 04/20] fix: modify sdk --- go.mod | 2 +- go.sum | 3 + .../tencentcloud/cat/v20180409/models.go | 424 +++++++++--------- vendor/modules.txt | 2 +- 4 files changed, 217 insertions(+), 214 deletions(-) diff --git a/go.mod b/go.mod index 8fd097cef0..1a4b54ea41 100644 --- a/go.mod +++ b/go.mod @@ -30,7 +30,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.624 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.756 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.699 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.539 diff --git a/go.sum b/go.sum index 20acf0c2b0..8f2fb490c2 100644 --- a/go.sum +++ b/go.sum @@ -788,6 +788,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520 h1:n4FN0PI github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520/go.mod h1:gzI+2Qd/iUfPPQQjW30k0G3mJ3m7tXeXrydJMm8jsOo= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733 h1:EuHBdrlwixwtjcWQGNILMRxKZ4+Hu0PwvAUqeAd29o4= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733/go.mod h1:XMBnnStqx3gP5GSBT+RqDTq1O6ru/hUCXK+CgONiYIM= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 h1:IOMF1BP2PHNsnK75n1SkuSOs6DnLdsiFXx+mQ7/erGk= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754/go.mod h1:9626UV/oSa4/5BcHVd7l/uADLipKIl6YuJxqCC7T3wY= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 h1:TPGLjH6wqkA5Iirl6xCxFkWwrtCZ8ZmeF7ASzqUbsZA= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591/go.mod h1:nCAGfVTXZkVnurkbjF3b0FM6RwGztE9t8D9Ms1unaKo= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.592 h1:xowULQ7Mca1TjHyjAGe8RYjg37yhWpne5Q+TihFNHVA= @@ -873,6 +875,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.745/go.mod github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.748/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.750/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.751/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.733/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.754/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.755/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.756/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go index 845801906d..441ef3b8d3 100644 --- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go +++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409/models.go @@ -15,86 +15,86 @@ package v20180409 import ( - "encoding/json" tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors" tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" ) // Predefined struct for user type CreateProbeTasksRequestParams struct { // 批量任务名-地址 - BatchTasks []*ProbeTaskBasicConfiguration `json:"BatchTasks,omitempty" name:"BatchTasks"` + BatchTasks []*ProbeTaskBasicConfiguration `json:"BatchTasks,omitnil" name:"BatchTasks"` // 任务类型 - TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"` + TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"` // 拨测节点 - Nodes []*string `json:"Nodes,omitempty" name:"Nodes"` + Nodes []*string `json:"Nodes,omitnil" name:"Nodes"` // 拨测间隔 - Interval *int64 `json:"Interval,omitempty" name:"Interval"` + Interval *int64 `json:"Interval,omitnil" name:"Interval"` // 拨测参数 - Parameters *string `json:"Parameters,omitempty" name:"Parameters"` + Parameters *string `json:"Parameters,omitnil" name:"Parameters"` // 任务分类 //
  • 1 = PC
  • //
  • 2 = Mobile
  • - TaskCategory *int64 `json:"TaskCategory,omitempty" name:"TaskCategory"` + TaskCategory *int64 `json:"TaskCategory,omitnil" name:"TaskCategory"` // 定时任务cron表达式 - Cron *string `json:"Cron,omitempty" name:"Cron"` + Cron *string `json:"Cron,omitnil" name:"Cron"` // 资源标签值 - Tag []*Tag `json:"Tag,omitempty" name:"Tag"` + Tag []*Tag `json:"Tag,omitnil" name:"Tag"` // 测试类型,包含定时测试与即时测试 - ProbeType *uint64 `json:"ProbeType,omitempty" name:"ProbeType"` + ProbeType *uint64 `json:"ProbeType,omitnil" name:"ProbeType"` // 插件类型 - PluginSource *string `json:"PluginSource,omitempty" name:"PluginSource"` + PluginSource *string `json:"PluginSource,omitnil" name:"PluginSource"` // 客户端ID - ClientNum *string `json:"ClientNum,omitempty" name:"ClientNum"` + ClientNum *string `json:"ClientNum,omitnil" name:"ClientNum"` } type CreateProbeTasksRequest struct { *tchttp.BaseRequest // 批量任务名-地址 - BatchTasks []*ProbeTaskBasicConfiguration `json:"BatchTasks,omitempty" name:"BatchTasks"` + BatchTasks []*ProbeTaskBasicConfiguration `json:"BatchTasks,omitnil" name:"BatchTasks"` // 任务类型 - TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"` + TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"` // 拨测节点 - Nodes []*string `json:"Nodes,omitempty" name:"Nodes"` + Nodes []*string `json:"Nodes,omitnil" name:"Nodes"` // 拨测间隔 - Interval *int64 `json:"Interval,omitempty" name:"Interval"` + Interval *int64 `json:"Interval,omitnil" name:"Interval"` // 拨测参数 - Parameters *string `json:"Parameters,omitempty" name:"Parameters"` + Parameters *string `json:"Parameters,omitnil" name:"Parameters"` // 任务分类 //
  • 1 = PC
  • //
  • 2 = Mobile
  • - TaskCategory *int64 `json:"TaskCategory,omitempty" name:"TaskCategory"` + TaskCategory *int64 `json:"TaskCategory,omitnil" name:"TaskCategory"` // 定时任务cron表达式 - Cron *string `json:"Cron,omitempty" name:"Cron"` + Cron *string `json:"Cron,omitnil" name:"Cron"` // 资源标签值 - Tag []*Tag `json:"Tag,omitempty" name:"Tag"` + Tag []*Tag `json:"Tag,omitnil" name:"Tag"` // 测试类型,包含定时测试与即时测试 - ProbeType *uint64 `json:"ProbeType,omitempty" name:"ProbeType"` + ProbeType *uint64 `json:"ProbeType,omitnil" name:"ProbeType"` // 插件类型 - PluginSource *string `json:"PluginSource,omitempty" name:"PluginSource"` + PluginSource *string `json:"PluginSource,omitnil" name:"PluginSource"` // 客户端ID - ClientNum *string `json:"ClientNum,omitempty" name:"ClientNum"` + ClientNum *string `json:"ClientNum,omitnil" name:"ClientNum"` } func (r *CreateProbeTasksRequest) ToJsonString() string { @@ -129,10 +129,10 @@ func (r *CreateProbeTasksRequest) FromJsonString(s string) error { // Predefined struct for user type CreateProbeTasksResponseParams struct { // 任务ID列表 - TaskIDs []*string `json:"TaskIDs,omitempty" name:"TaskIDs"` + TaskIDs []*string `json:"TaskIDs,omitnil" name:"TaskIDs"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type CreateProbeTasksResponse struct { @@ -154,14 +154,14 @@ func (r *CreateProbeTasksResponse) FromJsonString(s string) error { // Predefined struct for user type DeleteProbeTaskRequestParams struct { // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` } type DeleteProbeTaskRequest struct { *tchttp.BaseRequest // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` } func (r *DeleteProbeTaskRequest) ToJsonString() string { @@ -186,18 +186,18 @@ func (r *DeleteProbeTaskRequest) FromJsonString(s string) error { // Predefined struct for user type DeleteProbeTaskResponseParams struct { // 任务总量 - Total *int64 `json:"Total,omitempty" name:"Total"` + Total *int64 `json:"Total,omitnil" name:"Total"` // 任务成功量 // 注意:此字段可能返回 null,表示取不到有效值。 - SuccessCount *int64 `json:"SuccessCount,omitempty" name:"SuccessCount"` + SuccessCount *int64 `json:"SuccessCount,omitnil" name:"SuccessCount"` // 任务执行结果 // 注意:此字段可能返回 null,表示取不到有效值。 - Results []*TaskResult `json:"Results,omitempty" name:"Results"` + Results []*TaskResult `json:"Results,omitnil" name:"Results"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type DeleteProbeTaskResponse struct { @@ -219,10 +219,10 @@ func (r *DeleteProbeTaskResponse) FromJsonString(s string) error { // Predefined struct for user type DescribeDetailedSingleProbeDataRequestParams struct { // 开始时间戳(毫秒级) - BeginTime *uint64 `json:"BeginTime,omitempty" name:"BeginTime"` + BeginTime *uint64 `json:"BeginTime,omitnil" name:"BeginTime"` // 结束时间戳(毫秒级) - EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` + EndTime *uint64 `json:"EndTime,omitnil" name:"EndTime"` // 任务类型 // AnalyzeTaskType_Network:网络质量 @@ -230,27 +230,27 @@ type DescribeDetailedSingleProbeDataRequestParams struct { // AnalyzeTaskType_UploadDownload:文件传输(含文件上传、文件下载) // AnalyzeTaskType_Transport:端口性能 // AnalyzeTaskType_MediaStream:音视频体验 - TaskType *string `json:"TaskType,omitempty" name:"TaskType"` + TaskType *string `json:"TaskType,omitnil" name:"TaskType"` // 待排序字段 // 可以填写 ProbeTime 拨测时间排序 // 也可填写SelectedFields 中的选中字段 - SortField *string `json:"SortField,omitempty" name:"SortField"` + SortField *string `json:"SortField,omitnil" name:"SortField"` // true表示升序 - Ascending *bool `json:"Ascending,omitempty" name:"Ascending"` + Ascending *bool `json:"Ascending,omitnil" name:"Ascending"` // 选中字段 - SelectedFields []*string `json:"SelectedFields,omitempty" name:"SelectedFields"` + SelectedFields []*string `json:"SelectedFields,omitnil" name:"SelectedFields"` // 起始取数位置 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 取数数量 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 任务ID - TaskID []*string `json:"TaskID,omitempty" name:"TaskID"` + TaskID []*string `json:"TaskID,omitnil" name:"TaskID"` // 拨测点运营商 // @@ -259,7 +259,7 @@ type DescribeDetailedSingleProbeDataRequestParams struct { // 电信:中国电信 // 移动:中国移动 // 联通:中国联通 - Operators []*string `json:"Operators,omitempty" name:"Operators"` + Operators []*string `json:"Operators,omitnil" name:"Operators"` // 拨测点地区 // @@ -268,10 +268,10 @@ type DescribeDetailedSingleProbeDataRequestParams struct { // 国内一般是省级单位,如广东、广西、中国香港、新疆;直辖市则填北京、上海 // // 境外一般是国家名,如澳大利亚、新加坡 - Districts []*string `json:"Districts,omitempty" name:"Districts"` + Districts []*string `json:"Districts,omitnil" name:"Districts"` // 错误类型 - ErrorTypes []*string `json:"ErrorTypes,omitempty" name:"ErrorTypes"` + ErrorTypes []*string `json:"ErrorTypes,omitnil" name:"ErrorTypes"` // 城市 // 这里实际按拨测结果中的城市来填写即可 @@ -282,17 +282,17 @@ type DescribeDetailedSingleProbeDataRequestParams struct { // 武汉市 // 首尔 // 多伦多 - City []*string `json:"City,omitempty" name:"City"` + City []*string `json:"City,omitnil" name:"City"` } type DescribeDetailedSingleProbeDataRequest struct { *tchttp.BaseRequest // 开始时间戳(毫秒级) - BeginTime *uint64 `json:"BeginTime,omitempty" name:"BeginTime"` + BeginTime *uint64 `json:"BeginTime,omitnil" name:"BeginTime"` // 结束时间戳(毫秒级) - EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` + EndTime *uint64 `json:"EndTime,omitnil" name:"EndTime"` // 任务类型 // AnalyzeTaskType_Network:网络质量 @@ -300,27 +300,27 @@ type DescribeDetailedSingleProbeDataRequest struct { // AnalyzeTaskType_UploadDownload:文件传输(含文件上传、文件下载) // AnalyzeTaskType_Transport:端口性能 // AnalyzeTaskType_MediaStream:音视频体验 - TaskType *string `json:"TaskType,omitempty" name:"TaskType"` + TaskType *string `json:"TaskType,omitnil" name:"TaskType"` // 待排序字段 // 可以填写 ProbeTime 拨测时间排序 // 也可填写SelectedFields 中的选中字段 - SortField *string `json:"SortField,omitempty" name:"SortField"` + SortField *string `json:"SortField,omitnil" name:"SortField"` // true表示升序 - Ascending *bool `json:"Ascending,omitempty" name:"Ascending"` + Ascending *bool `json:"Ascending,omitnil" name:"Ascending"` // 选中字段 - SelectedFields []*string `json:"SelectedFields,omitempty" name:"SelectedFields"` + SelectedFields []*string `json:"SelectedFields,omitnil" name:"SelectedFields"` // 起始取数位置 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 取数数量 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 任务ID - TaskID []*string `json:"TaskID,omitempty" name:"TaskID"` + TaskID []*string `json:"TaskID,omitnil" name:"TaskID"` // 拨测点运营商 // @@ -329,7 +329,7 @@ type DescribeDetailedSingleProbeDataRequest struct { // 电信:中国电信 // 移动:中国移动 // 联通:中国联通 - Operators []*string `json:"Operators,omitempty" name:"Operators"` + Operators []*string `json:"Operators,omitnil" name:"Operators"` // 拨测点地区 // @@ -338,10 +338,10 @@ type DescribeDetailedSingleProbeDataRequest struct { // 国内一般是省级单位,如广东、广西、中国香港、新疆;直辖市则填北京、上海 // // 境外一般是国家名,如澳大利亚、新加坡 - Districts []*string `json:"Districts,omitempty" name:"Districts"` + Districts []*string `json:"Districts,omitnil" name:"Districts"` // 错误类型 - ErrorTypes []*string `json:"ErrorTypes,omitempty" name:"ErrorTypes"` + ErrorTypes []*string `json:"ErrorTypes,omitnil" name:"ErrorTypes"` // 城市 // 这里实际按拨测结果中的城市来填写即可 @@ -352,7 +352,7 @@ type DescribeDetailedSingleProbeDataRequest struct { // 武汉市 // 首尔 // 多伦多 - City []*string `json:"City,omitempty" name:"City"` + City []*string `json:"City,omitnil" name:"City"` } func (r *DescribeDetailedSingleProbeDataRequest) ToJsonString() string { @@ -389,13 +389,13 @@ func (r *DescribeDetailedSingleProbeDataRequest) FromJsonString(s string) error // Predefined struct for user type DescribeDetailedSingleProbeDataResponseParams struct { // 单次详情数据 - DataSet []*DetailedSingleDataDefine `json:"DataSet,omitempty" name:"DataSet"` + DataSet []*DetailedSingleDataDefine `json:"DataSet,omitnil" name:"DataSet"` // 符合条件的数据总数 - TotalNumber *int64 `json:"TotalNumber,omitempty" name:"TotalNumber"` + TotalNumber *int64 `json:"TotalNumber,omitnil" name:"TotalNumber"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type DescribeDetailedSingleProbeDataResponse struct { @@ -420,24 +420,24 @@ type DescribeNodesRequestParams struct { //
  • 1 = IDC
  • //
  • 2 = LastMile
  • //
  • 3 = Mobile
  • - NodeType *int64 `json:"NodeType,omitempty" name:"NodeType"` + NodeType *int64 `json:"NodeType,omitnil" name:"NodeType"` // 节点区域 //
  • 1 = 中国大陆
  • //
  • 2 = 港澳台
  • //
  • 3 = 境外
  • - Location *int64 `json:"Location,omitempty" name:"Location"` + Location *int64 `json:"Location,omitnil" name:"Location"` // 是否IPv6 - IsIPv6 *bool `json:"IsIPv6,omitempty" name:"IsIPv6"` + IsIPv6 *bool `json:"IsIPv6,omitnil" name:"IsIPv6"` // 名字模糊搜索 - NodeName *string `json:"NodeName,omitempty" name:"NodeName"` + NodeName *string `json:"NodeName,omitnil" name:"NodeName"` // 付费模式 //
  • 1 = 试用版本
  • //
  • 2 = 付费版本
  • - PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` + PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` // 任务类型 //
  • 1 = 页面性能
  • @@ -446,7 +446,7 @@ type DescribeNodesRequestParams struct { //
  • 4 = 端口性能
  • //
  • 5 = 网络质量
  • //
  • 6 = 音视频体验
  • - TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"` + TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"` } type DescribeNodesRequest struct { @@ -456,24 +456,24 @@ type DescribeNodesRequest struct { //
  • 1 = IDC
  • //
  • 2 = LastMile
  • //
  • 3 = Mobile
  • - NodeType *int64 `json:"NodeType,omitempty" name:"NodeType"` + NodeType *int64 `json:"NodeType,omitnil" name:"NodeType"` // 节点区域 //
  • 1 = 中国大陆
  • //
  • 2 = 港澳台
  • //
  • 3 = 境外
  • - Location *int64 `json:"Location,omitempty" name:"Location"` + Location *int64 `json:"Location,omitnil" name:"Location"` // 是否IPv6 - IsIPv6 *bool `json:"IsIPv6,omitempty" name:"IsIPv6"` + IsIPv6 *bool `json:"IsIPv6,omitnil" name:"IsIPv6"` // 名字模糊搜索 - NodeName *string `json:"NodeName,omitempty" name:"NodeName"` + NodeName *string `json:"NodeName,omitnil" name:"NodeName"` // 付费模式 //
  • 1 = 试用版本
  • //
  • 2 = 付费版本
  • - PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` + PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` // 任务类型 //
  • 1 = 页面性能
  • @@ -482,7 +482,7 @@ type DescribeNodesRequest struct { //
  • 4 = 端口性能
  • //
  • 5 = 网络质量
  • //
  • 6 = 音视频体验
  • - TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"` + TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"` } func (r *DescribeNodesRequest) ToJsonString() string { @@ -513,10 +513,10 @@ func (r *DescribeNodesRequest) FromJsonString(s string) error { type DescribeNodesResponseParams struct { // 节点列表 // 注意:此字段可能返回 null,表示取不到有效值。 - NodeSet []*NodeDefineExt `json:"NodeSet,omitempty" name:"NodeSet"` + NodeSet []*NodeDefineExt `json:"NodeSet,omitnil" name:"NodeSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type DescribeNodesResponse struct { @@ -543,23 +543,23 @@ type DescribeProbeMetricDataRequestParams struct { // AnalyzeTaskType_Transport:端口性能 // AnalyzeTaskType_UploadDownload:文件传输 // AnalyzeTaskType_MediaStream:音视频体验 - AnalyzeTaskType *string `json:"AnalyzeTaskType,omitempty" name:"AnalyzeTaskType"` + AnalyzeTaskType *string `json:"AnalyzeTaskType,omitnil" name:"AnalyzeTaskType"` // 指标类型,指标查询默认传gauge - MetricType *string `json:"MetricType,omitempty" name:"MetricType"` + MetricType *string `json:"MetricType,omitnil" name:"MetricType"` // 指标详细字段,可以传递传具体的指标也可以对指标进行聚合查询例如:"avg(ping_time)"代表整体时延(ms) - Field *string `json:"Field,omitempty" name:"Field"` + Field *string `json:"Field,omitnil" name:"Field"` // 过滤条件可以传单个过滤条件也可以拼接多个参数 - Filter *string `json:"Filter,omitempty" name:"Filter"` + Filter *string `json:"Filter,omitnil" name:"Filter"` // 聚合时间, 1m、1d、30d 等等 - GroupBy *string `json:"GroupBy,omitempty" name:"GroupBy"` + GroupBy *string `json:"GroupBy,omitnil" name:"GroupBy"` // 多条件过滤,支持多个过滤条件组合查询 // 例如:[""host" = 'www.test.com'", "time >= now()-1h"] - Filters []*string `json:"Filters,omitempty" name:"Filters"` + Filters []*string `json:"Filters,omitnil" name:"Filters"` } type DescribeProbeMetricDataRequest struct { @@ -571,23 +571,23 @@ type DescribeProbeMetricDataRequest struct { // AnalyzeTaskType_Transport:端口性能 // AnalyzeTaskType_UploadDownload:文件传输 // AnalyzeTaskType_MediaStream:音视频体验 - AnalyzeTaskType *string `json:"AnalyzeTaskType,omitempty" name:"AnalyzeTaskType"` + AnalyzeTaskType *string `json:"AnalyzeTaskType,omitnil" name:"AnalyzeTaskType"` // 指标类型,指标查询默认传gauge - MetricType *string `json:"MetricType,omitempty" name:"MetricType"` + MetricType *string `json:"MetricType,omitnil" name:"MetricType"` // 指标详细字段,可以传递传具体的指标也可以对指标进行聚合查询例如:"avg(ping_time)"代表整体时延(ms) - Field *string `json:"Field,omitempty" name:"Field"` + Field *string `json:"Field,omitnil" name:"Field"` // 过滤条件可以传单个过滤条件也可以拼接多个参数 - Filter *string `json:"Filter,omitempty" name:"Filter"` + Filter *string `json:"Filter,omitnil" name:"Filter"` // 聚合时间, 1m、1d、30d 等等 - GroupBy *string `json:"GroupBy,omitempty" name:"GroupBy"` + GroupBy *string `json:"GroupBy,omitnil" name:"GroupBy"` // 多条件过滤,支持多个过滤条件组合查询 // 例如:[""host" = 'www.test.com'", "time >= now()-1h"] - Filters []*string `json:"Filters,omitempty" name:"Filters"` + Filters []*string `json:"Filters,omitnil" name:"Filters"` } func (r *DescribeProbeMetricDataRequest) ToJsonString() string { @@ -618,10 +618,10 @@ func (r *DescribeProbeMetricDataRequest) FromJsonString(s string) error { type DescribeProbeMetricDataResponseParams struct { // 返回指标 JSON 序列化后的字符串,具体如下所示: // "[{\"name\":\"task_navigate_request_gauge\",\"columns\":[\"time\",\"avg(first_screen_time) / 1000\"],\"values\":[[1641571200,6.756600000000001]],\"tags\":null}]" - MetricSet *string `json:"MetricSet,omitempty" name:"MetricSet"` + MetricSet *string `json:"MetricSet,omitnil" name:"MetricSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type DescribeProbeMetricDataResponse struct { @@ -646,24 +646,24 @@ type DescribeProbeNodesRequestParams struct { //
  • 1 = IDC
  • //
  • 2 = LastMile
  • //
  • 3 = Mobile
  • - NodeType *int64 `json:"NodeType,omitempty" name:"NodeType"` + NodeType *int64 `json:"NodeType,omitnil" name:"NodeType"` // 节点区域 //
  • 1 = 中国大陆
  • //
  • 2 = 港澳台
  • //
  • 3 = 海外
  • - Location *int64 `json:"Location,omitempty" name:"Location"` + Location *int64 `json:"Location,omitnil" name:"Location"` // 是否IPv6 - IsIPv6 *bool `json:"IsIPv6,omitempty" name:"IsIPv6"` + IsIPv6 *bool `json:"IsIPv6,omitnil" name:"IsIPv6"` // 名字模糊搜索 - NodeName *string `json:"NodeName,omitempty" name:"NodeName"` + NodeName *string `json:"NodeName,omitnil" name:"NodeName"` // 付费模式 //
  • 1 = 试用版本
  • //
  • 2 = 付费版本
  • - PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` + PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` } type DescribeProbeNodesRequest struct { @@ -673,24 +673,24 @@ type DescribeProbeNodesRequest struct { //
  • 1 = IDC
  • //
  • 2 = LastMile
  • //
  • 3 = Mobile
  • - NodeType *int64 `json:"NodeType,omitempty" name:"NodeType"` + NodeType *int64 `json:"NodeType,omitnil" name:"NodeType"` // 节点区域 //
  • 1 = 中国大陆
  • //
  • 2 = 港澳台
  • //
  • 3 = 海外
  • - Location *int64 `json:"Location,omitempty" name:"Location"` + Location *int64 `json:"Location,omitnil" name:"Location"` // 是否IPv6 - IsIPv6 *bool `json:"IsIPv6,omitempty" name:"IsIPv6"` + IsIPv6 *bool `json:"IsIPv6,omitnil" name:"IsIPv6"` // 名字模糊搜索 - NodeName *string `json:"NodeName,omitempty" name:"NodeName"` + NodeName *string `json:"NodeName,omitnil" name:"NodeName"` // 付费模式 //
  • 1 = 试用版本
  • //
  • 2 = 付费版本
  • - PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` + PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` } func (r *DescribeProbeNodesRequest) ToJsonString() string { @@ -720,10 +720,10 @@ func (r *DescribeProbeNodesRequest) FromJsonString(s string) error { type DescribeProbeNodesResponseParams struct { // 节点列表 // 注意:此字段可能返回 null,表示取不到有效值。 - NodeSet []*NodeDefine `json:"NodeSet,omitempty" name:"NodeSet"` + NodeSet []*NodeDefine `json:"NodeSet,omitnil" name:"NodeSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type DescribeProbeNodesResponse struct { @@ -745,13 +745,13 @@ func (r *DescribeProbeNodesResponse) FromJsonString(s string) error { // Predefined struct for user type DescribeProbeTasksRequestParams struct { // 任务 ID 列表 - TaskIDs []*string `json:"TaskIDs,omitempty" name:"TaskIDs"` + TaskIDs []*string `json:"TaskIDs,omitnil" name:"TaskIDs"` // 任务名 - TaskName *string `json:"TaskName,omitempty" name:"TaskName"` + TaskName *string `json:"TaskName,omitnil" name:"TaskName"` // 拨测目标 - TargetAddress *string `json:"TargetAddress,omitempty" name:"TargetAddress"` + TargetAddress *string `json:"TargetAddress,omitnil" name:"TargetAddress"` // 任务状态列表 //
  • 1 = 创建中
  • @@ -764,23 +764,23 @@ type DescribeProbeTasksRequestParams struct { //
  • 8 = 任务删除异常
  • //
  • 9 = 任务删除
  • //
  • 10 = 定时任务暂停中
  • - TaskStatus []*int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` + TaskStatus []*int64 `json:"TaskStatus,omitnil" name:"TaskStatus"` // 偏移量,默认为0 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 返回数量,默认为20,最大值为100 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 付费模式 //
  • 1 = 试用版本
  • //
  • 2 = 付费版本
  • - PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` + PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` // 订单状态 //
  • 1 = 正常
  • //
  • 2 = 欠费
  • - OrderState *int64 `json:"OrderState,omitempty" name:"OrderState"` + OrderState *int64 `json:"OrderState,omitnil" name:"OrderState"` // 拨测类型 //
  • 1 = 页面浏览
  • @@ -791,32 +791,32 @@ type DescribeProbeTasksRequestParams struct { //
  • 6 =流媒体
  • // // 即使拨测只支持页面浏览,网络质量,文件下载 - TaskType []*int64 `json:"TaskType,omitempty" name:"TaskType"` + TaskType []*int64 `json:"TaskType,omitnil" name:"TaskType"` // 节点类型 - TaskCategory []*int64 `json:"TaskCategory,omitempty" name:"TaskCategory"` + TaskCategory []*int64 `json:"TaskCategory,omitnil" name:"TaskCategory"` // 排序的列 - OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` + OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"` // 是否正序 - Ascend *bool `json:"Ascend,omitempty" name:"Ascend"` + Ascend *bool `json:"Ascend,omitnil" name:"Ascend"` // 资源标签值 - TagFilters []*KeyValuePair `json:"TagFilters,omitempty" name:"TagFilters"` + TagFilters []*KeyValuePair `json:"TagFilters,omitnil" name:"TagFilters"` } type DescribeProbeTasksRequest struct { *tchttp.BaseRequest // 任务 ID 列表 - TaskIDs []*string `json:"TaskIDs,omitempty" name:"TaskIDs"` + TaskIDs []*string `json:"TaskIDs,omitnil" name:"TaskIDs"` // 任务名 - TaskName *string `json:"TaskName,omitempty" name:"TaskName"` + TaskName *string `json:"TaskName,omitnil" name:"TaskName"` // 拨测目标 - TargetAddress *string `json:"TargetAddress,omitempty" name:"TargetAddress"` + TargetAddress *string `json:"TargetAddress,omitnil" name:"TargetAddress"` // 任务状态列表 //
  • 1 = 创建中
  • @@ -829,23 +829,23 @@ type DescribeProbeTasksRequest struct { //
  • 8 = 任务删除异常
  • //
  • 9 = 任务删除
  • //
  • 10 = 定时任务暂停中
  • - TaskStatus []*int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` + TaskStatus []*int64 `json:"TaskStatus,omitnil" name:"TaskStatus"` // 偏移量,默认为0 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 返回数量,默认为20,最大值为100 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 付费模式 //
  • 1 = 试用版本
  • //
  • 2 = 付费版本
  • - PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` + PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` // 订单状态 //
  • 1 = 正常
  • //
  • 2 = 欠费
  • - OrderState *int64 `json:"OrderState,omitempty" name:"OrderState"` + OrderState *int64 `json:"OrderState,omitnil" name:"OrderState"` // 拨测类型 //
  • 1 = 页面浏览
  • @@ -856,19 +856,19 @@ type DescribeProbeTasksRequest struct { //
  • 6 =流媒体
  • // // 即使拨测只支持页面浏览,网络质量,文件下载 - TaskType []*int64 `json:"TaskType,omitempty" name:"TaskType"` + TaskType []*int64 `json:"TaskType,omitnil" name:"TaskType"` // 节点类型 - TaskCategory []*int64 `json:"TaskCategory,omitempty" name:"TaskCategory"` + TaskCategory []*int64 `json:"TaskCategory,omitnil" name:"TaskCategory"` // 排序的列 - OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` + OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"` // 是否正序 - Ascend *bool `json:"Ascend,omitempty" name:"Ascend"` + Ascend *bool `json:"Ascend,omitnil" name:"Ascend"` // 资源标签值 - TagFilters []*KeyValuePair `json:"TagFilters,omitempty" name:"TagFilters"` + TagFilters []*KeyValuePair `json:"TagFilters,omitnil" name:"TagFilters"` } func (r *DescribeProbeTasksRequest) ToJsonString() string { @@ -906,13 +906,13 @@ func (r *DescribeProbeTasksRequest) FromJsonString(s string) error { type DescribeProbeTasksResponseParams struct { // 任务列表 // 注意:此字段可能返回 null,表示取不到有效值。 - TaskSet []*ProbeTask `json:"TaskSet,omitempty" name:"TaskSet"` + TaskSet []*ProbeTask `json:"TaskSet,omitnil" name:"TaskSet"` // 任务总数 - Total *int64 `json:"Total,omitempty" name:"Total"` + Total *int64 `json:"Total,omitnil" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type DescribeProbeTasksResponse struct { @@ -933,140 +933,140 @@ func (r *DescribeProbeTasksResponse) FromJsonString(s string) error { type DetailedSingleDataDefine struct { // 拨测时间戳 - ProbeTime *uint64 `json:"ProbeTime,omitempty" name:"ProbeTime"` + ProbeTime *uint64 `json:"ProbeTime,omitnil" name:"ProbeTime"` // 储存所有string类型字段 - Labels []*Label `json:"Labels,omitempty" name:"Labels"` + Labels []*Label `json:"Labels,omitnil" name:"Labels"` // 储存所有float类型字段 - Fields []*Field `json:"Fields,omitempty" name:"Fields"` + Fields []*Field `json:"Fields,omitnil" name:"Fields"` } type Field struct { // 自定义字段编号 - ID *uint64 `json:"ID,omitempty" name:"ID"` + ID *uint64 `json:"ID,omitnil" name:"ID"` // 自定义字段名称/说明 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` // 字段值 - Value *float64 `json:"Value,omitempty" name:"Value"` + Value *float64 `json:"Value,omitnil" name:"Value"` } type KeyValuePair struct { // 健 - Key *string `json:"Key,omitempty" name:"Key"` + Key *string `json:"Key,omitnil" name:"Key"` // 值 - Value *string `json:"Value,omitempty" name:"Value"` + Value *string `json:"Value,omitnil" name:"Value"` } type Label struct { // 自定义字段编号 - ID *uint64 `json:"ID,omitempty" name:"ID"` + ID *uint64 `json:"ID,omitnil" name:"ID"` // 自定义字段名称/说明 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` // 字段值 - Value *string `json:"Value,omitempty" name:"Value"` + Value *string `json:"Value,omitnil" name:"Value"` } type NodeDefine struct { // 节点名称 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` // 节点代码 - Code *string `json:"Code,omitempty" name:"Code"` + Code *string `json:"Code,omitnil" name:"Code"` // 节点类型 //
  • 1 = IDC
  • //
  • 2 = LastMile
  • //
  • 3 = Mobile
  • - Type *int64 `json:"Type,omitempty" name:"Type"` + Type *int64 `json:"Type,omitnil" name:"Type"` // 网络服务商 - NetService *string `json:"NetService,omitempty" name:"NetService"` + NetService *string `json:"NetService,omitnil" name:"NetService"` // 区域 - District *string `json:"District,omitempty" name:"District"` + District *string `json:"District,omitnil" name:"District"` // 城市 - City *string `json:"City,omitempty" name:"City"` + City *string `json:"City,omitnil" name:"City"` // IP 类型 //
  • 1 = IPv4
  • //
  • 2 = IPv6
  • // 注意:此字段可能返回 null,表示取不到有效值。 - IPType *int64 `json:"IPType,omitempty" name:"IPType"` + IPType *int64 `json:"IPType,omitnil" name:"IPType"` // 区域 //
  • 1 = 中国大陆
  • //
  • 2 = 港澳台
  • //
  • 3 = 国外
  • // 注意:此字段可能返回 null,表示取不到有效值。 - Location *int64 `json:"Location,omitempty" name:"Location"` + Location *int64 `json:"Location,omitnil" name:"Location"` // 节点类型 如果为base 则为可用性拨测点,为空则为高级拨测点 // 注意:此字段可能返回 null,表示取不到有效值。 - CodeType *string `json:"CodeType,omitempty" name:"CodeType"` + CodeType *string `json:"CodeType,omitnil" name:"CodeType"` // 节点状态:1-运行,2-下线 // 注意:此字段可能返回 null,表示取不到有效值。 - NodeDefineStatus *uint64 `json:"NodeDefineStatus,omitempty" name:"NodeDefineStatus"` + NodeDefineStatus *uint64 `json:"NodeDefineStatus,omitnil" name:"NodeDefineStatus"` } type NodeDefineExt struct { // 节点名称 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` // 节点代码 - Code *string `json:"Code,omitempty" name:"Code"` + Code *string `json:"Code,omitnil" name:"Code"` // 节点类型 //
  • 1 = IDC
  • //
  • 2 = LastMile
  • //
  • 3 = Mobile
  • - Type *int64 `json:"Type,omitempty" name:"Type"` + Type *int64 `json:"Type,omitnil" name:"Type"` // 网络服务商 - NetService *string `json:"NetService,omitempty" name:"NetService"` + NetService *string `json:"NetService,omitnil" name:"NetService"` // 区域 - District *string `json:"District,omitempty" name:"District"` + District *string `json:"District,omitnil" name:"District"` // 城市 - City *string `json:"City,omitempty" name:"City"` + City *string `json:"City,omitnil" name:"City"` // IP 类型 //
  • 1 = IPv4
  • //
  • 2 = IPv6
  • // 注意:此字段可能返回 null,表示取不到有效值。 - IPType *int64 `json:"IPType,omitempty" name:"IPType"` + IPType *int64 `json:"IPType,omitnil" name:"IPType"` // 区域 //
  • 1 = 中国大陆
  • //
  • 2 = 港澳台
  • //
  • 3 = 境外
  • // 注意:此字段可能返回 null,表示取不到有效值。 - Location *int64 `json:"Location,omitempty" name:"Location"` + Location *int64 `json:"Location,omitnil" name:"Location"` // 节点类型 如果为base 则为可用性拨测点,为空则为高级拨测点 // 注意:此字段可能返回 null,表示取不到有效值。 - CodeType *string `json:"CodeType,omitempty" name:"CodeType"` + CodeType *string `json:"CodeType,omitnil" name:"CodeType"` // 节点支持的任务类型。1: 页面性能 2: 文件上传 3: 文件下载 4: 端口性能 5: 网络质量 6: 音视频体验 // 注意:此字段可能返回 null,表示取不到有效值。 - TaskTypes []*int64 `json:"TaskTypes,omitempty" name:"TaskTypes"` + TaskTypes []*int64 `json:"TaskTypes,omitnil" name:"TaskTypes"` } type ProbeTask struct { // 任务名 // 注意:此字段可能返回 null,表示取不到有效值。 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` // 任务 ID - TaskId *string `json:"TaskId,omitempty" name:"TaskId"` + TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 拨测类型 //
  • 1 = 页面浏览
  • @@ -1077,16 +1077,16 @@ type ProbeTask struct { //
  • 6 =流媒体
  • // // 即时拨测只支持页面浏览,网络质量,文件下载 - TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"` + TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"` // 拨测节点列表 - Nodes []*string `json:"Nodes,omitempty" name:"Nodes"` + Nodes []*string `json:"Nodes,omitnil" name:"Nodes"` // 拨测间隔 - Interval *int64 `json:"Interval,omitempty" name:"Interval"` + Interval *int64 `json:"Interval,omitnil" name:"Interval"` // 拨测参数 - Parameters *string `json:"Parameters,omitempty" name:"Parameters"` + Parameters *string `json:"Parameters,omitnil" name:"Parameters"` // 任务状态 //
  • 1 = 创建中
  • @@ -1099,63 +1099,63 @@ type ProbeTask struct { //
  • 8 = 任务删除异常
  • //
  • 9 = 任务删除
  • //
  • 10 = 定时任务暂停中
  • - Status *int64 `json:"Status,omitempty" name:"Status"` + Status *int64 `json:"Status,omitnil" name:"Status"` // 目标地址 - TargetAddress *string `json:"TargetAddress,omitempty" name:"TargetAddress"` + TargetAddress *string `json:"TargetAddress,omitnil" name:"TargetAddress"` // 付费模式 //
  • 1 = 试用版本
  • //
  • 2 = 付费版本
  • - PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` + PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` // 订单状态 //
  • 1 = 正常
  • //
  • 2 = 欠费
  • - OrderState *int64 `json:"OrderState,omitempty" name:"OrderState"` + OrderState *int64 `json:"OrderState,omitnil" name:"OrderState"` // 任务分类 //
  • 1 = PC
  • //
  • 2 = Mobile
  • - TaskCategory *int64 `json:"TaskCategory,omitempty" name:"TaskCategory"` + TaskCategory *int64 `json:"TaskCategory,omitnil" name:"TaskCategory"` // 创建时间 - CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` + CreatedAt *string `json:"CreatedAt,omitnil" name:"CreatedAt"` // 定时任务cron表达式 // 注意:此字段可能返回 null,表示取不到有效值。 - Cron *string `json:"Cron,omitempty" name:"Cron"` + Cron *string `json:"Cron,omitnil" name:"Cron"` // 定时任务启动状态 //
  • 1 = 定时任务表达式生效
  • //
  • 2 = 定时任务表达式未生效(一般为任务手动暂停)
  • // 注意:此字段可能返回 null,表示取不到有效值。 - CronState *int64 `json:"CronState,omitempty" name:"CronState"` + CronState *int64 `json:"CronState,omitnil" name:"CronState"` // 任务当前绑定的标签 // 注意:此字段可能返回 null,表示取不到有效值。 - TagInfoList []*KeyValuePair `json:"TagInfoList,omitempty" name:"TagInfoList"` + TagInfoList []*KeyValuePair `json:"TagInfoList,omitnil" name:"TagInfoList"` } type ProbeTaskBasicConfiguration struct { // 拨测任务名称 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` // 拨测目标地址 - TargetAddress *string `json:"TargetAddress,omitempty" name:"TargetAddress"` + TargetAddress *string `json:"TargetAddress,omitnil" name:"TargetAddress"` } // Predefined struct for user type ResumeProbeTaskRequestParams struct { // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` } type ResumeProbeTaskRequest struct { *tchttp.BaseRequest // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` } func (r *ResumeProbeTaskRequest) ToJsonString() string { @@ -1180,18 +1180,18 @@ func (r *ResumeProbeTaskRequest) FromJsonString(s string) error { // Predefined struct for user type ResumeProbeTaskResponseParams struct { // 任务总量 - Total *int64 `json:"Total,omitempty" name:"Total"` + Total *int64 `json:"Total,omitnil" name:"Total"` // 任务成功量 // 注意:此字段可能返回 null,表示取不到有效值。 - SuccessCount *int64 `json:"SuccessCount,omitempty" name:"SuccessCount"` + SuccessCount *int64 `json:"SuccessCount,omitnil" name:"SuccessCount"` // 任务执行详情 // 注意:此字段可能返回 null,表示取不到有效值。 - Results []*TaskResult `json:"Results,omitempty" name:"Results"` + Results []*TaskResult `json:"Results,omitnil" name:"Results"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type ResumeProbeTaskResponse struct { @@ -1213,14 +1213,14 @@ func (r *ResumeProbeTaskResponse) FromJsonString(s string) error { // Predefined struct for user type SuspendProbeTaskRequestParams struct { // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` } type SuspendProbeTaskRequest struct { *tchttp.BaseRequest // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` } func (r *SuspendProbeTaskRequest) ToJsonString() string { @@ -1245,18 +1245,18 @@ func (r *SuspendProbeTaskRequest) FromJsonString(s string) error { // Predefined struct for user type SuspendProbeTaskResponseParams struct { // 任务总量 - Total *int64 `json:"Total,omitempty" name:"Total"` + Total *int64 `json:"Total,omitnil" name:"Total"` // 任务成功量 // 注意:此字段可能返回 null,表示取不到有效值。 - SuccessCount *int64 `json:"SuccessCount,omitempty" name:"SuccessCount"` + SuccessCount *int64 `json:"SuccessCount,omitnil" name:"SuccessCount"` // 任务执行结果 // 注意:此字段可能返回 null,表示取不到有效值。 - Results []*TaskResult `json:"Results,omitempty" name:"Results"` + Results []*TaskResult `json:"Results,omitnil" name:"Results"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type SuspendProbeTaskResponse struct { @@ -1277,42 +1277,42 @@ func (r *SuspendProbeTaskResponse) FromJsonString(s string) error { type Tag struct { // key - TagKey *string `json:"TagKey,omitempty" name:"TagKey"` + TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // value - TagValue *string `json:"TagValue,omitempty" name:"TagValue"` + TagValue *string `json:"TagValue,omitnil" name:"TagValue"` } type TaskResult struct { // 任务 ID - TaskId *string `json:"TaskId,omitempty" name:"TaskId"` + TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 是否成功 // 注意:此字段可能返回 null,表示取不到有效值。 - Success *bool `json:"Success,omitempty" name:"Success"` + Success *bool `json:"Success,omitnil" name:"Success"` // 错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 - ErrorMessage *string `json:"ErrorMessage,omitempty" name:"ErrorMessage"` + ErrorMessage *string `json:"ErrorMessage,omitnil" name:"ErrorMessage"` } // Predefined struct for user type UpdateProbeTaskAttributesRequestParams struct { // 任务 ID - TaskId *string `json:"TaskId,omitempty" name:"TaskId"` + TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 任务名 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` } type UpdateProbeTaskAttributesRequest struct { *tchttp.BaseRequest // 任务 ID - TaskId *string `json:"TaskId,omitempty" name:"TaskId"` + TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 任务名 - Name *string `json:"Name,omitempty" name:"Name"` + Name *string `json:"Name,omitnil" name:"Name"` } func (r *UpdateProbeTaskAttributesRequest) ToJsonString() string { @@ -1338,7 +1338,7 @@ func (r *UpdateProbeTaskAttributesRequest) FromJsonString(s string) error { // Predefined struct for user type UpdateProbeTaskAttributesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type UpdateProbeTaskAttributesResponse struct { @@ -1360,46 +1360,46 @@ func (r *UpdateProbeTaskAttributesResponse) FromJsonString(s string) error { // Predefined struct for user type UpdateProbeTaskConfigurationListRequestParams struct { // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` // 拨测节点 - Nodes []*string `json:"Nodes,omitempty" name:"Nodes"` + Nodes []*string `json:"Nodes,omitnil" name:"Nodes"` // 拨测间隔 - Interval *int64 `json:"Interval,omitempty" name:"Interval"` + Interval *int64 `json:"Interval,omitnil" name:"Interval"` // 拨测参数 - Parameters *string `json:"Parameters,omitempty" name:"Parameters"` + Parameters *string `json:"Parameters,omitnil" name:"Parameters"` // 定时任务cron表达式 - Cron *string `json:"Cron,omitempty" name:"Cron"` + Cron *string `json:"Cron,omitnil" name:"Cron"` // 预付费套餐id // 需要与taskId对应 - ResourceIDs []*string `json:"ResourceIDs,omitempty" name:"ResourceIDs"` + ResourceIDs []*string `json:"ResourceIDs,omitnil" name:"ResourceIDs"` } type UpdateProbeTaskConfigurationListRequest struct { *tchttp.BaseRequest // 任务 ID - TaskIds []*string `json:"TaskIds,omitempty" name:"TaskIds"` + TaskIds []*string `json:"TaskIds,omitnil" name:"TaskIds"` // 拨测节点 - Nodes []*string `json:"Nodes,omitempty" name:"Nodes"` + Nodes []*string `json:"Nodes,omitnil" name:"Nodes"` // 拨测间隔 - Interval *int64 `json:"Interval,omitempty" name:"Interval"` + Interval *int64 `json:"Interval,omitnil" name:"Interval"` // 拨测参数 - Parameters *string `json:"Parameters,omitempty" name:"Parameters"` + Parameters *string `json:"Parameters,omitnil" name:"Parameters"` // 定时任务cron表达式 - Cron *string `json:"Cron,omitempty" name:"Cron"` + Cron *string `json:"Cron,omitnil" name:"Cron"` // 预付费套餐id // 需要与taskId对应 - ResourceIDs []*string `json:"ResourceIDs,omitempty" name:"ResourceIDs"` + ResourceIDs []*string `json:"ResourceIDs,omitnil" name:"ResourceIDs"` } func (r *UpdateProbeTaskConfigurationListRequest) ToJsonString() string { @@ -1429,7 +1429,7 @@ func (r *UpdateProbeTaskConfigurationListRequest) FromJsonString(s string) error // Predefined struct for user type UpdateProbeTaskConfigurationListResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + RequestId *string `json:"RequestId,omitnil" name:"RequestId"` } type UpdateProbeTaskConfigurationListResponse struct { diff --git a/vendor/modules.txt b/vendor/modules.txt index 6b023a9708..b8405091f2 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1058,7 +1058,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419 # github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam/v20190116 -# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733 +# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409 # github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 From 587271d1dc5a243477428cb84d330be834c65da9 Mon Sep 17 00:00:00 2001 From: arunma Date: Fri, 22 Sep 2023 14:57:47 +0800 Subject: [PATCH 05/20] fix: modify sdk --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index 8f2fb490c2..0727611d05 100644 --- a/go.sum +++ b/go.sum @@ -786,8 +786,6 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 h1:ToZpNh7 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409/go.mod h1:U24yUxCDruJLayOsP/onO2E/7+9ljeNsNO+phu+PeiM= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520 h1:n4FN0PI+1MVWi+RGQbD/cElXjquZQK0K1h1Z1nNWNWw= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520/go.mod h1:gzI+2Qd/iUfPPQQjW30k0G3mJ3m7tXeXrydJMm8jsOo= -github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733 h1:EuHBdrlwixwtjcWQGNILMRxKZ4+Hu0PwvAUqeAd29o4= -github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.733/go.mod h1:XMBnnStqx3gP5GSBT+RqDTq1O6ru/hUCXK+CgONiYIM= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 h1:IOMF1BP2PHNsnK75n1SkuSOs6DnLdsiFXx+mQ7/erGk= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754/go.mod h1:9626UV/oSa4/5BcHVd7l/uADLipKIl6YuJxqCC7T3wY= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 h1:TPGLjH6wqkA5Iirl6xCxFkWwrtCZ8ZmeF7ASzqUbsZA= From 0fbb523d736cd3fad2063a7e210b583419226132 Mon Sep 17 00:00:00 2001 From: arunma Date: Fri, 22 Sep 2023 16:27:25 +0800 Subject: [PATCH 06/20] fix: modify test --- .../data_source_tc_cat_metric_data.go | 21 ++++-- .../data_source_tc_cat_metric_data_test.go | 65 ++++++++++++++++--- 2 files changed, 71 insertions(+), 15 deletions(-) diff --git a/tencentcloud/data_source_tc_cat_metric_data.go b/tencentcloud/data_source_tc_cat_metric_data.go index 5a9f9716a0..498416e41d 100644 --- a/tencentcloud/data_source_tc_cat_metric_data.go +++ b/tencentcloud/data_source_tc_cat_metric_data.go @@ -3,12 +3,13 @@ Use this data source to query detailed information of cat metric_data Example Usage ```hcl data "tencentcloud_cat_metric_data" "metric_data" { - analyze_task_type = "" - metric_type = "" - field = "" - filter = "" - group_by = "" - filters = + analyze_task_type = "AnalyzeTaskType_Network" + metric_type = "gauge" + field = "avg(\"ping_time\")" + filters = [ + "\"host\" = 'www.qq.com'", + "time >= now()-1h", + ] } ``` */ @@ -20,6 +21,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" cat "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409" + sdkErrors "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors" "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper" ) @@ -58,7 +60,7 @@ func dataSourceTencentCloudCatMetricData() *schema.Resource { }, "filters": { - Optional: true, + Required: true, Type: schema.TypeSet, Elem: &schema.Schema{ Type: schema.TypeString, @@ -121,6 +123,11 @@ func dataSourceTencentCloudCatMetricDataRead(d *schema.ResourceData, meta interf err := resource.Retry(readRetryTimeout, func() *resource.RetryError { result, e := service.DescribeCatMetricDataByFilter(ctx, paramMap) if e != nil { + if sdkError, ok := e.(*sdkErrors.TencentCloudSDKError); ok { + if sdkError.Code == "FailedOperation.DbQueryFailed" { + return resource.NonRetryableError(e) + } + } return retryError(e) } metric = result diff --git a/tencentcloud/data_source_tc_cat_metric_data_test.go b/tencentcloud/data_source_tc_cat_metric_data_test.go index c22ed16985..6a63cb6e22 100644 --- a/tencentcloud/data_source_tc_cat_metric_data_test.go +++ b/tencentcloud/data_source_tc_cat_metric_data_test.go @@ -6,6 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" ) +// go test -test.run TestAccTencentCloudCatMetricDataDataSource_basic -v func TestAccTencentCloudCatMetricDataDataSource_basic(t *testing.T) { t.Parallel() resource.Test(t, resource.TestCase{ @@ -16,19 +17,67 @@ func TestAccTencentCloudCatMetricDataDataSource_basic(t *testing.T) { Steps: []resource.TestStep{ { Config: testAccCatMetricDataDataSource, - Check: resource.ComposeTestCheckFunc(testAccCheckTencentCloudDataSourceID("data.tencentcloud_cat_metric_data.metric_data")), + Check: resource.ComposeTestCheckFunc( + testAccCheckTencentCloudDataSourceID("data.tencentcloud_cat_metric_data.metric_data"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_metric_data.metric_data", "metric_set"), + ), }, }, }) } const testAccCatMetricDataDataSource = ` -data "tencentcloud_cat_metric_data" "metric_data" { - analyze_task_type = "" - metric_type = "" - field = "" - filter = "" - group_by = "" - filters = +resource "tencentcloud_cat_task_set" "task_set" { + interval = 1 + nodes = [ + "12136", + "12137", + ] + parameters = jsonencode( + { + blackList = "" + filterIp = 0 + grabBag = 0 + ipType = 0 + netDigOn = 1 + netDnsNs = "" + netDnsOn = 1 + netDnsQuerymethod = 1 + netDnsServer = 2 + netDnsTimeout = 5 + netIcmpActivex = 0 + netIcmpActivexStr = "" + netIcmpDataCut = 1 + netIcmpInterval = 0.5 + netIcmpNum = 20 + netIcmpOn = 1 + netIcmpSize = 32 + netIcmpTimeout = 20 + netTracertNum = 30 + netTracertOn = 1 + netTracertTimeout = 60 + whiteList = "" + } + ) + tags = {} + task_category = 1 + task_type = 5 + + batch_tasks { + name = "terraform-test" + target_address = "www.baidu.com" } +} + +data "tencentcloud_cat_metric_data" "metric_data" { + analyze_task_type = "AnalyzeTaskType_Network" + metric_type = "gauge" + field = "avg(\"ping_time\")" + filters = [ + "\"host\" = 'www.baidu.com'", + "time >= now()-1h", + ] + depends_on = [ tencentcloud_cat_task_set.task_set ] +} + ` From f6b42b04cf1c4056a9e2333af4494c1fc26409ad Mon Sep 17 00:00:00 2001 From: arunma Date: Fri, 22 Sep 2023 17:59:01 +0800 Subject: [PATCH 07/20] fix: modify test --- .../data_source_tc_cat_metric_data.go | 20 +- .../data_source_tc_cat_metric_data_test.go | 2 +- tencentcloud/data_source_tc_cat_node.go | 54 +- tencentcloud/data_source_tc_cat_node_test.go | 17 +- tencentcloud/provider.go | 2750 +++++++++-------- tencentcloud/resource_tc_cat_task_set.go | 83 +- tencentcloud/service_tencentcloud_cat.go | 53 + 7 files changed, 1578 insertions(+), 1401 deletions(-) diff --git a/tencentcloud/data_source_tc_cat_metric_data.go b/tencentcloud/data_source_tc_cat_metric_data.go index 498416e41d..edccefc79b 100644 --- a/tencentcloud/data_source_tc_cat_metric_data.go +++ b/tencentcloud/data_source_tc_cat_metric_data.go @@ -2,15 +2,17 @@ Use this data source to query detailed information of cat metric_data Example Usage ```hcl -data "tencentcloud_cat_metric_data" "metric_data" { - analyze_task_type = "AnalyzeTaskType_Network" - metric_type = "gauge" - field = "avg(\"ping_time\")" - filters = [ - "\"host\" = 'www.qq.com'", - "time >= now()-1h", - ] -} + + data "tencentcloud_cat_metric_data" "metric_data" { + analyze_task_type = "AnalyzeTaskType_Network" + metric_type = "gauge" + field = "avg(\"ping_time\")" + filters = [ + "\"host\" = 'www.qq.com'", + "time >= now()-1h", + ] + } + ``` */ package tencentcloud diff --git a/tencentcloud/data_source_tc_cat_metric_data_test.go b/tencentcloud/data_source_tc_cat_metric_data_test.go index 6a63cb6e22..a2827dc8ad 100644 --- a/tencentcloud/data_source_tc_cat_metric_data_test.go +++ b/tencentcloud/data_source_tc_cat_metric_data_test.go @@ -17,7 +17,7 @@ func TestAccTencentCloudCatMetricDataDataSource_basic(t *testing.T) { Steps: []resource.TestStep{ { Config: testAccCatMetricDataDataSource, - Check: resource.ComposeTestCheckFunc( + Check: resource.ComposeTestCheckFunc( testAccCheckTencentCloudDataSourceID("data.tencentcloud_cat_metric_data.metric_data"), resource.TestCheckResourceAttrSet("data.tencentcloud_cat_metric_data.metric_data", "metric_set"), ), diff --git a/tencentcloud/data_source_tc_cat_node.go b/tencentcloud/data_source_tc_cat_node.go index 727c7ef048..97d93b6ada 100644 --- a/tencentcloud/data_source_tc_cat_node.go +++ b/tencentcloud/data_source_tc_cat_node.go @@ -1,14 +1,16 @@ /* Use this data source to query detailed information of cat node -Example Usage +# Example Usage ```hcl -data "tencentcloud_cat_node" "node"{ - node_type = 1 - location = 2 - is_ipv6 = false -} + + data "tencentcloud_cat_node" "node"{ + node_type = 1 + location = 2 + is_ipv6 = false + } + ``` */ package tencentcloud @@ -114,7 +116,8 @@ func dataSourceTencentCloudCatNode() *schema.Resource { Description: "Node status: 1=running, 2=offline.", }, "task_types": { - Type: schema.TypeInt, + Type: schema.TypeList, + Elem: &schema.Schema{Type: schema.TypeInt}, Computed: true, Description: "The task types supported by the node. `1`: page performance, `2`: file upload, `3`: file download, `4`: port performance, `5`: network quality, `6`: audio and video experience.", }, @@ -161,9 +164,9 @@ func dataSourceTencentCloudCatNodeRead(d *schema.ResourceData, meta interface{}) catService := CatService{client: meta.(*TencentCloudClient).apiV3Conn} - var nodeSets []*cat.NodeDefineExt + var nodeSets []*cat.NodeDefine err := resource.Retry(readRetryTimeout, func() *resource.RetryError { - results, e := catService.DescribeCatNodeByFilter(ctx, paramMap) + results, e := catService.DescribeCatProbeNodeByFilter(ctx, paramMap) if e != nil { return retryError(e) } @@ -175,6 +178,20 @@ func dataSourceTencentCloudCatNodeRead(d *schema.ResourceData, meta interface{}) return err } + var nodeSetExt []*cat.NodeDefineExt + err = resource.Retry(readRetryTimeout, func() *resource.RetryError { + results, e := catService.DescribeCatNodeByFilter(ctx, paramMap) + if e != nil { + return retryError(e) + } + nodeSetExt = results + return nil + }) + if err != nil { + log.Printf("[CRITAL]%s read Cat nodeSet failed, reason:%+v", logId, err) + return err + } + ids := make([]string, 0, len(nodeSets)) nodeSetList := make([]map[string]interface{}, 0, len(nodeSets)) if nodeSets != nil { @@ -207,12 +224,21 @@ func dataSourceTencentCloudCatNodeRead(d *schema.ResourceData, meta interface{}) if nodeSet.CodeType != nil { nodeSetMap["code_type"] = nodeSet.CodeType } - // if nodeSet.NodeDefineStatus != nil { - // nodeSetMap["node_define_status"] = nodeSet.NodeDefineStatus - // } - if nodeSet.TaskTypes != nil { - nodeSetMap["task_types"] = nodeSet.TaskTypes + if nodeSet.NodeDefineStatus != nil { + nodeSetMap["node_define_status"] = nodeSet.NodeDefineStatus } + + if nodeSetExt != nil { + for _, node := range nodeSetExt { + if *node.Code == *nodeSet.Code { + if node.TaskTypes != nil { + nodeSetMap["task_types"] = node.TaskTypes + } + break + } + } + } + ids = append(ids, *nodeSet.Name) nodeSetList = append(nodeSetList, nodeSetMap) } diff --git a/tencentcloud/data_source_tc_cat_node_test.go b/tencentcloud/data_source_tc_cat_node_test.go index cff43f99cb..799a97e961 100644 --- a/tencentcloud/data_source_tc_cat_node_test.go +++ b/tencentcloud/data_source_tc_cat_node_test.go @@ -6,6 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" ) +// go test -test.run TestAccTencentCloudCatNodeDataSource -v func TestAccTencentCloudCatNodeDataSource(t *testing.T) { t.Parallel() @@ -17,6 +18,18 @@ func TestAccTencentCloudCatNodeDataSource(t *testing.T) { Config: testAccDataSourceCatNode, Check: resource.ComposeTestCheckFunc( testAccCheckTencentCloudDataSourceID("data.tencentcloud_cat_node.node"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.#"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.city"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.code"), + // resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.code_type"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.district"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.ip_type"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.location"), + // resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.name"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.net_service"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.node_define_status"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.task_types.#"), + resource.TestCheckResourceAttrSet("data.tencentcloud_cat_node.node", "node_define.0.type"), ), }, }, @@ -27,8 +40,8 @@ const testAccDataSourceCatNode = ` data "tencentcloud_cat_node" "node"{ node_type = 1 - location = 2 - is_ipv6 = false + location = 2 + is_ipv6 = false } ` diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index 4bc657bc23..d343a4416c 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -6,1175 +6,1232 @@ Use the navigation on the left to read about the available resources. -> **Note:** From version 1.9.0 (June 18, 2019), the provider start to support Terraform 0.12.x. -Example Usage +# Example Usage ```hcl -terraform { - required_providers { - tencentcloud = { - source = "tencentcloudstack/tencentcloud" - } - } -} + + terraform { + required_providers { + tencentcloud = { + source = "tencentcloudstack/tencentcloud" + } + } + } # Configure the TencentCloud Provider -provider "tencentcloud" { - secret_id = var.secret_id - secret_key = var.secret_key - region = var.region -} + + provider "tencentcloud" { + secret_id = var.secret_id + secret_key = var.secret_key + region = var.region + } #Configure the TencentCloud Provider with STS -provider "tencentcloud" { - secret_id = var.secret_id - secret_key = var.secret_key - region = var.region - assume_role { - role_arn = var.assume_role_arn - session_name = var.session_name - session_duration = var.session_duration - policy = var.policy - } -} + + provider "tencentcloud" { + secret_id = var.secret_id + secret_key = var.secret_key + region = var.region + assume_role { + role_arn = var.assume_role_arn + session_name = var.session_name + session_duration = var.session_duration + policy = var.policy + } + } + ``` -Resources List +# Resources List Provider Data Sources - tencentcloud_availability_regions - tencentcloud_availability_zones_by_product - tencentcloud_availability_zones + + tencentcloud_availability_regions + tencentcloud_availability_zones_by_product + tencentcloud_availability_zones Project - Data Source - tencentcloud_projects - Resource - tencentcloud_project + Data Source + tencentcloud_projects + + Resource + tencentcloud_project Anti-DDoS(DayuV2) - Data Source - tencentcloud_dayu_eip - tencentcloud_dayu_l4_rules_v2 - tencentcloud_dayu_l7_rules_v2 - Resource - tencentcloud_dayu_eip - tencentcloud_dayu_l4_rule - tencentcloud_dayu_l7_rule_v2 - tencentcloud_dayu_ddos_policy_v2 - tencentcloud_dayu_cc_policy_v2 - tencentcloud_dayu_ddos_ip_attachment_v2 + Data Source + tencentcloud_dayu_eip + tencentcloud_dayu_l4_rules_v2 + tencentcloud_dayu_l7_rules_v2 + + Resource + tencentcloud_dayu_eip + tencentcloud_dayu_l4_rule + tencentcloud_dayu_l7_rule_v2 + tencentcloud_dayu_ddos_policy_v2 + tencentcloud_dayu_cc_policy_v2 + tencentcloud_dayu_ddos_ip_attachment_v2 Anti-DDoS(Dayu) - Data Source - tencentcloud_dayu_cc_http_policies - tencentcloud_dayu_cc_https_policies - tencentcloud_dayu_ddos_policies - tencentcloud_dayu_ddos_policy_attachments - tencentcloud_dayu_ddos_policy_cases - tencentcloud_dayu_l4_rules - tencentcloud_dayu_l7_rules - Resource - tencentcloud_dayu_cc_http_policy - tencentcloud_dayu_cc_https_policy - tencentcloud_dayu_ddos_policy - tencentcloud_dayu_ddos_policy_attachment - tencentcloud_dayu_ddos_policy_case - tencentcloud_dayu_l4_rule - tencentcloud_dayu_l7_rule + Data Source + tencentcloud_dayu_cc_http_policies + tencentcloud_dayu_cc_https_policies + tencentcloud_dayu_ddos_policies + tencentcloud_dayu_ddos_policy_attachments + tencentcloud_dayu_ddos_policy_cases + tencentcloud_dayu_l4_rules + tencentcloud_dayu_l7_rules + + Resource + tencentcloud_dayu_cc_http_policy + tencentcloud_dayu_cc_https_policy + tencentcloud_dayu_ddos_policy + tencentcloud_dayu_ddos_policy_attachment + tencentcloud_dayu_ddos_policy_case + tencentcloud_dayu_l4_rule + tencentcloud_dayu_l7_rule API GateWay - Data Source - tencentcloud_api_gateway_apis - tencentcloud_api_gateway_services - tencentcloud_api_gateway_throttling_services - tencentcloud_api_gateway_throttling_apis - tencentcloud_api_gateway_usage_plans - tencentcloud_api_gateway_ip_strategies - tencentcloud_api_gateway_customer_domains - tencentcloud_api_gateway_usage_plan_environments - tencentcloud_api_gateway_api_keys - tencentcloud_api_gateway_api_docs - tencentcloud_api_gateway_api_apps - tencentcloud_api_gateway_plugins - tencentcloud_api_gateway_upstreams - tencentcloud_api_gateway_api_usage_plans - tencentcloud_api_gateway_api_app_service - Resource - tencentcloud_api_gateway_api - tencentcloud_api_gateway_service - tencentcloud_api_gateway_custom_domain - tencentcloud_api_gateway_usage_plan - tencentcloud_api_gateway_usage_plan_attachment - tencentcloud_api_gateway_ip_strategy - tencentcloud_api_gateway_strategy_attachment - tencentcloud_api_gateway_api_key - tencentcloud_api_gateway_api_key_attachment - tencentcloud_api_gateway_service_release - tencentcloud_api_gateway_plugin - tencentcloud_api_gateway_plugin_attachment - tencentcloud_api_gateway_api_doc - tencentcloud_api_gateway_api_app - tencentcloud_api_gateway_upstream - tencentcloud_api_gateway_api_app_attachment + Data Source + tencentcloud_api_gateway_apis + tencentcloud_api_gateway_services + tencentcloud_api_gateway_throttling_services + tencentcloud_api_gateway_throttling_apis + tencentcloud_api_gateway_usage_plans + tencentcloud_api_gateway_ip_strategies + tencentcloud_api_gateway_customer_domains + tencentcloud_api_gateway_usage_plan_environments + tencentcloud_api_gateway_api_keys + tencentcloud_api_gateway_api_docs + tencentcloud_api_gateway_api_apps + tencentcloud_api_gateway_plugins + tencentcloud_api_gateway_upstreams + tencentcloud_api_gateway_api_usage_plans + tencentcloud_api_gateway_api_app_service + + Resource + tencentcloud_api_gateway_api + tencentcloud_api_gateway_service + tencentcloud_api_gateway_custom_domain + tencentcloud_api_gateway_usage_plan + tencentcloud_api_gateway_usage_plan_attachment + tencentcloud_api_gateway_ip_strategy + tencentcloud_api_gateway_strategy_attachment + tencentcloud_api_gateway_api_key + tencentcloud_api_gateway_api_key_attachment + tencentcloud_api_gateway_service_release + tencentcloud_api_gateway_plugin + tencentcloud_api_gateway_plugin_attachment + tencentcloud_api_gateway_api_doc + tencentcloud_api_gateway_api_app + tencentcloud_api_gateway_upstream + tencentcloud_api_gateway_api_app_attachment Cloud Audit(Audit) - Data Source - tencentcloud_audit_cos_regions - tencentcloud_audit_key_alias - tencentcloud_audits - Resource - tencentcloud_audit - tencentcloud_audit_track + Data Source + tencentcloud_audit_cos_regions + tencentcloud_audit_key_alias + tencentcloud_audits + + Resource + tencentcloud_audit + tencentcloud_audit_track Auto Scaling(AS) - Data Source - tencentcloud_as_scaling_configs - tencentcloud_as_scaling_groups - tencentcloud_as_scaling_policies - tencentcloud_as_instances - tencentcloud_as_advices - tencentcloud_as_limits - tencentcloud_as_last_activity - Resource - tencentcloud_as_scaling_config - tencentcloud_as_scaling_group - tencentcloud_as_scaling_group_status - tencentcloud_as_attachment - tencentcloud_as_scaling_policy - tencentcloud_as_schedule - tencentcloud_as_lifecycle_hook - tencentcloud_as_notification - tencentcloud_as_remove_instances - tencentcloud_as_protect_instances - tencentcloud_as_start_instances - tencentcloud_as_stop_instances - tencentcloud_as_scale_in_instances - tencentcloud_as_scale_out_instances - tencentcloud_as_execute_scaling_policy - tencentcloud_as_complete_lifecycle + Data Source + tencentcloud_as_scaling_configs + tencentcloud_as_scaling_groups + tencentcloud_as_scaling_policies + tencentcloud_as_instances + tencentcloud_as_advices + tencentcloud_as_limits + tencentcloud_as_last_activity + + Resource + tencentcloud_as_scaling_config + tencentcloud_as_scaling_group + tencentcloud_as_scaling_group_status + tencentcloud_as_attachment + tencentcloud_as_scaling_policy + tencentcloud_as_schedule + tencentcloud_as_lifecycle_hook + tencentcloud_as_notification + tencentcloud_as_remove_instances + tencentcloud_as_protect_instances + tencentcloud_as_start_instances + tencentcloud_as_stop_instances + tencentcloud_as_scale_in_instances + tencentcloud_as_scale_out_instances + tencentcloud_as_execute_scaling_policy + tencentcloud_as_complete_lifecycle Content Delivery Network(CDN) - Data Source - tencentcloud_cdn_domains - tencentcloud_cdn_domain_verifier - Resource - tencentcloud_cdn_domain - tencentcloud_cdn_url_push - tencentcloud_cdn_url_purge + Data Source + tencentcloud_cdn_domains + tencentcloud_cdn_domain_verifier + + Resource + tencentcloud_cdn_domain + tencentcloud_cdn_url_push + tencentcloud_cdn_url_purge Cloud Kafka(ckafka) - Data Source - tencentcloud_ckafka_users - tencentcloud_ckafka_acls - tencentcloud_ckafka_topics - tencentcloud_ckafka_instances - tencentcloud_ckafka_connect_resource - tencentcloud_ckafka_region - tencentcloud_ckafka_datahub_topic - tencentcloud_ckafka_datahub_group_offsets - tencentcloud_ckafka_datahub_task - tencentcloud_ckafka_group - tencentcloud_ckafka_group_offsets - tencentcloud_ckafka_group_info - tencentcloud_ckafka_task_status - tencentcloud_ckafka_topic_flow_ranking - tencentcloud_ckafka_topic_produce_connection - tencentcloud_ckafka_topic_subscribe_group - tencentcloud_ckafka_topic_sync_replica - tencentcloud_ckafka_zone - Resource - tencentcloud_ckafka_instance - tencentcloud_ckafka_user - tencentcloud_ckafka_acl - tencentcloud_ckafka_topic - tencentcloud_ckafka_datahub_topic - tencentcloud_ckafka_connect_resource - tencentcloud_ckafka_renew_instance - tencentcloud_ckafka_acl_rule - tencentcloud_ckafka_consumer_group - tencentcloud_ckafka_consumer_group_modify_offset - tencentcloud_ckafka_datahub_task - tencentcloud_ckafka_route + Data Source + tencentcloud_ckafka_users + tencentcloud_ckafka_acls + tencentcloud_ckafka_topics + tencentcloud_ckafka_instances + tencentcloud_ckafka_connect_resource + tencentcloud_ckafka_region + tencentcloud_ckafka_datahub_topic + tencentcloud_ckafka_datahub_group_offsets + tencentcloud_ckafka_datahub_task + tencentcloud_ckafka_group + tencentcloud_ckafka_group_offsets + tencentcloud_ckafka_group_info + tencentcloud_ckafka_task_status + tencentcloud_ckafka_topic_flow_ranking + tencentcloud_ckafka_topic_produce_connection + tencentcloud_ckafka_topic_subscribe_group + tencentcloud_ckafka_topic_sync_replica + tencentcloud_ckafka_zone + + Resource + tencentcloud_ckafka_instance + tencentcloud_ckafka_user + tencentcloud_ckafka_acl + tencentcloud_ckafka_topic + tencentcloud_ckafka_datahub_topic + tencentcloud_ckafka_connect_resource + tencentcloud_ckafka_renew_instance + tencentcloud_ckafka_acl_rule + tencentcloud_ckafka_consumer_group + tencentcloud_ckafka_consumer_group_modify_offset + tencentcloud_ckafka_datahub_task + tencentcloud_ckafka_route Cloud Access Management(CAM) - Data Source - tencentcloud_cam_group_memberships - tencentcloud_cam_group_policy_attachments - tencentcloud_cam_groups - tencentcloud_cam_policies - tencentcloud_cam_role_policy_attachments - tencentcloud_cam_roles - tencentcloud_cam_saml_providers - tencentcloud_cam_user_policy_attachments - tencentcloud_cam_users - tencentcloud_user_info - Resource - tencentcloud_cam_role - tencentcloud_cam_role_by_name - tencentcloud_cam_role_policy_attachment - tencentcloud_cam_role_policy_attachment_by_name - tencentcloud_cam_policy - tencentcloud_cam_policy_by_name - tencentcloud_cam_user - tencentcloud_cam_user_policy_attachment - tencentcloud_cam_group - tencentcloud_cam_group_policy_attachment - tencentcloud_cam_group_membership - tencentcloud_cam_saml_provider - tencentcloud_cam_oidc_sso - tencentcloud_cam_role_sso - tencentcloud_cam_service_linked_role - tencentcloud_cam_mfa_flag - tencentcloud_cam_user_saml_config + Data Source + tencentcloud_cam_group_memberships + tencentcloud_cam_group_policy_attachments + tencentcloud_cam_groups + tencentcloud_cam_policies + tencentcloud_cam_role_policy_attachments + tencentcloud_cam_roles + tencentcloud_cam_saml_providers + tencentcloud_cam_user_policy_attachments + tencentcloud_cam_users + tencentcloud_user_info + + Resource + tencentcloud_cam_role + tencentcloud_cam_role_by_name + tencentcloud_cam_role_policy_attachment + tencentcloud_cam_role_policy_attachment_by_name + tencentcloud_cam_policy + tencentcloud_cam_policy_by_name + tencentcloud_cam_user + tencentcloud_cam_user_policy_attachment + tencentcloud_cam_group + tencentcloud_cam_group_policy_attachment + tencentcloud_cam_group_membership + tencentcloud_cam_saml_provider + tencentcloud_cam_oidc_sso + tencentcloud_cam_role_sso + tencentcloud_cam_service_linked_role + tencentcloud_cam_mfa_flag + tencentcloud_cam_user_saml_config Customer Identity and Access Management(CIAM) - Resource - tencentcloud_ciam_user_store - tencentcloud_ciam_user_group + + Resource + tencentcloud_ciam_user_store + tencentcloud_ciam_user_group Cloud Block Storage(CBS) - Data Source - tencentcloud_cbs_snapshots - tencentcloud_cbs_storages - tencentcloud_cbs_storages_set - tencentcloud_cbs_snapshot_policies - Resource - tencentcloud_cbs_storage - tencentcloud_cbs_storage_set - tencentcloud_cbs_storage_attachment - tencentcloud_cbs_storage_set_attachment - tencentcloud_cbs_snapshot - tencentcloud_cbs_snapshot_policy - tencentcloud_cbs_snapshot_policy_attachment - tencentcloud_cbs_snapshot_share_permission - tencentcloud_cbs_disk_backup - tencentcloud_cbs_disk_backup_rollback_operation + Data Source + tencentcloud_cbs_snapshots + tencentcloud_cbs_storages + tencentcloud_cbs_storages_set + tencentcloud_cbs_snapshot_policies + + Resource + tencentcloud_cbs_storage + tencentcloud_cbs_storage_set + tencentcloud_cbs_storage_attachment + tencentcloud_cbs_storage_set_attachment + tencentcloud_cbs_snapshot + tencentcloud_cbs_snapshot_policy + tencentcloud_cbs_snapshot_policy_attachment + tencentcloud_cbs_snapshot_share_permission + tencentcloud_cbs_disk_backup + tencentcloud_cbs_disk_backup_rollback_operation Cloud Connect Network(CCN) - Data Source - tencentcloud_ccn_bandwidth_limits - tencentcloud_ccn_instances - tencentcloud_ccn_cross_border_compliance - tencentcloud_ccn_tenant_instances - tencentcloud_ccn_cross_border_flow_monitor - tencentcloud_ccn_cross_border_region_bandwidth_limits - Resource - tencentcloud_ccn - tencentcloud_ccn_attachment - tencentcloud_ccn_bandwidth_limit - tencentcloud_ccn_routes - tencentcloud_ccn_instances_accept_attach - tencentcloud_ccn_instances_reject_attach - tencentcloud_ccn_instances_reset_attach + Data Source + tencentcloud_ccn_bandwidth_limits + tencentcloud_ccn_instances + tencentcloud_ccn_cross_border_compliance + tencentcloud_ccn_tenant_instances + tencentcloud_ccn_cross_border_flow_monitor + tencentcloud_ccn_cross_border_region_bandwidth_limits + + Resource + tencentcloud_ccn + tencentcloud_ccn_attachment + tencentcloud_ccn_bandwidth_limit + tencentcloud_ccn_routes + tencentcloud_ccn_instances_accept_attach + tencentcloud_ccn_instances_reject_attach + tencentcloud_ccn_instances_reset_attach CVM Dedicated Host(CDH) - Data Source - tencentcloud_cdh_instances - Resource - tencentcloud_cdh_instance + Data Source + tencentcloud_cdh_instances + + Resource + tencentcloud_cdh_instance Cloud File Storage(CFS) - Data Source - tencentcloud_cfs_access_groups - tencentcloud_cfs_access_rules - tencentcloud_cfs_file_systems - tencentcloud_cfs_mount_targets - tencentcloud_cfs_file_system_clients - tencentcloud_cfs_available_zone - Resource - tencentcloud_cfs_file_system - tencentcloud_cfs_access_group - tencentcloud_cfs_access_rule - tencentcloud_cfs_auto_snapshot_policy - tencentcloud_cfs_auto_snapshot_policy_attachment - tencentcloud_cfs_snapshot - tencentcloud_cfs_sign_up_cfs_service + Data Source + tencentcloud_cfs_access_groups + tencentcloud_cfs_access_rules + tencentcloud_cfs_file_systems + tencentcloud_cfs_mount_targets + tencentcloud_cfs_file_system_clients + tencentcloud_cfs_available_zone + + Resource + tencentcloud_cfs_file_system + tencentcloud_cfs_access_group + tencentcloud_cfs_access_rule + tencentcloud_cfs_auto_snapshot_policy + tencentcloud_cfs_auto_snapshot_policy_attachment + tencentcloud_cfs_snapshot + tencentcloud_cfs_sign_up_cfs_service Container Cluster - Data Source - tencentcloud_container_cluster_instances - tencentcloud_container_clusters - Resource - tencentcloud_container_cluster - tencentcloud_container_cluster_instance + Data Source + tencentcloud_container_cluster_instances + tencentcloud_container_clusters + + Resource + tencentcloud_container_cluster + tencentcloud_container_cluster_instance Cloud Load Balancer(CLB) - Data Source - tencentcloud_clb_attachments - tencentcloud_clb_instances - tencentcloud_clb_listener_rules - tencentcloud_clb_listeners - tencentcloud_clb_redirections - tencentcloud_clb_target_groups - tencentcloud_clb_cluster_resources - tencentcloud_clb_cross_targets - tencentcloud_clb_exclusive_clusters - tencentcloud_clb_idle_instances - tencentcloud_clb_listeners_by_targets - tencentcloud_clb_instance_by_cert_id - tencentcloud_clb_instance_traffic - tencentcloud_clb_instance_detail - tencentcloud_clb_resources - tencentcloud_clb_target_group_list - tencentcloud_clb_target_health - Resource - tencentcloud_clb_instance - tencentcloud_clb_listener - tencentcloud_clb_listener_rule - tencentcloud_clb_attachment - tencentcloud_clb_redirection - tencentcloud_lb - tencentcloud_alb_server_attachment - tencentcloud_clb_target_group - tencentcloud_clb_target_group_instance_attachment - tencentcloud_clb_target_group_attachment - tencentcloud_clb_log_set - tencentcloud_clb_log_topic - tencentcloud_clb_customized_config - tencentcloud_clb_snat_ip - tencentcloud_clb_function_targets_attachment - tencentcloud_clb_instance_sla_config - tencentcloud_clb_instance_mix_ip_target_config - tencentcloud_clb_replace_cert_for_lbs - tencentcloud_clb_security_group_attachment + Data Source + tencentcloud_clb_attachments + tencentcloud_clb_instances + tencentcloud_clb_listener_rules + tencentcloud_clb_listeners + tencentcloud_clb_redirections + tencentcloud_clb_target_groups + tencentcloud_clb_cluster_resources + tencentcloud_clb_cross_targets + tencentcloud_clb_exclusive_clusters + tencentcloud_clb_idle_instances + tencentcloud_clb_listeners_by_targets + tencentcloud_clb_instance_by_cert_id + tencentcloud_clb_instance_traffic + tencentcloud_clb_instance_detail + tencentcloud_clb_resources + tencentcloud_clb_target_group_list + tencentcloud_clb_target_health + + Resource + tencentcloud_clb_instance + tencentcloud_clb_listener + tencentcloud_clb_listener_rule + tencentcloud_clb_attachment + tencentcloud_clb_redirection + tencentcloud_lb + tencentcloud_alb_server_attachment + tencentcloud_clb_target_group + tencentcloud_clb_target_group_instance_attachment + tencentcloud_clb_target_group_attachment + tencentcloud_clb_log_set + tencentcloud_clb_log_topic + tencentcloud_clb_customized_config + tencentcloud_clb_snat_ip + tencentcloud_clb_function_targets_attachment + tencentcloud_clb_instance_sla_config + tencentcloud_clb_instance_mix_ip_target_config + tencentcloud_clb_replace_cert_for_lbs + tencentcloud_clb_security_group_attachment Cloud Object Storage(COS) - Data Source - tencentcloud_cos_bucket_object - tencentcloud_cos_buckets - tencentcloud_cos_batchs - tencentcloud_cos_bucket_inventorys - tencentcloud_cos_bucket_multipart_uploads - Resource - tencentcloud_cos_bucket - tencentcloud_cos_bucket_object - tencentcloud_cos_bucket_policy - tencentcloud_cos_bucket_referer - tencentcloud_cos_bucket_version - tencentcloud_cos_bucket_domain_certificate_attachment - tencentcloud_cos_bucket_inventory - tencentcloud_cos_batch - tencentcloud_cos_object_abort_multipart_upload_operation - tencentcloud_cos_object_copy_operation - tencentcloud_cos_object_restore_operation - tencentcloud_cos_bucket_generate_inventory_immediately_operation - tencentcloud_cos_object_download_operation + Data Source + tencentcloud_cos_bucket_object + tencentcloud_cos_buckets + tencentcloud_cos_batchs + tencentcloud_cos_bucket_inventorys + tencentcloud_cos_bucket_multipart_uploads + + Resource + tencentcloud_cos_bucket + tencentcloud_cos_bucket_object + tencentcloud_cos_bucket_policy + tencentcloud_cos_bucket_referer + tencentcloud_cos_bucket_version + tencentcloud_cos_bucket_domain_certificate_attachment + tencentcloud_cos_bucket_inventory + tencentcloud_cos_batch + tencentcloud_cos_object_abort_multipart_upload_operation + tencentcloud_cos_object_copy_operation + tencentcloud_cos_object_restore_operation + tencentcloud_cos_bucket_generate_inventory_immediately_operation + tencentcloud_cos_object_download_operation Cloud Virtual Machine(CVM) - Data Source - tencentcloud_image - tencentcloud_images - tencentcloud_instance_types - tencentcloud_instances - tencentcloud_instances_set - tencentcloud_key_pairs - tencentcloud_eip - tencentcloud_eips - tencentcloud_eip_address_quota - tencentcloud_eip_network_account_type - tencentcloud_placement_groups - tencentcloud_reserved_instance_configs - tencentcloud_reserved_instances - tencentcloud_cvm_instances_modification - tencentcloud_cvm_instance_vnc_url - tencentcloud_cvm_disaster_recover_group_quota - tencentcloud_cvm_chc_hosts - tencentcloud_cvm_chc_denied_actions - tencentcloud_cvm_image_quota - tencentcloud_cvm_image_share_permission - tencentcloud_cvm_import_image_os - Resource - tencentcloud_instance - tencentcloud_instance_set - tencentcloud_eip - tencentcloud_eip_association - tencentcloud_eip_address_transform - tencentcloud_eip_public_address_adjust - tencentcloud_eip_normal_address_return - tencentcloud_key_pair - tencentcloud_placement_group - tencentcloud_reserved_instance - tencentcloud_image - tencentcloud_cvm_hpc_cluster - tencentcloud_cvm_launch_template - tencentcloud_cvm_launch_template_version - tencentcloud_cvm_launch_template_default_version - tencentcloud_cvm_security_group_attachment - tencentcloud_cvm_reboot_instance - tencentcloud_cvm_chc_config - tencentcloud_cvm_renew_instance - tencentcloud_cvm_sync_image - tencentcloud_cvm_export_images - tencentcloud_cvm_image_share_permission + Data Source + tencentcloud_image + tencentcloud_images + tencentcloud_instance_types + tencentcloud_instances + tencentcloud_instances_set + tencentcloud_key_pairs + tencentcloud_eip + tencentcloud_eips + tencentcloud_eip_address_quota + tencentcloud_eip_network_account_type + tencentcloud_placement_groups + tencentcloud_reserved_instance_configs + tencentcloud_reserved_instances + tencentcloud_cvm_instances_modification + tencentcloud_cvm_instance_vnc_url + tencentcloud_cvm_disaster_recover_group_quota + tencentcloud_cvm_chc_hosts + tencentcloud_cvm_chc_denied_actions + tencentcloud_cvm_image_quota + tencentcloud_cvm_image_share_permission + tencentcloud_cvm_import_image_os + + Resource + tencentcloud_instance + tencentcloud_instance_set + tencentcloud_eip + tencentcloud_eip_association + tencentcloud_eip_address_transform + tencentcloud_eip_public_address_adjust + tencentcloud_eip_normal_address_return + tencentcloud_key_pair + tencentcloud_placement_group + tencentcloud_reserved_instance + tencentcloud_image + tencentcloud_cvm_hpc_cluster + tencentcloud_cvm_launch_template + tencentcloud_cvm_launch_template_version + tencentcloud_cvm_launch_template_default_version + tencentcloud_cvm_security_group_attachment + tencentcloud_cvm_reboot_instance + tencentcloud_cvm_chc_config + tencentcloud_cvm_renew_instance + tencentcloud_cvm_sync_image + tencentcloud_cvm_export_images + tencentcloud_cvm_image_share_permission TDSQL-C MySQL(CynosDB) - Data Source - tencentcloud_cynosdb_clusters - tencentcloud_cynosdb_instances - tencentcloud_cynosdb_zone_config - tencentcloud_cynosdb_accounts - tencentcloud_cynosdb_cluster_instance_groups - tencentcloud_cynosdb_cluster_params - tencentcloud_cynosdb_param_templates - tencentcloud_cynosdb_audit_logs - tencentcloud_cynosdb_binlog_download_url - tencentcloud_cynosdb_cluster_detail_databases - tencentcloud_cynosdb_cluster_param_logs - tencentcloud_cynosdb_cluster - tencentcloud_cynosdb_describe_instance_slow_queries - tencentcloud_cynosdb_describe_instance_error_logs - tencentcloud_cynosdb_account_all_grant_privileges - tencentcloud_cynosdb_resource_package_list - tencentcloud_cynosdb_project_security_groups - tencentcloud_cynosdb_resource_package_sale_specs - tencentcloud_cynosdb_rollback_time_range - tencentcloud_cynosdb_zone - tencentcloud_cynosdb_instance_slow_queries - tencentcloud_cynosdb_proxy_node - tencentcloud_cynosdb_proxy_version - Resource - tencentcloud_cynosdb_cluster_resource_packages_attachment - tencentcloud_cynosdb_cluster - tencentcloud_cynosdb_readonly_instance - tencentcloud_cynosdb_security_group - tencentcloud_cynosdb_audit_log_file - tencentcloud_cynosdb_cluster_password_complexity - tencentcloud_cynosdb_export_instance_error_logs - tencentcloud_cynosdb_export_instance_slow_queries - tencentcloud_cynosdb_account_privileges - tencentcloud_cynosdb_account - tencentcloud_cynosdb_binlog_save_days - tencentcloud_cynosdb_cluster_databases - tencentcloud_cynosdb_instance_param - tencentcloud_cynosdb_isolate_instance - tencentcloud_cynosdb_param_template - tencentcloud_cynosdb_restart_instance - tencentcloud_cynosdb_roll_back_cluster - tencentcloud_cynosdb_wan - tencentcloud_cynosdb_proxy - tencentcloud_cynosdb_reload_proxy_node - tencentcloud_cynosdb_cluster_slave_zone - tencentcloud_cynosdb_read_only_instance_exclusive_access - tencentcloud_cynosdb_proxy_end_point - tencentcloud_cynosdb_upgrade_proxy_version + Data Source + tencentcloud_cynosdb_clusters + tencentcloud_cynosdb_instances + tencentcloud_cynosdb_zone_config + tencentcloud_cynosdb_accounts + tencentcloud_cynosdb_cluster_instance_groups + tencentcloud_cynosdb_cluster_params + tencentcloud_cynosdb_param_templates + tencentcloud_cynosdb_audit_logs + tencentcloud_cynosdb_binlog_download_url + tencentcloud_cynosdb_cluster_detail_databases + tencentcloud_cynosdb_cluster_param_logs + tencentcloud_cynosdb_cluster + tencentcloud_cynosdb_describe_instance_slow_queries + tencentcloud_cynosdb_describe_instance_error_logs + tencentcloud_cynosdb_account_all_grant_privileges + tencentcloud_cynosdb_resource_package_list + tencentcloud_cynosdb_project_security_groups + tencentcloud_cynosdb_resource_package_sale_specs + tencentcloud_cynosdb_rollback_time_range + tencentcloud_cynosdb_zone + tencentcloud_cynosdb_instance_slow_queries + tencentcloud_cynosdb_proxy_node + tencentcloud_cynosdb_proxy_version + + Resource + tencentcloud_cynosdb_cluster_resource_packages_attachment + tencentcloud_cynosdb_cluster + tencentcloud_cynosdb_readonly_instance + tencentcloud_cynosdb_security_group + tencentcloud_cynosdb_audit_log_file + tencentcloud_cynosdb_cluster_password_complexity + tencentcloud_cynosdb_export_instance_error_logs + tencentcloud_cynosdb_export_instance_slow_queries + tencentcloud_cynosdb_account_privileges + tencentcloud_cynosdb_account + tencentcloud_cynosdb_binlog_save_days + tencentcloud_cynosdb_cluster_databases + tencentcloud_cynosdb_instance_param + tencentcloud_cynosdb_isolate_instance + tencentcloud_cynosdb_param_template + tencentcloud_cynosdb_restart_instance + tencentcloud_cynosdb_roll_back_cluster + tencentcloud_cynosdb_wan + tencentcloud_cynosdb_proxy + tencentcloud_cynosdb_reload_proxy_node + tencentcloud_cynosdb_cluster_slave_zone + tencentcloud_cynosdb_read_only_instance_exclusive_access + tencentcloud_cynosdb_proxy_end_point + tencentcloud_cynosdb_upgrade_proxy_version Direct Connect(DC) - Data Source - tencentcloud_dc_instances - tencentcloud_dc_access_points - tencentcloud_dcx_instances - tencentcloud_dc_internet_address_quota - tencentcloud_dc_internet_address_statistics - tencentcloud_dc_public_direct_connect_tunnel_routes - Resource - tencentcloud_dc_instance - tencentcloud_dcx - tencentcloud_dcx_extra_config - tencentcloud_dc_share_dcx_config - tencentcloud_dc_internet_address - tencentcloud_dc_internet_address_config + Data Source + tencentcloud_dc_instances + tencentcloud_dc_access_points + tencentcloud_dcx_instances + tencentcloud_dc_internet_address_quota + tencentcloud_dc_internet_address_statistics + tencentcloud_dc_public_direct_connect_tunnel_routes + + Resource + tencentcloud_dc_instance + tencentcloud_dcx + tencentcloud_dcx_extra_config + tencentcloud_dc_share_dcx_config + tencentcloud_dc_internet_address + tencentcloud_dc_internet_address_config Direct Connect Gateway(DCG) - Data Source - tencentcloud_dc_gateway_ccn_routes - tencentcloud_dc_gateway_instances - Resource - tencentcloud_dc_gateway - tencentcloud_dc_gateway_ccn_route - tencentcloud_dc_gateway_attachment + Data Source + tencentcloud_dc_gateway_ccn_routes + tencentcloud_dc_gateway_instances + + Resource + tencentcloud_dc_gateway + tencentcloud_dc_gateway_ccn_route + tencentcloud_dc_gateway_attachment Domain - Data Source - tencentcloud_domains + + Data Source + tencentcloud_domains Elasticsearch Service(ES) - Data Source - tencentcloud_elasticsearch_instances - Resource - tencentcloud_elasticsearch_instance - tencentcloud_elasticsearch_security_group + Data Source + tencentcloud_elasticsearch_instances + + Resource + tencentcloud_elasticsearch_instance + tencentcloud_elasticsearch_security_group Global Application Acceleration(GAAP) - Data Source - tencentcloud_gaap_certificates - tencentcloud_gaap_http_domains - tencentcloud_gaap_http_rules - tencentcloud_gaap_layer4_listeners - tencentcloud_gaap_layer7_listeners - tencentcloud_gaap_proxies - tencentcloud_gaap_realservers - tencentcloud_gaap_security_policies - tencentcloud_gaap_security_rules - tencentcloud_gaap_domain_error_pages - Resource - tencentcloud_gaap_proxy - tencentcloud_gaap_realserver - tencentcloud_gaap_layer4_listener - tencentcloud_gaap_layer7_listener - tencentcloud_gaap_http_domain - tencentcloud_gaap_http_rule - tencentcloud_gaap_certificate - tencentcloud_gaap_security_policy - tencentcloud_gaap_security_rule - tencentcloud_gaap_domain_error_page + Data Source + tencentcloud_gaap_certificates + tencentcloud_gaap_http_domains + tencentcloud_gaap_http_rules + tencentcloud_gaap_layer4_listeners + tencentcloud_gaap_layer7_listeners + tencentcloud_gaap_proxies + tencentcloud_gaap_realservers + tencentcloud_gaap_security_policies + tencentcloud_gaap_security_rules + tencentcloud_gaap_domain_error_pages + + Resource + tencentcloud_gaap_proxy + tencentcloud_gaap_realserver + tencentcloud_gaap_layer4_listener + tencentcloud_gaap_layer7_listener + tencentcloud_gaap_http_domain + tencentcloud_gaap_http_rule + tencentcloud_gaap_certificate + tencentcloud_gaap_security_policy + tencentcloud_gaap_security_rule + tencentcloud_gaap_domain_error_page Key Management Service(KMS) - Data Source - tencentcloud_kms_keys - tencentcloud_kms_public_key - tencentcloud_kms_get_parameters_for_import - Resource - tencentcloud_kms_key - tencentcloud_kms_external_key + Data Source + tencentcloud_kms_keys + tencentcloud_kms_public_key + tencentcloud_kms_get_parameters_for_import + + Resource + tencentcloud_kms_key + tencentcloud_kms_external_key Tencent Kubernetes Engine(TKE) - Data Source - tencentcloud_kubernetes_clusters - tencentcloud_kubernetes_cluster_levels - tencentcloud_kubernetes_charts - tencentcloud_kubernetes_cluster_common_names - tencentcloud_kubernetes_available_cluster_versions - tencentcloud_kubernetes_cluster_authentication_options - Resource - tencentcloud_kubernetes_cluster - tencentcloud_kubernetes_scale_worker - tencentcloud_kubernetes_cluster_attachment - tencentcloud_kubernetes_node_pool - tencentcloud_kubernetes_serverless_node_pool - tencentcloud_kubernetes_backup_storage_location - tencentcloud_kubernetes_encryption_protection - tencentcloud_kubernetes_auth_attachment - tencentcloud_kubernetes_addon_attachment - tencentcloud_kubernetes_cluster_endpoint + Data Source + tencentcloud_kubernetes_clusters + tencentcloud_kubernetes_cluster_levels + tencentcloud_kubernetes_charts + tencentcloud_kubernetes_cluster_common_names + tencentcloud_kubernetes_available_cluster_versions + tencentcloud_kubernetes_cluster_authentication_options + + Resource + tencentcloud_kubernetes_cluster + tencentcloud_kubernetes_scale_worker + tencentcloud_kubernetes_cluster_attachment + tencentcloud_kubernetes_node_pool + tencentcloud_kubernetes_serverless_node_pool + tencentcloud_kubernetes_backup_storage_location + tencentcloud_kubernetes_encryption_protection + tencentcloud_kubernetes_auth_attachment + tencentcloud_kubernetes_addon_attachment + tencentcloud_kubernetes_cluster_endpoint TDMQ for Pulsar(tpulsar) - Data Source - tencentcloud_tdmq_environment_attributes - tencentcloud_tdmq_publisher_summary - tencentcloud_tdmq_publishers - tencentcloud_tdmq_pro_instances - tencentcloud_tdmq_pro_instance_detail - Resource - tencentcloud_tdmq_instance - tencentcloud_tdmq_namespace - tencentcloud_tdmq_topic - tencentcloud_tdmq_role - tencentcloud_tdmq_namespace_role_attachment + Data Source + tencentcloud_tdmq_environment_attributes + tencentcloud_tdmq_publisher_summary + tencentcloud_tdmq_publishers + tencentcloud_tdmq_pro_instances + tencentcloud_tdmq_pro_instance_detail + + Resource + tencentcloud_tdmq_instance + tencentcloud_tdmq_namespace + tencentcloud_tdmq_topic + tencentcloud_tdmq_role + tencentcloud_tdmq_namespace_role_attachment TencentDB for MongoDB(mongodb) - Data Source - tencentcloud_mongodb_instances - tencentcloud_mongodb_zone_config - tencentcloud_mongodb_instance_backups - tencentcloud_mongodb_instance_connections - tencentcloud_mongodb_instance_current_op - tencentcloud_mongodb_instance_params - tencentcloud_mongodb_instance_slow_log - Resource - tencentcloud_mongodb_instance - tencentcloud_mongodb_sharding_instance - tencentcloud_mongodb_standby_instance - tencentcloud_mongodb_instance_account - tencentcloud_mongodb_instance_backup + Data Source + tencentcloud_mongodb_instances + tencentcloud_mongodb_zone_config + tencentcloud_mongodb_instance_backups + tencentcloud_mongodb_instance_connections + tencentcloud_mongodb_instance_current_op + tencentcloud_mongodb_instance_params + tencentcloud_mongodb_instance_slow_log + + Resource + tencentcloud_mongodb_instance + tencentcloud_mongodb_sharding_instance + tencentcloud_mongodb_standby_instance + tencentcloud_mongodb_instance_account + tencentcloud_mongodb_instance_backup TencentDB for MySQL(cdb) - Data Source - tencentcloud_mysql_backup_list - tencentcloud_mysql_instance - tencentcloud_mysql_parameter_list - tencentcloud_mysql_default_params - tencentcloud_mysql_zone_config - tencentcloud_mysql_backup_overview - tencentcloud_mysql_backup_summaries - tencentcloud_mysql_bin_log - tencentcloud_mysql_binlog_backup_overview - tencentcloud_mysql_clone_list - tencentcloud_mysql_data_backup_overview - tencentcloud_mysql_db_features - tencentcloud_mysql_inst_tables - tencentcloud_mysql_instance_charset - tencentcloud_mysql_instance_info - tencentcloud_mysql_instance_param_record - tencentcloud_mysql_instance_reboot_time - tencentcloud_mysql_rollback_range_time - tencentcloud_mysql_slow_log - tencentcloud_mysql_slow_log_data - tencentcloud_mysql_supported_privileges - tencentcloud_mysql_switch_record - tencentcloud_mysql_user_task - tencentcloud_mysql_databases - tencentcloud_mysql_error_log - tencentcloud_mysql_project_security_group - tencentcloud_mysql_ro_min_scale - Resource - tencentcloud_mysql_instance - tencentcloud_mysql_readonly_instance - tencentcloud_mysql_account - tencentcloud_mysql_privilege - tencentcloud_mysql_account_privilege - tencentcloud_mysql_backup_policy - tencentcloud_mysql_time_window - tencentcloud_mysql_param_template - tencentcloud_mysql_deploy_group - tencentcloud_mysql_security_groups_attachment - tencentcloud_mysql_local_binlog_config - tencentcloud_mysql_audit_log_file - tencentcloud_mysql_backup_download_restriction - tencentcloud_mysql_renew_db_instance_operation - tencentcloud_mysql_backup_encryption_status - tencentcloud_mysql_dr_instance_to_mater - tencentcloud_mysql_instance_encryption_operation - tencentcloud_mysql_password_complexity - tencentcloud_mysql_remote_backup_config - tencentcloud_mysql_restart_db_instances_operation - tencentcloud_mysql_switch_for_upgrade - tencentcloud_mysql_rollback - tencentcloud_mysql_rollback_stop - tencentcloud_mysql_ro_group - tencentcloud_mysql_ro_instance_ip - tencentcloud_mysql_ro_group_load_operation - tencentcloud_mysql_switch_master_slave_operation - tencentcloud_mysql_proxy - tencentcloud_mysql_reset_root_account - tencentcloud_mysql_verify_root_account - tencentcloud_mysql_reload_balance_proxy_node - tencentcloud_mysql_ro_start_replication - tencentcloud_mysql_ro_stop_replication - tencentcloud_mysql_isolate_instance + Data Source + tencentcloud_mysql_backup_list + tencentcloud_mysql_instance + tencentcloud_mysql_parameter_list + tencentcloud_mysql_default_params + tencentcloud_mysql_zone_config + tencentcloud_mysql_backup_overview + tencentcloud_mysql_backup_summaries + tencentcloud_mysql_bin_log + tencentcloud_mysql_binlog_backup_overview + tencentcloud_mysql_clone_list + tencentcloud_mysql_data_backup_overview + tencentcloud_mysql_db_features + tencentcloud_mysql_inst_tables + tencentcloud_mysql_instance_charset + tencentcloud_mysql_instance_info + tencentcloud_mysql_instance_param_record + tencentcloud_mysql_instance_reboot_time + tencentcloud_mysql_rollback_range_time + tencentcloud_mysql_slow_log + tencentcloud_mysql_slow_log_data + tencentcloud_mysql_supported_privileges + tencentcloud_mysql_switch_record + tencentcloud_mysql_user_task + tencentcloud_mysql_databases + tencentcloud_mysql_error_log + tencentcloud_mysql_project_security_group + tencentcloud_mysql_ro_min_scale + + Resource + tencentcloud_mysql_instance + tencentcloud_mysql_readonly_instance + tencentcloud_mysql_account + tencentcloud_mysql_privilege + tencentcloud_mysql_account_privilege + tencentcloud_mysql_backup_policy + tencentcloud_mysql_time_window + tencentcloud_mysql_param_template + tencentcloud_mysql_deploy_group + tencentcloud_mysql_security_groups_attachment + tencentcloud_mysql_local_binlog_config + tencentcloud_mysql_audit_log_file + tencentcloud_mysql_backup_download_restriction + tencentcloud_mysql_renew_db_instance_operation + tencentcloud_mysql_backup_encryption_status + tencentcloud_mysql_dr_instance_to_mater + tencentcloud_mysql_instance_encryption_operation + tencentcloud_mysql_password_complexity + tencentcloud_mysql_remote_backup_config + tencentcloud_mysql_restart_db_instances_operation + tencentcloud_mysql_switch_for_upgrade + tencentcloud_mysql_rollback + tencentcloud_mysql_rollback_stop + tencentcloud_mysql_ro_group + tencentcloud_mysql_ro_instance_ip + tencentcloud_mysql_ro_group_load_operation + tencentcloud_mysql_switch_master_slave_operation + tencentcloud_mysql_proxy + tencentcloud_mysql_reset_root_account + tencentcloud_mysql_verify_root_account + tencentcloud_mysql_reload_balance_proxy_node + tencentcloud_mysql_ro_start_replication + tencentcloud_mysql_ro_stop_replication + tencentcloud_mysql_isolate_instance Cloud Monitor(Monitor) - Data Source - tencentcloud_monitor_policy_conditions - tencentcloud_monitor_data - tencentcloud_monitor_product_event - tencentcloud_monitor_binding_objects - tencentcloud_monitor_policy_groups - tencentcloud_monitor_product_namespace - tencentcloud_monitor_alarm_notices - Resource - tencentcloud_monitor_policy_group - tencentcloud_monitor_binding_object - tencentcloud_monitor_policy_binding_object - tencentcloud_monitor_binding_receiver - tencentcloud_monitor_alarm_policy - tencentcloud_monitor_tmp_tke_template - tencentcloud_monitor_tmp_tke_template_attachment - tencentcloud_monitor_tmp_tke_alert_policy - tencentcloud_monitor_tmp_tke_config - tencentcloud_monitor_alarm_notice - tencentcloud_monitor_tmp_tke_record_rule_yaml - tencentcloud_monitor_tmp_tke_global_notification - tencentcloud_monitor_tmp_tke_cluster_agent - tencentcloud_monitor_tmp_tke_basic_config + Data Source + tencentcloud_monitor_policy_conditions + tencentcloud_monitor_data + tencentcloud_monitor_product_event + tencentcloud_monitor_binding_objects + tencentcloud_monitor_policy_groups + tencentcloud_monitor_product_namespace + tencentcloud_monitor_alarm_notices + + Resource + tencentcloud_monitor_policy_group + tencentcloud_monitor_binding_object + tencentcloud_monitor_policy_binding_object + tencentcloud_monitor_binding_receiver + tencentcloud_monitor_alarm_policy + tencentcloud_monitor_tmp_tke_template + tencentcloud_monitor_tmp_tke_template_attachment + tencentcloud_monitor_tmp_tke_alert_policy + tencentcloud_monitor_tmp_tke_config + tencentcloud_monitor_alarm_notice + tencentcloud_monitor_tmp_tke_record_rule_yaml + tencentcloud_monitor_tmp_tke_global_notification + tencentcloud_monitor_tmp_tke_cluster_agent + tencentcloud_monitor_tmp_tke_basic_config Managed Service for Prometheus(TMP) - Resource - tencentcloud_monitor_tmp_instance - tencentcloud_monitor_tmp_alert_rule - tencentcloud_monitor_tmp_exporter_integration - tencentcloud_monitor_tmp_cvm_agent - tencentcloud_monitor_tmp_scrape_job - tencentcloud_monitor_tmp_recording_rule - tencentcloud_monitor_tmp_manage_grafana_attachment + + Resource + tencentcloud_monitor_tmp_instance + tencentcloud_monitor_tmp_alert_rule + tencentcloud_monitor_tmp_exporter_integration + tencentcloud_monitor_tmp_cvm_agent + tencentcloud_monitor_tmp_scrape_job + tencentcloud_monitor_tmp_recording_rule + tencentcloud_monitor_tmp_manage_grafana_attachment TencentCloud Managed Service for Grafana(TCMG) - Resource - tencentcloud_monitor_grafana_instance - tencentcloud_monitor_grafana_integration - tencentcloud_monitor_grafana_notification_channel - tencentcloud_monitor_grafana_plugin - tencentcloud_monitor_grafana_sso_account - tencentcloud_monitor_tmp_grafana_config + + Resource + tencentcloud_monitor_grafana_instance + tencentcloud_monitor_grafana_integration + tencentcloud_monitor_grafana_notification_channel + tencentcloud_monitor_grafana_plugin + tencentcloud_monitor_grafana_sso_account + tencentcloud_monitor_tmp_grafana_config TencentDB for PostgreSQL(PostgreSQL) - Data Source - tencentcloud_postgresql_instances - tencentcloud_postgresql_specinfos - tencentcloud_postgresql_xlogs - tencentcloud_postgresql_parameter_templates - tencentcloud_postgresql_readonly_groups - tencentcloud_postgresql_base_backups - tencentcloud_postgresql_log_backups - tencentcloud_postgresql_backup_download_urls - tencentcloud_postgresql_db_instance_classes - tencentcloud_postgresql_default_parameters - tencentcloud_postgresql_recovery_time - tencentcloud_postgresql_regions - tencentcloud_postgresql_db_instance_versions - tencentcloud_postgresql_zones - Resource - tencentcloud_postgresql_instance - tencentcloud_postgresql_readonly_instance - tencentcloud_postgresql_readonly_group - tencentcloud_postgresql_readonly_attachment - tencentcloud_postgresql_parameter_template - tencentcloud_postgresql_backup_plan_config - tencentcloud_postgresql_security_group_config - tencentcloud_postgresql_backup_download_restriction_config - tencentcloud_postgresql_restart_db_instance_operation - tencentcloud_postgresql_renew_db_instance_operation - tencentcloud_postgresql_isolate_db_instance_operation - tencentcloud_postgresql_disisolate_db_instance_operation - tencentcloud_postgresql_rebalance_readonly_group_operation - tencentcloud_postgresql_delete_log_backup_operation - tencentcloud_postgresql_modify_account_remark_operation - tencentcloud_postgresql_modify_switch_time_period_operation - tencentcloud_postgresql_base_backup + Data Source + tencentcloud_postgresql_instances + tencentcloud_postgresql_specinfos + tencentcloud_postgresql_xlogs + tencentcloud_postgresql_parameter_templates + tencentcloud_postgresql_readonly_groups + tencentcloud_postgresql_base_backups + tencentcloud_postgresql_log_backups + tencentcloud_postgresql_backup_download_urls + tencentcloud_postgresql_db_instance_classes + tencentcloud_postgresql_default_parameters + tencentcloud_postgresql_recovery_time + tencentcloud_postgresql_regions + tencentcloud_postgresql_db_instance_versions + tencentcloud_postgresql_zones + + Resource + tencentcloud_postgresql_instance + tencentcloud_postgresql_readonly_instance + tencentcloud_postgresql_readonly_group + tencentcloud_postgresql_readonly_attachment + tencentcloud_postgresql_parameter_template + tencentcloud_postgresql_backup_plan_config + tencentcloud_postgresql_security_group_config + tencentcloud_postgresql_backup_download_restriction_config + tencentcloud_postgresql_restart_db_instance_operation + tencentcloud_postgresql_renew_db_instance_operation + tencentcloud_postgresql_isolate_db_instance_operation + tencentcloud_postgresql_disisolate_db_instance_operation + tencentcloud_postgresql_rebalance_readonly_group_operation + tencentcloud_postgresql_delete_log_backup_operation + tencentcloud_postgresql_modify_account_remark_operation + tencentcloud_postgresql_modify_switch_time_period_operation + tencentcloud_postgresql_base_backup TencentDB for Redis(crs) - Data Source - tencentcloud_redis_zone_config - tencentcloud_redis_instances - tencentcloud_redis_backup - tencentcloud_redis_backup_download_info - tencentcloud_redis_param_records - tencentcloud_redis_instance_shards - tencentcloud_redis_instance_zone_info - tencentcloud_redis_instance_task_list - tencentcloud_redis_instance_node_info - Resource - tencentcloud_redis_instance - tencentcloud_redis_backup_config - tencentcloud_redis_param_template - tencentcloud_redis_account - tencentcloud_redis_read_only - tencentcloud_redis_ssl - tencentcloud_redis_backup_download_restriction - tencentcloud_redis_clear_instance_operation - tencentcloud_redis_renew_instance_operation - tencentcloud_redis_startup_instance_operation - tencentcloud_redis_upgrade_cache_version_operation - tencentcloud_redis_upgrade_multi_zone_operation - tencentcloud_redis_upgrade_proxy_version_operation - tencentcloud_redis_maintenance_window - tencentcloud_redis_replica_readonly - tencentcloud_redis_switch_master - tencentcloud_redis_replicate_attachment - tencentcloud_redis_backup_operation - tencentcloud_redis_security_group_attachment - tencentcloud_redis_connection_config + Data Source + tencentcloud_redis_zone_config + tencentcloud_redis_instances + tencentcloud_redis_backup + tencentcloud_redis_backup_download_info + tencentcloud_redis_param_records + tencentcloud_redis_instance_shards + tencentcloud_redis_instance_zone_info + tencentcloud_redis_instance_task_list + tencentcloud_redis_instance_node_info + + Resource + tencentcloud_redis_instance + tencentcloud_redis_backup_config + tencentcloud_redis_param_template + tencentcloud_redis_account + tencentcloud_redis_read_only + tencentcloud_redis_ssl + tencentcloud_redis_backup_download_restriction + tencentcloud_redis_clear_instance_operation + tencentcloud_redis_renew_instance_operation + tencentcloud_redis_startup_instance_operation + tencentcloud_redis_upgrade_cache_version_operation + tencentcloud_redis_upgrade_multi_zone_operation + tencentcloud_redis_upgrade_proxy_version_operation + tencentcloud_redis_maintenance_window + tencentcloud_redis_replica_readonly + tencentcloud_redis_switch_master + tencentcloud_redis_replicate_attachment + tencentcloud_redis_backup_operation + tencentcloud_redis_security_group_attachment + tencentcloud_redis_connection_config Serverless Cloud Function(SCF) - Data Source - tencentcloud_scf_functions - tencentcloud_scf_logs - tencentcloud_scf_namespaces - tencentcloud_scf_account_info - tencentcloud_scf_async_event_management - tencentcloud_scf_triggers - tencentcloud_scf_async_event_status - tencentcloud_scf_function_address - tencentcloud_scf_request_status - tencentcloud_scf_function_aliases - tencentcloud_scf_layer_versions - tencentcloud_scf_layers - tencentcloud_scf_function_versions - Resource - tencentcloud_scf_function - tencentcloud_scf_function_version - tencentcloud_scf_function_event_invoke_config - tencentcloud_scf_reserved_concurrency_config - tencentcloud_scf_provisioned_concurrency_config - tencentcloud_scf_invoke_function - tencentcloud_scf_sync_invoke_function - tencentcloud_scf_terminate_async_event - tencentcloud_scf_namespace - tencentcloud_scf_layer - tencentcloud_scf_function_alias - tencentcloud_scf_trigger_config + Data Source + tencentcloud_scf_functions + tencentcloud_scf_logs + tencentcloud_scf_namespaces + tencentcloud_scf_account_info + tencentcloud_scf_async_event_management + tencentcloud_scf_triggers + tencentcloud_scf_async_event_status + tencentcloud_scf_function_address + tencentcloud_scf_request_status + tencentcloud_scf_function_aliases + tencentcloud_scf_layer_versions + tencentcloud_scf_layers + tencentcloud_scf_function_versions + + Resource + tencentcloud_scf_function + tencentcloud_scf_function_version + tencentcloud_scf_function_event_invoke_config + tencentcloud_scf_reserved_concurrency_config + tencentcloud_scf_provisioned_concurrency_config + tencentcloud_scf_invoke_function + tencentcloud_scf_sync_invoke_function + tencentcloud_scf_terminate_async_event + tencentcloud_scf_namespace + tencentcloud_scf_layer + tencentcloud_scf_function_alias + tencentcloud_scf_trigger_config SQLServer - Data Source - tencentcloud_sqlserver_zone_config - tencentcloud_sqlserver_instances - tencentcloud_sqlserver_dbs - tencentcloud_sqlserver_accounts - tencentcloud_sqlserver_account_db_attachments - tencentcloud_sqlserver_readonly_groups - tencentcloud_sqlserver_publish_subscribes - tencentcloud_sqlserver_basic_instances - tencentcloud_sqlserver_backup_commands - tencentcloud_sqlserver_backup_by_flow_id - tencentcloud_sqlserver_backup_upload_size - tencentcloud_sqlserver_cross_region_zone - tencentcloud_sqlserver_db_charsets - tencentcloud_sqlserver_instance_param_records - tencentcloud_sqlserver_project_security_groups - tencentcloud_sqlserver_regions - tencentcloud_sqlserver_rollback_time - tencentcloud_sqlserver_slowlogs - tencentcloud_sqlserver_upload_backup_info - tencentcloud_sqlserver_upload_incremental_info - tencentcloud_sqlserver_query_xevent - tencentcloud_sqlserver_ins_attribute - Resource - tencentcloud_sqlserver_instance - tencentcloud_sqlserver_readonly_instance - tencentcloud_sqlserver_db - tencentcloud_sqlserver_account - tencentcloud_sqlserver_account_db_attachment - tencentcloud_sqlserver_publish_subscribe - tencentcloud_sqlserver_basic_instance - tencentcloud_sqlserver_migration - tencentcloud_sqlserver_config_backup_strategy - tencentcloud_sqlserver_general_backup - tencentcloud_sqlserver_general_clone - tencentcloud_sqlserver_full_backup_migration - tencentcloud_sqlserver_incre_backup_migration - tencentcloud_sqlserver_business_intelligence_file - tencentcloud_sqlserver_business_intelligence_instance - tencentcloud_sqlserver_general_communication - tencentcloud_sqlserver_general_cloud_instance - tencentcloud_sqlserver_complete_expansion - tencentcloud_sqlserver_config_database_cdc - tencentcloud_sqlserver_config_database_ct - tencentcloud_sqlserver_config_database_mdf - tencentcloud_sqlserver_config_instance_param - tencentcloud_sqlserver_config_instance_ro_group - tencentcloud_sqlserver_renew_db_instance - tencentcloud_sqlserver_renew_postpaid_db_instance - tencentcloud_sqlserver_restart_db_instance - tencentcloud_sqlserver_config_terminate_db_instance - tencentcloud_sqlserver_restore_instance - tencentcloud_sqlserver_rollback_instance - tencentcloud_sqlserver_start_backup_full_migration - tencentcloud_sqlserver_start_backup_incremental_migration - tencentcloud_sqlserver_start_xevent - tencentcloud_sqlserver_instance_tde - tencentcloud_sqlserver_database_tde - tencentcloud_sqlserver_general_cloud_ro_instance + Data Source + tencentcloud_sqlserver_zone_config + tencentcloud_sqlserver_instances + tencentcloud_sqlserver_dbs + tencentcloud_sqlserver_accounts + tencentcloud_sqlserver_account_db_attachments + tencentcloud_sqlserver_readonly_groups + tencentcloud_sqlserver_publish_subscribes + tencentcloud_sqlserver_basic_instances + tencentcloud_sqlserver_backup_commands + tencentcloud_sqlserver_backup_by_flow_id + tencentcloud_sqlserver_backup_upload_size + tencentcloud_sqlserver_cross_region_zone + tencentcloud_sqlserver_db_charsets + tencentcloud_sqlserver_instance_param_records + tencentcloud_sqlserver_project_security_groups + tencentcloud_sqlserver_regions + tencentcloud_sqlserver_rollback_time + tencentcloud_sqlserver_slowlogs + tencentcloud_sqlserver_upload_backup_info + tencentcloud_sqlserver_upload_incremental_info + tencentcloud_sqlserver_query_xevent + tencentcloud_sqlserver_ins_attribute + + Resource + tencentcloud_sqlserver_instance + tencentcloud_sqlserver_readonly_instance + tencentcloud_sqlserver_db + tencentcloud_sqlserver_account + tencentcloud_sqlserver_account_db_attachment + tencentcloud_sqlserver_publish_subscribe + tencentcloud_sqlserver_basic_instance + tencentcloud_sqlserver_migration + tencentcloud_sqlserver_config_backup_strategy + tencentcloud_sqlserver_general_backup + tencentcloud_sqlserver_general_clone + tencentcloud_sqlserver_full_backup_migration + tencentcloud_sqlserver_incre_backup_migration + tencentcloud_sqlserver_business_intelligence_file + tencentcloud_sqlserver_business_intelligence_instance + tencentcloud_sqlserver_general_communication + tencentcloud_sqlserver_general_cloud_instance + tencentcloud_sqlserver_complete_expansion + tencentcloud_sqlserver_config_database_cdc + tencentcloud_sqlserver_config_database_ct + tencentcloud_sqlserver_config_database_mdf + tencentcloud_sqlserver_config_instance_param + tencentcloud_sqlserver_config_instance_ro_group + tencentcloud_sqlserver_renew_db_instance + tencentcloud_sqlserver_renew_postpaid_db_instance + tencentcloud_sqlserver_restart_db_instance + tencentcloud_sqlserver_config_terminate_db_instance + tencentcloud_sqlserver_restore_instance + tencentcloud_sqlserver_rollback_instance + tencentcloud_sqlserver_start_backup_full_migration + tencentcloud_sqlserver_start_backup_incremental_migration + tencentcloud_sqlserver_start_xevent + tencentcloud_sqlserver_instance_tde + tencentcloud_sqlserver_database_tde + tencentcloud_sqlserver_general_cloud_ro_instance SSL Certificates - Data Source - tencentcloud_ssl_certificates - Resource - tencentcloud_ssl_certificate - tencentcloud_ssl_pay_certificate - tencentcloud_ssl_free_certificate + Data Source + tencentcloud_ssl_certificates + + Resource + tencentcloud_ssl_certificate + tencentcloud_ssl_pay_certificate + tencentcloud_ssl_free_certificate Secrets Manager(SSM) - Data Source - tencentcloud_ssm_products - tencentcloud_ssm_secrets - tencentcloud_ssm_secret_versions - Resource - tencentcloud_ssm_secret - tencentcloud_ssm_secret_version - tencentcloud_ssm_product_secret - tencentcloud_ssm_ssh_key_pair_secret + Data Source + tencentcloud_ssm_products + tencentcloud_ssm_secrets + tencentcloud_ssm_secret_versions + + Resource + tencentcloud_ssm_secret + tencentcloud_ssm_secret_version + tencentcloud_ssm_product_secret + tencentcloud_ssm_ssh_key_pair_secret TcaplusDB - Data Source - tencentcloud_tcaplus_clusters - tencentcloud_tcaplus_idls - tencentcloud_tcaplus_tables - tencentcloud_tcaplus_tablegroups - Resource - tencentcloud_tcaplus_cluster - tencentcloud_tcaplus_tablegroup - tencentcloud_tcaplus_idl - tencentcloud_tcaplus_table + Data Source + tencentcloud_tcaplus_clusters + tencentcloud_tcaplus_idls + tencentcloud_tcaplus_tables + tencentcloud_tcaplus_tablegroups + + Resource + tencentcloud_tcaplus_cluster + tencentcloud_tcaplus_tablegroup + tencentcloud_tcaplus_idl + tencentcloud_tcaplus_table Tencent Container Registry(TCR) - Data Source - tencentcloud_tcr_instances - tencentcloud_tcr_namespaces - tencentcloud_tcr_repositories - tencentcloud_tcr_tokens - tencentcloud_tcr_vpc_attachments - tencentcloud_tcr_webhook_trigger_logs - tencentcloud_tcr_images - tencentcloud_tcr_image_manifests - tencentcloud_tcr_tag_retention_execution_tasks - tencentcloud_tcr_tag_retention_executions - tencentcloud_tcr_replication_instance_create_tasks - tencentcloud_tcr_replication_instance_sync_status - Resource - tencentcloud_tcr_instance - tencentcloud_tcr_namespace - tencentcloud_tcr_repository - tencentcloud_tcr_token - tencentcloud_tcr_vpc_attachment - tencentcloud_tcr_tag_retention_rule - tencentcloud_tcr_webhook_trigger - tencentcloud_tcr_manage_replication_operation - tencentcloud_tcr_customized_domain - tencentcloud_tcr_immutable_tag_rule - tencentcloud_tcr_delete_image_operation - tencentcloud_tcr_create_image_signature_operation - tencentcloud_tcr_tag_retention_execution_config - tencentcloud_tcr_service_account + Data Source + tencentcloud_tcr_instances + tencentcloud_tcr_namespaces + tencentcloud_tcr_repositories + tencentcloud_tcr_tokens + tencentcloud_tcr_vpc_attachments + tencentcloud_tcr_webhook_trigger_logs + tencentcloud_tcr_images + tencentcloud_tcr_image_manifests + tencentcloud_tcr_tag_retention_execution_tasks + tencentcloud_tcr_tag_retention_executions + tencentcloud_tcr_replication_instance_create_tasks + tencentcloud_tcr_replication_instance_sync_status + + Resource + tencentcloud_tcr_instance + tencentcloud_tcr_namespace + tencentcloud_tcr_repository + tencentcloud_tcr_token + tencentcloud_tcr_vpc_attachment + tencentcloud_tcr_tag_retention_rule + tencentcloud_tcr_webhook_trigger + tencentcloud_tcr_manage_replication_operation + tencentcloud_tcr_customized_domain + tencentcloud_tcr_immutable_tag_rule + tencentcloud_tcr_delete_image_operation + tencentcloud_tcr_create_image_signature_operation + tencentcloud_tcr_tag_retention_execution_config + tencentcloud_tcr_service_account Video on Demand(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 + 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 - tencentcloud_vod_adaptive_dynamic_streaming_template - tencentcloud_vod_procedure_template - tencentcloud_vod_snapshot_by_time_offset_template - tencentcloud_vod_image_sprite_template - tencentcloud_vod_super_player_config - tencentcloud_vod_sub_application + + Resource + tencentcloud_vod_adaptive_dynamic_streaming_template + tencentcloud_vod_procedure_template + tencentcloud_vod_snapshot_by_time_offset_template + tencentcloud_vod_image_sprite_template + tencentcloud_vod_super_player_config + tencentcloud_vod_sub_application Virtual Private Cloud(VPC) - Data Source - tencentcloud_route_table - tencentcloud_security_group - tencentcloud_security_groups - tencentcloud_address_templates - tencentcloud_address_template_groups - tencentcloud_protocol_templates - tencentcloud_protocol_template_groups - tencentcloud_subnet - tencentcloud_vpc - tencentcloud_vpc_acls - tencentcloud_vpc_account_attributes - tencentcloud_vpc_classic_link_instances - tencentcloud_vpc_gateway_flow_monitor_detail - tencentcloud_vpc_gateway_flow_qos - tencentcloud_vpc_cvm_instances - tencentcloud_vpc_net_detect_states - tencentcloud_vpc_net_detect_state_check - tencentcloud_vpc_network_interface_limit - tencentcloud_vpc_private_ip_addresses - tencentcloud_vpc_product_quota - tencentcloud_vpc_resource_dashboard - tencentcloud_vpc_route_conflicts - tencentcloud_vpc_security_group_limits - tencentcloud_vpc_security_group_references - tencentcloud_vpc_sg_snapshot_file_content - tencentcloud_vpc_snapshot_files - tencentcloud_vpc_subnet_resource_dashboard - tencentcloud_vpc_template_limits - tencentcloud_vpc_used_ip_address - tencentcloud_vpc_limits - tencentcloud_vpc_instances - tencentcloud_vpc_route_tables - tencentcloud_vpc_subnets - tencentcloud_dnats - tencentcloud_enis - tencentcloud_ha_vip_eip_attachments - tencentcloud_ha_vips - tencentcloud_nat_gateways - tencentcloud_nat_gateway_snats - tencentcloud_nats - tencentcloud_nat_dc_route - tencentcloud_vpc_bandwidth_package_quota - tencentcloud_vpc_bandwidth_package_bill_usage - Resource - tencentcloud_eni - tencentcloud_eni_attachment - tencentcloud_eni_sg_attachment - tencentcloud_vpc - tencentcloud_vpc_acl - tencentcloud_vpc_acl_attachment - tencentcloud_vpc_traffic_package - tencentcloud_vpc_snapshot_policy - tencentcloud_vpc_snapshot_policy_attachment - tencentcloud_vpc_snapshot_policy_config - tencentcloud_vpc_net_detect - tencentcloud_vpc_dhcp_ip - tencentcloud_vpc_ipv6_cidr_block - tencentcloud_vpc_ipv6_subnet_cidr_block - tencentcloud_vpc_ipv6_eni_address - tencentcloud_vpc_local_gateway - tencentcloud_vpc_resume_snapshot_instance - tencentcloud_subnet - tencentcloud_security_group - tencentcloud_security_group_rule - tencentcloud_security_group_rule_set - tencentcloud_security_group_lite_rule - tencentcloud_address_template - tencentcloud_address_template_group - tencentcloud_protocol_template - tencentcloud_protocol_template_group - tencentcloud_route_table - tencentcloud_route_entry - tencentcloud_route_table_entry - tencentcloud_dnat - tencentcloud_nat_gateway - tencentcloud_nat_gateway_snat - tencentcloud_nat_refresh_nat_dc_route - tencentcloud_ha_vip - tencentcloud_ha_vip_eip_attachment - tencentcloud_vpc_bandwidth_package - tencentcloud_vpc_bandwidth_package_attachment - tencentcloud_ipv6_address_bandwidth + Data Source + tencentcloud_route_table + tencentcloud_security_group + tencentcloud_security_groups + tencentcloud_address_templates + tencentcloud_address_template_groups + tencentcloud_protocol_templates + tencentcloud_protocol_template_groups + tencentcloud_subnet + tencentcloud_vpc + tencentcloud_vpc_acls + tencentcloud_vpc_account_attributes + tencentcloud_vpc_classic_link_instances + tencentcloud_vpc_gateway_flow_monitor_detail + tencentcloud_vpc_gateway_flow_qos + tencentcloud_vpc_cvm_instances + tencentcloud_vpc_net_detect_states + tencentcloud_vpc_net_detect_state_check + tencentcloud_vpc_network_interface_limit + tencentcloud_vpc_private_ip_addresses + tencentcloud_vpc_product_quota + tencentcloud_vpc_resource_dashboard + tencentcloud_vpc_route_conflicts + tencentcloud_vpc_security_group_limits + tencentcloud_vpc_security_group_references + tencentcloud_vpc_sg_snapshot_file_content + tencentcloud_vpc_snapshot_files + tencentcloud_vpc_subnet_resource_dashboard + tencentcloud_vpc_template_limits + tencentcloud_vpc_used_ip_address + tencentcloud_vpc_limits + tencentcloud_vpc_instances + tencentcloud_vpc_route_tables + tencentcloud_vpc_subnets + tencentcloud_dnats + tencentcloud_enis + tencentcloud_ha_vip_eip_attachments + tencentcloud_ha_vips + tencentcloud_nat_gateways + tencentcloud_nat_gateway_snats + tencentcloud_nats + tencentcloud_nat_dc_route + tencentcloud_vpc_bandwidth_package_quota + tencentcloud_vpc_bandwidth_package_bill_usage + + Resource + tencentcloud_eni + tencentcloud_eni_attachment + tencentcloud_eni_sg_attachment + tencentcloud_vpc + tencentcloud_vpc_acl + tencentcloud_vpc_acl_attachment + tencentcloud_vpc_traffic_package + tencentcloud_vpc_snapshot_policy + tencentcloud_vpc_snapshot_policy_attachment + tencentcloud_vpc_snapshot_policy_config + tencentcloud_vpc_net_detect + tencentcloud_vpc_dhcp_ip + tencentcloud_vpc_ipv6_cidr_block + tencentcloud_vpc_ipv6_subnet_cidr_block + tencentcloud_vpc_ipv6_eni_address + tencentcloud_vpc_local_gateway + tencentcloud_vpc_resume_snapshot_instance + tencentcloud_subnet + tencentcloud_security_group + tencentcloud_security_group_rule + tencentcloud_security_group_rule_set + tencentcloud_security_group_lite_rule + tencentcloud_address_template + tencentcloud_address_template_group + tencentcloud_protocol_template + tencentcloud_protocol_template_group + tencentcloud_route_table + tencentcloud_route_entry + tencentcloud_route_table_entry + tencentcloud_dnat + tencentcloud_nat_gateway + tencentcloud_nat_gateway_snat + tencentcloud_nat_refresh_nat_dc_route + tencentcloud_ha_vip + tencentcloud_ha_vip_eip_attachment + tencentcloud_vpc_bandwidth_package + tencentcloud_vpc_bandwidth_package_attachment + tencentcloud_ipv6_address_bandwidth Private Link(PLS) - Resource - tencentcloud_vpc_end_point_service - tencentcloud_vpc_end_point - tencentcloud_vpc_enable_end_point_connect - tencentcloud_vpc_end_point_service_white_list + + Resource + tencentcloud_vpc_end_point_service + tencentcloud_vpc_end_point + tencentcloud_vpc_enable_end_point_connect + tencentcloud_vpc_end_point_service_white_list Flow Logs(FL) - Resource - tencentcloud_vpc_flow_log - tencentcloud_vpc_flow_log_config + + Resource + tencentcloud_vpc_flow_log + tencentcloud_vpc_flow_log_config VPN Connections(VPN) - Data Source - tencentcloud_vpn_connections - tencentcloud_vpn_customer_gateways - tencentcloud_vpn_gateways - tencentcloud_vpn_gateway_routes - tencentcloud_vpn_customer_gateway_vendors - tencentcloud_vpn_default_health_check_ip - Resource - tencentcloud_vpn_customer_gateway - tencentcloud_vpn_gateway - tencentcloud_vpn_gateway_route - tencentcloud_vpn_connection - tencentcloud_vpn_ssl_server - tencentcloud_vpn_ssl_client - tencentcloud_vpn_connection_reset - tencentcloud_vpn_customer_gateway_configuration_download - tencentcloud_vpn_gateway_ssl_client_cert - tencentcloud_vpn_gateway_ccn_routes + Data Source + tencentcloud_vpn_connections + tencentcloud_vpn_customer_gateways + tencentcloud_vpn_gateways + tencentcloud_vpn_gateway_routes + tencentcloud_vpn_customer_gateway_vendors + tencentcloud_vpn_default_health_check_ip + + Resource + tencentcloud_vpn_customer_gateway + tencentcloud_vpn_gateway + tencentcloud_vpn_gateway_route + tencentcloud_vpn_connection + tencentcloud_vpn_ssl_server + tencentcloud_vpn_ssl_client + tencentcloud_vpn_connection_reset + tencentcloud_vpn_customer_gateway_configuration_download + tencentcloud_vpn_gateway_ssl_client_cert + tencentcloud_vpn_gateway_ccn_routes MapReduce(EMR) - Data Source - tencentcloud_emr - tencentcloud_emr_nodes - Resource - tencentcloud_emr_cluster + Data Source + tencentcloud_emr + tencentcloud_emr_nodes + + Resource + tencentcloud_emr_cluster DNSPOD - Resource - tencentcloud_dnspod_domain_instance - tencentcloud_dnspod_record - Data Source - tencentcloud_dnspod_records + + Resource + tencentcloud_dnspod_domain_instance + tencentcloud_dnspod_record + Data Source + tencentcloud_dnspod_records PrivateDNS - Resource - tencentcloud_private_dns_zone - tencentcloud_private_dns_record - tencentcloud_private_dns_zone_vpc_attachment - Data Source - tencentcloud_private_dns_records + + Resource + tencentcloud_private_dns_zone + tencentcloud_private_dns_record + tencentcloud_private_dns_zone_vpc_attachment + Data Source + tencentcloud_private_dns_records Cloud Log Service(CLS) - Resource - tencentcloud_cls_logset - tencentcloud_cls_topic - tencentcloud_cls_config - tencentcloud_cls_config_extra - tencentcloud_cls_config_attachment - tencentcloud_cls_machine_group - tencentcloud_cls_cos_shipper - tencentcloud_cls_index - tencentcloud_cls_alarm - tencentcloud_cls_alarm_notice - tencentcloud_cls_ckafka_consumer - tencentcloud_cls_kafka_recharge - tencentcloud_cls_cos_recharge - tencentcloud_cls_export - tencentcloud_cls_scheduled_sql - tencentcloud_cls_data_transform - Data Source - tencentcloud_cls_shipper_tasks - tencentcloud_cls_machines - tencentcloud_cls_machine_group_configs + Resource + tencentcloud_cls_logset + tencentcloud_cls_topic + tencentcloud_cls_config + tencentcloud_cls_config_extra + tencentcloud_cls_config_attachment + tencentcloud_cls_machine_group + tencentcloud_cls_cos_shipper + tencentcloud_cls_index + tencentcloud_cls_alarm + tencentcloud_cls_alarm_notice + tencentcloud_cls_ckafka_consumer + tencentcloud_cls_kafka_recharge + tencentcloud_cls_cos_recharge + tencentcloud_cls_export + tencentcloud_cls_scheduled_sql + tencentcloud_cls_data_transform + + Data Source + tencentcloud_cls_shipper_tasks + tencentcloud_cls_machines + tencentcloud_cls_machine_group_configs TencentCloud Lighthouse(Lighthouse) - Resource - tencentcloud_lighthouse_instance - tencentcloud_lighthouse_blueprint - tencentcloud_lighthouse_firewall_rule - tencentcloud_lighthouse_disk_backup - tencentcloud_lighthouse_apply_disk_backup - tencentcloud_lighthouse_disk_attachment - tencentcloud_lighthouse_key_pair - tencentcloud_lighthouse_snapshot - tencentcloud_lighthouse_apply_instance_snapshot - tencentcloud_lighthouse_start_instance - tencentcloud_lighthouse_stop_instance - tencentcloud_lighthouse_reboot_instance - tencentcloud_lighthouse_key_pair_attachment - tencentcloud_lighthouse_disk - tencentcloud_lighthouse_renew_disk - tencentcloud_lighthouse_renew_instance - tencentcloud_lighthouse_firewall_template - Data Source - tencentcloud_lighthouse_firewall_rules_template - tencentcloud_lighthouse_bundle - tencentcloud_lighthouse_zone - tencentcloud_lighthouse_scene - tencentcloud_lighthouse_reset_instance_blueprint - tencentcloud_lighthouse_region - tencentcloud_lighthouse_instance_vnc_url - tencentcloud_lighthouse_instance_traffic_package - tencentcloud_lighthouse_instance_disk_num - tencentcloud_lighthouse_instance_blueprint - tencentcloud_lighthouse_disk_config - tencentcloud_lighthouse_all_scene - tencentcloud_lighthouse_modify_instance_bundle - tencentcloud_lighthouse_disks + Resource + tencentcloud_lighthouse_instance + tencentcloud_lighthouse_blueprint + tencentcloud_lighthouse_firewall_rule + tencentcloud_lighthouse_disk_backup + tencentcloud_lighthouse_apply_disk_backup + tencentcloud_lighthouse_disk_attachment + tencentcloud_lighthouse_key_pair + tencentcloud_lighthouse_snapshot + tencentcloud_lighthouse_apply_instance_snapshot + tencentcloud_lighthouse_start_instance + tencentcloud_lighthouse_stop_instance + tencentcloud_lighthouse_reboot_instance + tencentcloud_lighthouse_key_pair_attachment + tencentcloud_lighthouse_disk + tencentcloud_lighthouse_renew_disk + tencentcloud_lighthouse_renew_instance + tencentcloud_lighthouse_firewall_template + + Data Source + tencentcloud_lighthouse_firewall_rules_template + tencentcloud_lighthouse_bundle + tencentcloud_lighthouse_zone + tencentcloud_lighthouse_scene + tencentcloud_lighthouse_reset_instance_blueprint + tencentcloud_lighthouse_region + tencentcloud_lighthouse_instance_vnc_url + tencentcloud_lighthouse_instance_traffic_package + tencentcloud_lighthouse_instance_disk_num + tencentcloud_lighthouse_instance_blueprint + tencentcloud_lighthouse_disk_config + tencentcloud_lighthouse_all_scene + tencentcloud_lighthouse_modify_instance_bundle + tencentcloud_lighthouse_disks TencentCloud Elastic Microservice(TEM) - Resource - tencentcloud_tem_environment - tencentcloud_tem_application - tencentcloud_tem_workload - tencentcloud_tem_app_config - tencentcloud_tem_log_config - tencentcloud_tem_scale_rule - tencentcloud_tem_gateway - tencentcloud_tem_application_service + + Resource + tencentcloud_tem_environment + tencentcloud_tem_application + tencentcloud_tem_workload + tencentcloud_tem_app_config + tencentcloud_tem_log_config + tencentcloud_tem_scale_rule + tencentcloud_tem_gateway + tencentcloud_tem_application_service TencentCloud EdgeOne(TEO) - Data Source - tencentcloud_teo_zone_available_plans - tencentcloud_teo_rule_engine_settings + + Data Source + tencentcloud_teo_zone_available_plans + tencentcloud_teo_rule_engine_settings Resource tencentcloud_teo_zone @@ -1187,23 +1244,25 @@ TencentCloud EdgeOne(TEO) tencentcloud_teo_acceleration_domain TencentCloud ServiceMesh(TCM) - Data Source - tencentcloud_tcm_mesh - Resource - tencentcloud_tcm_mesh - tencentcloud_tcm_cluster_attachment - tencentcloud_tcm_prometheus_attachment - tencentcloud_tcm_tracing_config - tencentcloud_tcm_access_log_config + + Data Source + tencentcloud_tcm_mesh + Resource + tencentcloud_tcm_mesh + tencentcloud_tcm_cluster_attachment + tencentcloud_tcm_prometheus_attachment + tencentcloud_tcm_tracing_config + tencentcloud_tcm_access_log_config Simple Email Service(SES) - Data Source - tencentcloud_ses_receivers - tencentcloud_ses_send_tasks - tencentcloud_ses_email_identities - tencentcloud_ses_black_email_address - tencentcloud_ses_statistics_report - tencentcloud_ses_send_email_status + + Data Source + tencentcloud_ses_receivers + tencentcloud_ses_send_tasks + tencentcloud_ses_email_identities + tencentcloud_ses_black_email_address + tencentcloud_ses_statistics_report + tencentcloud_ses_send_email_status Resource tencentcloud_ses_domain @@ -1216,110 +1275,116 @@ Simple Email Service(SES) tencentcloud_ses_black_list_delete Security Token Service(STS) - Data Source - tencentcloud_sts_caller_identity + + Data Source + tencentcloud_sts_caller_identity TDSQL for MySQL(DCDB) - Data Source - tencentcloud_dcdb_instances - tencentcloud_dcdb_accounts - tencentcloud_dcdb_databases - tencentcloud_dcdb_parameters - tencentcloud_dcdb_shards - tencentcloud_dcdb_security_groups - tencentcloud_dcdb_database_objects - tencentcloud_dcdb_database_tables - tencentcloud_dcdb_file_download_url - tencentcloud_dcdb_log_files - tencentcloud_dcdb_instance_node_info - tencentcloud_dcdb_orders - tencentcloud_dcdb_price - tencentcloud_dcdb_project_security_groups - tencentcloud_dcdb_projects - tencentcloud_dcdb_renewal_price - tencentcloud_dcdb_sale_info - tencentcloud_dcdb_shard_spec - tencentcloud_dcdb_slow_logs - tencentcloud_dcdb_upgrade_price - Resource - tencentcloud_dcdb_account - tencentcloud_dcdb_hourdb_instance - tencentcloud_dcdb_security_group_attachment - tencentcloud_dcdb_account_privileges - tencentcloud_dcdb_db_parameters - tencentcloud_dcdb_db_sync_mode_config - tencentcloud_dcdb_encrypt_attributes_config - tencentcloud_dcdb_instance_config - tencentcloud_dcdb_cancel_dcn_job_operation - tencentcloud_dcdb_activate_hour_instance_operation - tencentcloud_dcdb_isolate_hour_instance_operation - tencentcloud_dcdb_flush_binlog_operation - tencentcloud_dcdb_switch_db_instance_ha_operation + Data Source + tencentcloud_dcdb_instances + tencentcloud_dcdb_accounts + tencentcloud_dcdb_databases + tencentcloud_dcdb_parameters + tencentcloud_dcdb_shards + tencentcloud_dcdb_security_groups + tencentcloud_dcdb_database_objects + tencentcloud_dcdb_database_tables + tencentcloud_dcdb_file_download_url + tencentcloud_dcdb_log_files + tencentcloud_dcdb_instance_node_info + tencentcloud_dcdb_orders + tencentcloud_dcdb_price + tencentcloud_dcdb_project_security_groups + tencentcloud_dcdb_projects + tencentcloud_dcdb_renewal_price + tencentcloud_dcdb_sale_info + tencentcloud_dcdb_shard_spec + tencentcloud_dcdb_slow_logs + tencentcloud_dcdb_upgrade_price + + Resource + tencentcloud_dcdb_account + tencentcloud_dcdb_hourdb_instance + tencentcloud_dcdb_security_group_attachment + tencentcloud_dcdb_account_privileges + tencentcloud_dcdb_db_parameters + tencentcloud_dcdb_db_sync_mode_config + tencentcloud_dcdb_encrypt_attributes_config + tencentcloud_dcdb_instance_config + tencentcloud_dcdb_cancel_dcn_job_operation + tencentcloud_dcdb_activate_hour_instance_operation + tencentcloud_dcdb_isolate_hour_instance_operation + tencentcloud_dcdb_flush_binlog_operation + tencentcloud_dcdb_switch_db_instance_ha_operation Short Message Service(SMS) - Resource - tencentcloud_sms_sign - tencentcloud_sms_template + + Resource + tencentcloud_sms_sign + tencentcloud_sms_template Cloud Automated Testing(CAT) - Data Source - tencentcloud_cat_probe_data - tencentcloud_cat_node - Resource - tencentcloud_cat_task_set + Data Source + tencentcloud_cat_probe_data + tencentcloud_cat_node + + Resource + tencentcloud_cat_task_set TencentDB for MariaDB(MariaDB) - Data Source - tencentcloud_mariadb_db_instances - tencentcloud_mariadb_accounts - tencentcloud_mariadb_security_groups - tencentcloud_mariadb_database_objects - tencentcloud_mariadb_databases - tencentcloud_mariadb_database_table - tencentcloud_mariadb_dcn_detail - tencentcloud_mariadb_file_download_url - tencentcloud_mariadb_flow - tencentcloud_mariadb_instance_specs - tencentcloud_mariadb_log_files - tencentcloud_mariadb_orders - tencentcloud_mariadb_price - tencentcloud_mariadb_project_security_groups - tencentcloud_mariadb_renewal_price - tencentcloud_mariadb_sale_info - tencentcloud_mariadb_slow_logs - tencentcloud_mariadb_upgrade_price - Resource - tencentcloud_mariadb_dedicatedcluster_db_instance - tencentcloud_mariadb_instance - tencentcloud_mariadb_hour_db_instance - tencentcloud_mariadb_account - tencentcloud_mariadb_parameters - tencentcloud_mariadb_log_file_retention_period - tencentcloud_mariadb_security_groups - tencentcloud_mariadb_account_privileges - tencentcloud_mariadb_operate_hour_db_instance - tencentcloud_mariadb_backup_time - tencentcloud_mariadb_cancel_dcn_job - tencentcloud_mariadb_flush_binlog - tencentcloud_mariadb_switch_ha - tencentcloud_mariadb_restart_instance - tencentcloud_mariadb_renew_instance - tencentcloud_mariadb_instance_config + Data Source + tencentcloud_mariadb_db_instances + tencentcloud_mariadb_accounts + tencentcloud_mariadb_security_groups + tencentcloud_mariadb_database_objects + tencentcloud_mariadb_databases + tencentcloud_mariadb_database_table + tencentcloud_mariadb_dcn_detail + tencentcloud_mariadb_file_download_url + tencentcloud_mariadb_flow + tencentcloud_mariadb_instance_specs + tencentcloud_mariadb_log_files + tencentcloud_mariadb_orders + tencentcloud_mariadb_price + tencentcloud_mariadb_project_security_groups + tencentcloud_mariadb_renewal_price + tencentcloud_mariadb_sale_info + tencentcloud_mariadb_slow_logs + tencentcloud_mariadb_upgrade_price + + Resource + tencentcloud_mariadb_dedicatedcluster_db_instance + tencentcloud_mariadb_instance + tencentcloud_mariadb_hour_db_instance + tencentcloud_mariadb_account + tencentcloud_mariadb_parameters + tencentcloud_mariadb_log_file_retention_period + tencentcloud_mariadb_security_groups + tencentcloud_mariadb_account_privileges + tencentcloud_mariadb_operate_hour_db_instance + tencentcloud_mariadb_backup_time + tencentcloud_mariadb_cancel_dcn_job + tencentcloud_mariadb_flush_binlog + tencentcloud_mariadb_switch_ha + tencentcloud_mariadb_restart_instance + tencentcloud_mariadb_renew_instance + tencentcloud_mariadb_instance_config Real User Monitoring(RUM) - Data Source - tencentcloud_rum_project - tencentcloud_rum_offline_log_config - tencentcloud_rum_whitelist - tencentcloud_rum_taw_instance - Resource - tencentcloud_rum_project - tencentcloud_rum_taw_instance - tencentcloud_rum_whitelist - tencentcloud_rum_offline_log_config_attachment + + Data Source + tencentcloud_rum_project + tencentcloud_rum_offline_log_config + tencentcloud_rum_whitelist + tencentcloud_rum_taw_instance + Resource + tencentcloud_rum_project + tencentcloud_rum_taw_instance + tencentcloud_rum_whitelist + tencentcloud_rum_offline_log_config_attachment Cloud Streaming Services(CSS) Resource @@ -1347,101 +1412,107 @@ Performance Testing Service(PTS) tencentcloud_pts_tmp_key_generate TencentCloud Automation Tools(TAT) - Data Source - tencentcloud_tat_command - tencentcloud_tat_invoker - tencentcloud_tat_invoker_records - tencentcloud_tat_agent - tencentcloud_tat_invocation_task - Resource - tencentcloud_tat_command - tencentcloud_tat_invoker - tencentcloud_tat_invoker_config - tencentcloud_tat_invocation_invoke_attachment - tencentcloud_tat_invocation_command_attachment + + Data Source + tencentcloud_tat_command + tencentcloud_tat_invoker + tencentcloud_tat_invoker_records + tencentcloud_tat_agent + tencentcloud_tat_invocation_task + Resource + tencentcloud_tat_command + tencentcloud_tat_invoker + tencentcloud_tat_invoker_config + tencentcloud_tat_invocation_invoke_attachment + tencentcloud_tat_invocation_command_attachment Tencent Cloud Organization (TCO) - Resource - tencentcloud_organization_org_node - tencentcloud_organization_org_member - tencentcloud_organization_policy_sub_account_attachment + + Resource + tencentcloud_organization_org_node + tencentcloud_organization_org_member + tencentcloud_organization_policy_sub_account_attachment TDSQL-C for PostgreSQL(TDCPG) - Data Source - tencentcloud_tdcpg_clusters - tencentcloud_tdcpg_instances - Resource - tencentcloud_tdcpg_cluster - tencentcloud_tdcpg_instance + + Data Source + tencentcloud_tdcpg_clusters + tencentcloud_tdcpg_instances + Resource + tencentcloud_tdcpg_cluster + tencentcloud_tdcpg_instance TencentDB for DBbrain(dbbrain) - Data Source - tencentcloud_dbbrain_sql_filters - tencentcloud_dbbrain_security_audit_log_export_tasks - tencentcloud_dbbrain_diag_event - tencentcloud_dbbrain_diag_events - tencentcloud_dbbrain_diag_history - tencentcloud_dbbrain_security_audit_log_download_urls - tencentcloud_dbbrain_slow_log_time_series_stats - tencentcloud_dbbrain_slow_log_top_sqls - tencentcloud_dbbrain_slow_log_user_host_stats - tencentcloud_dbbrain_slow_log_user_sql_advice - tencentcloud_dbbrain_slow_logs - tencentcloud_dbbrain_health_scores - tencentcloud_dbbrain_sql_templates - tencentcloud_dbbrain_db_space_status - tencentcloud_dbbrain_top_space_schemas - tencentcloud_dbbrain_top_space_tables - tencentcloud_dbbrain_top_space_schema_time_series - tencentcloud_dbbrain_top_space_table_time_series - tencentcloud_dbbrain_diag_db_instances - tencentcloud_dbbrain_mysql_process_list - tencentcloud_dbbrain_no_primary_key_tables - tencentcloud_dbbrain_redis_top_big_keys - tencentcloud_dbbrain_redis_top_key_prefix_list - Resource - tencentcloud_dbbrain_sql_filter - tencentcloud_dbbrain_security_audit_log_export_task - tencentcloud_dbbrain_db_diag_report_task - tencentcloud_dbbrain_modify_diag_db_instance_operation - tencentcloud_dbbrain_tdsql_audit_log + Data Source + tencentcloud_dbbrain_sql_filters + tencentcloud_dbbrain_security_audit_log_export_tasks + tencentcloud_dbbrain_diag_event + tencentcloud_dbbrain_diag_events + tencentcloud_dbbrain_diag_history + tencentcloud_dbbrain_security_audit_log_download_urls + tencentcloud_dbbrain_slow_log_time_series_stats + tencentcloud_dbbrain_slow_log_top_sqls + tencentcloud_dbbrain_slow_log_user_host_stats + tencentcloud_dbbrain_slow_log_user_sql_advice + tencentcloud_dbbrain_slow_logs + tencentcloud_dbbrain_health_scores + tencentcloud_dbbrain_sql_templates + tencentcloud_dbbrain_db_space_status + tencentcloud_dbbrain_top_space_schemas + tencentcloud_dbbrain_top_space_tables + tencentcloud_dbbrain_top_space_schema_time_series + tencentcloud_dbbrain_top_space_table_time_series + tencentcloud_dbbrain_diag_db_instances + tencentcloud_dbbrain_mysql_process_list + tencentcloud_dbbrain_no_primary_key_tables + tencentcloud_dbbrain_redis_top_big_keys + tencentcloud_dbbrain_redis_top_key_prefix_list + + Resource + tencentcloud_dbbrain_sql_filter + tencentcloud_dbbrain_security_audit_log_export_task + tencentcloud_dbbrain_db_diag_report_task + tencentcloud_dbbrain_modify_diag_db_instance_operation + tencentcloud_dbbrain_tdsql_audit_log Data Transmission Service(DTS) - Data Source - tencentcloud_dts_sync_jobs - tencentcloud_dts_migrate_jobs - tencentcloud_dts_compare_tasks - tencentcloud_dts_migrate_db_instances - Resource - tencentcloud_dts_sync_job - tencentcloud_dts_sync_config - tencentcloud_dts_sync_check_job_operation - tencentcloud_dts_sync_job_resume_operation - tencentcloud_dts_sync_job_start_operation - tencentcloud_dts_sync_job_stop_operation - tencentcloud_dts_sync_job_resize_operation - tencentcloud_dts_sync_job_recover_operation - tencentcloud_dts_sync_job_isolate_operation - tencentcloud_dts_sync_job_continue_operation - tencentcloud_dts_sync_job_pause_operation - tencentcloud_dts_migrate_service - tencentcloud_dts_migrate_job - tencentcloud_dts_migrate_job_config - tencentcloud_dts_migrate_job_start_operation - tencentcloud_dts_migrate_job_resume_operation - tencentcloud_dts_compare_task_stop_operation - tencentcloud_dts_compare_task + Data Source + tencentcloud_dts_sync_jobs + tencentcloud_dts_migrate_jobs + tencentcloud_dts_compare_tasks + tencentcloud_dts_migrate_db_instances + + Resource + tencentcloud_dts_sync_job + tencentcloud_dts_sync_config + tencentcloud_dts_sync_check_job_operation + tencentcloud_dts_sync_job_resume_operation + tencentcloud_dts_sync_job_start_operation + tencentcloud_dts_sync_job_stop_operation + tencentcloud_dts_sync_job_resize_operation + tencentcloud_dts_sync_job_recover_operation + tencentcloud_dts_sync_job_isolate_operation + tencentcloud_dts_sync_job_continue_operation + tencentcloud_dts_sync_job_pause_operation + tencentcloud_dts_migrate_service + tencentcloud_dts_migrate_job + tencentcloud_dts_migrate_job_config + tencentcloud_dts_migrate_job_start_operation + tencentcloud_dts_migrate_job_resume_operation + tencentcloud_dts_compare_task_stop_operation + tencentcloud_dts_compare_task TDMQ for RocketMQ(trocket) - Data Source - tencentcloud_tdmq_rocketmq_cluster - tencentcloud_tdmq_rocketmq_namespace - tencentcloud_tdmq_rocketmq_topic - tencentcloud_tdmq_rocketmq_role - tencentcloud_tdmq_rocketmq_group - tencentcloud_tdmq_rocketmq_messages + + Data Source + tencentcloud_tdmq_rocketmq_cluster + tencentcloud_tdmq_rocketmq_namespace + tencentcloud_tdmq_rocketmq_topic + tencentcloud_tdmq_rocketmq_role + tencentcloud_tdmq_rocketmq_group + tencentcloud_tdmq_rocketmq_messages Resource tencentcloud_tdmq_rocketmq_cluster @@ -1458,103 +1529,106 @@ TDMQ for RocketMQ(trocket) tencentcloud_trocket_rocketmq_role TDMQ for RabbitMQ(trabbit) - Resource - tencentcloud_tdmq_rabbitmq_user - tencentcloud_tdmq_rabbitmq_virtual_host - tencentcloud_tdmq_rabbitmq_vip_instance + Resource + tencentcloud_tdmq_rabbitmq_user + tencentcloud_tdmq_rabbitmq_virtual_host + tencentcloud_tdmq_rabbitmq_vip_instance Cloud Infinite(CI) - Resource - tencentcloud_ci_bucket_attachment - tencentcloud_ci_bucket_pic_style - tencentcloud_ci_hot_link - tencentcloud_ci_media_snapshot_template - tencentcloud_ci_media_transcode_template - tencentcloud_ci_media_animation_template - tencentcloud_ci_media_concat_template - tencentcloud_ci_media_video_process_template - tencentcloud_ci_media_video_montage_template - tencentcloud_ci_media_voice_separate_template - tencentcloud_ci_media_super_resolution_template - tencentcloud_ci_media_pic_process_template - tencentcloud_ci_media_watermark_template - tencentcloud_ci_media_tts_template - tencentcloud_ci_media_transcode_pro_template - tencentcloud_ci_media_smart_cover_template - tencentcloud_ci_media_speech_recognition_template - tencentcloud_ci_guetzli - tencentcloud_ci_original_image_protection + + Resource + tencentcloud_ci_bucket_attachment + tencentcloud_ci_bucket_pic_style + tencentcloud_ci_hot_link + tencentcloud_ci_media_snapshot_template + tencentcloud_ci_media_transcode_template + tencentcloud_ci_media_animation_template + tencentcloud_ci_media_concat_template + tencentcloud_ci_media_video_process_template + tencentcloud_ci_media_video_montage_template + tencentcloud_ci_media_voice_separate_template + tencentcloud_ci_media_super_resolution_template + tencentcloud_ci_media_pic_process_template + tencentcloud_ci_media_watermark_template + tencentcloud_ci_media_tts_template + tencentcloud_ci_media_transcode_pro_template + tencentcloud_ci_media_smart_cover_template + tencentcloud_ci_media_speech_recognition_template + tencentcloud_ci_guetzli + tencentcloud_ci_original_image_protection TDMQ for CMQ - Data Source - tencentcloud_tcmq_queue - tencentcloud_tcmq_topic - tencentcloud_tcmq_subscribe - Resource - tencentcloud_tcmq_queue - tencentcloud_tcmq_topic - tencentcloud_tcmq_subscribe + Data Source + tencentcloud_tcmq_queue + tencentcloud_tcmq_topic + tencentcloud_tcmq_subscribe + + Resource + tencentcloud_tcmq_queue + tencentcloud_tcmq_topic + tencentcloud_tcmq_subscribe Tencent Service Framework(TSF) - Data Source - tencentcloud_tsf_application - tencentcloud_tsf_application_config - tencentcloud_tsf_application_file_config - tencentcloud_tsf_application_public_config - tencentcloud_tsf_cluster - tencentcloud_tsf_microservice - tencentcloud_tsf_unit_rules - tencentcloud_tsf_config_summary - tencentcloud_tsf_delivery_config_by_group_id - tencentcloud_tsf_delivery_configs - tencentcloud_tsf_public_config_summary - tencentcloud_tsf_api_group - tencentcloud_tsf_application_attribute - tencentcloud_tsf_business_log_configs - tencentcloud_tsf_api_detail - tencentcloud_tsf_microservice_api_version - tencentcloud_tsf_repository - tencentcloud_tsf_pod_instances - tencentcloud_tsf_gateway_all_group_apis - tencentcloud_tsf_group_gateways - tencentcloud_tsf_usable_unit_namespaces - tencentcloud_tsf_group_instances - tencentcloud_tsf_group_config_release - tencentcloud_tsf_container_group - tencentcloud_tsf_groups - tencentcloud_tsf_ms_api_list - Resource - tencentcloud_tsf_cluster - tencentcloud_tsf_microservice - tencentcloud_tsf_application_config - tencentcloud_tsf_api_group - tencentcloud_tsf_namespace - tencentcloud_tsf_path_rewrite - tencentcloud_tsf_unit_rule - tencentcloud_tsf_task - tencentcloud_tsf_config_template - tencentcloud_tsf_api_rate_limit_rule - tencentcloud_tsf_application_release_config - tencentcloud_tsf_lane - tencentcloud_tsf_lane_rule - tencentcloud_tsf_group - tencentcloud_tsf_application - tencentcloud_tsf_application_public_config_release - tencentcloud_tsf_application_public_config - tencentcloud_tsf_application_file_config_release - tencentcloud_tsf_instances_attachment - tencentcloud_tsf_bind_api_group - tencentcloud_tsf_application_file_config - tencentcloud_tsf_enable_unit_rule - tencentcloud_tsf_deploy_container_group - tencentcloud_tsf_deploy_vm_group - tencentcloud_tsf_release_api_group - tencentcloud_tsf_operate_container_group - tencentcloud_tsf_operate_group - tencentcloud_tsf_unit_namespace + Data Source + tencentcloud_tsf_application + tencentcloud_tsf_application_config + tencentcloud_tsf_application_file_config + tencentcloud_tsf_application_public_config + tencentcloud_tsf_cluster + tencentcloud_tsf_microservice + tencentcloud_tsf_unit_rules + tencentcloud_tsf_config_summary + tencentcloud_tsf_delivery_config_by_group_id + tencentcloud_tsf_delivery_configs + tencentcloud_tsf_public_config_summary + tencentcloud_tsf_api_group + tencentcloud_tsf_application_attribute + tencentcloud_tsf_business_log_configs + tencentcloud_tsf_api_detail + tencentcloud_tsf_microservice_api_version + tencentcloud_tsf_repository + tencentcloud_tsf_pod_instances + tencentcloud_tsf_gateway_all_group_apis + tencentcloud_tsf_group_gateways + tencentcloud_tsf_usable_unit_namespaces + tencentcloud_tsf_group_instances + tencentcloud_tsf_group_config_release + tencentcloud_tsf_container_group + tencentcloud_tsf_groups + tencentcloud_tsf_ms_api_list + + Resource + tencentcloud_tsf_cluster + tencentcloud_tsf_microservice + tencentcloud_tsf_application_config + tencentcloud_tsf_api_group + tencentcloud_tsf_namespace + tencentcloud_tsf_path_rewrite + tencentcloud_tsf_unit_rule + tencentcloud_tsf_task + tencentcloud_tsf_config_template + tencentcloud_tsf_api_rate_limit_rule + tencentcloud_tsf_application_release_config + tencentcloud_tsf_lane + tencentcloud_tsf_lane_rule + tencentcloud_tsf_group + tencentcloud_tsf_application + tencentcloud_tsf_application_public_config_release + tencentcloud_tsf_application_public_config + tencentcloud_tsf_application_file_config_release + tencentcloud_tsf_instances_attachment + tencentcloud_tsf_bind_api_group + tencentcloud_tsf_application_file_config + tencentcloud_tsf_enable_unit_rule + tencentcloud_tsf_deploy_container_group + tencentcloud_tsf_deploy_vm_group + tencentcloud_tsf_release_api_group + tencentcloud_tsf_operate_container_group + tencentcloud_tsf_operate_group + tencentcloud_tsf_unit_namespace Media Processing Service(MPS) Resource @@ -1573,26 +1647,29 @@ Media Processing Service(MPS) tencentcloud_mps_withdraws_watermark_operation Cloud HDFS(CHDFS) - Data Source - tencentcloud_chdfs_access_groups - tencentcloud_chdfs_mount_points - tencentcloud_chdfs_file_systems - Resource - tencentcloud_chdfs_access_group - tencentcloud_chdfs_access_rule - tencentcloud_chdfs_file_system - tencentcloud_chdfs_life_cycle_rule - tencentcloud_chdfs_mount_point - tencentcloud_chdfs_mount_point_attachment + Data Source + tencentcloud_chdfs_access_groups + tencentcloud_chdfs_mount_points + tencentcloud_chdfs_file_systems + + Resource + tencentcloud_chdfs_access_group + tencentcloud_chdfs_access_rule + tencentcloud_chdfs_file_system + tencentcloud_chdfs_life_cycle_rule + tencentcloud_chdfs_mount_point + tencentcloud_chdfs_mount_point_attachment StreamLive(MDL) - Resource - tencentcloud_mdl_stream_live_input + + Resource + tencentcloud_mdl_stream_live_input Application Performance Management(APM) - Resource - tencentcloud_apm_instance + + Resource + tencentcloud_apm_instance Tencent Cloud Service Engine(TSE) Data Source @@ -1621,46 +1698,51 @@ Tencent Cloud Service Engine(TSE) tencentcloud_tse_cngw_certificate ClickHouse(CDWCH) - Data Source - tencentcloud_clickhouse_backup_jobs - tencentcloud_clickhouse_backup_job_detail - tencentcloud_clickhouse_backup_tables - Resource - tencentcloud_clickhouse_instance - tencentcloud_clickhouse_backup - tencentcloud_clickhouse_backup_strategy - tencentcloud_clickhouse_recover_backup_job - tencentcloud_clickhouse_delete_backup_data - tencentcloud_clickhouse_account - tencentcloud_clickhouse_account_permission + Data Source + tencentcloud_clickhouse_backup_jobs + tencentcloud_clickhouse_backup_job_detail + tencentcloud_clickhouse_backup_tables + + Resource + tencentcloud_clickhouse_instance + tencentcloud_clickhouse_backup + tencentcloud_clickhouse_backup_strategy + tencentcloud_clickhouse_recover_backup_job + tencentcloud_clickhouse_delete_backup_data + tencentcloud_clickhouse_account + tencentcloud_clickhouse_account_permission Tag - Resource - tencentcloud_tag - tencentcloud_tag_attachment + + Resource + tencentcloud_tag + tencentcloud_tag_attachment EventBridge(EB) - Data Source - tencentcloud_eb_bus - tencentcloud_eb_event_rules - Resource - tencentcloud_eb_event_transform - tencentcloud_eb_event_bus - tencentcloud_eb_event_rule - tencentcloud_eb_event_target - tencentcloud_eb_put_events - tencentcloud_eb_event_connector + Data Source + tencentcloud_eb_bus + tencentcloud_eb_event_rules + + Resource + tencentcloud_eb_event_transform + tencentcloud_eb_event_bus + tencentcloud_eb_event_rule + tencentcloud_eb_event_target + tencentcloud_eb_put_events + tencentcloud_eb_event_connector Data Lake Compute(DLC) - Resource - tencentcloud_dlc_work_group - tencentcloud_dlc_user + + Resource + tencentcloud_dlc_work_group + tencentcloud_dlc_user WeData - Data Source - tencentcloud_wedata_rule_templates + + Data Source + tencentcloud_wedata_rule_templates Resource tencentcloud_wedata_rule_template diff --git a/tencentcloud/resource_tc_cat_task_set.go b/tencentcloud/resource_tc_cat_task_set.go index 07bba8ccac..92e1f43a14 100644 --- a/tencentcloud/resource_tc_cat_task_set.go +++ b/tencentcloud/resource_tc_cat_task_set.go @@ -1,49 +1,50 @@ /* Provides a resource to create a cat task_set -Example Usage +# Example Usage ```hcl -resource "tencentcloud_cat_task_set" "task_set" { - batch_tasks { - name = "demo" - target_address = "http://www.baidu.com" - } - task_type = 5 - nodes = ["12136", "12137", "12138", "12141", "12144"] - interval = 6 - parameters = jsonencode( - { - "ipType" = 0, - "grabBag" = 0, - "filterIp" = 0, - "netIcmpOn" = 1, - "netIcmpActivex" = 0, - "netIcmpTimeout" = 20, - "netIcmpInterval" = 0.5, - "netIcmpNum" = 20, - "netIcmpSize" = 32, - "netIcmpDataCut" = 1, - "netDnsOn" = 1, - "netDnsTimeout" = 5, - "netDnsQuerymethod" = 1, - "netDnsNs" = "", - "netDigOn" = 1, - "netDnsServer" = 2, - "netTracertOn" = 1, - "netTracertTimeout" = 60, - "netTracertNum" = 30, - "whiteList" = "", - "blackList" = "", - "netIcmpActivexStr" = "" - } - ) - task_category = 1 - cron = "* 0-6 * * *" - tags = { - "createdBy" = "terraform" - } -} + + resource "tencentcloud_cat_task_set" "task_set" { + batch_tasks { + name = "demo" + target_address = "http://www.baidu.com" + } + task_type = 5 + nodes = ["12136", "12137", "12138", "12141", "12144"] + interval = 6 + parameters = jsonencode( + { + "ipType" = 0, + "grabBag" = 0, + "filterIp" = 0, + "netIcmpOn" = 1, + "netIcmpActivex" = 0, + "netIcmpTimeout" = 20, + "netIcmpInterval" = 0.5, + "netIcmpNum" = 20, + "netIcmpSize" = 32, + "netIcmpDataCut" = 1, + "netDnsOn" = 1, + "netDnsTimeout" = 5, + "netDnsQuerymethod" = 1, + "netDnsNs" = "", + "netDigOn" = 1, + "netDnsServer" = 2, + "netTracertOn" = 1, + "netTracertTimeout" = 60, + "netTracertNum" = 30, + "whiteList" = "", + "blackList" = "", + "netIcmpActivexStr" = "" + } + ) + task_category = 1 + cron = "* 0-6 * * *" + tags = { + "createdBy" = "terraform" + } + } ``` Import diff --git a/tencentcloud/service_tencentcloud_cat.go b/tencentcloud/service_tencentcloud_cat.go index de0a070510..3d0cf90ed7 100644 --- a/tencentcloud/service_tencentcloud_cat.go +++ b/tencentcloud/service_tencentcloud_cat.go @@ -91,6 +91,59 @@ func (me *CatService) DeleteCatTaskSetById(ctx context.Context, taskId string) ( return } +func (me *CatService) DescribeCatProbeNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefine, errRet error) { + var ( + logId = getLogId(ctx) + request = cat.NewDescribeProbeNodesRequest() + ) + + defer func() { + if errRet != nil { + log.Printf("[CRITAL]%s api[%s] fail, request body [%s], reason[%s]\n", + logId, "query object", request.ToJsonString(), errRet.Error()) + } + }() + + for k, v := range param { + if k == "node_type" { + request.NodeType = v.(*int64) + } + + if k == "location" { + request.Location = v.(*int64) + } + + if k == "is_ipv6" { + request.IsIPv6 = v.(*bool) + } + + if k == "node_name" { + request.NodeName = v.(*string) + } + + if k == "pay_mode" { + request.PayMode = v.(*int64) + } + + } + + ratelimit.Check(request.GetAction()) + response, err := me.client.UseCatClient().DescribeProbeNodes(request) + if err != nil { + log.Printf("[CRITAL]%s api[%s] fail, request body [%s], reason[%s]\n", + logId, request.GetAction(), request.ToJsonString(), err.Error()) + errRet = err + return + } + log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", + logId, request.GetAction(), request.ToJsonString(), response.ToJsonString()) + + node = append(node, response.Response.NodeSet...) + + return +} + +// DescribeNodes interface is an alternative interface to DescribeProbeNodes, but it lacks the NodeDefineStatus field, so both interfaces are used at the same time. func (me *CatService) DescribeCatNodeByFilter(ctx context.Context, param map[string]interface{}) (node []*cat.NodeDefineExt, errRet error) { var ( logId = getLogId(ctx) From f0024f299e8ab4d6e88c8e10406e371dc99f2a58 Mon Sep 17 00:00:00 2001 From: arunma Date: Fri, 22 Sep 2023 18:01:04 +0800 Subject: [PATCH 08/20] fix: modify test --- tencentcloud/resource_tc_cat_task_set.go | 84 ++++++++++++------------ 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/tencentcloud/resource_tc_cat_task_set.go b/tencentcloud/resource_tc_cat_task_set.go index 92e1f43a14..66470aca20 100644 --- a/tencentcloud/resource_tc_cat_task_set.go +++ b/tencentcloud/resource_tc_cat_task_set.go @@ -1,51 +1,49 @@ /* Provides a resource to create a cat task_set -# Example Usage +Example Usage ```hcl - - resource "tencentcloud_cat_task_set" "task_set" { - batch_tasks { - name = "demo" - target_address = "http://www.baidu.com" - } - task_type = 5 - nodes = ["12136", "12137", "12138", "12141", "12144"] - interval = 6 - parameters = jsonencode( - { - "ipType" = 0, - "grabBag" = 0, - "filterIp" = 0, - "netIcmpOn" = 1, - "netIcmpActivex" = 0, - "netIcmpTimeout" = 20, - "netIcmpInterval" = 0.5, - "netIcmpNum" = 20, - "netIcmpSize" = 32, - "netIcmpDataCut" = 1, - "netDnsOn" = 1, - "netDnsTimeout" = 5, - "netDnsQuerymethod" = 1, - "netDnsNs" = "", - "netDigOn" = 1, - "netDnsServer" = 2, - "netTracertOn" = 1, - "netTracertTimeout" = 60, - "netTracertNum" = 30, - "whiteList" = "", - "blackList" = "", - "netIcmpActivexStr" = "" - } - ) - task_category = 1 - cron = "* 0-6 * * *" - tags = { - "createdBy" = "terraform" - } - } - +resource "tencentcloud_cat_task_set" "task_set" { + batch_tasks { + name = "demo" + target_address = "http://www.baidu.com" + } + task_type = 5 + nodes = ["12136", "12137", "12138", "12141", "12144"] + interval = 6 + parameters = jsonencode( + { + "ipType" = 0, + "grabBag" = 0, + "filterIp" = 0, + "netIcmpOn" = 1, + "netIcmpActivex" = 0, + "netIcmpTimeout" = 20, + "netIcmpInterval" = 0.5, + "netIcmpNum" = 20, + "netIcmpSize" = 32, + "netIcmpDataCut" = 1, + "netDnsOn" = 1, + "netDnsTimeout" = 5, + "netDnsQuerymethod" = 1, + "netDnsNs" = "", + "netDigOn" = 1, + "netDnsServer" = 2, + "netTracertOn" = 1, + "netTracertTimeout" = 60, + "netTracertNum" = 30, + "whiteList" = "", + "blackList" = "", + "netIcmpActivexStr" = "" + } + ) + task_category = 1 + cron = "* 0-6 * * *" + tags = { + "createdBy" = "terraform" + } +} ``` Import From bcbabc9ff7fa60ae6d0d369ddcc72ee8b873c1e3 Mon Sep 17 00:00:00 2001 From: arunma Date: Fri, 22 Sep 2023 18:02:14 +0800 Subject: [PATCH 09/20] fix: modify test --- .../data_source_tc_cat_metric_data.go | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/tencentcloud/data_source_tc_cat_metric_data.go b/tencentcloud/data_source_tc_cat_metric_data.go index edccefc79b..498416e41d 100644 --- a/tencentcloud/data_source_tc_cat_metric_data.go +++ b/tencentcloud/data_source_tc_cat_metric_data.go @@ -2,17 +2,15 @@ Use this data source to query detailed information of cat metric_data Example Usage ```hcl - - data "tencentcloud_cat_metric_data" "metric_data" { - analyze_task_type = "AnalyzeTaskType_Network" - metric_type = "gauge" - field = "avg(\"ping_time\")" - filters = [ - "\"host\" = 'www.qq.com'", - "time >= now()-1h", - ] - } - +data "tencentcloud_cat_metric_data" "metric_data" { + analyze_task_type = "AnalyzeTaskType_Network" + metric_type = "gauge" + field = "avg(\"ping_time\")" + filters = [ + "\"host\" = 'www.qq.com'", + "time >= now()-1h", + ] +} ``` */ package tencentcloud From 1acae69452e886108c42abeb4215358f391f0e16 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 15:42:20 +0800 Subject: [PATCH 10/20] fix: modify test --- tencentcloud/data_source_tc_cat_node.go | 26 +++---- tencentcloud/resource_tc_cat_task_set_test.go | 76 ++++++++++++++++++- 2 files changed, 85 insertions(+), 17 deletions(-) diff --git a/tencentcloud/data_source_tc_cat_node.go b/tencentcloud/data_source_tc_cat_node.go index 97d93b6ada..bff9e7d957 100644 --- a/tencentcloud/data_source_tc_cat_node.go +++ b/tencentcloud/data_source_tc_cat_node.go @@ -1,16 +1,14 @@ /* Use this data source to query detailed information of cat node -# Example Usage +Example Usage ```hcl - - data "tencentcloud_cat_node" "node"{ - node_type = 1 - location = 2 - is_ipv6 = false - } - +data "tencentcloud_cat_node" "node"{ + node_type = 1 + location = 2 + is_ipv6 = false +} ``` */ package tencentcloud @@ -228,14 +226,12 @@ func dataSourceTencentCloudCatNodeRead(d *schema.ResourceData, meta interface{}) nodeSetMap["node_define_status"] = nodeSet.NodeDefineStatus } - if nodeSetExt != nil { - for _, node := range nodeSetExt { - if *node.Code == *nodeSet.Code { - if node.TaskTypes != nil { - nodeSetMap["task_types"] = node.TaskTypes - } - break + for _, node := range nodeSetExt { + if *node.Code == *nodeSet.Code { + if node.TaskTypes != nil { + nodeSetMap["task_types"] = node.TaskTypes } + break } } diff --git a/tencentcloud/resource_tc_cat_task_set_test.go b/tencentcloud/resource_tc_cat_task_set_test.go index ed5475faf6..af93f32005 100644 --- a/tencentcloud/resource_tc_cat_task_set_test.go +++ b/tencentcloud/resource_tc_cat_task_set_test.go @@ -18,7 +18,16 @@ func TestAccTencentCloudCatTaskSet_basic(t *testing.T) { Config: testAccCatTaskSet, Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttrSet("tencentcloud_cat_task_set.task_set", "id"), - resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "name", "demo"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "batch_tasks.#", "1"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "batch_tasks.0.name", "demo"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "batch_tasks.0.target_address", "http://www.baidu.com"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "task_type", "5"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "nodes.#", "5"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "interval", "6"), + resource.TestCheckResourceAttrSet("tencentcloud_cat_task_set.task_set", "parameters"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "task_category", "1"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "cron", "* 0-6 * * *"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "tags.createdBy", "terraform"), ), }, { @@ -30,7 +39,23 @@ func TestAccTencentCloudCatTaskSet_basic(t *testing.T) { Config: testAccCatTaskSetUp, Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttrSet("tencentcloud_cat_task_set.task_set", "id"), - resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "name", "demo_test"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "batch_tasks.0.name", "demo_test"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "batch_tasks.0.target_address", "http://www.baidu.com"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "task_type", "5"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "nodes.#", "5"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "interval", "6"), + resource.TestCheckResourceAttrSet("tencentcloud_cat_task_set.task_set", "parameters"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "task_category", "1"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "cron", "* 0-6 * * *"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "tags.createdBy", "terraform"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "status", "4"), + ), + }, + { + Config: testAccCatTaskSetResume, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttrSet("tencentcloud_cat_task_set.task_set", "id"), + resource.TestCheckResourceAttr("tencentcloud_cat_task_set.task_set", "status", "10"), ), }, }, @@ -123,6 +148,53 @@ resource "tencentcloud_cat_task_set" "task_set" { tags = { "createdBy" = "terraform" } + operate = "suspend" +} + +` + +const testAccCatTaskSetResume = ` + +resource "tencentcloud_cat_task_set" "task_set" { + batch_tasks { + name = "demo_test" + target_address = "http://www.baidu.com" + } + task_type = 5 + nodes = ["12136", "12137", "12138", "12141", "12144"] + interval = 6 + parameters = jsonencode( + { + "ipType" = 0, + "grabBag" = 0, + "filterIp" = 0, + "netIcmpOn" = 1, + "netIcmpActivex" = 0, + "netIcmpTimeout" = 20, + "netIcmpInterval" = 0.5, + "netIcmpNum" = 20, + "netIcmpSize" = 32, + "netIcmpDataCut" = 1, + "netDnsOn" = 1, + "netDnsTimeout" = 5, + "netDnsQuerymethod" = 1, + "netDnsNs" = "", + "netDigOn" = 1, + "netDnsServer" = 2, + "netTracertOn" = 1, + "netTracertTimeout" = 60, + "netTracertNum" = 30, + "whiteList" = "", + "blackList" = "", + "netIcmpActivexStr" = "" + } + ) + task_category = 1 + cron = "* 0-6 * * *" + tags = { + "createdBy" = "terraform" + } + operate = "resume" } ` From fd22f9344ebe9caa0abb89361c0304f6d5d34a00 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 16:27:07 +0800 Subject: [PATCH 11/20] fix: modify provider --- tencentcloud/provider.go | 2751 ++++++++++++++++++-------------------- 1 file changed, 1335 insertions(+), 1416 deletions(-) diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index d343a4416c..45565081fb 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -6,1232 +6,1175 @@ Use the navigation on the left to read about the available resources. -> **Note:** From version 1.9.0 (June 18, 2019), the provider start to support Terraform 0.12.x. -# Example Usage +Example Usage ```hcl - - terraform { - required_providers { - tencentcloud = { - source = "tencentcloudstack/tencentcloud" - } - } - } +terraform { + required_providers { + tencentcloud = { + source = "tencentcloudstack/tencentcloud" + } + } +} # Configure the TencentCloud Provider - - provider "tencentcloud" { - secret_id = var.secret_id - secret_key = var.secret_key - region = var.region - } +provider "tencentcloud" { + secret_id = var.secret_id + secret_key = var.secret_key + region = var.region +} #Configure the TencentCloud Provider with STS - - provider "tencentcloud" { - secret_id = var.secret_id - secret_key = var.secret_key - region = var.region - assume_role { - role_arn = var.assume_role_arn - session_name = var.session_name - session_duration = var.session_duration - policy = var.policy - } - } - +provider "tencentcloud" { + secret_id = var.secret_id + secret_key = var.secret_key + region = var.region + assume_role { + role_arn = var.assume_role_arn + session_name = var.session_name + session_duration = var.session_duration + policy = var.policy + } +} ``` -# Resources List +Resources List Provider Data Sources - - tencentcloud_availability_regions - tencentcloud_availability_zones_by_product - tencentcloud_availability_zones + tencentcloud_availability_regions + tencentcloud_availability_zones_by_product + tencentcloud_availability_zones Project + Data Source + tencentcloud_projects - Data Source - tencentcloud_projects - - Resource - tencentcloud_project + Resource + tencentcloud_project Anti-DDoS(DayuV2) + Data Source + tencentcloud_dayu_eip + tencentcloud_dayu_l4_rules_v2 + tencentcloud_dayu_l7_rules_v2 - Data Source - tencentcloud_dayu_eip - tencentcloud_dayu_l4_rules_v2 - tencentcloud_dayu_l7_rules_v2 - - Resource - tencentcloud_dayu_eip - tencentcloud_dayu_l4_rule - tencentcloud_dayu_l7_rule_v2 - tencentcloud_dayu_ddos_policy_v2 - tencentcloud_dayu_cc_policy_v2 - tencentcloud_dayu_ddos_ip_attachment_v2 + Resource + tencentcloud_dayu_eip + tencentcloud_dayu_l4_rule + tencentcloud_dayu_l7_rule_v2 + tencentcloud_dayu_ddos_policy_v2 + tencentcloud_dayu_cc_policy_v2 + tencentcloud_dayu_ddos_ip_attachment_v2 Anti-DDoS(Dayu) + Data Source + tencentcloud_dayu_cc_http_policies + tencentcloud_dayu_cc_https_policies + tencentcloud_dayu_ddos_policies + tencentcloud_dayu_ddos_policy_attachments + tencentcloud_dayu_ddos_policy_cases + tencentcloud_dayu_l4_rules + tencentcloud_dayu_l7_rules - Data Source - tencentcloud_dayu_cc_http_policies - tencentcloud_dayu_cc_https_policies - tencentcloud_dayu_ddos_policies - tencentcloud_dayu_ddos_policy_attachments - tencentcloud_dayu_ddos_policy_cases - tencentcloud_dayu_l4_rules - tencentcloud_dayu_l7_rules - - Resource - tencentcloud_dayu_cc_http_policy - tencentcloud_dayu_cc_https_policy - tencentcloud_dayu_ddos_policy - tencentcloud_dayu_ddos_policy_attachment - tencentcloud_dayu_ddos_policy_case - tencentcloud_dayu_l4_rule - tencentcloud_dayu_l7_rule + Resource + tencentcloud_dayu_cc_http_policy + tencentcloud_dayu_cc_https_policy + tencentcloud_dayu_ddos_policy + tencentcloud_dayu_ddos_policy_attachment + tencentcloud_dayu_ddos_policy_case + tencentcloud_dayu_l4_rule + tencentcloud_dayu_l7_rule API GateWay + Data Source + tencentcloud_api_gateway_apis + tencentcloud_api_gateway_services + tencentcloud_api_gateway_throttling_services + tencentcloud_api_gateway_throttling_apis + tencentcloud_api_gateway_usage_plans + tencentcloud_api_gateway_ip_strategies + tencentcloud_api_gateway_customer_domains + tencentcloud_api_gateway_usage_plan_environments + tencentcloud_api_gateway_api_keys + tencentcloud_api_gateway_api_docs + tencentcloud_api_gateway_api_apps + tencentcloud_api_gateway_plugins + tencentcloud_api_gateway_upstreams + tencentcloud_api_gateway_api_usage_plans + tencentcloud_api_gateway_api_app_service - Data Source - tencentcloud_api_gateway_apis - tencentcloud_api_gateway_services - tencentcloud_api_gateway_throttling_services - tencentcloud_api_gateway_throttling_apis - tencentcloud_api_gateway_usage_plans - tencentcloud_api_gateway_ip_strategies - tencentcloud_api_gateway_customer_domains - tencentcloud_api_gateway_usage_plan_environments - tencentcloud_api_gateway_api_keys - tencentcloud_api_gateway_api_docs - tencentcloud_api_gateway_api_apps - tencentcloud_api_gateway_plugins - tencentcloud_api_gateway_upstreams - tencentcloud_api_gateway_api_usage_plans - tencentcloud_api_gateway_api_app_service - - Resource - tencentcloud_api_gateway_api - tencentcloud_api_gateway_service - tencentcloud_api_gateway_custom_domain - tencentcloud_api_gateway_usage_plan - tencentcloud_api_gateway_usage_plan_attachment - tencentcloud_api_gateway_ip_strategy - tencentcloud_api_gateway_strategy_attachment - tencentcloud_api_gateway_api_key - tencentcloud_api_gateway_api_key_attachment - tencentcloud_api_gateway_service_release - tencentcloud_api_gateway_plugin - tencentcloud_api_gateway_plugin_attachment - tencentcloud_api_gateway_api_doc - tencentcloud_api_gateway_api_app - tencentcloud_api_gateway_upstream - tencentcloud_api_gateway_api_app_attachment + Resource + tencentcloud_api_gateway_api + tencentcloud_api_gateway_service + tencentcloud_api_gateway_custom_domain + tencentcloud_api_gateway_usage_plan + tencentcloud_api_gateway_usage_plan_attachment + tencentcloud_api_gateway_ip_strategy + tencentcloud_api_gateway_strategy_attachment + tencentcloud_api_gateway_api_key + tencentcloud_api_gateway_api_key_attachment + tencentcloud_api_gateway_service_release + tencentcloud_api_gateway_plugin + tencentcloud_api_gateway_plugin_attachment + tencentcloud_api_gateway_api_doc + tencentcloud_api_gateway_api_app + tencentcloud_api_gateway_upstream + tencentcloud_api_gateway_api_app_attachment Cloud Audit(Audit) + Data Source + tencentcloud_audit_cos_regions + tencentcloud_audit_key_alias + tencentcloud_audits - Data Source - tencentcloud_audit_cos_regions - tencentcloud_audit_key_alias - tencentcloud_audits - - Resource - tencentcloud_audit - tencentcloud_audit_track + Resource + tencentcloud_audit + tencentcloud_audit_track Auto Scaling(AS) + Data Source + tencentcloud_as_scaling_configs + tencentcloud_as_scaling_groups + tencentcloud_as_scaling_policies + tencentcloud_as_instances + tencentcloud_as_advices + tencentcloud_as_limits + tencentcloud_as_last_activity - Data Source - tencentcloud_as_scaling_configs - tencentcloud_as_scaling_groups - tencentcloud_as_scaling_policies - tencentcloud_as_instances - tencentcloud_as_advices - tencentcloud_as_limits - tencentcloud_as_last_activity - - Resource - tencentcloud_as_scaling_config - tencentcloud_as_scaling_group - tencentcloud_as_scaling_group_status - tencentcloud_as_attachment - tencentcloud_as_scaling_policy - tencentcloud_as_schedule - tencentcloud_as_lifecycle_hook - tencentcloud_as_notification - tencentcloud_as_remove_instances - tencentcloud_as_protect_instances - tencentcloud_as_start_instances - tencentcloud_as_stop_instances - tencentcloud_as_scale_in_instances - tencentcloud_as_scale_out_instances - tencentcloud_as_execute_scaling_policy - tencentcloud_as_complete_lifecycle + Resource + tencentcloud_as_scaling_config + tencentcloud_as_scaling_group + tencentcloud_as_scaling_group_status + tencentcloud_as_attachment + tencentcloud_as_scaling_policy + tencentcloud_as_schedule + tencentcloud_as_lifecycle_hook + tencentcloud_as_notification + tencentcloud_as_remove_instances + tencentcloud_as_protect_instances + tencentcloud_as_start_instances + tencentcloud_as_stop_instances + tencentcloud_as_scale_in_instances + tencentcloud_as_scale_out_instances + tencentcloud_as_execute_scaling_policy + tencentcloud_as_complete_lifecycle Content Delivery Network(CDN) + Data Source + tencentcloud_cdn_domains + tencentcloud_cdn_domain_verifier - Data Source - tencentcloud_cdn_domains - tencentcloud_cdn_domain_verifier - - Resource - tencentcloud_cdn_domain - tencentcloud_cdn_url_push - tencentcloud_cdn_url_purge + Resource + tencentcloud_cdn_domain + tencentcloud_cdn_url_push + tencentcloud_cdn_url_purge Cloud Kafka(ckafka) + Data Source + tencentcloud_ckafka_users + tencentcloud_ckafka_acls + tencentcloud_ckafka_topics + tencentcloud_ckafka_instances + tencentcloud_ckafka_connect_resource + tencentcloud_ckafka_region + tencentcloud_ckafka_datahub_topic + tencentcloud_ckafka_datahub_group_offsets + tencentcloud_ckafka_datahub_task + tencentcloud_ckafka_group + tencentcloud_ckafka_group_offsets + tencentcloud_ckafka_group_info + tencentcloud_ckafka_task_status + tencentcloud_ckafka_topic_flow_ranking + tencentcloud_ckafka_topic_produce_connection + tencentcloud_ckafka_topic_subscribe_group + tencentcloud_ckafka_topic_sync_replica + tencentcloud_ckafka_zone - Data Source - tencentcloud_ckafka_users - tencentcloud_ckafka_acls - tencentcloud_ckafka_topics - tencentcloud_ckafka_instances - tencentcloud_ckafka_connect_resource - tencentcloud_ckafka_region - tencentcloud_ckafka_datahub_topic - tencentcloud_ckafka_datahub_group_offsets - tencentcloud_ckafka_datahub_task - tencentcloud_ckafka_group - tencentcloud_ckafka_group_offsets - tencentcloud_ckafka_group_info - tencentcloud_ckafka_task_status - tencentcloud_ckafka_topic_flow_ranking - tencentcloud_ckafka_topic_produce_connection - tencentcloud_ckafka_topic_subscribe_group - tencentcloud_ckafka_topic_sync_replica - tencentcloud_ckafka_zone - - Resource - tencentcloud_ckafka_instance - tencentcloud_ckafka_user - tencentcloud_ckafka_acl - tencentcloud_ckafka_topic - tencentcloud_ckafka_datahub_topic - tencentcloud_ckafka_connect_resource - tencentcloud_ckafka_renew_instance - tencentcloud_ckafka_acl_rule - tencentcloud_ckafka_consumer_group - tencentcloud_ckafka_consumer_group_modify_offset - tencentcloud_ckafka_datahub_task - tencentcloud_ckafka_route + Resource + tencentcloud_ckafka_instance + tencentcloud_ckafka_user + tencentcloud_ckafka_acl + tencentcloud_ckafka_topic + tencentcloud_ckafka_datahub_topic + tencentcloud_ckafka_connect_resource + tencentcloud_ckafka_renew_instance + tencentcloud_ckafka_acl_rule + tencentcloud_ckafka_consumer_group + tencentcloud_ckafka_consumer_group_modify_offset + tencentcloud_ckafka_datahub_task + tencentcloud_ckafka_route Cloud Access Management(CAM) + Data Source + tencentcloud_cam_group_memberships + tencentcloud_cam_group_policy_attachments + tencentcloud_cam_groups + tencentcloud_cam_policies + tencentcloud_cam_role_policy_attachments + tencentcloud_cam_roles + tencentcloud_cam_saml_providers + tencentcloud_cam_user_policy_attachments + tencentcloud_cam_users + tencentcloud_user_info - Data Source - tencentcloud_cam_group_memberships - tencentcloud_cam_group_policy_attachments - tencentcloud_cam_groups - tencentcloud_cam_policies - tencentcloud_cam_role_policy_attachments - tencentcloud_cam_roles - tencentcloud_cam_saml_providers - tencentcloud_cam_user_policy_attachments - tencentcloud_cam_users - tencentcloud_user_info - - Resource - tencentcloud_cam_role - tencentcloud_cam_role_by_name - tencentcloud_cam_role_policy_attachment - tencentcloud_cam_role_policy_attachment_by_name - tencentcloud_cam_policy - tencentcloud_cam_policy_by_name - tencentcloud_cam_user - tencentcloud_cam_user_policy_attachment - tencentcloud_cam_group - tencentcloud_cam_group_policy_attachment - tencentcloud_cam_group_membership - tencentcloud_cam_saml_provider - tencentcloud_cam_oidc_sso - tencentcloud_cam_role_sso - tencentcloud_cam_service_linked_role - tencentcloud_cam_mfa_flag - tencentcloud_cam_user_saml_config + Resource + tencentcloud_cam_role + tencentcloud_cam_role_by_name + tencentcloud_cam_role_policy_attachment + tencentcloud_cam_role_policy_attachment_by_name + tencentcloud_cam_policy + tencentcloud_cam_policy_by_name + tencentcloud_cam_user + tencentcloud_cam_user_policy_attachment + tencentcloud_cam_group + tencentcloud_cam_group_policy_attachment + tencentcloud_cam_group_membership + tencentcloud_cam_saml_provider + tencentcloud_cam_oidc_sso + tencentcloud_cam_role_sso + tencentcloud_cam_service_linked_role + tencentcloud_cam_mfa_flag + tencentcloud_cam_user_saml_config Customer Identity and Access Management(CIAM) - - Resource - tencentcloud_ciam_user_store - tencentcloud_ciam_user_group + Resource + tencentcloud_ciam_user_store + tencentcloud_ciam_user_group Cloud Block Storage(CBS) + Data Source + tencentcloud_cbs_snapshots + tencentcloud_cbs_storages + tencentcloud_cbs_storages_set + tencentcloud_cbs_snapshot_policies - Data Source - tencentcloud_cbs_snapshots - tencentcloud_cbs_storages - tencentcloud_cbs_storages_set - tencentcloud_cbs_snapshot_policies - - Resource - tencentcloud_cbs_storage - tencentcloud_cbs_storage_set - tencentcloud_cbs_storage_attachment - tencentcloud_cbs_storage_set_attachment - tencentcloud_cbs_snapshot - tencentcloud_cbs_snapshot_policy - tencentcloud_cbs_snapshot_policy_attachment - tencentcloud_cbs_snapshot_share_permission - tencentcloud_cbs_disk_backup - tencentcloud_cbs_disk_backup_rollback_operation + Resource + tencentcloud_cbs_storage + tencentcloud_cbs_storage_set + tencentcloud_cbs_storage_attachment + tencentcloud_cbs_storage_set_attachment + tencentcloud_cbs_snapshot + tencentcloud_cbs_snapshot_policy + tencentcloud_cbs_snapshot_policy_attachment + tencentcloud_cbs_snapshot_share_permission + tencentcloud_cbs_disk_backup + tencentcloud_cbs_disk_backup_rollback_operation Cloud Connect Network(CCN) + Data Source + tencentcloud_ccn_bandwidth_limits + tencentcloud_ccn_instances + tencentcloud_ccn_cross_border_compliance + tencentcloud_ccn_tenant_instances + tencentcloud_ccn_cross_border_flow_monitor + tencentcloud_ccn_cross_border_region_bandwidth_limits - Data Source - tencentcloud_ccn_bandwidth_limits - tencentcloud_ccn_instances - tencentcloud_ccn_cross_border_compliance - tencentcloud_ccn_tenant_instances - tencentcloud_ccn_cross_border_flow_monitor - tencentcloud_ccn_cross_border_region_bandwidth_limits - - Resource - tencentcloud_ccn - tencentcloud_ccn_attachment - tencentcloud_ccn_bandwidth_limit - tencentcloud_ccn_routes - tencentcloud_ccn_instances_accept_attach - tencentcloud_ccn_instances_reject_attach - tencentcloud_ccn_instances_reset_attach + Resource + tencentcloud_ccn + tencentcloud_ccn_attachment + tencentcloud_ccn_bandwidth_limit + tencentcloud_ccn_routes + tencentcloud_ccn_instances_accept_attach + tencentcloud_ccn_instances_reject_attach + tencentcloud_ccn_instances_reset_attach CVM Dedicated Host(CDH) + Data Source + tencentcloud_cdh_instances - Data Source - tencentcloud_cdh_instances - - Resource - tencentcloud_cdh_instance + Resource + tencentcloud_cdh_instance Cloud File Storage(CFS) + Data Source + tencentcloud_cfs_access_groups + tencentcloud_cfs_access_rules + tencentcloud_cfs_file_systems + tencentcloud_cfs_mount_targets + tencentcloud_cfs_file_system_clients + tencentcloud_cfs_available_zone - Data Source - tencentcloud_cfs_access_groups - tencentcloud_cfs_access_rules - tencentcloud_cfs_file_systems - tencentcloud_cfs_mount_targets - tencentcloud_cfs_file_system_clients - tencentcloud_cfs_available_zone - - Resource - tencentcloud_cfs_file_system - tencentcloud_cfs_access_group - tencentcloud_cfs_access_rule - tencentcloud_cfs_auto_snapshot_policy - tencentcloud_cfs_auto_snapshot_policy_attachment - tencentcloud_cfs_snapshot - tencentcloud_cfs_sign_up_cfs_service + Resource + tencentcloud_cfs_file_system + tencentcloud_cfs_access_group + tencentcloud_cfs_access_rule + tencentcloud_cfs_auto_snapshot_policy + tencentcloud_cfs_auto_snapshot_policy_attachment + tencentcloud_cfs_snapshot + tencentcloud_cfs_sign_up_cfs_service Container Cluster + Data Source + tencentcloud_container_cluster_instances + tencentcloud_container_clusters - Data Source - tencentcloud_container_cluster_instances - tencentcloud_container_clusters - - Resource - tencentcloud_container_cluster - tencentcloud_container_cluster_instance + Resource + tencentcloud_container_cluster + tencentcloud_container_cluster_instance Cloud Load Balancer(CLB) + Data Source + tencentcloud_clb_attachments + tencentcloud_clb_instances + tencentcloud_clb_listener_rules + tencentcloud_clb_listeners + tencentcloud_clb_redirections + tencentcloud_clb_target_groups + tencentcloud_clb_cluster_resources + tencentcloud_clb_cross_targets + tencentcloud_clb_exclusive_clusters + tencentcloud_clb_idle_instances + tencentcloud_clb_listeners_by_targets + tencentcloud_clb_instance_by_cert_id + tencentcloud_clb_instance_traffic + tencentcloud_clb_instance_detail + tencentcloud_clb_resources + tencentcloud_clb_target_group_list + tencentcloud_clb_target_health - Data Source - tencentcloud_clb_attachments - tencentcloud_clb_instances - tencentcloud_clb_listener_rules - tencentcloud_clb_listeners - tencentcloud_clb_redirections - tencentcloud_clb_target_groups - tencentcloud_clb_cluster_resources - tencentcloud_clb_cross_targets - tencentcloud_clb_exclusive_clusters - tencentcloud_clb_idle_instances - tencentcloud_clb_listeners_by_targets - tencentcloud_clb_instance_by_cert_id - tencentcloud_clb_instance_traffic - tencentcloud_clb_instance_detail - tencentcloud_clb_resources - tencentcloud_clb_target_group_list - tencentcloud_clb_target_health - - Resource - tencentcloud_clb_instance - tencentcloud_clb_listener - tencentcloud_clb_listener_rule - tencentcloud_clb_attachment - tencentcloud_clb_redirection - tencentcloud_lb - tencentcloud_alb_server_attachment - tencentcloud_clb_target_group - tencentcloud_clb_target_group_instance_attachment - tencentcloud_clb_target_group_attachment - tencentcloud_clb_log_set - tencentcloud_clb_log_topic - tencentcloud_clb_customized_config - tencentcloud_clb_snat_ip - tencentcloud_clb_function_targets_attachment - tencentcloud_clb_instance_sla_config - tencentcloud_clb_instance_mix_ip_target_config - tencentcloud_clb_replace_cert_for_lbs - tencentcloud_clb_security_group_attachment + Resource + tencentcloud_clb_instance + tencentcloud_clb_listener + tencentcloud_clb_listener_rule + tencentcloud_clb_attachment + tencentcloud_clb_redirection + tencentcloud_lb + tencentcloud_alb_server_attachment + tencentcloud_clb_target_group + tencentcloud_clb_target_group_instance_attachment + tencentcloud_clb_target_group_attachment + tencentcloud_clb_log_set + tencentcloud_clb_log_topic + tencentcloud_clb_customized_config + tencentcloud_clb_snat_ip + tencentcloud_clb_function_targets_attachment + tencentcloud_clb_instance_sla_config + tencentcloud_clb_instance_mix_ip_target_config + tencentcloud_clb_replace_cert_for_lbs + tencentcloud_clb_security_group_attachment Cloud Object Storage(COS) + Data Source + tencentcloud_cos_bucket_object + tencentcloud_cos_buckets + tencentcloud_cos_batchs + tencentcloud_cos_bucket_inventorys + tencentcloud_cos_bucket_multipart_uploads - Data Source - tencentcloud_cos_bucket_object - tencentcloud_cos_buckets - tencentcloud_cos_batchs - tencentcloud_cos_bucket_inventorys - tencentcloud_cos_bucket_multipart_uploads - - Resource - tencentcloud_cos_bucket - tencentcloud_cos_bucket_object - tencentcloud_cos_bucket_policy - tencentcloud_cos_bucket_referer - tencentcloud_cos_bucket_version - tencentcloud_cos_bucket_domain_certificate_attachment - tencentcloud_cos_bucket_inventory - tencentcloud_cos_batch - tencentcloud_cos_object_abort_multipart_upload_operation - tencentcloud_cos_object_copy_operation - tencentcloud_cos_object_restore_operation - tencentcloud_cos_bucket_generate_inventory_immediately_operation - tencentcloud_cos_object_download_operation + Resource + tencentcloud_cos_bucket + tencentcloud_cos_bucket_object + tencentcloud_cos_bucket_policy + tencentcloud_cos_bucket_referer + tencentcloud_cos_bucket_version + tencentcloud_cos_bucket_domain_certificate_attachment + tencentcloud_cos_bucket_inventory + tencentcloud_cos_batch + tencentcloud_cos_object_abort_multipart_upload_operation + tencentcloud_cos_object_copy_operation + tencentcloud_cos_object_restore_operation + tencentcloud_cos_bucket_generate_inventory_immediately_operation + tencentcloud_cos_object_download_operation Cloud Virtual Machine(CVM) + Data Source + tencentcloud_image + tencentcloud_images + tencentcloud_instance_types + tencentcloud_instances + tencentcloud_instances_set + tencentcloud_key_pairs + tencentcloud_eip + tencentcloud_eips + tencentcloud_eip_address_quota + tencentcloud_eip_network_account_type + tencentcloud_placement_groups + tencentcloud_reserved_instance_configs + tencentcloud_reserved_instances + tencentcloud_cvm_instances_modification + tencentcloud_cvm_instance_vnc_url + tencentcloud_cvm_disaster_recover_group_quota + tencentcloud_cvm_chc_hosts + tencentcloud_cvm_chc_denied_actions + tencentcloud_cvm_image_quota + tencentcloud_cvm_image_share_permission + tencentcloud_cvm_import_image_os - Data Source - tencentcloud_image - tencentcloud_images - tencentcloud_instance_types - tencentcloud_instances - tencentcloud_instances_set - tencentcloud_key_pairs - tencentcloud_eip - tencentcloud_eips - tencentcloud_eip_address_quota - tencentcloud_eip_network_account_type - tencentcloud_placement_groups - tencentcloud_reserved_instance_configs - tencentcloud_reserved_instances - tencentcloud_cvm_instances_modification - tencentcloud_cvm_instance_vnc_url - tencentcloud_cvm_disaster_recover_group_quota - tencentcloud_cvm_chc_hosts - tencentcloud_cvm_chc_denied_actions - tencentcloud_cvm_image_quota - tencentcloud_cvm_image_share_permission - tencentcloud_cvm_import_image_os - - Resource - tencentcloud_instance - tencentcloud_instance_set - tencentcloud_eip - tencentcloud_eip_association - tencentcloud_eip_address_transform - tencentcloud_eip_public_address_adjust - tencentcloud_eip_normal_address_return - tencentcloud_key_pair - tencentcloud_placement_group - tencentcloud_reserved_instance - tencentcloud_image - tencentcloud_cvm_hpc_cluster - tencentcloud_cvm_launch_template - tencentcloud_cvm_launch_template_version - tencentcloud_cvm_launch_template_default_version - tencentcloud_cvm_security_group_attachment - tencentcloud_cvm_reboot_instance - tencentcloud_cvm_chc_config - tencentcloud_cvm_renew_instance - tencentcloud_cvm_sync_image - tencentcloud_cvm_export_images - tencentcloud_cvm_image_share_permission + Resource + tencentcloud_instance + tencentcloud_instance_set + tencentcloud_eip + tencentcloud_eip_association + tencentcloud_eip_address_transform + tencentcloud_eip_public_address_adjust + tencentcloud_eip_normal_address_return + tencentcloud_key_pair + tencentcloud_placement_group + tencentcloud_reserved_instance + tencentcloud_image + tencentcloud_cvm_hpc_cluster + tencentcloud_cvm_launch_template + tencentcloud_cvm_launch_template_version + tencentcloud_cvm_launch_template_default_version + tencentcloud_cvm_security_group_attachment + tencentcloud_cvm_reboot_instance + tencentcloud_cvm_chc_config + tencentcloud_cvm_renew_instance + tencentcloud_cvm_sync_image + tencentcloud_cvm_export_images + tencentcloud_cvm_image_share_permission TDSQL-C MySQL(CynosDB) + Data Source + tencentcloud_cynosdb_clusters + tencentcloud_cynosdb_instances + tencentcloud_cynosdb_zone_config + tencentcloud_cynosdb_accounts + tencentcloud_cynosdb_cluster_instance_groups + tencentcloud_cynosdb_cluster_params + tencentcloud_cynosdb_param_templates + tencentcloud_cynosdb_audit_logs + tencentcloud_cynosdb_binlog_download_url + tencentcloud_cynosdb_cluster_detail_databases + tencentcloud_cynosdb_cluster_param_logs + tencentcloud_cynosdb_cluster + tencentcloud_cynosdb_describe_instance_slow_queries + tencentcloud_cynosdb_describe_instance_error_logs + tencentcloud_cynosdb_account_all_grant_privileges + tencentcloud_cynosdb_resource_package_list + tencentcloud_cynosdb_project_security_groups + tencentcloud_cynosdb_resource_package_sale_specs + tencentcloud_cynosdb_rollback_time_range + tencentcloud_cynosdb_zone + tencentcloud_cynosdb_instance_slow_queries + tencentcloud_cynosdb_proxy_node + tencentcloud_cynosdb_proxy_version - Data Source - tencentcloud_cynosdb_clusters - tencentcloud_cynosdb_instances - tencentcloud_cynosdb_zone_config - tencentcloud_cynosdb_accounts - tencentcloud_cynosdb_cluster_instance_groups - tencentcloud_cynosdb_cluster_params - tencentcloud_cynosdb_param_templates - tencentcloud_cynosdb_audit_logs - tencentcloud_cynosdb_binlog_download_url - tencentcloud_cynosdb_cluster_detail_databases - tencentcloud_cynosdb_cluster_param_logs - tencentcloud_cynosdb_cluster - tencentcloud_cynosdb_describe_instance_slow_queries - tencentcloud_cynosdb_describe_instance_error_logs - tencentcloud_cynosdb_account_all_grant_privileges - tencentcloud_cynosdb_resource_package_list - tencentcloud_cynosdb_project_security_groups - tencentcloud_cynosdb_resource_package_sale_specs - tencentcloud_cynosdb_rollback_time_range - tencentcloud_cynosdb_zone - tencentcloud_cynosdb_instance_slow_queries - tencentcloud_cynosdb_proxy_node - tencentcloud_cynosdb_proxy_version - - Resource - tencentcloud_cynosdb_cluster_resource_packages_attachment - tencentcloud_cynosdb_cluster - tencentcloud_cynosdb_readonly_instance - tencentcloud_cynosdb_security_group - tencentcloud_cynosdb_audit_log_file - tencentcloud_cynosdb_cluster_password_complexity - tencentcloud_cynosdb_export_instance_error_logs - tencentcloud_cynosdb_export_instance_slow_queries - tencentcloud_cynosdb_account_privileges - tencentcloud_cynosdb_account - tencentcloud_cynosdb_binlog_save_days - tencentcloud_cynosdb_cluster_databases - tencentcloud_cynosdb_instance_param - tencentcloud_cynosdb_isolate_instance - tencentcloud_cynosdb_param_template - tencentcloud_cynosdb_restart_instance - tencentcloud_cynosdb_roll_back_cluster - tencentcloud_cynosdb_wan - tencentcloud_cynosdb_proxy - tencentcloud_cynosdb_reload_proxy_node - tencentcloud_cynosdb_cluster_slave_zone - tencentcloud_cynosdb_read_only_instance_exclusive_access - tencentcloud_cynosdb_proxy_end_point - tencentcloud_cynosdb_upgrade_proxy_version + Resource + tencentcloud_cynosdb_cluster_resource_packages_attachment + tencentcloud_cynosdb_cluster + tencentcloud_cynosdb_readonly_instance + tencentcloud_cynosdb_security_group + tencentcloud_cynosdb_audit_log_file + tencentcloud_cynosdb_cluster_password_complexity + tencentcloud_cynosdb_export_instance_error_logs + tencentcloud_cynosdb_export_instance_slow_queries + tencentcloud_cynosdb_account_privileges + tencentcloud_cynosdb_account + tencentcloud_cynosdb_binlog_save_days + tencentcloud_cynosdb_cluster_databases + tencentcloud_cynosdb_instance_param + tencentcloud_cynosdb_isolate_instance + tencentcloud_cynosdb_param_template + tencentcloud_cynosdb_restart_instance + tencentcloud_cynosdb_roll_back_cluster + tencentcloud_cynosdb_wan + tencentcloud_cynosdb_proxy + tencentcloud_cynosdb_reload_proxy_node + tencentcloud_cynosdb_cluster_slave_zone + tencentcloud_cynosdb_read_only_instance_exclusive_access + tencentcloud_cynosdb_proxy_end_point + tencentcloud_cynosdb_upgrade_proxy_version Direct Connect(DC) + Data Source + tencentcloud_dc_instances + tencentcloud_dc_access_points + tencentcloud_dcx_instances + tencentcloud_dc_internet_address_quota + tencentcloud_dc_internet_address_statistics + tencentcloud_dc_public_direct_connect_tunnel_routes - Data Source - tencentcloud_dc_instances - tencentcloud_dc_access_points - tencentcloud_dcx_instances - tencentcloud_dc_internet_address_quota - tencentcloud_dc_internet_address_statistics - tencentcloud_dc_public_direct_connect_tunnel_routes - - Resource - tencentcloud_dc_instance - tencentcloud_dcx - tencentcloud_dcx_extra_config - tencentcloud_dc_share_dcx_config - tencentcloud_dc_internet_address - tencentcloud_dc_internet_address_config + Resource + tencentcloud_dc_instance + tencentcloud_dcx + tencentcloud_dcx_extra_config + tencentcloud_dc_share_dcx_config + tencentcloud_dc_internet_address + tencentcloud_dc_internet_address_config Direct Connect Gateway(DCG) + Data Source + tencentcloud_dc_gateway_ccn_routes + tencentcloud_dc_gateway_instances - Data Source - tencentcloud_dc_gateway_ccn_routes - tencentcloud_dc_gateway_instances - - Resource - tencentcloud_dc_gateway - tencentcloud_dc_gateway_ccn_route - tencentcloud_dc_gateway_attachment + Resource + tencentcloud_dc_gateway + tencentcloud_dc_gateway_ccn_route + tencentcloud_dc_gateway_attachment Domain - - Data Source - tencentcloud_domains + Data Source + tencentcloud_domains Elasticsearch Service(ES) + Data Source + tencentcloud_elasticsearch_instances - Data Source - tencentcloud_elasticsearch_instances - - Resource - tencentcloud_elasticsearch_instance - tencentcloud_elasticsearch_security_group + Resource + tencentcloud_elasticsearch_instance + tencentcloud_elasticsearch_security_group Global Application Acceleration(GAAP) + Data Source + tencentcloud_gaap_certificates + tencentcloud_gaap_http_domains + tencentcloud_gaap_http_rules + tencentcloud_gaap_layer4_listeners + tencentcloud_gaap_layer7_listeners + tencentcloud_gaap_proxies + tencentcloud_gaap_realservers + tencentcloud_gaap_security_policies + tencentcloud_gaap_security_rules + tencentcloud_gaap_domain_error_pages - Data Source - tencentcloud_gaap_certificates - tencentcloud_gaap_http_domains - tencentcloud_gaap_http_rules - tencentcloud_gaap_layer4_listeners - tencentcloud_gaap_layer7_listeners - tencentcloud_gaap_proxies - tencentcloud_gaap_realservers - tencentcloud_gaap_security_policies - tencentcloud_gaap_security_rules - tencentcloud_gaap_domain_error_pages - - Resource - tencentcloud_gaap_proxy - tencentcloud_gaap_realserver - tencentcloud_gaap_layer4_listener - tencentcloud_gaap_layer7_listener - tencentcloud_gaap_http_domain - tencentcloud_gaap_http_rule - tencentcloud_gaap_certificate - tencentcloud_gaap_security_policy - tencentcloud_gaap_security_rule - tencentcloud_gaap_domain_error_page + Resource + tencentcloud_gaap_proxy + tencentcloud_gaap_realserver + tencentcloud_gaap_layer4_listener + tencentcloud_gaap_layer7_listener + tencentcloud_gaap_http_domain + tencentcloud_gaap_http_rule + tencentcloud_gaap_certificate + tencentcloud_gaap_security_policy + tencentcloud_gaap_security_rule + tencentcloud_gaap_domain_error_page Key Management Service(KMS) + Data Source + tencentcloud_kms_keys + tencentcloud_kms_public_key + tencentcloud_kms_get_parameters_for_import - Data Source - tencentcloud_kms_keys - tencentcloud_kms_public_key - tencentcloud_kms_get_parameters_for_import - - Resource - tencentcloud_kms_key - tencentcloud_kms_external_key + Resource + tencentcloud_kms_key + tencentcloud_kms_external_key Tencent Kubernetes Engine(TKE) + Data Source + tencentcloud_kubernetes_clusters + tencentcloud_kubernetes_cluster_levels + tencentcloud_kubernetes_charts + tencentcloud_kubernetes_cluster_common_names + tencentcloud_kubernetes_available_cluster_versions + tencentcloud_kubernetes_cluster_authentication_options - Data Source - tencentcloud_kubernetes_clusters - tencentcloud_kubernetes_cluster_levels - tencentcloud_kubernetes_charts - tencentcloud_kubernetes_cluster_common_names - tencentcloud_kubernetes_available_cluster_versions - tencentcloud_kubernetes_cluster_authentication_options - - Resource - tencentcloud_kubernetes_cluster - tencentcloud_kubernetes_scale_worker - tencentcloud_kubernetes_cluster_attachment - tencentcloud_kubernetes_node_pool - tencentcloud_kubernetes_serverless_node_pool - tencentcloud_kubernetes_backup_storage_location - tencentcloud_kubernetes_encryption_protection - tencentcloud_kubernetes_auth_attachment - tencentcloud_kubernetes_addon_attachment - tencentcloud_kubernetes_cluster_endpoint + Resource + tencentcloud_kubernetes_cluster + tencentcloud_kubernetes_scale_worker + tencentcloud_kubernetes_cluster_attachment + tencentcloud_kubernetes_node_pool + tencentcloud_kubernetes_serverless_node_pool + tencentcloud_kubernetes_backup_storage_location + tencentcloud_kubernetes_encryption_protection + tencentcloud_kubernetes_auth_attachment + tencentcloud_kubernetes_addon_attachment + tencentcloud_kubernetes_cluster_endpoint TDMQ for Pulsar(tpulsar) + Data Source + tencentcloud_tdmq_environment_attributes + tencentcloud_tdmq_publisher_summary + tencentcloud_tdmq_publishers + tencentcloud_tdmq_pro_instances + tencentcloud_tdmq_pro_instance_detail - Data Source - tencentcloud_tdmq_environment_attributes - tencentcloud_tdmq_publisher_summary - tencentcloud_tdmq_publishers - tencentcloud_tdmq_pro_instances - tencentcloud_tdmq_pro_instance_detail - - Resource - tencentcloud_tdmq_instance - tencentcloud_tdmq_namespace - tencentcloud_tdmq_topic - tencentcloud_tdmq_role - tencentcloud_tdmq_namespace_role_attachment + Resource + tencentcloud_tdmq_instance + tencentcloud_tdmq_namespace + tencentcloud_tdmq_topic + tencentcloud_tdmq_role + tencentcloud_tdmq_namespace_role_attachment TencentDB for MongoDB(mongodb) + Data Source + tencentcloud_mongodb_instances + tencentcloud_mongodb_zone_config + tencentcloud_mongodb_instance_backups + tencentcloud_mongodb_instance_connections + tencentcloud_mongodb_instance_current_op + tencentcloud_mongodb_instance_params + tencentcloud_mongodb_instance_slow_log - Data Source - tencentcloud_mongodb_instances - tencentcloud_mongodb_zone_config - tencentcloud_mongodb_instance_backups - tencentcloud_mongodb_instance_connections - tencentcloud_mongodb_instance_current_op - tencentcloud_mongodb_instance_params - tencentcloud_mongodb_instance_slow_log - - Resource - tencentcloud_mongodb_instance - tencentcloud_mongodb_sharding_instance - tencentcloud_mongodb_standby_instance - tencentcloud_mongodb_instance_account - tencentcloud_mongodb_instance_backup + Resource + tencentcloud_mongodb_instance + tencentcloud_mongodb_sharding_instance + tencentcloud_mongodb_standby_instance + tencentcloud_mongodb_instance_account + tencentcloud_mongodb_instance_backup TencentDB for MySQL(cdb) + Data Source + tencentcloud_mysql_backup_list + tencentcloud_mysql_instance + tencentcloud_mysql_parameter_list + tencentcloud_mysql_default_params + tencentcloud_mysql_zone_config + tencentcloud_mysql_backup_overview + tencentcloud_mysql_backup_summaries + tencentcloud_mysql_bin_log + tencentcloud_mysql_binlog_backup_overview + tencentcloud_mysql_clone_list + tencentcloud_mysql_data_backup_overview + tencentcloud_mysql_db_features + tencentcloud_mysql_inst_tables + tencentcloud_mysql_instance_charset + tencentcloud_mysql_instance_info + tencentcloud_mysql_instance_param_record + tencentcloud_mysql_instance_reboot_time + tencentcloud_mysql_rollback_range_time + tencentcloud_mysql_slow_log + tencentcloud_mysql_slow_log_data + tencentcloud_mysql_supported_privileges + tencentcloud_mysql_switch_record + tencentcloud_mysql_user_task + tencentcloud_mysql_databases + tencentcloud_mysql_error_log + tencentcloud_mysql_project_security_group + tencentcloud_mysql_ro_min_scale - Data Source - tencentcloud_mysql_backup_list - tencentcloud_mysql_instance - tencentcloud_mysql_parameter_list - tencentcloud_mysql_default_params - tencentcloud_mysql_zone_config - tencentcloud_mysql_backup_overview - tencentcloud_mysql_backup_summaries - tencentcloud_mysql_bin_log - tencentcloud_mysql_binlog_backup_overview - tencentcloud_mysql_clone_list - tencentcloud_mysql_data_backup_overview - tencentcloud_mysql_db_features - tencentcloud_mysql_inst_tables - tencentcloud_mysql_instance_charset - tencentcloud_mysql_instance_info - tencentcloud_mysql_instance_param_record - tencentcloud_mysql_instance_reboot_time - tencentcloud_mysql_rollback_range_time - tencentcloud_mysql_slow_log - tencentcloud_mysql_slow_log_data - tencentcloud_mysql_supported_privileges - tencentcloud_mysql_switch_record - tencentcloud_mysql_user_task - tencentcloud_mysql_databases - tencentcloud_mysql_error_log - tencentcloud_mysql_project_security_group - tencentcloud_mysql_ro_min_scale - - Resource - tencentcloud_mysql_instance - tencentcloud_mysql_readonly_instance - tencentcloud_mysql_account - tencentcloud_mysql_privilege - tencentcloud_mysql_account_privilege - tencentcloud_mysql_backup_policy - tencentcloud_mysql_time_window - tencentcloud_mysql_param_template - tencentcloud_mysql_deploy_group - tencentcloud_mysql_security_groups_attachment - tencentcloud_mysql_local_binlog_config - tencentcloud_mysql_audit_log_file - tencentcloud_mysql_backup_download_restriction - tencentcloud_mysql_renew_db_instance_operation - tencentcloud_mysql_backup_encryption_status - tencentcloud_mysql_dr_instance_to_mater - tencentcloud_mysql_instance_encryption_operation - tencentcloud_mysql_password_complexity - tencentcloud_mysql_remote_backup_config - tencentcloud_mysql_restart_db_instances_operation - tencentcloud_mysql_switch_for_upgrade - tencentcloud_mysql_rollback - tencentcloud_mysql_rollback_stop - tencentcloud_mysql_ro_group - tencentcloud_mysql_ro_instance_ip - tencentcloud_mysql_ro_group_load_operation - tencentcloud_mysql_switch_master_slave_operation - tencentcloud_mysql_proxy - tencentcloud_mysql_reset_root_account - tencentcloud_mysql_verify_root_account - tencentcloud_mysql_reload_balance_proxy_node - tencentcloud_mysql_ro_start_replication - tencentcloud_mysql_ro_stop_replication - tencentcloud_mysql_isolate_instance + Resource + tencentcloud_mysql_instance + tencentcloud_mysql_readonly_instance + tencentcloud_mysql_account + tencentcloud_mysql_privilege + tencentcloud_mysql_account_privilege + tencentcloud_mysql_backup_policy + tencentcloud_mysql_time_window + tencentcloud_mysql_param_template + tencentcloud_mysql_deploy_group + tencentcloud_mysql_security_groups_attachment + tencentcloud_mysql_local_binlog_config + tencentcloud_mysql_audit_log_file + tencentcloud_mysql_backup_download_restriction + tencentcloud_mysql_renew_db_instance_operation + tencentcloud_mysql_backup_encryption_status + tencentcloud_mysql_dr_instance_to_mater + tencentcloud_mysql_instance_encryption_operation + tencentcloud_mysql_password_complexity + tencentcloud_mysql_remote_backup_config + tencentcloud_mysql_restart_db_instances_operation + tencentcloud_mysql_switch_for_upgrade + tencentcloud_mysql_rollback + tencentcloud_mysql_rollback_stop + tencentcloud_mysql_ro_group + tencentcloud_mysql_ro_instance_ip + tencentcloud_mysql_ro_group_load_operation + tencentcloud_mysql_switch_master_slave_operation + tencentcloud_mysql_proxy + tencentcloud_mysql_reset_root_account + tencentcloud_mysql_verify_root_account + tencentcloud_mysql_reload_balance_proxy_node + tencentcloud_mysql_ro_start_replication + tencentcloud_mysql_ro_stop_replication + tencentcloud_mysql_isolate_instance Cloud Monitor(Monitor) + Data Source + tencentcloud_monitor_policy_conditions + tencentcloud_monitor_data + tencentcloud_monitor_product_event + tencentcloud_monitor_binding_objects + tencentcloud_monitor_policy_groups + tencentcloud_monitor_product_namespace + tencentcloud_monitor_alarm_notices - Data Source - tencentcloud_monitor_policy_conditions - tencentcloud_monitor_data - tencentcloud_monitor_product_event - tencentcloud_monitor_binding_objects - tencentcloud_monitor_policy_groups - tencentcloud_monitor_product_namespace - tencentcloud_monitor_alarm_notices - - Resource - tencentcloud_monitor_policy_group - tencentcloud_monitor_binding_object - tencentcloud_monitor_policy_binding_object - tencentcloud_monitor_binding_receiver - tencentcloud_monitor_alarm_policy - tencentcloud_monitor_tmp_tke_template - tencentcloud_monitor_tmp_tke_template_attachment - tencentcloud_monitor_tmp_tke_alert_policy - tencentcloud_monitor_tmp_tke_config - tencentcloud_monitor_alarm_notice - tencentcloud_monitor_tmp_tke_record_rule_yaml - tencentcloud_monitor_tmp_tke_global_notification - tencentcloud_monitor_tmp_tke_cluster_agent - tencentcloud_monitor_tmp_tke_basic_config + Resource + tencentcloud_monitor_policy_group + tencentcloud_monitor_binding_object + tencentcloud_monitor_policy_binding_object + tencentcloud_monitor_binding_receiver + tencentcloud_monitor_alarm_policy + tencentcloud_monitor_tmp_tke_template + tencentcloud_monitor_tmp_tke_template_attachment + tencentcloud_monitor_tmp_tke_alert_policy + tencentcloud_monitor_tmp_tke_config + tencentcloud_monitor_alarm_notice + tencentcloud_monitor_tmp_tke_record_rule_yaml + tencentcloud_monitor_tmp_tke_global_notification + tencentcloud_monitor_tmp_tke_cluster_agent + tencentcloud_monitor_tmp_tke_basic_config Managed Service for Prometheus(TMP) - - Resource - tencentcloud_monitor_tmp_instance - tencentcloud_monitor_tmp_alert_rule - tencentcloud_monitor_tmp_exporter_integration - tencentcloud_monitor_tmp_cvm_agent - tencentcloud_monitor_tmp_scrape_job - tencentcloud_monitor_tmp_recording_rule - tencentcloud_monitor_tmp_manage_grafana_attachment + Resource + tencentcloud_monitor_tmp_instance + tencentcloud_monitor_tmp_alert_rule + tencentcloud_monitor_tmp_exporter_integration + tencentcloud_monitor_tmp_cvm_agent + tencentcloud_monitor_tmp_scrape_job + tencentcloud_monitor_tmp_recording_rule + tencentcloud_monitor_tmp_manage_grafana_attachment TencentCloud Managed Service for Grafana(TCMG) - - Resource - tencentcloud_monitor_grafana_instance - tencentcloud_monitor_grafana_integration - tencentcloud_monitor_grafana_notification_channel - tencentcloud_monitor_grafana_plugin - tencentcloud_monitor_grafana_sso_account - tencentcloud_monitor_tmp_grafana_config + Resource + tencentcloud_monitor_grafana_instance + tencentcloud_monitor_grafana_integration + tencentcloud_monitor_grafana_notification_channel + tencentcloud_monitor_grafana_plugin + tencentcloud_monitor_grafana_sso_account + tencentcloud_monitor_tmp_grafana_config TencentDB for PostgreSQL(PostgreSQL) + Data Source + tencentcloud_postgresql_instances + tencentcloud_postgresql_specinfos + tencentcloud_postgresql_xlogs + tencentcloud_postgresql_parameter_templates + tencentcloud_postgresql_readonly_groups + tencentcloud_postgresql_base_backups + tencentcloud_postgresql_log_backups + tencentcloud_postgresql_backup_download_urls + tencentcloud_postgresql_db_instance_classes + tencentcloud_postgresql_default_parameters + tencentcloud_postgresql_recovery_time + tencentcloud_postgresql_regions + tencentcloud_postgresql_db_instance_versions + tencentcloud_postgresql_zones - Data Source - tencentcloud_postgresql_instances - tencentcloud_postgresql_specinfos - tencentcloud_postgresql_xlogs - tencentcloud_postgresql_parameter_templates - tencentcloud_postgresql_readonly_groups - tencentcloud_postgresql_base_backups - tencentcloud_postgresql_log_backups - tencentcloud_postgresql_backup_download_urls - tencentcloud_postgresql_db_instance_classes - tencentcloud_postgresql_default_parameters - tencentcloud_postgresql_recovery_time - tencentcloud_postgresql_regions - tencentcloud_postgresql_db_instance_versions - tencentcloud_postgresql_zones - - Resource - tencentcloud_postgresql_instance - tencentcloud_postgresql_readonly_instance - tencentcloud_postgresql_readonly_group - tencentcloud_postgresql_readonly_attachment - tencentcloud_postgresql_parameter_template - tencentcloud_postgresql_backup_plan_config - tencentcloud_postgresql_security_group_config - tencentcloud_postgresql_backup_download_restriction_config - tencentcloud_postgresql_restart_db_instance_operation - tencentcloud_postgresql_renew_db_instance_operation - tencentcloud_postgresql_isolate_db_instance_operation - tencentcloud_postgresql_disisolate_db_instance_operation - tencentcloud_postgresql_rebalance_readonly_group_operation - tencentcloud_postgresql_delete_log_backup_operation - tencentcloud_postgresql_modify_account_remark_operation - tencentcloud_postgresql_modify_switch_time_period_operation - tencentcloud_postgresql_base_backup + Resource + tencentcloud_postgresql_instance + tencentcloud_postgresql_readonly_instance + tencentcloud_postgresql_readonly_group + tencentcloud_postgresql_readonly_attachment + tencentcloud_postgresql_parameter_template + tencentcloud_postgresql_backup_plan_config + tencentcloud_postgresql_security_group_config + tencentcloud_postgresql_backup_download_restriction_config + tencentcloud_postgresql_restart_db_instance_operation + tencentcloud_postgresql_renew_db_instance_operation + tencentcloud_postgresql_isolate_db_instance_operation + tencentcloud_postgresql_disisolate_db_instance_operation + tencentcloud_postgresql_rebalance_readonly_group_operation + tencentcloud_postgresql_delete_log_backup_operation + tencentcloud_postgresql_modify_account_remark_operation + tencentcloud_postgresql_modify_switch_time_period_operation + tencentcloud_postgresql_base_backup TencentDB for Redis(crs) + Data Source + tencentcloud_redis_zone_config + tencentcloud_redis_instances + tencentcloud_redis_backup + tencentcloud_redis_backup_download_info + tencentcloud_redis_param_records + tencentcloud_redis_instance_shards + tencentcloud_redis_instance_zone_info + tencentcloud_redis_instance_task_list + tencentcloud_redis_instance_node_info - Data Source - tencentcloud_redis_zone_config - tencentcloud_redis_instances - tencentcloud_redis_backup - tencentcloud_redis_backup_download_info - tencentcloud_redis_param_records - tencentcloud_redis_instance_shards - tencentcloud_redis_instance_zone_info - tencentcloud_redis_instance_task_list - tencentcloud_redis_instance_node_info - - Resource - tencentcloud_redis_instance - tencentcloud_redis_backup_config - tencentcloud_redis_param_template - tencentcloud_redis_account - tencentcloud_redis_read_only - tencentcloud_redis_ssl - tencentcloud_redis_backup_download_restriction - tencentcloud_redis_clear_instance_operation - tencentcloud_redis_renew_instance_operation - tencentcloud_redis_startup_instance_operation - tencentcloud_redis_upgrade_cache_version_operation - tencentcloud_redis_upgrade_multi_zone_operation - tencentcloud_redis_upgrade_proxy_version_operation - tencentcloud_redis_maintenance_window - tencentcloud_redis_replica_readonly - tencentcloud_redis_switch_master - tencentcloud_redis_replicate_attachment - tencentcloud_redis_backup_operation - tencentcloud_redis_security_group_attachment - tencentcloud_redis_connection_config + Resource + tencentcloud_redis_instance + tencentcloud_redis_backup_config + tencentcloud_redis_param_template + tencentcloud_redis_account + tencentcloud_redis_read_only + tencentcloud_redis_ssl + tencentcloud_redis_backup_download_restriction + tencentcloud_redis_clear_instance_operation + tencentcloud_redis_renew_instance_operation + tencentcloud_redis_startup_instance_operation + tencentcloud_redis_upgrade_cache_version_operation + tencentcloud_redis_upgrade_multi_zone_operation + tencentcloud_redis_upgrade_proxy_version_operation + tencentcloud_redis_maintenance_window + tencentcloud_redis_replica_readonly + tencentcloud_redis_switch_master + tencentcloud_redis_replicate_attachment + tencentcloud_redis_backup_operation + tencentcloud_redis_security_group_attachment + tencentcloud_redis_connection_config Serverless Cloud Function(SCF) + Data Source + tencentcloud_scf_functions + tencentcloud_scf_logs + tencentcloud_scf_namespaces + tencentcloud_scf_account_info + tencentcloud_scf_async_event_management + tencentcloud_scf_triggers + tencentcloud_scf_async_event_status + tencentcloud_scf_function_address + tencentcloud_scf_request_status + tencentcloud_scf_function_aliases + tencentcloud_scf_layer_versions + tencentcloud_scf_layers + tencentcloud_scf_function_versions - Data Source - tencentcloud_scf_functions - tencentcloud_scf_logs - tencentcloud_scf_namespaces - tencentcloud_scf_account_info - tencentcloud_scf_async_event_management - tencentcloud_scf_triggers - tencentcloud_scf_async_event_status - tencentcloud_scf_function_address - tencentcloud_scf_request_status - tencentcloud_scf_function_aliases - tencentcloud_scf_layer_versions - tencentcloud_scf_layers - tencentcloud_scf_function_versions - - Resource - tencentcloud_scf_function - tencentcloud_scf_function_version - tencentcloud_scf_function_event_invoke_config - tencentcloud_scf_reserved_concurrency_config - tencentcloud_scf_provisioned_concurrency_config - tencentcloud_scf_invoke_function - tencentcloud_scf_sync_invoke_function - tencentcloud_scf_terminate_async_event - tencentcloud_scf_namespace - tencentcloud_scf_layer - tencentcloud_scf_function_alias - tencentcloud_scf_trigger_config + Resource + tencentcloud_scf_function + tencentcloud_scf_function_version + tencentcloud_scf_function_event_invoke_config + tencentcloud_scf_reserved_concurrency_config + tencentcloud_scf_provisioned_concurrency_config + tencentcloud_scf_invoke_function + tencentcloud_scf_sync_invoke_function + tencentcloud_scf_terminate_async_event + tencentcloud_scf_namespace + tencentcloud_scf_layer + tencentcloud_scf_function_alias + tencentcloud_scf_trigger_config SQLServer + Data Source + tencentcloud_sqlserver_zone_config + tencentcloud_sqlserver_instances + tencentcloud_sqlserver_dbs + tencentcloud_sqlserver_accounts + tencentcloud_sqlserver_account_db_attachments + tencentcloud_sqlserver_readonly_groups + tencentcloud_sqlserver_publish_subscribes + tencentcloud_sqlserver_basic_instances + tencentcloud_sqlserver_backup_commands + tencentcloud_sqlserver_backup_by_flow_id + tencentcloud_sqlserver_backup_upload_size + tencentcloud_sqlserver_cross_region_zone + tencentcloud_sqlserver_db_charsets + tencentcloud_sqlserver_instance_param_records + tencentcloud_sqlserver_project_security_groups + tencentcloud_sqlserver_regions + tencentcloud_sqlserver_rollback_time + tencentcloud_sqlserver_slowlogs + tencentcloud_sqlserver_upload_backup_info + tencentcloud_sqlserver_upload_incremental_info + tencentcloud_sqlserver_query_xevent + tencentcloud_sqlserver_ins_attribute - Data Source - tencentcloud_sqlserver_zone_config - tencentcloud_sqlserver_instances - tencentcloud_sqlserver_dbs - tencentcloud_sqlserver_accounts - tencentcloud_sqlserver_account_db_attachments - tencentcloud_sqlserver_readonly_groups - tencentcloud_sqlserver_publish_subscribes - tencentcloud_sqlserver_basic_instances - tencentcloud_sqlserver_backup_commands - tencentcloud_sqlserver_backup_by_flow_id - tencentcloud_sqlserver_backup_upload_size - tencentcloud_sqlserver_cross_region_zone - tencentcloud_sqlserver_db_charsets - tencentcloud_sqlserver_instance_param_records - tencentcloud_sqlserver_project_security_groups - tencentcloud_sqlserver_regions - tencentcloud_sqlserver_rollback_time - tencentcloud_sqlserver_slowlogs - tencentcloud_sqlserver_upload_backup_info - tencentcloud_sqlserver_upload_incremental_info - tencentcloud_sqlserver_query_xevent - tencentcloud_sqlserver_ins_attribute - - Resource - tencentcloud_sqlserver_instance - tencentcloud_sqlserver_readonly_instance - tencentcloud_sqlserver_db - tencentcloud_sqlserver_account - tencentcloud_sqlserver_account_db_attachment - tencentcloud_sqlserver_publish_subscribe - tencentcloud_sqlserver_basic_instance - tencentcloud_sqlserver_migration - tencentcloud_sqlserver_config_backup_strategy - tencentcloud_sqlserver_general_backup - tencentcloud_sqlserver_general_clone - tencentcloud_sqlserver_full_backup_migration - tencentcloud_sqlserver_incre_backup_migration - tencentcloud_sqlserver_business_intelligence_file - tencentcloud_sqlserver_business_intelligence_instance - tencentcloud_sqlserver_general_communication - tencentcloud_sqlserver_general_cloud_instance - tencentcloud_sqlserver_complete_expansion - tencentcloud_sqlserver_config_database_cdc - tencentcloud_sqlserver_config_database_ct - tencentcloud_sqlserver_config_database_mdf - tencentcloud_sqlserver_config_instance_param - tencentcloud_sqlserver_config_instance_ro_group - tencentcloud_sqlserver_renew_db_instance - tencentcloud_sqlserver_renew_postpaid_db_instance - tencentcloud_sqlserver_restart_db_instance - tencentcloud_sqlserver_config_terminate_db_instance - tencentcloud_sqlserver_restore_instance - tencentcloud_sqlserver_rollback_instance - tencentcloud_sqlserver_start_backup_full_migration - tencentcloud_sqlserver_start_backup_incremental_migration - tencentcloud_sqlserver_start_xevent - tencentcloud_sqlserver_instance_tde - tencentcloud_sqlserver_database_tde - tencentcloud_sqlserver_general_cloud_ro_instance + Resource + tencentcloud_sqlserver_instance + tencentcloud_sqlserver_readonly_instance + tencentcloud_sqlserver_db + tencentcloud_sqlserver_account + tencentcloud_sqlserver_account_db_attachment + tencentcloud_sqlserver_publish_subscribe + tencentcloud_sqlserver_basic_instance + tencentcloud_sqlserver_migration + tencentcloud_sqlserver_config_backup_strategy + tencentcloud_sqlserver_general_backup + tencentcloud_sqlserver_general_clone + tencentcloud_sqlserver_full_backup_migration + tencentcloud_sqlserver_incre_backup_migration + tencentcloud_sqlserver_business_intelligence_file + tencentcloud_sqlserver_business_intelligence_instance + tencentcloud_sqlserver_general_communication + tencentcloud_sqlserver_general_cloud_instance + tencentcloud_sqlserver_complete_expansion + tencentcloud_sqlserver_config_database_cdc + tencentcloud_sqlserver_config_database_ct + tencentcloud_sqlserver_config_database_mdf + tencentcloud_sqlserver_config_instance_param + tencentcloud_sqlserver_config_instance_ro_group + tencentcloud_sqlserver_renew_db_instance + tencentcloud_sqlserver_renew_postpaid_db_instance + tencentcloud_sqlserver_restart_db_instance + tencentcloud_sqlserver_config_terminate_db_instance + tencentcloud_sqlserver_restore_instance + tencentcloud_sqlserver_rollback_instance + tencentcloud_sqlserver_start_backup_full_migration + tencentcloud_sqlserver_start_backup_incremental_migration + tencentcloud_sqlserver_start_xevent + tencentcloud_sqlserver_instance_tde + tencentcloud_sqlserver_database_tde + tencentcloud_sqlserver_general_cloud_ro_instance SSL Certificates + Data Source + tencentcloud_ssl_certificates - Data Source - tencentcloud_ssl_certificates - - Resource - tencentcloud_ssl_certificate - tencentcloud_ssl_pay_certificate - tencentcloud_ssl_free_certificate + Resource + tencentcloud_ssl_certificate + tencentcloud_ssl_pay_certificate + tencentcloud_ssl_free_certificate Secrets Manager(SSM) + Data Source + tencentcloud_ssm_products + tencentcloud_ssm_secrets + tencentcloud_ssm_secret_versions - Data Source - tencentcloud_ssm_products - tencentcloud_ssm_secrets - tencentcloud_ssm_secret_versions - - Resource - tencentcloud_ssm_secret - tencentcloud_ssm_secret_version - tencentcloud_ssm_product_secret - tencentcloud_ssm_ssh_key_pair_secret + Resource + tencentcloud_ssm_secret + tencentcloud_ssm_secret_version + tencentcloud_ssm_product_secret + tencentcloud_ssm_ssh_key_pair_secret TcaplusDB + Data Source + tencentcloud_tcaplus_clusters + tencentcloud_tcaplus_idls + tencentcloud_tcaplus_tables + tencentcloud_tcaplus_tablegroups - Data Source - tencentcloud_tcaplus_clusters - tencentcloud_tcaplus_idls - tencentcloud_tcaplus_tables - tencentcloud_tcaplus_tablegroups - - Resource - tencentcloud_tcaplus_cluster - tencentcloud_tcaplus_tablegroup - tencentcloud_tcaplus_idl - tencentcloud_tcaplus_table + Resource + tencentcloud_tcaplus_cluster + tencentcloud_tcaplus_tablegroup + tencentcloud_tcaplus_idl + tencentcloud_tcaplus_table Tencent Container Registry(TCR) + Data Source + tencentcloud_tcr_instances + tencentcloud_tcr_namespaces + tencentcloud_tcr_repositories + tencentcloud_tcr_tokens + tencentcloud_tcr_vpc_attachments + tencentcloud_tcr_webhook_trigger_logs + tencentcloud_tcr_images + tencentcloud_tcr_image_manifests + tencentcloud_tcr_tag_retention_execution_tasks + tencentcloud_tcr_tag_retention_executions + tencentcloud_tcr_replication_instance_create_tasks + tencentcloud_tcr_replication_instance_sync_status - Data Source - tencentcloud_tcr_instances - tencentcloud_tcr_namespaces - tencentcloud_tcr_repositories - tencentcloud_tcr_tokens - tencentcloud_tcr_vpc_attachments - tencentcloud_tcr_webhook_trigger_logs - tencentcloud_tcr_images - tencentcloud_tcr_image_manifests - tencentcloud_tcr_tag_retention_execution_tasks - tencentcloud_tcr_tag_retention_executions - tencentcloud_tcr_replication_instance_create_tasks - tencentcloud_tcr_replication_instance_sync_status - - Resource - tencentcloud_tcr_instance - tencentcloud_tcr_namespace - tencentcloud_tcr_repository - tencentcloud_tcr_token - tencentcloud_tcr_vpc_attachment - tencentcloud_tcr_tag_retention_rule - tencentcloud_tcr_webhook_trigger - tencentcloud_tcr_manage_replication_operation - tencentcloud_tcr_customized_domain - tencentcloud_tcr_immutable_tag_rule - tencentcloud_tcr_delete_image_operation - tencentcloud_tcr_create_image_signature_operation - tencentcloud_tcr_tag_retention_execution_config - tencentcloud_tcr_service_account + Resource + tencentcloud_tcr_instance + tencentcloud_tcr_namespace + tencentcloud_tcr_repository + tencentcloud_tcr_token + tencentcloud_tcr_vpc_attachment + tencentcloud_tcr_tag_retention_rule + tencentcloud_tcr_webhook_trigger + tencentcloud_tcr_manage_replication_operation + tencentcloud_tcr_customized_domain + tencentcloud_tcr_immutable_tag_rule + tencentcloud_tcr_delete_image_operation + tencentcloud_tcr_create_image_signature_operation + tencentcloud_tcr_tag_retention_execution_config + tencentcloud_tcr_service_account Video on Demand(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 + 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 - tencentcloud_vod_adaptive_dynamic_streaming_template - tencentcloud_vod_procedure_template - tencentcloud_vod_snapshot_by_time_offset_template - tencentcloud_vod_image_sprite_template - tencentcloud_vod_super_player_config - tencentcloud_vod_sub_application + Resource + tencentcloud_vod_adaptive_dynamic_streaming_template + tencentcloud_vod_procedure_template + tencentcloud_vod_snapshot_by_time_offset_template + tencentcloud_vod_image_sprite_template + tencentcloud_vod_super_player_config + tencentcloud_vod_sub_application Virtual Private Cloud(VPC) + Data Source + tencentcloud_route_table + tencentcloud_security_group + tencentcloud_security_groups + tencentcloud_address_templates + tencentcloud_address_template_groups + tencentcloud_protocol_templates + tencentcloud_protocol_template_groups + tencentcloud_subnet + tencentcloud_vpc + tencentcloud_vpc_acls + tencentcloud_vpc_account_attributes + tencentcloud_vpc_classic_link_instances + tencentcloud_vpc_gateway_flow_monitor_detail + tencentcloud_vpc_gateway_flow_qos + tencentcloud_vpc_cvm_instances + tencentcloud_vpc_net_detect_states + tencentcloud_vpc_net_detect_state_check + tencentcloud_vpc_network_interface_limit + tencentcloud_vpc_private_ip_addresses + tencentcloud_vpc_product_quota + tencentcloud_vpc_resource_dashboard + tencentcloud_vpc_route_conflicts + tencentcloud_vpc_security_group_limits + tencentcloud_vpc_security_group_references + tencentcloud_vpc_sg_snapshot_file_content + tencentcloud_vpc_snapshot_files + tencentcloud_vpc_subnet_resource_dashboard + tencentcloud_vpc_template_limits + tencentcloud_vpc_used_ip_address + tencentcloud_vpc_limits + tencentcloud_vpc_instances + tencentcloud_vpc_route_tables + tencentcloud_vpc_subnets + tencentcloud_dnats + tencentcloud_enis + tencentcloud_ha_vip_eip_attachments + tencentcloud_ha_vips + tencentcloud_nat_gateways + tencentcloud_nat_gateway_snats + tencentcloud_nats + tencentcloud_nat_dc_route + tencentcloud_vpc_bandwidth_package_quota + tencentcloud_vpc_bandwidth_package_bill_usage - Data Source - tencentcloud_route_table - tencentcloud_security_group - tencentcloud_security_groups - tencentcloud_address_templates - tencentcloud_address_template_groups - tencentcloud_protocol_templates - tencentcloud_protocol_template_groups - tencentcloud_subnet - tencentcloud_vpc - tencentcloud_vpc_acls - tencentcloud_vpc_account_attributes - tencentcloud_vpc_classic_link_instances - tencentcloud_vpc_gateway_flow_monitor_detail - tencentcloud_vpc_gateway_flow_qos - tencentcloud_vpc_cvm_instances - tencentcloud_vpc_net_detect_states - tencentcloud_vpc_net_detect_state_check - tencentcloud_vpc_network_interface_limit - tencentcloud_vpc_private_ip_addresses - tencentcloud_vpc_product_quota - tencentcloud_vpc_resource_dashboard - tencentcloud_vpc_route_conflicts - tencentcloud_vpc_security_group_limits - tencentcloud_vpc_security_group_references - tencentcloud_vpc_sg_snapshot_file_content - tencentcloud_vpc_snapshot_files - tencentcloud_vpc_subnet_resource_dashboard - tencentcloud_vpc_template_limits - tencentcloud_vpc_used_ip_address - tencentcloud_vpc_limits - tencentcloud_vpc_instances - tencentcloud_vpc_route_tables - tencentcloud_vpc_subnets - tencentcloud_dnats - tencentcloud_enis - tencentcloud_ha_vip_eip_attachments - tencentcloud_ha_vips - tencentcloud_nat_gateways - tencentcloud_nat_gateway_snats - tencentcloud_nats - tencentcloud_nat_dc_route - tencentcloud_vpc_bandwidth_package_quota - tencentcloud_vpc_bandwidth_package_bill_usage - - Resource - tencentcloud_eni - tencentcloud_eni_attachment - tencentcloud_eni_sg_attachment - tencentcloud_vpc - tencentcloud_vpc_acl - tencentcloud_vpc_acl_attachment - tencentcloud_vpc_traffic_package - tencentcloud_vpc_snapshot_policy - tencentcloud_vpc_snapshot_policy_attachment - tencentcloud_vpc_snapshot_policy_config - tencentcloud_vpc_net_detect - tencentcloud_vpc_dhcp_ip - tencentcloud_vpc_ipv6_cidr_block - tencentcloud_vpc_ipv6_subnet_cidr_block - tencentcloud_vpc_ipv6_eni_address - tencentcloud_vpc_local_gateway - tencentcloud_vpc_resume_snapshot_instance - tencentcloud_subnet - tencentcloud_security_group - tencentcloud_security_group_rule - tencentcloud_security_group_rule_set - tencentcloud_security_group_lite_rule - tencentcloud_address_template - tencentcloud_address_template_group - tencentcloud_protocol_template - tencentcloud_protocol_template_group - tencentcloud_route_table - tencentcloud_route_entry - tencentcloud_route_table_entry - tencentcloud_dnat - tencentcloud_nat_gateway - tencentcloud_nat_gateway_snat - tencentcloud_nat_refresh_nat_dc_route - tencentcloud_ha_vip - tencentcloud_ha_vip_eip_attachment - tencentcloud_vpc_bandwidth_package - tencentcloud_vpc_bandwidth_package_attachment - tencentcloud_ipv6_address_bandwidth + Resource + tencentcloud_eni + tencentcloud_eni_attachment + tencentcloud_eni_sg_attachment + tencentcloud_vpc + tencentcloud_vpc_acl + tencentcloud_vpc_acl_attachment + tencentcloud_vpc_traffic_package + tencentcloud_vpc_snapshot_policy + tencentcloud_vpc_snapshot_policy_attachment + tencentcloud_vpc_snapshot_policy_config + tencentcloud_vpc_net_detect + tencentcloud_vpc_dhcp_ip + tencentcloud_vpc_ipv6_cidr_block + tencentcloud_vpc_ipv6_subnet_cidr_block + tencentcloud_vpc_ipv6_eni_address + tencentcloud_vpc_local_gateway + tencentcloud_vpc_resume_snapshot_instance + tencentcloud_subnet + tencentcloud_security_group + tencentcloud_security_group_rule + tencentcloud_security_group_rule_set + tencentcloud_security_group_lite_rule + tencentcloud_address_template + tencentcloud_address_template_group + tencentcloud_protocol_template + tencentcloud_protocol_template_group + tencentcloud_route_table + tencentcloud_route_entry + tencentcloud_route_table_entry + tencentcloud_dnat + tencentcloud_nat_gateway + tencentcloud_nat_gateway_snat + tencentcloud_nat_refresh_nat_dc_route + tencentcloud_ha_vip + tencentcloud_ha_vip_eip_attachment + tencentcloud_vpc_bandwidth_package + tencentcloud_vpc_bandwidth_package_attachment + tencentcloud_ipv6_address_bandwidth Private Link(PLS) - - Resource - tencentcloud_vpc_end_point_service - tencentcloud_vpc_end_point - tencentcloud_vpc_enable_end_point_connect - tencentcloud_vpc_end_point_service_white_list + Resource + tencentcloud_vpc_end_point_service + tencentcloud_vpc_end_point + tencentcloud_vpc_enable_end_point_connect + tencentcloud_vpc_end_point_service_white_list Flow Logs(FL) - - Resource - tencentcloud_vpc_flow_log - tencentcloud_vpc_flow_log_config + Resource + tencentcloud_vpc_flow_log + tencentcloud_vpc_flow_log_config VPN Connections(VPN) + Data Source + tencentcloud_vpn_connections + tencentcloud_vpn_customer_gateways + tencentcloud_vpn_gateways + tencentcloud_vpn_gateway_routes + tencentcloud_vpn_customer_gateway_vendors + tencentcloud_vpn_default_health_check_ip - Data Source - tencentcloud_vpn_connections - tencentcloud_vpn_customer_gateways - tencentcloud_vpn_gateways - tencentcloud_vpn_gateway_routes - tencentcloud_vpn_customer_gateway_vendors - tencentcloud_vpn_default_health_check_ip - - Resource - tencentcloud_vpn_customer_gateway - tencentcloud_vpn_gateway - tencentcloud_vpn_gateway_route - tencentcloud_vpn_connection - tencentcloud_vpn_ssl_server - tencentcloud_vpn_ssl_client - tencentcloud_vpn_connection_reset - tencentcloud_vpn_customer_gateway_configuration_download - tencentcloud_vpn_gateway_ssl_client_cert - tencentcloud_vpn_gateway_ccn_routes + Resource + tencentcloud_vpn_customer_gateway + tencentcloud_vpn_gateway + tencentcloud_vpn_gateway_route + tencentcloud_vpn_connection + tencentcloud_vpn_ssl_server + tencentcloud_vpn_ssl_client + tencentcloud_vpn_connection_reset + tencentcloud_vpn_customer_gateway_configuration_download + tencentcloud_vpn_gateway_ssl_client_cert + tencentcloud_vpn_gateway_ccn_routes MapReduce(EMR) + Data Source + tencentcloud_emr + tencentcloud_emr_nodes - Data Source - tencentcloud_emr - tencentcloud_emr_nodes - - Resource - tencentcloud_emr_cluster + Resource + tencentcloud_emr_cluster DNSPOD - - Resource - tencentcloud_dnspod_domain_instance - tencentcloud_dnspod_record - Data Source - tencentcloud_dnspod_records + Resource + tencentcloud_dnspod_domain_instance + tencentcloud_dnspod_record + Data Source + tencentcloud_dnspod_records PrivateDNS - - Resource - tencentcloud_private_dns_zone - tencentcloud_private_dns_record - tencentcloud_private_dns_zone_vpc_attachment - Data Source - tencentcloud_private_dns_records + Resource + tencentcloud_private_dns_zone + tencentcloud_private_dns_record + tencentcloud_private_dns_zone_vpc_attachment + Data Source + tencentcloud_private_dns_records Cloud Log Service(CLS) + Resource + tencentcloud_cls_logset + tencentcloud_cls_topic + tencentcloud_cls_config + tencentcloud_cls_config_extra + tencentcloud_cls_config_attachment + tencentcloud_cls_machine_group + tencentcloud_cls_cos_shipper + tencentcloud_cls_index + tencentcloud_cls_alarm + tencentcloud_cls_alarm_notice + tencentcloud_cls_ckafka_consumer + tencentcloud_cls_kafka_recharge + tencentcloud_cls_cos_recharge + tencentcloud_cls_export + tencentcloud_cls_scheduled_sql + tencentcloud_cls_data_transform - Resource - tencentcloud_cls_logset - tencentcloud_cls_topic - tencentcloud_cls_config - tencentcloud_cls_config_extra - tencentcloud_cls_config_attachment - tencentcloud_cls_machine_group - tencentcloud_cls_cos_shipper - tencentcloud_cls_index - tencentcloud_cls_alarm - tencentcloud_cls_alarm_notice - tencentcloud_cls_ckafka_consumer - tencentcloud_cls_kafka_recharge - tencentcloud_cls_cos_recharge - tencentcloud_cls_export - tencentcloud_cls_scheduled_sql - tencentcloud_cls_data_transform - - Data Source - tencentcloud_cls_shipper_tasks - tencentcloud_cls_machines - tencentcloud_cls_machine_group_configs + Data Source + tencentcloud_cls_shipper_tasks + tencentcloud_cls_machines + tencentcloud_cls_machine_group_configs TencentCloud Lighthouse(Lighthouse) + Resource + tencentcloud_lighthouse_instance + tencentcloud_lighthouse_blueprint + tencentcloud_lighthouse_firewall_rule + tencentcloud_lighthouse_disk_backup + tencentcloud_lighthouse_apply_disk_backup + tencentcloud_lighthouse_disk_attachment + tencentcloud_lighthouse_key_pair + tencentcloud_lighthouse_snapshot + tencentcloud_lighthouse_apply_instance_snapshot + tencentcloud_lighthouse_start_instance + tencentcloud_lighthouse_stop_instance + tencentcloud_lighthouse_reboot_instance + tencentcloud_lighthouse_key_pair_attachment + tencentcloud_lighthouse_disk + tencentcloud_lighthouse_renew_disk + tencentcloud_lighthouse_renew_instance + tencentcloud_lighthouse_firewall_template - Resource - tencentcloud_lighthouse_instance - tencentcloud_lighthouse_blueprint - tencentcloud_lighthouse_firewall_rule - tencentcloud_lighthouse_disk_backup - tencentcloud_lighthouse_apply_disk_backup - tencentcloud_lighthouse_disk_attachment - tencentcloud_lighthouse_key_pair - tencentcloud_lighthouse_snapshot - tencentcloud_lighthouse_apply_instance_snapshot - tencentcloud_lighthouse_start_instance - tencentcloud_lighthouse_stop_instance - tencentcloud_lighthouse_reboot_instance - tencentcloud_lighthouse_key_pair_attachment - tencentcloud_lighthouse_disk - tencentcloud_lighthouse_renew_disk - tencentcloud_lighthouse_renew_instance - tencentcloud_lighthouse_firewall_template - - Data Source - tencentcloud_lighthouse_firewall_rules_template - tencentcloud_lighthouse_bundle - tencentcloud_lighthouse_zone - tencentcloud_lighthouse_scene - tencentcloud_lighthouse_reset_instance_blueprint - tencentcloud_lighthouse_region - tencentcloud_lighthouse_instance_vnc_url - tencentcloud_lighthouse_instance_traffic_package - tencentcloud_lighthouse_instance_disk_num - tencentcloud_lighthouse_instance_blueprint - tencentcloud_lighthouse_disk_config - tencentcloud_lighthouse_all_scene - tencentcloud_lighthouse_modify_instance_bundle - tencentcloud_lighthouse_disks + Data Source + tencentcloud_lighthouse_firewall_rules_template + tencentcloud_lighthouse_bundle + tencentcloud_lighthouse_zone + tencentcloud_lighthouse_scene + tencentcloud_lighthouse_reset_instance_blueprint + tencentcloud_lighthouse_region + tencentcloud_lighthouse_instance_vnc_url + tencentcloud_lighthouse_instance_traffic_package + tencentcloud_lighthouse_instance_disk_num + tencentcloud_lighthouse_instance_blueprint + tencentcloud_lighthouse_disk_config + tencentcloud_lighthouse_all_scene + tencentcloud_lighthouse_modify_instance_bundle + tencentcloud_lighthouse_disks TencentCloud Elastic Microservice(TEM) - - Resource - tencentcloud_tem_environment - tencentcloud_tem_application - tencentcloud_tem_workload - tencentcloud_tem_app_config - tencentcloud_tem_log_config - tencentcloud_tem_scale_rule - tencentcloud_tem_gateway - tencentcloud_tem_application_service + Resource + tencentcloud_tem_environment + tencentcloud_tem_application + tencentcloud_tem_workload + tencentcloud_tem_app_config + tencentcloud_tem_log_config + tencentcloud_tem_scale_rule + tencentcloud_tem_gateway + tencentcloud_tem_application_service TencentCloud EdgeOne(TEO) - - Data Source - tencentcloud_teo_zone_available_plans - tencentcloud_teo_rule_engine_settings + Data Source + tencentcloud_teo_zone_available_plans + tencentcloud_teo_rule_engine_settings Resource tencentcloud_teo_zone @@ -1244,25 +1187,23 @@ TencentCloud EdgeOne(TEO) tencentcloud_teo_acceleration_domain TencentCloud ServiceMesh(TCM) - - Data Source - tencentcloud_tcm_mesh - Resource - tencentcloud_tcm_mesh - tencentcloud_tcm_cluster_attachment - tencentcloud_tcm_prometheus_attachment - tencentcloud_tcm_tracing_config - tencentcloud_tcm_access_log_config + Data Source + tencentcloud_tcm_mesh + Resource + tencentcloud_tcm_mesh + tencentcloud_tcm_cluster_attachment + tencentcloud_tcm_prometheus_attachment + tencentcloud_tcm_tracing_config + tencentcloud_tcm_access_log_config Simple Email Service(SES) - - Data Source - tencentcloud_ses_receivers - tencentcloud_ses_send_tasks - tencentcloud_ses_email_identities - tencentcloud_ses_black_email_address - tencentcloud_ses_statistics_report - tencentcloud_ses_send_email_status + Data Source + tencentcloud_ses_receivers + tencentcloud_ses_send_tasks + tencentcloud_ses_email_identities + tencentcloud_ses_black_email_address + tencentcloud_ses_statistics_report + tencentcloud_ses_send_email_status Resource tencentcloud_ses_domain @@ -1275,116 +1216,111 @@ Simple Email Service(SES) tencentcloud_ses_black_list_delete Security Token Service(STS) - - Data Source - tencentcloud_sts_caller_identity + Data Source + tencentcloud_sts_caller_identity TDSQL for MySQL(DCDB) + Data Source + tencentcloud_dcdb_instances + tencentcloud_dcdb_accounts + tencentcloud_dcdb_databases + tencentcloud_dcdb_parameters + tencentcloud_dcdb_shards + tencentcloud_dcdb_security_groups + tencentcloud_dcdb_database_objects + tencentcloud_dcdb_database_tables + tencentcloud_dcdb_file_download_url + tencentcloud_dcdb_log_files + tencentcloud_dcdb_instance_node_info + tencentcloud_dcdb_orders + tencentcloud_dcdb_price + tencentcloud_dcdb_project_security_groups + tencentcloud_dcdb_projects + tencentcloud_dcdb_renewal_price + tencentcloud_dcdb_sale_info + tencentcloud_dcdb_shard_spec + tencentcloud_dcdb_slow_logs + tencentcloud_dcdb_upgrade_price - Data Source - tencentcloud_dcdb_instances - tencentcloud_dcdb_accounts - tencentcloud_dcdb_databases - tencentcloud_dcdb_parameters - tencentcloud_dcdb_shards - tencentcloud_dcdb_security_groups - tencentcloud_dcdb_database_objects - tencentcloud_dcdb_database_tables - tencentcloud_dcdb_file_download_url - tencentcloud_dcdb_log_files - tencentcloud_dcdb_instance_node_info - tencentcloud_dcdb_orders - tencentcloud_dcdb_price - tencentcloud_dcdb_project_security_groups - tencentcloud_dcdb_projects - tencentcloud_dcdb_renewal_price - tencentcloud_dcdb_sale_info - tencentcloud_dcdb_shard_spec - tencentcloud_dcdb_slow_logs - tencentcloud_dcdb_upgrade_price - - Resource - tencentcloud_dcdb_account - tencentcloud_dcdb_hourdb_instance - tencentcloud_dcdb_security_group_attachment - tencentcloud_dcdb_account_privileges - tencentcloud_dcdb_db_parameters - tencentcloud_dcdb_db_sync_mode_config - tencentcloud_dcdb_encrypt_attributes_config - tencentcloud_dcdb_instance_config - tencentcloud_dcdb_cancel_dcn_job_operation - tencentcloud_dcdb_activate_hour_instance_operation - tencentcloud_dcdb_isolate_hour_instance_operation - tencentcloud_dcdb_flush_binlog_operation - tencentcloud_dcdb_switch_db_instance_ha_operation + Resource + tencentcloud_dcdb_account + tencentcloud_dcdb_hourdb_instance + tencentcloud_dcdb_security_group_attachment + tencentcloud_dcdb_account_privileges + tencentcloud_dcdb_db_parameters + tencentcloud_dcdb_db_sync_mode_config + tencentcloud_dcdb_encrypt_attributes_config + tencentcloud_dcdb_instance_config + tencentcloud_dcdb_cancel_dcn_job_operation + tencentcloud_dcdb_activate_hour_instance_operation + tencentcloud_dcdb_isolate_hour_instance_operation + tencentcloud_dcdb_flush_binlog_operation + tencentcloud_dcdb_switch_db_instance_ha_operation Short Message Service(SMS) - - Resource - tencentcloud_sms_sign - tencentcloud_sms_template + Resource + tencentcloud_sms_sign + tencentcloud_sms_template Cloud Automated Testing(CAT) + Data Source + tencentcloud_cat_probe_data + tencentcloud_cat_node + tencentcloud_cat_metric_data - Data Source - tencentcloud_cat_probe_data - tencentcloud_cat_node - - Resource - tencentcloud_cat_task_set + Resource + tencentcloud_cat_task_set TencentDB for MariaDB(MariaDB) + Data Source + tencentcloud_mariadb_db_instances + tencentcloud_mariadb_accounts + tencentcloud_mariadb_security_groups + tencentcloud_mariadb_database_objects + tencentcloud_mariadb_databases + tencentcloud_mariadb_database_table + tencentcloud_mariadb_dcn_detail + tencentcloud_mariadb_file_download_url + tencentcloud_mariadb_flow + tencentcloud_mariadb_instance_specs + tencentcloud_mariadb_log_files + tencentcloud_mariadb_orders + tencentcloud_mariadb_price + tencentcloud_mariadb_project_security_groups + tencentcloud_mariadb_renewal_price + tencentcloud_mariadb_sale_info + tencentcloud_mariadb_slow_logs + tencentcloud_mariadb_upgrade_price - Data Source - tencentcloud_mariadb_db_instances - tencentcloud_mariadb_accounts - tencentcloud_mariadb_security_groups - tencentcloud_mariadb_database_objects - tencentcloud_mariadb_databases - tencentcloud_mariadb_database_table - tencentcloud_mariadb_dcn_detail - tencentcloud_mariadb_file_download_url - tencentcloud_mariadb_flow - tencentcloud_mariadb_instance_specs - tencentcloud_mariadb_log_files - tencentcloud_mariadb_orders - tencentcloud_mariadb_price - tencentcloud_mariadb_project_security_groups - tencentcloud_mariadb_renewal_price - tencentcloud_mariadb_sale_info - tencentcloud_mariadb_slow_logs - tencentcloud_mariadb_upgrade_price - - Resource - tencentcloud_mariadb_dedicatedcluster_db_instance - tencentcloud_mariadb_instance - tencentcloud_mariadb_hour_db_instance - tencentcloud_mariadb_account - tencentcloud_mariadb_parameters - tencentcloud_mariadb_log_file_retention_period - tencentcloud_mariadb_security_groups - tencentcloud_mariadb_account_privileges - tencentcloud_mariadb_operate_hour_db_instance - tencentcloud_mariadb_backup_time - tencentcloud_mariadb_cancel_dcn_job - tencentcloud_mariadb_flush_binlog - tencentcloud_mariadb_switch_ha - tencentcloud_mariadb_restart_instance - tencentcloud_mariadb_renew_instance - tencentcloud_mariadb_instance_config + Resource + tencentcloud_mariadb_dedicatedcluster_db_instance + tencentcloud_mariadb_instance + tencentcloud_mariadb_hour_db_instance + tencentcloud_mariadb_account + tencentcloud_mariadb_parameters + tencentcloud_mariadb_log_file_retention_period + tencentcloud_mariadb_security_groups + tencentcloud_mariadb_account_privileges + tencentcloud_mariadb_operate_hour_db_instance + tencentcloud_mariadb_backup_time + tencentcloud_mariadb_cancel_dcn_job + tencentcloud_mariadb_flush_binlog + tencentcloud_mariadb_switch_ha + tencentcloud_mariadb_restart_instance + tencentcloud_mariadb_renew_instance + tencentcloud_mariadb_instance_config Real User Monitoring(RUM) - - Data Source - tencentcloud_rum_project - tencentcloud_rum_offline_log_config - tencentcloud_rum_whitelist - tencentcloud_rum_taw_instance - Resource - tencentcloud_rum_project - tencentcloud_rum_taw_instance - tencentcloud_rum_whitelist - tencentcloud_rum_offline_log_config_attachment + Data Source + tencentcloud_rum_project + tencentcloud_rum_offline_log_config + tencentcloud_rum_whitelist + tencentcloud_rum_taw_instance + Resource + tencentcloud_rum_project + tencentcloud_rum_taw_instance + tencentcloud_rum_whitelist + tencentcloud_rum_offline_log_config_attachment Cloud Streaming Services(CSS) Resource @@ -1412,107 +1348,101 @@ Performance Testing Service(PTS) tencentcloud_pts_tmp_key_generate TencentCloud Automation Tools(TAT) - - Data Source - tencentcloud_tat_command - tencentcloud_tat_invoker - tencentcloud_tat_invoker_records - tencentcloud_tat_agent - tencentcloud_tat_invocation_task - Resource - tencentcloud_tat_command - tencentcloud_tat_invoker - tencentcloud_tat_invoker_config - tencentcloud_tat_invocation_invoke_attachment - tencentcloud_tat_invocation_command_attachment + Data Source + tencentcloud_tat_command + tencentcloud_tat_invoker + tencentcloud_tat_invoker_records + tencentcloud_tat_agent + tencentcloud_tat_invocation_task + Resource + tencentcloud_tat_command + tencentcloud_tat_invoker + tencentcloud_tat_invoker_config + tencentcloud_tat_invocation_invoke_attachment + tencentcloud_tat_invocation_command_attachment Tencent Cloud Organization (TCO) - - Resource - tencentcloud_organization_org_node - tencentcloud_organization_org_member - tencentcloud_organization_policy_sub_account_attachment + Resource + tencentcloud_organization_org_node + tencentcloud_organization_org_member + tencentcloud_organization_policy_sub_account_attachment TDSQL-C for PostgreSQL(TDCPG) - - Data Source - tencentcloud_tdcpg_clusters - tencentcloud_tdcpg_instances - Resource - tencentcloud_tdcpg_cluster - tencentcloud_tdcpg_instance + Data Source + tencentcloud_tdcpg_clusters + tencentcloud_tdcpg_instances + Resource + tencentcloud_tdcpg_cluster + tencentcloud_tdcpg_instance TencentDB for DBbrain(dbbrain) + Data Source + tencentcloud_dbbrain_sql_filters + tencentcloud_dbbrain_security_audit_log_export_tasks + tencentcloud_dbbrain_diag_event + tencentcloud_dbbrain_diag_events + tencentcloud_dbbrain_diag_history + tencentcloud_dbbrain_security_audit_log_download_urls + tencentcloud_dbbrain_slow_log_time_series_stats + tencentcloud_dbbrain_slow_log_top_sqls + tencentcloud_dbbrain_slow_log_user_host_stats + tencentcloud_dbbrain_slow_log_user_sql_advice + tencentcloud_dbbrain_slow_logs + tencentcloud_dbbrain_health_scores + tencentcloud_dbbrain_sql_templates + tencentcloud_dbbrain_db_space_status + tencentcloud_dbbrain_top_space_schemas + tencentcloud_dbbrain_top_space_tables + tencentcloud_dbbrain_top_space_schema_time_series + tencentcloud_dbbrain_top_space_table_time_series + tencentcloud_dbbrain_diag_db_instances + tencentcloud_dbbrain_mysql_process_list + tencentcloud_dbbrain_no_primary_key_tables + tencentcloud_dbbrain_redis_top_big_keys + tencentcloud_dbbrain_redis_top_key_prefix_list - Data Source - tencentcloud_dbbrain_sql_filters - tencentcloud_dbbrain_security_audit_log_export_tasks - tencentcloud_dbbrain_diag_event - tencentcloud_dbbrain_diag_events - tencentcloud_dbbrain_diag_history - tencentcloud_dbbrain_security_audit_log_download_urls - tencentcloud_dbbrain_slow_log_time_series_stats - tencentcloud_dbbrain_slow_log_top_sqls - tencentcloud_dbbrain_slow_log_user_host_stats - tencentcloud_dbbrain_slow_log_user_sql_advice - tencentcloud_dbbrain_slow_logs - tencentcloud_dbbrain_health_scores - tencentcloud_dbbrain_sql_templates - tencentcloud_dbbrain_db_space_status - tencentcloud_dbbrain_top_space_schemas - tencentcloud_dbbrain_top_space_tables - tencentcloud_dbbrain_top_space_schema_time_series - tencentcloud_dbbrain_top_space_table_time_series - tencentcloud_dbbrain_diag_db_instances - tencentcloud_dbbrain_mysql_process_list - tencentcloud_dbbrain_no_primary_key_tables - tencentcloud_dbbrain_redis_top_big_keys - tencentcloud_dbbrain_redis_top_key_prefix_list - - Resource - tencentcloud_dbbrain_sql_filter - tencentcloud_dbbrain_security_audit_log_export_task - tencentcloud_dbbrain_db_diag_report_task - tencentcloud_dbbrain_modify_diag_db_instance_operation - tencentcloud_dbbrain_tdsql_audit_log + Resource + tencentcloud_dbbrain_sql_filter + tencentcloud_dbbrain_security_audit_log_export_task + tencentcloud_dbbrain_db_diag_report_task + tencentcloud_dbbrain_modify_diag_db_instance_operation + tencentcloud_dbbrain_tdsql_audit_log Data Transmission Service(DTS) + Data Source + tencentcloud_dts_sync_jobs + tencentcloud_dts_migrate_jobs + tencentcloud_dts_compare_tasks + tencentcloud_dts_migrate_db_instances - Data Source - tencentcloud_dts_sync_jobs - tencentcloud_dts_migrate_jobs - tencentcloud_dts_compare_tasks - tencentcloud_dts_migrate_db_instances - - Resource - tencentcloud_dts_sync_job - tencentcloud_dts_sync_config - tencentcloud_dts_sync_check_job_operation - tencentcloud_dts_sync_job_resume_operation - tencentcloud_dts_sync_job_start_operation - tencentcloud_dts_sync_job_stop_operation - tencentcloud_dts_sync_job_resize_operation - tencentcloud_dts_sync_job_recover_operation - tencentcloud_dts_sync_job_isolate_operation - tencentcloud_dts_sync_job_continue_operation - tencentcloud_dts_sync_job_pause_operation - tencentcloud_dts_migrate_service - tencentcloud_dts_migrate_job - tencentcloud_dts_migrate_job_config - tencentcloud_dts_migrate_job_start_operation - tencentcloud_dts_migrate_job_resume_operation - tencentcloud_dts_compare_task_stop_operation - tencentcloud_dts_compare_task + Resource + tencentcloud_dts_sync_job + tencentcloud_dts_sync_config + tencentcloud_dts_sync_check_job_operation + tencentcloud_dts_sync_job_resume_operation + tencentcloud_dts_sync_job_start_operation + tencentcloud_dts_sync_job_stop_operation + tencentcloud_dts_sync_job_resize_operation + tencentcloud_dts_sync_job_recover_operation + tencentcloud_dts_sync_job_isolate_operation + tencentcloud_dts_sync_job_continue_operation + tencentcloud_dts_sync_job_pause_operation + tencentcloud_dts_migrate_service + tencentcloud_dts_migrate_job + tencentcloud_dts_migrate_job_config + tencentcloud_dts_migrate_job_start_operation + tencentcloud_dts_migrate_job_resume_operation + tencentcloud_dts_compare_task_stop_operation + tencentcloud_dts_compare_task TDMQ for RocketMQ(trocket) - - Data Source - tencentcloud_tdmq_rocketmq_cluster - tencentcloud_tdmq_rocketmq_namespace - tencentcloud_tdmq_rocketmq_topic - tencentcloud_tdmq_rocketmq_role - tencentcloud_tdmq_rocketmq_group - tencentcloud_tdmq_rocketmq_messages + Data Source + tencentcloud_tdmq_rocketmq_cluster + tencentcloud_tdmq_rocketmq_namespace + tencentcloud_tdmq_rocketmq_topic + tencentcloud_tdmq_rocketmq_role + tencentcloud_tdmq_rocketmq_group + tencentcloud_tdmq_rocketmq_messages Resource tencentcloud_tdmq_rocketmq_cluster @@ -1529,106 +1459,103 @@ TDMQ for RocketMQ(trocket) tencentcloud_trocket_rocketmq_role TDMQ for RabbitMQ(trabbit) + Resource + tencentcloud_tdmq_rabbitmq_user + tencentcloud_tdmq_rabbitmq_virtual_host + tencentcloud_tdmq_rabbitmq_vip_instance - Resource - tencentcloud_tdmq_rabbitmq_user - tencentcloud_tdmq_rabbitmq_virtual_host - tencentcloud_tdmq_rabbitmq_vip_instance Cloud Infinite(CI) - - Resource - tencentcloud_ci_bucket_attachment - tencentcloud_ci_bucket_pic_style - tencentcloud_ci_hot_link - tencentcloud_ci_media_snapshot_template - tencentcloud_ci_media_transcode_template - tencentcloud_ci_media_animation_template - tencentcloud_ci_media_concat_template - tencentcloud_ci_media_video_process_template - tencentcloud_ci_media_video_montage_template - tencentcloud_ci_media_voice_separate_template - tencentcloud_ci_media_super_resolution_template - tencentcloud_ci_media_pic_process_template - tencentcloud_ci_media_watermark_template - tencentcloud_ci_media_tts_template - tencentcloud_ci_media_transcode_pro_template - tencentcloud_ci_media_smart_cover_template - tencentcloud_ci_media_speech_recognition_template - tencentcloud_ci_guetzli - tencentcloud_ci_original_image_protection + Resource + tencentcloud_ci_bucket_attachment + tencentcloud_ci_bucket_pic_style + tencentcloud_ci_hot_link + tencentcloud_ci_media_snapshot_template + tencentcloud_ci_media_transcode_template + tencentcloud_ci_media_animation_template + tencentcloud_ci_media_concat_template + tencentcloud_ci_media_video_process_template + tencentcloud_ci_media_video_montage_template + tencentcloud_ci_media_voice_separate_template + tencentcloud_ci_media_super_resolution_template + tencentcloud_ci_media_pic_process_template + tencentcloud_ci_media_watermark_template + tencentcloud_ci_media_tts_template + tencentcloud_ci_media_transcode_pro_template + tencentcloud_ci_media_smart_cover_template + tencentcloud_ci_media_speech_recognition_template + tencentcloud_ci_guetzli + tencentcloud_ci_original_image_protection TDMQ for CMQ + Data Source + tencentcloud_tcmq_queue + tencentcloud_tcmq_topic + tencentcloud_tcmq_subscribe - Data Source - tencentcloud_tcmq_queue - tencentcloud_tcmq_topic - tencentcloud_tcmq_subscribe - - Resource - tencentcloud_tcmq_queue - tencentcloud_tcmq_topic - tencentcloud_tcmq_subscribe + Resource + tencentcloud_tcmq_queue + tencentcloud_tcmq_topic + tencentcloud_tcmq_subscribe Tencent Service Framework(TSF) + Data Source + tencentcloud_tsf_application + tencentcloud_tsf_application_config + tencentcloud_tsf_application_file_config + tencentcloud_tsf_application_public_config + tencentcloud_tsf_cluster + tencentcloud_tsf_microservice + tencentcloud_tsf_unit_rules + tencentcloud_tsf_config_summary + tencentcloud_tsf_delivery_config_by_group_id + tencentcloud_tsf_delivery_configs + tencentcloud_tsf_public_config_summary + tencentcloud_tsf_api_group + tencentcloud_tsf_application_attribute + tencentcloud_tsf_business_log_configs + tencentcloud_tsf_api_detail + tencentcloud_tsf_microservice_api_version + tencentcloud_tsf_repository + tencentcloud_tsf_pod_instances + tencentcloud_tsf_gateway_all_group_apis + tencentcloud_tsf_group_gateways + tencentcloud_tsf_usable_unit_namespaces + tencentcloud_tsf_group_instances + tencentcloud_tsf_group_config_release + tencentcloud_tsf_container_group + tencentcloud_tsf_groups + tencentcloud_tsf_ms_api_list - Data Source - tencentcloud_tsf_application - tencentcloud_tsf_application_config - tencentcloud_tsf_application_file_config - tencentcloud_tsf_application_public_config - tencentcloud_tsf_cluster - tencentcloud_tsf_microservice - tencentcloud_tsf_unit_rules - tencentcloud_tsf_config_summary - tencentcloud_tsf_delivery_config_by_group_id - tencentcloud_tsf_delivery_configs - tencentcloud_tsf_public_config_summary - tencentcloud_tsf_api_group - tencentcloud_tsf_application_attribute - tencentcloud_tsf_business_log_configs - tencentcloud_tsf_api_detail - tencentcloud_tsf_microservice_api_version - tencentcloud_tsf_repository - tencentcloud_tsf_pod_instances - tencentcloud_tsf_gateway_all_group_apis - tencentcloud_tsf_group_gateways - tencentcloud_tsf_usable_unit_namespaces - tencentcloud_tsf_group_instances - tencentcloud_tsf_group_config_release - tencentcloud_tsf_container_group - tencentcloud_tsf_groups - tencentcloud_tsf_ms_api_list - - Resource - tencentcloud_tsf_cluster - tencentcloud_tsf_microservice - tencentcloud_tsf_application_config - tencentcloud_tsf_api_group - tencentcloud_tsf_namespace - tencentcloud_tsf_path_rewrite - tencentcloud_tsf_unit_rule - tencentcloud_tsf_task - tencentcloud_tsf_config_template - tencentcloud_tsf_api_rate_limit_rule - tencentcloud_tsf_application_release_config - tencentcloud_tsf_lane - tencentcloud_tsf_lane_rule - tencentcloud_tsf_group - tencentcloud_tsf_application - tencentcloud_tsf_application_public_config_release - tencentcloud_tsf_application_public_config - tencentcloud_tsf_application_file_config_release - tencentcloud_tsf_instances_attachment - tencentcloud_tsf_bind_api_group - tencentcloud_tsf_application_file_config - tencentcloud_tsf_enable_unit_rule - tencentcloud_tsf_deploy_container_group - tencentcloud_tsf_deploy_vm_group - tencentcloud_tsf_release_api_group - tencentcloud_tsf_operate_container_group - tencentcloud_tsf_operate_group - tencentcloud_tsf_unit_namespace + Resource + tencentcloud_tsf_cluster + tencentcloud_tsf_microservice + tencentcloud_tsf_application_config + tencentcloud_tsf_api_group + tencentcloud_tsf_namespace + tencentcloud_tsf_path_rewrite + tencentcloud_tsf_unit_rule + tencentcloud_tsf_task + tencentcloud_tsf_config_template + tencentcloud_tsf_api_rate_limit_rule + tencentcloud_tsf_application_release_config + tencentcloud_tsf_lane + tencentcloud_tsf_lane_rule + tencentcloud_tsf_group + tencentcloud_tsf_application + tencentcloud_tsf_application_public_config_release + tencentcloud_tsf_application_public_config + tencentcloud_tsf_application_file_config_release + tencentcloud_tsf_instances_attachment + tencentcloud_tsf_bind_api_group + tencentcloud_tsf_application_file_config + tencentcloud_tsf_enable_unit_rule + tencentcloud_tsf_deploy_container_group + tencentcloud_tsf_deploy_vm_group + tencentcloud_tsf_release_api_group + tencentcloud_tsf_operate_container_group + tencentcloud_tsf_operate_group + tencentcloud_tsf_unit_namespace Media Processing Service(MPS) Resource @@ -1647,29 +1574,26 @@ Media Processing Service(MPS) tencentcloud_mps_withdraws_watermark_operation Cloud HDFS(CHDFS) + Data Source + tencentcloud_chdfs_access_groups + tencentcloud_chdfs_mount_points + tencentcloud_chdfs_file_systems - Data Source - tencentcloud_chdfs_access_groups - tencentcloud_chdfs_mount_points - tencentcloud_chdfs_file_systems - - Resource - tencentcloud_chdfs_access_group - tencentcloud_chdfs_access_rule - tencentcloud_chdfs_file_system - tencentcloud_chdfs_life_cycle_rule - tencentcloud_chdfs_mount_point - tencentcloud_chdfs_mount_point_attachment + Resource + tencentcloud_chdfs_access_group + tencentcloud_chdfs_access_rule + tencentcloud_chdfs_file_system + tencentcloud_chdfs_life_cycle_rule + tencentcloud_chdfs_mount_point + tencentcloud_chdfs_mount_point_attachment StreamLive(MDL) - - Resource - tencentcloud_mdl_stream_live_input + Resource + tencentcloud_mdl_stream_live_input Application Performance Management(APM) - - Resource - tencentcloud_apm_instance + Resource + tencentcloud_apm_instance Tencent Cloud Service Engine(TSE) Data Source @@ -1698,51 +1622,46 @@ Tencent Cloud Service Engine(TSE) tencentcloud_tse_cngw_certificate ClickHouse(CDWCH) + Data Source + tencentcloud_clickhouse_backup_jobs + tencentcloud_clickhouse_backup_job_detail + tencentcloud_clickhouse_backup_tables - Data Source - tencentcloud_clickhouse_backup_jobs - tencentcloud_clickhouse_backup_job_detail - tencentcloud_clickhouse_backup_tables - - Resource - tencentcloud_clickhouse_instance - tencentcloud_clickhouse_backup - tencentcloud_clickhouse_backup_strategy - tencentcloud_clickhouse_recover_backup_job - tencentcloud_clickhouse_delete_backup_data - tencentcloud_clickhouse_account - tencentcloud_clickhouse_account_permission + Resource + tencentcloud_clickhouse_instance + tencentcloud_clickhouse_backup + tencentcloud_clickhouse_backup_strategy + tencentcloud_clickhouse_recover_backup_job + tencentcloud_clickhouse_delete_backup_data + tencentcloud_clickhouse_account + tencentcloud_clickhouse_account_permission Tag - - Resource - tencentcloud_tag - tencentcloud_tag_attachment + Resource + tencentcloud_tag + tencentcloud_tag_attachment EventBridge(EB) + Data Source + tencentcloud_eb_bus + tencentcloud_eb_event_rules - Data Source - tencentcloud_eb_bus - tencentcloud_eb_event_rules - - Resource - tencentcloud_eb_event_transform - tencentcloud_eb_event_bus - tencentcloud_eb_event_rule - tencentcloud_eb_event_target - tencentcloud_eb_put_events - tencentcloud_eb_event_connector + Resource + tencentcloud_eb_event_transform + tencentcloud_eb_event_bus + tencentcloud_eb_event_rule + tencentcloud_eb_event_target + tencentcloud_eb_put_events + tencentcloud_eb_event_connector Data Lake Compute(DLC) - - Resource - tencentcloud_dlc_work_group - tencentcloud_dlc_user + Resource + tencentcloud_dlc_work_group + tencentcloud_dlc_user WeData - - Data Source - tencentcloud_wedata_rule_templates + Data Source + tencentcloud_wedata_rule_templates Resource tencentcloud_wedata_rule_template From 75bba48094d34ab65a22a96fa907e34ec7e06633 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 16:29:13 +0800 Subject: [PATCH 12/20] fix: modify provider --- tencentcloud/provider.go | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index 45565081fb..66610fdc6d 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -2335,7 +2335,6 @@ func Provider() *schema.Provider { "tencentcloud_tse_gateway_routes": dataSourceTencentCloudTseGatewayRoutes(), "tencentcloud_tse_gateway_canary_rules": dataSourceTencentCloudTseGatewayCanaryRules(), "tencentcloud_tse_gateway_services": dataSourceTencentCloudTseGatewayServices(), - "tencentcloud_tse_gateway_certificates": dataSourceTencentCloudTseGatewayCertificates(), "tencentcloud_lighthouse_modify_instance_bundle": dataSourceTencentCloudLighthouseModifyInstanceBundle(), "tencentcloud_lighthouse_zone": dataSourceTencentCloudLighthouseZone(), "tencentcloud_lighthouse_scene": dataSourceTencentCloudLighthouseScene(), @@ -2359,22 +2358,6 @@ func Provider() *schema.Provider { "tencentcloud_eb_event_rules": dataSourceTencentCloudEbEventRules(), "tencentcloud_wedata_rule_templates": dataSourceTencentCloudWedataRuleTemplates(), "tencentcloud_private_dns_records": dataSourceTencentCloudPrivateDnsRecords(), - "tencentcloud_waf_ciphers": dataSourceTencentCloudWafCiphers(), - "tencentcloud_waf_tls_versions": dataSourceTencentCloudWafTlsVersions(), - "tencentcloud_waf_domains": dataSourceTencentCloudWafDomains(), - "tencentcloud_waf_find_domains": dataSourceTencentCloudWafFindDomains(), - "tencentcloud_waf_waf_infos": dataSourceTencentCloudWafWafInfos(), - "tencentcloud_waf_ports": dataSourceTencentCloudWafPorts(), - "tencentcloud_waf_user_domains": dataSourceTencentCloudWafUserDomains(), - "tencentcloud_waf_attack_log_histogram": dataSourceTencentCloudWafAttackLogHistogram(), - "tencentcloud_waf_attack_log_list": dataSourceTencentCloudWafAttackLogList(), - "tencentcloud_waf_attack_overview": dataSourceTencentCloudWafAttackOverview(), - "tencentcloud_waf_attack_total_count": dataSourceTencentCloudWafAttackTotalCount(), - "tencentcloud_waf_peak_points": dataSourceTencentCloudWafPeakPoints(), - "tencentcloud_waf_instance_qps_limit": dataSourceTencentCloudWafInstanceQpsLimit(), - "tencentcloud_cfw_nat_fw_switches": dataSourceTencentCloudCfwNatFwSwitches(), - "tencentcloud_cfw_vpc_fw_switches": dataSourceTencentCloudCfwVpcFwSwitches(), - "tencentcloud_cfw_edge_fw_switches": dataSourceTencentCloudCfwEdgeFwSwitches(), "tencentcloud_ses_receivers": dataSourceTencentCloudSesReceivers(), "tencentcloud_ses_send_tasks": dataSourceTencentCloudSesSendTasks(), "tencentcloud_ses_email_identities": dataSourceTencentCloudSesEmailIdentities(), @@ -2876,9 +2859,6 @@ func Provider() *schema.Provider { "tencentcloud_teo_zone_setting": resourceTencentCloudTeoZoneSetting(), "tencentcloud_teo_origin_group": resourceTencentCloudTeoOriginGroup(), "tencentcloud_teo_rule_engine": resourceTencentCloudTeoRuleEngine(), - "tencentcloud_teo_ownership_verify": resourceTencentCloudTeoOwnershipVerify(), - "tencentcloud_teo_certificate_config": resourceTencentCloudTeoCertificateConfig(), - "tencentcloud_teo_acceleration_domain": resourceTencentCloudTeoAccelerationDomain(), "tencentcloud_teo_application_proxy": resourceTencentCloudTeoApplicationProxy(), "tencentcloud_teo_application_proxy_rule": resourceTencentCloudTeoApplicationProxyRule(), "tencentcloud_tcm_mesh": resourceTencentCloudTcmMesh(), @@ -2893,7 +2873,6 @@ func Provider() *schema.Provider { "tencentcloud_ses_send_email": resourceTencentCloudSesSendEmail(), "tencentcloud_ses_batch_send_email": resourceTencentCloudSesBatchSendEmail(), "tencentcloud_ses_verify_domain": resourceTencentCloudSesVerifyDomain(), - "tencentcloud_ses_black_list_delete": resourceTencentCloudSesBlackListDelete(), "tencentcloud_sms_sign": resourceTencentCloudSmsSign(), "tencentcloud_sms_template": resourceTencentCloudSmsTemplate(), "tencentcloud_dcdb_account": resourceTencentCloudDcdbAccount(), @@ -2931,7 +2910,6 @@ func Provider() *schema.Provider { "tencentcloud_tdcpg_cluster": resourceTencentCloudTdcpgCluster(), "tencentcloud_tdcpg_instance": resourceTencentCloudTdcpgInstance(), "tencentcloud_css_watermark": resourceTencentCloudCssWatermark(), - "tencentcloud_css_watermark_rule_attachment": resourceTencentCloudCssWatermarkRuleAttachment(), "tencentcloud_css_pull_stream_task": resourceTencentCloudCssPullStreamTask(), "tencentcloud_css_live_transcode_template": resourceTencentCloudCssLiveTranscodeTemplate(), "tencentcloud_css_live_transcode_rule_attachment": resourceTencentCloudCssLiveTranscodeRuleAttachment(), @@ -2974,7 +2952,6 @@ func Provider() *schema.Provider { "tencentcloud_trocket_rocketmq_instance": resourceTencentCloudTrocketRocketmqInstance(), "tencentcloud_trocket_rocketmq_topic": resourceTencentCloudTrocketRocketmqTopic(), "tencentcloud_trocket_rocketmq_consumer_group": resourceTencentCloudTrocketRocketmqConsumerGroup(), - "tencentcloud_trocket_rocketmq_role": resourceTencentCloudTrocketRocketmqRole(), "tencentcloud_dts_sync_job": resourceTencentCloudDtsSyncJob(), "tencentcloud_dts_sync_config": resourceTencentCloudDtsSyncConfig(), "tencentcloud_dts_sync_check_job_operation": resourceTencentCloudDtsSyncCheckJobOperation(), @@ -3055,7 +3032,6 @@ func Provider() *schema.Provider { "tencentcloud_tsf_operate_group": resourceTencentCloudTsfOperateGroup(), "tencentcloud_tsf_unit_namespace": resourceTencentCloudTsfUnitNamespace(), "tencentcloud_mps_workflow": resourceTencentCloudMpsWorkflow(), - "tencentcloud_mps_enable_workflow_config": resourceTencentCloudMpsEnableWorkflowConfig(), "tencentcloud_mps_transcode_template": resourceTencentCloudMpsTranscodeTemplate(), "tencentcloud_mps_watermark_template": resourceTencentCloudMpsWatermarkTemplate(), "tencentcloud_mps_image_sprite_template": resourceTencentCloudMpsImageSpriteTemplate(), @@ -3066,7 +3042,6 @@ func Provider() *schema.Provider { "tencentcloud_mps_ai_analysis_template": resourceTencentCloudMpsAiAnalysisTemplate(), "tencentcloud_mps_adaptive_dynamic_streaming_template": resourceTencentCloudMpsAdaptiveDynamicStreamingTemplate(), "tencentcloud_mps_person_sample": resourceTencentCloudMpsPersonSample(), - "tencentcloud_mps_withdraws_watermark_operation": resourceTencentCloudMpsWithdrawsWatermarkOperation(), "tencentcloud_cbs_disk_backup": resourceTencentCloudCbsDiskBackup(), "tencentcloud_cbs_snapshot_share_permission": resourceTencentCloudCbsSnapshotSharePermission(), "tencentcloud_cbs_disk_backup_rollback_operation": resourceTencentCloudCbsDiskBackupRollbackOperation(), @@ -3122,7 +3097,6 @@ func Provider() *schema.Provider { "tencentcloud_tse_cngw_route": resourceTencentCloudTseCngwRoute(), "tencentcloud_tse_cngw_route_rate_limit": resourceTencentCloudTseCngwRouteRateLimit(), "tencentcloud_tse_cngw_canary_rule": resourceTencentCloudTseCngwCanaryRule(), - "tencentcloud_tse_cngw_certificate": resourceTencentCloudTseCngwCertificate(), "tencentcloud_clickhouse_instance": resourceTencentCloudClickhouseInstance(), "tencentcloud_cls_kafka_recharge": resourceTencentCloudClsKafkaRecharge(), "tencentcloud_cls_scheduled_sql": resourceTencentCloudClsScheduledSql(), From 01824091a32199245eabb6ce968b30aed7d10819 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 16:34:29 +0800 Subject: [PATCH 13/20] fix: modify provider --- tencentcloud/provider.go | 56 ---------------------------------------- 1 file changed, 56 deletions(-) diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index 66610fdc6d..beb484d02f 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -1182,9 +1182,6 @@ TencentCloud EdgeOne(TEO) tencentcloud_teo_origin_group tencentcloud_teo_rule_engine tencentcloud_teo_application_proxy_rule - tencentcloud_teo_ownership_verify - tencentcloud_teo_certificate_config - tencentcloud_teo_acceleration_domain TencentCloud ServiceMesh(TCM) Data Source @@ -1213,7 +1210,6 @@ Simple Email Service(SES) tencentcloud_ses_send_email tencentcloud_ses_batch_send_email tencentcloud_ses_verify_domain - tencentcloud_ses_black_list_delete Security Token Service(STS) Data Source @@ -1325,7 +1321,6 @@ Real User Monitoring(RUM) Cloud Streaming Services(CSS) Resource tencentcloud_css_watermark - tencentcloud_css_watermark_rule_attachment tencentcloud_css_pull_stream_task tencentcloud_css_live_transcode_template tencentcloud_css_live_transcode_rule_attachment @@ -1345,7 +1340,6 @@ Performance Testing Service(PTS) tencentcloud_pts_file tencentcloud_pts_job tencentcloud_pts_cron_job - tencentcloud_pts_tmp_key_generate TencentCloud Automation Tools(TAT) Data Source @@ -1456,7 +1450,6 @@ TDMQ for RocketMQ(trocket) tencentcloud_trocket_rocketmq_instance tencentcloud_trocket_rocketmq_topic tencentcloud_trocket_rocketmq_consumer_group - tencentcloud_trocket_rocketmq_role TDMQ for RabbitMQ(trabbit) Resource @@ -1560,7 +1553,6 @@ Tencent Service Framework(TSF) Media Processing Service(MPS) Resource tencentcloud_mps_workflow - tencentcloud_mps_enable_workflow_config tencentcloud_mps_transcode_template tencentcloud_mps_watermark_template tencentcloud_mps_image_sprite_template @@ -1571,7 +1563,6 @@ Media Processing Service(MPS) tencentcloud_mps_ai_analysis_template tencentcloud_mps_adaptive_dynamic_streaming_template tencentcloud_mps_person_sample - tencentcloud_mps_withdraws_watermark_operation Cloud HDFS(CHDFS) Data Source @@ -1608,7 +1599,6 @@ Tencent Cloud Service Engine(TSE) tencentcloud_tse_gateway_routes tencentcloud_tse_gateway_canary_rules tencentcloud_tse_gateway_services - tencentcloud_tse_gateway_certificates Resource tencentcloud_tse_instance @@ -1619,7 +1609,6 @@ Tencent Cloud Service Engine(TSE) tencentcloud_tse_cngw_service_rate_limit tencentcloud_tse_cngw_route tencentcloud_tse_cngw_route_rate_limit - tencentcloud_tse_cngw_certificate ClickHouse(CDWCH) Data Source @@ -1665,51 +1654,6 @@ WeData Resource tencentcloud_wedata_rule_template - -Waf - Data Source - tencentcloud_waf_ciphers - tencentcloud_waf_tls_versions - tencentcloud_waf_domains - tencentcloud_waf_find_domains - tencentcloud_waf_ports - tencentcloud_waf_user_domains - tencentcloud_waf_attack_log_histogram - tencentcloud_waf_attack_log_list - tencentcloud_waf_attack_overview - tencentcloud_waf_attack_total_count - tencentcloud_waf_peak_points - tencentcloud_waf_instance_qps_limit - - Resource - tencentcloud_waf_custom_rule - tencentcloud_waf_custom_white_rule - tencentcloud_waf_clb_domain - tencentcloud_waf_saas_domain - tencentcloud_waf_clb_instance - tencentcloud_waf_saas_instance - tencentcloud_waf_anti_fake - tencentcloud_waf_anti_info_leak - -Cfw - Data Source - tencentcloud_cfw_nat_fw_switches - tencentcloud_cfw_vpc_fw_switches - tencentcloud_cfw_edge_fw_switches - - Resource - tencentcloud_cfw_address_template - tencentcloud_cfw_block_ignore - tencentcloud_cfw_edge_policy - tencentcloud_cfw_nat_instance - tencentcloud_cfw_nat_policy - tencentcloud_cfw_vpc_instance - tencentcloud_cfw_vpc_policy - tencentcloud_cfw_sync_asset - tencentcloud_cfw_sync_route - tencentcloud_cfw_nat_firewall_switch - tencentcloud_cfw_vpc_firewall_switch - tencentcloud_cfw_edge_firewall_switch */ package tencentcloud From 1552f819a881c1676b7e1d1c9e0bdb388ea8b779 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 16:35:11 +0800 Subject: [PATCH 14/20] fix: modify provider --- tencentcloud/provider.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index beb484d02f..6f9a92ec66 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -1181,6 +1181,7 @@ TencentCloud EdgeOne(TEO) tencentcloud_teo_zone_setting tencentcloud_teo_origin_group tencentcloud_teo_rule_engine + tencentcloud_teo_application_proxy tencentcloud_teo_application_proxy_rule TencentCloud ServiceMesh(TCM) From bf3bbc74e21a31e30057ebd801d597daed7c4dc9 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 16:53:22 +0800 Subject: [PATCH 15/20] fix: modify provider --- tencentcloud/provider.go | 83 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 1 deletion(-) diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index 6f9a92ec66..45565081fb 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -1181,8 +1181,10 @@ TencentCloud EdgeOne(TEO) tencentcloud_teo_zone_setting tencentcloud_teo_origin_group tencentcloud_teo_rule_engine - tencentcloud_teo_application_proxy tencentcloud_teo_application_proxy_rule + tencentcloud_teo_ownership_verify + tencentcloud_teo_certificate_config + tencentcloud_teo_acceleration_domain TencentCloud ServiceMesh(TCM) Data Source @@ -1211,6 +1213,7 @@ Simple Email Service(SES) tencentcloud_ses_send_email tencentcloud_ses_batch_send_email tencentcloud_ses_verify_domain + tencentcloud_ses_black_list_delete Security Token Service(STS) Data Source @@ -1322,6 +1325,7 @@ Real User Monitoring(RUM) Cloud Streaming Services(CSS) Resource tencentcloud_css_watermark + tencentcloud_css_watermark_rule_attachment tencentcloud_css_pull_stream_task tencentcloud_css_live_transcode_template tencentcloud_css_live_transcode_rule_attachment @@ -1341,6 +1345,7 @@ Performance Testing Service(PTS) tencentcloud_pts_file tencentcloud_pts_job tencentcloud_pts_cron_job + tencentcloud_pts_tmp_key_generate TencentCloud Automation Tools(TAT) Data Source @@ -1451,6 +1456,7 @@ TDMQ for RocketMQ(trocket) tencentcloud_trocket_rocketmq_instance tencentcloud_trocket_rocketmq_topic tencentcloud_trocket_rocketmq_consumer_group + tencentcloud_trocket_rocketmq_role TDMQ for RabbitMQ(trabbit) Resource @@ -1554,6 +1560,7 @@ Tencent Service Framework(TSF) Media Processing Service(MPS) Resource tencentcloud_mps_workflow + tencentcloud_mps_enable_workflow_config tencentcloud_mps_transcode_template tencentcloud_mps_watermark_template tencentcloud_mps_image_sprite_template @@ -1564,6 +1571,7 @@ Media Processing Service(MPS) tencentcloud_mps_ai_analysis_template tencentcloud_mps_adaptive_dynamic_streaming_template tencentcloud_mps_person_sample + tencentcloud_mps_withdraws_watermark_operation Cloud HDFS(CHDFS) Data Source @@ -1600,6 +1608,7 @@ Tencent Cloud Service Engine(TSE) tencentcloud_tse_gateway_routes tencentcloud_tse_gateway_canary_rules tencentcloud_tse_gateway_services + tencentcloud_tse_gateway_certificates Resource tencentcloud_tse_instance @@ -1610,6 +1619,7 @@ Tencent Cloud Service Engine(TSE) tencentcloud_tse_cngw_service_rate_limit tencentcloud_tse_cngw_route tencentcloud_tse_cngw_route_rate_limit + tencentcloud_tse_cngw_certificate ClickHouse(CDWCH) Data Source @@ -1655,6 +1665,51 @@ WeData Resource tencentcloud_wedata_rule_template + +Waf + Data Source + tencentcloud_waf_ciphers + tencentcloud_waf_tls_versions + tencentcloud_waf_domains + tencentcloud_waf_find_domains + tencentcloud_waf_ports + tencentcloud_waf_user_domains + tencentcloud_waf_attack_log_histogram + tencentcloud_waf_attack_log_list + tencentcloud_waf_attack_overview + tencentcloud_waf_attack_total_count + tencentcloud_waf_peak_points + tencentcloud_waf_instance_qps_limit + + Resource + tencentcloud_waf_custom_rule + tencentcloud_waf_custom_white_rule + tencentcloud_waf_clb_domain + tencentcloud_waf_saas_domain + tencentcloud_waf_clb_instance + tencentcloud_waf_saas_instance + tencentcloud_waf_anti_fake + tencentcloud_waf_anti_info_leak + +Cfw + Data Source + tencentcloud_cfw_nat_fw_switches + tencentcloud_cfw_vpc_fw_switches + tencentcloud_cfw_edge_fw_switches + + Resource + tencentcloud_cfw_address_template + tencentcloud_cfw_block_ignore + tencentcloud_cfw_edge_policy + tencentcloud_cfw_nat_instance + tencentcloud_cfw_nat_policy + tencentcloud_cfw_vpc_instance + tencentcloud_cfw_vpc_policy + tencentcloud_cfw_sync_asset + tencentcloud_cfw_sync_route + tencentcloud_cfw_nat_firewall_switch + tencentcloud_cfw_vpc_firewall_switch + tencentcloud_cfw_edge_firewall_switch */ package tencentcloud @@ -2280,6 +2335,7 @@ func Provider() *schema.Provider { "tencentcloud_tse_gateway_routes": dataSourceTencentCloudTseGatewayRoutes(), "tencentcloud_tse_gateway_canary_rules": dataSourceTencentCloudTseGatewayCanaryRules(), "tencentcloud_tse_gateway_services": dataSourceTencentCloudTseGatewayServices(), + "tencentcloud_tse_gateway_certificates": dataSourceTencentCloudTseGatewayCertificates(), "tencentcloud_lighthouse_modify_instance_bundle": dataSourceTencentCloudLighthouseModifyInstanceBundle(), "tencentcloud_lighthouse_zone": dataSourceTencentCloudLighthouseZone(), "tencentcloud_lighthouse_scene": dataSourceTencentCloudLighthouseScene(), @@ -2303,6 +2359,22 @@ func Provider() *schema.Provider { "tencentcloud_eb_event_rules": dataSourceTencentCloudEbEventRules(), "tencentcloud_wedata_rule_templates": dataSourceTencentCloudWedataRuleTemplates(), "tencentcloud_private_dns_records": dataSourceTencentCloudPrivateDnsRecords(), + "tencentcloud_waf_ciphers": dataSourceTencentCloudWafCiphers(), + "tencentcloud_waf_tls_versions": dataSourceTencentCloudWafTlsVersions(), + "tencentcloud_waf_domains": dataSourceTencentCloudWafDomains(), + "tencentcloud_waf_find_domains": dataSourceTencentCloudWafFindDomains(), + "tencentcloud_waf_waf_infos": dataSourceTencentCloudWafWafInfos(), + "tencentcloud_waf_ports": dataSourceTencentCloudWafPorts(), + "tencentcloud_waf_user_domains": dataSourceTencentCloudWafUserDomains(), + "tencentcloud_waf_attack_log_histogram": dataSourceTencentCloudWafAttackLogHistogram(), + "tencentcloud_waf_attack_log_list": dataSourceTencentCloudWafAttackLogList(), + "tencentcloud_waf_attack_overview": dataSourceTencentCloudWafAttackOverview(), + "tencentcloud_waf_attack_total_count": dataSourceTencentCloudWafAttackTotalCount(), + "tencentcloud_waf_peak_points": dataSourceTencentCloudWafPeakPoints(), + "tencentcloud_waf_instance_qps_limit": dataSourceTencentCloudWafInstanceQpsLimit(), + "tencentcloud_cfw_nat_fw_switches": dataSourceTencentCloudCfwNatFwSwitches(), + "tencentcloud_cfw_vpc_fw_switches": dataSourceTencentCloudCfwVpcFwSwitches(), + "tencentcloud_cfw_edge_fw_switches": dataSourceTencentCloudCfwEdgeFwSwitches(), "tencentcloud_ses_receivers": dataSourceTencentCloudSesReceivers(), "tencentcloud_ses_send_tasks": dataSourceTencentCloudSesSendTasks(), "tencentcloud_ses_email_identities": dataSourceTencentCloudSesEmailIdentities(), @@ -2804,6 +2876,9 @@ func Provider() *schema.Provider { "tencentcloud_teo_zone_setting": resourceTencentCloudTeoZoneSetting(), "tencentcloud_teo_origin_group": resourceTencentCloudTeoOriginGroup(), "tencentcloud_teo_rule_engine": resourceTencentCloudTeoRuleEngine(), + "tencentcloud_teo_ownership_verify": resourceTencentCloudTeoOwnershipVerify(), + "tencentcloud_teo_certificate_config": resourceTencentCloudTeoCertificateConfig(), + "tencentcloud_teo_acceleration_domain": resourceTencentCloudTeoAccelerationDomain(), "tencentcloud_teo_application_proxy": resourceTencentCloudTeoApplicationProxy(), "tencentcloud_teo_application_proxy_rule": resourceTencentCloudTeoApplicationProxyRule(), "tencentcloud_tcm_mesh": resourceTencentCloudTcmMesh(), @@ -2818,6 +2893,7 @@ func Provider() *schema.Provider { "tencentcloud_ses_send_email": resourceTencentCloudSesSendEmail(), "tencentcloud_ses_batch_send_email": resourceTencentCloudSesBatchSendEmail(), "tencentcloud_ses_verify_domain": resourceTencentCloudSesVerifyDomain(), + "tencentcloud_ses_black_list_delete": resourceTencentCloudSesBlackListDelete(), "tencentcloud_sms_sign": resourceTencentCloudSmsSign(), "tencentcloud_sms_template": resourceTencentCloudSmsTemplate(), "tencentcloud_dcdb_account": resourceTencentCloudDcdbAccount(), @@ -2855,6 +2931,7 @@ func Provider() *schema.Provider { "tencentcloud_tdcpg_cluster": resourceTencentCloudTdcpgCluster(), "tencentcloud_tdcpg_instance": resourceTencentCloudTdcpgInstance(), "tencentcloud_css_watermark": resourceTencentCloudCssWatermark(), + "tencentcloud_css_watermark_rule_attachment": resourceTencentCloudCssWatermarkRuleAttachment(), "tencentcloud_css_pull_stream_task": resourceTencentCloudCssPullStreamTask(), "tencentcloud_css_live_transcode_template": resourceTencentCloudCssLiveTranscodeTemplate(), "tencentcloud_css_live_transcode_rule_attachment": resourceTencentCloudCssLiveTranscodeRuleAttachment(), @@ -2897,6 +2974,7 @@ func Provider() *schema.Provider { "tencentcloud_trocket_rocketmq_instance": resourceTencentCloudTrocketRocketmqInstance(), "tencentcloud_trocket_rocketmq_topic": resourceTencentCloudTrocketRocketmqTopic(), "tencentcloud_trocket_rocketmq_consumer_group": resourceTencentCloudTrocketRocketmqConsumerGroup(), + "tencentcloud_trocket_rocketmq_role": resourceTencentCloudTrocketRocketmqRole(), "tencentcloud_dts_sync_job": resourceTencentCloudDtsSyncJob(), "tencentcloud_dts_sync_config": resourceTencentCloudDtsSyncConfig(), "tencentcloud_dts_sync_check_job_operation": resourceTencentCloudDtsSyncCheckJobOperation(), @@ -2977,6 +3055,7 @@ func Provider() *schema.Provider { "tencentcloud_tsf_operate_group": resourceTencentCloudTsfOperateGroup(), "tencentcloud_tsf_unit_namespace": resourceTencentCloudTsfUnitNamespace(), "tencentcloud_mps_workflow": resourceTencentCloudMpsWorkflow(), + "tencentcloud_mps_enable_workflow_config": resourceTencentCloudMpsEnableWorkflowConfig(), "tencentcloud_mps_transcode_template": resourceTencentCloudMpsTranscodeTemplate(), "tencentcloud_mps_watermark_template": resourceTencentCloudMpsWatermarkTemplate(), "tencentcloud_mps_image_sprite_template": resourceTencentCloudMpsImageSpriteTemplate(), @@ -2987,6 +3066,7 @@ func Provider() *schema.Provider { "tencentcloud_mps_ai_analysis_template": resourceTencentCloudMpsAiAnalysisTemplate(), "tencentcloud_mps_adaptive_dynamic_streaming_template": resourceTencentCloudMpsAdaptiveDynamicStreamingTemplate(), "tencentcloud_mps_person_sample": resourceTencentCloudMpsPersonSample(), + "tencentcloud_mps_withdraws_watermark_operation": resourceTencentCloudMpsWithdrawsWatermarkOperation(), "tencentcloud_cbs_disk_backup": resourceTencentCloudCbsDiskBackup(), "tencentcloud_cbs_snapshot_share_permission": resourceTencentCloudCbsSnapshotSharePermission(), "tencentcloud_cbs_disk_backup_rollback_operation": resourceTencentCloudCbsDiskBackupRollbackOperation(), @@ -3042,6 +3122,7 @@ func Provider() *schema.Provider { "tencentcloud_tse_cngw_route": resourceTencentCloudTseCngwRoute(), "tencentcloud_tse_cngw_route_rate_limit": resourceTencentCloudTseCngwRouteRateLimit(), "tencentcloud_tse_cngw_canary_rule": resourceTencentCloudTseCngwCanaryRule(), + "tencentcloud_tse_cngw_certificate": resourceTencentCloudTseCngwCertificate(), "tencentcloud_clickhouse_instance": resourceTencentCloudClickhouseInstance(), "tencentcloud_cls_kafka_recharge": resourceTencentCloudClsKafkaRecharge(), "tencentcloud_cls_scheduled_sql": resourceTencentCloudClsScheduledSql(), From 109fba1cf536f5091c4e58b31159ea6f2c8b4378 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 16:56:32 +0800 Subject: [PATCH 16/20] fix: modify go mod --- go.mod | 9 ++++----- go.sum | 6 +++++- .../tencentcloud/common/http/request.go | 2 +- vendor/modules.txt | 4 ++-- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 1a4b54ea41..7c15057ea0 100644 --- a/go.mod +++ b/go.mod @@ -30,19 +30,20 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.624 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.756 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.760 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.699 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.539 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwch v1.0.745 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs v1.0.627 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw v1.0.759 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.600 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ciam v1.0.695 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.748 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.693 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.544 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.711 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.759 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.760 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.624 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.589 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.692 @@ -93,16 +94,14 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf v1.0.674 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod v1.0.199 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.755 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.759 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.0.725 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw v1.0.759 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.759 github.com/tencentyun/cos-go-sdk-v5 v0.7.42-0.20230629101357-7edd77448a0f github.com/yangwenmai/ratelimit v0.0.0-20180104140304-44221c2292e1 gopkg.in/yaml.v2 v2.4.0 ) - require ( 4d63.com/gocheckcompilerdirectives v1.2.1 // indirect 4d63.com/gochecknoglobals v0.2.1 // indirect diff --git a/go.sum b/go.sum index 0727611d05..723fe320fd 100644 --- a/go.sum +++ b/go.sum @@ -788,6 +788,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520 h1:n4FN0PI github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520/go.mod h1:gzI+2Qd/iUfPPQQjW30k0G3mJ3m7tXeXrydJMm8jsOo= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 h1:IOMF1BP2PHNsnK75n1SkuSOs6DnLdsiFXx+mQ7/erGk= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754/go.mod h1:9626UV/oSa4/5BcHVd7l/uADLipKIl6YuJxqCC7T3wY= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.760 h1:oGY4IigfIw0iQKh3/cOY29KBeEeFbvJft69e0beyfdI= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.760/go.mod h1:SoBOZr6fklP8zeHaq7XOnCd5xBypU2R94nOPafYX1J4= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 h1:TPGLjH6wqkA5Iirl6xCxFkWwrtCZ8ZmeF7ASzqUbsZA= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591/go.mod h1:nCAGfVTXZkVnurkbjF3b0FM6RwGztE9t8D9Ms1unaKo= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.592 h1:xowULQ7Mca1TjHyjAGe8RYjg37yhWpne5Q+TihFNHVA= @@ -867,13 +869,13 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.725/go.mod github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.726/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.729/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.730/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.733/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.734/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.736/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.745/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.748/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.750/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.751/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= -github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.733/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.754/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.755/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.756/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= @@ -881,6 +883,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.758 h1:T7Ry github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.758/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.759 h1:flWgFybB3MYWFxwRO4yXbdiPT3SNwjSLuXCXsfs6kN4= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.759/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.760 h1:OyUPYgXBZNh3erZZ4jhpFH+aGtcCB1TUUtYX4WbR+xg= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.760/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.624 h1:nEZqsoqt1pEoaP9JjkHQy3/H00suCfzlHW1qOm2nYD8= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.624/go.mod h1:+TXSVyeKwt1IhZRqKPbTREteBcP+K07Q846/ilNzLWA= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.589 h1:LZihgirMH0vsaGScYexxwY0fTss9vHaSZs/YOQUVESg= diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go index c68073ddb2..2be7d85400 100644 --- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go +++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go @@ -265,7 +265,7 @@ func CompleteCommonParams(request Request, region string, requestClient string) params["Action"] = request.GetAction() params["Timestamp"] = strconv.FormatInt(time.Now().Unix(), 10) params["Nonce"] = strconv.Itoa(rand.Int()) - params["RequestClient"] = "SDK_GO_1.0.759" + params["RequestClient"] = "SDK_GO_1.0.760" if requestClient != "" { params["RequestClient"] += ": " + requestClient } diff --git a/vendor/modules.txt b/vendor/modules.txt index b8405091f2..a32e7e7783 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1058,7 +1058,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419 # github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam/v20190116 -# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 +# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.760 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat/v20180409 # github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 @@ -1097,7 +1097,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit/v20190319 # github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.711 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls/v20201016 -# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.759 +# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.760 ## explicit; go 1.14 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors From b641d0393a26899a182b4482612a3fe7eb55ca60 Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 16:59:51 +0800 Subject: [PATCH 17/20] fix: modify go mod --- go.sum | 3 --- 1 file changed, 3 deletions(-) diff --git a/go.sum b/go.sum index 723fe320fd..1c5eae565e 100644 --- a/go.sum +++ b/go.sum @@ -786,8 +786,6 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409 h1:ToZpNh7 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.409/go.mod h1:U24yUxCDruJLayOsP/onO2E/7+9ljeNsNO+phu+PeiM= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520 h1:n4FN0PI+1MVWi+RGQbD/cElXjquZQK0K1h1Z1nNWNWw= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.520/go.mod h1:gzI+2Qd/iUfPPQQjW30k0G3mJ3m7tXeXrydJMm8jsOo= -github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754 h1:IOMF1BP2PHNsnK75n1SkuSOs6DnLdsiFXx+mQ7/erGk= -github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.754/go.mod h1:9626UV/oSa4/5BcHVd7l/uADLipKIl6YuJxqCC7T3wY= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.760 h1:oGY4IigfIw0iQKh3/cOY29KBeEeFbvJft69e0beyfdI= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.760/go.mod h1:SoBOZr6fklP8zeHaq7XOnCd5xBypU2R94nOPafYX1J4= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.591 h1:TPGLjH6wqkA5Iirl6xCxFkWwrtCZ8ZmeF7ASzqUbsZA= @@ -869,7 +867,6 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.725/go.mod github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.726/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.729/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.730/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= -github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.733/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.734/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.736/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.745/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= From 46a05eb1dfa9a989c3b6019eaa2a24cc7f60186d Mon Sep 17 00:00:00 2001 From: arunma Date: Sun, 8 Oct 2023 17:02:48 +0800 Subject: [PATCH 18/20] fix: add doc --- website/docs/d/cat_metric_data.html.markdown | 46 ++++++++++++++++++++ website/docs/d/cat_node.html.markdown | 1 + website/docs/r/cat_task_set.html.markdown | 1 + website/tencentcloud.erb | 3 ++ 4 files changed, 51 insertions(+) create mode 100644 website/docs/d/cat_metric_data.html.markdown diff --git a/website/docs/d/cat_metric_data.html.markdown b/website/docs/d/cat_metric_data.html.markdown new file mode 100644 index 0000000000..de70a2cb80 --- /dev/null +++ b/website/docs/d/cat_metric_data.html.markdown @@ -0,0 +1,46 @@ +--- +subcategory: "Cloud Automated Testing(CAT)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_cat_metric_data" +sidebar_current: "docs-tencentcloud-datasource-cat_metric_data" +description: |- + Use this data source to query detailed information of cat metric_data +--- + +# tencentcloud_cat_metric_data + +Use this data source to query detailed information of cat metric_data + +## Example Usage + +```hcl +data "tencentcloud_cat_metric_data" "metric_data" { + analyze_task_type = "AnalyzeTaskType_Network" + metric_type = "gauge" + field = "avg(\"ping_time\")" + filters = [ + "\"host\" = 'www.qq.com'", + "time >= now()-1h", + ] +} +``` + +## Argument Reference + +The following arguments are supported: + +* `analyze_task_type` - (Required, String) Analysis of task type, supported types: `AnalyzeTaskType_Network`: network quality, `AnalyzeTaskType_Browse`: page performance, `AnalyzeTaskType_Transport`: port performance, `AnalyzeTaskType_UploadDownload`: file transport, `AnalyzeTaskType_MediaStream`: audiovisual experience. +* `field` - (Required, String) Detailed fields of metrics, specified metrics can be passed or aggregate metrics, such as avg(ping_time) means entire delay. +* `filters` - (Required, Set: [`String`]) Multiple condition filtering, supports combining multiple filtering conditions for query. +* `metric_type` - (Required, String) Metric type, metrics queries are passed with gauge by default. +* `filter` - (Optional, String) Filter conditions can be passed as a single filter or multiple parameters concatenated together. +* `group_by` - (Optional, String) Aggregation time, such as 1m, 1d, 30d, and so on. +* `result_output_file` - (Optional, String) Used to save results. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `metric_set` - Return JSON string. + + diff --git a/website/docs/d/cat_node.html.markdown b/website/docs/d/cat_node.html.markdown index bef719dd7b..9191e39335 100644 --- a/website/docs/d/cat_node.html.markdown +++ b/website/docs/d/cat_node.html.markdown @@ -46,6 +46,7 @@ In addition to all arguments above, the following attributes are exported: * `name` - Node name. * `net_service` - Network service provider. * `node_define_status` - Node status: 1=running, 2=offline. + * `task_types` - The task types supported by the node. `1`: page performance, `2`: file upload, `3`: file download, `4`: port performance, `5`: network quality, `6`: audio and video experience. * `type` - Node Type;1 = IDC,2 = LastMile,3 = Mobile. diff --git a/website/docs/r/cat_task_set.html.markdown b/website/docs/r/cat_task_set.html.markdown index cfc2e5d05d..ea5b75bc6e 100644 --- a/website/docs/r/cat_task_set.html.markdown +++ b/website/docs/r/cat_task_set.html.markdown @@ -67,6 +67,7 @@ The following arguments are supported: * `task_category` - (Required, Int) Task category,1:PC,2:Mobile. * `task_type` - (Required, Int) Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video. * `cron` - (Optional, String) Timer task cron expression. +* `operate` - (Optional, String) The input is valid when the parameter is modified, `suspend`/`resume`, used to suspend/resume the dial test task. * `tags` - (Optional, Map) Tag description list. The `batch_tasks` object supports the following: diff --git a/website/tencentcloud.erb b/website/tencentcloud.erb index 32917f1b42..ac0f9d78e0 100644 --- a/website/tencentcloud.erb +++ b/website/tencentcloud.erb @@ -587,6 +587,9 @@
  • Data Sources