Skip to content
Open
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
55 changes: 55 additions & 0 deletions .changelog/3654.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
```release-note:new-data-source
tencentcloud_bh_account_groups
```

```release-note:new-data-source
tencentcloud_bh_source_types
```

```release-note:new-resource
tencentcloud_bh_access_white_list_rule
```

```release-note:new-resource
tencentcloud_bh_access_white_list_config
```

```release-note:new-resource
tencentcloud_bh_device
```

```release-note:new-resource
tencentcloud_bh_asset_sync_job_operation
```

```release-note:new-resource
tencentcloud_bh_asset_sync_flag_config
```

```release-note:new-resource
tencentcloud_bh_resource
```

```release-note:new-resource
tencentcloud_bh_reconnection_setting_config
```

```release-note:new-resource
tencentcloud_bh_user
```

```release-note:new-resource
tencentcloud_bh_user_group
```

```release-note:new-resource
tencentcloud_bh_user_directory
```

```release-note:new-resource
tencentcloud_bh_user_sync_task_operation
```

```release-note:new-resource
tencentcloud_bh_sync_devices_to_ioa_operation
```
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ require (

require (
github.com/hashicorp/go-uuid v1.0.3
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bh v1.3.7
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing v1.1.31
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdc v1.0.1149
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwdoris v1.0.993
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.2.2 h1:/BlN5LD/r
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.2.2/go.mod h1:XIggn8QQknIzb+1lnsOiKbTQ0fjRe1uV6P+1N0L2ccI=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.3.4 h1:hTOxj4qB+UX6MflqmIYT4cPbfEqtiJEfi9tR58DxkIw=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.3.4/go.mod h1:q7fZk23gy6BkZGcNw9NXFSj26R44tiJZKGxLFfOrMo0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bh v1.3.7 h1:EmqV7a3kxOzI+oPR9o8npRupCGfzgRRgIfF7KHAa1cs=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bh v1.3.7/go.mod h1:jOm6mEGQbEzxX8hkRSoBfZRvCRqHtUG2jQ0gmyT8w68=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi v1.0.824 h1:DVKvZ6h+qd7tadUrCjVAkCCmE3TsbK2ZmwGd3AJcpWc=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi v1.0.824/go.mod h1:DvBpDX/qdJG4KKLeULmRvhAjPYiw8za0HeTSu2y/lFw=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing v1.1.31 h1:teA14cAcXuGxas6+5YANQ5KCoPaQBKIb2Q8+sk08Mu0=
Expand Down
15 changes: 15 additions & 0 deletions tencentcloud/connectivity/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
apigateway "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway/v20180808"
apm "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm/v20210622"
as "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419"
bhv20230418 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bh/v20230418"
bi "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi/v20220105"
billing "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing/v20180709"
cam "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam/v20190116"
Expand Down Expand Up @@ -243,6 +244,7 @@ type TencentCloudClient struct {
gwlbv20240906Conn *gwlb.Client
billingv20180709Conn *billing.Client
igtmv20231024Conn *igtmv20231024.Client
bhv20230418Conn *bhv20230418.Client
}

// NewClientProfile returns a new ClientProfile
Expand Down Expand Up @@ -1709,6 +1711,19 @@ func (me *TencentCloudClient) UseDasbClient() *dasb.Client {
return me.dasbConn
}

// UseBhV20230418Client return BH client for service
func (me *TencentCloudClient) UseBhV20230418Client() *bhv20230418.Client {
if me.bhv20230418Conn != nil {
return me.bhv20230418Conn
}

cpf := me.NewClientProfile(300)
me.bhv20230418Conn, _ = bhv20230418.NewClient(me.Credential, me.Region, cpf)
me.bhv20230418Conn.WithHttpTransport(&LogRoundTripper{})

return me.bhv20230418Conn
}

// UseTrocketClient returns trocket client for service
func (me *TencentCloudClient) UseTrocketClient() *trocket.Client {
if me.trocketConn != nil {
Expand Down
14 changes: 14 additions & 0 deletions tencentcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,8 @@ func Provider() *schema.Provider {
"tencentcloud_cfw_nat_fw_switches": cfw.DataSourceTencentCloudCfwNatFwSwitches(),
"tencentcloud_cfw_vpc_fw_switches": cfw.DataSourceTencentCloudCfwVpcFwSwitches(),
"tencentcloud_cfw_edge_fw_switches": cfw.DataSourceTencentCloudCfwEdgeFwSwitches(),
"tencentcloud_bh_account_groups": bh.DataSourceTencentCloudBhAccountGroups(),
"tencentcloud_bh_source_types": bh.DataSourceTencentCloudBhSourceTypes(),
"tencentcloud_cwp_machines_simple": cwp.DataSourceTencentCloudCwpMachinesSimple(),
"tencentcloud_ses_receivers": ses.DataSourceTencentCloudSesReceivers(),
"tencentcloud_ses_send_tasks": ses.DataSourceTencentCloudSesSendTasks(),
Expand Down Expand Up @@ -2401,6 +2403,18 @@ func Provider() *schema.Provider {
"tencentcloud_cfw_vpc_firewall_switch": cfw.ResourceTencentCloudCfwVpcFirewallSwitch(),
"tencentcloud_cfw_edge_firewall_switch": cfw.ResourceTencentCloudCfwEdgeFirewallSwitch(),
"tencentcloud_sg_rule": cfw.ResourceTencentCloudSgRule(),
"tencentcloud_bh_access_white_list_rule": bh.ResourceTencentCloudBhAccessWhiteListRule(),
"tencentcloud_bh_access_white_list_config": bh.ResourceTencentCloudBhAccessWhiteListConfig(),
"tencentcloud_bh_device": bh.ResourceTencentCloudBhDevice(),
"tencentcloud_bh_asset_sync_job_operation": bh.ResourceTencentCloudBhAssetSyncJobOperation(),
"tencentcloud_bh_asset_sync_flag_config": bh.ResourceTencentCloudBhAssetSyncFlagConfig(),
"tencentcloud_bh_resource": bh.ResourceTencentCloudBhResource(),
"tencentcloud_bh_reconnection_setting_config": bh.ResourceTencentCloudBhReconnectionSettingConfig(),
"tencentcloud_bh_user": bh.ResourceTencentCloudBhUser(),
"tencentcloud_bh_user_group": bh.ResourceTencentCloudBhUserGroup(),
"tencentcloud_bh_user_directory": bh.ResourceTencentCloudBhUserDirectory(),
"tencentcloud_bh_user_sync_task_operation": bh.ResourceTencentCloudBhUserSyncTaskOperation(),
"tencentcloud_bh_sync_devices_to_ioa_operation": bh.ResourceTencentCloudBhSyncDevicesToIoaOperation(),
"tencentcloud_dasb_acl": bh.ResourceTencentCloudDasbAcl(),
"tencentcloud_dasb_cmd_template": bh.ResourceTencentCloudDasbCmdTemplate(),
"tencentcloud_dasb_device_group": bh.ResourceTencentCloudDasbDeviceGroup(),
Expand Down
17 changes: 16 additions & 1 deletion tencentcloud/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,22 @@ tencentcloud_cfw_edge_firewall_switch
tencentcloud_sg_rule

Bastion Host(BH)
Resource
Data Source
tencentcloud_bh_account_groups
tencentcloud_bh_source_types
Resource
tencentcloud_bh_access_white_list_rule
tencentcloud_bh_access_white_list_config
tencentcloud_bh_device
tencentcloud_bh_asset_sync_job_operation
tencentcloud_bh_asset_sync_flag_config
tencentcloud_bh_resource
tencentcloud_bh_reconnection_setting_config
tencentcloud_bh_user
tencentcloud_bh_user_group
tencentcloud_bh_user_directory
tencentcloud_bh_user_sync_task_operation
tencentcloud_bh_sync_devices_to_ioa_operation
tencentcloud_dasb_resource
tencentcloud_dasb_acl
tencentcloud_dasb_cmd_template
Expand Down
Loading
Loading