From 443bb3159e88de5db9aecb0bb8d26605e67e8153 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Wed, 11 Sep 2024 04:15:52 +0800 Subject: [PATCH] release v1.0.1000 --- CHANGELOG.md | 328 +++++++++++++ SERVICE_CHANGELOG.md | 533 +++++++++++++++++++--- products.md | 40 +- tencentcloud/aa/go.mod | 2 +- tencentcloud/aai/go.mod | 2 +- tencentcloud/acp/go.mod | 2 +- tencentcloud/advisor/go.mod | 2 +- tencentcloud/af/go.mod | 2 +- tencentcloud/afc/go.mod | 2 +- tencentcloud/aiart/go.mod | 2 +- tencentcloud/aiart/v20221229/client.go | 107 +++++ tencentcloud/aiart/v20221229/models.go | 138 ++++++ tencentcloud/ame/go.mod | 2 +- tencentcloud/ams/go.mod | 2 +- tencentcloud/anicloud/go.mod | 2 +- tencentcloud/antiddos/go.mod | 2 +- tencentcloud/apcas/go.mod | 2 +- tencentcloud/ape/go.mod | 2 +- tencentcloud/api/go.mod | 2 +- tencentcloud/apigateway/go.mod | 2 +- tencentcloud/apm/go.mod | 2 +- tencentcloud/as/go.mod | 2 +- tencentcloud/asr/go.mod | 2 +- tencentcloud/asw/go.mod | 2 +- tencentcloud/ba/go.mod | 2 +- tencentcloud/batch/go.mod | 2 +- tencentcloud/bda/go.mod | 2 +- tencentcloud/bi/go.mod | 2 +- tencentcloud/billing/go.mod | 2 +- tencentcloud/bizlive/go.mod | 2 +- tencentcloud/bm/go.mod | 2 +- tencentcloud/bma/go.mod | 2 +- tencentcloud/bmeip/go.mod | 2 +- tencentcloud/bmlb/go.mod | 2 +- tencentcloud/bmvpc/go.mod | 2 +- tencentcloud/bpaas/go.mod | 2 +- tencentcloud/bri/go.mod | 2 +- tencentcloud/bsca/go.mod | 2 +- tencentcloud/btoe/go.mod | 2 +- tencentcloud/cam/go.mod | 2 +- tencentcloud/captcha/go.mod | 2 +- tencentcloud/car/go.mod | 2 +- tencentcloud/cat/go.mod | 2 +- tencentcloud/cbs/go.mod | 2 +- tencentcloud/ccc/go.mod | 2 +- tencentcloud/cdb/go.mod | 2 +- tencentcloud/cdc/go.mod | 2 +- tencentcloud/cdn/go.mod | 2 +- tencentcloud/cds/go.mod | 2 +- tencentcloud/cdwch/go.mod | 2 +- tencentcloud/cdwdoris/go.mod | 2 +- tencentcloud/cdwpg/go.mod | 2 +- tencentcloud/cdz/go.mod | 2 +- tencentcloud/cfg/go.mod | 2 +- tencentcloud/cfg/v20210820/models.go | 4 + tencentcloud/cfs/go.mod | 2 +- tencentcloud/cfw/go.mod | 2 +- tencentcloud/chdfs/go.mod | 2 +- tencentcloud/ciam/go.mod | 2 +- tencentcloud/cii/go.mod | 2 +- tencentcloud/cim/go.mod | 2 +- tencentcloud/cis/go.mod | 2 +- tencentcloud/ckafka/go.mod | 2 +- tencentcloud/ckafka/v20190819/models.go | 6 +- tencentcloud/clb/go.mod | 2 +- tencentcloud/cloudapp/go.mod | 2 +- tencentcloud/cloudaudit/go.mod | 2 +- tencentcloud/cloudhsm/go.mod | 2 +- tencentcloud/cloudstudio/go.mod | 2 +- tencentcloud/cls/go.mod | 2 +- tencentcloud/cme/go.mod | 2 +- tencentcloud/cmq/go.mod | 2 +- tencentcloud/cms/go.mod | 2 +- tencentcloud/common/http/request.go | 2 +- tencentcloud/config/go.mod | 2 +- tencentcloud/controlcenter/go.mod | 2 +- tencentcloud/cpdp/go.mod | 2 +- tencentcloud/cr/go.mod | 2 +- tencentcloud/csip/go.mod | 2 +- tencentcloud/csxg/go.mod | 2 +- tencentcloud/cvm/go.mod | 2 +- tencentcloud/cwp/go.mod | 2 +- tencentcloud/cws/go.mod | 2 +- tencentcloud/cynosdb/go.mod | 2 +- tencentcloud/dasb/go.mod | 2 +- tencentcloud/dataintegration/go.mod | 2 +- tencentcloud/dayu/go.mod | 2 +- tencentcloud/dbbrain/go.mod | 2 +- tencentcloud/dbdc/go.mod | 2 +- tencentcloud/dc/go.mod | 2 +- tencentcloud/dcdb/go.mod | 2 +- tencentcloud/dcdb/v20180411/client.go | 118 +++++ tencentcloud/dcdb/v20180411/models.go | 237 ++++++++++ tencentcloud/dlc/go.mod | 2 +- tencentcloud/dnspod/go.mod | 2 +- tencentcloud/dnspod/v20210323/client.go | 63 +++ tencentcloud/dnspod/v20210323/models.go | 89 ++++ tencentcloud/domain/go.mod | 2 +- tencentcloud/drm/go.mod | 2 +- tencentcloud/ds/go.mod | 2 +- tencentcloud/dsgc/go.mod | 2 +- tencentcloud/dtf/go.mod | 2 +- tencentcloud/dts/go.mod | 2 +- tencentcloud/eb/go.mod | 2 +- tencentcloud/ecc/go.mod | 2 +- tencentcloud/ecdn/go.mod | 2 +- tencentcloud/ecm/go.mod | 2 +- tencentcloud/eiam/go.mod | 2 +- tencentcloud/eis/go.mod | 2 +- tencentcloud/emr/go.mod | 2 +- tencentcloud/emr/v20190103/client.go | 517 +++++++++++++++++++++ tencentcloud/emr/v20190103/errors.go | 9 + tencentcloud/emr/v20190103/models.go | 459 +++++++++++++++++++ tencentcloud/es/go.mod | 2 +- tencentcloud/es/v20180416/client.go | 75 +++ tencentcloud/es/v20180416/models.go | 60 +++ tencentcloud/ess/go.mod | 2 +- tencentcloud/ess/v20201111/client.go | 4 +- tencentcloud/essbasic/go.mod | 2 +- tencentcloud/essbasic/v20210526/client.go | 93 ++++ tencentcloud/essbasic/v20210526/models.go | 101 ++++ tencentcloud/facefusion/go.mod | 2 +- tencentcloud/faceid/go.mod | 2 +- tencentcloud/fmu/go.mod | 2 +- tencentcloud/ft/go.mod | 2 +- tencentcloud/gaap/go.mod | 2 +- tencentcloud/gme/go.mod | 2 +- tencentcloud/goosefs/go.mod | 2 +- tencentcloud/gpm/go.mod | 2 +- tencentcloud/gs/go.mod | 2 +- tencentcloud/gse/go.mod | 2 +- tencentcloud/habo/go.mod | 2 +- tencentcloud/hai/go.mod | 2 +- tencentcloud/hasim/go.mod | 2 +- tencentcloud/hcm/go.mod | 2 +- tencentcloud/hunyuan/go.mod | 2 +- tencentcloud/iai/go.mod | 2 +- tencentcloud/ic/go.mod | 2 +- tencentcloud/icr/go.mod | 2 +- tencentcloud/ie/go.mod | 2 +- tencentcloud/iecp/go.mod | 2 +- tencentcloud/iir/go.mod | 2 +- tencentcloud/ims/go.mod | 2 +- tencentcloud/ioa/go.mod | 2 +- tencentcloud/iot/go.mod | 2 +- tencentcloud/iotcloud/go.mod | 2 +- tencentcloud/iotexplorer/go.mod | 2 +- tencentcloud/iottid/go.mod | 2 +- tencentcloud/iotvideo/go.mod | 2 +- tencentcloud/iotvideoindustry/go.mod | 2 +- tencentcloud/irp/go.mod | 2 +- tencentcloud/iss/go.mod | 2 +- tencentcloud/ivld/go.mod | 2 +- tencentcloud/keewidb/go.mod | 2 +- tencentcloud/kms/go.mod | 2 +- tencentcloud/lcic/go.mod | 2 +- tencentcloud/lighthouse/go.mod | 2 +- tencentcloud/live/go.mod | 2 +- tencentcloud/lke/go.mod | 2 +- tencentcloud/lowcode/go.mod | 2 +- tencentcloud/lp/go.mod | 2 +- tencentcloud/mall/go.mod | 2 +- tencentcloud/mariadb/go.mod | 2 +- tencentcloud/mariadb/v20170312/client.go | 110 +++++ tencentcloud/mariadb/v20170312/errors.go | 3 + tencentcloud/mariadb/v20170312/models.go | 237 ++++++++++ tencentcloud/market/go.mod | 2 +- tencentcloud/memcached/go.mod | 2 +- tencentcloud/mgobe/go.mod | 2 +- tencentcloud/mmps/go.mod | 2 +- tencentcloud/mna/go.mod | 2 +- tencentcloud/mongodb/go.mod | 2 +- tencentcloud/monitor/go.mod | 2 +- tencentcloud/mps/go.mod | 2 +- tencentcloud/mrs/go.mod | 2 +- tencentcloud/ms/go.mod | 2 +- tencentcloud/msp/go.mod | 2 +- tencentcloud/mvj/go.mod | 2 +- tencentcloud/nlp/go.mod | 2 +- tencentcloud/npp/go.mod | 2 +- tencentcloud/oceanus/go.mod | 2 +- tencentcloud/ocr/go.mod | 2 +- tencentcloud/ocr/v20181119/models.go | 19 +- tencentcloud/omics/go.mod | 2 +- tencentcloud/organization/go.mod | 2 +- tencentcloud/partners/go.mod | 2 +- tencentcloud/pds/go.mod | 2 +- tencentcloud/postgres/go.mod | 2 +- tencentcloud/privatedns/go.mod | 2 +- tencentcloud/pts/go.mod | 2 +- tencentcloud/rce/go.mod | 2 +- tencentcloud/redis/go.mod | 2 +- tencentcloud/redis/v20180412/client.go | 106 +++++ tencentcloud/redis/v20180412/models.go | 196 ++++++++ tencentcloud/region/go.mod | 2 +- tencentcloud/rkp/go.mod | 2 +- tencentcloud/rp/go.mod | 2 +- tencentcloud/rum/go.mod | 2 +- tencentcloud/scf/go.mod | 2 +- tencentcloud/ses/go.mod | 2 +- tencentcloud/smh/go.mod | 2 +- tencentcloud/smop/go.mod | 2 +- tencentcloud/smpn/go.mod | 2 +- tencentcloud/sms/go.mod | 2 +- tencentcloud/soe/go.mod | 2 +- tencentcloud/solar/go.mod | 2 +- tencentcloud/sqlserver/go.mod | 2 +- tencentcloud/ssa/go.mod | 2 +- tencentcloud/ssl/go.mod | 2 +- tencentcloud/sslpod/go.mod | 2 +- tencentcloud/ssm/go.mod | 2 +- tencentcloud/sts/go.mod | 2 +- tencentcloud/svp/go.mod | 2 +- tencentcloud/taf/go.mod | 2 +- tencentcloud/tag/go.mod | 2 +- tencentcloud/tan/go.mod | 2 +- tencentcloud/tat/go.mod | 2 +- tencentcloud/tav/go.mod | 2 +- tencentcloud/tbaas/go.mod | 2 +- tencentcloud/tbm/go.mod | 2 +- tencentcloud/tbp/go.mod | 2 +- tencentcloud/tcaplusdb/go.mod | 2 +- tencentcloud/tcb/go.mod | 2 +- tencentcloud/tcbr/go.mod | 2 +- tencentcloud/tcex/go.mod | 2 +- tencentcloud/tchd/go.mod | 2 +- tencentcloud/tci/go.mod | 2 +- tencentcloud/tcm/go.mod | 2 +- tencentcloud/tcr/go.mod | 2 +- tencentcloud/tcss/go.mod | 2 +- tencentcloud/tdcpg/go.mod | 2 +- tencentcloud/tdid/go.mod | 2 +- tencentcloud/tdmq/go.mod | 2 +- tencentcloud/tds/go.mod | 2 +- tencentcloud/tem/go.mod | 2 +- tencentcloud/teo/go.mod | 2 +- tencentcloud/teo/v20220901/models.go | 31 +- tencentcloud/thpc/go.mod | 2 +- tencentcloud/tia/go.mod | 2 +- tencentcloud/tic/go.mod | 2 +- tencentcloud/ticm/go.mod | 2 +- tencentcloud/tics/go.mod | 2 +- tencentcloud/tiems/go.mod | 2 +- tencentcloud/tiia/go.mod | 2 +- tencentcloud/tione/go.mod | 2 +- tencentcloud/tiw/go.mod | 2 +- tencentcloud/tke/go.mod | 2 +- tencentcloud/tkgdq/go.mod | 2 +- tencentcloud/tms/go.mod | 2 +- tencentcloud/tmt/go.mod | 2 +- tencentcloud/tourism/go.mod | 2 +- tencentcloud/trdp/go.mod | 2 +- tencentcloud/trocket/go.mod | 2 +- tencentcloud/trp/go.mod | 2 +- tencentcloud/trro/go.mod | 2 +- tencentcloud/trtc/go.mod | 2 +- tencentcloud/tse/go.mod | 2 +- tencentcloud/tsf/go.mod | 2 +- tencentcloud/tsf/v20180326/models.go | 19 + tencentcloud/tsi/go.mod | 2 +- tencentcloud/tsw/go.mod | 2 +- tencentcloud/tts/go.mod | 2 +- tencentcloud/ump/go.mod | 2 +- tencentcloud/vcg/go.mod | 2 +- tencentcloud/vclm/go.mod | 2 +- tencentcloud/vdb/go.mod | 2 +- tencentcloud/vdb/v20230616/client.go | 287 ++++++++++++ tencentcloud/vdb/v20230616/errors.go | 21 + tencentcloud/vdb/v20230616/models.go | 383 ++++++++++++++++ tencentcloud/vm/go.mod | 2 +- tencentcloud/vms/go.mod | 2 +- tencentcloud/vod/go.mod | 2 +- tencentcloud/vpc/go.mod | 2 +- tencentcloud/vpc/v20170312/models.go | 12 +- tencentcloud/vrs/go.mod | 2 +- tencentcloud/vtc/go.mod | 2 +- tencentcloud/waf/go.mod | 2 +- tencentcloud/wav/go.mod | 2 +- tencentcloud/wedata/go.mod | 2 +- tencentcloud/weilingwith/go.mod | 2 +- tencentcloud/wss/go.mod | 2 +- tencentcloud/yinsuda/go.mod | 2 +- tencentcloud/youmall/go.mod | 2 +- tencentcloud/yunjing/go.mod | 2 +- tencentcloud/yunsou/go.mod | 2 +- testing/go.mod | 2 +- 286 files changed, 4532 insertions(+), 383 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 917030be6e..cac32f6d99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,331 @@ +# Release v1.0.1000 + +## 大模型图像创作引擎(aiart) 版本:2022-12-29 + +### 第 13 次发布 + +发布时间:2024-09-11 01:07:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [SketchToImage](https://cloud.tencent.com/document/api/1668/110863) + +### 第 12 次发布 + +发布时间:2024-09-10 11:22:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ImageToImage](https://cloud.tencent.com/document/api/1668/88066) + + * 新增入参:EnhanceImage, RestoreFace + + + + +## 混沌演练平台(cfg) 版本:2021-08-20 + +### 第 19 次发布 + +发布时间:2024-09-11 01:19:01 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Task](https://cloud.tencent.com/document/api/1500/71784#Task) + + * 新增成员:TaskRegionName + + + + +## 消息队列 CKafka 版(ckafka) 版本:2019-08-19 + +### 第 108 次发布 + +发布时间:2024-09-11 01:20:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ModifyInstanceAttributes](https://cloud.tencent.com/document/api/597/40832) + + +修改数据结构: + +* [OperateResponseData](https://cloud.tencent.com/document/api/597/40861#OperateResponseData) + + * **修改成员**:RouteDTO + + + + +## TDSQL MySQL 版(dcdb) 版本:2018-04-11 + +### 第 73 次发布 + +发布时间:2024-09-11 01:32:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeBackupConfigs](https://cloud.tencent.com/document/api/557/110865) +* [ModifyBackupConfigs](https://cloud.tencent.com/document/api/557/110864) + +新增数据结构: + +* [BackupConfig](https://cloud.tencent.com/document/api/557/16142#BackupConfig) +* [NewBackupConfig](https://cloud.tencent.com/document/api/557/16142#NewBackupConfig) + + + +## DNSPod(dnspod) 版本:2021-03-23 + +### 第 33 次发布 + +发布时间:2024-09-11 01:34:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeDomainShareUserList](https://cloud.tencent.com/document/api/1427/110866) + +新增数据结构: + +* [DomainShareUserInfo](https://cloud.tencent.com/document/api/1427/56185#DomainShareUserInfo) + + + +## 弹性 MapReduce(emr) 版本:2019-01-03 + +### 第 76 次发布 + +发布时间:2024-09-11 01:39:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateSLInstance](https://cloud.tencent.com/document/api/589/110872) +* [DescribeSLInstance](https://cloud.tencent.com/document/api/589/110871) +* [DescribeSLInstanceList](https://cloud.tencent.com/document/api/589/110870) +* [ModifySLInstance](https://cloud.tencent.com/document/api/589/110869) +* [TerminateSLInstance](https://cloud.tencent.com/document/api/589/110868) + +修改接口: + +* [ModifyAutoRenewFlag](https://cloud.tencent.com/document/api/589/110534) + + * 新增入参:ComputeResourceId + + +新增数据结构: + +* [SLInstanceInfo](https://cloud.tencent.com/document/api/589/33981#SLInstanceInfo) +* [ZoneSetting](https://cloud.tencent.com/document/api/589/33981#ZoneSetting) + + + +## Elasticsearch Service(es) 版本:2018-04-16 + +### 第 69 次发布 + +发布时间:2024-09-10 15:12:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeSpaceKibanaTools](https://cloud.tencent.com/document/api/845/110854) + + + +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 182 次发布 + +发布时间:2024-09-11 01:42:03 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreatePersonAuthCertificateImage](https://cloud.tencent.com/document/api/1420/110873) + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 云数据库 MariaDB(mariadb) 版本:2017-03-12 + +### 第 66 次发布 + +发布时间:2024-09-11 01:55:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeBackupConfigs](https://cloud.tencent.com/document/api/237/110875) +* [ModifyBackupConfigs](https://cloud.tencent.com/document/api/237/110874) + +新增数据结构: + +* [BackupConfig](https://cloud.tencent.com/document/api/237/16191#BackupConfig) +* [NewBackupConfig](https://cloud.tencent.com/document/api/237/16191#NewBackupConfig) + + + +## 文字识别(ocr) 版本:2018-11-19 + +### 第 149 次发布 + +发布时间:2024-09-11 02:01:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [PermitOCR](https://cloud.tencent.com/document/api/866/37074) + + * 新增出参:Type + + + + +## 云数据库Redis(redis) 版本:2018-04-12 + +### 第 81 次发布 + +发布时间:2024-09-11 02:05:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeInstanceLogDelivery](https://cloud.tencent.com/document/api/239/110878) +* [ModifyInstanceLogDelivery](https://cloud.tencent.com/document/api/239/110877) + +新增数据结构: + +* [LogDeliveryInfo](https://cloud.tencent.com/document/api/239/20022#LogDeliveryInfo) + + + +## 边缘安全加速平台(teo) 版本:2022-09-01 + +### 第 84 次发布 + +发布时间:2024-09-11 02:18:47 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [OriginDetail](https://cloud.tencent.com/document/api/1552/80721#OriginDetail) + +* [OriginInfo](https://cloud.tencent.com/document/api/1552/80721#OriginInfo) + + + + +## 边缘安全加速平台(teo) 版本:2022-01-06 + + + +## 微服务平台 TSF(tsf) 版本:2018-03-26 + +### 第 113 次发布 + +发布时间:2024-09-11 02:25:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateAllGatewayApiAsync](https://cloud.tencent.com/document/api/649/50642) + + * 新增入参:NamespaceId + + +修改数据结构: + +* [ApiRateLimitRule](https://cloud.tencent.com/document/api/649/36099#ApiRateLimitRule) + + * 新增成员:Limit, Offset, AppId + +* [GatewayGroupApiVo](https://cloud.tencent.com/document/api/649/36099#GatewayGroupApiVo) + + * **修改成员**:ApiId, Path, MicroserviceName, Method, NamespaceName + + + + +## 向量数据库(vdb) 版本:2023-06-16 + +### 第 3 次发布 + +发布时间:2024-09-11 02:27:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [AssociateSecurityGroups](https://cloud.tencent.com/document/api/1709/110884) +* [DescribeDBSecurityGroups](https://cloud.tencent.com/document/api/1709/110883) +* [DescribeInstanceNodes](https://cloud.tencent.com/document/api/1709/110879) +* [DisassociateSecurityGroups](https://cloud.tencent.com/document/api/1709/110882) +* [ModifyDBInstanceSecurityGroups](https://cloud.tencent.com/document/api/1709/110881) + +新增数据结构: + +* [Inbound](https://cloud.tencent.com/document/api/1709/106757#Inbound) +* [NodeInfo](https://cloud.tencent.com/document/api/1709/106757#NodeInfo) +* [Outbound](https://cloud.tencent.com/document/api/1709/106757#Outbound) +* [SecurityGroup](https://cloud.tencent.com/document/api/1709/106757#SecurityGroup) + + + # Release v1.0.999 ## 云服务器(cvm) 版本:2017-03-12 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 9aadf27bbb..241b3c9ebe 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,10 @@ # 本版本更新包含以下内容: -## 云服务器(cvm) 版本:2017-03-12 +## 大模型图像创作引擎(aiart) 版本:2022-12-29 -### 第 129 次发布 +### 第 13 次发布 -发布时间:2024-09-10 01:20:00 +发布时间:2024-09-11 01:07:24 本次发布包含了以下内容: @@ -12,19 +12,49 @@ 新增接口: -* [ConvertOperatingSystems](https://cloud.tencent.com/document/api/213/110841) +* [SketchToImage](https://cloud.tencent.com/document/api/1668/110863) -新增数据结构: +### 第 12 次发布 -* [TargetOS](https://cloud.tencent.com/document/api/213/15753#TargetOS) +发布时间:2024-09-10 11:22:26 +本次发布包含了以下内容: +改善已有的文档。 -## TDSQL MySQL 版(dcdb) 版本:2018-04-11 +修改接口: -### 第 72 次发布 +* [ImageToImage](https://cloud.tencent.com/document/api/1668/88066) -发布时间:2024-09-10 01:27:35 + * 新增入参:EnhanceImage, RestoreFace + + + + +## 混沌演练平台(cfg) 版本:2021-08-20 + +### 第 19 次发布 + +发布时间:2024-09-11 01:19:01 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Task](https://cloud.tencent.com/document/api/1500/71784#Task) + + * 新增成员:TaskRegionName + + + + +## 消息队列 CKafka 版(ckafka) 版本:2019-08-19 + +### 第 108 次发布 + +发布时间:2024-09-11 01:20:54 本次发布包含了以下内容: @@ -32,26 +62,45 @@ 修改接口: -* [CreateAccount](https://cloud.tencent.com/document/api/557/19996) +* [ModifyInstanceAttributes](https://cloud.tencent.com/document/api/597/40832) - * 新增入参:EncryptedPassword - * **修改入参**:Password +修改数据结构: -* [ResetAccountPassword](https://cloud.tencent.com/document/api/557/19979) +* [OperateResponseData](https://cloud.tencent.com/document/api/597/40861#OperateResponseData) - * 新增入参:EncryptedPassword + * **修改成员**:RouteDTO - * **修改入参**:Password +## TDSQL MySQL 版(dcdb) 版本:2018-04-11 -## 数据湖计算 DLC(dlc) 版本:2021-01-25 +### 第 73 次发布 -### 第 102 次发布 +发布时间:2024-09-11 01:32:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeBackupConfigs](https://cloud.tencent.com/document/api/557/110865) +* [ModifyBackupConfigs](https://cloud.tencent.com/document/api/557/110864) + +新增数据结构: + +* [BackupConfig](https://cloud.tencent.com/document/api/557/16142#BackupConfig) +* [NewBackupConfig](https://cloud.tencent.com/document/api/557/16142#NewBackupConfig) -发布时间:2024-09-10 01:28:17 + + +## DNSPod(dnspod) 版本:2021-03-23 + +### 第 33 次发布 + +发布时间:2024-09-11 01:34:34 本次发布包含了以下内容: @@ -59,16 +108,19 @@ 新增接口: -* [DeleteTable](https://cloud.tencent.com/document/api/1342/110842) -* [QueryInternalTableWarehouse](https://cloud.tencent.com/document/api/1342/110843) +* [DescribeDomainShareUserList](https://cloud.tencent.com/document/api/1427/110866) + +新增数据结构: + +* [DomainShareUserInfo](https://cloud.tencent.com/document/api/1427/56185#DomainShareUserInfo) ## 弹性 MapReduce(emr) 版本:2019-01-03 -### 第 75 次发布 +### 第 76 次发布 -发布时间:2024-09-09 11:32:30 +发布时间:2024-09-11 01:39:43 本次发布包含了以下内容: @@ -76,47 +128,67 @@ 新增接口: -* [DescribeResourceScheduleDiffDetail](https://cloud.tencent.com/document/api/589/110834) +* [CreateSLInstance](https://cloud.tencent.com/document/api/589/110872) +* [DescribeSLInstance](https://cloud.tencent.com/document/api/589/110871) +* [DescribeSLInstanceList](https://cloud.tencent.com/document/api/589/110870) +* [ModifySLInstance](https://cloud.tencent.com/document/api/589/110869) +* [TerminateSLInstance](https://cloud.tencent.com/document/api/589/110868) + +修改接口: + +* [ModifyAutoRenewFlag](https://cloud.tencent.com/document/api/589/110534) + + * 新增入参:ComputeResourceId + 新增数据结构: -* [DiffDetail](https://cloud.tencent.com/document/api/589/33981#DiffDetail) -* [DiffDetailItem](https://cloud.tencent.com/document/api/589/33981#DiffDetailItem) -* [DiffHeader](https://cloud.tencent.com/document/api/589/33981#DiffHeader) +* [SLInstanceInfo](https://cloud.tencent.com/document/api/589/33981#SLInstanceInfo) +* [ZoneSetting](https://cloud.tencent.com/document/api/589/33981#ZoneSetting) ## Elasticsearch Service(es) 版本:2018-04-16 -### 第 68 次发布 +### 第 69 次发布 -发布时间:2024-09-10 01:35:22 +发布时间:2024-09-10 15:12:32 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +新增接口: -* [DescribeServerlessMetrics](https://cloud.tencent.com/document/api/845/108288) +* [DescribeSpaceKibanaTools](https://cloud.tencent.com/document/api/845/110854) - * 新增入参:BatchIndexList - * 新增出参:MetricMapList +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 -新增数据结构: +### 第 182 次发布 -* [MetricAllData](https://cloud.tencent.com/document/api/845/30634#MetricAllData) -* [MetricMapByIndexId](https://cloud.tencent.com/document/api/845/30634#MetricMapByIndexId) +发布时间:2024-09-11 01:42:03 +本次发布包含了以下内容: +改善已有的文档。 -## 腾讯电子签企业版(ess) 版本:2020-11-11 +新增接口: -### 第 186 次发布 +* [CreatePersonAuthCertificateImage](https://cloud.tencent.com/document/api/1420/110873) -发布时间:2024-09-10 01:35:59 + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 云数据库 MariaDB(mariadb) 版本:2017-03-12 + +### 第 66 次发布 + +发布时间:2024-09-11 01:55:56 本次发布包含了以下内容: @@ -124,19 +196,21 @@ 新增接口: -* [DescribeOrganizationAuthStatus](https://cloud.tencent.com/document/api/1323/110844) +* [DescribeBackupConfigs](https://cloud.tencent.com/document/api/237/110875) +* [ModifyBackupConfigs](https://cloud.tencent.com/document/api/237/110874) 新增数据结构: -* [AuthRecord](https://cloud.tencent.com/document/api/1323/70369#AuthRecord) +* [BackupConfig](https://cloud.tencent.com/document/api/237/16191#BackupConfig) +* [NewBackupConfig](https://cloud.tencent.com/document/api/237/16191#NewBackupConfig) -## 云数据库 MariaDB(mariadb) 版本:2017-03-12 +## 文字识别(ocr) 版本:2018-11-19 -### 第 65 次发布 +### 第 149 次发布 -发布时间:2024-09-10 01:50:50 +发布时间:2024-09-11 02:01:34 本次发布包含了以下内容: @@ -144,26 +218,39 @@ 修改接口: -* [CreateAccount](https://cloud.tencent.com/document/api/237/16165) +* [PermitOCR](https://cloud.tencent.com/document/api/866/37074) - * 新增入参:EncryptedPassword + * 新增出参:Type - * **修改入参**:Password -* [ResetAccountPassword](https://cloud.tencent.com/document/api/237/16168) - * 新增入参:EncryptedPassword - * **修改入参**:Password +## 云数据库Redis(redis) 版本:2018-04-12 +### 第 81 次发布 +发布时间:2024-09-11 02:05:34 +本次发布包含了以下内容: -## 实时音视频(trtc) 版本:2019-07-22 +改善已有的文档。 -### 第 90 次发布 +新增接口: -发布时间:2024-09-10 02:18:51 +* [DescribeInstanceLogDelivery](https://cloud.tencent.com/document/api/239/110878) +* [ModifyInstanceLogDelivery](https://cloud.tencent.com/document/api/239/110877) + +新增数据结构: + +* [LogDeliveryInfo](https://cloud.tencent.com/document/api/239/20022#LogDeliveryInfo) + + + +## 边缘安全加速平台(teo) 版本:2022-09-01 + +### 第 84 次发布 + +发布时间:2024-09-11 02:18:47 本次发布包含了以下内容: @@ -171,18 +258,22 @@ 修改数据结构: -* [STTConfig](https://cloud.tencent.com/document/api/647/44055#STTConfig) +* [OriginDetail](https://cloud.tencent.com/document/api/1552/80721#OriginDetail) - * 新增成员:VadSilenceTime +* [OriginInfo](https://cloud.tencent.com/document/api/1552/80721#OriginInfo) -## 微服务引擎(tse) 版本:2020-12-07 +## 边缘安全加速平台(teo) 版本:2022-01-06 -### 第 76 次发布 -发布时间:2024-09-10 02:19:25 + +## 微服务平台 TSF(tsf) 版本:2018-03-26 + +### 第 113 次发布 + +发布时间:2024-09-11 02:25:39 本次发布包含了以下内容: @@ -190,17 +281,51 @@ 修改接口: -* [CreateCloudNativeAPIGatewayService](https://cloud.tencent.com/document/api/1364/94851) +* [CreateAllGatewayApiAsync](https://cloud.tencent.com/document/api/649/50642) - * **修改入参**:Path + * 新增入参:NamespaceId -* [ModifyCloudNativeAPIGatewayService](https://cloud.tencent.com/document/api/1364/94835) - * **修改入参**:Path +修改数据结构: + +* [ApiRateLimitRule](https://cloud.tencent.com/document/api/649/36099#ApiRateLimitRule) + + * 新增成员:Limit, Offset, AppId + +* [GatewayGroupApiVo](https://cloud.tencent.com/document/api/649/36099#GatewayGroupApiVo) + + * **修改成员**:ApiId, Path, MicroserviceName, Method, NamespaceName +## 向量数据库(vdb) 版本:2023-06-16 + +### 第 3 次发布 + +发布时间:2024-09-11 02:27:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [AssociateSecurityGroups](https://cloud.tencent.com/document/api/1709/110884) +* [DescribeDBSecurityGroups](https://cloud.tencent.com/document/api/1709/110883) +* [DescribeInstanceNodes](https://cloud.tencent.com/document/api/1709/110879) +* [DisassociateSecurityGroups](https://cloud.tencent.com/document/api/1709/110882) +* [ModifyDBInstanceSecurityGroups](https://cloud.tencent.com/document/api/1709/110881) + +新增数据结构: + +* [Inbound](https://cloud.tencent.com/document/api/1709/106757#Inbound) +* [NodeInfo](https://cloud.tencent.com/document/api/1709/106757#NodeInfo) +* [Outbound](https://cloud.tencent.com/document/api/1709/106757#Outbound) +* [SecurityGroup](https://cloud.tencent.com/document/api/1709/106757#SecurityGroup) + + + # 历次版本更新如下: ## 活动防刷(aa) 版本:2020-02-24 @@ -845,6 +970,33 @@ ## 大模型图像创作引擎(aiart) 版本:2022-12-29 +### 第 13 次发布 + +发布时间:2024-09-11 01:07:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[SketchToImage](https://cloud.tencent.com/document/api/1668/110863)](https://cloud.tencent.com/document/api/#/#) + +### 第 12 次发布 + +发布时间:2024-09-10 11:22:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ImageToImage](https://cloud.tencent.com/document/api/1668/88066) + + * 新增入参:EnhanceImage, RestoreFace + + ### 第 11 次发布 发布时间:2024-08-12 01:08:02 @@ -24588,6 +24740,21 @@ ## 混沌演练平台(cfg) 版本:2021-08-20 +### 第 19 次发布 + +发布时间:2024-09-11 01:19:01 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Task](https://cloud.tencent.com/document/api/1500/71784#Task) + + * 新增成员:TaskRegionName + + ### 第 18 次发布 发布时间:2024-09-03 01:21:59 @@ -27759,6 +27926,26 @@ ## 消息队列 CKafka 版(ckafka) 版本:2019-08-19 +### 第 108 次发布 + +发布时间:2024-09-11 01:20:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ModifyInstanceAttributes](https://cloud.tencent.com/document/api/597/40832) + + +修改数据结构: + +* [OperateResponseData](https://cloud.tencent.com/document/api/597/40861#OperateResponseData) + + * **修改成员**:RouteDTO + + ### 第 107 次发布 发布时间:2024-09-02 01:21:22 @@ -40629,11 +40816,11 @@ 新增接口: -* [[ConvertOperatingSystems](https://cloud.tencent.com/document/api/213/110841)](https://cloud.tencent.com/document/api/#/#) +* [ConvertOperatingSystems](https://cloud.tencent.com/document/api/213/110841) 新增数据结构: -* [[TargetOS](https://cloud.tencent.com/document/api/213/15753#TargetOS)](https://cloud.tencent.com/document/api/213/15753#[TargetOS](https://cloud.tencent.com/document/api/213/15753#TargetOS)) +* [TargetOS](https://cloud.tencent.com/document/api/213/15753#TargetOS) ### 第 128 次发布 @@ -51825,6 +52012,24 @@ ## TDSQL MySQL 版(dcdb) 版本:2018-04-11 +### 第 73 次发布 + +发布时间:2024-09-11 01:32:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeBackupConfigs](https://cloud.tencent.com/document/api/557/110865)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyBackupConfigs](https://cloud.tencent.com/document/api/557/110864)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[BackupConfig](https://cloud.tencent.com/document/api/557/16142#BackupConfig)](https://cloud.tencent.com/document/api/557/16142#[BackupConfig](https://cloud.tencent.com/document/api/557/16142#BackupConfig)) +* [[NewBackupConfig](https://cloud.tencent.com/document/api/557/16142#NewBackupConfig)](https://cloud.tencent.com/document/api/557/16142#[NewBackupConfig](https://cloud.tencent.com/document/api/557/16142#NewBackupConfig)) + ### 第 72 次发布 发布时间:2024-09-10 01:27:35 @@ -53168,8 +53373,8 @@ 新增接口: -* [[DeleteTable](https://cloud.tencent.com/document/api/1342/110842)](https://cloud.tencent.com/document/api/#/#) -* [[QueryInternalTableWarehouse](https://cloud.tencent.com/document/api/1342/110843)](https://cloud.tencent.com/document/api/#/#) +* [DeleteTable](https://cloud.tencent.com/document/api/1342/110842) +* [QueryInternalTableWarehouse](https://cloud.tencent.com/document/api/1342/110843) ### 第 101 次发布 @@ -55354,6 +55559,22 @@ ## DNSPod(dnspod) 版本:2021-03-23 +### 第 33 次发布 + +发布时间:2024-09-11 01:34:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeDomainShareUserList](https://cloud.tencent.com/document/api/1427/110866)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[DomainShareUserInfo](https://cloud.tencent.com/document/api/1427/56185#DomainShareUserInfo)](https://cloud.tencent.com/document/api/1427/56185#[DomainShareUserInfo](https://cloud.tencent.com/document/api/1427/56185#DomainShareUserInfo)) + ### 第 32 次发布 发布时间:2024-07-11 01:14:33 @@ -61871,6 +62092,34 @@ ## 弹性 MapReduce(emr) 版本:2019-01-03 +### 第 76 次发布 + +发布时间:2024-09-11 01:39:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateSLInstance](https://cloud.tencent.com/document/api/589/110872)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeSLInstance](https://cloud.tencent.com/document/api/589/110871)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeSLInstanceList](https://cloud.tencent.com/document/api/589/110870)](https://cloud.tencent.com/document/api/#/#) +* [[ModifySLInstance](https://cloud.tencent.com/document/api/589/110869)](https://cloud.tencent.com/document/api/#/#) +* [[TerminateSLInstance](https://cloud.tencent.com/document/api/589/110868)](https://cloud.tencent.com/document/api/#/#) + +修改接口: + +* [ModifyAutoRenewFlag](https://cloud.tencent.com/document/api/589/110534) + + * 新增入参:ComputeResourceId + + +新增数据结构: + +* [[SLInstanceInfo](https://cloud.tencent.com/document/api/589/33981#SLInstanceInfo)](https://cloud.tencent.com/document/api/589/33981#[SLInstanceInfo](https://cloud.tencent.com/document/api/589/33981#SLInstanceInfo)) +* [[ZoneSetting](https://cloud.tencent.com/document/api/589/33981#ZoneSetting)](https://cloud.tencent.com/document/api/589/33981#[ZoneSetting](https://cloud.tencent.com/document/api/589/33981#ZoneSetting)) + ### 第 75 次发布 发布时间:2024-09-09 11:32:30 @@ -61881,13 +62130,13 @@ 新增接口: -* [[DescribeResourceScheduleDiffDetail](https://cloud.tencent.com/document/api/589/110834)](https://cloud.tencent.com/document/api/#/#) +* [DescribeResourceScheduleDiffDetail](https://cloud.tencent.com/document/api/589/110834) 新增数据结构: -* [[DiffDetail](https://cloud.tencent.com/document/api/589/33981#DiffDetail)](https://cloud.tencent.com/document/api/589/33981#[DiffDetail](https://cloud.tencent.com/document/api/589/33981#DiffDetail)) -* [[DiffDetailItem](https://cloud.tencent.com/document/api/589/33981#DiffDetailItem)](https://cloud.tencent.com/document/api/589/33981#[DiffDetailItem](https://cloud.tencent.com/document/api/589/33981#DiffDetailItem)) -* [[DiffHeader](https://cloud.tencent.com/document/api/589/33981#DiffHeader)](https://cloud.tencent.com/document/api/589/33981#[DiffHeader](https://cloud.tencent.com/document/api/589/33981#DiffHeader)) +* [DiffDetail](https://cloud.tencent.com/document/api/589/33981#DiffDetail) +* [DiffDetailItem](https://cloud.tencent.com/document/api/589/33981#DiffDetailItem) +* [DiffHeader](https://cloud.tencent.com/document/api/589/33981#DiffHeader) ### 第 74 次发布 @@ -63627,6 +63876,18 @@ ## Elasticsearch Service(es) 版本:2018-04-16 +### 第 69 次发布 + +发布时间:2024-09-10 15:12:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeSpaceKibanaTools](https://cloud.tencent.com/document/api/845/110854)](https://cloud.tencent.com/document/api/#/#) + ### 第 68 次发布 发布时间:2024-09-10 01:35:22 @@ -63646,8 +63907,8 @@ 新增数据结构: -* [[MetricAllData](https://cloud.tencent.com/document/api/845/30634#MetricAllData)](https://cloud.tencent.com/document/api/845/30634#[MetricAllData](https://cloud.tencent.com/document/api/845/30634#MetricAllData)) -* [[MetricMapByIndexId](https://cloud.tencent.com/document/api/845/30634#MetricMapByIndexId)](https://cloud.tencent.com/document/api/845/30634#[MetricMapByIndexId](https://cloud.tencent.com/document/api/845/30634#MetricMapByIndexId)) +* [MetricAllData](https://cloud.tencent.com/document/api/845/30634#MetricAllData) +* [MetricMapByIndexId](https://cloud.tencent.com/document/api/845/30634#MetricMapByIndexId) ### 第 67 次发布 @@ -65144,11 +65405,11 @@ 新增接口: -* [[DescribeOrganizationAuthStatus](https://cloud.tencent.com/document/api/1323/110844)](https://cloud.tencent.com/document/api/#/#) +* [DescribeOrganizationAuthStatus](https://cloud.tencent.com/document/api/1323/110844) 新增数据结构: -* [[AuthRecord](https://cloud.tencent.com/document/api/1323/70369#AuthRecord)](https://cloud.tencent.com/document/api/1323/70369#[AuthRecord](https://cloud.tencent.com/document/api/1323/70369#AuthRecord)) +* [AuthRecord](https://cloud.tencent.com/document/api/1323/70369#AuthRecord) ### 第 185 次发布 @@ -68662,6 +68923,18 @@ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 182 次发布 + +发布时间:2024-09-11 01:42:03 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreatePersonAuthCertificateImage](https://cloud.tencent.com/document/api/1420/110873)](https://cloud.tencent.com/document/api/#/#) + ### 第 181 次发布 发布时间:2024-09-03 01:49:10 @@ -91838,6 +92111,24 @@ ## 云数据库 MariaDB(mariadb) 版本:2017-03-12 +### 第 66 次发布 + +发布时间:2024-09-11 01:55:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeBackupConfigs](https://cloud.tencent.com/document/api/237/110875)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyBackupConfigs](https://cloud.tencent.com/document/api/237/110874)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[BackupConfig](https://cloud.tencent.com/document/api/237/16191#BackupConfig)](https://cloud.tencent.com/document/api/237/16191#[BackupConfig](https://cloud.tencent.com/document/api/237/16191#BackupConfig)) +* [[NewBackupConfig](https://cloud.tencent.com/document/api/237/16191#NewBackupConfig)](https://cloud.tencent.com/document/api/237/16191#[NewBackupConfig](https://cloud.tencent.com/document/api/237/16191#NewBackupConfig)) + ### 第 65 次发布 发布时间:2024-09-10 01:50:50 @@ -103489,6 +103780,21 @@ ## 文字识别(ocr) 版本:2018-11-19 +### 第 149 次发布 + +发布时间:2024-09-11 02:01:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [PermitOCR](https://cloud.tencent.com/document/api/866/37074) + + * 新增出参:Type + + ### 第 148 次发布 发布时间:2024-08-30 01:56:46 @@ -110041,6 +110347,23 @@ ## 云数据库Redis(redis) 版本:2018-04-12 +### 第 81 次发布 + +发布时间:2024-09-11 02:05:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeInstanceLogDelivery](https://cloud.tencent.com/document/api/239/110878)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyInstanceLogDelivery](https://cloud.tencent.com/document/api/239/110877)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[LogDeliveryInfo](https://cloud.tencent.com/document/api/239/20022#LogDeliveryInfo)](https://cloud.tencent.com/document/api/239/20022#[LogDeliveryInfo](https://cloud.tencent.com/document/api/239/20022#LogDeliveryInfo)) + ### 第 80 次发布 发布时间:2024-08-02 02:00:28 @@ -132928,6 +133251,21 @@ ## 边缘安全加速平台(teo) 版本:2022-09-01 +### 第 84 次发布 + +发布时间:2024-09-11 02:18:47 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [OriginDetail](https://cloud.tencent.com/document/api/1552/80721#OriginDetail) + +* [OriginInfo](https://cloud.tencent.com/document/api/1552/80721#OriginInfo) + + ### 第 83 次发布 发布时间:2024-07-03 01:25:21 @@ -148615,6 +148953,32 @@ ## 微服务平台 TSF(tsf) 版本:2018-03-26 +### 第 113 次发布 + +发布时间:2024-09-11 02:25:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateAllGatewayApiAsync](https://cloud.tencent.com/document/api/649/50642) + + * 新增入参:NamespaceId + + +修改数据结构: + +* [ApiRateLimitRule](https://cloud.tencent.com/document/api/649/36099#ApiRateLimitRule) + + * 新增成员:Limit, Offset, AppId + +* [GatewayGroupApiVo](https://cloud.tencent.com/document/api/649/36099#GatewayGroupApiVo) + + * **修改成员**:ApiId, Path, MicroserviceName, Method, NamespaceName + + ### 第 112 次发布 发布时间:2024-07-30 11:37:37 @@ -151999,6 +152363,29 @@ ## 向量数据库(vdb) 版本:2023-06-16 +### 第 3 次发布 + +发布时间:2024-09-11 02:27:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[AssociateSecurityGroups](https://cloud.tencent.com/document/api/1709/110884)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeDBSecurityGroups](https://cloud.tencent.com/document/api/1709/110883)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeInstanceNodes](https://cloud.tencent.com/document/api/1709/110879)](https://cloud.tencent.com/document/api/#/#) +* [[DisassociateSecurityGroups](https://cloud.tencent.com/document/api/1709/110882)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyDBInstanceSecurityGroups](https://cloud.tencent.com/document/api/1709/110881)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[Inbound](https://cloud.tencent.com/document/api/1709/106757#Inbound)](https://cloud.tencent.com/document/api/1709/106757#[Inbound](https://cloud.tencent.com/document/api/1709/106757#Inbound)) +* [[NodeInfo](https://cloud.tencent.com/document/api/1709/106757#NodeInfo)](https://cloud.tencent.com/document/api/1709/106757#[NodeInfo](https://cloud.tencent.com/document/api/1709/106757#NodeInfo)) +* [[Outbound](https://cloud.tencent.com/document/api/1709/106757#Outbound)](https://cloud.tencent.com/document/api/1709/106757#[Outbound](https://cloud.tencent.com/document/api/1709/106757#Outbound)) +* [[SecurityGroup](https://cloud.tencent.com/document/api/1709/106757#SecurityGroup)](https://cloud.tencent.com/document/api/1709/106757#[SecurityGroup](https://cloud.tencent.com/document/api/1709/106757#SecurityGroup)) + ### 第 2 次发布 发布时间:2024-06-28 01:22:56 diff --git a/products.md b/products.md index 766815fee5..34f88f7de0 100644 --- a/products.md +++ b/products.md @@ -6,7 +6,7 @@ | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 | | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-05-31 01:07:20 | | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 | -| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-08-13 01:03:11 | +| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-09-11 01:07:24 | | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 | | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-09-03 01:07:31 | | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 | @@ -15,7 +15,7 @@ | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 | | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 | | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-08-27 22:32:44 | -| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-07-31 01:04:59 | +| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-09-11 01:09:20 | | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-08-28 01:05:22 | | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-09-02 01:09:58 | | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 | @@ -23,7 +23,7 @@ | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-08-29 01:10:22 | | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-03-20 01:08:23 | | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-09-05 01:05:48 | -| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-08-29 01:11:13 | +| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-09-11 01:11:08 | | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 | | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 | | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-04-24 01:05:22 | @@ -48,7 +48,7 @@ | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-09-04 01:13:34 | | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 | | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-08-28 01:17:24 | -| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-09-03 01:21:59 | +| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-09-11 01:19:01 | | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-08-28 01:17:42 | | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-09-09 01:19:11 | | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 | @@ -56,7 +56,7 @@ | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 | | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 | | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 | -| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-09-02 01:21:22 | +| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-09-11 01:20:54 | | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-09-03 01:25:28 | | cloudapp | [云应用](https://cloud.tencent.com/document/product/1689) | 2024-07-18 10:12:45 | | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 | @@ -82,9 +82,9 @@ | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-09-03 01:38:02 | | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 | | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-09-10 01:27:21 | -| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-09-10 01:27:35 | +| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-09-11 01:32:35 | | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-09-10 01:28:17 | -| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-08-21 01:31:30 | +| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-09-11 01:34:34 | | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-31 01:30:16 | | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 | | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 | @@ -97,11 +97,11 @@ | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-08-20 01:35:54 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | -| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-09-10 01:34:43 | -| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-09-10 01:35:22 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-09-10 01:35:59 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-09-03 01:49:10 | -| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-09-06 01:38:13 | +| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-09-11 01:39:43 | +| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-09-10 15:12:32 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-09-11 01:41:06 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-09-11 01:42:03 | +| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-09-11 01:42:57 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-28 01:46:34 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 | @@ -131,7 +131,7 @@ | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-07-08 01:16:48 | | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 | | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2024-03-20 01:19:05 | -| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-09-10 01:45:57 | +| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-09-11 01:51:03 | | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-07-09 14:27:21 | | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 | @@ -142,7 +142,7 @@ | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 | | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 | | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 | -| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-09-10 01:50:50 | +| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-09-11 01:55:56 | | market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-03-20 01:20:21 | | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-08-28 02:03:45 | | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 | @@ -158,7 +158,7 @@ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-09-04 01:54:37 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-09-10 01:56:25 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-09-11 02:01:34 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 | | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-28 02:12:13 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 | @@ -167,7 +167,7 @@ | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-08-28 02:14:34 | | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-09 02:01:53 | | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-09-10 02:00:15 | -| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-09-05 01:59:56 | +| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-09-11 02:05:34 | | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-08-28 02:16:37 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 | @@ -209,7 +209,7 @@ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-09-05 02:11:14 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-08-07 02:22:38 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 | -| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-09-09 02:17:49 | +| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-09-11 02:18:47 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-09-05 02:14:49 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 | @@ -230,18 +230,18 @@ | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-31 02:17:29 | | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-09-10 02:18:51 | | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-09-10 02:19:25 | -| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-30 11:37:37 | +| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-09-11 02:25:39 | | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-08-02 02:22:13 | | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 | | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-08-21 02:26:53 | | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 | | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 | | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-09-10 02:22:16 | -| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-08-15 02:35:35 | +| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-09-11 02:27:43 | | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-09-10 02:22:41 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-09-10 02:24:41 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-09-11 02:30:07 | | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 | | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-09-10 02:27:11 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-09-09 02:31:32 | diff --git a/tencentcloud/aa/go.mod b/tencentcloud/aa/go.mod index 0484b8156b..e96f1273e0 100644 --- a/tencentcloud/aa/go.mod +++ b/tencentcloud/aa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/aai/go.mod b/tencentcloud/aai/go.mod index bf758307c0..3a89ab859a 100644 --- a/tencentcloud/aai/go.mod +++ b/tencentcloud/aai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/acp/go.mod b/tencentcloud/acp/go.mod index 7c362de81f..06e974dd42 100644 --- a/tencentcloud/acp/go.mod +++ b/tencentcloud/acp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/acp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/advisor/go.mod b/tencentcloud/advisor/go.mod index 83d430e940..2b3b0f2a79 100644 --- a/tencentcloud/advisor/go.mod +++ b/tencentcloud/advisor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/af/go.mod b/tencentcloud/af/go.mod index 5fc33a113c..936d31f2e7 100644 --- a/tencentcloud/af/go.mod +++ b/tencentcloud/af/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/afc/go.mod b/tencentcloud/afc/go.mod index 631749bd76..f1912ea4c3 100644 --- a/tencentcloud/afc/go.mod +++ b/tencentcloud/afc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/aiart/go.mod b/tencentcloud/aiart/go.mod index 8e9fa4e031..522e640549 100644 --- a/tencentcloud/aiart/go.mod +++ b/tencentcloud/aiart/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aiart go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/aiart/v20221229/client.go b/tencentcloud/aiart/v20221229/client.go index d3d2580047..a26b6816a0 100644 --- a/tencentcloud/aiart/v20221229/client.go +++ b/tencentcloud/aiart/v20221229/client.go @@ -682,6 +682,113 @@ func (c *Client) ReplaceBackgroundWithContext(ctx context.Context, request *Repl return } +func NewSketchToImageRequest() (request *SketchToImageRequest) { + request = &SketchToImageRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("aiart", APIVersion, "SketchToImage") + + + return +} + +func NewSketchToImageResponse() (response *SketchToImageResponse) { + response = &SketchToImageResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// SketchToImage +// 线稿生图接口支持上传一张黑白线稿图,按照指定的主体对象以及样式、颜色、材质、风格等的文本描述prompt ,对线稿图进行色彩填充与细节描绘,得到一张完整绘制的图像。生成图分辨率默认为1024:1024。 +// +// 线稿生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// FAILEDOPERATION_GENERATEIMAGEFAILED = "FailedOperation.GenerateImageFailed" +// FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" +// FAILEDOPERATION_IMAGEDOWNLOADERROR = "FailedOperation.ImageDownloadError" +// FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed" +// FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed" +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_REQUESTENTITYTOOLARGE = "FailedOperation.RequestEntityTooLarge" +// FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" +// FAILEDOPERATION_RPCFAIL = "FailedOperation.RpcFail" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE_IMAGEEMPTY = "InvalidParameterValue.ImageEmpty" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// INVALIDPARAMETERVALUE_STYLECONFLICT = "InvalidParameterValue.StyleConflict" +// INVALIDPARAMETERVALUE_TEXTLENGTHEXCEED = "InvalidParameterValue.TextLengthExceed" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// OPERATIONDENIED_IMAGEILLEGALDETECTED = "OperationDenied.ImageIllegalDetected" +// OPERATIONDENIED_TEXTILLEGALDETECTED = "OperationDenied.TextIllegalDetected" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_DELIVERING = "ResourceUnavailable.Delivering" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_LOWBALANCE = "ResourceUnavailable.LowBalance" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_STOPUSING = "ResourceUnavailable.StopUsing" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) SketchToImage(request *SketchToImageRequest) (response *SketchToImageResponse, err error) { + return c.SketchToImageWithContext(context.Background(), request) +} + +// SketchToImage +// 线稿生图接口支持上传一张黑白线稿图,按照指定的主体对象以及样式、颜色、材质、风格等的文本描述prompt ,对线稿图进行色彩填充与细节描绘,得到一张完整绘制的图像。生成图分辨率默认为1024:1024。 +// +// 线稿生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// FAILEDOPERATION_GENERATEIMAGEFAILED = "FailedOperation.GenerateImageFailed" +// FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" +// FAILEDOPERATION_IMAGEDOWNLOADERROR = "FailedOperation.ImageDownloadError" +// FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed" +// FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed" +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_REQUESTENTITYTOOLARGE = "FailedOperation.RequestEntityTooLarge" +// FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" +// FAILEDOPERATION_RPCFAIL = "FailedOperation.RpcFail" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE_IMAGEEMPTY = "InvalidParameterValue.ImageEmpty" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// INVALIDPARAMETERVALUE_STYLECONFLICT = "InvalidParameterValue.StyleConflict" +// INVALIDPARAMETERVALUE_TEXTLENGTHEXCEED = "InvalidParameterValue.TextLengthExceed" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// OPERATIONDENIED_IMAGEILLEGALDETECTED = "OperationDenied.ImageIllegalDetected" +// OPERATIONDENIED_TEXTILLEGALDETECTED = "OperationDenied.TextIllegalDetected" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_DELIVERING = "ResourceUnavailable.Delivering" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_LOWBALANCE = "ResourceUnavailable.LowBalance" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_STOPUSING = "ResourceUnavailable.StopUsing" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) SketchToImageWithContext(ctx context.Context, request *SketchToImageRequest) (response *SketchToImageResponse, err error) { + if request == nil { + request = NewSketchToImageRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("SketchToImage require credential") + } + + request.SetContext(ctx) + + response = NewSketchToImageResponse() + err = c.Send(request, response) + return +} + func NewSubmitDrawPortraitJobRequest() (request *SubmitDrawPortraitJobRequest) { request = &SubmitDrawPortraitJobRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/aiart/v20221229/models.go b/tencentcloud/aiart/v20221229/models.go index a0e7e2716c..bda0ae3476 100644 --- a/tencentcloud/aiart/v20221229/models.go +++ b/tencentcloud/aiart/v20221229/models.go @@ -354,6 +354,16 @@ type ImageToImageRequestParams struct { // 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。 RspImgType *string `json:"RspImgType,omitnil,omitempty" name:"RspImgType"` + + // 画质增强开关,默认关闭。 + // 1:开启 + // 0:关闭 + // 开启后将增强图像的画质清晰度,生成耗时有所增加。 + EnhanceImage *int64 `json:"EnhanceImage,omitnil,omitempty" name:"EnhanceImage"` + + // 细节优化的面部数量上限,支持0 ~ 6,默认为0。 + // 若上传大于0的值,将以此为上限对每张图片中面积占比较小的面部进行细节修复,生成耗时根据实际优化的面部个数有所增加。 + RestoreFace *int64 `json:"RestoreFace,omitnil,omitempty" name:"RestoreFace"` } type ImageToImageRequest struct { @@ -409,6 +419,16 @@ type ImageToImageRequest struct { // 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。 RspImgType *string `json:"RspImgType,omitnil,omitempty" name:"RspImgType"` + + // 画质增强开关,默认关闭。 + // 1:开启 + // 0:关闭 + // 开启后将增强图像的画质清晰度,生成耗时有所增加。 + EnhanceImage *int64 `json:"EnhanceImage,omitnil,omitempty" name:"EnhanceImage"` + + // 细节优化的面部数量上限,支持0 ~ 6,默认为0。 + // 若上传大于0的值,将以此为上限对每张图片中面积占比较小的面部进行细节修复,生成耗时根据实际优化的面部个数有所增加。 + RestoreFace *int64 `json:"RestoreFace,omitnil,omitempty" name:"RestoreFace"` } func (r *ImageToImageRequest) ToJsonString() string { @@ -433,6 +453,8 @@ func (r *ImageToImageRequest) FromJsonString(s string) error { delete(f, "LogoParam") delete(f, "Strength") delete(f, "RspImgType") + delete(f, "EnhanceImage") + delete(f, "RestoreFace") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ImageToImageRequest has unknown keys!", "") } @@ -854,6 +876,122 @@ type ResultConfig struct { Resolution *string `json:"Resolution,omitnil,omitempty" name:"Resolution"` } +// Predefined struct for user +type SketchToImageRequestParams struct { + // 用于线稿生图的文本描述。 + // 最多支持200个 utf-8 字符。 + // 建议格式:线稿中的主体对象+画面场景+配色/材质/元素/风格等 + Prompt *string `json:"Prompt,omitnil,omitempty" name:"Prompt"` + + // 线稿图 Base64 数据。 + // Base64 和 Url 必须提供一个,如果都提供以Url 为准。 + // 图片限制:黑白线稿图片,单边分辨率小于5000且大于512(分辨率过小会导致效果受损),转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` + + // 线稿图 Url。 + // Base64 和 Url 必须提供一个,如果都提供以Url 为准。 + // 图片限制:黑白线稿图片,单边分辨率小于5000且大于512(分辨率过小会导致效果受损),转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` + + // 为生成结果图添加标识的开关,默认为1。 + // 1:添加标识。 + // 0:不添加标识。 + // 其他数值:默认按1处理。 + // 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。 + LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"` + + // 标识内容设置。 + // 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。 + LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"` + + // 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。 + RspImgType *string `json:"RspImgType,omitnil,omitempty" name:"RspImgType"` +} + +type SketchToImageRequest struct { + *tchttp.BaseRequest + + // 用于线稿生图的文本描述。 + // 最多支持200个 utf-8 字符。 + // 建议格式:线稿中的主体对象+画面场景+配色/材质/元素/风格等 + Prompt *string `json:"Prompt,omitnil,omitempty" name:"Prompt"` + + // 线稿图 Base64 数据。 + // Base64 和 Url 必须提供一个,如果都提供以Url 为准。 + // 图片限制:黑白线稿图片,单边分辨率小于5000且大于512(分辨率过小会导致效果受损),转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` + + // 线稿图 Url。 + // Base64 和 Url 必须提供一个,如果都提供以Url 为准。 + // 图片限制:黑白线稿图片,单边分辨率小于5000且大于512(分辨率过小会导致效果受损),转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` + + // 为生成结果图添加标识的开关,默认为1。 + // 1:添加标识。 + // 0:不添加标识。 + // 其他数值:默认按1处理。 + // 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。 + LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"` + + // 标识内容设置。 + // 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。 + LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"` + + // 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。 + RspImgType *string `json:"RspImgType,omitnil,omitempty" name:"RspImgType"` +} + +func (r *SketchToImageRequest) 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 *SketchToImageRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Prompt") + delete(f, "InputImage") + delete(f, "InputUrl") + delete(f, "LogoAdd") + delete(f, "LogoParam") + delete(f, "RspImgType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SketchToImageRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SketchToImageResponseParams struct { + // 根据入参 RspImgType 填入不同,返回不同的内容。 + // 如果传入 base64 则返回生成图 Base64 编码。 + // 如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。 + ResultImage *string `json:"ResultImage,omitnil,omitempty" name:"ResultImage"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type SketchToImageResponse struct { + *tchttp.BaseResponse + Response *SketchToImageResponseParams `json:"Response"` +} + +func (r *SketchToImageResponse) 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 *SketchToImageResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type SubmitDrawPortraitJobRequestParams struct { // 写真模型 ID。 diff --git a/tencentcloud/ame/go.mod b/tencentcloud/ame/go.mod index 81ba3dd528..f7eb90b91b 100644 --- a/tencentcloud/ame/go.mod +++ b/tencentcloud/ame/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ams/go.mod b/tencentcloud/ams/go.mod index 47b74d706c..02ec3f7aa5 100644 --- a/tencentcloud/ams/go.mod +++ b/tencentcloud/ams/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/anicloud/go.mod b/tencentcloud/anicloud/go.mod index 8853c47b99..7d67bc9ac7 100644 --- a/tencentcloud/anicloud/go.mod +++ b/tencentcloud/anicloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/anicloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/antiddos/go.mod b/tencentcloud/antiddos/go.mod index 38829bf5c2..80490e8a10 100644 --- a/tencentcloud/antiddos/go.mod +++ b/tencentcloud/antiddos/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/apcas/go.mod b/tencentcloud/apcas/go.mod index 0eb0dbedad..043d10fd95 100644 --- a/tencentcloud/apcas/go.mod +++ b/tencentcloud/apcas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ape/go.mod b/tencentcloud/ape/go.mod index a74dc324d1..333e00d9b9 100644 --- a/tencentcloud/ape/go.mod +++ b/tencentcloud/ape/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/api/go.mod b/tencentcloud/api/go.mod index 0e7098b741..2e7761eda7 100644 --- a/tencentcloud/api/go.mod +++ b/tencentcloud/api/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/apigateway/go.mod b/tencentcloud/apigateway/go.mod index cc8a97bfcd..2afca478f2 100644 --- a/tencentcloud/apigateway/go.mod +++ b/tencentcloud/apigateway/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/apm/go.mod b/tencentcloud/apm/go.mod index ee720c34ed..35e61e6cf6 100644 --- a/tencentcloud/apm/go.mod +++ b/tencentcloud/apm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/as/go.mod b/tencentcloud/as/go.mod index f3b97ded3e..d74e62cfe7 100644 --- a/tencentcloud/as/go.mod +++ b/tencentcloud/as/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/asr/go.mod b/tencentcloud/asr/go.mod index 00df2a7fb5..e2f2d594da 100644 --- a/tencentcloud/asr/go.mod +++ b/tencentcloud/asr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/asw/go.mod b/tencentcloud/asw/go.mod index 5e800e5a55..ae29c14c81 100644 --- a/tencentcloud/asw/go.mod +++ b/tencentcloud/asw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ba/go.mod b/tencentcloud/ba/go.mod index b1442cf039..06a37cde26 100644 --- a/tencentcloud/ba/go.mod +++ b/tencentcloud/ba/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/batch/go.mod b/tencentcloud/batch/go.mod index 75f312e59e..4e2c00e56c 100644 --- a/tencentcloud/batch/go.mod +++ b/tencentcloud/batch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bda/go.mod b/tencentcloud/bda/go.mod index 8da2706831..7dd9e02af9 100644 --- a/tencentcloud/bda/go.mod +++ b/tencentcloud/bda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bi/go.mod b/tencentcloud/bi/go.mod index 30836de552..997d69f95f 100644 --- a/tencentcloud/bi/go.mod +++ b/tencentcloud/bi/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/billing/go.mod b/tencentcloud/billing/go.mod index 7f610e565f..3a8f3858e1 100644 --- a/tencentcloud/billing/go.mod +++ b/tencentcloud/billing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bizlive/go.mod b/tencentcloud/bizlive/go.mod index 47a929e10d..77682dacd7 100644 --- a/tencentcloud/bizlive/go.mod +++ b/tencentcloud/bizlive/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bm/go.mod b/tencentcloud/bm/go.mod index 6f8f411068..b5a67ecb62 100644 --- a/tencentcloud/bm/go.mod +++ b/tencentcloud/bm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bma/go.mod b/tencentcloud/bma/go.mod index e2a124c13e..e4e06cacaf 100644 --- a/tencentcloud/bma/go.mod +++ b/tencentcloud/bma/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bma go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bmeip/go.mod b/tencentcloud/bmeip/go.mod index d66bb0a595..6712777d75 100644 --- a/tencentcloud/bmeip/go.mod +++ b/tencentcloud/bmeip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bmlb/go.mod b/tencentcloud/bmlb/go.mod index ace1f792ad..2073fe68fd 100644 --- a/tencentcloud/bmlb/go.mod +++ b/tencentcloud/bmlb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bmvpc/go.mod b/tencentcloud/bmvpc/go.mod index fe8084bcd0..7d1544b74c 100644 --- a/tencentcloud/bmvpc/go.mod +++ b/tencentcloud/bmvpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bpaas/go.mod b/tencentcloud/bpaas/go.mod index 5e2af60e4a..401c5e9739 100644 --- a/tencentcloud/bpaas/go.mod +++ b/tencentcloud/bpaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bpaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bri/go.mod b/tencentcloud/bri/go.mod index 8fb251b76c..db9cab7267 100644 --- a/tencentcloud/bri/go.mod +++ b/tencentcloud/bri/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/bsca/go.mod b/tencentcloud/bsca/go.mod index c67c1b0a35..e65bfc614a 100644 --- a/tencentcloud/bsca/go.mod +++ b/tencentcloud/bsca/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bsca go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/btoe/go.mod b/tencentcloud/btoe/go.mod index eb6fb80a2c..6bd6b9175e 100644 --- a/tencentcloud/btoe/go.mod +++ b/tencentcloud/btoe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cam/go.mod b/tencentcloud/cam/go.mod index e7af6cf783..78ddd150a1 100644 --- a/tencentcloud/cam/go.mod +++ b/tencentcloud/cam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/captcha/go.mod b/tencentcloud/captcha/go.mod index 11e5727f87..2fed121cb7 100644 --- a/tencentcloud/captcha/go.mod +++ b/tencentcloud/captcha/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/car/go.mod b/tencentcloud/car/go.mod index 9fa17a732d..e3892750a0 100644 --- a/tencentcloud/car/go.mod +++ b/tencentcloud/car/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/car go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cat/go.mod b/tencentcloud/cat/go.mod index 81ecea7493..34d317320a 100644 --- a/tencentcloud/cat/go.mod +++ b/tencentcloud/cat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cbs/go.mod b/tencentcloud/cbs/go.mod index a352d097b9..c5dfbb2c23 100644 --- a/tencentcloud/cbs/go.mod +++ b/tencentcloud/cbs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ccc/go.mod b/tencentcloud/ccc/go.mod index 4d0100edef..8b0a07a4d6 100644 --- a/tencentcloud/ccc/go.mod +++ b/tencentcloud/ccc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cdb/go.mod b/tencentcloud/cdb/go.mod index 2414828b9b..6863a01ae1 100644 --- a/tencentcloud/cdb/go.mod +++ b/tencentcloud/cdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cdc/go.mod b/tencentcloud/cdc/go.mod index 0825569736..d2ddbc3848 100644 --- a/tencentcloud/cdc/go.mod +++ b/tencentcloud/cdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cdn/go.mod b/tencentcloud/cdn/go.mod index 0527f88a29..a631384dd5 100644 --- a/tencentcloud/cdn/go.mod +++ b/tencentcloud/cdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cds/go.mod b/tencentcloud/cds/go.mod index 83bf72e526..4573efdc9b 100644 --- a/tencentcloud/cds/go.mod +++ b/tencentcloud/cds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cdwch/go.mod b/tencentcloud/cdwch/go.mod index 57ca9a48f6..598e7b3285 100644 --- a/tencentcloud/cdwch/go.mod +++ b/tencentcloud/cdwch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cdwdoris/go.mod b/tencentcloud/cdwdoris/go.mod index 2405b003bf..de30d2808d 100644 --- a/tencentcloud/cdwdoris/go.mod +++ b/tencentcloud/cdwdoris/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwdoris go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cdwpg/go.mod b/tencentcloud/cdwpg/go.mod index ade8980a6b..3a06658ca7 100644 --- a/tencentcloud/cdwpg/go.mod +++ b/tencentcloud/cdwpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cdz/go.mod b/tencentcloud/cdz/go.mod index 6b54e3c642..aaabcaad22 100644 --- a/tencentcloud/cdz/go.mod +++ b/tencentcloud/cdz/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdz go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cfg/go.mod b/tencentcloud/cfg/go.mod index 431801eb06..9a1b4e9970 100644 --- a/tencentcloud/cfg/go.mod +++ b/tencentcloud/cfg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cfg/v20210820/models.go b/tencentcloud/cfg/v20210820/models.go index 4f115672f8..0d97c6767e 100644 --- a/tencentcloud/cfg/v20210820/models.go +++ b/tencentcloud/cfg/v20210820/models.go @@ -1650,6 +1650,10 @@ type Task struct { // 问题和改进 // 注意:此字段可能返回 null,表示取不到有效值。 TaskIssue *string `json:"TaskIssue,omitnil,omitempty" name:"TaskIssue"` + + // region信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + TaskRegionName *string `json:"TaskRegionName,omitnil,omitempty" name:"TaskRegionName"` } type TaskConfig struct { diff --git a/tencentcloud/cfs/go.mod b/tencentcloud/cfs/go.mod index 4c79c5276d..3bb2abf9c1 100644 --- a/tencentcloud/cfs/go.mod +++ b/tencentcloud/cfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cfw/go.mod b/tencentcloud/cfw/go.mod index 9379429488..ed941315ca 100644 --- a/tencentcloud/cfw/go.mod +++ b/tencentcloud/cfw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/chdfs/go.mod b/tencentcloud/chdfs/go.mod index a7eecf473a..711e61a8c9 100644 --- a/tencentcloud/chdfs/go.mod +++ b/tencentcloud/chdfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ciam/go.mod b/tencentcloud/ciam/go.mod index 2c9fc17bb5..732ff1552c 100644 --- a/tencentcloud/ciam/go.mod +++ b/tencentcloud/ciam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ciam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cii/go.mod b/tencentcloud/cii/go.mod index bc99d8b61b..19cdee444a 100644 --- a/tencentcloud/cii/go.mod +++ b/tencentcloud/cii/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cim/go.mod b/tencentcloud/cim/go.mod index 61a592492e..6ac6359b55 100644 --- a/tencentcloud/cim/go.mod +++ b/tencentcloud/cim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cis/go.mod b/tencentcloud/cis/go.mod index 2f7e3ccc76..500f5f531a 100644 --- a/tencentcloud/cis/go.mod +++ b/tencentcloud/cis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ckafka/go.mod b/tencentcloud/ckafka/go.mod index d19b548d6e..7beabf6624 100644 --- a/tencentcloud/ckafka/go.mod +++ b/tencentcloud/ckafka/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ckafka/v20190819/models.go b/tencentcloud/ckafka/v20190819/models.go index ee8f0fe626..bf56e4ddb6 100644 --- a/tencentcloud/ckafka/v20190819/models.go +++ b/tencentcloud/ckafka/v20190819/models.go @@ -9125,6 +9125,8 @@ type ModifyInstanceAttributesRequestParams struct { PublicNetwork *int64 `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"` // 动态硬盘扩容策略配置 + // + // Deprecated: DynamicDiskConfig is deprecated. DynamicDiskConfig *DynamicDiskConfig `json:"DynamicDiskConfig,omitnil,omitempty" name:"DynamicDiskConfig"` // 实例级别单条消息大小(单位byte) @@ -9378,7 +9380,7 @@ type ModifyRoutineMaintenanceTaskRequestParams struct { // 自动化运维类别 MaintenanceType *string `json:"MaintenanceType,omitnil,omitempty" name:"MaintenanceType"` - // 自动化运维子类别 + // INSTANCE_STORAGE_CAPACITY(磁盘自动扩容)/MESSAGE_RETENTION_PERIOD(磁盘动态消息保留策略) MaintenanceSubtype *string `json:"MaintenanceSubtype,omitnil,omitempty" name:"MaintenanceSubtype"` // 主题名称 @@ -9415,7 +9417,7 @@ type ModifyRoutineMaintenanceTaskRequest struct { // 自动化运维类别 MaintenanceType *string `json:"MaintenanceType,omitnil,omitempty" name:"MaintenanceType"` - // 自动化运维子类别 + // INSTANCE_STORAGE_CAPACITY(磁盘自动扩容)/MESSAGE_RETENTION_PERIOD(磁盘动态消息保留策略) MaintenanceSubtype *string `json:"MaintenanceSubtype,omitnil,omitempty" name:"MaintenanceSubtype"` // 主题名称 diff --git a/tencentcloud/clb/go.mod b/tencentcloud/clb/go.mod index 74abed3bb1..34c141d98c 100644 --- a/tencentcloud/clb/go.mod +++ b/tencentcloud/clb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cloudapp/go.mod b/tencentcloud/cloudapp/go.mod index f1410d76d3..0d9e784a33 100644 --- a/tencentcloud/cloudapp/go.mod +++ b/tencentcloud/cloudapp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudapp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cloudaudit/go.mod b/tencentcloud/cloudaudit/go.mod index a9e8448782..01b775f409 100644 --- a/tencentcloud/cloudaudit/go.mod +++ b/tencentcloud/cloudaudit/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cloudhsm/go.mod b/tencentcloud/cloudhsm/go.mod index a5b40a71f5..2f54f1d7e3 100644 --- a/tencentcloud/cloudhsm/go.mod +++ b/tencentcloud/cloudhsm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cloudstudio/go.mod b/tencentcloud/cloudstudio/go.mod index a22ffc92e7..4818e984a6 100644 --- a/tencentcloud/cloudstudio/go.mod +++ b/tencentcloud/cloudstudio/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudstudio go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cls/go.mod b/tencentcloud/cls/go.mod index af6599998f..337e9f61b2 100644 --- a/tencentcloud/cls/go.mod +++ b/tencentcloud/cls/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cme/go.mod b/tencentcloud/cme/go.mod index 66acf61158..d28d9c9b44 100644 --- a/tencentcloud/cme/go.mod +++ b/tencentcloud/cme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cmq/go.mod b/tencentcloud/cmq/go.mod index de4ee0407f..fdbcebce8d 100644 --- a/tencentcloud/cmq/go.mod +++ b/tencentcloud/cmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cms/go.mod b/tencentcloud/cms/go.mod index 2afd7f747b..f0fec56697 100644 --- a/tencentcloud/cms/go.mod +++ b/tencentcloud/cms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/common/http/request.go b/tencentcloud/common/http/request.go index 3553d5950f..32410e77fd 100644 --- a/tencentcloud/common/http/request.go +++ b/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.999" + params["RequestClient"] = "SDK_GO_1.0.1000" if requestClient != "" { params["RequestClient"] += ": " + requestClient } diff --git a/tencentcloud/config/go.mod b/tencentcloud/config/go.mod index 2e1a042bcf..b9f230a262 100644 --- a/tencentcloud/config/go.mod +++ b/tencentcloud/config/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/controlcenter/go.mod b/tencentcloud/controlcenter/go.mod index 747e326aad..361024fffb 100644 --- a/tencentcloud/controlcenter/go.mod +++ b/tencentcloud/controlcenter/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cpdp/go.mod b/tencentcloud/cpdp/go.mod index ed0c143130..30f91e6cc4 100644 --- a/tencentcloud/cpdp/go.mod +++ b/tencentcloud/cpdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cr/go.mod b/tencentcloud/cr/go.mod index 0591b80ff9..85b035229d 100644 --- a/tencentcloud/cr/go.mod +++ b/tencentcloud/cr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/csip/go.mod b/tencentcloud/csip/go.mod index a9f5a55a56..95a477228f 100644 --- a/tencentcloud/csip/go.mod +++ b/tencentcloud/csip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/csxg/go.mod b/tencentcloud/csxg/go.mod index d204187eb3..7f1ca9ea72 100644 --- a/tencentcloud/csxg/go.mod +++ b/tencentcloud/csxg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csxg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cvm/go.mod b/tencentcloud/cvm/go.mod index 49ebbad14c..964542f785 100644 --- a/tencentcloud/cvm/go.mod +++ b/tencentcloud/cvm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cwp/go.mod b/tencentcloud/cwp/go.mod index c887187665..e129fe4c22 100644 --- a/tencentcloud/cwp/go.mod +++ b/tencentcloud/cwp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cws/go.mod b/tencentcloud/cws/go.mod index b2fc303463..a9b2c75a0f 100644 --- a/tencentcloud/cws/go.mod +++ b/tencentcloud/cws/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/cynosdb/go.mod b/tencentcloud/cynosdb/go.mod index 387d9e255c..233b19adad 100644 --- a/tencentcloud/cynosdb/go.mod +++ b/tencentcloud/cynosdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dasb/go.mod b/tencentcloud/dasb/go.mod index 87a4a1965c..921d440c62 100644 --- a/tencentcloud/dasb/go.mod +++ b/tencentcloud/dasb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dasb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dataintegration/go.mod b/tencentcloud/dataintegration/go.mod index a1c7edaa0a..de57bc9bef 100644 --- a/tencentcloud/dataintegration/go.mod +++ b/tencentcloud/dataintegration/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dataintegration go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dayu/go.mod b/tencentcloud/dayu/go.mod index aafd2e984c..07289ba4f2 100644 --- a/tencentcloud/dayu/go.mod +++ b/tencentcloud/dayu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dbbrain/go.mod b/tencentcloud/dbbrain/go.mod index 139f0368ea..85156b4741 100644 --- a/tencentcloud/dbbrain/go.mod +++ b/tencentcloud/dbbrain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dbdc/go.mod b/tencentcloud/dbdc/go.mod index 3482d4fcff..30661f0f2a 100644 --- a/tencentcloud/dbdc/go.mod +++ b/tencentcloud/dbdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dc/go.mod b/tencentcloud/dc/go.mod index 88aaf0ad3e..d46cb2e5c0 100644 --- a/tencentcloud/dc/go.mod +++ b/tencentcloud/dc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dcdb/go.mod b/tencentcloud/dcdb/go.mod index c057931dc7..c499e03623 100644 --- a/tencentcloud/dcdb/go.mod +++ b/tencentcloud/dcdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dcdb/v20180411/client.go b/tencentcloud/dcdb/v20180411/client.go index 32055240ca..d021ad86c5 100644 --- a/tencentcloud/dcdb/v20180411/client.go +++ b/tencentcloud/dcdb/v20180411/client.go @@ -1045,6 +1045,67 @@ func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *Descr return } +func NewDescribeBackupConfigsRequest() (request *DescribeBackupConfigsRequest) { + request = &DescribeBackupConfigsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("dcdb", APIVersion, "DescribeBackupConfigs") + + + return +} + +func NewDescribeBackupConfigsResponse() (response *DescribeBackupConfigsResponse) { + response = &DescribeBackupConfigsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeBackupConfigs +// 本接口(DescribeBackupConfigs)用于查询数据库备份配置信息。 +// +// 可能返回的错误码: +// INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETUSERLISTFAILED = "InternalError.GetUserListFailed" +// INVALIDPARAMETER_GENERICPARAMETERERROR = "InvalidParameter.GenericParameterError" +// RESOURCEUNAVAILABLE_INSTANCEALREADYDELETED = "ResourceUnavailable.InstanceAlreadyDeleted" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeBackupConfigs(request *DescribeBackupConfigsRequest) (response *DescribeBackupConfigsResponse, err error) { + return c.DescribeBackupConfigsWithContext(context.Background(), request) +} + +// DescribeBackupConfigs +// 本接口(DescribeBackupConfigs)用于查询数据库备份配置信息。 +// +// 可能返回的错误码: +// INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETUSERLISTFAILED = "InternalError.GetUserListFailed" +// INVALIDPARAMETER_GENERICPARAMETERERROR = "InvalidParameter.GenericParameterError" +// RESOURCEUNAVAILABLE_INSTANCEALREADYDELETED = "ResourceUnavailable.InstanceAlreadyDeleted" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeBackupConfigsWithContext(ctx context.Context, request *DescribeBackupConfigsRequest) (response *DescribeBackupConfigsResponse, err error) { + if request == nil { + request = NewDescribeBackupConfigsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeBackupConfigs require credential") + } + + request.SetContext(ctx) + + response = NewDescribeBackupConfigsResponse() + err = c.Send(request, response) + return +} + func NewDescribeBackupFilesRequest() (request *DescribeBackupFilesRequest) { request = &DescribeBackupFilesRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -3645,6 +3706,63 @@ func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request return } +func NewModifyBackupConfigsRequest() (request *ModifyBackupConfigsRequest) { + request = &ModifyBackupConfigsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("dcdb", APIVersion, "ModifyBackupConfigs") + + + return +} + +func NewModifyBackupConfigsResponse() (response *ModifyBackupConfigsResponse) { + response = &ModifyBackupConfigsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyBackupConfigs +// 本接口(ModifyBackupConfigs)用于修改数据库备份配置信息。 +// +// +// +// 1. 修改数据库超期备份配置,目前按年、按月、按日只支持一种,存在互斥关系,如当前策略按年备份,如果传入按月备份策略将会覆盖当前的按年备份策略,务必注意。 +// +// 可能返回的错误码: +// FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" +func (c *Client) ModifyBackupConfigs(request *ModifyBackupConfigsRequest) (response *ModifyBackupConfigsResponse, err error) { + return c.ModifyBackupConfigsWithContext(context.Background(), request) +} + +// ModifyBackupConfigs +// 本接口(ModifyBackupConfigs)用于修改数据库备份配置信息。 +// +// +// +// 1. 修改数据库超期备份配置,目前按年、按月、按日只支持一种,存在互斥关系,如当前策略按年备份,如果传入按月备份策略将会覆盖当前的按年备份策略,务必注意。 +// +// 可能返回的错误码: +// FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" +func (c *Client) ModifyBackupConfigsWithContext(ctx context.Context, request *ModifyBackupConfigsRequest) (response *ModifyBackupConfigsResponse, err error) { + if request == nil { + request = NewModifyBackupConfigsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyBackupConfigs require credential") + } + + request.SetContext(ctx) + + response = NewModifyBackupConfigsResponse() + err = c.Send(request, response) + return +} + func NewModifyDBEncryptAttributesRequest() (request *ModifyDBEncryptAttributesRequest) { request = &ModifyDBEncryptAttributesRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/dcdb/v20180411/models.go b/tencentcloud/dcdb/v20180411/models.go index 3006b24e62..c117ad5ed5 100644 --- a/tencentcloud/dcdb/v20180411/models.go +++ b/tencentcloud/dcdb/v20180411/models.go @@ -167,6 +167,39 @@ func (r *AssociateSecurityGroupsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type BackupConfig struct { + // 备份策略是否启用。 + EnableBackupPolicy *bool `json:"EnableBackupPolicy,omitnil,omitempty" name:"EnableBackupPolicy"` + + // 超期保留开始日期,早于开始日期的超期备份不保留,格式:yyyy-mm-dd。 + BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"` + + // 超期备份保留时长,超出保留时间的超期备份将被删除,可填写1-3650整数。 + MaxRetentionDays *int64 `json:"MaxRetentionDays,omitnil,omitempty" name:"MaxRetentionDays"` + + // 备份模式,可选择按年月周模式保存 + // * 按年:annually + // * 按月:monthly + // * 按周:weekly + Frequency *string `json:"Frequency,omitnil,omitempty" name:"Frequency"` + + // Frequency等于weekly时生效。 + // 表示保留特定工作日备份。可选择周一到周日,支持多选,取星期英文: + // * 星期一 :Monday + // * 星期二 :Tuesday + // * 星期三:Wednesday + // * 星期四:Thursday + // * 星期五:Friday + // * 星期六:Saturday + // * 星期日:Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 保留备份个数,Frequency等于monthly或weekly时生效。 + // 备份模式选择按月时,可填写1-28整数; + // 备份模式选择年时,可填写1-336整数。 + BackupCount *int64 `json:"BackupCount,omitnil,omitempty" name:"BackupCount"` +} + type BriefNodeInfo struct { // DB节点ID NodeId *string `json:"NodeId,omitnil,omitempty" name:"NodeId"` @@ -2077,6 +2110,81 @@ func (r *DescribeAccountsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeBackupConfigsRequestParams struct { + // 实例 ID,格式如:tdsqlshard-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeBackupConfigsRequest struct { + *tchttp.BaseRequest + + // 实例 ID,格式如:tdsqlshard-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeBackupConfigsRequest) 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 *DescribeBackupConfigsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBackupConfigsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeBackupConfigsResponseParams struct { + // 实例 ID。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 常规备份存储时长,范围[1, 3650]。 + Days *uint64 `json:"Days,omitnil,omitempty" name:"Days"` + + // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00。 + StartBackupTime *string `json:"StartBackupTime,omitnil,omitempty" name:"StartBackupTime"` + + // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:59。 + EndBackupTime *string `json:"EndBackupTime,omitnil,omitempty" name:"EndBackupTime"` + + // 执行备份周期,枚举值:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 沉降到归档存储时长,-1表示关闭归档设置。 + ArchiveDays *int64 `json:"ArchiveDays,omitnil,omitempty" name:"ArchiveDays"` + + // 超期备份配置。 + BackupConfigSet []*BackupConfig `json:"BackupConfigSet,omitnil,omitempty" name:"BackupConfigSet"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeBackupConfigsResponse struct { + *tchttp.BaseResponse + Response *DescribeBackupConfigsResponseParams `json:"Response"` +} + +func (r *DescribeBackupConfigsResponse) 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 *DescribeBackupConfigsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeBackupFilesRequestParams struct { // 按实例ID查询 @@ -5562,6 +5670,102 @@ func (r *ModifyAccountPrivilegesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type ModifyBackupConfigsRequestParams struct { + // 实例 ID,格式如:tdsqlshard-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 常规备份存储时长,范围[1, 3650]。 + Days *uint64 `json:"Days,omitnil,omitempty" name:"Days"` + + // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00。 + StartBackupTime *string `json:"StartBackupTime,omitnil,omitempty" name:"StartBackupTime"` + + // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:59。 + EndBackupTime *string `json:"EndBackupTime,omitnil,omitempty" name:"EndBackupTime"` + + // 执行备份周期,枚举值:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 沉降到归档存储时长,-1表示关闭归档设置。 + ArchiveDays *int64 `json:"ArchiveDays,omitnil,omitempty" name:"ArchiveDays"` + + // 超期备份配置。 + BackupConfigSet []*NewBackupConfig `json:"BackupConfigSet,omitnil,omitempty" name:"BackupConfigSet"` +} + +type ModifyBackupConfigsRequest struct { + *tchttp.BaseRequest + + // 实例 ID,格式如:tdsqlshard-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 常规备份存储时长,范围[1, 3650]。 + Days *uint64 `json:"Days,omitnil,omitempty" name:"Days"` + + // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00。 + StartBackupTime *string `json:"StartBackupTime,omitnil,omitempty" name:"StartBackupTime"` + + // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:59。 + EndBackupTime *string `json:"EndBackupTime,omitnil,omitempty" name:"EndBackupTime"` + + // 执行备份周期,枚举值:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 沉降到归档存储时长,-1表示关闭归档设置。 + ArchiveDays *int64 `json:"ArchiveDays,omitnil,omitempty" name:"ArchiveDays"` + + // 超期备份配置。 + BackupConfigSet []*NewBackupConfig `json:"BackupConfigSet,omitnil,omitempty" name:"BackupConfigSet"` +} + +func (r *ModifyBackupConfigsRequest) 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 *ModifyBackupConfigsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "Days") + delete(f, "StartBackupTime") + delete(f, "EndBackupTime") + delete(f, "WeekDays") + delete(f, "ArchiveDays") + delete(f, "BackupConfigSet") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBackupConfigsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyBackupConfigsResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyBackupConfigsResponse struct { + *tchttp.BaseResponse + Response *ModifyBackupConfigsResponseParams `json:"Response"` +} + +func (r *ModifyBackupConfigsResponse) 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 *ModifyBackupConfigsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type ModifyDBEncryptAttributesRequestParams struct { // 实例Id,形如:tdsqlshard-ow728lmc。 @@ -6239,6 +6443,39 @@ func (r *ModifyRealServerAccessStrategyResponse) FromJsonString(s string) error return json.Unmarshal([]byte(s), &r) } +type NewBackupConfig struct { + // 备份策略是否启用。 + EnableBackupPolicy *bool `json:"EnableBackupPolicy,omitnil,omitempty" name:"EnableBackupPolicy"` + + // 超期保留开始日期,早于开始日期的超期备份不保留,格式:yyyy-mm-dd。 + BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"` + + // 超期备份保留时长,超出保留时间的超期备份将被删除,可填写1-3650整数。 + MaxRetentionDays *int64 `json:"MaxRetentionDays,omitnil,omitempty" name:"MaxRetentionDays"` + + // 备份模式,可选择按年月周模式保存 + // * 按年:annually + // * 按月:monthly + // * 按周:weekly + Frequency *string `json:"Frequency,omitnil,omitempty" name:"Frequency"` + + // Frequency等于weekly时生效。 + // 表示保留特定工作日备份。可选择周一到周日,支持多选,取星期英文: + // * 星期一 :Monday + // * 星期二 :Tuesday + // * 星期三:Wednesday + // * 星期四:Thursday + // * 星期五:Friday + // * 星期六:Saturday + // * 星期日:Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 保留备份个数,Frequency等于monthly或weekly时生效。 + // 备份模式选择按月时,可填写1-28整数; + // 备份模式选择年时,可填写1-336整数。 + BackupCount *int64 `json:"BackupCount,omitnil,omitempty" name:"BackupCount"` +} + type NodeInfo struct { // DB节点ID NodeId *string `json:"NodeId,omitnil,omitempty" name:"NodeId"` diff --git a/tencentcloud/dlc/go.mod b/tencentcloud/dlc/go.mod index e8f5811f87..c1fb4881eb 100644 --- a/tencentcloud/dlc/go.mod +++ b/tencentcloud/dlc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dnspod/go.mod b/tencentcloud/dnspod/go.mod index 95f65b7b0a..d6685507b2 100644 --- a/tencentcloud/dnspod/go.mod +++ b/tencentcloud/dnspod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dnspod/v20210323/client.go b/tencentcloud/dnspod/v20210323/client.go index eb766413bb..f718aa2518 100644 --- a/tencentcloud/dnspod/v20210323/client.go +++ b/tencentcloud/dnspod/v20210323/client.go @@ -2780,6 +2780,69 @@ func (c *Client) DescribeDomainShareInfoWithContext(ctx context.Context, request return } +func NewDescribeDomainShareUserListRequest() (request *DescribeDomainShareUserListRequest) { + request = &DescribeDomainShareUserListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("dnspod", APIVersion, "DescribeDomainShareUserList") + + + return +} + +func NewDescribeDomainShareUserListResponse() (response *DescribeDomainShareUserListResponse) { + response = &DescribeDomainShareUserListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeDomainShareUserList +// 获取指定域名的已共享列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" +// INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" +// INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" +// INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" +// INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" +// OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" +// OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" +func (c *Client) DescribeDomainShareUserList(request *DescribeDomainShareUserListRequest) (response *DescribeDomainShareUserListResponse, err error) { + return c.DescribeDomainShareUserListWithContext(context.Background(), request) +} + +// DescribeDomainShareUserList +// 获取指定域名的已共享列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" +// INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" +// INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" +// INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" +// INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" +// OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" +// OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" +func (c *Client) DescribeDomainShareUserListWithContext(ctx context.Context, request *DescribeDomainShareUserListRequest) (response *DescribeDomainShareUserListResponse, err error) { + if request == nil { + request = NewDescribeDomainShareUserListRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeDomainShareUserList require credential") + } + + request.SetContext(ctx) + + response = NewDescribeDomainShareUserListResponse() + err = c.Send(request, response) + return +} + func NewDescribeDomainWhoisRequest() (request *DescribeDomainWhoisRequest) { request = &DescribeDomainWhoisRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/dnspod/v20210323/models.go b/tencentcloud/dnspod/v20210323/models.go index 59c77d2c56..06066b1066 100644 --- a/tencentcloud/dnspod/v20210323/models.go +++ b/tencentcloud/dnspod/v20210323/models.go @@ -2927,6 +2927,70 @@ func (r *DescribeDomainShareInfoResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeDomainShareUserListRequestParams struct { + // 域名 + Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` + + // 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId + DomainId *uint64 `json:"DomainId,omitnil,omitempty" name:"DomainId"` +} + +type DescribeDomainShareUserListRequest struct { + *tchttp.BaseRequest + + // 域名 + Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` + + // 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId + DomainId *uint64 `json:"DomainId,omitnil,omitempty" name:"DomainId"` +} + +func (r *DescribeDomainShareUserListRequest) 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 *DescribeDomainShareUserListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Domain") + delete(f, "DomainId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDomainShareUserListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeDomainShareUserListResponseParams struct { + // 域名套餐信息 + DomainShareList []*DomainShareUserInfo `json:"DomainShareList,omitnil,omitempty" name:"DomainShareList"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeDomainShareUserListResponse struct { + *tchttp.BaseResponse + Response *DescribeDomainShareUserListResponseParams `json:"Response"` +} + +func (r *DescribeDomainShareUserListResponse) 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 *DescribeDomainShareUserListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeDomainWhoisRequestParams struct { // 域名 @@ -4761,6 +4825,31 @@ type DomainShareInfo struct { Status *string `json:"Status,omitnil,omitempty" name:"Status"` } +type DomainShareUserInfo struct { + // 共享记录ID + DomainShareId *uint64 `json:"DomainShareId,omitnil,omitempty" name:"DomainShareId"` + + // 共享模式。r-只读;w-可写;rw-可读写。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` + + // 共享到的用户昵称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Nickname *string `json:"Nickname,omitnil,omitempty" name:"Nickname"` + + // 共享到的用户UIN + // 注意:此字段可能返回 null,表示取不到有效值。 + QCloudUIN *string `json:"QCloudUIN,omitnil,omitempty" name:"QCloudUIN"` + + // 共享状态。enabled-有效;pause-无效。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *string `json:"Status,omitnil,omitempty" name:"Status"` + + // 共享的子域名 + // 注意:此字段可能返回 null,表示取不到有效值。 + SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"` +} + // Predefined struct for user type DownloadSnapshotRequestParams struct { // 域名 diff --git a/tencentcloud/domain/go.mod b/tencentcloud/domain/go.mod index 1e4998f051..bc247e334d 100644 --- a/tencentcloud/domain/go.mod +++ b/tencentcloud/domain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/drm/go.mod b/tencentcloud/drm/go.mod index 0d85118bd1..584d6c0eb6 100644 --- a/tencentcloud/drm/go.mod +++ b/tencentcloud/drm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ds/go.mod b/tencentcloud/ds/go.mod index 493b931e9f..e7f8d2a810 100644 --- a/tencentcloud/ds/go.mod +++ b/tencentcloud/ds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dsgc/go.mod b/tencentcloud/dsgc/go.mod index 2d863bde9f..e085bbab6a 100644 --- a/tencentcloud/dsgc/go.mod +++ b/tencentcloud/dsgc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dsgc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dtf/go.mod b/tencentcloud/dtf/go.mod index 4f66149530..b58251be17 100644 --- a/tencentcloud/dtf/go.mod +++ b/tencentcloud/dtf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/dts/go.mod b/tencentcloud/dts/go.mod index ed29f8a5f2..6f8b0e0113 100644 --- a/tencentcloud/dts/go.mod +++ b/tencentcloud/dts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/eb/go.mod b/tencentcloud/eb/go.mod index 442b11458b..126f022974 100644 --- a/tencentcloud/eb/go.mod +++ b/tencentcloud/eb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ecc/go.mod b/tencentcloud/ecc/go.mod index 56aad2eb23..4e6fdcb376 100644 --- a/tencentcloud/ecc/go.mod +++ b/tencentcloud/ecc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ecdn/go.mod b/tencentcloud/ecdn/go.mod index 37beed157b..fe2164212a 100644 --- a/tencentcloud/ecdn/go.mod +++ b/tencentcloud/ecdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ecm/go.mod b/tencentcloud/ecm/go.mod index 539095edca..26cf198600 100644 --- a/tencentcloud/ecm/go.mod +++ b/tencentcloud/ecm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/eiam/go.mod b/tencentcloud/eiam/go.mod index 622d57e2ba..239872d441 100644 --- a/tencentcloud/eiam/go.mod +++ b/tencentcloud/eiam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/eis/go.mod b/tencentcloud/eis/go.mod index e3decef225..5c7ff5aee6 100644 --- a/tencentcloud/eis/go.mod +++ b/tencentcloud/eis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/emr/go.mod b/tencentcloud/emr/go.mod index 79201fb57a..66d3f73e5f 100644 --- a/tencentcloud/emr/go.mod +++ b/tencentcloud/emr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/emr/v20190103/client.go b/tencentcloud/emr/v20190103/client.go index 72e2422c4b..c0163f714c 100644 --- a/tencentcloud/emr/v20190103/client.go +++ b/tencentcloud/emr/v20190103/client.go @@ -491,6 +491,99 @@ func (c *Client) CreateInstanceWithContext(ctx context.Context, request *CreateI return } +func NewCreateSLInstanceRequest() (request *CreateSLInstanceRequest) { + request = &CreateSLInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("emr", APIVersion, "CreateSLInstance") + + + return +} + +func NewCreateSLInstanceResponse() (response *CreateSLInstanceResponse) { + response = &CreateSLInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateSLInstance +// 本接口(CreateSLInstance)用于创建 Lite HBase 实例 +// +// - 接口调用成功,会创建Lite HBase实例,创建实例请求成功会返回创建实例的 InstaceId 和请求的 RequestID。 +// +// - 接口为异步接口,接口返回时操作并未立即完成,实例操作结果可以通过调用 DescribeInstancesList 查看当前实例的 StatusDesc 状态。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" +// INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" +// INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType" +// INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" +// INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" +// INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" +// INVALIDPARAMETER_INVALIDUINNUM = "InvalidParameter.InvalidUinNum" +// RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) CreateSLInstance(request *CreateSLInstanceRequest) (response *CreateSLInstanceResponse, err error) { + return c.CreateSLInstanceWithContext(context.Background(), request) +} + +// CreateSLInstance +// 本接口(CreateSLInstance)用于创建 Lite HBase 实例 +// +// - 接口调用成功,会创建Lite HBase实例,创建实例请求成功会返回创建实例的 InstaceId 和请求的 RequestID。 +// +// - 接口为异步接口,接口返回时操作并未立即完成,实例操作结果可以通过调用 DescribeInstancesList 查看当前实例的 StatusDesc 状态。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" +// INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" +// INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType" +// INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" +// INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" +// INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" +// INVALIDPARAMETER_INVALIDUINNUM = "InvalidParameter.InvalidUinNum" +// RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) CreateSLInstanceWithContext(ctx context.Context, request *CreateSLInstanceRequest) (response *CreateSLInstanceResponse, err error) { + if request == nil { + request = NewCreateSLInstanceRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateSLInstance require credential") + } + + request.SetContext(ctx) + + response = NewCreateSLInstanceResponse() + err = c.Send(request, response) + return +} + func NewDeleteAutoScaleStrategyRequest() (request *DeleteAutoScaleStrategyRequest) { request = &DeleteAutoScaleStrategyRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1844,6 +1937,266 @@ func (c *Client) DescribeResourceScheduleDiffDetailWithContext(ctx context.Conte return } +func NewDescribeSLInstanceRequest() (request *DescribeSLInstanceRequest) { + request = &DescribeSLInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("emr", APIVersion, "DescribeSLInstance") + + + return +} + +func NewDescribeSLInstanceResponse() (response *DescribeSLInstanceResponse) { + response = &DescribeSLInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeSLInstance +// 本接口(DescribeSLInstance)用于查询 Lite HBase 实例基本信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" +// RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) DescribeSLInstance(request *DescribeSLInstanceRequest) (response *DescribeSLInstanceResponse, err error) { + return c.DescribeSLInstanceWithContext(context.Background(), request) +} + +// DescribeSLInstance +// 本接口(DescribeSLInstance)用于查询 Lite HBase 实例基本信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" +// RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) DescribeSLInstanceWithContext(ctx context.Context, request *DescribeSLInstanceRequest) (response *DescribeSLInstanceResponse, err error) { + if request == nil { + request = NewDescribeSLInstanceRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeSLInstance require credential") + } + + request.SetContext(ctx) + + response = NewDescribeSLInstanceResponse() + err = c.Send(request, response) + return +} + +func NewDescribeSLInstanceListRequest() (request *DescribeSLInstanceListRequest) { + request = &DescribeSLInstanceListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("emr", APIVersion, "DescribeSLInstanceList") + + + return +} + +func NewDescribeSLInstanceListResponse() (response *DescribeSLInstanceListResponse) { + response = &DescribeSLInstanceListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeSLInstanceList +// 本接口(DescribeSLInstanceList)用于查询 Lite HBase 实例列表详细信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CAMERROR = "InternalError.CamError" +// INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" +// INTERNALERROR_CBSERROR = "InternalError.CbsError" +// INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" +// INTERNALERROR_CDBERROR = "InternalError.CdbError" +// INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" +// INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INTERNALERROR_KMSERROR = "InternalError.KmsError" +// INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" +// INTERNALERROR_SGERROR = "InternalError.SgError" +// INTERNALERROR_TAGERROR = "InternalError.TagError" +// INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" +// INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" +// INTERNALERROR_VPCERROR = "InternalError.VpcError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" +// INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" +// INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" +// INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" +// INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" +// INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" +// INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" +// INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" +// INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" +// INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" +// INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" +// INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" +// INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" +// INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" +// INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" +// INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" +// INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" +// INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" +// INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" +// INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" +// INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" +// INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" +// INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" +// INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" +// INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" +// INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" +// INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" +// INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" +// INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" +// INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" +// INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" +// INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" +// INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" +// RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" +// RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" +// RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeSLInstanceList(request *DescribeSLInstanceListRequest) (response *DescribeSLInstanceListResponse, err error) { + return c.DescribeSLInstanceListWithContext(context.Background(), request) +} + +// DescribeSLInstanceList +// 本接口(DescribeSLInstanceList)用于查询 Lite HBase 实例列表详细信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CAMERROR = "InternalError.CamError" +// INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" +// INTERNALERROR_CBSERROR = "InternalError.CbsError" +// INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" +// INTERNALERROR_CDBERROR = "InternalError.CdbError" +// INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" +// INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INTERNALERROR_KMSERROR = "InternalError.KmsError" +// INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" +// INTERNALERROR_SGERROR = "InternalError.SgError" +// INTERNALERROR_TAGERROR = "InternalError.TagError" +// INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" +// INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" +// INTERNALERROR_VPCERROR = "InternalError.VpcError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" +// INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" +// INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" +// INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" +// INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" +// INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" +// INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" +// INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" +// INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" +// INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" +// INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" +// INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" +// INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" +// INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" +// INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" +// INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" +// INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" +// INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" +// INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" +// INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" +// INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" +// INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" +// INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" +// INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" +// INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" +// INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" +// INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" +// INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" +// INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" +// INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" +// INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" +// INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" +// INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" +// RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" +// RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" +// RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeSLInstanceListWithContext(ctx context.Context, request *DescribeSLInstanceListRequest) (response *DescribeSLInstanceListResponse, err error) { + if request == nil { + request = NewDescribeSLInstanceListRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeSLInstanceList require credential") + } + + request.SetContext(ctx) + + response = NewDescribeSLInstanceListResponse() + err = c.Send(request, response) + return +} + func NewDescribeServiceNodeInfosRequest() (request *DescribeServiceNodeInfosRequest) { request = &DescribeServiceNodeInfosRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -3131,6 +3484,93 @@ func (c *Client) ModifyResourcesTagsWithContext(ctx context.Context, request *Mo return } +func NewModifySLInstanceRequest() (request *ModifySLInstanceRequest) { + request = &ModifySLInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("emr", APIVersion, "ModifySLInstance") + + + return +} + +func NewModifySLInstanceResponse() (response *ModifySLInstanceResponse) { + response = &ModifySLInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifySLInstance +// 本接口(ModifySLInstance)用于修改Lite HBase 实例节点数。 +// +// - 接口调用成功,会创建Lite HBase实例,创建实例请求成功会返回请求的 RequestID。 +// +// - 接口为异步接口,接口返回时操作并未立即完成,实例操作结果可以通过调用 DescribeInstancesList 查看当前实例的 StatusDesc 状态。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" +// INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" +// RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" +// RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) ModifySLInstance(request *ModifySLInstanceRequest) (response *ModifySLInstanceResponse, err error) { + return c.ModifySLInstanceWithContext(context.Background(), request) +} + +// ModifySLInstance +// 本接口(ModifySLInstance)用于修改Lite HBase 实例节点数。 +// +// - 接口调用成功,会创建Lite HBase实例,创建实例请求成功会返回请求的 RequestID。 +// +// - 接口为异步接口,接口返回时操作并未立即完成,实例操作结果可以通过调用 DescribeInstancesList 查看当前实例的 StatusDesc 状态。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" +// INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" +// RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" +// RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) ModifySLInstanceWithContext(ctx context.Context, request *ModifySLInstanceRequest) (response *ModifySLInstanceResponse, err error) { + if request == nil { + request = NewModifySLInstanceRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifySLInstance require credential") + } + + request.SetContext(ctx) + + response = NewModifySLInstanceResponse() + err = c.Send(request, response) + return +} + func NewModifyUserManagerPwdRequest() (request *ModifyUserManagerPwdRequest) { request = &ModifyUserManagerPwdRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -4100,6 +4540,83 @@ func (c *Client) TerminateInstanceWithContext(ctx context.Context, request *Term return } +func NewTerminateSLInstanceRequest() (request *TerminateSLInstanceRequest) { + request = &TerminateSLInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("emr", APIVersion, "TerminateSLInstance") + + + return +} + +func NewTerminateSLInstanceResponse() (response *TerminateSLInstanceResponse) { + response = &TerminateSLInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// TerminateSLInstance +// 本接口(TerminateSLInstance)用于销毁 Lite HBase 实例 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) TerminateSLInstance(request *TerminateSLInstanceRequest) (response *TerminateSLInstanceResponse, err error) { + return c.TerminateSLInstanceWithContext(context.Background(), request) +} + +// TerminateSLInstance +// 本接口(TerminateSLInstance)用于销毁 Lite HBase 实例 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" +// INTERNALERROR_CVMERROR = "InternalError.CvmError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" +// INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" +// INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" +// INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" +// RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" +// UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" +// UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" +func (c *Client) TerminateSLInstanceWithContext(ctx context.Context, request *TerminateSLInstanceRequest) (response *TerminateSLInstanceResponse, err error) { + if request == nil { + request = NewTerminateSLInstanceRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("TerminateSLInstance require credential") + } + + request.SetContext(ctx) + + response = NewTerminateSLInstanceResponse() + err = c.Send(request, response) + return +} + func NewTerminateTasksRequest() (request *TerminateTasksRequest) { request = &TerminateTasksRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/emr/v20190103/errors.go b/tencentcloud/emr/v20190103/errors.go index 5e04e02e03..fed11bc182 100644 --- a/tencentcloud/emr/v20190103/errors.go +++ b/tencentcloud/emr/v20190103/errors.go @@ -257,6 +257,9 @@ const ( // 变配规格无效。 INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" + // 不合法的节点数量。 + INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" + // 不合法的节点类型。 INVALIDPARAMETER_INVALIDNODEFLAG = "InvalidParameter.InvalidNodeFlag" @@ -374,6 +377,9 @@ const ( // 无效的Tke集群ID,或Tke集群不符合条件。 INVALIDPARAMETER_INVALIDTKEINSTANCE = "InvalidParameter.InvalidTkeInstance" + // 父帐号uin参数输入异常。 + INVALIDPARAMETER_INVALIDUINNUM = "InvalidParameter.InvalidUinNum" + // 无效的统一元数据库。 INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" @@ -476,6 +482,9 @@ const ( // 当前资源规格不存在默认规格。 RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" + // 资源规格不存在。 + RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" + // 资源售罄。 RESOURCESSOLDOUT = "ResourcesSoldOut" diff --git a/tencentcloud/emr/v20190103/models.go b/tencentcloud/emr/v20190103/models.go index 6865bea3a3..eb87ff26b8 100644 --- a/tencentcloud/emr/v20190103/models.go +++ b/tencentcloud/emr/v20190103/models.go @@ -1444,6 +1444,105 @@ func (r *CreateInstanceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type CreateSLInstanceRequestParams struct { + // 实例名称。 + InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` + + // 实例计费模式,0表示后付费,即按量计费。 + PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` + + // 实例存储类型,填写CLOUD_HSSD,表示性能云存储。 + DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` + + // 实例单节点磁盘容量,单位GB,单节点磁盘容量需大于等于100,小于等于10000,容量调整步长为20。 + DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` + + // 实例节点规格,可填写4C16G、8C32G、16C64G、32C128G,不区分大小写。 + NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` + + // 实例可用区详细配置,当前支持多可用区,可用区数量只能为1或3,包含区域名称,VPC信息、节点数量,其中所有区域节点总数需大于等于3,小于等于50。 + ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` + + // 实例要绑定的标签列表。 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` +} + +type CreateSLInstanceRequest struct { + *tchttp.BaseRequest + + // 实例名称。 + InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` + + // 实例计费模式,0表示后付费,即按量计费。 + PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` + + // 实例存储类型,填写CLOUD_HSSD,表示性能云存储。 + DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` + + // 实例单节点磁盘容量,单位GB,单节点磁盘容量需大于等于100,小于等于10000,容量调整步长为20。 + DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` + + // 实例节点规格,可填写4C16G、8C32G、16C64G、32C128G,不区分大小写。 + NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` + + // 实例可用区详细配置,当前支持多可用区,可用区数量只能为1或3,包含区域名称,VPC信息、节点数量,其中所有区域节点总数需大于等于3,小于等于50。 + ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` + + // 实例要绑定的标签列表。 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` +} + +func (r *CreateSLInstanceRequest) 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 *CreateSLInstanceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceName") + delete(f, "PayMode") + delete(f, "DiskType") + delete(f, "DiskSize") + delete(f, "NodeType") + delete(f, "ZoneSettings") + delete(f, "Tags") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateSLInstanceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateSLInstanceResponseParams struct { + // 实例唯一标识符(字符串表示) + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateSLInstanceResponse struct { + *tchttp.BaseResponse + Response *CreateSLInstanceResponseParams `json:"Response"` +} + +func (r *CreateSLInstanceResponse) 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 *CreateSLInstanceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type CustomMetaDBInfo struct { // 自定义MetaDB的JDBC连接,示例: jdbc:mysql://10.10.10.10:3306/dbname MetaDataJdbcUrl *string `json:"MetaDataJdbcUrl,omitnil,omitempty" name:"MetaDataJdbcUrl"` @@ -3386,6 +3485,177 @@ func (r *DescribeResourceScheduleResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeSLInstanceListRequestParams struct { + // 实例筛选策略。取值范围:
  • clusterList:表示查询除了已销毁实例之外的实例列表。
  • monitorManage:表示查询除了已销毁、创建中以及创建失败的实例之外的实例列表。
  • + DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` + + // 页编号,默认值为0,表示第一页。 + Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` + + // 每页返回数量,默认值为10,最大值为100。 + Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 排序字段。取值范围:
  • clusterId:表示按照实例ID排序。
  • addTime:表示按照实例创建时间排序。
  • status:表示按照实例的状态码排序。
  • + OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` + + // 按照OrderField升序或者降序进行排序。取值范围:
  • 0:表示降序。
  • 1:表示升序。
  • 默认值为0。 + Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` + + // 自定义查询过滤器。 + Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +type DescribeSLInstanceListRequest struct { + *tchttp.BaseRequest + + // 实例筛选策略。取值范围:
  • clusterList:表示查询除了已销毁实例之外的实例列表。
  • monitorManage:表示查询除了已销毁、创建中以及创建失败的实例之外的实例列表。
  • + DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` + + // 页编号,默认值为0,表示第一页。 + Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` + + // 每页返回数量,默认值为10,最大值为100。 + Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 排序字段。取值范围:
  • clusterId:表示按照实例ID排序。
  • addTime:表示按照实例创建时间排序。
  • status:表示按照实例的状态码排序。
  • + OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` + + // 按照OrderField升序或者降序进行排序。取值范围:
  • 0:表示降序。
  • 1:表示升序。
  • 默认值为0。 + Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` + + // 自定义查询过滤器。 + Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +func (r *DescribeSLInstanceListRequest) 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 *DescribeSLInstanceListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DisplayStrategy") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "OrderField") + delete(f, "Asc") + delete(f, "Filters") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSLInstanceListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeSLInstanceListResponseParams struct { + // 符合条件的实例总数。 + TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"` + + // 实例信息列表,如果进行了分页,只显示当前分页的示例信息列表。 + InstancesList []*SLInstanceInfo `json:"InstancesList,omitnil,omitempty" name:"InstancesList"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeSLInstanceListResponse struct { + *tchttp.BaseResponse + Response *DescribeSLInstanceListResponseParams `json:"Response"` +} + +func (r *DescribeSLInstanceListResponse) 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 *DescribeSLInstanceListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeSLInstanceRequestParams struct { + // 实例唯一标识符(字符串表示) + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeSLInstanceRequest struct { + *tchttp.BaseRequest + + // 实例唯一标识符(字符串表示) + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeSLInstanceRequest) 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 *DescribeSLInstanceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSLInstanceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeSLInstanceResponseParams struct { + // 实例名称。 + InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` + + // 实例计费模式。0表示后付费,即按量计费,1表示预付费,即包年包月。 + PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` + + // 实例存储类型。 + DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` + + // 实例单节点磁盘容量,单位GB。 + DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` + + // 实例节点规格。 + NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` + + // 实例可用区详细配置,包含可用区名称,VPC信息、节点数量。 + ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` + + // 实例绑定的标签列表。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeSLInstanceResponse struct { + *tchttp.BaseResponse + Response *DescribeSLInstanceResponseParams `json:"Response"` +} + +func (r *DescribeSLInstanceResponse) 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 *DescribeSLInstanceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeServiceNodeInfosRequestParams struct { // 实例ID @@ -5869,6 +6139,9 @@ type ModifyAutoRenewFlagRequestParams struct { // NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:表示不通知即将过期,也不自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` + + // 计算资源id + ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` } type ModifyAutoRenewFlagRequest struct { @@ -5882,6 +6155,9 @@ type ModifyAutoRenewFlagRequest struct { // NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:表示不通知即将过期,也不自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` + + // 计算资源id + ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` } func (r *ModifyAutoRenewFlagRequest) ToJsonString() string { @@ -5899,6 +6175,7 @@ func (r *ModifyAutoRenewFlagRequest) FromJsonString(s string) error { delete(f, "InstanceId") delete(f, "ResourceIds") delete(f, "RenewFlag") + delete(f, "ComputeResourceId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyAutoRenewFlagRequest has unknown keys!", "") } @@ -6331,6 +6608,74 @@ func (r *ModifyResourcesTagsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type ModifySLInstanceRequestParams struct { + // 实例唯一标识符(字符串表示)。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 需要变更的区域名称。 + Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` + + // 该区域变配后的目标节点数量,所有区域节点总数应大于等于3,小于等于50。 + NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` +} + +type ModifySLInstanceRequest struct { + *tchttp.BaseRequest + + // 实例唯一标识符(字符串表示)。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 需要变更的区域名称。 + Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` + + // 该区域变配后的目标节点数量,所有区域节点总数应大于等于3,小于等于50。 + NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` +} + +func (r *ModifySLInstanceRequest) 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 *ModifySLInstanceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "Zone") + delete(f, "NodeNum") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifySLInstanceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifySLInstanceResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifySLInstanceResponse struct { + *tchttp.BaseResponse + Response *ModifySLInstanceResponseParams `json:"Response"` +} + +func (r *ModifySLInstanceResponse) 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 *ModifySLInstanceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type ModifyUserManagerPwdRequestParams struct { // 集群实例ID @@ -7936,6 +8281,55 @@ func (r *RunJobFlowResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type SLInstanceInfo struct { + // 集群实例字符串ID + ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` + + // 集群实例数字ID + Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` + + // 状态描述 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 实例名称 + ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` + + // 地域ID + RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` + + // 主可用区ID + ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` + + // 主可用区 + Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` + + // 用户APPID + AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` + + // 主可用区私有网络ID + VpcId *uint64 `json:"VpcId,omitnil,omitempty" name:"VpcId"` + + // 主可用区子网ID + SubnetId *uint64 `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` + + // 状态码 + Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 创建时间 + AddTime *string `json:"AddTime,omitnil,omitempty" name:"AddTime"` + + // 集群计费类型。0表示按量计费,1表示包年包月 + PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` + + // 多可用区信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` + + // 实例标签 + // 注意:此字段可能返回 null,表示取不到有效值。 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` +} + // Predefined struct for user type ScaleOutClusterRequestParams struct { // 节点计费模式。取值范围: @@ -9153,6 +9547,60 @@ func (r *TerminateInstanceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type TerminateSLInstanceRequestParams struct { + // 实例唯一标识符(字符串表示) + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type TerminateSLInstanceRequest struct { + *tchttp.BaseRequest + + // 实例唯一标识符(字符串表示) + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *TerminateSLInstanceRequest) 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 *TerminateSLInstanceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "TerminateSLInstanceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type TerminateSLInstanceResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type TerminateSLInstanceResponse struct { + *tchttp.BaseResponse + Response *TerminateSLInstanceResponseParams `json:"Response"` +} + +func (r *TerminateSLInstanceResponse) 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 *TerminateSLInstanceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type TerminateTasksRequestParams struct { // 实例ID。 @@ -9723,4 +10171,15 @@ type ZoneResourceConfiguration struct { //
  • third-party
  • // 注意:此字段可能返回 null,表示取不到有效值。 ZoneTag *string `json:"ZoneTag,omitnil,omitempty" name:"ZoneTag"` +} + +type ZoneSetting struct { + // 可用区名称 + Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` + + // 可用区VPC和子网 + VPCSettings *VPCSettings `json:"VPCSettings,omitnil,omitempty" name:"VPCSettings"` + + // 可用区节点数量 + NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` } \ No newline at end of file diff --git a/tencentcloud/es/go.mod b/tencentcloud/es/go.mod index b00c937cff..622a80138d 100644 --- a/tencentcloud/es/go.mod +++ b/tencentcloud/es/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/es/v20180416/client.go b/tencentcloud/es/v20180416/client.go index 9acc40c568..4b00fb8a01 100644 --- a/tencentcloud/es/v20180416/client.go +++ b/tencentcloud/es/v20180416/client.go @@ -2115,6 +2115,81 @@ func (c *Client) DescribeServerlessSpacesWithContext(ctx context.Context, reques return } +func NewDescribeSpaceKibanaToolsRequest() (request *DescribeSpaceKibanaToolsRequest) { + request = &DescribeSpaceKibanaToolsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("es", APIVersion, "DescribeSpaceKibanaTools") + + + return +} + +func NewDescribeSpaceKibanaToolsResponse() (response *DescribeSpaceKibanaToolsResponse) { + response = &DescribeSpaceKibanaToolsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeSpaceKibanaTools +// space维度的kibana获取登录token +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" +// FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeSpaceKibanaTools(request *DescribeSpaceKibanaToolsRequest) (response *DescribeSpaceKibanaToolsResponse, err error) { + return c.DescribeSpaceKibanaToolsWithContext(context.Background(), request) +} + +// DescribeSpaceKibanaTools +// space维度的kibana获取登录token +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" +// FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeSpaceKibanaToolsWithContext(ctx context.Context, request *DescribeSpaceKibanaToolsRequest) (response *DescribeSpaceKibanaToolsResponse, err error) { + if request == nil { + request = NewDescribeSpaceKibanaToolsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeSpaceKibanaTools require credential") + } + + request.SetContext(ctx) + + response = NewDescribeSpaceKibanaToolsResponse() + err = c.Send(request, response) + return +} + func NewDescribeUserCosSnapshotListRequest() (request *DescribeUserCosSnapshotListRequest) { request = &DescribeUserCosSnapshotListRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/es/v20180416/models.go b/tencentcloud/es/v20180416/models.go index 3916347cf9..f4524bef4c 100644 --- a/tencentcloud/es/v20180416/models.go +++ b/tencentcloud/es/v20180416/models.go @@ -3149,6 +3149,66 @@ func (r *DescribeServerlessSpacesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeSpaceKibanaToolsRequestParams struct { + // space的ID + SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"` +} + +type DescribeSpaceKibanaToolsRequest struct { + *tchttp.BaseRequest + + // space的ID + SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"` +} + +func (r *DescribeSpaceKibanaToolsRequest) 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 *DescribeSpaceKibanaToolsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SpaceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSpaceKibanaToolsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeSpaceKibanaToolsResponseParams struct { + // 该token用于登录内嵌kibana + KibanaToken *string `json:"KibanaToken,omitnil,omitempty" name:"KibanaToken"` + + // token的过期时间 + ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeSpaceKibanaToolsResponse struct { + *tchttp.BaseResponse + Response *DescribeSpaceKibanaToolsResponseParams `json:"Response"` +} + +func (r *DescribeSpaceKibanaToolsResponse) 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 *DescribeSpaceKibanaToolsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeUserCosSnapshotListRequestParams struct { // cos桶名 diff --git a/tencentcloud/ess/go.mod b/tencentcloud/ess/go.mod index 7c9af959f7..20af491718 100644 --- a/tencentcloud/ess/go.mod +++ b/tencentcloud/ess/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ess go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ess/v20201111/client.go b/tencentcloud/ess/v20201111/client.go index 354e3484d9..26330d731f 100644 --- a/tencentcloud/ess/v20201111/client.go +++ b/tencentcloud/ess/v20201111/client.go @@ -8611,7 +8611,7 @@ func NewDescribeOrganizationAuthStatusResponse() (response *DescribeOrganization } // DescribeOrganizationAuthStatus -// 查询企业认证状态 +// 查询企业认证状态- 仅通过[CreateOrganizationAuthUrl](https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl) 和[CreateBatchOrganizationRegistrationTasks](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks)这两个接口进行引导认证的企业,调用方企业可以依据这个接口,查询认证状态。 // // 可能返回的错误码: // INTERNALERROR_SYSTEM = "InternalError.System" @@ -8623,7 +8623,7 @@ func (c *Client) DescribeOrganizationAuthStatus(request *DescribeOrganizationAut } // DescribeOrganizationAuthStatus -// 查询企业认证状态 +// 查询企业认证状态- 仅通过[CreateOrganizationAuthUrl](https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl) 和[CreateBatchOrganizationRegistrationTasks](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks)这两个接口进行引导认证的企业,调用方企业可以依据这个接口,查询认证状态。 // // 可能返回的错误码: // INTERNALERROR_SYSTEM = "InternalError.System" diff --git a/tencentcloud/essbasic/go.mod b/tencentcloud/essbasic/go.mod index 2cca80f645..c2f8645539 100644 --- a/tencentcloud/essbasic/go.mod +++ b/tencentcloud/essbasic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/essbasic/v20210526/client.go b/tencentcloud/essbasic/v20210526/client.go index e6df429561..a965831b04 100644 --- a/tencentcloud/essbasic/v20210526/client.go +++ b/tencentcloud/essbasic/v20210526/client.go @@ -6649,6 +6649,99 @@ func (c *Client) CreatePartnerAutoSignAuthUrlWithContext(ctx context.Context, re return } +func NewCreatePersonAuthCertificateImageRequest() (request *CreatePersonAuthCertificateImageRequest) { + request = &CreatePersonAuthCertificateImageRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("essbasic", APIVersion, "CreatePersonAuthCertificateImage") + + + return +} + +func NewCreatePersonAuthCertificateImageResponse() (response *CreatePersonAuthCertificateImageResponse) { + response = &CreatePersonAuthCertificateImageResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreatePersonAuthCertificateImage +// 获取个人用户认证证书图片下载URL +// +// +// +// 个人用户认证证书图片样式如下图 +// +// +// +// ![image](https://dyn.ess.tencent.cn/guide/capi/CreatePersonAuthCertificateImage.png) +// +// +// +// 注: +// +// +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// OPERATIONDENIED = "OperationDenied" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) CreatePersonAuthCertificateImage(request *CreatePersonAuthCertificateImageRequest) (response *CreatePersonAuthCertificateImageResponse, err error) { + return c.CreatePersonAuthCertificateImageWithContext(context.Background(), request) +} + +// CreatePersonAuthCertificateImage +// 获取个人用户认证证书图片下载URL +// +// +// +// 个人用户认证证书图片样式如下图 +// +// +// +// ![image](https://dyn.ess.tencent.cn/guide/capi/CreatePersonAuthCertificateImage.png) +// +// +// +// 注: +// +// +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// OPERATIONDENIED = "OperationDenied" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) CreatePersonAuthCertificateImageWithContext(ctx context.Context, request *CreatePersonAuthCertificateImageRequest) (response *CreatePersonAuthCertificateImageResponse, err error) { + if request == nil { + request = NewCreatePersonAuthCertificateImageRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreatePersonAuthCertificateImage require credential") + } + + request.SetContext(ctx) + + response = NewCreatePersonAuthCertificateImageResponse() + err = c.Send(request, response) + return +} + func NewCreateSealByImageRequest() (request *CreateSealByImageRequest) { request = &CreateSealByImageRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/essbasic/v20210526/models.go b/tencentcloud/essbasic/v20210526/models.go index 37007d22e1..29313ac38c 100644 --- a/tencentcloud/essbasic/v20210526/models.go +++ b/tencentcloud/essbasic/v20210526/models.go @@ -7613,6 +7613,107 @@ func (r *CreatePartnerAutoSignAuthUrlResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type CreatePersonAuthCertificateImageRequestParams struct { + // 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 + Agent *Agent `json:"Agent,omitnil,omitempty" name:"Agent"` + + // 个人用户名称 + UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` + + // 证件类型,支持以下类型 + IdCardType *string `json:"IdCardType,omitnil,omitempty" name:"IdCardType"` + + // 证件号码,应符合以下规则 + IdCardNumber *string `json:"IdCardNumber,omitnil,omitempty" name:"IdCardNumber"` + + // 自动签使用的场景值, 可以选择的场景值如下:注: `不传默认为处方单场景,即E_PRESCRIPTION_AUTO_SIGN` + SceneKey *string `json:"SceneKey,omitnil,omitempty" name:"SceneKey"` +} + +type CreatePersonAuthCertificateImageRequest struct { + *tchttp.BaseRequest + + // 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 + Agent *Agent `json:"Agent,omitnil,omitempty" name:"Agent"` + + // 个人用户名称 + UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` + + // 证件类型,支持以下类型 + IdCardType *string `json:"IdCardType,omitnil,omitempty" name:"IdCardType"` + + // 证件号码,应符合以下规则 + IdCardNumber *string `json:"IdCardNumber,omitnil,omitempty" name:"IdCardNumber"` + + // 自动签使用的场景值, 可以选择的场景值如下:注: `不传默认为处方单场景,即E_PRESCRIPTION_AUTO_SIGN` + SceneKey *string `json:"SceneKey,omitnil,omitempty" name:"SceneKey"` +} + +func (r *CreatePersonAuthCertificateImageRequest) 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 *CreatePersonAuthCertificateImageRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Agent") + delete(f, "UserName") + delete(f, "IdCardType") + delete(f, "IdCardNumber") + delete(f, "SceneKey") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreatePersonAuthCertificateImageRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreatePersonAuthCertificateImageResponseParams struct { + // 个人用户认证证书图片下载URL,`有效期为5分钟`,超过有效期后将无法再下载。 + AuthCertUrl *string `json:"AuthCertUrl,omitnil,omitempty" name:"AuthCertUrl"` + + // 个人用户认证证书的编号, 为20位数字组成的字符串, 由腾讯电子签下发此编号 。该编号会合成到个人用户证书证明图片。注: `个人用户认证证书的编号和证明图片绑定, 获取新的证明图片编号会变动` + // 注意:此字段可能返回 null,表示取不到有效值。 + ImageCertId *string `json:"ImageCertId,omitnil,omitempty" name:"ImageCertId"` + + // CA供应商下发给用户的证书编号,在证书到期后自动续期后此证书编号会发生变动,且不会合成到个人用户证书证明图片中。注意:`腾讯电子签接入多家CA供应商以提供容灾能力,不同CA下发的证书编号区别较大,但基本都是由数字和字母组成,长度在200以下。` + // 注意:此字段可能返回 null,表示取不到有效值。 + SerialNumber *string `json:"SerialNumber,omitnil,omitempty" name:"SerialNumber"` + + // CA证书颁发时间,格式为Unix标准时间戳(秒) 该时间格式化后会合成到个人用户证书证明图片 + // 注意:此字段可能返回 null,表示取不到有效值。 + ValidFrom *uint64 `json:"ValidFrom,omitnil,omitempty" name:"ValidFrom"` + + // CA证书有效截止时间,格式为Unix标准时间戳(秒)该时间格式化后会合成到个人用户证书证明图片 + // 注意:此字段可能返回 null,表示取不到有效值。 + ValidTo *uint64 `json:"ValidTo,omitnil,omitempty" name:"ValidTo"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreatePersonAuthCertificateImageResponse struct { + *tchttp.BaseResponse + Response *CreatePersonAuthCertificateImageResponseParams `json:"Response"` +} + +func (r *CreatePersonAuthCertificateImageResponse) 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 *CreatePersonAuthCertificateImageResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type CreateSealByImageRequestParams struct { // 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 diff --git a/tencentcloud/facefusion/go.mod b/tencentcloud/facefusion/go.mod index 0aebc2039f..373ecf12e7 100644 --- a/tencentcloud/facefusion/go.mod +++ b/tencentcloud/facefusion/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/faceid/go.mod b/tencentcloud/faceid/go.mod index f31f71b32b..87737007e7 100644 --- a/tencentcloud/faceid/go.mod +++ b/tencentcloud/faceid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/fmu/go.mod b/tencentcloud/fmu/go.mod index 74ebe92196..effc365bcf 100644 --- a/tencentcloud/fmu/go.mod +++ b/tencentcloud/fmu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ft/go.mod b/tencentcloud/ft/go.mod index bee95bbdbf..7f198768c3 100644 --- a/tencentcloud/ft/go.mod +++ b/tencentcloud/ft/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/gaap/go.mod b/tencentcloud/gaap/go.mod index 75486ca7c7..4f62593bd4 100644 --- a/tencentcloud/gaap/go.mod +++ b/tencentcloud/gaap/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/gme/go.mod b/tencentcloud/gme/go.mod index 9765cdeb0d..12d5811bc8 100644 --- a/tencentcloud/gme/go.mod +++ b/tencentcloud/gme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/goosefs/go.mod b/tencentcloud/goosefs/go.mod index cca7d6e787..c6cd544115 100644 --- a/tencentcloud/goosefs/go.mod +++ b/tencentcloud/goosefs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/goosefs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/gpm/go.mod b/tencentcloud/gpm/go.mod index 2982bdfb44..c7f4bdc932 100644 --- a/tencentcloud/gpm/go.mod +++ b/tencentcloud/gpm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/gs/go.mod b/tencentcloud/gs/go.mod index e82e2f484b..111e748adf 100644 --- a/tencentcloud/gs/go.mod +++ b/tencentcloud/gs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/gse/go.mod b/tencentcloud/gse/go.mod index 1fe2dd7b00..bc93ac9f31 100644 --- a/tencentcloud/gse/go.mod +++ b/tencentcloud/gse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/habo/go.mod b/tencentcloud/habo/go.mod index 7405a12490..566e121af3 100644 --- a/tencentcloud/habo/go.mod +++ b/tencentcloud/habo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/hai/go.mod b/tencentcloud/hai/go.mod index 84d20edd95..9a9b9701e1 100644 --- a/tencentcloud/hai/go.mod +++ b/tencentcloud/hai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/hasim/go.mod b/tencentcloud/hasim/go.mod index 5b3ec28acb..4a426fb1a5 100644 --- a/tencentcloud/hasim/go.mod +++ b/tencentcloud/hasim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hasim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/hcm/go.mod b/tencentcloud/hcm/go.mod index 86111dd96d..576ada8c20 100644 --- a/tencentcloud/hcm/go.mod +++ b/tencentcloud/hcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/hunyuan/go.mod b/tencentcloud/hunyuan/go.mod index c599cf94cb..842b96ad67 100644 --- a/tencentcloud/hunyuan/go.mod +++ b/tencentcloud/hunyuan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hunyuan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iai/go.mod b/tencentcloud/iai/go.mod index 93749ece20..fd84d84789 100644 --- a/tencentcloud/iai/go.mod +++ b/tencentcloud/iai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ic/go.mod b/tencentcloud/ic/go.mod index 4c4015682a..7dcf6daa3a 100644 --- a/tencentcloud/ic/go.mod +++ b/tencentcloud/ic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/icr/go.mod b/tencentcloud/icr/go.mod index 3f1e7f65c6..b3a63edf71 100644 --- a/tencentcloud/icr/go.mod +++ b/tencentcloud/icr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/icr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ie/go.mod b/tencentcloud/ie/go.mod index 459b77491a..fbc56d2c04 100644 --- a/tencentcloud/ie/go.mod +++ b/tencentcloud/ie/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iecp/go.mod b/tencentcloud/iecp/go.mod index 0f45aa2619..6a64da7a2b 100644 --- a/tencentcloud/iecp/go.mod +++ b/tencentcloud/iecp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iir/go.mod b/tencentcloud/iir/go.mod index def247528b..72baec9018 100644 --- a/tencentcloud/iir/go.mod +++ b/tencentcloud/iir/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ims/go.mod b/tencentcloud/ims/go.mod index 42696a782e..b948bf16f8 100644 --- a/tencentcloud/ims/go.mod +++ b/tencentcloud/ims/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ioa/go.mod b/tencentcloud/ioa/go.mod index 24321b2c4e..91e40fde95 100644 --- a/tencentcloud/ioa/go.mod +++ b/tencentcloud/ioa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ioa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iot/go.mod b/tencentcloud/iot/go.mod index c71ac5c54a..3bb2ebbebd 100644 --- a/tencentcloud/iot/go.mod +++ b/tencentcloud/iot/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iotcloud/go.mod b/tencentcloud/iotcloud/go.mod index 65dbe18fa3..c62fc2d5cd 100644 --- a/tencentcloud/iotcloud/go.mod +++ b/tencentcloud/iotcloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iotexplorer/go.mod b/tencentcloud/iotexplorer/go.mod index 4a3fdf41c3..e4bf4b17b9 100644 --- a/tencentcloud/iotexplorer/go.mod +++ b/tencentcloud/iotexplorer/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iottid/go.mod b/tencentcloud/iottid/go.mod index 9c10eaf74e..7d42a13bad 100644 --- a/tencentcloud/iottid/go.mod +++ b/tencentcloud/iottid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iotvideo/go.mod b/tencentcloud/iotvideo/go.mod index 0d1da89cb6..ff5d6e2540 100644 --- a/tencentcloud/iotvideo/go.mod +++ b/tencentcloud/iotvideo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iotvideoindustry/go.mod b/tencentcloud/iotvideoindustry/go.mod index a8e4adf34b..eff4317614 100644 --- a/tencentcloud/iotvideoindustry/go.mod +++ b/tencentcloud/iotvideoindustry/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/irp/go.mod b/tencentcloud/irp/go.mod index cfefa46f65..110b196fc9 100644 --- a/tencentcloud/irp/go.mod +++ b/tencentcloud/irp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/irp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/iss/go.mod b/tencentcloud/iss/go.mod index 3e97c33e79..d2a4611e37 100644 --- a/tencentcloud/iss/go.mod +++ b/tencentcloud/iss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ivld/go.mod b/tencentcloud/ivld/go.mod index b1f74b0283..018cb33e4c 100644 --- a/tencentcloud/ivld/go.mod +++ b/tencentcloud/ivld/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/keewidb/go.mod b/tencentcloud/keewidb/go.mod index 75b79713e8..f2a3308101 100644 --- a/tencentcloud/keewidb/go.mod +++ b/tencentcloud/keewidb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/keewidb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/kms/go.mod b/tencentcloud/kms/go.mod index 744bc3399f..77dbe7b648 100644 --- a/tencentcloud/kms/go.mod +++ b/tencentcloud/kms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/lcic/go.mod b/tencentcloud/lcic/go.mod index 11c77c0e0f..ebc95b2c89 100644 --- a/tencentcloud/lcic/go.mod +++ b/tencentcloud/lcic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lcic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/lighthouse/go.mod b/tencentcloud/lighthouse/go.mod index 72e36a6f1d..512662a99e 100644 --- a/tencentcloud/lighthouse/go.mod +++ b/tencentcloud/lighthouse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/live/go.mod b/tencentcloud/live/go.mod index 5436794775..75b2159d7e 100644 --- a/tencentcloud/live/go.mod +++ b/tencentcloud/live/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/lke/go.mod b/tencentcloud/lke/go.mod index 805aa83316..3bc813c92b 100644 --- a/tencentcloud/lke/go.mod +++ b/tencentcloud/lke/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lke go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/lowcode/go.mod b/tencentcloud/lowcode/go.mod index a864736fb9..c18fd9b2c8 100644 --- a/tencentcloud/lowcode/go.mod +++ b/tencentcloud/lowcode/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/lp/go.mod b/tencentcloud/lp/go.mod index 150ee713f9..a8196300c9 100644 --- a/tencentcloud/lp/go.mod +++ b/tencentcloud/lp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mall/go.mod b/tencentcloud/mall/go.mod index c15bfec7dd..2e1df5d42e 100644 --- a/tencentcloud/mall/go.mod +++ b/tencentcloud/mall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mariadb/go.mod b/tencentcloud/mariadb/go.mod index 82d0e6f78b..269bd17a10 100644 --- a/tencentcloud/mariadb/go.mod +++ b/tencentcloud/mariadb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mariadb/v20170312/client.go b/tencentcloud/mariadb/v20170312/client.go index 6f561a3101..7523ac32fb 100644 --- a/tencentcloud/mariadb/v20170312/client.go +++ b/tencentcloud/mariadb/v20170312/client.go @@ -1067,6 +1067,55 @@ func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *Descr return } +func NewDescribeBackupConfigsRequest() (request *DescribeBackupConfigsRequest) { + request = &DescribeBackupConfigsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("mariadb", APIVersion, "DescribeBackupConfigs") + + + return +} + +func NewDescribeBackupConfigsResponse() (response *DescribeBackupConfigsResponse) { + response = &DescribeBackupConfigsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeBackupConfigs +// 本接口(DescribeBackupConfigs)用于查询数据库备份配置信息。 +// +// 可能返回的错误码: +// FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" +func (c *Client) DescribeBackupConfigs(request *DescribeBackupConfigsRequest) (response *DescribeBackupConfigsResponse, err error) { + return c.DescribeBackupConfigsWithContext(context.Background(), request) +} + +// DescribeBackupConfigs +// 本接口(DescribeBackupConfigs)用于查询数据库备份配置信息。 +// +// 可能返回的错误码: +// FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" +func (c *Client) DescribeBackupConfigsWithContext(ctx context.Context, request *DescribeBackupConfigsRequest) (response *DescribeBackupConfigsResponse, err error) { + if request == nil { + request = NewDescribeBackupConfigsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeBackupConfigs require credential") + } + + request.SetContext(ctx) + + response = NewDescribeBackupConfigsResponse() + err = c.Send(request, response) + return +} + func NewDescribeBackupFilesRequest() (request *DescribeBackupFilesRequest) { request = &DescribeBackupFilesRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -3465,6 +3514,67 @@ func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request return } +func NewModifyBackupConfigsRequest() (request *ModifyBackupConfigsRequest) { + request = &ModifyBackupConfigsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("mariadb", APIVersion, "ModifyBackupConfigs") + + + return +} + +func NewModifyBackupConfigsResponse() (response *ModifyBackupConfigsResponse) { + response = &ModifyBackupConfigsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyBackupConfigs +// 本接口(ModifyBackupConfigs)用于修改数据库备份配置信息。 +// +// +// +// 1. 修改数据库超期备份配置,目前按年、按月、按日只支持一种,存在互斥关系,如当前策略按年备份,如果传入按月备份策略将会覆盖当前的按年备份策略,务必注意。 +// +// 可能返回的错误码: +// FAILEDOPERATION_MODIFYBACKUPCONFIGSFAILED = "FailedOperation.ModifyBackupConfigsFailed" +// FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" +// INTERNALERROR_OPERATEDATABASEFAILED = "InternalError.OperateDatabaseFailed" +func (c *Client) ModifyBackupConfigs(request *ModifyBackupConfigsRequest) (response *ModifyBackupConfigsResponse, err error) { + return c.ModifyBackupConfigsWithContext(context.Background(), request) +} + +// ModifyBackupConfigs +// 本接口(ModifyBackupConfigs)用于修改数据库备份配置信息。 +// +// +// +// 1. 修改数据库超期备份配置,目前按年、按月、按日只支持一种,存在互斥关系,如当前策略按年备份,如果传入按月备份策略将会覆盖当前的按年备份策略,务必注意。 +// +// 可能返回的错误码: +// FAILEDOPERATION_MODIFYBACKUPCONFIGSFAILED = "FailedOperation.ModifyBackupConfigsFailed" +// FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" +// INTERNALERROR_OPERATEDATABASEFAILED = "InternalError.OperateDatabaseFailed" +func (c *Client) ModifyBackupConfigsWithContext(ctx context.Context, request *ModifyBackupConfigsRequest) (response *ModifyBackupConfigsResponse, err error) { + if request == nil { + request = NewModifyBackupConfigsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyBackupConfigs require credential") + } + + request.SetContext(ctx) + + response = NewModifyBackupConfigsResponse() + err = c.Send(request, response) + return +} + func NewModifyBackupTimeRequest() (request *ModifyBackupTimeRequest) { request = &ModifyBackupTimeRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/mariadb/v20170312/errors.go b/tencentcloud/mariadb/v20170312/errors.go index 019045d70c..aa5ceda885 100644 --- a/tencentcloud/mariadb/v20170312/errors.go +++ b/tencentcloud/mariadb/v20170312/errors.go @@ -68,6 +68,9 @@ const ( // 日志不存在。 FAILEDOPERATION_LOGNOTEXISTED = "FailedOperation.LogNotExisted" + // 修改备份设置失败 + FAILEDOPERATION_MODIFYBACKUPCONFIGSFAILED = "FailedOperation.ModifyBackupConfigsFailed" + // 修改账号权限失败。 FAILEDOPERATION_MODIFYRIGHTFAILED = "FailedOperation.ModifyRightFailed" diff --git a/tencentcloud/mariadb/v20170312/models.go b/tencentcloud/mariadb/v20170312/models.go index 4e1c5e9885..e585bc3449 100644 --- a/tencentcloud/mariadb/v20170312/models.go +++ b/tencentcloud/mariadb/v20170312/models.go @@ -156,6 +156,39 @@ func (r *AssociateSecurityGroupsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type BackupConfig struct { + // 备份策略是否启用。 + EnableBackupPolicy *bool `json:"EnableBackupPolicy,omitnil,omitempty" name:"EnableBackupPolicy"` + + // 超期保留开始日期,早于开始日期的超期备份不保留,格式:yyyy-mm-dd。 + BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"` + + // 超期备份保留时长,超出保留时间的超期备份将被删除,可填写1-3650整数。 + MaxRetentionDays *int64 `json:"MaxRetentionDays,omitnil,omitempty" name:"MaxRetentionDays"` + + // 备份模式,可选择按年月周模式保存 + // * 按年:annually + // * 按月:monthly + // * 按周:weekly + Frequency *string `json:"Frequency,omitnil,omitempty" name:"Frequency"` + + // Frequency等于weekly时生效。 + // 表示保留特定工作日备份。可选择周一到周日,支持多选,取星期英文: + // * 星期一 :Monday + // * 星期二 :Tuesday + // * 星期三:Wednesday + // * 星期四:Thursday + // * 星期五:Friday + // * 星期六:Saturday + // * 星期日:Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 保留备份个数,Frequency等于monthly或weekly时生效。 + // 备份模式选择按月时,可填写1-28整数; + // 备份模式选择年时,可填写1-336整数。 + BackupCount *int64 `json:"BackupCount,omitnil,omitempty" name:"BackupCount"` +} + // Predefined struct for user type CancelDcnJobRequestParams struct { // 灾备实例ID @@ -1953,6 +1986,81 @@ func (r *DescribeAccountsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeBackupConfigsRequestParams struct { + // 实例 ID,格式如:tdsql-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeBackupConfigsRequest struct { + *tchttp.BaseRequest + + // 实例 ID,格式如:tdsql-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeBackupConfigsRequest) 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 *DescribeBackupConfigsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBackupConfigsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeBackupConfigsResponseParams struct { + // 实例 ID。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 常规备份存储时长,范围[1, 3650]。 + Days *uint64 `json:"Days,omitnil,omitempty" name:"Days"` + + // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00。 + StartBackupTime *string `json:"StartBackupTime,omitnil,omitempty" name:"StartBackupTime"` + + // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:59。 + EndBackupTime *string `json:"EndBackupTime,omitnil,omitempty" name:"EndBackupTime"` + + // 执行备份周期,枚举值:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 沉降到归档存储时长,-1表示关闭归档设置。 + ArchiveDays *int64 `json:"ArchiveDays,omitnil,omitempty" name:"ArchiveDays"` + + // 超期备份配置。 + BackupConfigSet []*BackupConfig `json:"BackupConfigSet,omitnil,omitempty" name:"BackupConfigSet"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeBackupConfigsResponse struct { + *tchttp.BaseResponse + Response *DescribeBackupConfigsResponseParams `json:"Response"` +} + +func (r *DescribeBackupConfigsResponse) 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 *DescribeBackupConfigsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeBackupFilesRequestParams struct { // 按实例ID查询 @@ -5091,6 +5199,102 @@ func (r *ModifyAccountPrivilegesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type ModifyBackupConfigsRequestParams struct { + // 实例 ID,格式如:tdsql-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 常规备份存储时长,范围[1, 3650]。 + Days *uint64 `json:"Days,omitnil,omitempty" name:"Days"` + + // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00。 + StartBackupTime *string `json:"StartBackupTime,omitnil,omitempty" name:"StartBackupTime"` + + // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:59。 + EndBackupTime *string `json:"EndBackupTime,omitnil,omitempty" name:"EndBackupTime"` + + // 执行备份周期,枚举值:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 沉降到归档存储时长,-1表示关闭归档设置。 + ArchiveDays *int64 `json:"ArchiveDays,omitnil,omitempty" name:"ArchiveDays"` + + // 超期备份配置。 + BackupConfigSet []*NewBackupConfig `json:"BackupConfigSet,omitnil,omitempty" name:"BackupConfigSet"` +} + +type ModifyBackupConfigsRequest struct { + *tchttp.BaseRequest + + // 实例 ID,格式如:tdsql-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 常规备份存储时长,范围[1, 3650]。 + Days *uint64 `json:"Days,omitnil,omitempty" name:"Days"` + + // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00。 + StartBackupTime *string `json:"StartBackupTime,omitnil,omitempty" name:"StartBackupTime"` + + // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:59。 + EndBackupTime *string `json:"EndBackupTime,omitnil,omitempty" name:"EndBackupTime"` + + // 执行备份周期,枚举值:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 沉降到归档存储时长,-1表示关闭归档设置。 + ArchiveDays *int64 `json:"ArchiveDays,omitnil,omitempty" name:"ArchiveDays"` + + // 超期备份配置。 + BackupConfigSet []*NewBackupConfig `json:"BackupConfigSet,omitnil,omitempty" name:"BackupConfigSet"` +} + +func (r *ModifyBackupConfigsRequest) 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 *ModifyBackupConfigsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "Days") + delete(f, "StartBackupTime") + delete(f, "EndBackupTime") + delete(f, "WeekDays") + delete(f, "ArchiveDays") + delete(f, "BackupConfigSet") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBackupConfigsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyBackupConfigsResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyBackupConfigsResponse struct { + *tchttp.BaseResponse + Response *ModifyBackupConfigsResponseParams `json:"Response"` +} + +func (r *ModifyBackupConfigsResponse) 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 *ModifyBackupConfigsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type ModifyBackupTimeRequestParams struct { // 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 @@ -5964,6 +6168,39 @@ func (r *ModifySyncTaskAttributeResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type NewBackupConfig struct { + // 备份策略是否启用。 + EnableBackupPolicy *bool `json:"EnableBackupPolicy,omitnil,omitempty" name:"EnableBackupPolicy"` + + // 超期保留开始日期,早于开始日期的超期备份不保留,格式:yyyy-mm-dd。 + BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"` + + // 超期备份保留时长,超出保留时间的超期备份将被删除,可填写1-3650整数。 + MaxRetentionDays *int64 `json:"MaxRetentionDays,omitnil,omitempty" name:"MaxRetentionDays"` + + // 备份模式,可选择按年月周模式保存 + // * 按年:annually + // * 按月:monthly + // * 按周:weekly + Frequency *string `json:"Frequency,omitnil,omitempty" name:"Frequency"` + + // Frequency等于weekly时生效。 + // 表示保留特定工作日备份。可选择周一到周日,支持多选,取星期英文: + // * 星期一 :Monday + // * 星期二 :Tuesday + // * 星期三:Wednesday + // * 星期四:Thursday + // * 星期五:Friday + // * 星期六:Saturday + // * 星期日:Sunday + WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"` + + // 保留备份个数,Frequency等于monthly或weekly时生效。 + // 备份模式选择按月时,可填写1-28整数; + // 备份模式选择年时,可填写1-336整数。 + BackupCount *int64 `json:"BackupCount,omitnil,omitempty" name:"BackupCount"` +} + type NodeInfo struct { // DB节点ID NodeId *string `json:"NodeId,omitnil,omitempty" name:"NodeId"` diff --git a/tencentcloud/market/go.mod b/tencentcloud/market/go.mod index c4ffcd523c..ccfe1c3636 100644 --- a/tencentcloud/market/go.mod +++ b/tencentcloud/market/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/memcached/go.mod b/tencentcloud/memcached/go.mod index 3d9bcc9b44..0bb22b58ac 100644 --- a/tencentcloud/memcached/go.mod +++ b/tencentcloud/memcached/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mgobe/go.mod b/tencentcloud/mgobe/go.mod index 270e15de44..dca3e09aa8 100644 --- a/tencentcloud/mgobe/go.mod +++ b/tencentcloud/mgobe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mmps/go.mod b/tencentcloud/mmps/go.mod index cfb308469d..2c311ea395 100644 --- a/tencentcloud/mmps/go.mod +++ b/tencentcloud/mmps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mmps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mna/go.mod b/tencentcloud/mna/go.mod index f07c5c8b8b..0e9a33489c 100644 --- a/tencentcloud/mna/go.mod +++ b/tencentcloud/mna/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mongodb/go.mod b/tencentcloud/mongodb/go.mod index ad5def2f35..c4ebed19a2 100644 --- a/tencentcloud/mongodb/go.mod +++ b/tencentcloud/mongodb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/monitor/go.mod b/tencentcloud/monitor/go.mod index b902b6ce43..e6992f5a87 100644 --- a/tencentcloud/monitor/go.mod +++ b/tencentcloud/monitor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mps/go.mod b/tencentcloud/mps/go.mod index 1a7dd972ae..89249cf79b 100644 --- a/tencentcloud/mps/go.mod +++ b/tencentcloud/mps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mrs/go.mod b/tencentcloud/mrs/go.mod index 6bdba7616b..22f49d0797 100644 --- a/tencentcloud/mrs/go.mod +++ b/tencentcloud/mrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ms/go.mod b/tencentcloud/ms/go.mod index f7ea12c428..5896d752ee 100644 --- a/tencentcloud/ms/go.mod +++ b/tencentcloud/ms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/msp/go.mod b/tencentcloud/msp/go.mod index 1463f35fd7..6663d59db8 100644 --- a/tencentcloud/msp/go.mod +++ b/tencentcloud/msp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/mvj/go.mod b/tencentcloud/mvj/go.mod index ba501baceb..1a06561236 100644 --- a/tencentcloud/mvj/go.mod +++ b/tencentcloud/mvj/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/nlp/go.mod b/tencentcloud/nlp/go.mod index d215a716c8..40265a3e2a 100644 --- a/tencentcloud/nlp/go.mod +++ b/tencentcloud/nlp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/npp/go.mod b/tencentcloud/npp/go.mod index b988d41183..5bca74f7d9 100644 --- a/tencentcloud/npp/go.mod +++ b/tencentcloud/npp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/oceanus/go.mod b/tencentcloud/oceanus/go.mod index 2b7d1c4745..df08034dc7 100644 --- a/tencentcloud/oceanus/go.mod +++ b/tencentcloud/oceanus/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ocr/go.mod b/tencentcloud/ocr/go.mod index 9b7db3320e..577a905fcd 100644 --- a/tencentcloud/ocr/go.mod +++ b/tencentcloud/ocr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ocr/v20181119/models.go b/tencentcloud/ocr/v20181119/models.go index d06e55ad9a..a1c1077cbf 100644 --- a/tencentcloud/ocr/v20181119/models.go +++ b/tencentcloud/ocr/v20181119/models.go @@ -3337,14 +3337,10 @@ func (r *GeneralAccurateOCRResponse) FromJsonString(s string) error { // Predefined struct for user type GeneralBasicOCRRequestParams struct { - // 图片/PDF的 Base64 值。 - // 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。 - // 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 + // 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 ImageBase64 *string `json:"ImageBase64,omitnil,omitempty" name:"ImageBase64"` - // 图片/PDF的 Url 地址。 - // 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。 - // 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + // 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` // 保留字段。 @@ -3391,14 +3387,10 @@ type GeneralBasicOCRRequestParams struct { type GeneralBasicOCRRequest struct { *tchttp.BaseRequest - // 图片/PDF的 Base64 值。 - // 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。 - // 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 + // 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 ImageBase64 *string `json:"ImageBase64,omitnil,omitempty" name:"ImageBase64"` - // 图片/PDF的 Url 地址。 - // 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。 - // 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + // 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` // 保留字段。 @@ -6500,6 +6492,9 @@ type PermitOCRResponseParams struct { // 头像照片的base64 PortraitImage *string `json:"PortraitImage,omitnil,omitempty" name:"PortraitImage"` + // 返回类型 + Type *string `json:"Type,omitnil,omitempty" name:"Type"` + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` } diff --git a/tencentcloud/omics/go.mod b/tencentcloud/omics/go.mod index cf37cd1918..e437a9e2fc 100644 --- a/tencentcloud/omics/go.mod +++ b/tencentcloud/omics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/omics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/organization/go.mod b/tencentcloud/organization/go.mod index 3d3c4e1134..e7591d52dc 100644 --- a/tencentcloud/organization/go.mod +++ b/tencentcloud/organization/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/partners/go.mod b/tencentcloud/partners/go.mod index e94b7c1f9a..7ca423eb36 100644 --- a/tencentcloud/partners/go.mod +++ b/tencentcloud/partners/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/pds/go.mod b/tencentcloud/pds/go.mod index da1a4a2571..5fdea3e439 100644 --- a/tencentcloud/pds/go.mod +++ b/tencentcloud/pds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/postgres/go.mod b/tencentcloud/postgres/go.mod index c690e32f1b..f49a6cb48c 100644 --- a/tencentcloud/postgres/go.mod +++ b/tencentcloud/postgres/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/privatedns/go.mod b/tencentcloud/privatedns/go.mod index 2d05fb53e6..45540f262a 100644 --- a/tencentcloud/privatedns/go.mod +++ b/tencentcloud/privatedns/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/pts/go.mod b/tencentcloud/pts/go.mod index aafa75451b..7064a1987c 100644 --- a/tencentcloud/pts/go.mod +++ b/tencentcloud/pts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/rce/go.mod b/tencentcloud/rce/go.mod index 8d65a41d13..81b69e100c 100644 --- a/tencentcloud/rce/go.mod +++ b/tencentcloud/rce/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/redis/go.mod b/tencentcloud/redis/go.mod index 4b8002c829..179beabbbe 100644 --- a/tencentcloud/redis/go.mod +++ b/tencentcloud/redis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/redis/v20180412/client.go b/tencentcloud/redis/v20180412/client.go index d1ebaf4e56..0dd5a111de 100644 --- a/tencentcloud/redis/v20180412/client.go +++ b/tencentcloud/redis/v20180412/client.go @@ -2092,6 +2092,57 @@ func (c *Client) DescribeInstanceEventsWithContext(ctx context.Context, request return } +func NewDescribeInstanceLogDeliveryRequest() (request *DescribeInstanceLogDeliveryRequest) { + request = &DescribeInstanceLogDeliveryRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("redis", APIVersion, "DescribeInstanceLogDelivery") + + + return +} + +func NewDescribeInstanceLogDeliveryResponse() (response *DescribeInstanceLogDeliveryResponse) { + response = &DescribeInstanceLogDeliveryResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeInstanceLogDelivery +// 本接口(DescribeInstanceLogDelivery)用于查询实例的日志投递配置。 +// +// 可能返回的错误码: +// INTERNALERROR_INTERNALERROR = "InternalError.InternalError" +// RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" +func (c *Client) DescribeInstanceLogDelivery(request *DescribeInstanceLogDeliveryRequest) (response *DescribeInstanceLogDeliveryResponse, err error) { + return c.DescribeInstanceLogDeliveryWithContext(context.Background(), request) +} + +// DescribeInstanceLogDelivery +// 本接口(DescribeInstanceLogDelivery)用于查询实例的日志投递配置。 +// +// 可能返回的错误码: +// INTERNALERROR_INTERNALERROR = "InternalError.InternalError" +// RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" +func (c *Client) DescribeInstanceLogDeliveryWithContext(ctx context.Context, request *DescribeInstanceLogDeliveryRequest) (response *DescribeInstanceLogDeliveryResponse, err error) { + if request == nil { + request = NewDescribeInstanceLogDeliveryRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeInstanceLogDelivery require credential") + } + + request.SetContext(ctx) + + response = NewDescribeInstanceLogDeliveryResponse() + err = c.Send(request, response) + return +} + func NewDescribeInstanceMonitorBigKeyRequest() (request *DescribeInstanceMonitorBigKeyRequest) { request = &DescribeInstanceMonitorBigKeyRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -5188,6 +5239,61 @@ func (c *Client) ModifyInstanceEventWithContext(ctx context.Context, request *Mo return } +func NewModifyInstanceLogDeliveryRequest() (request *ModifyInstanceLogDeliveryRequest) { + request = &ModifyInstanceLogDeliveryRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("redis", APIVersion, "ModifyInstanceLogDelivery") + + + return +} + +func NewModifyInstanceLogDeliveryResponse() (response *ModifyInstanceLogDeliveryResponse) { + response = &ModifyInstanceLogDeliveryResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyInstanceLogDelivery +// 本接口(ModifyInstanceLogDelivery)用于开启或关闭投递实例日志到CLS。 +// +// 可能返回的错误码: +// INTERNALERROR_INTERNALERROR = "InternalError.InternalError" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported" +// RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" +func (c *Client) ModifyInstanceLogDelivery(request *ModifyInstanceLogDeliveryRequest) (response *ModifyInstanceLogDeliveryResponse, err error) { + return c.ModifyInstanceLogDeliveryWithContext(context.Background(), request) +} + +// ModifyInstanceLogDelivery +// 本接口(ModifyInstanceLogDelivery)用于开启或关闭投递实例日志到CLS。 +// +// 可能返回的错误码: +// INTERNALERROR_INTERNALERROR = "InternalError.InternalError" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported" +// RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" +func (c *Client) ModifyInstanceLogDeliveryWithContext(ctx context.Context, request *ModifyInstanceLogDeliveryRequest) (response *ModifyInstanceLogDeliveryResponse, err error) { + if request == nil { + request = NewModifyInstanceLogDeliveryRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyInstanceLogDelivery require credential") + } + + request.SetContext(ctx) + + response = NewModifyInstanceLogDeliveryResponse() + err = c.Send(request, response) + return +} + func NewModifyInstanceParamsRequest() (request *ModifyInstanceParamsRequest) { request = &ModifyInstanceParamsRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/redis/v20180412/models.go b/tencentcloud/redis/v20180412/models.go index d3d56d163f..d07b7a1263 100644 --- a/tencentcloud/redis/v20180412/models.go +++ b/tencentcloud/redis/v20180412/models.go @@ -3021,6 +3021,63 @@ func (r *DescribeInstanceEventsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeInstanceLogDeliveryRequestParams struct { + // 实例ID。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeInstanceLogDeliveryRequest struct { + *tchttp.BaseRequest + + // 实例ID。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeInstanceLogDeliveryRequest) 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 *DescribeInstanceLogDeliveryRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstanceLogDeliveryRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeInstanceLogDeliveryResponseParams struct { + // 实例慢日志投递信息。 + SlowLog *LogDeliveryInfo `json:"SlowLog,omitnil,omitempty" name:"SlowLog"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeInstanceLogDeliveryResponse struct { + *tchttp.BaseResponse + Response *DescribeInstanceLogDeliveryResponseParams `json:"Response"` +} + +func (r *DescribeInstanceLogDeliveryResponse) 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 *DescribeInstanceLogDeliveryResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeInstanceMonitorBigKeyRequestParams struct { // 实例Id @@ -7295,6 +7352,24 @@ func (r *KillMasterGroupResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type LogDeliveryInfo struct { + // 日志投递开启状态,开启:true,关闭:false + // 注意:此字段可能返回 null,表示取不到有效值。 + Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` + + // 日志集ID。 + // 注意:此字段可能返回 null,表示取不到有效值。 + LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` + + // 日志主题ID。 + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` + + // 日志集所在地域 + // 注意:此字段可能返回 null,表示取不到有效值。 + LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` +} + // Predefined struct for user type ManualBackupInstanceRequestParams struct { // 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。 @@ -8047,6 +8122,127 @@ func (r *ModifyInstanceEventResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type ModifyInstanceLogDeliveryRequestParams struct { + // 实例ID。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 日志类型。当前仅支持设置为slowlog,指慢查询日志。 + LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` + + // 日志投递开启状态。 + // - true:开启。 + // - false:关闭。 + Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` + + // 投递的日志集ID。 + LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` + + // 投递的日志主题ID。 + TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` + + // 日志集名称。若**LogsetId**未指定具体的日志集ID,请配置该参数,设置日志集名称,系统会以设置的日志集名称自动创建新的日志集。 + LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` + + // 日志主题名称,TopicId为空时必传,会自动创建新的日志主题。 + TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` + + // 日志集所在地域,不传默认使用实例所在地域。 + LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` + + // 日志存储时间,默认为30天,可选范围1-3600天。 + Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` + + // 创建日志主题时,是否创建索引。 + CreateIndex *bool `json:"CreateIndex,omitnil,omitempty" name:"CreateIndex"` +} + +type ModifyInstanceLogDeliveryRequest struct { + *tchttp.BaseRequest + + // 实例ID。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 日志类型。当前仅支持设置为slowlog,指慢查询日志。 + LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` + + // 日志投递开启状态。 + // - true:开启。 + // - false:关闭。 + Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` + + // 投递的日志集ID。 + LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` + + // 投递的日志主题ID。 + TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` + + // 日志集名称。若**LogsetId**未指定具体的日志集ID,请配置该参数,设置日志集名称,系统会以设置的日志集名称自动创建新的日志集。 + LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` + + // 日志主题名称,TopicId为空时必传,会自动创建新的日志主题。 + TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` + + // 日志集所在地域,不传默认使用实例所在地域。 + LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` + + // 日志存储时间,默认为30天,可选范围1-3600天。 + Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` + + // 创建日志主题时,是否创建索引。 + CreateIndex *bool `json:"CreateIndex,omitnil,omitempty" name:"CreateIndex"` +} + +func (r *ModifyInstanceLogDeliveryRequest) 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 *ModifyInstanceLogDeliveryRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "LogType") + delete(f, "Enabled") + delete(f, "LogsetId") + delete(f, "TopicId") + delete(f, "LogsetName") + delete(f, "TopicName") + delete(f, "LogRegion") + delete(f, "Period") + delete(f, "CreateIndex") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyInstanceLogDeliveryRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyInstanceLogDeliveryResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyInstanceLogDeliveryResponse struct { + *tchttp.BaseResponse + Response *ModifyInstanceLogDeliveryResponseParams `json:"Response"` +} + +func (r *ModifyInstanceLogDeliveryResponse) 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 *ModifyInstanceLogDeliveryResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type ModifyInstanceParamsRequestParams struct { // 实例ID。 diff --git a/tencentcloud/region/go.mod b/tencentcloud/region/go.mod index 6f0e6240e0..d5967e589d 100644 --- a/tencentcloud/region/go.mod +++ b/tencentcloud/region/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/region go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/rkp/go.mod b/tencentcloud/rkp/go.mod index 21d55dd347..468c044974 100644 --- a/tencentcloud/rkp/go.mod +++ b/tencentcloud/rkp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/rp/go.mod b/tencentcloud/rp/go.mod index faf42aa2b1..17e95e9692 100644 --- a/tencentcloud/rp/go.mod +++ b/tencentcloud/rp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/rum/go.mod b/tencentcloud/rum/go.mod index b7a6dc33c6..7b6c52081c 100644 --- a/tencentcloud/rum/go.mod +++ b/tencentcloud/rum/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/scf/go.mod b/tencentcloud/scf/go.mod index 9e5fbf54af..f959d453f1 100644 --- a/tencentcloud/scf/go.mod +++ b/tencentcloud/scf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ses/go.mod b/tencentcloud/ses/go.mod index 8668c550e9..01dd422595 100644 --- a/tencentcloud/ses/go.mod +++ b/tencentcloud/ses/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/smh/go.mod b/tencentcloud/smh/go.mod index 707e10d89d..126fc962bd 100644 --- a/tencentcloud/smh/go.mod +++ b/tencentcloud/smh/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/smop/go.mod b/tencentcloud/smop/go.mod index dd113394bd..7a2215b573 100644 --- a/tencentcloud/smop/go.mod +++ b/tencentcloud/smop/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smop go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/smpn/go.mod b/tencentcloud/smpn/go.mod index f774e0b4d9..b9724f8873 100644 --- a/tencentcloud/smpn/go.mod +++ b/tencentcloud/smpn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/sms/go.mod b/tencentcloud/sms/go.mod index 8a875c85ae..90b423991c 100644 --- a/tencentcloud/sms/go.mod +++ b/tencentcloud/sms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/soe/go.mod b/tencentcloud/soe/go.mod index cf4aa64b8b..8fe239b0e9 100644 --- a/tencentcloud/soe/go.mod +++ b/tencentcloud/soe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/solar/go.mod b/tencentcloud/solar/go.mod index 95c060ee25..de4c262787 100644 --- a/tencentcloud/solar/go.mod +++ b/tencentcloud/solar/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/sqlserver/go.mod b/tencentcloud/sqlserver/go.mod index 6cdbe328cf..d53e80fc27 100644 --- a/tencentcloud/sqlserver/go.mod +++ b/tencentcloud/sqlserver/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ssa/go.mod b/tencentcloud/ssa/go.mod index f7d2af3b01..eaf4df272c 100644 --- a/tencentcloud/ssa/go.mod +++ b/tencentcloud/ssa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ssl/go.mod b/tencentcloud/ssl/go.mod index 4ad1d062e9..66e9da994c 100644 --- a/tencentcloud/ssl/go.mod +++ b/tencentcloud/ssl/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/sslpod/go.mod b/tencentcloud/sslpod/go.mod index 583bf74a8d..5d9900da71 100644 --- a/tencentcloud/sslpod/go.mod +++ b/tencentcloud/sslpod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ssm/go.mod b/tencentcloud/ssm/go.mod index 395f2aa313..c71220a6f8 100644 --- a/tencentcloud/ssm/go.mod +++ b/tencentcloud/ssm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/sts/go.mod b/tencentcloud/sts/go.mod index 8664418459..32511a9e4c 100644 --- a/tencentcloud/sts/go.mod +++ b/tencentcloud/sts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/svp/go.mod b/tencentcloud/svp/go.mod index 773aae2dec..6c26cb5ebe 100644 --- a/tencentcloud/svp/go.mod +++ b/tencentcloud/svp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/svp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/taf/go.mod b/tencentcloud/taf/go.mod index 7f1036e93a..aa623e2f98 100644 --- a/tencentcloud/taf/go.mod +++ b/tencentcloud/taf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tag/go.mod b/tencentcloud/tag/go.mod index 89deda9200..331d2563de 100644 --- a/tencentcloud/tag/go.mod +++ b/tencentcloud/tag/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tan/go.mod b/tencentcloud/tan/go.mod index 6e05e971a5..c59e123f29 100644 --- a/tencentcloud/tan/go.mod +++ b/tencentcloud/tan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tat/go.mod b/tencentcloud/tat/go.mod index 9d62b163f9..db34ac4818 100644 --- a/tencentcloud/tat/go.mod +++ b/tencentcloud/tat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tav/go.mod b/tencentcloud/tav/go.mod index 1810d5ccde..08b65bb7c1 100644 --- a/tencentcloud/tav/go.mod +++ b/tencentcloud/tav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tbaas/go.mod b/tencentcloud/tbaas/go.mod index eda852e5b6..7e28c96136 100644 --- a/tencentcloud/tbaas/go.mod +++ b/tencentcloud/tbaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tbm/go.mod b/tencentcloud/tbm/go.mod index 1ff7f4c3bd..7fb3978aba 100644 --- a/tencentcloud/tbm/go.mod +++ b/tencentcloud/tbm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tbp/go.mod b/tencentcloud/tbp/go.mod index 5ef02ce38e..920b9a6533 100644 --- a/tencentcloud/tbp/go.mod +++ b/tencentcloud/tbp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tcaplusdb/go.mod b/tencentcloud/tcaplusdb/go.mod index 39ea00d60d..45f4e4c112 100644 --- a/tencentcloud/tcaplusdb/go.mod +++ b/tencentcloud/tcaplusdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tcb/go.mod b/tencentcloud/tcb/go.mod index ded0791305..b5a3427967 100644 --- a/tencentcloud/tcb/go.mod +++ b/tencentcloud/tcb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tcbr/go.mod b/tencentcloud/tcbr/go.mod index 67e9729dc6..27c8e96e06 100644 --- a/tencentcloud/tcbr/go.mod +++ b/tencentcloud/tcbr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcbr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tcex/go.mod b/tencentcloud/tcex/go.mod index 26096936a1..bf9133c560 100644 --- a/tencentcloud/tcex/go.mod +++ b/tencentcloud/tcex/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tchd/go.mod b/tencentcloud/tchd/go.mod index d4c6d4f677..2a91ca1831 100644 --- a/tencentcloud/tchd/go.mod +++ b/tencentcloud/tchd/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tchd go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tci/go.mod b/tencentcloud/tci/go.mod index d29616ed77..95a9440e3c 100644 --- a/tencentcloud/tci/go.mod +++ b/tencentcloud/tci/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tcm/go.mod b/tencentcloud/tcm/go.mod index 520bfabc99..944b58a102 100644 --- a/tencentcloud/tcm/go.mod +++ b/tencentcloud/tcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tcr/go.mod b/tencentcloud/tcr/go.mod index 31ba92d1d5..07e07db50a 100644 --- a/tencentcloud/tcr/go.mod +++ b/tencentcloud/tcr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tcss/go.mod b/tencentcloud/tcss/go.mod index 2532e19d82..e0dca1cbc8 100644 --- a/tencentcloud/tcss/go.mod +++ b/tencentcloud/tcss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tdcpg/go.mod b/tencentcloud/tdcpg/go.mod index 878ee373dd..215c4665ab 100644 --- a/tencentcloud/tdcpg/go.mod +++ b/tencentcloud/tdcpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdcpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tdid/go.mod b/tencentcloud/tdid/go.mod index 8a147129fa..4dffd4101a 100644 --- a/tencentcloud/tdid/go.mod +++ b/tencentcloud/tdid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tdmq/go.mod b/tencentcloud/tdmq/go.mod index 82dddd1f04..6a572eb4d6 100644 --- a/tencentcloud/tdmq/go.mod +++ b/tencentcloud/tdmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tds/go.mod b/tencentcloud/tds/go.mod index 6609b16a60..c167d941bb 100644 --- a/tencentcloud/tds/go.mod +++ b/tencentcloud/tds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tem/go.mod b/tencentcloud/tem/go.mod index 3a5664fb27..6b90552786 100644 --- a/tencentcloud/tem/go.mod +++ b/tencentcloud/tem/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/teo/go.mod b/tencentcloud/teo/go.mod index 7b438c8ae7..7c2aa2187a 100644 --- a/tencentcloud/teo/go.mod +++ b/tencentcloud/teo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/teo/v20220901/models.go b/tencentcloud/teo/v20220901/models.go index 800037df38..0ab56c73da 100644 --- a/tencentcloud/teo/v20220901/models.go +++ b/tencentcloud/teo/v20220901/models.go @@ -4315,9 +4315,6 @@ type DescribeAccelerationDomainsRequestParams struct { //
  • backup-origin: 按照备用源站地址进行过滤;
  • //
  • domain-cname:按照 CNAME 进行过滤;
  • //
  • share-cname:按照共享 CNAME 进行过滤;
  • - //
  • vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;
  • - //
  • vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;
  • - //
  • vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;
  • Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可根据该字段对返回结果进行排序,取值有: @@ -4355,9 +4352,6 @@ type DescribeAccelerationDomainsRequest struct { //
  • backup-origin: 按照备用源站地址进行过滤;
  • //
  • domain-cname:按照 CNAME 进行过滤;
  • //
  • share-cname:按照共享 CNAME 进行过滤;
  • - //
  • vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;
  • - //
  • vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;
  • - //
  • vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;
  • Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可根据该字段对返回结果进行排序,取值有: @@ -7096,8 +7090,8 @@ type DescribeTimingL4DataRequestParams struct { Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件Key值如下: - //
  • ruleId
       按照【转发规则ID】进行过滤。
  • - //
  • proxyId
       按照【四层代理实例ID】进行过滤。
  • + //
  • ruleId:按照转发规则 ID 进行过滤。
  • + //
  • proxyId:按照四层代理实例 ID 进行过滤。
  • Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: @@ -7137,8 +7131,8 @@ type DescribeTimingL4DataRequest struct { Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件Key值如下: - //
  • ruleId
       按照【转发规则ID】进行过滤。
  • - //
  • proxyId
       按照【四层代理实例ID】进行过滤。
  • + //
  • ruleId:按照转发规则 ID 进行过滤。
  • + //
  • proxyId:按照四层代理实例 ID 进行过滤。
  • Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: @@ -11536,7 +11530,6 @@ type OriginDetail struct { //
  • COS:腾讯云 COS 对象存储源站;
  • //
  • AWS_S3:AWS S3 对象存储源站;
  • //
  • ORIGIN_GROUP:源站组类型源站;
  • - //
  • VODEO:云点播-混合云版;
  • //
  • VOD:云点播;
  • //
  • SPACE:源站卸载,当前仅白名单开放;
  • //
  • LB:负载均衡,当前仅白名单开放。
  • @@ -11548,7 +11541,6 @@ type OriginDetail struct { //
  • 当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;
  • //
  • 当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;
  • //
  • 当 OriginType = VOD 时,该参数请填写云点播应用 ID ;
  • - //
  • 当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。
  • Origin *string `json:"Origin,omitnil,omitempty" name:"Origin"` // 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。 @@ -11571,12 +11563,18 @@ type OriginDetail struct { PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil,omitempty" name:"PrivateParameters"` // MO 子应用 ID + // + // Deprecated: VodeoSubAppId is deprecated. VodeoSubAppId *int64 `json:"VodeoSubAppId,omitnil,omitempty" name:"VodeoSubAppId"` // MO 分发范围,取值有:
  • All:全部
  • Bucket:存储桶
  • + // + // Deprecated: VodeoDistributionRange is deprecated. VodeoDistributionRange *string `json:"VodeoDistributionRange,omitnil,omitempty" name:"VodeoDistributionRange"` // MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填 + // + // Deprecated: VodeoBucketId is deprecated. VodeoBucketId *string `json:"VodeoBucketId,omitnil,omitempty" name:"VodeoBucketId"` } @@ -11658,14 +11656,20 @@ type OriginInfo struct { PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil,omitempty" name:"PrivateParameters"` // VODEO 子应用 ID。该参数当 OriginType = VODEO 时必填。 + // + // Deprecated: VodeoSubAppId is deprecated. VodeoSubAppId *int64 `json:"VodeoSubAppId,omitnil,omitempty" name:"VodeoSubAppId"` // VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有: //
  • All:当前应用下所有存储桶;
  • //
  • Bucket:指定的某一个存储桶。
  • + // + // Deprecated: VodeoDistributionRange is deprecated. VodeoDistributionRange *string `json:"VodeoDistributionRange,omitnil,omitempty" name:"VodeoDistributionRange"` // VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。 + // + // Deprecated: VodeoBucketId is deprecated. VodeoBucketId *string `json:"VodeoBucketId,omitnil,omitempty" name:"VodeoBucketId"` } @@ -12830,7 +12834,7 @@ type TemplateScope struct { } type TimingDataItem struct { - // 返回数据对应时间点,采用unix秒级时间戳。 + // 返回数据对应时间点,采用 unix 秒级时间戳。 Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 具体数值。 @@ -13137,7 +13141,6 @@ type Zone struct { //
  • full:NS 接入;
  • //
  • partial:CNAME 接入;
  • //
  • noDomainAccess:无域名接入;
  • - //
  • vodeo:开启 VODEO 后默认接入。
  • Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 站点是否关闭。 diff --git a/tencentcloud/thpc/go.mod b/tencentcloud/thpc/go.mod index 41816cef05..251cc195a5 100644 --- a/tencentcloud/thpc/go.mod +++ b/tencentcloud/thpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tia/go.mod b/tencentcloud/tia/go.mod index cb21d6a79b..1a081fa91f 100644 --- a/tencentcloud/tia/go.mod +++ b/tencentcloud/tia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tic/go.mod b/tencentcloud/tic/go.mod index e4b4c7f551..3d4bc88b45 100644 --- a/tencentcloud/tic/go.mod +++ b/tencentcloud/tic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ticm/go.mod b/tencentcloud/ticm/go.mod index 34f1183411..115b802682 100644 --- a/tencentcloud/ticm/go.mod +++ b/tencentcloud/ticm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tics/go.mod b/tencentcloud/tics/go.mod index f74fa72382..3750d5188b 100644 --- a/tencentcloud/tics/go.mod +++ b/tencentcloud/tics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tiems/go.mod b/tencentcloud/tiems/go.mod index 1727827f92..ba8b55023b 100644 --- a/tencentcloud/tiems/go.mod +++ b/tencentcloud/tiems/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tiia/go.mod b/tencentcloud/tiia/go.mod index 64a5b203f8..5891bc4524 100644 --- a/tencentcloud/tiia/go.mod +++ b/tencentcloud/tiia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tione/go.mod b/tencentcloud/tione/go.mod index 4c00ecca52..07973f7a4f 100644 --- a/tencentcloud/tione/go.mod +++ b/tencentcloud/tione/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tiw/go.mod b/tencentcloud/tiw/go.mod index bfe3c4ede9..388ded7c94 100644 --- a/tencentcloud/tiw/go.mod +++ b/tencentcloud/tiw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tke/go.mod b/tencentcloud/tke/go.mod index 9a280b072e..615f7a7701 100644 --- a/tencentcloud/tke/go.mod +++ b/tencentcloud/tke/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tkgdq/go.mod b/tencentcloud/tkgdq/go.mod index e0aa6c719b..45aec71c54 100644 --- a/tencentcloud/tkgdq/go.mod +++ b/tencentcloud/tkgdq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tms/go.mod b/tencentcloud/tms/go.mod index 024dd36502..70303c45fd 100644 --- a/tencentcloud/tms/go.mod +++ b/tencentcloud/tms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tmt/go.mod b/tencentcloud/tmt/go.mod index bac42f3da5..c920d1637f 100644 --- a/tencentcloud/tmt/go.mod +++ b/tencentcloud/tmt/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tourism/go.mod b/tencentcloud/tourism/go.mod index d3c326d6a6..91a5866a0b 100644 --- a/tencentcloud/tourism/go.mod +++ b/tencentcloud/tourism/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tourism go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/trdp/go.mod b/tencentcloud/trdp/go.mod index 683426949e..0b5c14c069 100644 --- a/tencentcloud/trdp/go.mod +++ b/tencentcloud/trdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/trocket/go.mod b/tencentcloud/trocket/go.mod index 94a2bfeb41..56c4fc3f35 100644 --- a/tencentcloud/trocket/go.mod +++ b/tencentcloud/trocket/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trocket go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/trp/go.mod b/tencentcloud/trp/go.mod index 22cda4b146..190e28fdc1 100644 --- a/tencentcloud/trp/go.mod +++ b/tencentcloud/trp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/trro/go.mod b/tencentcloud/trro/go.mod index 86a43a79e4..0f131a8f92 100644 --- a/tencentcloud/trro/go.mod +++ b/tencentcloud/trro/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trro go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/trtc/go.mod b/tencentcloud/trtc/go.mod index e9271e55a8..79e2928ebc 100644 --- a/tencentcloud/trtc/go.mod +++ b/tencentcloud/trtc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tse/go.mod b/tencentcloud/tse/go.mod index e9a65de915..4087a89eee 100644 --- a/tencentcloud/tse/go.mod +++ b/tencentcloud/tse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tsf/go.mod b/tencentcloud/tsf/go.mod index f6c3c3520d..72d6c21d01 100644 --- a/tencentcloud/tsf/go.mod +++ b/tencentcloud/tsf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tsf/v20180326/models.go b/tencentcloud/tsf/v20180326/models.go index 8538cb5e04..015a9cbf22 100644 --- a/tencentcloud/tsf/v20180326/models.go +++ b/tencentcloud/tsf/v20180326/models.go @@ -579,6 +579,18 @@ type ApiRateLimitRule struct { // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"` + + // 分页参数limit + // 注意:此字段可能返回 null,表示取不到有效值。 + Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 分页参数offset + // 注意:此字段可能返回 null,表示取不到有效值。 + Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` + + // AppId + // 注意:此字段可能返回 null,表示取不到有效值。 + AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` } type ApiRequestDescr struct { @@ -2336,6 +2348,9 @@ type CreateAllGatewayApiAsyncRequestParams struct { // 微服务ID MicroserviceId *string `json:"MicroserviceId,omitnil,omitempty" name:"MicroserviceId"` + + // 命名空间ID + NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"` } type CreateAllGatewayApiAsyncRequest struct { @@ -2346,6 +2361,9 @@ type CreateAllGatewayApiAsyncRequest struct { // 微服务ID MicroserviceId *string `json:"MicroserviceId,omitnil,omitempty" name:"MicroserviceId"` + + // 命名空间ID + NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"` } func (r *CreateAllGatewayApiAsyncRequest) ToJsonString() string { @@ -2362,6 +2380,7 @@ func (r *CreateAllGatewayApiAsyncRequest) FromJsonString(s string) error { } delete(f, "GroupId") delete(f, "MicroserviceId") + delete(f, "NamespaceId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateAllGatewayApiAsyncRequest has unknown keys!", "") } diff --git a/tencentcloud/tsi/go.mod b/tencentcloud/tsi/go.mod index 6d47abf5fc..a58ea6b193 100644 --- a/tencentcloud/tsi/go.mod +++ b/tencentcloud/tsi/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsi go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tsw/go.mod b/tencentcloud/tsw/go.mod index 3a6a0f1ff3..beedd92688 100644 --- a/tencentcloud/tsw/go.mod +++ b/tencentcloud/tsw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/tts/go.mod b/tencentcloud/tts/go.mod index 5eda41be01..6591e89542 100644 --- a/tencentcloud/tts/go.mod +++ b/tencentcloud/tts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/ump/go.mod b/tencentcloud/ump/go.mod index 15ee2abc03..c0a02bd57b 100644 --- a/tencentcloud/ump/go.mod +++ b/tencentcloud/ump/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vcg/go.mod b/tencentcloud/vcg/go.mod index 6c3f4f265f..9283421476 100644 --- a/tencentcloud/vcg/go.mod +++ b/tencentcloud/vcg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vcg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vclm/go.mod b/tencentcloud/vclm/go.mod index de98c98e8c..eadbda3eba 100644 --- a/tencentcloud/vclm/go.mod +++ b/tencentcloud/vclm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vclm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vdb/go.mod b/tencentcloud/vdb/go.mod index e51492b8d2..d430cb6872 100644 --- a/tencentcloud/vdb/go.mod +++ b/tencentcloud/vdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vdb/v20230616/client.go b/tencentcloud/vdb/v20230616/client.go index aba730688f..6cc926ba79 100644 --- a/tencentcloud/vdb/v20230616/client.go +++ b/tencentcloud/vdb/v20230616/client.go @@ -45,6 +45,171 @@ func NewClient(credential common.CredentialIface, region string, clientProfile * } +func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest) { + request = &AssociateSecurityGroupsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vdb", APIVersion, "AssociateSecurityGroups") + + + return +} + +func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse) { + response = &AssociateSecurityGroupsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// AssociateSecurityGroups +// 本接口 (AssociateSecurityGroups) 用于安全组批量绑定多个指定实例。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error) { + return c.AssociateSecurityGroupsWithContext(context.Background(), request) +} + +// AssociateSecurityGroups +// 本接口 (AssociateSecurityGroups) 用于安全组批量绑定多个指定实例。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error) { + if request == nil { + request = NewAssociateSecurityGroupsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("AssociateSecurityGroups require credential") + } + + request.SetContext(ctx) + + response = NewAssociateSecurityGroupsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDBSecurityGroupsRequest() (request *DescribeDBSecurityGroupsRequest) { + request = &DescribeDBSecurityGroupsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vdb", APIVersion, "DescribeDBSecurityGroups") + + + return +} + +func NewDescribeDBSecurityGroupsResponse() (response *DescribeDBSecurityGroupsResponse) { + response = &DescribeDBSecurityGroupsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeDBSecurityGroups +// 本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error) { + return c.DescribeDBSecurityGroupsWithContext(context.Background(), request) +} + +// DescribeDBSecurityGroups +// 本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error) { + if request == nil { + request = NewDescribeDBSecurityGroupsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeDBSecurityGroups require credential") + } + + request.SetContext(ctx) + + response = NewDescribeDBSecurityGroupsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeInstanceNodesRequest() (request *DescribeInstanceNodesRequest) { + request = &DescribeInstanceNodesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vdb", APIVersion, "DescribeInstanceNodes") + + + return +} + +func NewDescribeInstanceNodesResponse() (response *DescribeInstanceNodesResponse) { + response = &DescribeInstanceNodesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeInstanceNodes +// 实例节点列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeInstanceNodes(request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error) { + return c.DescribeInstanceNodesWithContext(context.Background(), request) +} + +// DescribeInstanceNodes +// 实例节点列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeInstanceNodesWithContext(ctx context.Context, request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error) { + if request == nil { + request = NewDescribeInstanceNodesRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeInstanceNodes require credential") + } + + request.SetContext(ctx) + + response = NewDescribeInstanceNodesResponse() + err = c.Send(request, response) + return +} + func NewDescribeInstancesRequest() (request *DescribeInstancesRequest) { request = &DescribeInstancesRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -95,3 +260,125 @@ func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *Desc err = c.Send(request, response) return } + +func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest) { + request = &DisassociateSecurityGroupsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vdb", APIVersion, "DisassociateSecurityGroups") + + + return +} + +func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse) { + response = &DisassociateSecurityGroupsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DisassociateSecurityGroups +// 本接口(DisassociateSecurityGroups)用于安全组批量解绑实例。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error) { + return c.DisassociateSecurityGroupsWithContext(context.Background(), request) +} + +// DisassociateSecurityGroups +// 本接口(DisassociateSecurityGroups)用于安全组批量解绑实例。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error) { + if request == nil { + request = NewDisassociateSecurityGroupsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DisassociateSecurityGroups require credential") + } + + request.SetContext(ctx) + + response = NewDisassociateSecurityGroupsResponse() + err = c.Send(request, response) + return +} + +func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest) { + request = &ModifyDBInstanceSecurityGroupsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vdb", APIVersion, "ModifyDBInstanceSecurityGroups") + + + return +} + +func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse) { + response = &ModifyDBInstanceSecurityGroupsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyDBInstanceSecurityGroups +// 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error) { + return c.ModifyDBInstanceSecurityGroupsWithContext(context.Background(), request) +} + +// ModifyDBInstanceSecurityGroups +// 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error) { + if request == nil { + request = NewModifyDBInstanceSecurityGroupsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyDBInstanceSecurityGroups require credential") + } + + request.SetContext(ctx) + + response = NewModifyDBInstanceSecurityGroupsResponse() + err = c.Send(request, response) + return +} diff --git a/tencentcloud/vdb/v20230616/errors.go b/tencentcloud/vdb/v20230616/errors.go index c33a4ce685..03b7841b26 100644 --- a/tencentcloud/vdb/v20230616/errors.go +++ b/tencentcloud/vdb/v20230616/errors.go @@ -22,4 +22,25 @@ const ( // 操作失败。 FAILEDOPERATION = "FailedOperation" + + // 内部错误。 + INTERNALERROR = "InternalError" + + // 参数错误。 + INVALIDPARAMETER = "InvalidParameter" + + // 超过配额限制。 + LIMITEXCEEDED = "LimitExceeded" + + // 请求的次数超过了频率限制。 + REQUESTLIMITEXCEEDED = "RequestLimitExceeded" + + // 资源不存在。 + RESOURCENOTFOUND = "ResourceNotFound" + + // 资源不可用。 + RESOURCEUNAVAILABLE = "ResourceUnavailable" + + // 未授权操作。 + UNAUTHORIZEDOPERATION = "UnauthorizedOperation" ) diff --git a/tencentcloud/vdb/v20230616/models.go b/tencentcloud/vdb/v20230616/models.go index c8631aba24..3a247173af 100644 --- a/tencentcloud/vdb/v20230616/models.go +++ b/tencentcloud/vdb/v20230616/models.go @@ -20,6 +20,183 @@ import ( "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" ) +// Predefined struct for user +type AssociateSecurityGroupsRequestParams struct { + // 要绑定的安全组 ID,类似sg-efil7***。 + SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 实例 ID,格式如:vdb-c1nl9***,支持指定多个实例 + InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` +} + +type AssociateSecurityGroupsRequest struct { + *tchttp.BaseRequest + + // 要绑定的安全组 ID,类似sg-efil7***。 + SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 实例 ID,格式如:vdb-c1nl9***,支持指定多个实例 + InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` +} + +func (r *AssociateSecurityGroupsRequest) 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 *AssociateSecurityGroupsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SecurityGroupIds") + delete(f, "InstanceIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AssociateSecurityGroupsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type AssociateSecurityGroupsResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type AssociateSecurityGroupsResponse struct { + *tchttp.BaseResponse + Response *AssociateSecurityGroupsResponseParams `json:"Response"` +} + +func (r *AssociateSecurityGroupsResponse) 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 *AssociateSecurityGroupsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeDBSecurityGroupsRequestParams struct { + // 实例ID,格式如:vdb-c1nl9***。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeDBSecurityGroupsRequest struct { + *tchttp.BaseRequest + + // 实例ID,格式如:vdb-c1nl9***。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeDBSecurityGroupsRequest) 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 *DescribeDBSecurityGroupsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDBSecurityGroupsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeDBSecurityGroupsResponseParams struct { + // 安全组规则。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Groups []*SecurityGroup `json:"Groups,omitnil,omitempty" name:"Groups"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeDBSecurityGroupsResponse struct { + *tchttp.BaseResponse + Response *DescribeDBSecurityGroupsResponseParams `json:"Response"` +} + +func (r *DescribeDBSecurityGroupsResponse) 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 *DescribeDBSecurityGroupsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeInstanceNodesRequestParams struct { + +} + +type DescribeInstanceNodesRequest struct { + *tchttp.BaseRequest + +} + +func (r *DescribeInstanceNodesRequest) 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 *DescribeInstanceNodesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInstanceNodesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeInstanceNodesResponseParams struct { + // 实例pod列表。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Items []*NodeInfo `json:"Items,omitnil,omitempty" name:"Items"` + + // 查询结果总数量。 + TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeInstanceNodesResponse struct { + *tchttp.BaseResponse + Response *DescribeInstanceNodesResponseParams `json:"Response"` +} + +func (r *DescribeInstanceNodesResponse) 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 *DescribeInstanceNodesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeInstancesRequestParams struct { // 实例ID数组。 @@ -165,6 +342,93 @@ func (r *DescribeInstancesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DisassociateSecurityGroupsRequestParams struct { + // 要绑定的安全组 ID,类似sg-efil****。 + SecurityGroupIds *string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 实例 ID,格式如:vdb-c1nl****,支持指定多个实例。 + InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` +} + +type DisassociateSecurityGroupsRequest struct { + *tchttp.BaseRequest + + // 要绑定的安全组 ID,类似sg-efil****。 + SecurityGroupIds *string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 实例 ID,格式如:vdb-c1nl****,支持指定多个实例。 + InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` +} + +func (r *DisassociateSecurityGroupsRequest) 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 *DisassociateSecurityGroupsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SecurityGroupIds") + delete(f, "InstanceIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DisassociateSecurityGroupsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DisassociateSecurityGroupsResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DisassociateSecurityGroupsResponse struct { + *tchttp.BaseResponse + Response *DisassociateSecurityGroupsResponseParams `json:"Response"` +} + +func (r *DisassociateSecurityGroupsResponse) 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 *DisassociateSecurityGroupsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type Inbound struct { + // 策略,ACCEPT或者DROP。 + Action *string `json:"Action,omitnil,omitempty" name:"Action"` + + // 地址组id代表的地址集合。 + AddressModule *string `json:"AddressModule,omitnil,omitempty" name:"AddressModule"` + + // 来源Ip或Ip段,例如192.168.0.0/16。 + CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"` + + // 描述。 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` + + // 网络协议,支持udp、tcp等。 + IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"` + + // 端口。 + PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"` + + // 服务组id代表的协议和端口集合。 + ServiceModule *string `json:"ServiceModule,omitnil,omitempty" name:"ServiceModule"` + + // 安全组id代表的地址集合。 + Id *string `json:"Id,omitnil,omitempty" name:"Id"` +} + type InstanceInfo struct { // 实例ID。 // 注意:此字段可能返回 null,表示取不到有效值。 @@ -275,6 +539,67 @@ type InstanceInfo struct { AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` } +// Predefined struct for user +type ModifyDBInstanceSecurityGroupsRequestParams struct { + // 要修改的安全组ID列表,一个或者多个安全组 ID 组成的数组。 + SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 实例ID,格式如:vdb-c9s3****。 + InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` +} + +type ModifyDBInstanceSecurityGroupsRequest struct { + *tchttp.BaseRequest + + // 要修改的安全组ID列表,一个或者多个安全组 ID 组成的数组。 + SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 实例ID,格式如:vdb-c9s3****。 + InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` +} + +func (r *ModifyDBInstanceSecurityGroupsRequest) 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 *ModifyDBInstanceSecurityGroupsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SecurityGroupIds") + delete(f, "InstanceIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDBInstanceSecurityGroupsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyDBInstanceSecurityGroupsResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyDBInstanceSecurityGroupsResponse struct { + *tchttp.BaseResponse + Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"` +} + +func (r *ModifyDBInstanceSecurityGroupsResponse) 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 *ModifyDBInstanceSecurityGroupsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type Network struct { // VpcId(VPC网络下有效) // 注意:此字段可能返回 null,表示取不到有效值。 @@ -293,6 +618,64 @@ type Network struct { Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` } +type NodeInfo struct { + // Pod名称。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` +} + +type Outbound struct { + // 策略,ACCEPT或者DROP。 + Action *string `json:"Action,omitnil,omitempty" name:"Action"` + + // 地址组id代表的地址集合。 + AddressModule *string `json:"AddressModule,omitnil,omitempty" name:"AddressModule"` + + // 来源Ip或Ip段,例如192.168.0.0/16。 + CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"` + + // 描述。 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` + + // 网络协议,支持udp、tcp等。 + IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"` + + // 端口。 + PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"` + + // 服务组id代表的协议和端口集合。 + ServiceModule *string `json:"ServiceModule,omitnil,omitempty" name:"ServiceModule"` + + // 安全组id代表的地址集合。 + Id *string `json:"Id,omitnil,omitempty" name:"Id"` +} + +type SecurityGroup struct { + // 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。 + CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` + + // 项目ID。 + ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` + + // 安全组ID。 + SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"` + + // 安全组名称。 + SecurityGroupName *string `json:"SecurityGroupName,omitnil,omitempty" name:"SecurityGroupName"` + + // 安全组备注。 + SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil,omitempty" name:"SecurityGroupRemark"` + + // 出站规则。 + Outbound []*Outbound `json:"Outbound,omitnil,omitempty" name:"Outbound"` + + // 入站规则。 + Inbound []*Inbound `json:"Inbound,omitnil,omitempty" name:"Inbound"` + + // 修改时间,时间格式:yyyy-mm-dd hh:mm:ss。 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` +} + type Tag struct { // 标签键 // 注意:此字段可能返回 null,表示取不到有效值。 diff --git a/tencentcloud/vm/go.mod b/tencentcloud/vm/go.mod index 433a4a8ee6..7767e62e20 100644 --- a/tencentcloud/vm/go.mod +++ b/tencentcloud/vm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vms/go.mod b/tencentcloud/vms/go.mod index 95c9dd0c37..81df0dd3ad 100644 --- a/tencentcloud/vms/go.mod +++ b/tencentcloud/vms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vod/go.mod b/tencentcloud/vod/go.mod index 9483a95454..ecb035fee8 100644 --- a/tencentcloud/vod/go.mod +++ b/tencentcloud/vod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vpc/go.mod b/tencentcloud/vpc/go.mod index cff6c5a306..4bc1e52886 100644 --- a/tencentcloud/vpc/go.mod +++ b/tencentcloud/vpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vpc/v20170312/models.go b/tencentcloud/vpc/v20170312/models.go index e9e4915683..ae1619ca0c 100644 --- a/tencentcloud/vpc/v20170312/models.go +++ b/tencentcloud/vpc/v20170312/models.go @@ -28039,7 +28039,7 @@ func (r *ReturnNormalAddressesResponse) FromJsonString(s string) error { } type Route struct { - // 目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。 + // 创建IPv4目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。 DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"` // 下一跳类型,目前我们支持的类型有: @@ -28048,10 +28048,12 @@ type Route struct { // DIRECTCONNECT:专线网关; // PEERCONNECTION:对等连接; // HAVIP:高可用虚拟IP; - // NAT:NAT网关; + // NAT:公网NAT网关; // NORMAL_CVM:普通云服务器; // EIP:云服务器的公网IP; - // LOCAL_GATEWAY:本地网关。 + // LOCAL_GATEWAY:CDC本地网关; + // INTRANAT:私网NAT网关; + // USER_CCN;云联网(自定义路由)。 GatewayType *string `json:"GatewayType,omitnil,omitempty" name:"GatewayType"` // 下一跳地址,这里只需要指定不同下一跳类型的网关ID,系统会自动匹配到下一跳地址。 @@ -28080,14 +28082,14 @@ type Route struct { // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitnil,omitempty" name:"RouteTableId"` - // 目的IPv6网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。 + // 创建IPv6目的网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。 // 注意:此字段可能返回 null,表示取不到有效值。 DestinationIpv6CidrBlock *string `json:"DestinationIpv6CidrBlock,omitnil,omitempty" name:"DestinationIpv6CidrBlock"` // 路由唯一策略ID。 RouteItemId *string `json:"RouteItemId,omitnil,omitempty" name:"RouteItemId"` - // 路由策略是否发布到云联网。 + // 路由策略是否发布到云联网。该字段仅做出参使用,作为入参字段时此参数不生效。 // 注意:此字段可能返回 null,表示取不到有效值。 PublishedToVbc *bool `json:"PublishedToVbc,omitnil,omitempty" name:"PublishedToVbc"` diff --git a/tencentcloud/vrs/go.mod b/tencentcloud/vrs/go.mod index 16642ce8eb..ba96974810 100644 --- a/tencentcloud/vrs/go.mod +++ b/tencentcloud/vrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/vtc/go.mod b/tencentcloud/vtc/go.mod index 7d4df6be53..58a46f04db 100644 --- a/tencentcloud/vtc/go.mod +++ b/tencentcloud/vtc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vtc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/waf/go.mod b/tencentcloud/waf/go.mod index f478838055..ee0cedd707 100644 --- a/tencentcloud/waf/go.mod +++ b/tencentcloud/waf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/wav/go.mod b/tencentcloud/wav/go.mod index 3ecbc9e189..a8304a8734 100644 --- a/tencentcloud/wav/go.mod +++ b/tencentcloud/wav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/wedata/go.mod b/tencentcloud/wedata/go.mod index d138cba17b..0902ac1ba1 100644 --- a/tencentcloud/wedata/go.mod +++ b/tencentcloud/wedata/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/weilingwith/go.mod b/tencentcloud/weilingwith/go.mod index a6062e91e6..1790c72ec8 100644 --- a/tencentcloud/weilingwith/go.mod +++ b/tencentcloud/weilingwith/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/weilingwith go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/wss/go.mod b/tencentcloud/wss/go.mod index cbe317081a..adb95fd60b 100644 --- a/tencentcloud/wss/go.mod +++ b/tencentcloud/wss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/yinsuda/go.mod b/tencentcloud/yinsuda/go.mod index 8d78bb19b0..d68c20febe 100644 --- a/tencentcloud/yinsuda/go.mod +++ b/tencentcloud/yinsuda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yinsuda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/youmall/go.mod b/tencentcloud/youmall/go.mod index ceb365e0a1..2e2539e870 100644 --- a/tencentcloud/youmall/go.mod +++ b/tencentcloud/youmall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/yunjing/go.mod b/tencentcloud/yunjing/go.mod index 33c670ed9f..8f29b07900 100644 --- a/tencentcloud/yunjing/go.mod +++ b/tencentcloud/yunjing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/tencentcloud/yunsou/go.mod b/tencentcloud/yunsou/go.mod index 38bbb4509d..f3a8984168 100644 --- a/tencentcloud/yunsou/go.mod +++ b/tencentcloud/yunsou/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 diff --git a/testing/go.mod b/testing/go.mod index fbd50f1580..21662974aa 100644 --- a/testing/go.mod +++ b/testing/go.mod @@ -70,7 +70,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v0.0.0 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.999 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1000 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v0.0.0