Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changelog/3607.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:new-datasource
tencentcloud_igtm_address_pool_list
```

```release-note:new-resource
tencentcloud_igtm_address_pool
```
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ require (
github.com/subosito/gotenv v1.4.1 // indirect
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect
github.com/tdakkota/asciicheck v0.2.0 // indirect
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/igtm v1.1.27 // indirect
github.com/tetafro/godot v1.4.11 // indirect
github.com/tidwall/gjson v1.17.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap v1.0.970 h1:Z82Lbc
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap v1.0.970/go.mod h1:qnOT3rycGxlNy4/gmprV58Uqd9CKLUr2CL235R1AvuQ=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gwlb v1.0.1127 h1:1ZhrN7aFPBVb4ihclkbCNOF1Mtoql6duT/cI3Q0p074=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gwlb v1.0.1127/go.mod h1:HSfd/mm8VyXn7VTe3tOvPgsumbsfeYcG5QgaCI1vsRk=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/igtm v1.1.27 h1:XuNVpfyHcmyAavX06p8w7FLjY4eT70ndPZbazxRpbCY=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/igtm v1.1.27/go.mod h1:26rOgYylbB4qROMOuYaOzUDF8CSKQi022SbX/FB+NHQ=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.563/go.mod h1:uom4Nvi9W+Qkom0exYiJ9VWJjXwyxtPYTkKkaLMlfE0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.1145 h1:/wV6YoCqDU1XXci7kxt/k+RTwx2xLzcxH4NYbC1UT6k=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.1145/go.mod h1:tUblC9MYww0ZRScBkLYINJ7F1fxAv/Ymmpbjn05RTPY=
Expand Down
15 changes: 15 additions & 0 deletions tencentcloud/connectivity/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import (
es "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es/v20180416"
gaap "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap/v20180529"
gwlb "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gwlb/v20240906"
igtmv20231024 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/igtm/v20231024"
kms "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms/v20190118"
lighthouse "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse/v20200324"
css "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live/v20180801"
Expand Down Expand Up @@ -241,6 +242,7 @@ type TencentCloudClient struct {
cdwpgv20201230Conn *cdwpg.Client
gwlbv20240906Conn *gwlb.Client
billingv20180709Conn *billing.Client
igtmv20231024Conn *igtmv20231024.Client
}

// NewClientProfile returns a new ClientProfile
Expand Down Expand Up @@ -2116,3 +2118,16 @@ func (me *TencentCloudClient) UseBillingV20180709Client() *billing.Client {

return me.billingv20180709Conn
}

// UseIgtmV20231024Client return IGTM client for service
func (me *TencentCloudClient) UseIgtmV20231024Client() *igtmv20231024.Client {
if me.igtmv20231024Conn != nil {
return me.igtmv20231024Conn
}
cpf := me.NewClientProfile(300)
cpf.Language = "zh-CN"
me.igtmv20231024Conn, _ = igtmv20231024.NewClient(me.Credential, me.Region, cpf)
me.igtmv20231024Conn.WithHttpTransport(&LogRoundTripper{})

return me.igtmv20231024Conn
}
3 changes: 3 additions & 0 deletions tencentcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import (
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/fl"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/gaap"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/gwlb"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/igtm"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/kms"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/lighthouse"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/mariadb"
Expand Down Expand Up @@ -1299,6 +1300,7 @@ func Provider() *schema.Provider {
"tencentcloud_mqtt_instance_detail": mqtt.DataSourceTencentCloudMqttInstanceDetail(),
"tencentcloud_mqtt_topics": mqtt.DataSourceTencentCloudMqttTopics(),
"tencentcloud_billing_budget_operation_log": billing.DataSourceTencentCloudBillingBudgetOperationLog(),
"tencentcloud_igtm_address_pool_list": igtm.DataSourceTencentCloudIgtmAddressPoolList(),
},

ResourcesMap: map[string]*schema.Resource{
Expand Down Expand Up @@ -2470,6 +2472,7 @@ func Provider() *schema.Provider {
"tencentcloud_mqtt_http_authenticator": mqtt.ResourceTencentCloudMqttHttpAuthenticator(),
"tencentcloud_billing_allocation_tag": billing.ResourceTencentCloudBillingAllocationTag(),
"tencentcloud_billing_budget": billing.ResourceTencentCloudBillingBudget(),
"tencentcloud_igtm_address_pool": igtm.ResourceTencentCloudIgtmAddressPool(),
},

ConfigureFunc: providerConfigure,
Expand Down
6 changes: 6 additions & 0 deletions tencentcloud/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -2444,3 +2444,9 @@ Tencent Container Security Service(TCSS)
Resource
tencentcloud_tcss_cluster_access
tencentcloud_tcss_refresh_task_operation

Intelligent Global Traffic Manager(IGTM)
Data Source
tencentcloud_igtm_address_pool_list
Resource
tencentcloud_igtm_address_pool
Loading
Loading