Documentation
¶
Index ¶
- Constants
- Variables
- type LogRoundTripper
- type TencentCloudClient
- func (me *TencentCloudClient) UseAsClient() *as.Client
- func (me *TencentCloudClient) UseCbsClient() *cbs.Client
- func (me *TencentCloudClient) UseCosClient() *s3.S3
- func (me *TencentCloudClient) UseDcClient() *dc.Client
- func (me *TencentCloudClient) UseMongodbClient() *mongodb.Client
- func (me *TencentCloudClient) UseMysqlClient() *cdb.Client
- func (me *TencentCloudClient) UseRedisClient() *redis.Client
- func (me *TencentCloudClient) UseVpcClient() *vpc.Client
Constants ¶
View Source
const ReqClient = "Terraform_v1.11.0"
Variables ¶
View Source
var AllSupportedRegions = []string{regions.Beijing, regions.Chengdu, regions.Chongqing, regions.Guangzhou, regions.GuangzhouOpen, regions.HongKong, regions.Mumbai, regions.Seoul, regions.Shanghai, regions.ShanghaiFSI, regions.ShenzhenFSI, regions.Singapore, regions.Frankfurt, regions.Moscow, regions.Ashburn, regions.SiliconValley, regions.Toronto}
View Source
var MysqlSupportedRegions = AllSupportedRegions
Functions ¶
This section is empty.
Types ¶
type LogRoundTripper ¶ added in v1.11.0
type LogRoundTripper struct {
}
type TencentCloudClient ¶
type TencentCloudClient struct {
Region string
SecretId string
SecretKey string
// contains filtered or unexported fields
}
client for all TencentCloud service
func NewTencentCloudClient ¶
func NewTencentCloudClient(secretId, secretKey, region string) *TencentCloudClient
func (*TencentCloudClient) UseAsClient ¶ added in v1.8.0
func (me *TencentCloudClient) UseAsClient() *as.Client
func (*TencentCloudClient) UseCbsClient ¶ added in v1.10.0
func (me *TencentCloudClient) UseCbsClient() *cbs.Client
func (*TencentCloudClient) UseCosClient ¶ added in v1.6.0
func (me *TencentCloudClient) UseCosClient() *s3.S3
get cos client for service
func (*TencentCloudClient) UseDcClient ¶ added in v1.12.0
func (me *TencentCloudClient) UseDcClient() *dc.Client
func (*TencentCloudClient) UseMongodbClient ¶ added in v1.14.0
func (me *TencentCloudClient) UseMongodbClient() *mongodb.Client
func (*TencentCloudClient) UseMysqlClient ¶
func (me *TencentCloudClient) UseMysqlClient() *cdb.Client
get mysql(cdb) client for service
func (*TencentCloudClient) UseRedisClient ¶ added in v1.7.0
func (me *TencentCloudClient) UseRedisClient() *redis.Client
get redis client for service
func (*TencentCloudClient) UseVpcClient ¶ added in v1.10.0
func (me *TencentCloudClient) UseVpcClient() *vpc.Client
get vpc client for service
Click to show internal directories.
Click to hide internal directories.