diff --git a/CHANGELOG.md b/CHANGELOG.md
index c12d0691db..949dd5fdbf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,319 @@
+# Release 3.0.1056.1
+
+## 语音识别(asr) 版本:2019-06-14
+
+### 第 32 次发布
+
+发布时间:2024-02-02 01:05:31
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增接口:
+
+* [VoicePrintCompare](https://cloud.tencent.com/document/api/1093/103720)
+
+新增数据结构:
+
+* [VoicePrintCompareData](https://cloud.tencent.com/document/api/1093/37824#VoicePrintCompareData)
+
+
+
+## 品牌经营管家(bma) 版本:2022-11-15
+
+### 第 11 次发布
+
+发布时间:2024-02-02 01:06:13
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改数据结构:
+
+* [FakeURLData](https://cloud.tencent.com/document/api/1296/86604#FakeURLData)
+
+ * 新增成员:OfflineTime
+
+
+
+
+## 品牌经营管家(bma) 版本:2021-06-24
+
+
+
+## 云安全一体化平台(csip) 版本:2022-11-21
+
+### 第 31 次发布
+
+发布时间:2024-02-02 01:09:24
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [DescribeCVMAssets](https://cloud.tencent.com/document/api/664/90821)
+
+ * 新增入参:MemberId
+
+ * 新增出参:AssetMapInstanceTypeList
+
+* [DescribeVULRiskAdvanceCFGList](https://cloud.tencent.com/document/api/664/100951)
+
+ * 新增入参:MemberId
+
+ * 新增出参:VulTagList
+
+
+新增数据结构:
+
+* [AssetInstanceTypeMap](https://cloud.tencent.com/document/api/664/90825#AssetInstanceTypeMap)
+* [Element](https://cloud.tencent.com/document/api/664/90825#Element)
+* [ServiceSupport](https://cloud.tencent.com/document/api/664/90825#ServiceSupport)
+
+修改数据结构:
+
+* [CVMAssetVO](https://cloud.tencent.com/document/api/664/90825#CVMAssetVO)
+
+ * 新增成员:CVMAgentStatus, CVMStatus, DefenseModel, TatStatus, CpuTrend, MemoryTrend, AgentStatus, CloseDefenseCount, InstanceState, SecurityGroupIds, AgentMemRss, AgentCpuPer
+
+* [RiskCenterStatusKey](https://cloud.tencent.com/document/api/664/90825#RiskCenterStatusKey)
+
+ * **修改成员**:AppId
+
+* [VULRiskAdvanceCFGList](https://cloud.tencent.com/document/api/664/90825#VULRiskAdvanceCFGList)
+
+ * 新增成员:Payload, References, CVSS, AttackHeat, ServiceSupport, RecentScanTime
+
+
+
+
+## 主机安全(cwp) 版本:2018-02-28
+
+### 第 108 次发布
+
+发布时间:2024-02-02 01:09:36
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [DescribeNetAttackSetting](https://cloud.tencent.com/document/api/296/99476)
+
+ * 新增出参:Scope, InstanceIds, ExcludeInstanceIds, AutoInclude
+
+* [DescribeVulDefenceSetting](https://cloud.tencent.com/document/api/296/99659)
+
+ * 新增出参:InstanceIds, AutoInclude, ExcludeInstanceIds
+
+* [ModifyNetAttackSetting](https://cloud.tencent.com/document/api/296/99456)
+
+ * 新增入参:Scope, InstanceIds, ExcludeInstanceIds, AutoInclude
+
+* [ModifyVulDefenceSetting](https://cloud.tencent.com/document/api/296/99545)
+
+ * 新增入参:ExcludeInstanceIds, AutoInclude, InstanceIds
+
+
+
+
+## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26
+
+### 第 152 次发布
+
+发布时间:2024-02-02 01:13:44
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改数据结构:
+
+* [RegistrationOrganizationInfo](https://cloud.tencent.com/document/api/1420/61525#RegistrationOrganizationInfo)
+
+ * 新增成员:BusinessLicense
+
+
+
+
+## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22
+
+
+
+## 物联网开发平台(iotexplorer) 版本:2019-04-23
+
+### 第 55 次发布
+
+发布时间:2024-02-02 01:15:04
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [UploadFirmware](https://cloud.tencent.com/document/api/1081/53872)
+
+ * 新增入参:FirmwareUserDefined
+
+
+修改数据结构:
+
+* [InstanceDetail](https://cloud.tencent.com/document/api/1081/34988#InstanceDetail)
+
+ * 新增成员:Description, Status
+
+* [ProductEntry](https://cloud.tencent.com/document/api/1081/34988#ProductEntry)
+
+ * 新增成员:DeviceCount
+
+
+
+
+## 智能视图计算平台(iss) 版本:2023-05-17
+
+### 第 11 次发布
+
+发布时间:2024-02-02 01:16:04
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [AddUserDevice](https://cloud.tencent.com/document/api/1344/95876)
+
+ * 新增入参:SNCode
+
+
+
+
+## SSL 证书(ssl) 版本:2019-12-05
+
+### 第 54 次发布
+
+发布时间:2024-02-02 01:20:24
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [ApplyCertificate](https://cloud.tencent.com/document/api/400/41678)
+
+ * 新增入参:DnsNames
+
+
+
+
+## 容器安全服务(tcss) 版本:2020-11-01
+
+### 第 60 次发布
+
+发布时间:2024-02-02 01:21:42
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [DescribeImageAuthorizedInfo](https://cloud.tencent.com/document/api/1285/65473)
+
+ * 新增出参:TrialAuthorizedCnt, UsedTrialAuthorizedCnt, PurchasedAuthorizedCnt, UsedPurchasedAuthorizedCnt, CanApplyFreeImageAuthorize
+
+
+
+
+## TI-ONE 训练平台(tione) 版本:2021-11-11
+
+### 第 51 次发布
+
+发布时间:2024-02-02 01:23:26
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增数据结构:
+
+* [DefaultInnerCallInfo](https://cloud.tencent.com/document/api/851/75051#DefaultInnerCallInfo)
+* [PrivateLinkInfo](https://cloud.tencent.com/document/api/851/75051#PrivateLinkInfo)
+
+修改数据结构:
+
+* [InferCodeInfo](https://cloud.tencent.com/document/api/851/75051#InferCodeInfo)
+
+ * **修改成员**:CosPathInfo
+
+* [IngressPrivateLinkInfo](https://cloud.tencent.com/document/api/851/75051#IngressPrivateLinkInfo)
+
+ * 新增成员:State
+
+* [IntranetCallInfo](https://cloud.tencent.com/document/api/851/75051#IntranetCallInfo)
+
+ * 新增成员:PrivateLinkInfos, DefaultInnerCallInfos
+
+* [Service](https://cloud.tencent.com/document/api/851/75051#Service)
+
+ * 新增成员:ResourceGroupSWType
+
+* [ServiceCallInfo](https://cloud.tencent.com/document/api/851/75051#ServiceCallInfo)
+
+ * 新增成员:AuthorizationEnable
+
+* [ServiceGroup](https://cloud.tencent.com/document/api/851/75051#ServiceGroup)
+
+ * 新增成员:ReplicasCount, AvailableReplicasCount
+
+* [ServiceInfo](https://cloud.tencent.com/document/api/851/75051#ServiceInfo)
+
+ * **修改成员**:PodList
+
+
+
+
+## TI-ONE 训练平台(tione) 版本:2019-10-22
+
+
+
+## 微服务引擎(tse) 版本:2020-12-07
+
+### 第 57 次发布
+
+发布时间:2024-02-02 01:24:40
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增接口:
+
+* [BindAutoScalerResourceStrategyToGroups](https://cloud.tencent.com/document/api/1364/103728)
+* [CreateAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103727)
+* [DeleteAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103726)
+* [DescribeAutoScalerResourceStrategies](https://cloud.tencent.com/document/api/1364/103725)
+* [DescribeAutoScalerResourceStrategyBindingGroups](https://cloud.tencent.com/document/api/1364/103724)
+* [DescribePublicNetwork](https://cloud.tencent.com/document/api/1364/103723)
+* [ModifyAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103722)
+* [UnbindAutoScalerResourceStrategyFromGroups](https://cloud.tencent.com/document/api/1364/103721)
+
+新增数据结构:
+
+* [CloudNativeAPIGatewayStrategyBindingGroupInfo](https://cloud.tencent.com/document/api/1364/54942#CloudNativeAPIGatewayStrategyBindingGroupInfo)
+* [DescribePublicNetworkResult](https://cloud.tencent.com/document/api/1364/54942#DescribePublicNetworkResult)
+* [ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult)
+* [ListCloudNativeAPIGatewayStrategyResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyResult)
+
+
+
# Release 3.0.1055.1
## 腾讯电子签企业版(ess) 版本:2020-11-11
diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md
index 7e3dd65bcd..fe95bb7c72 100644
--- a/SERVICE_CHANGELOG.md
+++ b/SERVICE_CHANGELOG.md
@@ -1,10 +1,53 @@
# 本版本更新包含以下内容:
-## 腾讯电子签企业版(ess) 版本:2020-11-11
+## 语音识别(asr) 版本:2019-06-14
-### 第 149 次发布
+### 第 32 次发布
-发布时间:2024-01-31 11:46:30
+发布时间:2024-02-02 01:05:31
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增接口:
+
+* [VoicePrintCompare](https://cloud.tencent.com/document/api/1093/103720)
+
+新增数据结构:
+
+* [VoicePrintCompareData](https://cloud.tencent.com/document/api/1093/37824#VoicePrintCompareData)
+
+
+
+## 品牌经营管家(bma) 版本:2022-11-15
+
+### 第 11 次发布
+
+发布时间:2024-02-02 01:06:13
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改数据结构:
+
+* [FakeURLData](https://cloud.tencent.com/document/api/1296/86604#FakeURLData)
+
+ * 新增成员:OfflineTime
+
+
+
+
+## 品牌经营管家(bma) 版本:2021-06-24
+
+
+
+## 云安全一体化平台(csip) 版本:2022-11-21
+
+### 第 31 次发布
+
+发布时间:2024-02-02 01:09:24
本次发布包含了以下内容:
@@ -12,22 +55,47 @@
修改接口:
-* [CreateFlowEvidenceReport](https://cloud.tencent.com/document/api/1323/79686)
+* [DescribeCVMAssets](https://cloud.tencent.com/document/api/664/90821)
- * 新增入参:ReportType
+ * 新增入参:MemberId
-* [DescribeFlowEvidenceReport](https://cloud.tencent.com/document/api/1323/83441)
+ * 新增出参:AssetMapInstanceTypeList
- * 新增入参:ReportType
+* [DescribeVULRiskAdvanceCFGList](https://cloud.tencent.com/document/api/664/100951)
+ * 新增入参:MemberId
+ * 新增出参:VulTagList
-## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26
+新增数据结构:
-### 第 151 次发布
+* [AssetInstanceTypeMap](https://cloud.tencent.com/document/api/664/90825#AssetInstanceTypeMap)
+* [Element](https://cloud.tencent.com/document/api/664/90825#Element)
+* [ServiceSupport](https://cloud.tencent.com/document/api/664/90825#ServiceSupport)
-发布时间:2024-01-31 11:46:10
+修改数据结构:
+
+* [CVMAssetVO](https://cloud.tencent.com/document/api/664/90825#CVMAssetVO)
+
+ * 新增成员:CVMAgentStatus, CVMStatus, DefenseModel, TatStatus, CpuTrend, MemoryTrend, AgentStatus, CloseDefenseCount, InstanceState, SecurityGroupIds, AgentMemRss, AgentCpuPer
+
+* [RiskCenterStatusKey](https://cloud.tencent.com/document/api/664/90825#RiskCenterStatusKey)
+
+ * **修改成员**:AppId
+
+* [VULRiskAdvanceCFGList](https://cloud.tencent.com/document/api/664/90825#VULRiskAdvanceCFGList)
+
+ * 新增成员:Payload, References, CVSS, AttackHeat, ServiceSupport, RecentScanTime
+
+
+
+
+## 主机安全(cwp) 版本:2018-02-28
+
+### 第 108 次发布
+
+发布时间:2024-02-02 01:09:36
本次发布包含了以下内容:
@@ -35,13 +103,40 @@
修改接口:
-* [CreateChannelFlowEvidenceReport](https://cloud.tencent.com/document/api/1420/79688)
+* [DescribeNetAttackSetting](https://cloud.tencent.com/document/api/296/99476)
- * 新增入参:ReportType
+ * 新增出参:Scope, InstanceIds, ExcludeInstanceIds, AutoInclude
-* [DescribeChannelFlowEvidenceReport](https://cloud.tencent.com/document/api/1420/83442)
+* [DescribeVulDefenceSetting](https://cloud.tencent.com/document/api/296/99659)
- * 新增入参:ReportType
+ * 新增出参:InstanceIds, AutoInclude, ExcludeInstanceIds
+
+* [ModifyNetAttackSetting](https://cloud.tencent.com/document/api/296/99456)
+
+ * 新增入参:Scope, InstanceIds, ExcludeInstanceIds, AutoInclude
+
+* [ModifyVulDefenceSetting](https://cloud.tencent.com/document/api/296/99545)
+
+ * 新增入参:ExcludeInstanceIds, AutoInclude, InstanceIds
+
+
+
+
+## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26
+
+### 第 152 次发布
+
+发布时间:2024-02-02 01:13:44
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改数据结构:
+
+* [RegistrationOrganizationInfo](https://cloud.tencent.com/document/api/1420/61525#RegistrationOrganizationInfo)
+
+ * 新增成员:BusinessLicense
@@ -50,6 +145,175 @@
+## 物联网开发平台(iotexplorer) 版本:2019-04-23
+
+### 第 55 次发布
+
+发布时间:2024-02-02 01:15:04
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [UploadFirmware](https://cloud.tencent.com/document/api/1081/53872)
+
+ * 新增入参:FirmwareUserDefined
+
+
+修改数据结构:
+
+* [InstanceDetail](https://cloud.tencent.com/document/api/1081/34988#InstanceDetail)
+
+ * 新增成员:Description, Status
+
+* [ProductEntry](https://cloud.tencent.com/document/api/1081/34988#ProductEntry)
+
+ * 新增成员:DeviceCount
+
+
+
+
+## 智能视图计算平台(iss) 版本:2023-05-17
+
+### 第 11 次发布
+
+发布时间:2024-02-02 01:16:04
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [AddUserDevice](https://cloud.tencent.com/document/api/1344/95876)
+
+ * 新增入参:SNCode
+
+
+
+
+## SSL 证书(ssl) 版本:2019-12-05
+
+### 第 54 次发布
+
+发布时间:2024-02-02 01:20:24
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [ApplyCertificate](https://cloud.tencent.com/document/api/400/41678)
+
+ * 新增入参:DnsNames
+
+
+
+
+## 容器安全服务(tcss) 版本:2020-11-01
+
+### 第 60 次发布
+
+发布时间:2024-02-02 01:21:42
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [DescribeImageAuthorizedInfo](https://cloud.tencent.com/document/api/1285/65473)
+
+ * 新增出参:TrialAuthorizedCnt, UsedTrialAuthorizedCnt, PurchasedAuthorizedCnt, UsedPurchasedAuthorizedCnt, CanApplyFreeImageAuthorize
+
+
+
+
+## TI-ONE 训练平台(tione) 版本:2021-11-11
+
+### 第 51 次发布
+
+发布时间:2024-02-02 01:23:26
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增数据结构:
+
+* [DefaultInnerCallInfo](https://cloud.tencent.com/document/api/851/75051#DefaultInnerCallInfo)
+* [PrivateLinkInfo](https://cloud.tencent.com/document/api/851/75051#PrivateLinkInfo)
+
+修改数据结构:
+
+* [InferCodeInfo](https://cloud.tencent.com/document/api/851/75051#InferCodeInfo)
+
+ * **修改成员**:CosPathInfo
+
+* [IngressPrivateLinkInfo](https://cloud.tencent.com/document/api/851/75051#IngressPrivateLinkInfo)
+
+ * 新增成员:State
+
+* [IntranetCallInfo](https://cloud.tencent.com/document/api/851/75051#IntranetCallInfo)
+
+ * 新增成员:PrivateLinkInfos, DefaultInnerCallInfos
+
+* [Service](https://cloud.tencent.com/document/api/851/75051#Service)
+
+ * 新增成员:ResourceGroupSWType
+
+* [ServiceCallInfo](https://cloud.tencent.com/document/api/851/75051#ServiceCallInfo)
+
+ * 新增成员:AuthorizationEnable
+
+* [ServiceGroup](https://cloud.tencent.com/document/api/851/75051#ServiceGroup)
+
+ * 新增成员:ReplicasCount, AvailableReplicasCount
+
+* [ServiceInfo](https://cloud.tencent.com/document/api/851/75051#ServiceInfo)
+
+ * **修改成员**:PodList
+
+
+
+
+## TI-ONE 训练平台(tione) 版本:2019-10-22
+
+
+
+## 微服务引擎(tse) 版本:2020-12-07
+
+### 第 57 次发布
+
+发布时间:2024-02-02 01:24:40
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增接口:
+
+* [BindAutoScalerResourceStrategyToGroups](https://cloud.tencent.com/document/api/1364/103728)
+* [CreateAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103727)
+* [DeleteAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103726)
+* [DescribeAutoScalerResourceStrategies](https://cloud.tencent.com/document/api/1364/103725)
+* [DescribeAutoScalerResourceStrategyBindingGroups](https://cloud.tencent.com/document/api/1364/103724)
+* [DescribePublicNetwork](https://cloud.tencent.com/document/api/1364/103723)
+* [ModifyAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103722)
+* [UnbindAutoScalerResourceStrategyFromGroups](https://cloud.tencent.com/document/api/1364/103721)
+
+新增数据结构:
+
+* [CloudNativeAPIGatewayStrategyBindingGroupInfo](https://cloud.tencent.com/document/api/1364/54942#CloudNativeAPIGatewayStrategyBindingGroupInfo)
+* [DescribePublicNetworkResult](https://cloud.tencent.com/document/api/1364/54942#DescribePublicNetworkResult)
+* [ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult)
+* [ListCloudNativeAPIGatewayStrategyResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyResult)
+
+
+
# 历次版本更新如下:
## 活动防刷(aa) 版本:2020-02-24
@@ -6413,6 +6677,22 @@
## 语音识别(asr) 版本:2019-06-14
+### 第 32 次发布
+
+发布时间:2024-02-02 01:05:31
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增接口:
+
+* [[VoicePrintCompare](https://cloud.tencent.com/document/api/1093/103720)](https://cloud.tencent.com/document/api/#/#)
+
+新增数据结构:
+
+* [[VoicePrintCompareData](https://cloud.tencent.com/document/api/1093/37824#VoicePrintCompareData)](https://cloud.tencent.com/document/api/1093/37824#[VoicePrintCompareData](https://cloud.tencent.com/document/api/1093/37824#VoicePrintCompareData))
+
### 第 31 次发布
发布时间:2023-09-22 01:10:19
@@ -10673,6 +10953,21 @@
## 品牌经营管家(bma) 版本:2022-11-15
+### 第 11 次发布
+
+发布时间:2024-02-02 01:06:13
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改数据结构:
+
+* [FakeURLData](https://cloud.tencent.com/document/api/1296/86604#FakeURLData)
+
+ * 新增成员:OfflineTime
+
+
### 第 10 次发布
发布时间:2023-08-31 01:07:17
@@ -36032,6 +36327,50 @@
## 云安全一体化平台(csip) 版本:2022-11-21
+### 第 31 次发布
+
+发布时间:2024-02-02 01:09:24
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [DescribeCVMAssets](https://cloud.tencent.com/document/api/664/90821)
+
+ * 新增入参:MemberId
+
+ * 新增出参:AssetMapInstanceTypeList
+
+* [DescribeVULRiskAdvanceCFGList](https://cloud.tencent.com/document/api/664/100951)
+
+ * 新增入参:MemberId
+
+ * 新增出参:VulTagList
+
+
+新增数据结构:
+
+* [[AssetInstanceTypeMap](https://cloud.tencent.com/document/api/664/90825#AssetInstanceTypeMap)](https://cloud.tencent.com/document/api/664/90825#[AssetInstanceTypeMap](https://cloud.tencent.com/document/api/664/90825#AssetInstanceTypeMap))
+* [[Element](https://cloud.tencent.com/document/api/664/90825#Element)](https://cloud.tencent.com/document/api/664/90825#[Element](https://cloud.tencent.com/document/api/664/90825#Element))
+* [[ServiceSupport](https://cloud.tencent.com/document/api/664/90825#ServiceSupport)](https://cloud.tencent.com/document/api/664/90825#[ServiceSupport](https://cloud.tencent.com/document/api/664/90825#ServiceSupport))
+
+修改数据结构:
+
+* [CVMAssetVO](https://cloud.tencent.com/document/api/664/90825#CVMAssetVO)
+
+ * 新增成员:CVMAgentStatus, CVMStatus, DefenseModel, TatStatus, CpuTrend, MemoryTrend, AgentStatus, CloseDefenseCount, InstanceState, SecurityGroupIds, AgentMemRss, AgentCpuPer
+
+* [RiskCenterStatusKey](https://cloud.tencent.com/document/api/664/90825#RiskCenterStatusKey)
+
+ * **修改成员**:AppId
+
+* [VULRiskAdvanceCFGList](https://cloud.tencent.com/document/api/664/90825#VULRiskAdvanceCFGList)
+
+ * 新增成员:Payload, References, CVSS, AttackHeat, ServiceSupport, RecentScanTime
+
+
### 第 30 次发布
发布时间:2024-01-31 01:10:44
@@ -39021,6 +39360,33 @@
## 主机安全(cwp) 版本:2018-02-28
+### 第 108 次发布
+
+发布时间:2024-02-02 01:09:36
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [DescribeNetAttackSetting](https://cloud.tencent.com/document/api/296/99476)
+
+ * 新增出参:Scope, InstanceIds, ExcludeInstanceIds, AutoInclude
+
+* [DescribeVulDefenceSetting](https://cloud.tencent.com/document/api/296/99659)
+
+ * 新增出参:InstanceIds, AutoInclude, ExcludeInstanceIds
+
+* [ModifyNetAttackSetting](https://cloud.tencent.com/document/api/296/99456)
+
+ * 新增入参:Scope, InstanceIds, ExcludeInstanceIds, AutoInclude
+
+* [ModifyVulDefenceSetting](https://cloud.tencent.com/document/api/296/99545)
+
+ * 新增入参:ExcludeInstanceIds, AutoInclude, InstanceIds
+
+
### 第 107 次发布
发布时间:2024-01-31 01:11:09
@@ -60744,6 +61110,21 @@
## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26
+### 第 152 次发布
+
+发布时间:2024-02-02 01:13:44
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改数据结构:
+
+* [RegistrationOrganizationInfo](https://cloud.tencent.com/document/api/1420/61525#RegistrationOrganizationInfo)
+
+ * 新增成员:BusinessLicense
+
+
### 第 151 次发布
发布时间:2024-01-31 11:46:10
@@ -71698,6 +72079,32 @@
## 物联网开发平台(iotexplorer) 版本:2019-04-23
+### 第 55 次发布
+
+发布时间:2024-02-02 01:15:04
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [UploadFirmware](https://cloud.tencent.com/document/api/1081/53872)
+
+ * 新增入参:FirmwareUserDefined
+
+
+修改数据结构:
+
+* [InstanceDetail](https://cloud.tencent.com/document/api/1081/34988#InstanceDetail)
+
+ * 新增成员:Description, Status
+
+* [ProductEntry](https://cloud.tencent.com/document/api/1081/34988#ProductEntry)
+
+ * 新增成员:DeviceCount
+
+
### 第 54 次发布
发布时间:2023-10-16 01:17:51
@@ -74821,6 +75228,21 @@
## 智能视图计算平台(iss) 版本:2023-05-17
+### 第 11 次发布
+
+发布时间:2024-02-02 01:16:04
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [AddUserDevice](https://cloud.tencent.com/document/api/1344/95876)
+
+ * 新增入参:SNCode
+
+
### 第 10 次发布
发布时间:2023-12-27 01:22:46
@@ -102981,6 +103403,21 @@
## SSL 证书(ssl) 版本:2019-12-05
+### 第 54 次发布
+
+发布时间:2024-02-02 01:20:24
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [ApplyCertificate](https://cloud.tencent.com/document/api/400/41678)
+
+ * 新增入参:DnsNames
+
+
### 第 53 次发布
发布时间:2024-01-29 01:19:48
@@ -110875,6 +111312,21 @@
## 容器安全服务(tcss) 版本:2020-11-01
+### 第 60 次发布
+
+发布时间:2024-02-02 01:21:42
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+修改接口:
+
+* [DescribeImageAuthorizedInfo](https://cloud.tencent.com/document/api/1285/65473)
+
+ * 新增出参:TrialAuthorizedCnt, UsedTrialAuthorizedCnt, PurchasedAuthorizedCnt, UsedPurchasedAuthorizedCnt, CanApplyFreeImageAuthorize
+
+
### 第 59 次发布
发布时间:2024-01-05 01:25:17
@@ -122034,6 +122486,50 @@
## TI-ONE 训练平台(tione) 版本:2021-11-11
+### 第 51 次发布
+
+发布时间:2024-02-02 01:23:26
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增数据结构:
+
+* [[DefaultInnerCallInfo](https://cloud.tencent.com/document/api/851/75051#DefaultInnerCallInfo)](https://cloud.tencent.com/document/api/851/75051#[DefaultInnerCallInfo](https://cloud.tencent.com/document/api/851/75051#DefaultInnerCallInfo))
+* [[PrivateLinkInfo](https://cloud.tencent.com/document/api/851/75051#PrivateLinkInfo)](https://cloud.tencent.com/document/api/851/75051#[PrivateLinkInfo](https://cloud.tencent.com/document/api/851/75051#PrivateLinkInfo))
+
+修改数据结构:
+
+* [InferCodeInfo](https://cloud.tencent.com/document/api/851/75051#InferCodeInfo)
+
+ * **修改成员**:CosPathInfo
+
+* [IngressPrivateLinkInfo](https://cloud.tencent.com/document/api/851/75051#IngressPrivateLinkInfo)
+
+ * 新增成员:State
+
+* [IntranetCallInfo](https://cloud.tencent.com/document/api/851/75051#IntranetCallInfo)
+
+ * 新增成员:PrivateLinkInfos, DefaultInnerCallInfos
+
+* [Service](https://cloud.tencent.com/document/api/851/75051#Service)
+
+ * 新增成员:ResourceGroupSWType
+
+* [ServiceCallInfo](https://cloud.tencent.com/document/api/851/75051#ServiceCallInfo)
+
+ * 新增成员:AuthorizationEnable
+
+* [ServiceGroup](https://cloud.tencent.com/document/api/851/75051#ServiceGroup)
+
+ * 新增成员:ReplicasCount, AvailableReplicasCount
+
+* [ServiceInfo](https://cloud.tencent.com/document/api/851/75051#ServiceInfo)
+
+ * **修改成员**:PodList
+
+
### 第 50 次发布
发布时间:2024-01-24 16:03:05
@@ -130191,6 +130687,32 @@
## 微服务引擎(tse) 版本:2020-12-07
+### 第 57 次发布
+
+发布时间:2024-02-02 01:24:40
+
+本次发布包含了以下内容:
+
+改善已有的文档。
+
+新增接口:
+
+* [[BindAutoScalerResourceStrategyToGroups](https://cloud.tencent.com/document/api/1364/103728)](https://cloud.tencent.com/document/api/#/#)
+* [[CreateAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103727)](https://cloud.tencent.com/document/api/#/#)
+* [[DeleteAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103726)](https://cloud.tencent.com/document/api/#/#)
+* [[DescribeAutoScalerResourceStrategies](https://cloud.tencent.com/document/api/1364/103725)](https://cloud.tencent.com/document/api/#/#)
+* [[DescribeAutoScalerResourceStrategyBindingGroups](https://cloud.tencent.com/document/api/1364/103724)](https://cloud.tencent.com/document/api/#/#)
+* [[DescribePublicNetwork](https://cloud.tencent.com/document/api/1364/103723)](https://cloud.tencent.com/document/api/#/#)
+* [[ModifyAutoScalerResourceStrategy](https://cloud.tencent.com/document/api/1364/103722)](https://cloud.tencent.com/document/api/#/#)
+* [[UnbindAutoScalerResourceStrategyFromGroups](https://cloud.tencent.com/document/api/1364/103721)](https://cloud.tencent.com/document/api/#/#)
+
+新增数据结构:
+
+* [[CloudNativeAPIGatewayStrategyBindingGroupInfo](https://cloud.tencent.com/document/api/1364/54942#CloudNativeAPIGatewayStrategyBindingGroupInfo)](https://cloud.tencent.com/document/api/1364/54942#[CloudNativeAPIGatewayStrategyBindingGroupInfo](https://cloud.tencent.com/document/api/1364/54942#CloudNativeAPIGatewayStrategyBindingGroupInfo))
+* [[DescribePublicNetworkResult](https://cloud.tencent.com/document/api/1364/54942#DescribePublicNetworkResult)](https://cloud.tencent.com/document/api/1364/54942#[DescribePublicNetworkResult](https://cloud.tencent.com/document/api/1364/54942#DescribePublicNetworkResult))
+* [[ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult)](https://cloud.tencent.com/document/api/1364/54942#[ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult))
+* [[ListCloudNativeAPIGatewayStrategyResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyResult)](https://cloud.tencent.com/document/api/1364/54942#[ListCloudNativeAPIGatewayStrategyResult](https://cloud.tencent.com/document/api/1364/54942#ListCloudNativeAPIGatewayStrategyResult))
+
### 第 56 次发布
发布时间:2024-01-31 01:25:54
diff --git a/products.md b/products.md
index 62c9a4016c..8e60b785d5 100644
--- a/products.md
+++ b/products.md
@@ -17,16 +17,16 @@
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-01-31 01:06:22 |
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-12-15 18:59:23 |
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-01-31 01:06:41 |
-| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-01-23 01:09:15 |
+| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-02-02 01:05:31 |
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2023-10-13 01:07:08 |
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-01-01 00:02:00 |
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-10-11 01:10:01 |
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-01-31 01:07:03 |
-| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-01-18 01:09:19 |
+| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-02-02 01:05:54 |
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-10-18 01:14:30 |
-| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-08-31 01:07:17 |
+| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-02-02 01:06:13 |
| bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2023-10-17 01:08:08 |
| bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2023-10-17 01:08:12 |
| bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2023-10-12 01:13:46 |
@@ -42,7 +42,7 @@
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-01-25 15:34:29 |
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-01-30 01:08:20 |
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-01-15 01:08:17 |
-| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-01-17 01:09:06 |
+| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-02-02 01:07:38 |
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-01-24 01:23:26 |
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-01-04 01:08:58 |
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-01-24 01:23:33 |
@@ -67,12 +67,12 @@
| config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2023-11-27 00:06:03 |
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
-| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-01-31 01:10:44 |
+| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-02-02 01:09:24 |
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-01-18 01:12:34 |
-| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-01-31 01:11:09 |
+| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-02-02 01:09:36 |
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
-| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-01-25 01:10:23 |
+| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-02-02 01:10:38 |
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2024-01-24 01:26:26 |
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
@@ -94,10 +94,10 @@
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-12-20 01:36:00 |
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
-| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-01-31 01:14:36 |
+| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-02-02 01:13:14 |
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-01-25 01:13:20 |
-| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-01-31 11:46:30 |
-| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-01-31 11:46:10 |
+| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-02-02 01:13:30 |
+| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-02-02 01:13:44 |
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-12-15 19:41:44 |
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-01-12 01:15:37 |
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-12-25 00:11:01 |
@@ -123,12 +123,12 @@
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-01-26 01:14:52 |
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-01-31 01:16:26 |
-| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2023-10-16 01:17:51 |
+| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-02-02 01:15:04 |
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-01-30 01:16:52 |
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2023-08-17 03:44:44 |
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2023-09-22 02:00:51 |
-| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-01-26 01:15:52 |
+| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-02-02 01:16:04 |
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-12-28 01:18:25 |
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-11-30 04:52:16 |
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-01-25 01:16:59 |
@@ -178,7 +178,7 @@
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-01-17 01:21:16 |
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
-| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-01-30 01:21:39 |
+| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-02-02 01:20:24 |
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-08-17 04:46:28 |
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-12-28 01:23:11 |
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-01-17 01:21:44 |
@@ -192,14 +192,14 @@
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-08-17 04:48:55 |
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-09-25 01:25:42 |
-| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-01-23 01:27:30 |
+| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-02-02 01:21:06 |
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2023-05-18 01:51:15 |
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
| tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2023-11-28 01:24:39 |
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-10-09 01:23:14 |
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-12-12 02:27:39 |
-| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-01-05 01:25:17 |
+| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-02-02 01:21:42 |
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-01-23 01:28:41 |
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-01-12 01:24:10 |
@@ -213,7 +213,7 @@
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2023-08-17 05:26:12 |
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-09-01 01:23:47 |
-| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-01-24 16:03:05 |
+| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-02-02 01:23:26 |
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-12-29 01:26:38 |
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-01-22 11:36:09 |
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
@@ -225,7 +225,7 @@
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-12-29 01:27:21 |
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-01-31 01:25:41 |
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-01-24 17:17:12 |
-| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-01-31 01:25:54 |
+| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-02-02 01:24:40 |
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-01-15 01:25:03 |
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-11-27 00:22:20 |
diff --git a/pyproject.toml b/pyproject.toml
index b4055a6fbc..cff4e3f3ce 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "tccli"
-version = "3.0.1055.1"
+version = "3.0.1056.1"
authors = [
{ name="tencentcloudapi", email="tencentcloudapi@tencent.com" },
]
@@ -21,7 +21,7 @@ classifiers = [
dependencies = [
"jmespath==0.10.0",
"six==1.16.0",
- "tencentcloud-sdk-python>=3.0.1055",
+ "tencentcloud-sdk-python>=3.0.1056",
]
[project.urls]
diff --git a/tccli/__init__.py b/tccli/__init__.py
index 927550b10c..4103b36199 100644
--- a/tccli/__init__.py
+++ b/tccli/__init__.py
@@ -1 +1 @@
-__version__ = '3.0.1055.1'
+__version__ = '3.0.1056.1'
diff --git a/tccli/examples/asr/v20190614/VoicePrintCompare.md b/tccli/examples/asr/v20190614/VoicePrintCompare.md
new file mode 100644
index 0000000000..14a73bad18
--- /dev/null
+++ b/tccli/examples/asr/v20190614/VoicePrintCompare.md
@@ -0,0 +1,27 @@
+**Example 1: 音频声纹比对**
+
+比对两段音频的声纹相似度
+
+Input:
+
+```
+tccli asr VoicePrintCompare --cli-unfold-argument \
+ --VoiceFormat 0 \
+ --SampleRate 16000 \
+ --SrcAudioData AAAAADADAAAAA \
+ --DestAudioData AAAAADADAAAAA
+```
+
+Output:
+```
+{
+ "Response": {
+ "Data": {
+ "Score": "100.0",
+ "Decision": "1"
+ },
+ "RequestId": "dsadasdasdasdasad"
+ }
+}
+```
+
diff --git a/tccli/examples/bma/v20221115/DescribeBPFakeURLs.md b/tccli/examples/bma/v20221115/DescribeBPFakeURLs.md
index 29ce494952..40fcf5c0a2 100644
--- a/tccli/examples/bma/v20221115/DescribeBPFakeURLs.md
+++ b/tccli/examples/bma/v20221115/DescribeBPFakeURLs.md
@@ -51,7 +51,8 @@ Output:
"WebExpireTime": "2022-10-01 00:00:00",
"InsertTime": "2022-10-01 00:00:00",
"CertificationStatus": 0,
- "AccountStatus": 0
+ "AccountStatus": 0,
+ "OfflineTime": "2022-10-01 00:00:00"
}
],
"TotalCount": 100,
diff --git a/tccli/examples/cdn/v20180606/DescribeOriginData.md b/tccli/examples/cdn/v20180606/DescribeOriginData.md
index 1488805cdc..c0ae2896ff 100644
--- a/tccli/examples/cdn/v20180606/DescribeOriginData.md
+++ b/tccli/examples/cdn/v20180606/DescribeOriginData.md
@@ -41,7 +41,7 @@ Output:
]
}
],
- "Interval": 5
+ "Interval": "5min"
}
}
```
diff --git a/tccli/examples/csip/v20221121/DescribeCVMAssets.md b/tccli/examples/csip/v20221121/DescribeCVMAssets.md
index 36277f331a..64a25addd5 100644
--- a/tccli/examples/csip/v20221121/DescribeCVMAssets.md
+++ b/tccli/examples/csip/v20221121/DescribeCVMAssets.md
@@ -6,6 +6,7 @@ Input:
```
tccli csip DescribeCVMAssets --cli-unfold-argument \
+ --MemberId abc \
--Filter.Limit 0 \
--Filter.Offset 0 \
--Filter.Order abc \
@@ -88,6 +89,8 @@ Output:
"Value": "测试B"
}
],
+ "RiskExposure": 0,
+ "BASAgentStatus": 0,
"Uin": "100011616646",
"VpcId": "vpc-4c9w05r5",
"VpcName": "",
diff --git a/tccli/examples/csip/v20221121/DescribeVULRiskAdvanceCFGList.md b/tccli/examples/csip/v20221121/DescribeVULRiskAdvanceCFGList.md
index e6c74ad340..a833e9db0d 100644
--- a/tccli/examples/csip/v20221121/DescribeVULRiskAdvanceCFGList.md
+++ b/tccli/examples/csip/v20221121/DescribeVULRiskAdvanceCFGList.md
@@ -7,6 +7,7 @@ Input:
```
tccli csip DescribeVULRiskAdvanceCFGList --cli-unfold-argument \
+ --MemberId abc \
--TaskId abc
```
@@ -19,6 +20,7 @@ Output:
"RiskId": "abc",
"VULName": "abc",
"RiskLevel": "abc",
+ "EMGCVulType": 0,
"CheckFrom": "abc",
"Enable": 0,
"VULType": "abc",
@@ -52,6 +54,12 @@ Output:
"Text": "abc"
}
],
+ "VulTagList": [
+ {
+ "Value": "abc",
+ "Text": "abc"
+ }
+ ],
"RequestId": "abc"
}
}
diff --git a/tccli/examples/cynosdb/v20190107/DescribeClusterDatabases.md b/tccli/examples/cynosdb/v20190107/DescribeClusterDatabases.md
index 6ec961c5cb..b2fa4bed4f 100644
--- a/tccli/examples/cynosdb/v20190107/DescribeClusterDatabases.md
+++ b/tccli/examples/cynosdb/v20190107/DescribeClusterDatabases.md
@@ -1,4 +1,4 @@
-**Example 1: 查询数据库列表**
+**Example 1: 获取集群数据库列表**
diff --git a/tccli/examples/cynosdb/v20190107/SearchClusterDatabases.md b/tccli/examples/cynosdb/v20190107/SearchClusterDatabases.md
index 99235fab48..cd108ac77b 100644
--- a/tccli/examples/cynosdb/v20190107/SearchClusterDatabases.md
+++ b/tccli/examples/cynosdb/v20190107/SearchClusterDatabases.md
@@ -1,4 +1,4 @@
-**Example 1: 搜索集群database列表**
+**Example 1: 搜索集群数据库列表**
diff --git a/tccli/examples/emr/v20190103/DescribeUsersForUserManager.md b/tccli/examples/emr/v20190103/DescribeUsersForUserManager.md
index 309763fe5d..1d518d9fe4 100644
--- a/tccli/examples/emr/v20190103/DescribeUsersForUserManager.md
+++ b/tccli/examples/emr/v20190103/DescribeUsersForUserManager.md
@@ -6,8 +6,8 @@ Input:
```
tccli emr DescribeUsersForUserManager --cli-unfold-argument \
- --InstanceId xx \
- --UserManagerFilter.UserName xx \
+ --InstanceId emr-jnyiihlc \
+ --UserManagerFilter.UserName sam \
--PageSize 0 \
--PageNo 0 \
--NeedKeytabInfo True
diff --git a/tccli/examples/ess/v20201111/CreateFlowByFiles.md b/tccli/examples/ess/v20201111/CreateFlowByFiles.md
index 3444488ad8..3d62198682 100644
--- a/tccli/examples/ess/v20201111/CreateFlowByFiles.md
+++ b/tccli/examples/ess/v20201111/CreateFlowByFiles.md
@@ -917,3 +917,79 @@ Output:
}
```
+**Example 15: 通过文件发起B2C合同-控件使用绝对定位方式**
+
+1.通过PDF文件发起合同
+2.指定B端签署方为企业【典子谦示例企业】,经办人为【典子谦】
+3.通过绝对对位方式指定【典子谦示例企业】的签署控件为印章控件,控件位置为该文件的第1页,横坐标160,纵坐标260的位置,控件高宽为119x119(公章大小)
+4.指定C端签署方为个人【李四】,联系电话为【15100000000】
+5.通过绝对对位方式指定【李四】的签署控件为手写签名控件,控件位置为该文件的第1页,横坐标60,纵坐标260的位置,控件高宽为119x43(推荐的手写签名大小)
+6.通过绝对定位方式在合同文件的第1页,横坐标360,纵坐标360的位置放置一个单行文本控件,并写入内容【我是一个单行文本】
+7.完成合同发起
+
+Input:
+
+```
+tccli ess CreateFlowByFiles --cli-unfold-argument \
+ --Operator.UserId 19561039c99fe825a934a132520fde6a \
+ --FlowName 通过文件发起合同 \
+ --FlowDescription 通过文件发起合同 \
+ --Unordered False \
+ --FlowType 示例合同 \
+ --Deadline 1830268800 \
+ --SignBeanTag 1 \
+ --Approvers.0.ApproverType 0 \
+ --Approvers.0.OrganizationName 典子谦示例企业 \
+ --Approvers.0.ApproverName 典子谦 \
+ --Approvers.0.ApproverMobile 13200000000 \
+ --Approvers.0.ApproverIdCardType \
+ --Approvers.0.ApproverIdCardNumber \
+ --Approvers.0.SignComponents.0.ComponentPage 1 \
+ --Approvers.0.SignComponents.0.ComponentPosX 160 \
+ --Approvers.0.SignComponents.0.ComponentPosY 260 \
+ --Approvers.0.SignComponents.0.ComponentHeight 119 \
+ --Approvers.0.SignComponents.0.ComponentWidth 119 \
+ --Approvers.0.SignComponents.0.FileIndex 0 \
+ --Approvers.0.SignComponents.0.ComponentType SIGN_SEAL \
+ --Approvers.0.SignComponents.0.ComponentValue \
+ --Approvers.1.ApproverType 1 \
+ --Approvers.1.NotifyType NONE \
+ --Approvers.1.ApproverName 李四 \
+ --Approvers.1.ApproverMobile 15100000000 \
+ --Approvers.1.PreReadTime 10 \
+ --Approvers.1.SignComponents.0.ComponentPage 1 \
+ --Approvers.1.SignComponents.0.ComponentPosX 60 \
+ --Approvers.1.SignComponents.0.ComponentPosY 260 \
+ --Approvers.1.SignComponents.0.ComponentWidth 119 \
+ --Approvers.1.SignComponents.0.ComponentHeight 43 \
+ --Approvers.1.SignComponents.0.FileIndex 0 \
+ --Approvers.1.SignComponents.0.ComponentType SIGN_SIGNATURE \
+ --FileIds yDwqYUUckp39gkfxUu14JJPxaTyM1ltq \
+ --Components.0.ComponentPage 1 \
+ --Components.0.ComponentPosX 360 \
+ --Components.0.ComponentPosY 360 \
+ --Components.0.ComponentWidth 100 \
+ --Components.0.ComponentHeight 100 \
+ --Components.0.ComponentType TEXT \
+ --Components.0.ComponentValue 我是一个单行文本 \
+ --Components.0.FileIndex 0
+```
+
+Output:
+```
+{
+ "Response": {
+ "Approvers": [
+ {
+ "SignId": "",
+ "RecipientId": "yDw7hUUckpkmo432UunP4DaCo2sOe2oP",
+ "ApproverRoleName": ""
+ }
+ ],
+ "FlowId": "yDR4yUUgyg1qh6szUxt1qOK1Jy90khKS",
+ "PreviewUrl": "",
+ "RequestId": "s1665674603446404796"
+ }
+}
+```
+
diff --git a/tccli/examples/iotexplorer/v20190423/DescribeInstance.md b/tccli/examples/iotexplorer/v20190423/DescribeInstance.md
index f7970385a1..767103fdde 100644
--- a/tccli/examples/iotexplorer/v20190423/DescribeInstance.md
+++ b/tccli/examples/iotexplorer/v20190423/DescribeInstance.md
@@ -8,8 +8,7 @@ Input:
tccli iotexplorer DescribeInstance --cli-unfold-argument \
--ProjectId prj-1aoioii9 \
--InstanceId ins-BoSq3gRJ27 \
- --ProductId -1 \
- --Include TotalDevice ActivateDevice UsedDeviceNum
+ --ProductId -1
```
Output:
@@ -29,7 +28,9 @@ Output:
"UpdateTime": "2021-07-20T14:52:16+08:00",
"ExpireTime": "0001-01-01T00:00:00Z",
"TotalDevice": 15,
- "ActivateDevice": 0
+ "ActivateDevice": 0,
+ "Description": "",
+ "Status": 0
},
"RequestId": "8bbbaa15-9918-4fd9-a70c-dbb47dwac0ca"
}
diff --git a/tccli/examples/iotexplorer/v20190423/DescribeStudioProduct.md b/tccli/examples/iotexplorer/v20190423/DescribeStudioProduct.md
index 14295cfe6f..e6eff9e47c 100644
--- a/tccli/examples/iotexplorer/v20190423/DescribeStudioProduct.md
+++ b/tccli/examples/iotexplorer/v20190423/DescribeStudioProduct.md
@@ -31,7 +31,8 @@ Output:
"EnableProductScript": "",
"CreatorNickName": "name",
"CreateUserId": 1,
- "BindStrategy": 0
+ "BindStrategy": 0,
+ "DeviceCount": 1
},
"RequestId": "1c469fbf-d80c-4299-9b54-31340898b839"
}
diff --git a/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md b/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md
index 0c0b4dd8d8..37c1d4dec7 100644
--- a/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md
+++ b/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md
@@ -11,12 +11,17 @@ Output:
```
{
"Response": {
- "ScannedImageCnt": 1,
"TotalAuthorizedCnt": 1,
- "NotScannedLocalImageCnt": 1,
- "RequestId": "xx",
"UsedAuthorizedCnt": 1,
- "NotScannedImageCnt": 1
+ "ScannedImageCnt": 1,
+ "NotScannedImageCnt": 1,
+ "NotScannedLocalImageCnt": 1,
+ "TrialAuthorizedCnt": 1,
+ "UsedTrialAuthorizedCnt": 1,
+ "PurchasedAuthorizedCnt": 1,
+ "UsedPurchasedAuthorizedCnt": 1,
+ "CanApplyFreeImageAuthorize": true,
+ "RequestId": "abc"
}
}
```
diff --git a/tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md b/tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md
index 227924ec92..6ae18cbfea 100644
--- a/tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md
+++ b/tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md
@@ -6,7 +6,6 @@ Input:
```
tccli tione DescribeBillingResourceGroups --cli-unfold-argument \
- --Type abc \
--Filters.0.Name abc \
--Filters.0.Values abc \
--Filters.0.Negative True \
diff --git a/tccli/examples/tione/v20211111/DescribeModelService.md b/tccli/examples/tione/v20211111/DescribeModelService.md
index c1cbdfc329..f6139db8a3 100644
--- a/tccli/examples/tione/v20211111/DescribeModelService.md
+++ b/tccli/examples/tione/v20211111/DescribeModelService.md
@@ -6,7 +6,7 @@ Input:
```
tccli tione DescribeModelService --cli-unfold-argument \
- --ServiceId ms-xxxxx-1
+ --ServiceId ms-xxxxxx-1
```
Output:
@@ -14,251 +14,119 @@ Output:
{
"Response": {
"Service": {
- "ServiceGroupId": "abc",
- "ServiceId": "abc",
- "ServiceGroupName": "abc",
- "ServiceDescription": "abc",
+ "ServiceGroupId": "ms-ndxkhtb2",
+ "ServiceId": "ms-ndxkhtb2-1",
+ "ServiceGroupName": "luis-test-timeout",
+ "ServiceDescription": "",
"ServiceInfo": {
"Replicas": 0,
"ImageInfo": {
- "ImageType": "abc",
- "ImageUrl": "abc",
- "RegistryRegion": "abc",
- "RegistryId": "abc"
+ "ImageType": "CCR",
+ "ImageUrl": "ccr.ccs.tencentyun.com/tiemsdev/hellotest:latest",
+ "RegistryRegion": "ap-guangzhou",
+ "RegistryId": ""
},
- "Env": [
- {
- "Name": "abc",
- "Value": "abc"
- }
- ],
+ "Env": [],
"Resources": {
- "Cpu": 1,
- "Memory": 1,
- "Gpu": 1,
- "GpuType": "abc",
- "RealGpu": 1,
- "RealGpuDetailSet": [
- {
- "Name": "abc",
- "Value": 1
- }
- ]
- },
- "InstanceType": "abc",
- "ModelInfo": {
- "ModelId": "abc",
- "ModelName": "abc",
- "ModelVersionId": "abc",
- "ModelVersion": "abc",
- "ModelSource": "abc",
- "CosPathInfo": {
- "Bucket": "abc",
- "Region": "abc",
- "Paths": [
- "abc"
- ]
- },
- "AlgorithmFramework": "abc",
- "ModelType": "abc",
- "ModelFormat": "abc"
- },
- "InferCodeInfo": {
- "CosPathInfo": {
- "Bucket": "abc",
- "Region": "abc",
- "Paths": [
- "abc"
- ]
- }
- },
- "VolumeMount": {
- "VolumeSourceType": "abc",
- "CFSConfig": {
- "Id": "abc",
- "Path": "abc",
- "MountType": "abc",
- "Protocol": "abc"
- }
- },
- "LogEnable": true,
- "LogConfig": {
- "LogsetId": "abc",
- "TopicId": "abc"
+ "Cpu": 2000,
+ "Memory": 4096,
+ "Gpu": 0,
+ "RealGpu": 0,
+ "GpuType": "",
+ "RealGpuDetailSet": []
},
+ "InstanceType": "TI.S.MEDIUM.POST",
+ "ModelInfo": null,
+ "InferCodeInfo": null,
+ "VolumeMount": null,
+ "LogEnable": false,
+ "LogConfig": null,
"AuthorizationEnable": true,
- "ScaleMode": "abc",
- "HorizontalPodAutoscaler": {
- "MinReplicas": 0,
- "MaxReplicas": 0,
- "HpaMetrics": [
- {
- "Name": "abc",
- "Value": 0
- }
- ]
- },
- "CronScaleJobs": [
- {
- "Name": "abc",
- "TargetReplicas": 0,
- "MinReplicas": 0,
- "MaxReplicas": 0,
- "Schedule": "abc",
- "ExcludeDates": [
- "abc"
- ]
- }
- ],
- "ScaleStrategy": "abc",
- "ScheduledAction": "abc",
+ "ScaleMode": "MANUAL",
+ "HorizontalPodAutoscaler": null,
+ "CronScaleJobs": [],
+ "ScaleStrategy": "",
+ "ScheduledAction": null,
"Status": {
"Replicas": 0,
"UpdatedReplicas": 0,
"ReadyReplicas": 0,
"AvailableReplicas": 0,
"UnavailableReplicas": 0,
- "Status": "abc",
- "StatefulSetCondition": [
- {
- "Message": "abc",
- "Reason": "abc",
- "Status": "abc",
- "Type": "abc",
- "LastTransitionTime": "abc"
- }
- ],
+ "Status": "Stopped",
+ "Reason": "",
"Conditions": [
{
- "Message": "abc",
- "Reason": "abc",
- "Status": "abc",
- "Type": "abc",
- "LastTransitionTime": "abc"
- }
- ],
- "Reason": "abc"
- },
- "Weight": 1,
- "PodList": [
- "abc"
- ],
- "Pods": {
- "Name": "abc",
- "Uid": "abc",
- "ChargeType": "abc",
- "Phase": "abc",
- "IP": "abc",
- "CreateTime": "abc",
- "Containers": {
- "Name": "abc",
- "ContainerId": "abc",
- "Image": "abc",
- "Status": {
- "RestartCount": 0,
- "State": "abc",
- "Ready": true,
- "Reason": "abc",
- "Message": "abc"
- }
- },
- "ContainerInfos": [
+ "Message": "Deployment has minimum availability.",
+ "Reason": "MinimumReplicasAvailable",
+ "Status": "True",
+ "Type": "Available",
+ "LastTransitionTime": "2023-12-27T16:21:02+08:00",
+ "LastUpdateTime": "2023-12-27T16:21:02+08:00"
+ },
{
- "Name": "abc",
- "ContainerId": "abc",
- "Image": "abc",
- "Status": {
- "RestartCount": 0,
- "State": "abc",
- "Ready": true,
- "Reason": "abc",
- "Message": "abc"
- }
+ "Message": "ReplicaSet \"ms-ndxkhtb2-1-8579fcbb7f\" has successfully progressed.",
+ "Reason": "NewReplicaSetAvailable",
+ "Status": "True",
+ "Type": "Progressing",
+ "LastTransitionTime": "2023-12-27T16:21:02+08:00",
+ "LastUpdateTime": "2023-12-27T16:22:54+08:00"
}
]
},
- "PodInfos": [
- {
- "Name": "abc",
- "Uid": "abc",
- "ChargeType": "abc",
- "Phase": "abc",
- "IP": "abc",
- "CreateTime": "abc",
- "Containers": {
- "Name": "abc",
- "ContainerId": "abc",
- "Image": "abc",
- "Status": {
- "RestartCount": 0,
- "State": "abc",
- "Ready": true,
- "Reason": "abc",
- "Message": "abc"
- }
- }
- }
- ],
+ "Weight": 0,
+ "PodList": [],
+ "Pods": null,
+ "PodInfos": [],
"ResourceTotal": {
- "Cpu": 1,
- "Memory": 1,
- "Gpu": 1,
- "GpuType": "abc",
- "RealGpu": 1,
- "RealGpuDetailSet": [
- {
- "Name": "abc",
- "Value": 1
- }
- ]
+ "Cpu": 0,
+ "Memory": 0,
+ "Gpu": 0,
+ "RealGpu": 0,
+ "GpuType": "",
+ "RealGpuDetailSet": []
},
- "OldReplicas": 0,
+ "OldReplicas": 1,
"HybridBillingPrepaidReplicas": 0,
"OldHybridBillingPrepaidReplicas": 0,
"ServiceLimit": {
- "EnableInstanceRpsLimit": true,
- "InstanceRpsLimit": 0
+ "EnableInstanceRpsLimit": false,
+ "InstanceRpsLimit": 1000000,
+ "EnableInstanceReqLimit": false,
+ "InstanceReqLimit": 1000000
},
- "ModelHotUpdateEnable": true,
- "ModelTurboEnable": true
+ "Command": "",
+ "ModelHotUpdateEnable": false,
+ "ModelTurboEnable": false,
+ "ServiceEIP": null
},
- "ClusterId": "abc",
- "Region": "abc",
- "Namespace": "abc",
- "ChargeType": "abc",
- "ResourceGroupId": "abc",
- "ResourceGroupName": "abc",
- "Tags": [
- {
- "TagKey": "abc",
- "TagValue": "abc"
- }
- ],
- "IngressName": "abc",
- "CreatedBy": "abc",
- "CreateTime": "abc",
- "UpdateTime": "abc",
- "Uin": "abc",
- "SubUin": "abc",
+ "ClusterId": "manger",
+ "Region": "ap-guangzhou",
+ "Namespace": "infer-100005348929",
+ "ChargeType": "POSTPAID_BY_HOUR",
+ "ResourceGroupId": "",
+ "ResourceGroupName": "",
+ "Tags": [],
+ "IngressName": "user-ingress-gz-6",
+ "CreatedBy": "243224118",
+ "CreateTime": "2023-12-27T08:20:48Z",
+ "UpdateTime": "2023-12-27T09:18:59Z",
+ "Uin": "100005348929",
+ "SubUin": "",
"AppId": 0,
- "BusinessStatus": "abc",
- "ServiceLimit": {
- "EnableInstanceRpsLimit": true,
- "InstanceRpsLimit": 0
- },
- "ScheduledAction": {
- "ScheduleStop": true,
- "ScheduleStopTime": "abc"
- },
- "CreateFailedReason": "abc",
- "Status": "abc",
- "BillingInfo": "abc",
- "Weight": 0,
- "CreateSource": "abc",
- "Version": "abc",
- "LatestVersion": "abc"
+ "BusinessStatus": "CREATE_SUCCEED",
+ "CreateFailedReason": "CREATE_SUCCEED",
+ "Status": "Stopped",
+ "BillingInfo": "",
+ "Weight": 100,
+ "CreateSource": "DEFAULT",
+ "Version": "1",
+ "LatestVersion": "1",
+ "ResourceGroupSWType": "",
+ "ServiceLimit": null,
+ "ScheduledAction": null
},
- "RequestId": "abc"
+ "RequestId": "841f61f9-daed-49aa-88a3-b3f860be5be4"
}
}
```
diff --git a/tccli/examples/tione/v20211111/DescribeModelServiceCallInfo.md b/tccli/examples/tione/v20211111/DescribeModelServiceCallInfo.md
index 9b36384077..37f0ecbd6b 100644
--- a/tccli/examples/tione/v20211111/DescribeModelServiceCallInfo.md
+++ b/tccli/examples/tione/v20211111/DescribeModelServiceCallInfo.md
@@ -14,30 +14,23 @@ Output:
{
"Response": {
"ServiceCallInfo": {
- "ServiceGroupId": "abc",
- "InnerHttpAddr": "abc",
- "InnerHttpsAddr": "abc",
- "OuterHttpAddr": "abc",
- "OuterHttpsAddr": "abc",
- "AppKey": "abc",
- "AppSecret": "abc"
+ "ServiceGroupId": "ms-ndxkhtb2",
+ "InnerHttpAddr": "http://service-5a4oixv0-1256580188-in.gz.tencentapigw.com:8011/tione",
+ "InnerHttpsAddr": "https://service-5a4oixv0-1256580188-in.gz.tencentapigw.com:9011/tione",
+ "OuterHttpAddr": "http://service-5a4oixv0-1256580188.gz.tencentapigw.com:80/tione",
+ "OuterHttpsAddr": "https://service-5a4oixv0-1256580188.gz.tencentapigw.com:443/tione",
+ "AppKey": "APID23ycs7qbGGbTf27PG18oOVK1Q449UORNA1g5",
+ "AppSecret": "bD2krm7a7ujt6779kLKV1g0x4n2z861IcguAMm6v",
+ "AuthorizationEnable": true
},
- "InferGatewayCallInfo": {
- "VpcHttpAddr": "abc",
- "VpcHttpsAddr": "abc",
- "VpcGrpcTlsAddr": "abc",
- "VpcId": "abc",
- "SubnetId": "abc"
+ "InferGatewayCallInfo": null,
+ "DefaultNginxGatewayCallInfo": null,
+ "TJCallInfo": null,
+ "IntranetCallInfo": {
+ "IngressPrivateLinkInfo": null,
+ "ServiceEIPInfo": []
},
- "DefaultNginxGatewayCallInfo": {
- "Host": "abc"
- },
- "TJCallInfo": {
- "HttpAddr": "abc",
- "Token": "abc",
- "CallExample": "abc"
- },
- "RequestId": "abc"
+ "RequestId": "0e26af99-dc12-4866-b6cf-1896a10c2910"
}
}
```
diff --git a/tccli/examples/tione/v20211111/DescribeModelServiceGroup.md b/tccli/examples/tione/v20211111/DescribeModelServiceGroup.md
index c9f69caee1..14b2b08fc2 100644
--- a/tccli/examples/tione/v20211111/DescribeModelServiceGroup.md
+++ b/tccli/examples/tione/v20211111/DescribeModelServiceGroup.md
@@ -14,275 +14,169 @@ Output:
{
"Response": {
"ServiceGroup": {
- "ServiceGroupId": "abc",
- "ServiceGroupName": "abc",
- "CreatedBy": "abc",
- "CreateTime": "abc",
- "UpdateTime": "abc",
- "Uin": "abc",
+ "ServiceGroupId": "ms-sn9m8dv8",
+ "ServiceGroupName": "分类-均衡",
+ "CreatedBy": "100029051013",
+ "CreateTime": "2024-01-10T10:02:35Z",
+ "UpdateTime": "2024-01-10T10:05:23Z",
+ "Uin": "100005348929",
"ServiceCount": 1,
- "RunningServiceCount": 1,
+ "RunningServiceCount": 0,
+ "ReplicasCount": 0,
+ "AvailableReplicasCount": 0,
"Services": [
{
- "ServiceGroupId": "abc",
- "ServiceId": "abc",
- "ServiceGroupName": "abc",
- "ServiceDescription": "abc",
+ "ServiceGroupId": "ms-sn9m8dv8",
+ "ServiceId": "ms-sn9m8dv8-1",
+ "ServiceGroupName": "分类-均衡",
+ "ServiceDescription": "",
"ServiceInfo": {
"Replicas": 0,
"ImageInfo": {
- "ImageType": "abc",
- "ImageUrl": "abc",
- "RegistryRegion": "abc",
- "RegistryId": "abc"
+ "ImageType": "PRESET",
+ "ImageUrl": "tione.tencentcloudcr.com/qcloud-ti-platform/ti-cloud-infer-pytorch-gpu:py38-torch1.9.0-cu111-tiacc3.0.2-3.2.0",
+ "RegistryRegion": "",
+ "RegistryId": ""
},
- "Env": [
- {
- "Name": "abc",
- "Value": "abc"
- }
- ],
+ "Env": [],
"Resources": {
- "Cpu": 1,
- "Memory": 1,
- "Gpu": 1,
- "GpuType": "abc",
- "RealGpu": 1,
+ "Cpu": 8000,
+ "Memory": 32768,
+ "Gpu": 100,
+ "RealGpu": 100,
+ "GpuType": "T4",
"RealGpuDetailSet": [
{
- "Name": "abc",
- "Value": 1
+ "Name": "T4",
+ "Value": 100
}
]
},
- "InstanceType": "abc",
+ "InstanceType": "TI.GN7.2XLARGE32.POST",
"ModelInfo": {
- "ModelId": "abc",
- "ModelName": "abc",
- "ModelVersionId": "abc",
- "ModelVersion": "abc",
- "ModelSource": "abc",
+ "ModelId": "ml-gnvrfzmp-v1",
+ "ModelName": "分类-均衡",
+ "ModelVersionId": "ml-gnvrfzmp-v1",
+ "ModelVersion": "v1",
+ "ModelSource": "",
+ "ModelType": "AUTO_ML",
"CosPathInfo": {
- "Bucket": "abc",
- "Region": "abc",
+ "Bucket": "ti-automl-gz-1308945662",
+ "Region": "ap-guangzhou",
"Paths": [
- "abc"
+ "automl/public/分类-均衡-ml-gnvrfzmp-v1/ems/sdk/model_service.py"
]
},
- "AlgorithmFramework": "abc",
- "ModelType": "abc",
- "ModelFormat": "abc"
+ "AlgorithmFramework": "",
+ "ModelFormat": "",
+ "IsPrivateModel": false
},
"InferCodeInfo": {
"CosPathInfo": {
- "Bucket": "abc",
- "Region": "abc",
+ "Bucket": "ti-automl-gz-1308945662",
+ "Region": "ap-guangzhou",
"Paths": [
- "abc"
+ "automl/public/分类-均衡-ml-gnvrfzmp-v1/ems/sdk/model_service.py"
]
}
},
- "VolumeMount": {
- "VolumeSourceType": "abc",
- "CFSConfig": {
- "Id": "abc",
- "Path": "abc",
- "MountType": "abc",
- "Protocol": "abc"
- }
- },
- "LogEnable": true,
- "LogConfig": {
- "LogsetId": "abc",
- "TopicId": "abc"
- },
- "AuthorizationEnable": true,
- "ScaleMode": "abc",
- "HorizontalPodAutoscaler": {
- "MinReplicas": 0,
- "MaxReplicas": 0,
- "HpaMetrics": [
- {
- "Name": "abc",
- "Value": 0
- }
- ]
- },
- "CronScaleJobs": [
- {
- "Name": "abc",
- "TargetReplicas": 0,
- "MinReplicas": 0,
- "MaxReplicas": 0,
- "Schedule": "abc",
- "ExcludeDates": [
- "abc"
- ]
- }
- ],
- "ScaleStrategy": "abc",
- "ScheduledAction": "abc",
+ "VolumeMount": null,
+ "LogEnable": false,
+ "LogConfig": null,
+ "AuthorizationEnable": false,
+ "ScaleMode": "MANUAL",
+ "HorizontalPodAutoscaler": null,
+ "CronScaleJobs": [],
+ "ScaleStrategy": "",
+ "ScheduledAction": null,
"Status": {
"Replicas": 0,
"UpdatedReplicas": 0,
"ReadyReplicas": 0,
"AvailableReplicas": 0,
"UnavailableReplicas": 0,
- "Status": "abc",
- "StatefulSetCondition": [
- {
- "Message": "abc",
- "Reason": "abc",
- "Status": "abc",
- "Type": "abc",
- "LastTransitionTime": "abc"
- }
- ],
+ "Status": "Stopped",
+ "Reason": "",
"Conditions": [
{
- "Message": "abc",
- "Reason": "abc",
- "Status": "abc",
- "Type": "abc",
- "LastTransitionTime": "abc"
- }
- ],
- "Reason": "abc"
- },
- "Weight": 1,
- "PodList": [
- "abc"
- ],
- "Pods": {
- "Name": "abc",
- "Uid": "abc",
- "ChargeType": "abc",
- "Phase": "abc",
- "IP": "abc",
- "CreateTime": "abc",
- "Containers": {
- "Name": "abc",
- "ContainerId": "abc",
- "Image": "abc",
- "Status": {
- "RestartCount": 0,
- "State": "abc",
- "Ready": true,
- "Reason": "abc",
- "Message": "abc"
- }
- },
- "ContainerInfos": [
+ "Message": "Deployment has minimum availability.",
+ "Reason": "MinimumReplicasAvailable",
+ "Status": "True",
+ "Type": "Available",
+ "LastTransitionTime": "2024-01-10T18:02:47+08:00",
+ "LastUpdateTime": "2024-01-10T18:02:47+08:00"
+ },
{
- "Name": "abc",
- "ContainerId": "abc",
- "Image": "abc",
- "Status": {
- "RestartCount": 0,
- "State": "abc",
- "Ready": true,
- "Reason": "abc",
- "Message": "abc"
- }
+ "Message": "ReplicaSet \"ms-sn9m8dv8-1-7ff98b55ff\" has successfully progressed.",
+ "Reason": "NewReplicaSetAvailable",
+ "Status": "True",
+ "Type": "Progressing",
+ "LastTransitionTime": "2024-01-10T18:02:47+08:00",
+ "LastUpdateTime": "2024-01-10T18:04:37+08:00"
}
]
},
- "PodInfos": [
- {
- "Name": "abc",
- "Uid": "abc",
- "ChargeType": "abc",
- "Phase": "abc",
- "IP": "abc",
- "CreateTime": "abc",
- "Containers": {
- "Name": "abc",
- "ContainerId": "abc",
- "Image": "abc",
- "Status": {
- "RestartCount": 0,
- "State": "abc",
- "Ready": true,
- "Reason": "abc",
- "Message": "abc"
- }
- }
- }
- ],
+ "Weight": 0,
+ "PodList": [],
+ "Pods": null,
+ "PodInfos": [],
"ResourceTotal": {
- "Cpu": 1,
- "Memory": 1,
- "Gpu": 1,
- "GpuType": "abc",
- "RealGpu": 1,
- "RealGpuDetailSet": [
- {
- "Name": "abc",
- "Value": 1
- }
- ]
+ "Cpu": 0,
+ "Memory": 0,
+ "Gpu": 0,
+ "RealGpu": 0,
+ "GpuType": "",
+ "RealGpuDetailSet": []
},
- "OldReplicas": 0,
+ "OldReplicas": 1,
"HybridBillingPrepaidReplicas": 0,
"OldHybridBillingPrepaidReplicas": 0,
"ServiceLimit": {
- "EnableInstanceRpsLimit": true,
- "InstanceRpsLimit": 0
+ "EnableInstanceRpsLimit": false,
+ "InstanceRpsLimit": 1000000,
+ "EnableInstanceReqLimit": false,
+ "InstanceReqLimit": 1000000
},
- "ModelHotUpdateEnable": true,
- "ModelTurboEnable": true
+ "Command": "",
+ "ModelHotUpdateEnable": false,
+ "ModelTurboEnable": false,
+ "ServiceEIP": null
},
- "ClusterId": "abc",
- "Region": "abc",
- "Namespace": "abc",
- "ChargeType": "abc",
- "ResourceGroupId": "abc",
- "ResourceGroupName": "abc",
- "Tags": [
- {
- "TagKey": "abc",
- "TagValue": "abc"
- }
- ],
- "IngressName": "abc",
- "CreatedBy": "abc",
- "CreateTime": "abc",
- "UpdateTime": "abc",
- "Uin": "abc",
- "SubUin": "abc",
+ "ClusterId": "manger",
+ "Region": "ap-guangzhou",
+ "Namespace": "infer-100005348929",
+ "ChargeType": "POSTPAID_BY_HOUR",
+ "ResourceGroupId": "",
+ "ResourceGroupName": "",
+ "Tags": [],
+ "IngressName": "user-ingress-gz-3",
+ "CreatedBy": "100029051013",
+ "CreateTime": "2024-01-10T10:02:35Z",
+ "UpdateTime": "2024-01-10T10:05:23Z",
+ "Uin": "100005348929",
+ "SubUin": "",
"AppId": 0,
- "BusinessStatus": "abc",
- "ServiceLimit": {
- "EnableInstanceRpsLimit": true,
- "InstanceRpsLimit": 0
- },
- "ScheduledAction": {
- "ScheduleStop": true,
- "ScheduleStopTime": "abc"
- },
- "CreateFailedReason": "abc",
- "Status": "abc",
- "BillingInfo": "abc",
- "Weight": 0,
- "CreateSource": "abc",
- "Version": "abc",
- "LatestVersion": "abc"
- }
- ],
- "Status": "abc",
- "Tags": [
- {
- "TagKey": "abc",
- "TagValue": "abc"
+ "BusinessStatus": "CREATE_SUCCEED",
+ "CreateFailedReason": "CREATE_SUCCEED",
+ "Status": "Stopped",
+ "BillingInfo": "",
+ "Weight": 100,
+ "CreateSource": "AUTO_ML_FORMAL",
+ "Version": "1",
+ "LatestVersion": "",
+ "ServiceLimit": null,
+ "ScheduledAction": null
}
],
- "LatestVersion": "abc",
- "BusinessStatus": "abc",
- "BillingInfo": "abc",
- "CreateSource": "abc",
- "WeightUpdateStatus": "abc"
+ "Status": "Stopped",
+ "Tags": [],
+ "BusinessStatus": "",
+ "WeightUpdateStatus": "UPDATED",
+ "CreateSource": "AUTO_ML_FORMAL",
+ "BillingInfo": "",
+ "LatestVersion": "1"
},
- "RequestId": "abc"
+ "RequestId": "ef2c532a-ed9f-4661-a09a-ada7e6e1f718"
}
}
```
diff --git a/tccli/examples/tse/v20201207/BindAutoScalerResourceStrategyToGroups.md b/tccli/examples/tse/v20201207/BindAutoScalerResourceStrategyToGroups.md
new file mode 100644
index 0000000000..6c40628598
--- /dev/null
+++ b/tccli/examples/tse/v20201207/BindAutoScalerResourceStrategyToGroups.md
@@ -0,0 +1,23 @@
+**Example 1: 弹性伸缩策略批量绑定网关分组**
+
+
+
+Input:
+
+```
+tccli tse BindAutoScalerResourceStrategyToGroups --cli-unfold-argument \
+ --GatewayId \
+ --StrategyId strategy-7bb4fcb0 \
+ --GroupIds group-2e781178
+```
+
+Output:
+```
+{
+ "Response": {
+ "RequestId": "adc44984-762c-42e0-b39a-80777e5c3bcc",
+ "Result": true
+ }
+}
+```
+
diff --git a/tccli/examples/tse/v20201207/CreateAutoScalerResourceStrategy.md b/tccli/examples/tse/v20201207/CreateAutoScalerResourceStrategy.md
new file mode 100644
index 0000000000..7b6724216b
--- /dev/null
+++ b/tccli/examples/tse/v20201207/CreateAutoScalerResourceStrategy.md
@@ -0,0 +1,37 @@
+**Example 1: 创建弹性伸缩策略**
+
+创建弹性伸缩策略
+
+Input:
+
+```
+tccli tse CreateAutoScalerResourceStrategy --cli-unfold-argument \
+ --GatewayId gateway-4a34cf5f \
+ --StrategyName strategy-test \
+ --Description desc \
+ --MaxReplicas 15 \
+ --Config.Enabled True \
+ --Config.Metrics.0.Type Resource \
+ --Config.Metrics.0.ResourceName cpu \
+ --Config.Metrics.0.TargetType Utilization \
+ --Config.Metrics.0.TargetValue 50 \
+ --Config.Metrics.1.Type Pods \
+ --Config.Metrics.1.ResourceName tcp-connection-num \
+ --Config.Metrics.1.TargetType AverageValue \
+ --Config.Metrics.1.TargetValue 5 \
+ --CronScalerConfig.Enabled True \
+ --CronScalerConfig.Params.0.Period 1 * * \
+ --CronScalerConfig.Params.0.StartAt 17:00 \
+ --CronScalerConfig.Params.0.TargetReplicas 10
+```
+
+Output:
+```
+{
+ "Response": {
+ "RequestId": "741e4e82-371d-48de-a843-867c69ff114d",
+ "Result": true
+ }
+}
+```
+
diff --git a/tccli/examples/tse/v20201207/DeleteAutoScalerResourceStrategy.md b/tccli/examples/tse/v20201207/DeleteAutoScalerResourceStrategy.md
new file mode 100644
index 0000000000..873c06a3cb
--- /dev/null
+++ b/tccli/examples/tse/v20201207/DeleteAutoScalerResourceStrategy.md
@@ -0,0 +1,22 @@
+**Example 1: 删除弹性伸缩策略**
+
+
+
+Input:
+
+```
+tccli tse DeleteAutoScalerResourceStrategy --cli-unfold-argument \
+ --GatewayId \
+ --StrategyId strategy-7bb4fcb0
+```
+
+Output:
+```
+{
+ "Response": {
+ "RequestId": "adc44984-762c-42e0-b39a-80777e5c3bcc",
+ "Result": true
+ }
+}
+```
+
diff --git a/tccli/examples/tse/v20201207/DescribeAutoScalerResourceStrategies.md b/tccli/examples/tse/v20201207/DescribeAutoScalerResourceStrategies.md
new file mode 100644
index 0000000000..f053d8b008
--- /dev/null
+++ b/tccli/examples/tse/v20201207/DescribeAutoScalerResourceStrategies.md
@@ -0,0 +1,68 @@
+**Example 1: 查看弹性伸缩策略列表**
+
+查看弹性伸缩策略列表
+
+Input:
+
+```
+tccli tse DescribeAutoScalerResourceStrategies --cli-unfold-argument \
+ --GatewayId gateway-4a34cf5f
+```
+
+Output:
+```
+{
+ "Response": {
+ "RequestId": "adc44984-762c-42e0-b39a-80777e5c3bcc",
+ "Result": {
+ "TotalCount": 1,
+ "StrategyList": [
+ {
+ "StrategyId": "strategy-7bb4fcb0",
+ "StrategyName": "test",
+ "CreateTime": "2021-09-09 11:52:30",
+ "ModifyTime": "2021-09-09 11:52:30",
+ "Description": "测试",
+ "GatewayId": "gateway-4a34cf5f",
+ "Config": {
+ "AutoScalerId": "autoscaler-92aaca7b",
+ "StrategyId": "strategy-448e24f7",
+ "Enabled": true,
+ "MaxReplicas": 15,
+ "Metrics": [
+ {
+ "Type": "Resource",
+ "ResourceName": "cpu",
+ "TargetType": "Utilization",
+ "TargetValue": 50
+ },
+ {
+ "Type": "Pods",
+ "ResourceName": "tcp-connection-num",
+ "TargetType": "AverageValue",
+ "TargetValue": 5
+ }
+ ],
+ "CreateTime": "2023-03-08 16:57:18",
+ "ModifyTime": "2023-03-08 16:57:18"
+ },
+ "CronConfig": {
+ "StrategyId": "strategy-448e24f7",
+ "Enabled": true,
+ "Params": [
+ {
+ "Period": "",
+ "StartAt": "17:00",
+ "TargetReplicas": 0
+ }
+ ],
+ "CreateTime": "2023-03-08 16:57:18",
+ "ModifyTime": "2023-03-08 16:57:18"
+ }
+ }
+ ]
+ }
+ }
+}
+```
+
diff --git a/tccli/examples/tse/v20201207/DescribeAutoScalerResourceStrategyBindingGroups.md b/tccli/examples/tse/v20201207/DescribeAutoScalerResourceStrategyBindingGroups.md
new file mode 100644
index 0000000000..bff2fdfe98
--- /dev/null
+++ b/tccli/examples/tse/v20201207/DescribeAutoScalerResourceStrategyBindingGroups.md
@@ -0,0 +1,38 @@
+**Example 1: 查看弹性伸缩策略绑定的网关分组**
+
+查看弹性伸缩策略绑定的网关分组
+
+Input:
+
+```
+tccli tse DescribeAutoScalerResourceStrategyBindingGroups --cli-unfold-argument \
+ --GatewayId \
+ --StrategyId strategy-7bb4fcb0 \
+ --Offset 1 \
+ --Limit 1
+```
+
+Output:
+```
+{
+ "Response": {
+ "RequestId": "adc44984-762c-42e0-b39a-80777e5c3bcc",
+ "Result": {
+ "TotalCount": 1,
+ "GroupInfos": [
+ {
+ "GroupId": "group-2e781178",
+ "GroupName": "test",
+ "NodeConfig": {
+ "Specification": "1c2g",
+ "Number": 2
+ },
+ "BindTime": "2021-09-09 11:52:30",
+ "Status": "bound"
+ }
+ ]
+ }
+ }
+}
+```
+
diff --git a/tccli/examples/tse/v20201207/DescribePublicNetwork.md b/tccli/examples/tse/v20201207/DescribePublicNetwork.md
new file mode 100644
index 0000000000..e85a1f92c8
--- /dev/null
+++ b/tccli/examples/tse/v20201207/DescribePublicNetwork.md
@@ -0,0 +1,57 @@
+**Example 1: 查询云原生API网关实例公网详情**
+
+查询云原生API网关实例公网详情
+
+Input:
+
+```
+tccli tse DescribePublicNetwork --cli-unfold-argument \
+ --GatewayId gateway-xxxxxxxx \
+ --GroupId greoup-xxxxxxxx \
+ --NetworkId network-xxxxxxxx
+```
+
+Output:
+```
+{
+ "Response": {
+ "Result": {
+ "GatewayId": "abc",
+ "GroupId": "abc",
+ "PublicNetwork": {
+ "ConsoleType": "abc",
+ "HttpUrl": "abc",
+ "HttpsUrl": "abc",
+ "NetType": "abc",
+ "AdminUser": "abc",
+ "AdminPassword": "abc",
+ "Status": "abc",
+ "AccessControl": {
+ "Mode": "abc",
+ "CidrWhiteList": [
+ "abc"
+ ],
+ "CidrBlackList": [
+ "abc"
+ ]
+ },
+ "SubnetId": "abc",
+ "VpcId": "abc",
+ "Description": "abc",
+ "SlaType": "abc",
+ "SlaName": "abc",
+ "Vip": "abc",
+ "InternetMaxBandwidthOut": 1,
+ "MultiZoneFlag": true,
+ "MasterZoneId": "abc",
+ "SlaveZoneId": "abc",
+ "MasterZoneName": "abc",
+ "SlaveZoneName": "abc",
+ "NetworkId": "abc"
+ }
+ },
+ "RequestId": "abc"
+ }
+}
+```
+
diff --git a/tccli/examples/tse/v20201207/ModifyAutoScalerResourceStrategy.md b/tccli/examples/tse/v20201207/ModifyAutoScalerResourceStrategy.md
new file mode 100644
index 0000000000..2fee4a4696
--- /dev/null
+++ b/tccli/examples/tse/v20201207/ModifyAutoScalerResourceStrategy.md
@@ -0,0 +1,33 @@
+**Example 1: 更新弹性伸缩策略**
+
+更新弹性伸缩策略
+
+Input:
+
+```
+tccli tse ModifyAutoScalerResourceStrategy --cli-unfold-argument \
+ --GatewayId gateway-4a34cf5f \
+ --StrategyId strategy-7bb4fcb0 \
+ --StrategyName strategy-test \
+ --Description desc \
+ --MaxReplicas 5 \
+ --Config.Metrics.0.Type Resource \
+ --Config.Metrics.0.ResourceName cpu \
+ --Config.Metrics.0.TargetType Utilization \
+ --Config.Metrics.0.TargetValue 80 \
+ --CronScalerConfig.Enabled True \
+ --CronScalerConfig.Params.0.Period 1 * * \
+ --CronScalerConfig.Params.0.StartAt 17:00 \
+ --CronScalerConfig.Params.0.TargetReplicas 10
+```
+
+Output:
+```
+{
+ "Response": {
+ "RequestId": "adc44984-762c-42e0-b39a-80777e5c3bcc",
+ "Result": true
+ }
+}
+```
+
diff --git a/tccli/examples/tse/v20201207/UnbindAutoScalerResourceStrategyFromGroups.md b/tccli/examples/tse/v20201207/UnbindAutoScalerResourceStrategyFromGroups.md
new file mode 100644
index 0000000000..e482a92b88
--- /dev/null
+++ b/tccli/examples/tse/v20201207/UnbindAutoScalerResourceStrategyFromGroups.md
@@ -0,0 +1,23 @@
+**Example 1: 弹性伸缩策略批量解绑网关分组**
+
+
+
+Input:
+
+```
+tccli tse UnbindAutoScalerResourceStrategyFromGroups --cli-unfold-argument \
+ --GatewayId \
+ --StrategyId strategy-7bb4fcb0 \
+ --GroupIds group-2e781178
+```
+
+Output:
+```
+{
+ "Response": {
+ "RequestId": "adc44984-762c-42e0-b39a-80777e5c3bcc",
+ "Result": true
+ }
+}
+```
+
diff --git a/tccli/services/asr/asr_client.py b/tccli/services/asr/asr_client.py
index d4ca1e1842..d77c3d7674 100644
--- a/tccli/services/asr/asr_client.py
+++ b/tccli/services/asr/asr_client.py
@@ -17,6 +17,58 @@
from jmespath import search
import time
+def doVoicePrintCompare(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.VoicePrintCompareRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.VoicePrintCompare(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
def doUpdateAsrVocab(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
@@ -1328,6 +1380,7 @@ def doDownloadCustomization(args, parsed_globals):
}
ACTION_MAP = {
+ "VoicePrintCompare": doVoicePrintCompare,
"UpdateAsrVocab": doUpdateAsrVocab,
"CreateAsyncRecognitionTask": doCreateAsyncRecognitionTask,
"GetCustomizationList": doGetCustomizationList,
diff --git a/tccli/services/asr/v20190614/api.json b/tccli/services/asr/v20190614/api.json
index 6bd5d47375..ee5bdb24d9 100644
--- a/tccli/services/asr/v20190614/api.json
+++ b/tccli/services/asr/v20190614/api.json
@@ -140,6 +140,13 @@
"output": "UpdateAsrVocabResponse",
"status": "online"
},
+ "VoicePrintCompare": {
+ "document": "通过比对两段音频内说话人的声纹,得到一个打分,可通过打分判断两段音频声纹相似度, 打分区间[0 - 100]。 音频要求:16k采样率, 16bit位深,pcm或者wav格式, 单声道,总时长不超过30秒的音频,base64编码数据大小不超过2M,音频内容只有一个说话人声音,并且尽可能清晰,这样结果更加准确。",
+ "input": "VoicePrintCompareRequest",
+ "name": "说话人比对",
+ "output": "VoicePrintCompareResponse",
+ "status": "online"
+ },
"VoicePrintCount": {
"document": "统计并返回注册的说话人id总数",
"input": "VoicePrintCountRequest",
@@ -2153,6 +2160,96 @@
],
"usage": "out"
},
+ "VoicePrintCompareData": {
+ "document": "音频声纹比对结果,包含比对分数",
+ "members": [
+ {
+ "disabled": false,
+ "document": "匹配度 取值范围(0.0 - 100.0)\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "100.0",
+ "member": "string",
+ "name": "Score",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "验证结果 0: 未通过 1: 通过\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "0",
+ "member": "int64",
+ "name": "Decision",
+ "output_required": false,
+ "type": "int",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "out"
+ },
+ "VoicePrintCompareRequest": {
+ "document": "VoicePrintCompare请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "音频格式 0: pcm, 1: wav;pcm和wav音频无损压缩,识别准确度更高",
+ "example": "0",
+ "member": "int64",
+ "name": "VoiceFormat",
+ "required": true,
+ "type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "音频采样率,目前仅支持16k,请填写16000",
+ "example": "16000",
+ "member": "int64",
+ "name": "SampleRate",
+ "required": true,
+ "type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "对比源音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M",
+ "example": "无",
+ "member": "string",
+ "name": "SrcAudioData",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "对比目标音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M",
+ "example": "无",
+ "member": "string",
+ "name": "DestAudioData",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
+ "VoicePrintCompareResponse": {
+ "document": "VoicePrintCompare返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "音频声纹比对结果,包含相似度打分",
+ "example": "无",
+ "member": "VoicePrintCompareData",
+ "name": "Data",
+ "output_required": false,
+ "type": "object",
+ "value_allowed_null": false
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
"VoicePrintCountData": {
"document": "统计返回[说话人注册数量](https://cloud.tencent.com/document/product/1093/96061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)",
"members": [
diff --git a/tccli/services/asr/v20190614/examples.json b/tccli/services/asr/v20190614/examples.json
index f10640f6b3..c142786bcb 100644
--- a/tccli/services/asr/v20190614/examples.json
+++ b/tccli/services/asr/v20190614/examples.json
@@ -190,6 +190,14 @@
"title": "更新热词表"
}
],
+ "VoicePrintCompare": [
+ {
+ "document": "比对两段音频的声纹相似度",
+ "input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VoicePrintCompare\n<公共请求参数>\n\n{\n \"VoiceFormat\": 0,\n \"SampleRate\": 16000,\n \"SrcAudioData\": \"AAAAADADAAAAA\",\n \"DestAudioData\": \"AAAAADADAAAAA\"\n}",
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Score\": \"100.0\",\n \"Decision\": \"1\"\n },\n \"RequestId\": \"dsadasdasdasdasad\"\n }\n}",
+ "title": "音频声纹比对"
+ }
+ ],
"VoicePrintCount": [
{
"document": "返回注册总数",
diff --git a/tccli/services/bma/v20221115/api.json b/tccli/services/bma/v20221115/api.json
index bb868be32a..b513b139f0 100644
--- a/tccli/services/bma/v20221115/api.json
+++ b/tccli/services/bma/v20221115/api.json
@@ -1298,6 +1298,16 @@
"output_required": false,
"type": "int",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "下线时间\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "OfflineTime",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
}
],
"usage": "out"
diff --git a/tccli/services/bma/v20221115/examples.json b/tccli/services/bma/v20221115/examples.json
index 66266cc225..7e48900d8e 100644
--- a/tccli/services/bma/v20221115/examples.json
+++ b/tccli/services/bma/v20221115/examples.json
@@ -76,7 +76,7 @@
{
"document": "查询仿冒网址列表",
"input": "POST / HTTP/1.1\nHost: bma.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBPFakeURLs\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"BrandName\",\n \"Value\": \"品牌名称\"\n },\n {\n \"Name\": \"Origin\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"BlockStatus\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"OfflineStatus\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"FakeURL\",\n \"Value\": \"仿冒网址\"\n },\n {\n \"Name\": \"StartTime\",\n \"Value\": \"2022-10-01 00:00:00\"\n },\n {\n \"Name\": \"EndTime\",\n \"Value\": \"2022-10-01 23:59:59\"\n }\n ],\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
- "output": "{\n \"Response\": {\n \"FakeURLs\": [\n {\n \"FakeURLId\": 123,\n \"BrandName\": \"品牌名称\",\n \"Origin\": 0,\n \"FakeURL\": \"仿冒网址\",\n \"FakeDomain\": \"仿冒域名\",\n \"Snapshot\": \"网址截图\",\n \"Heat\": 100,\n \"BlockStatus\": 0,\n \"BlockNote\": \"协助处置状态说明\",\n \"OfflineStatus\": 0,\n \"OfflineNote\": \"关停状态说明\",\n \"IP\": \"ip地址\",\n \"IPLocation\": \"ip地理位置\",\n \"WebCompany\": \"网站所属单位\",\n \"WebAttribute\": \"网站性质\",\n \"WebName\": \"网站名称\",\n \"WebICP\": \"备案号\",\n \"WebCreateTime\": \"2022-10-01 00:00:00\",\n \"WebExpireTime\": \"2022-10-01 00:00:00\",\n \"InsertTime\": \"2022-10-01 00:00:00\",\n \"CertificationStatus\": 0,\n \"AccountStatus\": 0\n }\n ],\n \"TotalCount\": 100,\n \"RequestId\": \"请求id\"\n }\n}",
+ "output": "{\n \"Response\": {\n \"FakeURLs\": [\n {\n \"FakeURLId\": 123,\n \"BrandName\": \"品牌名称\",\n \"Origin\": 0,\n \"FakeURL\": \"仿冒网址\",\n \"FakeDomain\": \"仿冒域名\",\n \"Snapshot\": \"网址截图\",\n \"Heat\": 100,\n \"BlockStatus\": 0,\n \"BlockNote\": \"协助处置状态说明\",\n \"OfflineStatus\": 0,\n \"OfflineNote\": \"关停状态说明\",\n \"IP\": \"ip地址\",\n \"IPLocation\": \"ip地理位置\",\n \"WebCompany\": \"网站所属单位\",\n \"WebAttribute\": \"网站性质\",\n \"WebName\": \"网站名称\",\n \"WebICP\": \"备案号\",\n \"WebCreateTime\": \"2022-10-01 00:00:00\",\n \"WebExpireTime\": \"2022-10-01 00:00:00\",\n \"InsertTime\": \"2022-10-01 00:00:00\",\n \"CertificationStatus\": 0,\n \"AccountStatus\": 0,\n \"OfflineTime\": \"2022-10-01 00:00:00\"\n }\n ],\n \"TotalCount\": 100,\n \"RequestId\": \"请求id\"\n }\n}",
"title": "查询仿冒网址列表"
}
],
diff --git a/tccli/services/cdn/v20180606/api.json b/tccli/services/cdn/v20180606/api.json
index 8b1bca7cbe..6392eeaa32 100644
--- a/tccli/services/cdn/v20180606/api.json
+++ b/tccli/services/cdn/v20180606/api.json
@@ -5048,7 +5048,7 @@
},
{
"disabled": false,
- "document": "多域名查询时,默认(false)返回多个域名的汇总数据\n可按需指定为 true,返回每一个 Domain 的明细数据(statusCode 指标暂不支持)",
+ "document": "多域名查询时,默认(false)返回多个域名的汇总数据\n可按需指定为 true,返回每一个 Domain 的明细数据(statusCode、2xx、3xx、4xx、5xx 指标暂不支持)",
"example": "false",
"member": "bool",
"name": "Detail",
@@ -5148,7 +5148,7 @@
"example": "day",
"member": "string",
"name": "Interval",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -5158,7 +5158,7 @@
"example": "无",
"member": "ResourceData",
"name": "Data",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": false
},
@@ -6478,7 +6478,7 @@
},
{
"disabled": false,
- "document": "Domains 传入多个时,默认(false)返回多个域名的汇总数据\n可按需指定为 true,返回每一个 Domain 的明细数据(statusCode 指标暂不支持)",
+ "document": "Domains 传入多个时,默认(false)返回多个域名的汇总数据\n可按需指定为 true,返回每一个 Domain 的明细数据(statusCode、2xx、3xx、4xx、5xx 指标暂不支持)",
"example": "false",
"member": "bool",
"name": "Detail",
@@ -6515,7 +6515,7 @@
"example": "5min",
"member": "string",
"name": "Interval",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -6525,7 +6525,7 @@
"example": "无",
"member": "ResourceOriginData",
"name": "Data",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": false
},
diff --git a/tccli/services/cdn/v20180606/examples.json b/tccli/services/cdn/v20180606/examples.json
index a35b3a772a..7b65f2f3b3 100644
--- a/tccli/services/cdn/v20180606/examples.json
+++ b/tccli/services/cdn/v20180606/examples.json
@@ -252,7 +252,7 @@
{
"document": "",
"input": "https://cdn.tencentcloudapi.com/?Action=DescribeOriginData\n&StartTime=2018-09-04 00:00:00\n&EndTime=2018-09-04 12:00:00\n&Metric=flux\n&Domains.0=www.test.com\n&<公共请求参数>",
- "output": "{\n \"Response\": {\n \"RequestId\": \"123\",\n \"Data\": [\n {\n \"Resource\": \"www.test.com\",\n \"OriginData\": [\n {\n \"Metric\": \"flux\",\n \"DetailData\": [\n {\n \"Time\": \"2018-09-03 00:00:00\",\n \"Value\": 10\n },\n {\n \"Time\": \"2018-09-03 00:05:00\",\n \"Value\": 20\n }\n ],\n \"SummarizedData\": {\n \"Name\": \"sum\",\n \"Value\": 30\n }\n }\n ]\n }\n ],\n \"Interval\": 5\n }\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"123\",\n \"Data\": [\n {\n \"Resource\": \"www.test.com\",\n \"OriginData\": [\n {\n \"Metric\": \"flux\",\n \"DetailData\": [\n {\n \"Time\": \"2018-09-03 00:00:00\",\n \"Value\": 10\n },\n {\n \"Time\": \"2018-09-03 00:05:00\",\n \"Value\": 20\n }\n ],\n \"SummarizedData\": {\n \"Name\": \"sum\",\n \"Value\": 30\n }\n }\n ]\n }\n ],\n \"Interval\": \"5min\"\n }\n}",
"title": "查询Cdn回源数据"
}
],
diff --git a/tccli/services/csip/v20221121/api.json b/tccli/services/csip/v20221121/api.json
index e652658726..b343ef7c35 100644
--- a/tccli/services/csip/v20221121/api.json
+++ b/tccli/services/csip/v20221121/api.json
@@ -894,6 +894,42 @@
],
"usage": "out"
},
+ "AssetInstanceTypeMap": {
+ "document": "资产类型和实例类型的映射",
+ "members": [
+ {
+ "disabled": false,
+ "document": "资产类型\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "Text",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "资产类型\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "Value",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "资产类型和实例类型映射关系\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "FilterDataObject",
+ "name": "InstanceTypeList",
+ "output_required": false,
+ "type": "list",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "out"
+ },
"AssetTag": {
"document": "安全中心资产标签",
"members": [
@@ -2645,6 +2681,138 @@
"required": false,
"type": "int",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "0 未安装 1安装 2:安装中\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "int64",
+ "name": "CVMAgentStatus",
+ "output_required": false,
+ "required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "1:开启 0:未开启\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "int64",
+ "name": "CVMStatus",
+ "output_required": false,
+ "required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "1:客户端已安装 0:未安装 2: Agentless\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "int64",
+ "name": "DefenseModel",
+ "output_required": false,
+ "required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "1:已安装 0:未安装\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "int64",
+ "name": "TatStatus",
+ "output_required": false,
+ "required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "cpu趋势图\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "Element",
+ "name": "CpuTrend",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "内存趋势图\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "Element",
+ "name": "MemoryTrend",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "1:agent在线 0:agent离线 2:主机离线\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "int64",
+ "name": "AgentStatus",
+ "output_required": false,
+ "required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "本月防护关闭次数\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "int64",
+ "name": "CloseDefenseCount",
+ "output_required": false,
+ "required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "运行状态\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "RUNNING",
+ "member": "string",
+ "name": "InstanceState",
+ "output_required": false,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "安全组数据\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "[sg-xx]",
+ "member": "string",
+ "name": "SecurityGroupIds",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "物理内存占用KB\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "int64",
+ "name": "AgentMemRss",
+ "output_required": false,
+ "required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "CPU使用率百分比\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "float",
+ "name": "AgentCpuPer",
+ "output_required": false,
+ "required": false,
+ "type": "float",
+ "value_allowed_null": true
}
],
"usage": "both"
@@ -3555,6 +3723,15 @@
"DescribeCVMAssetsRequest": {
"document": "DescribeCVMAssets请求参数结构体",
"members": [
+ {
+ "disabled": false,
+ "document": "集团账号的成员id",
+ "example": "[]{\"mem-6wfo0fzks3\",\"mem-85fo0fzks4\"}",
+ "member": "string",
+ "name": "MemberId",
+ "required": false,
+ "type": "list"
+ },
{
"disabled": false,
"document": "-",
@@ -3576,6 +3753,7 @@
"example": "无",
"member": "uint64",
"name": "Total",
+ "output_required": true,
"type": "int",
"value_allowed_null": true
},
@@ -3585,6 +3763,7 @@
"example": "无",
"member": "CVMAssetVO",
"name": "Data",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3594,6 +3773,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "RegionList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3603,6 +3783,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "DefenseStatusList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3612,6 +3793,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "VpcList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3621,6 +3803,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "AssetTypeList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3630,6 +3813,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "SystemTypeList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3639,6 +3823,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "IpTypeList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3648,6 +3833,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "AppIdList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3657,6 +3843,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "ZoneList",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -3666,6 +3853,17 @@
"example": "无",
"member": "FilterDataObject",
"name": "OsList",
+ "output_required": true,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "资产类型和实例类型的对应关系\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "AssetInstanceTypeMap",
+ "name": "AssetMapInstanceTypeList",
+ "output_required": false,
"type": "list",
"value_allowed_null": true
},
@@ -5580,6 +5778,15 @@
"DescribeVULRiskAdvanceCFGListRequest": {
"document": "DescribeVULRiskAdvanceCFGList请求参数结构体",
"members": [
+ {
+ "disabled": false,
+ "document": "集团账号的成员id",
+ "example": "[]{\"mem-6wfo0fzks3\",\"mem-85fo0fzks4\"}",
+ "member": "string",
+ "name": "MemberId",
+ "required": false,
+ "type": "list"
+ },
{
"disabled": false,
"document": "任务ID",
@@ -5610,6 +5817,7 @@
"example": "无",
"member": "VULRiskAdvanceCFGList",
"name": "Data",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -5619,6 +5827,7 @@
"example": "0",
"member": "int64",
"name": "TotalCount",
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -5628,6 +5837,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "RiskLevelLists",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -5637,6 +5847,7 @@
"example": "无",
"member": "FilterDataObject",
"name": "VULTypeLists",
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -5646,6 +5857,17 @@
"example": "无",
"member": "FilterDataObject",
"name": "CheckFromLists",
+ "output_required": true,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "漏洞标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "FilterDataObject",
+ "name": "VulTagList",
+ "output_required": false,
"type": "list",
"value_allowed_null": true
},
@@ -6126,6 +6348,34 @@
],
"usage": "out"
},
+ "Element": {
+ "document": "统计条目",
+ "members": [
+ {
+ "disabled": false,
+ "document": "统计类型\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "Key",
+ "output_required": true,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "统计对象\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "Value",
+ "output_required": true,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "both"
+ },
"Filter": {
"document": "列表查询接口采用新filter 接口,直接传给后台供后台查询过滤",
"members": [
@@ -7858,38 +8108,34 @@
"member": "string",
"name": "Id",
"required": true,
- "type": "string",
- "value_allowed_null": true
+ "type": "string"
},
{
"disabled": false,
- "document": "APP ID",
+ "document": "公网IP/域名",
"example": "x",
"member": "string",
- "name": "AppId",
- "required": true,
- "type": "string",
- "value_allowed_null": true
+ "name": "PublicIPDomain",
+ "required": false,
+ "type": "string"
},
{
"disabled": false,
- "document": "公网IP/域名",
+ "document": "实例ID",
"example": "x",
"member": "string",
- "name": "PublicIPDomain",
+ "name": "InstanceId",
"required": false,
- "type": "string",
- "value_allowed_null": true
+ "type": "string"
},
{
"disabled": false,
- "document": "实例ID",
+ "document": "APP ID",
"example": "x",
"member": "string",
- "name": "InstanceId",
+ "name": "AppId",
"required": false,
- "type": "string",
- "value_allowed_null": true
+ "type": "string"
}
],
"usage": "in"
@@ -8708,6 +8954,52 @@
],
"usage": "out"
},
+ "ServiceSupport": {
+ "document": "产品支持情况",
+ "members": [
+ {
+ "disabled": false,
+ "document": "产品名称:\n\"cfw_waf_virtual\", \"cwp_detect\", \"cwp_defense\", \"cwp_fix\"\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "cfw_waf_virtual",
+ "member": "string",
+ "name": "ServiceName",
+ "output_required": true,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "已处理的资产总数\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "10",
+ "member": "int64",
+ "name": "SupportHandledCount",
+ "output_required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "支持的资产总数\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "2",
+ "member": "int64",
+ "name": "SupportTotalCount",
+ "output_required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "是否支持该产品1支持;0不支持\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "1",
+ "member": "bool",
+ "name": "IsSupport",
+ "output_required": true,
+ "type": "bool",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "out"
+ },
"StopRiskCenterTaskRequest": {
"document": "StopRiskCenterTask请求参数结构体",
"members": [
@@ -9095,7 +9387,7 @@
{
"disabled": false,
"document": "多云资产唯一id\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "abcd",
"member": "string",
"name": "Arn",
"output_required": false,
@@ -9543,6 +9835,66 @@
"output_required": false,
"type": "string",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "漏洞Payload\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "Payload",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "技术参考\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "References",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "cvss评分\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "CVSS",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "攻击热度\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "AttackHeat",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "安全产品支持情况\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "ServiceSupport",
+ "name": "ServiceSupport",
+ "output_required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "最新检测时间\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "RecentScanTime",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
}
],
"usage": "out"
diff --git a/tccli/services/csip/v20221121/examples.json b/tccli/services/csip/v20221121/examples.json
index c7383ef5ec..7c59cb42ff 100644
--- a/tccli/services/csip/v20221121/examples.json
+++ b/tccli/services/csip/v20221121/examples.json
@@ -51,8 +51,8 @@
"DescribeCVMAssets": [
{
"document": "cvm列表",
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCVMAssets\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n }\n}",
- "output": "{\n \"Response\": {\n \"AppIdList\": [\n {\n \"Text\": \"1300448058\",\n \"Value\": \"1300448058\"\n }\n ],\n \"AssetTypeList\": [\n {\n \"Text\": \"边缘计算机器(ECM)\",\n \"Value\": \"ECM\"\n },\n {\n \"Text\": \"腾讯云服务器(CVM)\",\n \"Value\": \"CVM\"\n }\n ],\n \"Data\": [\n {\n \"Access\": 0,\n \"AccountCount\": \"-\",\n \"AppCount\": \"-\",\n \"AppId\": 1300448058,\n \"AssetCreateTime\": \"2023-02-16 16:51:34\",\n \"AssetId\": \"ein-b41zgmgq\",\n \"AssetName\": \"test1\",\n \"AssetType\": \"ECM\",\n \"Attack\": 0,\n \"AvailableArea\": \"\",\n \"CPUInfo\": \"\",\n \"CPULoad\": \"低\",\n \"CPUSize\": 0,\n \"CWPStatus\": 1,\n \"ConfigurationRisk\": 0,\n \"DiskLoad\": \"0.00%\",\n \"DiskSize\": \"0GB\",\n \"InBandwidth\": \"0.00bps\",\n \"InFlow\": \"0.00B\",\n \"InstanceQUuid\": \"40b8a793-1e96-4101-b832-1f973b8efdb7\",\n \"InstanceUuid\": \"\",\n \"Intercept\": 0,\n \"IsCore\": 1,\n \"LastScanTime\": \"2023-03-31 17:40:20\",\n \"MemberId\": \"mem-c957e6a7195c85e0\",\n \"MemoryLoad\": \"0.00%\",\n \"MemorySize\": \"0GB\",\n \"NetWorkOut\": 0,\n \"NickName\": \"天空之蓝\",\n \"Os\": \"CentOS 8.0 64bit\",\n \"OsName\": \"CentOS 8.0 64bit\",\n \"OutBandwidth\": \"0.00bps\",\n \"OutFlow\": \"0.00B\",\n \"PartitionCount\": 0,\n \"PortCount\": 0,\n \"PortRisk\": 0,\n \"PrivateIp\": \"10.212.0.4\",\n \"ProcessCount\": \"-\",\n \"PublicIp\": \"119.147.20.109\",\n \"Region\": \"ap-guangzhou\",\n \"ScanTask\": 13,\n \"SubnetId\": \"subnet-0aos839s\",\n \"SubnetName\": \"\",\n \"Tag\": [\n {\n \"Name\": \"测试A\",\n \"Value\": \"测试B\"\n }\n ],\n \"Uin\": \"100011616646\",\n \"VpcId\": \"vpc-4c9w05r5\",\n \"VpcName\": \"\",\n \"VulnerabilityRisk\": 0\n }\n ],\n \"DefenseStatusList\": [\n {\n \"Text\": \"未开通防护\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"基础版未防护\",\n \"Value\": \"2\"\n }\n ],\n \"IpTypeList\": [\n {\n \"Text\": \"公网资产\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"私网资产\",\n \"Value\": \"0\"\n }\n ],\n \"OsList\": [\n {\n \"Text\": \"CentOS\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"未知\",\n \"Value\": \"0\"\n },\n {\n \"Text\": \"TencentOS\",\n \"Value\": \"7\"\n },\n {\n \"Text\": \"Ubuntu\",\n \"Value\": \"5\"\n }\n ],\n \"RegionList\": [\n {\n \"Text\": \"广州\",\n \"Value\": \"ap-guangzhou\"\n },\n {\n \"Text\": \"上海\",\n \"Value\": \"ap-shanghai\"\n },\n {\n \"Text\": \"北京\",\n \"Value\": \"ap-beijing\"\n },\n {\n \"Text\": \"成都\",\n \"Value\": \"ap-chengdu\"\n },\n {\n \"Text\": \"南京\",\n \"Value\": \"ap-nanjing\"\n }\n ],\n \"RequestId\": \"71673908-8c7d-41c3-8564-57c741ed3596\",\n \"SystemTypeList\": [\n {\n \"Text\": \"linux\",\n \"Value\": \"linux\"\n }\n ],\n \"Total\": 29,\n \"VpcList\": [\n {\n \"Text\": \"跨租户天空之蓝\",\n \"Value\": \"vpc-f6xj8nho\"\n },\n {\n \"Text\": \"成都sdwan\",\n \"Value\": \"vpc-ebfqtnxa\"\n },\n {\n \"Text\": \"冲突sdwan\",\n \"Value\": \"vpc-dw314am3\"\n },\n {\n \"Text\": \"vpctest\",\n \"Value\": \"vpc-rkm452h0\"\n },\n {\n \"Text\": \"Default-VPC很长的很长的231321321321321313\",\n \"Value\": \"vpc-5vcbd7cv\"\n }\n ],\n \"ZoneList\": [\n {\n \"Text\": \"广州\",\n \"Value\": \"ap-guangzhou\"\n },\n {\n \"Text\": \"上海\",\n \"Value\": \"ap-shanghai\"\n },\n {\n \"Text\": \"北京\",\n \"Value\": \"ap-beijing\"\n },\n {\n \"Text\": \"成都\",\n \"Value\": \"ap-chengdu\"\n },\n {\n \"Text\": \"南京\",\n \"Value\": \"ap-nanjing\"\n }\n ]\n }\n}",
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCVMAssets\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n }\n}",
+ "output": "{\n \"Response\": {\n \"AppIdList\": [\n {\n \"Text\": \"1300448058\",\n \"Value\": \"1300448058\"\n }\n ],\n \"AssetTypeList\": [\n {\n \"Text\": \"边缘计算机器(ECM)\",\n \"Value\": \"ECM\"\n },\n {\n \"Text\": \"腾讯云服务器(CVM)\",\n \"Value\": \"CVM\"\n }\n ],\n \"Data\": [\n {\n \"Access\": 0,\n \"AccountCount\": \"-\",\n \"AppCount\": \"-\",\n \"AppId\": 1300448058,\n \"AssetCreateTime\": \"2023-02-16 16:51:34\",\n \"AssetId\": \"ein-b41zgmgq\",\n \"AssetName\": \"test1\",\n \"AssetType\": \"ECM\",\n \"Attack\": 0,\n \"AvailableArea\": \"\",\n \"CPUInfo\": \"\",\n \"CPULoad\": \"低\",\n \"CPUSize\": 0,\n \"CWPStatus\": 1,\n \"ConfigurationRisk\": 0,\n \"DiskLoad\": \"0.00%\",\n \"DiskSize\": \"0GB\",\n \"InBandwidth\": \"0.00bps\",\n \"InFlow\": \"0.00B\",\n \"InstanceQUuid\": \"40b8a793-1e96-4101-b832-1f973b8efdb7\",\n \"InstanceUuid\": \"\",\n \"Intercept\": 0,\n \"IsCore\": 1,\n \"LastScanTime\": \"2023-03-31 17:40:20\",\n \"MemberId\": \"mem-c957e6a7195c85e0\",\n \"MemoryLoad\": \"0.00%\",\n \"MemorySize\": \"0GB\",\n \"NetWorkOut\": 0,\n \"NickName\": \"天空之蓝\",\n \"Os\": \"CentOS 8.0 64bit\",\n \"OsName\": \"CentOS 8.0 64bit\",\n \"OutBandwidth\": \"0.00bps\",\n \"OutFlow\": \"0.00B\",\n \"PartitionCount\": 0,\n \"PortCount\": 0,\n \"PortRisk\": 0,\n \"PrivateIp\": \"10.212.0.4\",\n \"ProcessCount\": \"-\",\n \"PublicIp\": \"119.147.20.109\",\n \"Region\": \"ap-guangzhou\",\n \"ScanTask\": 13,\n \"SubnetId\": \"subnet-0aos839s\",\n \"SubnetName\": \"\",\n \"Tag\": [\n {\n \"Name\": \"测试A\",\n \"Value\": \"测试B\"\n }\n ],\n \"RiskExposure\": 0,\n \"BASAgentStatus\": 0,\n \"Uin\": \"100011616646\",\n \"VpcId\": \"vpc-4c9w05r5\",\n \"VpcName\": \"\",\n \"VulnerabilityRisk\": 0\n }\n ],\n \"DefenseStatusList\": [\n {\n \"Text\": \"未开通防护\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"基础版未防护\",\n \"Value\": \"2\"\n }\n ],\n \"IpTypeList\": [\n {\n \"Text\": \"公网资产\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"私网资产\",\n \"Value\": \"0\"\n }\n ],\n \"OsList\": [\n {\n \"Text\": \"CentOS\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"未知\",\n \"Value\": \"0\"\n },\n {\n \"Text\": \"TencentOS\",\n \"Value\": \"7\"\n },\n {\n \"Text\": \"Ubuntu\",\n \"Value\": \"5\"\n }\n ],\n \"RegionList\": [\n {\n \"Text\": \"广州\",\n \"Value\": \"ap-guangzhou\"\n },\n {\n \"Text\": \"上海\",\n \"Value\": \"ap-shanghai\"\n },\n {\n \"Text\": \"北京\",\n \"Value\": \"ap-beijing\"\n },\n {\n \"Text\": \"成都\",\n \"Value\": \"ap-chengdu\"\n },\n {\n \"Text\": \"南京\",\n \"Value\": \"ap-nanjing\"\n }\n ],\n \"RequestId\": \"71673908-8c7d-41c3-8564-57c741ed3596\",\n \"SystemTypeList\": [\n {\n \"Text\": \"linux\",\n \"Value\": \"linux\"\n }\n ],\n \"Total\": 29,\n \"VpcList\": [\n {\n \"Text\": \"跨租户天空之蓝\",\n \"Value\": \"vpc-f6xj8nho\"\n },\n {\n \"Text\": \"成都sdwan\",\n \"Value\": \"vpc-ebfqtnxa\"\n },\n {\n \"Text\": \"冲突sdwan\",\n \"Value\": \"vpc-dw314am3\"\n },\n {\n \"Text\": \"vpctest\",\n \"Value\": \"vpc-rkm452h0\"\n },\n {\n \"Text\": \"Default-VPC很长的很长的231321321321321313\",\n \"Value\": \"vpc-5vcbd7cv\"\n }\n ],\n \"ZoneList\": [\n {\n \"Text\": \"广州\",\n \"Value\": \"ap-guangzhou\"\n },\n {\n \"Text\": \"上海\",\n \"Value\": \"ap-shanghai\"\n },\n {\n \"Text\": \"北京\",\n \"Value\": \"ap-beijing\"\n },\n {\n \"Text\": \"成都\",\n \"Value\": \"ap-chengdu\"\n },\n {\n \"Text\": \"南京\",\n \"Value\": \"ap-nanjing\"\n }\n ]\n }\n}",
"title": "cvm列表"
}
],
@@ -243,8 +243,8 @@
"DescribeVULRiskAdvanceCFGList": [
{
"document": "\t\n查询漏洞风险高级配置",
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVULRiskAdvanceCFGList\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\"\n}",
- "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"RiskId\": \"abc\",\n \"VULName\": \"abc\",\n \"RiskLevel\": \"abc\",\n \"CheckFrom\": \"abc\",\n \"Enable\": 0,\n \"VULType\": \"abc\",\n \"ImpactVersion\": \"abc\",\n \"CVE\": \"abc\",\n \"VULTag\": [\n \"abc\"\n ],\n \"FixMethod\": [\n \"abc\"\n ],\n \"ReleaseTime\": \"abc\"\n }\n ],\n \"TotalCount\": 0,\n \"RiskLevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"VULTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"CheckFromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVULRiskAdvanceCFGList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"TaskId\": \"abc\"\n}",
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"RiskId\": \"abc\",\n \"VULName\": \"abc\",\n \"RiskLevel\": \"abc\",\n \"EMGCVulType\": 0,\n \"CheckFrom\": \"abc\",\n \"Enable\": 0,\n \"VULType\": \"abc\",\n \"ImpactVersion\": \"abc\",\n \"CVE\": \"abc\",\n \"VULTag\": [\n \"abc\"\n ],\n \"FixMethod\": [\n \"abc\"\n ],\n \"ReleaseTime\": \"abc\"\n }\n ],\n \"TotalCount\": 0,\n \"RiskLevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"VULTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"CheckFromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"VulTagList\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
"title": "查询漏洞风险高级配置"
}
],
diff --git a/tccli/services/cwp/v20180228/api.json b/tccli/services/cwp/v20180228/api.json
index 136cf64055..5bbceb4703 100644
--- a/tccli/services/cwp/v20180228/api.json
+++ b/tccli/services/cwp/v20180228/api.json
@@ -29346,6 +29346,7 @@
"example": "1",
"member": "uint64",
"name": "NetAttackEnable",
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -29355,6 +29356,47 @@
"example": "1",
"member": "uint64",
"name": "NetAttackAlarmStatus",
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "1 全部旗舰版主机,0 InstanceIds列表主机",
+ "example": "1",
+ "member": "uint64",
+ "name": "Scope",
+ "output_required": false,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "自选主机\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "[\"d92d72\"]",
+ "member": "string",
+ "name": "InstanceIds",
+ "output_required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "自选排除主机\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "[\"d92d7\"]",
+ "member": "string",
+ "name": "ExcludeInstanceIds",
+ "output_required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "新增资产自动包含 0 不包含 1包含",
+ "example": "1",
+ "member": "uint64",
+ "name": "AutoInclude",
+ "output_required": false,
"type": "int",
"value_allowed_null": false
},
@@ -34809,7 +34851,7 @@
"example": "1",
"member": "uint64",
"name": "Enable",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -34819,7 +34861,7 @@
"example": "1",
"member": "uint64",
"name": "Scope",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -34829,7 +34871,7 @@
"example": "[\"05f0bcab-726c-4ea4-8109-bcd03d5598f7\"]",
"member": "string",
"name": "Quuids",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -34839,10 +34881,40 @@
"example": "123",
"member": "uint64",
"name": "FlagshipCount",
- "required": true,
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "影响主机id列表\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "[\"ins\"]",
+ "member": "string",
+ "name": "InstanceIds",
+ "output_required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "新增旗舰版主机自动加入;1是,0否 ",
+ "example": "1",
+ "member": "uint64",
+ "name": "AutoInclude",
+ "output_required": false,
"type": "int",
"value_allowed_null": false
},
+ {
+ "disabled": false,
+ "document": "排除的主机id列表\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "[\"ins\"]",
+ "member": "string",
+ "name": "ExcludeInstanceIds",
+ "output_required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
{
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
"member": "string",
@@ -48123,6 +48195,42 @@
"name": "NetAttackAlarmStatus",
"required": true,
"type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "1 全部旗舰版主机,0 Quuids列表主机",
+ "example": "1",
+ "member": "uint64",
+ "name": "Scope",
+ "required": false,
+ "type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "自选主机",
+ "example": "[\"d92d7\"]",
+ "member": "string",
+ "name": "InstanceIds",
+ "required": false,
+ "type": "list"
+ },
+ {
+ "disabled": false,
+ "document": "自选排除的主机",
+ "example": "[\"d92d\"]",
+ "member": "string",
+ "name": "ExcludeInstanceIds",
+ "required": false,
+ "type": "list"
+ },
+ {
+ "disabled": false,
+ "document": "新增资产自动包含 0 不包含 1包含",
+ "example": "1",
+ "member": "uint64",
+ "name": "AutoInclude",
+ "required": false,
+ "type": "int"
}
],
"type": "object"
@@ -48613,12 +48721,39 @@
},
{
"disabled": false,
- "document": "作用弄范围内旗舰版主机列表",
+ "document": "作用范围内旗舰版主机列表",
"example": "[\"d92d723e-4aac-4f4a-bbf9-e5430e29d289\"]",
"member": "string",
"name": "Quuids",
"required": false,
"type": "list"
+ },
+ {
+ "disabled": false,
+ "document": "排除作用范围内旗舰版主机列表",
+ "example": "[\"d92d\"]",
+ "member": "string",
+ "name": "ExcludeInstanceIds",
+ "required": false,
+ "type": "list"
+ },
+ {
+ "disabled": false,
+ "document": "新增资产自动包含 0 不包含 1包含",
+ "example": "1",
+ "member": "uint64",
+ "name": "AutoInclude",
+ "required": false,
+ "type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "作用范围内旗舰版主机列表",
+ "example": "[\"d92d7\"]",
+ "member": "string",
+ "name": "InstanceIds",
+ "required": false,
+ "type": "list"
}
],
"type": "object"
diff --git a/tccli/services/cynosdb/v20190107/api.json b/tccli/services/cynosdb/v20190107/api.json
index 72c22e42da..f4e003145d 100644
--- a/tccli/services/cynosdb/v20190107/api.json
+++ b/tccli/services/cynosdb/v20190107/api.json
@@ -281,9 +281,9 @@
"status": "online"
},
"DescribeClusterDatabases": {
- "document": "获取database列表",
+ "document": "获取集群数据库列表",
"input": "DescribeClusterDatabasesRequest",
- "name": "获取database列表",
+ "name": "获取集群数据库列表",
"output": "DescribeClusterDatabasesResponse",
"status": "online"
},
@@ -841,9 +841,9 @@
"status": "online"
},
"SearchClusterDatabases": {
- "document": "本接口(SearchClusterDatabases)搜索集群database列表",
+ "document": "本接口(SearchClusterDatabases)搜索集群数据库列表",
"input": "SearchClusterDatabasesRequest",
- "name": "搜索集群database列表",
+ "name": "搜索集群数据库列表",
"output": "SearchClusterDatabasesResponse",
"status": "online"
},
@@ -8029,7 +8029,7 @@
"example": "3",
"member": "int64",
"name": "TotalCount",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -8039,7 +8039,7 @@
"example": "1",
"member": "int64",
"name": "Offset",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -8049,7 +8049,7 @@
"example": "[]",
"member": "string",
"name": "Databases",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": false
},
@@ -8059,7 +8059,7 @@
"example": "20",
"member": "int64",
"name": "Limit",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
diff --git a/tccli/services/cynosdb/v20190107/examples.json b/tccli/services/cynosdb/v20190107/examples.json
index 64f2426e1e..5882025d5d 100644
--- a/tccli/services/cynosdb/v20190107/examples.json
+++ b/tccli/services/cynosdb/v20190107/examples.json
@@ -343,7 +343,7 @@
"document": "",
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDatabases\n<公共请求参数>\n\n{\n \"ClusterId\": \"xxx\"\n}",
"output": "{\n \"Response\": {\n \"TotalCount\": 3,\n \"Limit\": 20,\n \"Offset\": 1,\n \"RequestId\": \"176466\",\n \"Databases\": []\n }\n}",
- "title": "查询数据库列表"
+ "title": "获取集群数据库列表"
}
],
"DescribeClusterDetail": [
@@ -989,7 +989,7 @@
"document": "",
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchClusterDatabases\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-qwer\",\n \"Database\": \"testDb\"\n}",
"output": "{\n \"Response\": {\n \"RequestId\": \"176466\",\n \"Databases\": [\n \"testDb\"\n ]\n }\n}",
- "title": "搜索集群database列表"
+ "title": "搜索集群数据库列表"
}
],
"SearchClusterTables": [
diff --git a/tccli/services/emr/v20190103/api.json b/tccli/services/emr/v20190103/api.json
index 0f842e23c3..d1a58cd14a 100644
--- a/tccli/services/emr/v20190103/api.json
+++ b/tccli/services/emr/v20190103/api.json
@@ -50,7 +50,7 @@
"status": "online"
},
"DescribeEmrApplicationStatics": {
- "document": " yarn application 统计接口查询",
+ "document": "yarn application 统计接口查询",
"input": "DescribeEmrApplicationStaticsRequest",
"name": "查询YARN的任务统计信息",
"output": "DescribeEmrApplicationStaticsResponse",
@@ -2414,7 +2414,7 @@
},
{
"disabled": false,
- "document": "每页返回数量,默认值为100,最大值为100。",
+ "document": "每页返回数量,默认值为100,最大值为100。\n如果offset和limit都不填,或者都填0,则返回全部数据",
"example": "10",
"member": "int64",
"name": "Limit",
@@ -2673,7 +2673,7 @@
},
{
"disabled": false,
- "document": "页容量",
+ "document": "页容量,范围为[10,100]",
"example": "20",
"member": "int64",
"name": "Limit",
@@ -2692,7 +2692,7 @@
"example": "无",
"member": "ApplicationStatics",
"name": "Statics",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": false
},
@@ -2702,7 +2702,7 @@
"example": "3",
"member": "int64",
"name": "TotalCount",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -2712,7 +2712,7 @@
"example": "[\"root.default\"]",
"member": "string",
"name": "Queues",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": false
},
@@ -2722,7 +2722,7 @@
"example": "[\"hadoop\"]",
"member": "string",
"name": "Users",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": false
},
@@ -2732,7 +2732,7 @@
"example": "[\"MAPREDUCE\"]",
"member": "string",
"name": "ApplicationTypes",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": false
},
@@ -3074,7 +3074,7 @@
},
{
"disabled": false,
- "document": "每页返回数量,默认值为10,最大值为100。",
+ "document": "每页返回数量,默认值为100,最大值为100。\n如果limit和offset都为0,则查询全部记录;",
"example": "10",
"member": "uint64",
"name": "Limit",
@@ -3175,7 +3175,7 @@
},
{
"disabled": false,
- "document": "每页返回数量,默认值为10,最大值为100。",
+ "document": "每页返回数量,默认值为100,最大值为100。",
"example": "10",
"member": "uint64",
"name": "Limit",
@@ -3391,7 +3391,7 @@
},
{
"disabled": false,
- "document": "分页的大小",
+ "document": "分页的大小。\n默认查询全部;PageNo和PageSize不合理的设置,都是查询全部",
"example": "10",
"member": "int64",
"name": "PageSize",
@@ -3428,7 +3428,7 @@
"example": "100",
"member": "int64",
"name": "TotalCnt",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -3438,7 +3438,7 @@
"example": "无",
"member": "UserManagerUserBriefInfo",
"name": "UserManagerUserList",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
diff --git a/tccli/services/emr/v20190103/examples.json b/tccli/services/emr/v20190103/examples.json
index a4cdb28bc3..3ba8fe692d 100644
--- a/tccli/services/emr/v20190103/examples.json
+++ b/tccli/services/emr/v20190103/examples.json
@@ -131,7 +131,7 @@
"DescribeUsersForUserManager": [
{
"document": "",
- "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsersForUserManager\n<公共请求参数>\n\n{\n \"InstanceId\": \"xx\",\n \"UserManagerFilter\": {\n \"UserName\": \"xx\"\n },\n \"PageSize\": 0,\n \"PageNo\": 0,\n \"NeedKeytabInfo\": true\n}",
+ "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsersForUserManager\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-jnyiihlc\",\n \"UserManagerFilter\": {\n \"UserName\": \"sam\"\n },\n \"PageSize\": 0,\n \"PageNo\": 0,\n \"NeedKeytabInfo\": true\n}",
"output": "{\n \"Response\": {\n \"RequestId\": \"782d3570-9f82-4bff-974a-17cf684fdfe9\",\n \"TotalCnt\": 4,\n \"UserManagerUserList\": [\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test4\",\n \"UserName\": \"test4\",\n \"UserType\": \"NormalUser\"\n },\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test3\",\n \"UserName\": \"test3\",\n \"UserType\": \"NormalUser\"\n },\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"https://cosulr/cluster/test2.keytab\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test2\",\n \"UserName\": \"test2\",\n \"UserType\": \"NormalUser\"\n },\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"https://cosulr/cluster/test1.keytab\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test1\",\n \"UserName\": \"test1\",\n \"UserType\": \"NormalUser\"\n }\n ]\n }\n}",
"title": "test"
}
diff --git a/tccli/services/ess/v20201111/api.json b/tccli/services/ess/v20201111/api.json
index ac27662835..2d6d4b954f 100644
--- a/tccli/services/ess/v20201111/api.json
+++ b/tccli/services/ess/v20201111/api.json
@@ -57,7 +57,7 @@
"status": "online"
},
"CreateDocument": {
- "document": "创建签署流程电子文档
\n\n### 调用流程\n该接口需要给对应的流程指定一个模板id,并且填充该模板中需要补充的信息。需要配置创建签署流程和发起签署流程接口使用。具体逻辑可以参考下图:\n\n\n\n\n### 填充模版中定义的填写控件\n模版中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n填充的传参示例如下\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n",
+ "document": "创建签署流程电子文档
\n\n### 调用流程\n该接口需要给对应的流程指定一个模板id,并且填充该模板中需要补充的信息。需要配置创建签署流程和发起签署流程接口使用。具体逻辑可以参考下图:\n\n\n\n\n### 填充模版中定义的填写控件\n模版中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n\n\n填充的传参示例如下\n\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n\n",
"input": "CreateDocumentRequest",
"name": "模板发起合同-创建电子文档",
"output": "CreateDocumentResponse",
diff --git a/tccli/services/ess/v20201111/examples.json b/tccli/services/ess/v20201111/examples.json
index 3b7c82b416..42de999e90 100644
--- a/tccli/services/ess/v20201111/examples.json
+++ b/tccli/services/ess/v20201111/examples.json
@@ -383,7 +383,7 @@
},
{
"document": "1.通过PDF文件发起合同\n2.指定B端签署方为企业【典子谦示例企业】,经办人为【典子谦】\n3.通过绝对对位方式指定【典子谦示例企业】的签署控件为印章控件,控件位置为该文件的第1页,横坐标160,纵坐标260的位置,控件高宽为119x119(公章大小)\n4.指定C端签署方为个人【李四】,联系电话为【15100000000】\n5.通过绝对对位方式指定【李四】的签署控件为手写签名控件,控件位置为该文件的第1页,横坐标60,纵坐标260的位置,控件高宽为119x43(推荐的手写签名大小)\n6.通过绝对定位方式在合同文件的第1页,横坐标360,纵坐标360的位置放置一个单行文本控件,并写入内容【我是一个单行文本】\n7.完成合同发起",
- "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"19561039c99fe825a934a132520fde6a\"\n },\n \"FlowName\": \"通过文件发起合同\",\n \"FlowDescription\": \"通过文件发起合同\",\n \"Unordered\": false,\n \"FlowType\": \"示例合同\",\n \"Deadline\": 1830268800,\n \"SignBeanTag\": 1,\n \"Approvers\": [{\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"典子谦\",\n \"ApproverMobile\": \"13200000000\",\n \"VerifyChannel\": [],\n \"ApproverIdCardType\": \"\",\n \"ApproverIdCardNumber\": \"\",\n \"SignComponents\": [{\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentPosY\": 260,\n \"ComponentHeight\": 119,\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentValue\": \"\"\n\n }\n ]\n }, {\n \"ApproverType\": 1,\n \"NotifyType\": \"NONE\",\n \"ApproverName\": \"李四\",\n \"ApproverMobile\": \"15100000000\",\n \"PreReadTime\": 10,\n \"SignComponents\": [{\n \"ComponentPage\": 1,\n \"ComponentPosX\": 60,\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 119,\n \"ComponentHeight\": 43,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\"\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDwqYUUckp39gkfxUu14JJPxaTyM1ltq\"\n ],\n \"Components\": [{\n \"ComponentPage\": 1,\n \"ComponentPosX\": 360,\n \"ComponentPosY\": 360,\n \"ComponentWidth\": 100,\n \"ComponentHeight\": 100,\n \"ComponentType\": \"TEXT\",\n \"ComponentValue\": \"我是一个单行文本\",\n \"FileIndex\": 0\n }\n ]\n}",
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"19561039c99fe825a934a132520fde6a\"\n },\n \"FlowName\": \"通过文件发起合同\",\n \"FlowDescription\": \"通过文件发起合同\",\n \"Unordered\": false,\n \"FlowType\": \"示例合同\",\n \"Deadline\": 1830268800,\n \"SignBeanTag\": 1,\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"典子谦\",\n \"ApproverMobile\": \"13200000000\",\n \"VerifyChannel\": [],\n \"ApproverIdCardType\": \"\",\n \"ApproverIdCardNumber\": \"\",\n \"SignComponents\": [\n {\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentPosY\": 260,\n \"ComponentHeight\": 119,\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentValue\": \"\"\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"NotifyType\": \"NONE\",\n \"ApproverName\": \"李四\",\n \"ApproverMobile\": \"15100000000\",\n \"PreReadTime\": 10,\n \"SignComponents\": [\n {\n \"ComponentPage\": 1,\n \"ComponentPosX\": 60,\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 119,\n \"ComponentHeight\": 43,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\"\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDwqYUUckp39gkfxUu14JJPxaTyM1ltq\"\n ],\n \"Components\": [\n {\n \"ComponentPage\": 1,\n \"ComponentPosX\": 360,\n \"ComponentPosY\": 360,\n \"ComponentWidth\": 100,\n \"ComponentHeight\": 100,\n \"ComponentType\": \"TEXT\",\n \"ComponentValue\": \"我是一个单行文本\",\n \"FileIndex\": 0\n }\n ]\n}",
"output": "{\n \"Response\": {\n \"Approvers\": [\n {\n \"SignId\": \"\",\n \"RecipientId\": \"yDw7hUUckpkmo432UunP4DaCo2sOe2oP\",\n \"ApproverRoleName\": \"\"\n }\n ],\n \"FlowId\": \"yDR4yUUgyg1qh6szUxt1qOK1Jy90khKS\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1665674603446404796\"\n }\n}",
"title": "通过文件发起B2C合同-控件使用绝对定位方式"
}
diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json
index 8ba29fbc17..9dd3304487 100644
--- a/tccli/services/essbasic/v20210526/api.json
+++ b/tccli/services/essbasic/v20210526/api.json
@@ -337,7 +337,7 @@
"status": "online"
},
"CreateFlowsByTemplates": {
- "document": "接口(CreateFlowsByTemplates)用于使用模板批量创建签署流程。当前可批量发起合同(签署流程)数量为1-20个。\n如若在模板中配置了动态表格, 上传的附件必须为A4大小 \n合同发起人必须在电子签已经进行实名。\n\n### 一. 整体的逻辑如下\n\n\n\n### 二. 可以作为发起方和签署方的角色列表\n\n\n\n场景编号 | \n可作为发起方类型 | \n可作为签署方的类型 | \n
\n\n\n\n\n场景一 | \n第三方子企业A员工 | \n第三方子企业A员工 | \n
\n\n\n场景二 | \n第三方子企业A员工 | \n第三方子企业B(不指定经办人) | \n
\n\n\n场景三 | \n第三方子企业A员工 | \n第三方子企业B员工 | \n
\n\n\n场景四 | \n第三方子企业A员工 | \n个人/自然人 | \n
\n\n\n场景五 | \n第三方子企业A员工 | \nSaaS平台企业员工 | \n
\n\n
\n\n### 三. 填充模版中定义的填写控件\n模版中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n填充的传参示例如下\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n\n\n\n\n### 四. 注意 \n1. 发起合同时候, 作为发起方的第三方子企业A员工的企业和员工必须经过实名, 而作为签署方的第三方子企业A员工/个人/自然人/SaaS平台企业员工/第三方子企业B员工企业中的企业和个人/员工可以未实名\n\n2. 不同类型的签署方传参不同, 可以参考开发者中心的FlowApproverInfo结构体说明\n\n3. 调用接口发起合同成功就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度)\n\n4. 静默(自动)签署不支持合同签署方存在填写\n\n5. 在下一步创建签署链接前,建议等待DocumentFill PDF合成完成的回调或者睡眠几秒,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。",
+ "document": "接口(CreateFlowsByTemplates)用于使用模板批量创建签署流程。当前可批量发起合同(签署流程)数量为1-20个。\n如若在模板中配置了动态表格, 上传的附件必须为A4大小 \n合同发起人必须在电子签已经进行实名。\n\n### 一. 整体的逻辑如下\n\n\n\n### 二. 可以作为发起方和签署方的角色列表\n\n\n\n场景编号 | \n可作为发起方类型 | \n可作为签署方的类型 | \n
\n\n\n\n\n场景一 | \n第三方子企业A员工 | \n第三方子企业A员工 | \n
\n\n\n场景二 | \n第三方子企业A员工 | \n第三方子企业B(不指定经办人) | \n
\n\n\n场景三 | \n第三方子企业A员工 | \n第三方子企业B员工 | \n
\n\n\n场景四 | \n第三方子企业A员工 | \n个人/自然人 | \n
\n\n\n场景五 | \n第三方子企业A员工 | \nSaaS平台企业员工 | \n
\n\n
\n\n### 三. 填充模版中定义的填写控件\n模版中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n\n填充的传参示例如下\n\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n\n\n\n\n\n### 四. 注意 \n1. 发起合同时候, 作为发起方的第三方子企业A员工的企业和员工必须经过实名, 而作为签署方的第三方子企业A员工/个人/自然人/SaaS平台企业员工/第三方子企业B员工企业中的企业和个人/员工可以未实名\n\n2. 不同类型的签署方传参不同, 可以参考开发者中心的FlowApproverInfo结构体说明\n\n3. 调用接口发起合同成功就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度)\n\n4. 静默(自动)签署不支持合同签署方存在填写\n\n5. 在下一步创建签署链接前,建议等待DocumentFill PDF合成完成的回调或者睡眠几秒,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。",
"input": "CreateFlowsByTemplatesRequest",
"name": "用模板创建签署流程",
"output": "CreateFlowsByTemplatesResponse",
@@ -10138,7 +10138,7 @@
},
{
"disabled": false,
- "document": "可选的此企业允许的授权方式, 可以设置的方式有:\n1:上传授权书+对公打款\n2:法人授权/认证 会根据当前操作人的身份判定,如果当前操作人是法人,则是法人认证, 如果当前操作人不是法人,则走法人授权\n\n注:\n`1. 当前仅支持一种认证方式`\n`2. 如果当前的企业类型是政府/事业单位, 则只支持上传授权书+对公打款`",
+ "document": "可选的此企业允许的授权方式, 可以设置的方式有:\n1:上传授权书\n2:法人授权超管\n5:授权书+对公打款\n\n\n注:\n`1. 当前仅支持一种认证方式`\n`2. 如果当前的企业类型是政府/事业单位, 则只支持上传授权书+对公打款`\n`3. 如果当前操作人是法人,则是法人认证`",
"example": "无",
"member": "uint64",
"name": "AuthorizationTypes",
@@ -10162,6 +10162,15 @@
"name": "AdminIdCardNumber",
"required": false,
"type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "营业执照正面照(PNG或JPG) base64格式, 大小不超过5M",
+ "example": "无",
+ "member": "string",
+ "name": "BusinessLicense",
+ "required": false,
+ "type": "string"
}
],
"usage": "in"
diff --git a/tccli/services/iotexplorer/v20190423/api.json b/tccli/services/iotexplorer/v20190423/api.json
index 387e6009a6..ef5f9928bb 100644
--- a/tccli/services/iotexplorer/v20190423/api.json
+++ b/tccli/services/iotexplorer/v20190423/api.json
@@ -3752,7 +3752,7 @@
"example": "无",
"member": "InstanceDetail",
"name": "Data",
- "required": true,
+ "output_required": true,
"type": "object",
"value_allowed_null": true
},
@@ -4047,6 +4047,7 @@
"example": "无",
"member": "ProductEntry",
"name": "Product",
+ "output_required": true,
"type": "object",
"value_allowed_null": false
},
@@ -6102,17 +6103,17 @@
"example": "test",
"member": "string",
"name": "InstanceId",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
{
"disabled": false,
- "document": "实例类型(0 公共实例 1 标准企业实例 2专享企业实例)",
+ "document": "实例类型(0 公共实例 1 标准企业实例 2新企业实例3新公共实例)",
"example": "1",
"member": "int64",
"name": "InstanceType",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -6122,7 +6123,7 @@
"example": "test",
"member": "string",
"name": "Region",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -6132,7 +6133,7 @@
"example": "test",
"member": "string",
"name": "ZoneId",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -6142,17 +6143,17 @@
"example": "1",
"member": "int64",
"name": "TotalDeviceNum",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
{
"disabled": false,
- "document": "以注册设备数",
+ "document": "已注册设备数",
"example": "1",
"member": "int64",
"name": "UsedDeviceNum",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -6162,7 +6163,7 @@
"example": "1",
"member": "int64",
"name": "ProjectNum",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -6172,7 +6173,7 @@
"example": "1",
"member": "int64",
"name": "ProductNum",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -6182,7 +6183,7 @@
"example": "1234243",
"member": "datetime_iso",
"name": "CreateTime",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -6192,7 +6193,7 @@
"example": "234132432",
"member": "datetime_iso",
"name": "UpdateTime",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -6202,7 +6203,7 @@
"example": "23142134123",
"member": "datetime_iso",
"name": "ExpireTime",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -6212,7 +6213,7 @@
"example": "1",
"member": "int64",
"name": "TotalDevice",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": true
},
@@ -6222,7 +6223,27 @@
"example": "1",
"member": "int64",
"name": "ActivateDevice",
- "required": true,
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "备注\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "备注",
+ "member": "string",
+ "name": "Description",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "实例状态\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "1",
+ "member": "int64",
+ "name": "Status",
+ "output_required": false,
"type": "int",
"value_allowed_null": true
}
@@ -7675,7 +7696,7 @@
"example": "1",
"member": "string",
"name": "ProductId",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7685,7 +7706,7 @@
"example": "1",
"member": "string",
"name": "ProductName",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7695,7 +7716,7 @@
"example": "0",
"member": "int64",
"name": "CategoryId",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -7705,7 +7726,7 @@
"example": "0",
"member": "string",
"name": "EncryptionType",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7715,7 +7736,7 @@
"example": "0",
"member": "string",
"name": "NetType",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7725,7 +7746,7 @@
"example": "0",
"member": "int64",
"name": "DataProtocol",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -7735,7 +7756,7 @@
"example": "0",
"member": "string",
"name": "ProductDesc",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7745,7 +7766,7 @@
"example": "0",
"member": "string",
"name": "DevStatus",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7755,7 +7776,7 @@
"example": "0",
"member": "uint64",
"name": "CreateTime",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -7765,7 +7786,7 @@
"example": "0",
"member": "uint64",
"name": "UpdateTime",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -7775,7 +7796,7 @@
"example": "0",
"member": "string",
"name": "Region",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7785,7 +7806,7 @@
"example": "0",
"member": "int64",
"name": "ProductType",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -7795,7 +7816,7 @@
"example": "0",
"member": "string",
"name": "ProjectId",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -7805,7 +7826,7 @@
"example": "0",
"member": "int64",
"name": "ModuleId",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -7815,7 +7836,7 @@
"example": "1",
"member": "string",
"name": "EnableProductScript",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -7825,7 +7846,7 @@
"example": "1",
"member": "int64",
"name": "CreateUserId",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": true
},
@@ -7835,7 +7856,7 @@
"example": "1",
"member": "string",
"name": "CreatorNickName",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -7845,7 +7866,17 @@
"example": "1",
"member": "uint64",
"name": "BindStrategy",
- "required": true,
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "设备数量\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "1",
+ "member": "int64",
+ "name": "DeviceCount",
+ "output_required": false,
"type": "int",
"value_allowed_null": true
}
@@ -9032,6 +9063,15 @@
"name": "FwType",
"required": false,
"type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "固件用户自定义配置信息",
+ "example": "{\"key1\":\"value1\", \"key2\":\"支持中文\"}",
+ "member": "string",
+ "name": "FirmwareUserDefined",
+ "required": false,
+ "type": "string"
}
],
"type": "object"
diff --git a/tccli/services/iotexplorer/v20190423/examples.json b/tccli/services/iotexplorer/v20190423/examples.json
index a340fd5c18..a166308b5c 100644
--- a/tccli/services/iotexplorer/v20190423/examples.json
+++ b/tccli/services/iotexplorer/v20190423/examples.json
@@ -373,8 +373,8 @@
"DescribeInstance": [
{
"document": "",
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"ProjectId\": \"prj-1aoioii9\",\n \"InstanceId\": \"ins-BoSq3gRJ27\",\n \"ProductId\": \"-1\",\n \"Include\": [\n \"TotalDevice\",\n \"ActivateDevice\",\n \"UsedDeviceNum\"\n ]\n}",
- "output": "{\n \"Response\": {\n \"Data\": {\n \"InstanceId\": \"ins-BoSq3gRJ27\",\n \"InstanceType\": 0,\n \"Region\": \"ap-guangzhou\",\n \"ZoneId\": \"\",\n \"TotalDeviceNum\": 1000,\n \"ProjectNum\": 0,\n \"ProductNum\": 0,\n \"UsedDeviceNum\": 15,\n \"CreateTime\": \"2021-05-26T10:57:52+08:00\",\n \"UpdateTime\": \"2021-07-20T14:52:16+08:00\",\n \"ExpireTime\": \"0001-01-01T00:00:00Z\",\n \"TotalDevice\": 15,\n \"ActivateDevice\": 0\n },\n \"RequestId\": \"8bbbaa15-9918-4fd9-a70c-dbb47dwac0ca\"\n }\n}",
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"ProjectId\": \"prj-1aoioii9\",\n \"InstanceId\": \"ins-BoSq3gRJ27\",\n \"ProductId\": \"-1\"\n}",
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"InstanceId\": \"ins-BoSq3gRJ27\",\n \"InstanceType\": 0,\n \"Region\": \"ap-guangzhou\",\n \"ZoneId\": \"\",\n \"TotalDeviceNum\": 1000,\n \"ProjectNum\": 0,\n \"ProductNum\": 0,\n \"UsedDeviceNum\": 15,\n \"CreateTime\": \"2021-05-26T10:57:52+08:00\",\n \"UpdateTime\": \"2021-07-20T14:52:16+08:00\",\n \"ExpireTime\": \"0001-01-01T00:00:00Z\",\n \"TotalDevice\": 15,\n \"ActivateDevice\": 0,\n \"Description\": \"\",\n \"Status\": 0\n },\n \"RequestId\": \"8bbbaa15-9918-4fd9-a70c-dbb47dwac0ca\"\n }\n}",
"title": "实例详情"
}
],
@@ -422,7 +422,7 @@
{
"document": "获取产品详情",
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeStudioProduct\n&ProductId=M5AWDSEUYO\n&<公共请求参数>",
- "output": "{\n \"Response\": {\n \"Product\": {\n \"ProductId\": \"productId\",\n \"ProductName\": \"name\",\n \"CategoryId\": 593,\n \"ProductType\": 0,\n \"EncryptionType\": \"2\",\n \"NetType\": \"wifi\",\n \"DataProtocol\": 1,\n \"ProductDesc\": \"\",\n \"ProjectId\": \"prj-wg9**b2\",\n \"DevStatus\": \"dev\",\n \"CreateTime\": 1686100765,\n \"UpdateTime\": 1686100802,\n \"Region\": \"gz\",\n \"ModuleId\": 0,\n \"EnableProductScript\": \"\",\n \"CreatorNickName\": \"name\",\n \"CreateUserId\": 1,\n \"BindStrategy\": 0\n },\n \"RequestId\": \"1c469fbf-d80c-4299-9b54-31340898b839\"\n }\n}",
+ "output": "{\n \"Response\": {\n \"Product\": {\n \"ProductId\": \"productId\",\n \"ProductName\": \"name\",\n \"CategoryId\": 593,\n \"ProductType\": 0,\n \"EncryptionType\": \"2\",\n \"NetType\": \"wifi\",\n \"DataProtocol\": 1,\n \"ProductDesc\": \"\",\n \"ProjectId\": \"prj-wg9**b2\",\n \"DevStatus\": \"dev\",\n \"CreateTime\": 1686100765,\n \"UpdateTime\": 1686100802,\n \"Region\": \"gz\",\n \"ModuleId\": 0,\n \"EnableProductScript\": \"\",\n \"CreatorNickName\": \"name\",\n \"CreateUserId\": 1,\n \"BindStrategy\": 0,\n \"DeviceCount\": 1\n },\n \"RequestId\": \"1c469fbf-d80c-4299-9b54-31340898b839\"\n }\n}",
"title": "获取产品详情"
}
],
diff --git a/tccli/services/iss/v20230517/api.json b/tccli/services/iss/v20230517/api.json
index f471f9ac20..005dbe7c74 100644
--- a/tccli/services/iss/v20230517/api.json
+++ b/tccli/services/iss/v20230517/api.json
@@ -975,7 +975,7 @@
{
"disabled": false,
"document": "设备iD\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "f8656fa3-e7fa-4cad-a4cc-************",
"member": "string",
"name": "DeviceId",
"output_required": true,
@@ -984,8 +984,8 @@
},
{
"disabled": false,
- "document": "设备编码(即我们为设备生成的20位国标编码)\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "document": "设备编码(国标设备即我们为设备生成的20位国标编码,rtmp 设备为10 位设备编码)\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "6101320000132000****",
"member": "string",
"name": "Code",
"output_required": true,
@@ -995,7 +995,7 @@
{
"disabled": false,
"document": "设备名称\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "设备1",
"member": "string",
"name": "Name",
"output_required": true,
@@ -1005,7 +1005,7 @@
{
"disabled": false,
"document": "设备接入协议,1:RTMP,2:GB,3:GW \n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "3",
"member": "int64",
"name": "AccessProtocol",
"output_required": true,
@@ -1015,7 +1015,7 @@
{
"disabled": false,
"document": "设备类型,1:IPC,2:NVR\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "1",
"member": "int64",
"name": "Type",
"output_required": true,
@@ -1025,7 +1025,7 @@
{
"disabled": false,
"document": "设备接入服务节点ID\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "b2181417-03ce-4ea3-ae39-************",
"member": "string",
"name": "ClusterId",
"output_required": true,
@@ -1035,7 +1035,7 @@
{
"disabled": false,
"document": "设备接入服务节点名称\n\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "上海1",
"member": "string",
"name": "ClusterName",
"output_required": true,
@@ -1045,7 +1045,7 @@
{
"disabled": false,
"document": "设备流传输协议,1:UDP,2:TCP \n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "1",
"member": "int64",
"name": "TransportProtocol",
"output_required": true,
@@ -1055,7 +1055,7 @@
{
"disabled": false,
"document": "设备密码\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "111111",
"member": "string",
"name": "Password",
"output_required": true,
@@ -1065,7 +1065,7 @@
{
"disabled": false,
"document": "设备描述\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "这个是gw设备",
"member": "string",
"name": "Description",
"output_required": true,
@@ -1075,7 +1075,7 @@
{
"disabled": false,
"document": "设备状态,0:未注册,1:在线,2:离线,3:禁用\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "1",
"member": "int64",
"name": "Status",
"output_required": true,
@@ -1085,7 +1085,7 @@
{
"disabled": false,
"document": "设备所属组织ID\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "237",
"member": "int64",
"name": "OrganizationId",
"output_required": true,
@@ -1095,7 +1095,7 @@
{
"disabled": false,
"document": "设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要)\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "f6d2540d-1d13-4873-b10e-************",
"member": "string",
"name": "GatewayId",
"output_required": true,
@@ -1105,7 +1105,7 @@
{
"disabled": false,
"document": "网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "1",
"member": "int64",
"name": "ProtocolType",
"output_required": true,
@@ -1115,7 +1115,7 @@
{
"disabled": false,
"document": "设备接入IP(仅网关接入需要)\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "192.168.**.1",
"member": "string",
"name": "Ip",
"output_required": true,
@@ -1125,7 +1125,7 @@
{
"disabled": false,
"document": "设备Port(仅网关接入需要)\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "9000",
"member": "int64",
"name": "Port",
"output_required": true,
@@ -1135,7 +1135,7 @@
{
"disabled": false,
"document": "设备用户名(仅网关接入需要)\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "admin",
"member": "string",
"name": "Username",
"output_required": true,
@@ -1145,7 +1145,7 @@
{
"disabled": false,
"document": "用户ID\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "无",
+ "example": "130****012",
"member": "int64",
"name": "AppId",
"output_required": true,
@@ -2112,7 +2112,7 @@
{
"disabled": false,
"document": "设备名称,仅支持中文、英文、数字、_、-,长度不超过32个字符;(设备名称无需全局唯一,可以重复)",
- "example": "无",
+ "example": "设备1",
"member": "string",
"name": "Name",
"required": true,
@@ -2120,8 +2120,8 @@
},
{
"disabled": false,
- "document": "设备接入协议(1:RTMP,2:GB,3:GW)",
- "example": "无",
+ "document": "设备接入协议(1:RTMP,2:GB,3:GW,4:IVCP)",
+ "example": "2",
"member": "int64",
"name": "AccessProtocol",
"required": true,
@@ -2129,8 +2129,8 @@
},
{
"disabled": false,
- "document": "设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,则设备类型只能选择IPC)",
- "example": "无",
+ "document": "设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)",
+ "example": "1",
"member": "int64",
"name": "Type",
"required": true,
@@ -2139,7 +2139,7 @@
{
"disabled": false,
"document": "设备所属组织ID,从查询组织接口DescribeOrganization中获取",
- "example": "无",
+ "example": "237",
"member": "string",
"name": "OrganizationId",
"required": true,
@@ -2148,7 +2148,7 @@
{
"disabled": false,
"document": "设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)",
- "example": "无",
+ "example": "b2181417-03ce-4ea3-ae39-************",
"member": "string",
"name": "ClusterId",
"required": true,
@@ -2157,7 +2157,7 @@
{
"disabled": false,
"document": "设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)",
- "example": "无",
+ "example": "1",
"member": "int64",
"name": "TransportProtocol",
"required": false,
@@ -2166,7 +2166,7 @@
{
"disabled": false,
"document": "设备密码(国标,网关设备必填,仅支持数字组合,长度为1-64个字符)",
- "example": "无",
+ "example": "111111",
"member": "string",
"name": "Password",
"required": false,
@@ -2175,7 +2175,7 @@
{
"disabled": false,
"document": "设备描述,仅支持中文、英文、数字、_、-,长度不超过128个字符",
- "example": "无",
+ "example": "这是设备1",
"member": "string",
"name": "Description",
"required": false,
@@ -2184,7 +2184,7 @@
{
"disabled": false,
"document": "设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)",
- "example": "无",
+ "example": "f6d2540d-1d13-4873-b10e-************",
"member": "string",
"name": "GatewayId",
"required": false,
@@ -2193,7 +2193,7 @@
{
"disabled": false,
"document": "网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)",
- "example": "无",
+ "example": "1",
"member": "int64",
"name": "ProtocolType",
"required": false,
@@ -2202,7 +2202,7 @@
{
"disabled": false,
"document": "设备接入IP(仅网关接入需要)",
- "example": "无",
+ "example": "192.168.*.1",
"member": "string",
"name": "Ip",
"required": false,
@@ -2211,7 +2211,7 @@
{
"disabled": false,
"document": "设备端口(仅网关接入需要)",
- "example": "无",
+ "example": "9000",
"member": "int64",
"name": "Port",
"required": false,
@@ -2220,11 +2220,20 @@
{
"disabled": false,
"document": "设备用户名(仅网关接入需要)",
- "example": "无",
+ "example": "admin",
"member": "string",
"name": "Username",
"required": false,
"type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "设备 SN,仅IVCP 协议设备需要",
+ "example": "110123111600****",
+ "member": "string",
+ "name": "SNCode",
+ "required": false,
+ "type": "string"
}
],
"type": "object"
diff --git a/tccli/services/ssl/v20191205/api.json b/tccli/services/ssl/v20191205/api.json
index df8a02d21c..4d3ca0ac2a 100644
--- a/tccli/services/ssl/v20191205/api.json
+++ b/tccli/services/ssl/v20191205/api.json
@@ -620,6 +620,15 @@
"name": "DeleteDnsAutoRecord",
"required": false,
"type": "bool"
+ },
+ {
+ "disabled": false,
+ "document": "域名数组(多域名证书可以上传)。\t",
+ "example": "无",
+ "member": "string",
+ "name": "DnsNames",
+ "required": false,
+ "type": "list"
}
],
"type": "object"
diff --git a/tccli/services/tcb/v20180608/api.json b/tccli/services/tcb/v20180608/api.json
index e09c5108e7..e03118d6ee 100644
--- a/tccli/services/tcb/v20180608/api.json
+++ b/tccli/services/tcb/v20180608/api.json
@@ -7318,7 +7318,7 @@
},
{
"disabled": false,
- "document": "开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).",
+ "document": "开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟)",
"example": "2019-04-02 09:00:00",
"member": "string",
"name": "StartTime",
@@ -7327,7 +7327,7 @@
},
{
"disabled": false,
- "document": "结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..",
+ "document": "结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)",
"example": "2019-04-04 19:00:00",
"member": "string",
"name": "EndTime",
@@ -7351,7 +7351,7 @@
"members": [
{
"disabled": false,
- "document": "开始时间, 会根据数据的统计周期进行取整.",
+ "document": "开始时间, 会根据数据的统计周期进行取整",
"example": "2019-04-02 09:00:00",
"member": "string",
"name": "StartTime",
@@ -7361,7 +7361,7 @@
},
{
"disabled": false,
- "document": "结束时间, 会根据数据的统计周期进行取整.",
+ "document": "结束时间, 会根据数据的统计周期进行取整",
"example": "2019-04-04 19:00:00",
"member": "string",
"name": "EndTime",
@@ -7371,7 +7371,7 @@
},
{
"disabled": false,
- "document": "指标名.",
+ "document": "指标名",
"example": "StorageRead",
"member": "string",
"name": "MetricName",
@@ -7381,7 +7381,7 @@
},
{
"disabled": false,
- "document": "统计周期(单位秒), 当时间区间为1天内, 统计周期为5分钟; 当时间区间选择为1天以上, 15天以下, 统计周期为1小时; 当时间区间选择为15天以上, 180天以下, 统计周期为1天.",
+ "document": "统计周期(单位秒), 当时间区间为1天内, 统计周期为5分钟; 当时间区间选择为1天以上, 15天以下, 统计周期为1小时; 当时间区间选择为15天以上, 180天以下, 统计周期为1天",
"example": "3600",
"member": "uint64",
"name": "Period",
@@ -7391,7 +7391,7 @@
},
{
"disabled": false,
- "document": "有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到。",
+ "document": "有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到",
"example": "[20,100,180,240,260]",
"member": "int64",
"name": "Values",
@@ -7401,7 +7401,7 @@
},
{
"disabled": false,
- "document": "时间数据, 标识监控数据Values中的点是哪个时间段上报的.",
+ "document": "时间数据, 标识监控数据Values中的点是哪个时间段上报的",
"example": "[1554894000,1554894300,1554894600,1554894900,1554895200]",
"member": "int64",
"name": "Time",
@@ -7411,7 +7411,7 @@
},
{
"disabled": false,
- "document": "有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到.",
+ "document": "有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到",
"example": "[20.0,100.0,180.0,240.0,260.0]",
"member": "float",
"name": "NewValues",
diff --git a/tccli/services/tcss/v20201101/api.json b/tccli/services/tcss/v20201101/api.json
index f1da0a0952..a36aa28061 100644
--- a/tccli/services/tcss/v20201101/api.json
+++ b/tccli/services/tcss/v20201101/api.json
@@ -20627,7 +20627,7 @@
"example": "1",
"member": "uint64",
"name": "TotalAuthorizedCnt",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -20637,7 +20637,7 @@
"example": "1",
"member": "uint64",
"name": "UsedAuthorizedCnt",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -20647,7 +20647,7 @@
"example": "1",
"member": "uint64",
"name": "ScannedImageCnt",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -20657,7 +20657,7 @@
"example": "1",
"member": "uint64",
"name": "NotScannedImageCnt",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
@@ -20667,10 +20667,60 @@
"example": "1",
"member": "uint64",
"name": "NotScannedLocalImageCnt",
- "required": true,
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "试用镜像授权数",
+ "example": "1",
+ "member": "uint64",
+ "name": "TrialAuthorizedCnt",
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "已使用试用镜像授权数",
+ "example": "无",
+ "member": "uint64",
+ "name": "UsedTrialAuthorizedCnt",
+ "output_required": true,
"type": "int",
"value_allowed_null": false
},
+ {
+ "disabled": false,
+ "document": "已购镜像授权数",
+ "example": "无",
+ "member": "uint64",
+ "name": "PurchasedAuthorizedCnt",
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "已使用已购镜像授权数",
+ "example": "无",
+ "member": "uint64",
+ "name": "UsedPurchasedAuthorizedCnt",
+ "output_required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "是否可免费领取镜像授权数",
+ "example": "无",
+ "member": "bool",
+ "name": "CanApplyFreeImageAuthorize",
+ "output_required": true,
+ "type": "bool",
+ "value_allowed_null": false
+ },
{
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
"member": "string",
diff --git a/tccli/services/tcss/v20201101/examples.json b/tccli/services/tcss/v20201101/examples.json
index 02ea255bc3..2748304be2 100644
--- a/tccli/services/tcss/v20201101/examples.json
+++ b/tccli/services/tcss/v20201101/examples.json
@@ -1426,7 +1426,7 @@
{
"document": "",
"input": "https://tcss.tencentcloudapi.com/?Action=DescribeImageAuthorizedInfo\n&<公共请求参数>",
- "output": "{\n \"Response\": {\n \"ScannedImageCnt\": 1,\n \"TotalAuthorizedCnt\": 1,\n \"NotScannedLocalImageCnt\": 1,\n \"RequestId\": \"xx\",\n \"UsedAuthorizedCnt\": 1,\n \"NotScannedImageCnt\": 1\n }\n}",
+ "output": "{\n \"Response\": {\n \"TotalAuthorizedCnt\": 1,\n \"UsedAuthorizedCnt\": 1,\n \"ScannedImageCnt\": 1,\n \"NotScannedImageCnt\": 1,\n \"NotScannedLocalImageCnt\": 1,\n \"TrialAuthorizedCnt\": 1,\n \"UsedTrialAuthorizedCnt\": 1,\n \"PurchasedAuthorizedCnt\": 1,\n \"UsedPurchasedAuthorizedCnt\": 1,\n \"CanApplyFreeImageAuthorize\": true,\n \"RequestId\": \"abc\"\n }\n}",
"title": "查询镜像授权信息"
}
],
diff --git a/tccli/services/tione/v20211111/api.json b/tccli/services/tione/v20211111/api.json
index 6c2d8996d5..737eb1cc06 100644
--- a/tccli/services/tione/v20211111/api.json
+++ b/tccli/services/tione/v20211111/api.json
@@ -4139,6 +4139,34 @@
],
"usage": "out"
},
+ "DefaultInnerCallInfo": {
+ "document": "默认内网调用信息",
+ "members": [
+ {
+ "disabled": false,
+ "document": "可以进行调用的VPC-ID\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "VpcIds",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "默认内网调用地址\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "InnerHttpAddr",
+ "output_required": false,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "both"
+ },
"DefaultNginxGatewayCallInfo": {
"document": "默认Nginx网关结构",
"members": [
@@ -4761,7 +4789,7 @@
},
{
"disabled": false,
- "document": "分页查询每页大小,最大30; 默认20",
+ "document": "分页查询每页大小,默认20",
"example": "无",
"member": "uint64",
"name": "Limit",
@@ -4836,7 +4864,7 @@
"members": [
{
"disabled": false,
- "document": "资源组类型; 枚举值 TRAIN:训练 INFERENCE:推理",
+ "document": "资源组类型;\n枚举值:\n空: 通用, TRAIN: 训练, INFERENCE: 推理",
"example": "INFERENCE",
"member": "string",
"name": "Type",
@@ -4872,7 +4900,7 @@
},
{
"disabled": false,
- "document": "返回数量,默认为20,最大值为30;\n注意:小于0则默认为20;大于30则默认为30",
+ "document": "分页查询每页大小,默认20",
"example": "0",
"member": "int64",
"name": "Limit",
@@ -7982,12 +8010,13 @@
"example": "无",
"member": "CosPathInfo",
"name": "CosPathInfo",
- "required": false,
+ "output_required": true,
+ "required": true,
"type": "object",
"value_allowed_null": true
}
],
- "usage": "out"
+ "usage": "both"
},
"InferGatewayCallInfo": {
"document": "服务的调用信息,服务组下唯一",
@@ -8163,6 +8192,17 @@
"required": false,
"type": "list",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "私有连接状态\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "CreateSuccess",
+ "member": "string",
+ "name": "State",
+ "output_required": false,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
}
],
"usage": "both"
@@ -8317,6 +8357,28 @@
"required": false,
"type": "list",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "私有连接信息\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "PrivateLinkInfo",
+ "name": "PrivateLinkInfos",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "默认内网调用信息\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "DefaultInnerCallInfo",
+ "name": "DefaultInnerCallInfos",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
}
],
"usage": "both"
@@ -10914,6 +10976,67 @@
],
"usage": "both"
},
+ "PrivateLinkInfo": {
+ "document": "私有连接信息",
+ "members": [
+ {
+ "disabled": false,
+ "document": "私有连接所在的VPCID\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "vpc-2413",
+ "member": "string",
+ "name": "VpcId",
+ "output_required": false,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "私有连接所在的子网ID\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "subnet-123",
+ "member": "string",
+ "name": "SubnetId",
+ "output_required": false,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "HTTP内网调用地址\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "InnerHttpAddr",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "HTTPS内网调用地址\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "string",
+ "name": "InnerHttpsAddr",
+ "output_required": false,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "私有连接状态\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "CreateSuccess",
+ "member": "string",
+ "name": "State",
+ "output_required": false,
+ "required": false,
+ "type": "string",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "both"
+ },
"PushTrainingMetricsRequest": {
"document": "PushTrainingMetrics请求参数结构体",
"members": [
@@ -11996,8 +12119,8 @@
"value_allowed_null": true
},
{
- "disabled": false,
- "document": "已废弃\n注意:此字段可能返回 null,表示取不到有效值。",
+ "disabled": true,
+ "document": "已废弃,以ServiceInfo中的对应为准\n注意:此字段可能返回 null,表示取不到有效值。",
"example": "{}",
"member": "ServiceLimit",
"name": "ServiceLimit",
@@ -12006,8 +12129,8 @@
"value_allowed_null": true
},
{
- "disabled": false,
- "document": "已废弃\n注意:此字段可能返回 null,表示取不到有效值。",
+ "disabled": true,
+ "document": "已废弃,以ServiceInfo中的对应为准\n注意:此字段可能返回 null,表示取不到有效值。",
"example": "{}",
"member": "ScheduledAction",
"name": "ScheduledAction",
@@ -12084,6 +12207,16 @@
"output_required": true,
"type": "string",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "资源组类别 托管 NORMAL,纳管 SW\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "NORMAL",
+ "member": "string",
+ "name": "ResourceGroupSWType",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
}
],
"usage": "out"
@@ -12097,7 +12230,7 @@
"example": "ms-ttt",
"member": "string",
"name": "ServiceGroupId",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12107,7 +12240,7 @@
"example": "ttt",
"member": "string",
"name": "InnerHttpAddr",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12117,7 +12250,7 @@
"example": "ttt",
"member": "string",
"name": "InnerHttpsAddr",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12127,7 +12260,7 @@
"example": "ttt",
"member": "string",
"name": "OuterHttpAddr",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12137,7 +12270,7 @@
"example": "ttt",
"member": "string",
"name": "OuterHttpsAddr",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12147,7 +12280,7 @@
"example": "ttt",
"member": "string",
"name": "AppKey",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12157,9 +12290,19 @@
"example": "ttt",
"member": "string",
"name": "AppSecret",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "鉴权是否开启\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "false",
+ "member": "bool",
+ "name": "AuthorizationEnable",
+ "output_required": false,
+ "type": "bool",
+ "value_allowed_null": true
}
],
"usage": "out"
@@ -12251,7 +12394,7 @@
"example": "ms-testtest",
"member": "string",
"name": "ServiceGroupId",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -12261,7 +12404,7 @@
"example": "ms-testtest",
"member": "string",
"name": "ServiceGroupName",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -12271,7 +12414,7 @@
"example": "222222",
"member": "string",
"name": "CreatedBy",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -12281,7 +12424,7 @@
"example": "2021-09-02T21:32:06+08:00",
"member": "string",
"name": "CreateTime",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -12291,7 +12434,7 @@
"example": "2021-09-02T21:32:06+08:00",
"member": "string",
"name": "UpdateTime",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -12301,7 +12444,7 @@
"example": "555555",
"member": "string",
"name": "Uin",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": false
},
@@ -12311,7 +12454,7 @@
"example": "2",
"member": "uint64",
"name": "ServiceCount",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": true
},
@@ -12321,7 +12464,7 @@
"example": "1",
"member": "uint64",
"name": "RunningServiceCount",
- "required": true,
+ "output_required": true,
"type": "int",
"value_allowed_null": true
},
@@ -12331,7 +12474,7 @@
"example": "{}",
"member": "Service",
"name": "Services",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -12341,7 +12484,7 @@
"example": "Normal",
"member": "string",
"name": "Status",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12351,7 +12494,7 @@
"example": "{}",
"member": "Tag",
"name": "Tags",
- "required": true,
+ "output_required": true,
"type": "list",
"value_allowed_null": true
},
@@ -12361,7 +12504,7 @@
"example": "2",
"member": "string",
"name": "LatestVersion",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12371,7 +12514,7 @@
"example": "ARREARS_STOP",
"member": "string",
"name": "BusinessStatus",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12381,7 +12524,7 @@
"example": "1.2 元/小时",
"member": "string",
"name": "BillingInfo",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12391,7 +12534,7 @@
"example": "NORMAL",
"member": "string",
"name": "CreateSource",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
},
@@ -12401,9 +12544,29 @@
"example": "UPDATING",
"member": "string",
"name": "WeightUpdateStatus",
- "required": true,
+ "output_required": true,
"type": "string",
"value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "服务组下运行的pod数量\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "1",
+ "member": "uint64",
+ "name": "ReplicasCount",
+ "output_required": false,
+ "type": "int",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "服务组下期望的pod数\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "2",
+ "member": "uint64",
+ "name": "AvailableReplicasCount",
+ "output_required": false,
+ "type": "int",
+ "value_allowed_null": true
}
],
"usage": "out"
@@ -12599,17 +12762,6 @@
"type": "int",
"value_allowed_null": true
},
- {
- "disabled": false,
- "document": "实例列表\n注意:此字段可能返回 null,表示取不到有效值。",
- "example": "sss",
- "member": "string",
- "name": "PodList",
- "output_required": true,
- "required": true,
- "type": "list",
- "value_allowed_null": true
- },
{
"disabled": false,
"document": "资源总量\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -12710,7 +12862,18 @@
"value_allowed_null": true
},
{
- "disabled": false,
+ "disabled": true,
+ "document": "实例列表\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "sss",
+ "member": "string",
+ "name": "PodList",
+ "output_required": true,
+ "required": false,
+ "type": "list",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": true,
"document": "Pod列表信息\n注意:此字段可能返回 null,表示取不到有效值。",
"example": "无",
"member": "Pod",
diff --git a/tccli/services/tione/v20211111/examples.json b/tccli/services/tione/v20211111/examples.json
index 3715005725..d8406bb7d6 100644
--- a/tccli/services/tione/v20211111/examples.json
+++ b/tccli/services/tione/v20211111/examples.json
@@ -203,7 +203,7 @@
"DescribeBillingResourceGroups": [
{
"document": "",
- "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingResourceGroups\n<公共请求参数>\n\n{\n \"Type\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"Negative\": true,\n \"Fuzzy\": true\n }\n ],\n \"TagFilters\": [\n {\n \"TagKey\": \"abc\",\n \"TagValues\": [\n \"abc\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchWord\": \"abc\",\n \"DontShowInstanceSet\": true\n}",
+ "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingResourceGroups\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"Negative\": true,\n \"Fuzzy\": true\n }\n ],\n \"TagFilters\": [\n {\n \"TagKey\": \"abc\",\n \"TagValues\": [\n \"abc\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchWord\": \"abc\",\n \"DontShowInstanceSet\": true\n}",
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ResourceGroupSet\": [\n {\n \"ResourceGroupId\": \"abc\",\n \"ResourceGroupName\": \"abc\",\n \"FreeInstance\": 1,\n \"TotalInstance\": 1,\n \"UsedResource\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuDetailSet\": [\n {\n \"Name\": \"abc\",\n \"Value\": 1\n }\n ]\n },\n \"TotalResource\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuDetailSet\": [\n {\n \"Name\": \"abc\",\n \"Value\": 1\n }\n ]\n },\n \"InstanceSet\": [\n {\n \"InstanceId\": \"abc\",\n \"UsedResource\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuType\": \"abc\",\n \"RealGpu\": 1,\n \"RealGpuDetailSet\": [\n {\n \"Name\": \"abc\",\n \"Value\": 1\n }\n ]\n },\n \"TotalResource\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuType\": \"abc\",\n \"RealGpu\": 1\n },\n \"InstanceStatus\": \"abc\",\n \"SubUin\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ExpireTime\": \"abc\",\n \"AutoRenewFlag\": \"abc\",\n \"SpecId\": \"abc\",\n \"SpecAlias\": \"abc\",\n \"SpecFeatures\": [\n \"abc\"\n ],\n \"CvmInstanceId\": \"abc\"\n }\n ],\n \"TagSet\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
"title": "查询资源组详情"
}
@@ -323,8 +323,8 @@
"DescribeModelService": [
{
"document": "",
- "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeModelService\n<公共请求参数>\n\n{\n \"ServiceId\": \"ms-xxxxx-1\"\n}",
- "output": "{\n \"Response\": {\n \"Service\": {\n \"ServiceGroupId\": \"abc\",\n \"ServiceId\": \"abc\",\n \"ServiceGroupName\": \"abc\",\n \"ServiceDescription\": \"abc\",\n \"ServiceInfo\": {\n \"Replicas\": 0,\n \"ImageInfo\": {\n \"ImageType\": \"abc\",\n \"ImageUrl\": \"abc\",\n \"RegistryRegion\": \"abc\",\n \"RegistryId\": \"abc\"\n },\n \"Env\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Resources\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuType\": \"abc\",\n \"RealGpu\": 1,\n \"RealGpuDetailSet\": [\n {\n \"Name\": \"abc\",\n \"Value\": 1\n }\n ]\n },\n \"InstanceType\": \"abc\",\n \"ModelInfo\": {\n \"ModelId\": \"abc\",\n \"ModelName\": \"abc\",\n \"ModelVersionId\": \"abc\",\n \"ModelVersion\": \"abc\",\n \"ModelSource\": \"abc\",\n \"CosPathInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Paths\": [\n \"abc\"\n ]\n },\n \"AlgorithmFramework\": \"abc\",\n \"ModelType\": \"abc\",\n \"ModelFormat\": \"abc\"\n },\n \"InferCodeInfo\": {\n \"CosPathInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Paths\": [\n \"abc\"\n ]\n }\n },\n \"VolumeMount\": {\n \"VolumeSourceType\": \"abc\",\n \"CFSConfig\": {\n \"Id\": \"abc\",\n \"Path\": \"abc\",\n \"MountType\": \"abc\",\n \"Protocol\": \"abc\"\n }\n },\n \"LogEnable\": true,\n \"LogConfig\": {\n \"LogsetId\": \"abc\",\n \"TopicId\": \"abc\"\n },\n \"AuthorizationEnable\": true,\n \"ScaleMode\": \"abc\",\n \"HorizontalPodAutoscaler\": {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 0,\n \"HpaMetrics\": [\n {\n \"Name\": \"abc\",\n \"Value\": 0\n }\n ]\n },\n \"CronScaleJobs\": [\n {\n \"Name\": \"abc\",\n \"TargetReplicas\": 0,\n \"MinReplicas\": 0,\n \"MaxReplicas\": 0,\n \"Schedule\": \"abc\",\n \"ExcludeDates\": [\n \"abc\"\n ]\n }\n ],\n \"ScaleStrategy\": \"abc\",\n \"ScheduledAction\": \"abc\",\n \"Status\": {\n \"Replicas\": 0,\n \"UpdatedReplicas\": 0,\n \"ReadyReplicas\": 0,\n \"AvailableReplicas\": 0,\n \"UnavailableReplicas\": 0,\n \"Status\": \"abc\",\n \"StatefulSetCondition\": [\n {\n \"Message\": \"abc\",\n \"Reason\": \"abc\",\n \"Status\": \"abc\",\n \"Type\": \"abc\",\n \"LastTransitionTime\": \"abc\"\n }\n ],\n \"Conditions\": [\n {\n \"Message\": \"abc\",\n \"Reason\": \"abc\",\n \"Status\": \"abc\",\n \"Type\": \"abc\",\n \"LastTransitionTime\": \"abc\"\n }\n ],\n \"Reason\": \"abc\"\n },\n \"Weight\": 1,\n \"PodList\": [\n \"abc\"\n ],\n \"Pods\": {\n \"Name\": \"abc\",\n \"Uid\": \"abc\",\n \"ChargeType\": \"abc\",\n \"Phase\": \"abc\",\n \"IP\": \"abc\",\n \"CreateTime\": \"abc\",\n \"Containers\": {\n \"Name\": \"abc\",\n \"ContainerId\": \"abc\",\n \"Image\": \"abc\",\n \"Status\": {\n \"RestartCount\": 0,\n \"State\": \"abc\",\n \"Ready\": true,\n \"Reason\": \"abc\",\n \"Message\": \"abc\"\n }\n },\n \"ContainerInfos\": [\n {\n \"Name\": \"abc\",\n \"ContainerId\": \"abc\",\n \"Image\": \"abc\",\n \"Status\": {\n \"RestartCount\": 0,\n \"State\": \"abc\",\n \"Ready\": true,\n \"Reason\": \"abc\",\n \"Message\": \"abc\"\n }\n }\n ]\n },\n \"PodInfos\": [\n {\n \"Name\": \"abc\",\n \"Uid\": \"abc\",\n \"ChargeType\": \"abc\",\n \"Phase\": \"abc\",\n \"IP\": \"abc\",\n \"CreateTime\": \"abc\",\n \"Containers\": {\n \"Name\": \"abc\",\n \"ContainerId\": \"abc\",\n \"Image\": \"abc\",\n \"Status\": {\n \"RestartCount\": 0,\n \"State\": \"abc\",\n \"Ready\": true,\n \"Reason\": \"abc\",\n \"Message\": \"abc\"\n }\n }\n }\n ],\n \"ResourceTotal\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuType\": \"abc\",\n \"RealGpu\": 1,\n \"RealGpuDetailSet\": [\n {\n \"Name\": \"abc\",\n \"Value\": 1\n }\n ]\n },\n \"OldReplicas\": 0,\n \"HybridBillingPrepaidReplicas\": 0,\n \"OldHybridBillingPrepaidReplicas\": 0,\n \"ServiceLimit\": {\n \"EnableInstanceRpsLimit\": true,\n \"InstanceRpsLimit\": 0\n },\n \"ModelHotUpdateEnable\": true,\n \"ModelTurboEnable\": true\n },\n \"ClusterId\": \"abc\",\n \"Region\": \"abc\",\n \"Namespace\": \"abc\",\n \"ChargeType\": \"abc\",\n \"ResourceGroupId\": \"abc\",\n \"ResourceGroupName\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"IngressName\": \"abc\",\n \"CreatedBy\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Uin\": \"abc\",\n \"SubUin\": \"abc\",\n \"AppId\": 0,\n \"BusinessStatus\": \"abc\",\n \"ServiceLimit\": {\n \"EnableInstanceRpsLimit\": true,\n \"InstanceRpsLimit\": 0\n },\n \"ScheduledAction\": {\n \"ScheduleStop\": true,\n \"ScheduleStopTime\": \"abc\"\n },\n \"CreateFailedReason\": \"abc\",\n \"Status\": \"abc\",\n \"BillingInfo\": \"abc\",\n \"Weight\": 0,\n \"CreateSource\": \"abc\",\n \"Version\": \"abc\",\n \"LatestVersion\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
+ "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeModelService\n<公共请求参数>\n\n{\n \"ServiceId\": \"ms-xxxxxx-1\"\n}",
+ "output": "{\n \"Response\": {\n \"Service\": {\n \"ServiceGroupId\": \"ms-ndxkhtb2\",\n \"ServiceId\": \"ms-ndxkhtb2-1\",\n \"ServiceGroupName\": \"luis-test-timeout\",\n \"ServiceDescription\": \"\",\n \"ServiceInfo\": {\n \"Replicas\": 0,\n \"ImageInfo\": {\n \"ImageType\": \"CCR\",\n \"ImageUrl\": \"ccr.ccs.tencentyun.com/tiemsdev/hellotest:latest\",\n \"RegistryRegion\": \"ap-guangzhou\",\n \"RegistryId\": \"\"\n },\n \"Env\": [],\n \"Resources\": {\n \"Cpu\": 2000,\n \"Memory\": 4096,\n \"Gpu\": 0,\n \"RealGpu\": 0,\n \"GpuType\": \"\",\n \"RealGpuDetailSet\": []\n },\n \"InstanceType\": \"TI.S.MEDIUM.POST\",\n \"ModelInfo\": null,\n \"InferCodeInfo\": null,\n \"VolumeMount\": null,\n \"LogEnable\": false,\n \"LogConfig\": null,\n \"AuthorizationEnable\": true,\n \"ScaleMode\": \"MANUAL\",\n \"HorizontalPodAutoscaler\": null,\n \"CronScaleJobs\": [],\n \"ScaleStrategy\": \"\",\n \"ScheduledAction\": null,\n \"Status\": {\n \"Replicas\": 0,\n \"UpdatedReplicas\": 0,\n \"ReadyReplicas\": 0,\n \"AvailableReplicas\": 0,\n \"UnavailableReplicas\": 0,\n \"Status\": \"Stopped\",\n \"Reason\": \"\",\n \"Conditions\": [\n {\n \"Message\": \"Deployment has minimum availability.\",\n \"Reason\": \"MinimumReplicasAvailable\",\n \"Status\": \"True\",\n \"Type\": \"Available\",\n \"LastTransitionTime\": \"2023-12-27T16:21:02+08:00\",\n \"LastUpdateTime\": \"2023-12-27T16:21:02+08:00\"\n },\n {\n \"Message\": \"ReplicaSet \\\"ms-ndxkhtb2-1-8579fcbb7f\\\" has successfully progressed.\",\n \"Reason\": \"NewReplicaSetAvailable\",\n \"Status\": \"True\",\n \"Type\": \"Progressing\",\n \"LastTransitionTime\": \"2023-12-27T16:21:02+08:00\",\n \"LastUpdateTime\": \"2023-12-27T16:22:54+08:00\"\n }\n ]\n },\n \"Weight\": 0,\n \"PodList\": [],\n \"Pods\": null,\n \"PodInfos\": [],\n \"ResourceTotal\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"Gpu\": 0,\n \"RealGpu\": 0,\n \"GpuType\": \"\",\n \"RealGpuDetailSet\": []\n },\n \"OldReplicas\": 1,\n \"HybridBillingPrepaidReplicas\": 0,\n \"OldHybridBillingPrepaidReplicas\": 0,\n \"ServiceLimit\": {\n \"EnableInstanceRpsLimit\": false,\n \"InstanceRpsLimit\": 1000000,\n \"EnableInstanceReqLimit\": false,\n \"InstanceReqLimit\": 1000000\n },\n \"Command\": \"\",\n \"ModelHotUpdateEnable\": false,\n \"ModelTurboEnable\": false,\n \"ServiceEIP\": null\n },\n \"ClusterId\": \"manger\",\n \"Region\": \"ap-guangzhou\",\n \"Namespace\": \"infer-100005348929\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ResourceGroupId\": \"\",\n \"ResourceGroupName\": \"\",\n \"Tags\": [],\n \"IngressName\": \"user-ingress-gz-6\",\n \"CreatedBy\": \"243224118\",\n \"CreateTime\": \"2023-12-27T08:20:48Z\",\n \"UpdateTime\": \"2023-12-27T09:18:59Z\",\n \"Uin\": \"100005348929\",\n \"SubUin\": \"\",\n \"AppId\": 0,\n \"BusinessStatus\": \"CREATE_SUCCEED\",\n \"CreateFailedReason\": \"CREATE_SUCCEED\",\n \"Status\": \"Stopped\",\n \"BillingInfo\": \"\",\n \"Weight\": 100,\n \"CreateSource\": \"DEFAULT\",\n \"Version\": \"1\",\n \"LatestVersion\": \"1\",\n \"ResourceGroupSWType\": \"\",\n \"ServiceLimit\": null,\n \"ScheduledAction\": null\n },\n \"RequestId\": \"841f61f9-daed-49aa-88a3-b3f860be5be4\"\n }\n}",
"title": "查询单个服务"
}
],
@@ -332,7 +332,7 @@
{
"document": "查询某个服务",
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeModelServiceCallInfo\n<公共请求参数>\n\n{\n \"ServiceGroupId\": \"ms-p8w5zvh7\"\n}",
- "output": "{\n \"Response\": {\n \"ServiceCallInfo\": {\n \"ServiceGroupId\": \"abc\",\n \"InnerHttpAddr\": \"abc\",\n \"InnerHttpsAddr\": \"abc\",\n \"OuterHttpAddr\": \"abc\",\n \"OuterHttpsAddr\": \"abc\",\n \"AppKey\": \"abc\",\n \"AppSecret\": \"abc\"\n },\n \"InferGatewayCallInfo\": {\n \"VpcHttpAddr\": \"abc\",\n \"VpcHttpsAddr\": \"abc\",\n \"VpcGrpcTlsAddr\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\"\n },\n \"DefaultNginxGatewayCallInfo\": {\n \"Host\": \"abc\"\n },\n \"TJCallInfo\": {\n \"HttpAddr\": \"abc\",\n \"Token\": \"abc\",\n \"CallExample\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
+ "output": "{\n \"Response\": {\n \"ServiceCallInfo\": {\n \"ServiceGroupId\": \"ms-ndxkhtb2\",\n \"InnerHttpAddr\": \"http://service-5a4oixv0-1256580188-in.gz.tencentapigw.com:8011/tione\",\n \"InnerHttpsAddr\": \"https://service-5a4oixv0-1256580188-in.gz.tencentapigw.com:9011/tione\",\n \"OuterHttpAddr\": \"http://service-5a4oixv0-1256580188.gz.tencentapigw.com:80/tione\",\n \"OuterHttpsAddr\": \"https://service-5a4oixv0-1256580188.gz.tencentapigw.com:443/tione\",\n \"AppKey\": \"APID23ycs7qbGGbTf27PG18oOVK1Q449UORNA1g5\",\n \"AppSecret\": \"bD2krm7a7ujt6779kLKV1g0x4n2z861IcguAMm6v\",\n \"AuthorizationEnable\": true\n },\n \"InferGatewayCallInfo\": null,\n \"DefaultNginxGatewayCallInfo\": null,\n \"TJCallInfo\": null,\n \"IntranetCallInfo\": {\n \"IngressPrivateLinkInfo\": null,\n \"ServiceEIPInfo\": []\n },\n \"RequestId\": \"0e26af99-dc12-4866-b6cf-1896a10c2910\"\n }\n}",
"title": "服务调用地址查询"
}
],
@@ -340,7 +340,7 @@
{
"document": "",
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeModelServiceGroup\n<公共请求参数>\n\n{\n \"ServiceGroupId\": \"1234567\"\n}",
- "output": "{\n \"Response\": {\n \"ServiceGroup\": {\n \"ServiceGroupId\": \"abc\",\n \"ServiceGroupName\": \"abc\",\n \"CreatedBy\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Uin\": \"abc\",\n \"ServiceCount\": 1,\n \"RunningServiceCount\": 1,\n \"Services\": [\n {\n \"ServiceGroupId\": \"abc\",\n \"ServiceId\": \"abc\",\n \"ServiceGroupName\": \"abc\",\n \"ServiceDescription\": \"abc\",\n \"ServiceInfo\": {\n \"Replicas\": 0,\n \"ImageInfo\": {\n \"ImageType\": \"abc\",\n \"ImageUrl\": \"abc\",\n \"RegistryRegion\": \"abc\",\n \"RegistryId\": \"abc\"\n },\n \"Env\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Resources\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuType\": \"abc\",\n \"RealGpu\": 1,\n \"RealGpuDetailSet\": [\n {\n \"Name\": \"abc\",\n \"Value\": 1\n }\n ]\n },\n \"InstanceType\": \"abc\",\n \"ModelInfo\": {\n \"ModelId\": \"abc\",\n \"ModelName\": \"abc\",\n \"ModelVersionId\": \"abc\",\n \"ModelVersion\": \"abc\",\n \"ModelSource\": \"abc\",\n \"CosPathInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Paths\": [\n \"abc\"\n ]\n },\n \"AlgorithmFramework\": \"abc\",\n \"ModelType\": \"abc\",\n \"ModelFormat\": \"abc\"\n },\n \"InferCodeInfo\": {\n \"CosPathInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Paths\": [\n \"abc\"\n ]\n }\n },\n \"VolumeMount\": {\n \"VolumeSourceType\": \"abc\",\n \"CFSConfig\": {\n \"Id\": \"abc\",\n \"Path\": \"abc\",\n \"MountType\": \"abc\",\n \"Protocol\": \"abc\"\n }\n },\n \"LogEnable\": true,\n \"LogConfig\": {\n \"LogsetId\": \"abc\",\n \"TopicId\": \"abc\"\n },\n \"AuthorizationEnable\": true,\n \"ScaleMode\": \"abc\",\n \"HorizontalPodAutoscaler\": {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 0,\n \"HpaMetrics\": [\n {\n \"Name\": \"abc\",\n \"Value\": 0\n }\n ]\n },\n \"CronScaleJobs\": [\n {\n \"Name\": \"abc\",\n \"TargetReplicas\": 0,\n \"MinReplicas\": 0,\n \"MaxReplicas\": 0,\n \"Schedule\": \"abc\",\n \"ExcludeDates\": [\n \"abc\"\n ]\n }\n ],\n \"ScaleStrategy\": \"abc\",\n \"ScheduledAction\": \"abc\",\n \"Status\": {\n \"Replicas\": 0,\n \"UpdatedReplicas\": 0,\n \"ReadyReplicas\": 0,\n \"AvailableReplicas\": 0,\n \"UnavailableReplicas\": 0,\n \"Status\": \"abc\",\n \"StatefulSetCondition\": [\n {\n \"Message\": \"abc\",\n \"Reason\": \"abc\",\n \"Status\": \"abc\",\n \"Type\": \"abc\",\n \"LastTransitionTime\": \"abc\"\n }\n ],\n \"Conditions\": [\n {\n \"Message\": \"abc\",\n \"Reason\": \"abc\",\n \"Status\": \"abc\",\n \"Type\": \"abc\",\n \"LastTransitionTime\": \"abc\"\n }\n ],\n \"Reason\": \"abc\"\n },\n \"Weight\": 1,\n \"PodList\": [\n \"abc\"\n ],\n \"Pods\": {\n \"Name\": \"abc\",\n \"Uid\": \"abc\",\n \"ChargeType\": \"abc\",\n \"Phase\": \"abc\",\n \"IP\": \"abc\",\n \"CreateTime\": \"abc\",\n \"Containers\": {\n \"Name\": \"abc\",\n \"ContainerId\": \"abc\",\n \"Image\": \"abc\",\n \"Status\": {\n \"RestartCount\": 0,\n \"State\": \"abc\",\n \"Ready\": true,\n \"Reason\": \"abc\",\n \"Message\": \"abc\"\n }\n },\n \"ContainerInfos\": [\n {\n \"Name\": \"abc\",\n \"ContainerId\": \"abc\",\n \"Image\": \"abc\",\n \"Status\": {\n \"RestartCount\": 0,\n \"State\": \"abc\",\n \"Ready\": true,\n \"Reason\": \"abc\",\n \"Message\": \"abc\"\n }\n }\n ]\n },\n \"PodInfos\": [\n {\n \"Name\": \"abc\",\n \"Uid\": \"abc\",\n \"ChargeType\": \"abc\",\n \"Phase\": \"abc\",\n \"IP\": \"abc\",\n \"CreateTime\": \"abc\",\n \"Containers\": {\n \"Name\": \"abc\",\n \"ContainerId\": \"abc\",\n \"Image\": \"abc\",\n \"Status\": {\n \"RestartCount\": 0,\n \"State\": \"abc\",\n \"Ready\": true,\n \"Reason\": \"abc\",\n \"Message\": \"abc\"\n }\n }\n }\n ],\n \"ResourceTotal\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuType\": \"abc\",\n \"RealGpu\": 1,\n \"RealGpuDetailSet\": [\n {\n \"Name\": \"abc\",\n \"Value\": 1\n }\n ]\n },\n \"OldReplicas\": 0,\n \"HybridBillingPrepaidReplicas\": 0,\n \"OldHybridBillingPrepaidReplicas\": 0,\n \"ServiceLimit\": {\n \"EnableInstanceRpsLimit\": true,\n \"InstanceRpsLimit\": 0\n },\n \"ModelHotUpdateEnable\": true,\n \"ModelTurboEnable\": true\n },\n \"ClusterId\": \"abc\",\n \"Region\": \"abc\",\n \"Namespace\": \"abc\",\n \"ChargeType\": \"abc\",\n \"ResourceGroupId\": \"abc\",\n \"ResourceGroupName\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"IngressName\": \"abc\",\n \"CreatedBy\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Uin\": \"abc\",\n \"SubUin\": \"abc\",\n \"AppId\": 0,\n \"BusinessStatus\": \"abc\",\n \"ServiceLimit\": {\n \"EnableInstanceRpsLimit\": true,\n \"InstanceRpsLimit\": 0\n },\n \"ScheduledAction\": {\n \"ScheduleStop\": true,\n \"ScheduleStopTime\": \"abc\"\n },\n \"CreateFailedReason\": \"abc\",\n \"Status\": \"abc\",\n \"BillingInfo\": \"abc\",\n \"Weight\": 0,\n \"CreateSource\": \"abc\",\n \"Version\": \"abc\",\n \"LatestVersion\": \"abc\"\n }\n ],\n \"Status\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"LatestVersion\": \"abc\",\n \"BusinessStatus\": \"abc\",\n \"BillingInfo\": \"abc\",\n \"CreateSource\": \"abc\",\n \"WeightUpdateStatus\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
+ "output": "{\n \"Response\": {\n \"ServiceGroup\": {\n \"ServiceGroupId\": \"ms-sn9m8dv8\",\n \"ServiceGroupName\": \"分类-均衡\",\n \"CreatedBy\": \"100029051013\",\n \"CreateTime\": \"2024-01-10T10:02:35Z\",\n \"UpdateTime\": \"2024-01-10T10:05:23Z\",\n \"Uin\": \"100005348929\",\n \"ServiceCount\": 1,\n \"RunningServiceCount\": 0,\n \"ReplicasCount\": 0,\n \"AvailableReplicasCount\": 0,\n \"Services\": [\n {\n \"ServiceGroupId\": \"ms-sn9m8dv8\",\n \"ServiceId\": \"ms-sn9m8dv8-1\",\n \"ServiceGroupName\": \"分类-均衡\",\n \"ServiceDescription\": \"\",\n \"ServiceInfo\": {\n \"Replicas\": 0,\n \"ImageInfo\": {\n \"ImageType\": \"PRESET\",\n \"ImageUrl\": \"tione.tencentcloudcr.com/qcloud-ti-platform/ti-cloud-infer-pytorch-gpu:py38-torch1.9.0-cu111-tiacc3.0.2-3.2.0\",\n \"RegistryRegion\": \"\",\n \"RegistryId\": \"\"\n },\n \"Env\": [],\n \"Resources\": {\n \"Cpu\": 8000,\n \"Memory\": 32768,\n \"Gpu\": 100,\n \"RealGpu\": 100,\n \"GpuType\": \"T4\",\n \"RealGpuDetailSet\": [\n {\n \"Name\": \"T4\",\n \"Value\": 100\n }\n ]\n },\n \"InstanceType\": \"TI.GN7.2XLARGE32.POST\",\n \"ModelInfo\": {\n \"ModelId\": \"ml-gnvrfzmp-v1\",\n \"ModelName\": \"分类-均衡\",\n \"ModelVersionId\": \"ml-gnvrfzmp-v1\",\n \"ModelVersion\": \"v1\",\n \"ModelSource\": \"\",\n \"ModelType\": \"AUTO_ML\",\n \"CosPathInfo\": {\n \"Bucket\": \"ti-automl-gz-1308945662\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"automl/public/分类-均衡-ml-gnvrfzmp-v1/ems/sdk/model_service.py\"\n ]\n },\n \"AlgorithmFramework\": \"\",\n \"ModelFormat\": \"\",\n \"IsPrivateModel\": false\n },\n \"InferCodeInfo\": {\n \"CosPathInfo\": {\n \"Bucket\": \"ti-automl-gz-1308945662\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"automl/public/分类-均衡-ml-gnvrfzmp-v1/ems/sdk/model_service.py\"\n ]\n }\n },\n \"VolumeMount\": null,\n \"LogEnable\": false,\n \"LogConfig\": null,\n \"AuthorizationEnable\": false,\n \"ScaleMode\": \"MANUAL\",\n \"HorizontalPodAutoscaler\": null,\n \"CronScaleJobs\": [],\n \"ScaleStrategy\": \"\",\n \"ScheduledAction\": null,\n \"Status\": {\n \"Replicas\": 0,\n \"UpdatedReplicas\": 0,\n \"ReadyReplicas\": 0,\n \"AvailableReplicas\": 0,\n \"UnavailableReplicas\": 0,\n \"Status\": \"Stopped\",\n \"Reason\": \"\",\n \"Conditions\": [\n {\n \"Message\": \"Deployment has minimum availability.\",\n \"Reason\": \"MinimumReplicasAvailable\",\n \"Status\": \"True\",\n \"Type\": \"Available\",\n \"LastTransitionTime\": \"2024-01-10T18:02:47+08:00\",\n \"LastUpdateTime\": \"2024-01-10T18:02:47+08:00\"\n },\n {\n \"Message\": \"ReplicaSet \\\"ms-sn9m8dv8-1-7ff98b55ff\\\" has successfully progressed.\",\n \"Reason\": \"NewReplicaSetAvailable\",\n \"Status\": \"True\",\n \"Type\": \"Progressing\",\n \"LastTransitionTime\": \"2024-01-10T18:02:47+08:00\",\n \"LastUpdateTime\": \"2024-01-10T18:04:37+08:00\"\n }\n ]\n },\n \"Weight\": 0,\n \"PodList\": [],\n \"Pods\": null,\n \"PodInfos\": [],\n \"ResourceTotal\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"Gpu\": 0,\n \"RealGpu\": 0,\n \"GpuType\": \"\",\n \"RealGpuDetailSet\": []\n },\n \"OldReplicas\": 1,\n \"HybridBillingPrepaidReplicas\": 0,\n \"OldHybridBillingPrepaidReplicas\": 0,\n \"ServiceLimit\": {\n \"EnableInstanceRpsLimit\": false,\n \"InstanceRpsLimit\": 1000000,\n \"EnableInstanceReqLimit\": false,\n \"InstanceReqLimit\": 1000000\n },\n \"Command\": \"\",\n \"ModelHotUpdateEnable\": false,\n \"ModelTurboEnable\": false,\n \"ServiceEIP\": null\n },\n \"ClusterId\": \"manger\",\n \"Region\": \"ap-guangzhou\",\n \"Namespace\": \"infer-100005348929\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ResourceGroupId\": \"\",\n \"ResourceGroupName\": \"\",\n \"Tags\": [],\n \"IngressName\": \"user-ingress-gz-3\",\n \"CreatedBy\": \"100029051013\",\n \"CreateTime\": \"2024-01-10T10:02:35Z\",\n \"UpdateTime\": \"2024-01-10T10:05:23Z\",\n \"Uin\": \"100005348929\",\n \"SubUin\": \"\",\n \"AppId\": 0,\n \"BusinessStatus\": \"CREATE_SUCCEED\",\n \"CreateFailedReason\": \"CREATE_SUCCEED\",\n \"Status\": \"Stopped\",\n \"BillingInfo\": \"\",\n \"Weight\": 100,\n \"CreateSource\": \"AUTO_ML_FORMAL\",\n \"Version\": \"1\",\n \"LatestVersion\": \"\",\n \"ServiceLimit\": null,\n \"ScheduledAction\": null\n }\n ],\n \"Status\": \"Stopped\",\n \"Tags\": [],\n \"BusinessStatus\": \"\",\n \"WeightUpdateStatus\": \"UPDATED\",\n \"CreateSource\": \"AUTO_ML_FORMAL\",\n \"BillingInfo\": \"\",\n \"LatestVersion\": \"1\"\n },\n \"RequestId\": \"ef2c532a-ed9f-4661-a09a-ada7e6e1f718\"\n }\n}",
"title": "查询服务组"
}
],
diff --git a/tccli/services/tse/tse_client.py b/tccli/services/tse/tse_client.py
index d8a53f2808..21f8917bed 100644
--- a/tccli/services/tse/tse_client.py
+++ b/tccli/services/tse/tse_client.py
@@ -225,58 +225,6 @@ def doCloseWafProtection(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doModifyCloudNativeAPIGateway(args, parsed_globals):
- g_param = parse_global_arg(parsed_globals)
-
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
- cred = credential.CVMRoleCredential()
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
- cred = credential.STSAssumeRoleCredential(
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
- )
- elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
- else:
- cred = credential.Credential(
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
- )
- http_profile = HttpProfile(
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
- reqMethod="POST",
- endpoint=g_param[OptionsDefine.Endpoint],
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
- )
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
- if g_param[OptionsDefine.Language]:
- profile.language = g_param[OptionsDefine.Language]
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
- client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
- client._sdkVersion += ("_CLI_" + __version__)
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.ModifyCloudNativeAPIGatewayRequest()
- model.from_json_string(json.dumps(args))
- start_time = time.time()
- while True:
- rsp = client.ModifyCloudNativeAPIGateway(model)
- result = rsp.to_json_string()
- try:
- json_obj = json.loads(result)
- except TypeError as e:
- json_obj = json.loads(result.decode('utf-8')) # python3.3
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
- break
- cur_time = time.time()
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
- else:
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-
-
def doModifyNativeGatewayServerGroup(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
@@ -745,7 +693,7 @@ def doModifyUpstreamNodeStatus(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDeleteCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
+def doBindAutoScalerResourceStrategyToGroups(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -774,11 +722,11 @@ def doDeleteCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DeleteCloudNativeAPIGatewayPublicNetworkRequest()
+ model = models.BindAutoScalerResourceStrategyToGroupsRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DeleteCloudNativeAPIGatewayPublicNetwork(model)
+ rsp = client.BindAutoScalerResourceStrategyToGroups(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -849,7 +797,7 @@ def doDeleteWafDomains(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDeleteCloudNativeAPIGatewayService(args, parsed_globals):
+def doDeleteCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -878,11 +826,11 @@ def doDeleteCloudNativeAPIGatewayService(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DeleteCloudNativeAPIGatewayServiceRequest()
+ model = models.DeleteCloudNativeAPIGatewayPublicNetworkRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DeleteCloudNativeAPIGatewayService(model)
+ rsp = client.DeleteCloudNativeAPIGatewayPublicNetwork(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -901,7 +849,7 @@ def doDeleteCloudNativeAPIGatewayService(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doCreateCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
+def doDeleteCloudNativeAPIGatewayService(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -930,11 +878,11 @@ def doCreateCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.CreateCloudNativeAPIGatewayServiceRateLimitRequest()
+ model = models.DeleteCloudNativeAPIGatewayServiceRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.CreateCloudNativeAPIGatewayServiceRateLimit(model)
+ rsp = client.DeleteCloudNativeAPIGatewayService(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -953,7 +901,7 @@ def doCreateCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayRoutes(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -982,11 +930,11 @@ def doDescribeCloudNativeAPIGatewayRoutes(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayRoutesRequest()
+ model = models.DescribeCloudNativeAPIGatewayServiceRateLimitRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayRoutes(model)
+ rsp = client.DescribeCloudNativeAPIGatewayServiceRateLimit(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1005,7 +953,7 @@ def doDescribeCloudNativeAPIGatewayRoutes(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGateway(args, parsed_globals):
+def doCreateCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1034,11 +982,11 @@ def doDescribeCloudNativeAPIGateway(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayRequest()
+ model = models.CreateCloudNativeAPIGatewayServiceRateLimitRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGateway(model)
+ rsp = client.CreateCloudNativeAPIGatewayServiceRateLimit(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1057,7 +1005,7 @@ def doDescribeCloudNativeAPIGateway(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayPorts(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayRoutes(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1086,11 +1034,11 @@ def doDescribeCloudNativeAPIGatewayPorts(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayPortsRequest()
+ model = models.DescribeCloudNativeAPIGatewayRoutesRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayPorts(model)
+ rsp = client.DescribeCloudNativeAPIGatewayRoutes(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1109,7 +1057,7 @@ def doDescribeCloudNativeAPIGatewayPorts(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDeleteCloudNativeAPIGatewayRoute(args, parsed_globals):
+def doDescribeCloudNativeAPIGateway(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1138,11 +1086,11 @@ def doDeleteCloudNativeAPIGatewayRoute(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DeleteCloudNativeAPIGatewayRouteRequest()
+ model = models.DescribeCloudNativeAPIGatewayRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DeleteCloudNativeAPIGatewayRoute(model)
+ rsp = client.DescribeCloudNativeAPIGateway(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1161,7 +1109,7 @@ def doDeleteCloudNativeAPIGatewayRoute(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doCreateCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayPorts(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1190,11 +1138,11 @@ def doCreateCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.CreateCloudNativeAPIGatewayPublicNetworkRequest()
+ model = models.DescribeCloudNativeAPIGatewayPortsRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.CreateCloudNativeAPIGatewayPublicNetwork(model)
+ rsp = client.DescribeCloudNativeAPIGatewayPorts(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1213,7 +1161,7 @@ def doCreateCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doModifyCloudNativeAPIGatewayCertificate(args, parsed_globals):
+def doDeleteCloudNativeAPIGatewayRoute(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1242,11 +1190,11 @@ def doModifyCloudNativeAPIGatewayCertificate(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.ModifyCloudNativeAPIGatewayCertificateRequest()
+ model = models.DeleteCloudNativeAPIGatewayRouteRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.ModifyCloudNativeAPIGatewayCertificate(model)
+ rsp = client.DeleteCloudNativeAPIGatewayRoute(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1265,7 +1213,7 @@ def doModifyCloudNativeAPIGatewayCertificate(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDeleteCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
+def doDeleteEngine(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1294,11 +1242,11 @@ def doDeleteCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DeleteCloudNativeAPIGatewayCanaryRuleRequest()
+ model = models.DeleteEngineRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DeleteCloudNativeAPIGatewayCanaryRule(model)
+ rsp = client.DeleteEngine(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1317,7 +1265,7 @@ def doDeleteCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGateways(args, parsed_globals):
+def doModifyAutoScalerResourceStrategy(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1346,11 +1294,11 @@ def doDescribeCloudNativeAPIGateways(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewaysRequest()
+ model = models.ModifyAutoScalerResourceStrategyRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGateways(model)
+ rsp = client.ModifyAutoScalerResourceStrategy(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1369,7 +1317,7 @@ def doDescribeCloudNativeAPIGateways(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doCreateCloudNativeAPIGatewayCertificate(args, parsed_globals):
+def doModifyCloudNativeAPIGatewayCertificate(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1398,11 +1346,11 @@ def doCreateCloudNativeAPIGatewayCertificate(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.CreateCloudNativeAPIGatewayCertificateRequest()
+ model = models.ModifyCloudNativeAPIGatewayCertificateRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.CreateCloudNativeAPIGatewayCertificate(model)
+ rsp = client.ModifyCloudNativeAPIGatewayCertificate(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1421,7 +1369,7 @@ def doCreateCloudNativeAPIGatewayCertificate(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayServices(args, parsed_globals):
+def doDeleteCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1450,11 +1398,11 @@ def doDescribeCloudNativeAPIGatewayServices(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayServicesRequest()
+ model = models.DeleteCloudNativeAPIGatewayCanaryRuleRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayServices(model)
+ rsp = client.DeleteCloudNativeAPIGatewayCanaryRule(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1473,7 +1421,7 @@ def doDescribeCloudNativeAPIGatewayServices(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doModifyCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
+def doDescribeCloudNativeAPIGateways(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1502,11 +1450,11 @@ def doModifyCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.ModifyCloudNativeAPIGatewayRouteRateLimitRequest()
+ model = models.DescribeCloudNativeAPIGatewaysRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.ModifyCloudNativeAPIGatewayRouteRateLimit(model)
+ rsp = client.DescribeCloudNativeAPIGateways(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1525,7 +1473,7 @@ def doModifyCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeNacosServerInterfaces(args, parsed_globals):
+def doCreateCloudNativeAPIGatewayCertificate(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1554,11 +1502,11 @@ def doDescribeNacosServerInterfaces(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeNacosServerInterfacesRequest()
+ model = models.CreateCloudNativeAPIGatewayCertificateRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeNacosServerInterfaces(model)
+ rsp = client.CreateCloudNativeAPIGatewayCertificate(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1577,7 +1525,7 @@ def doDescribeNacosServerInterfaces(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doUpdateCloudNativeAPIGatewaySpec(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayServices(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1606,11 +1554,11 @@ def doUpdateCloudNativeAPIGatewaySpec(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.UpdateCloudNativeAPIGatewaySpecRequest()
+ model = models.DescribeCloudNativeAPIGatewayServicesRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.UpdateCloudNativeAPIGatewaySpec(model)
+ rsp = client.DescribeCloudNativeAPIGatewayServices(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1629,7 +1577,7 @@ def doUpdateCloudNativeAPIGatewaySpec(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeZookeeperReplicas(args, parsed_globals):
+def doModifyCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1658,11 +1606,11 @@ def doDescribeZookeeperReplicas(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeZookeeperReplicasRequest()
+ model = models.ModifyCloudNativeAPIGatewayRouteRateLimitRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeZookeeperReplicas(model)
+ rsp = client.ModifyCloudNativeAPIGatewayRouteRateLimit(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1681,7 +1629,7 @@ def doDescribeZookeeperReplicas(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doCreateCloudNativeAPIGateway(args, parsed_globals):
+def doCreateCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1710,11 +1658,11 @@ def doCreateCloudNativeAPIGateway(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.CreateCloudNativeAPIGatewayRequest()
+ model = models.CreateCloudNativeAPIGatewayPublicNetworkRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.CreateCloudNativeAPIGateway(model)
+ rsp = client.CreateCloudNativeAPIGatewayPublicNetwork(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1733,7 +1681,7 @@ def doCreateCloudNativeAPIGateway(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeSREInstances(args, parsed_globals):
+def doModifyCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1762,11 +1710,11 @@ def doDescribeSREInstances(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeSREInstancesRequest()
+ model = models.ModifyCloudNativeAPIGatewayCanaryRuleRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeSREInstances(model)
+ rsp = client.ModifyCloudNativeAPIGatewayCanaryRule(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1785,7 +1733,7 @@ def doDescribeSREInstances(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayConfig(args, parsed_globals):
+def doUpdateCloudNativeAPIGatewaySpec(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1814,11 +1762,11 @@ def doDescribeCloudNativeAPIGatewayConfig(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayConfigRequest()
+ model = models.UpdateCloudNativeAPIGatewaySpecRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayConfig(model)
+ rsp = client.UpdateCloudNativeAPIGatewaySpec(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1837,7 +1785,7 @@ def doDescribeCloudNativeAPIGatewayConfig(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeWafProtection(args, parsed_globals):
+def doModifyNetworkBasicInfo(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1866,11 +1814,11 @@ def doDescribeWafProtection(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeWafProtectionRequest()
+ model = models.ModifyNetworkBasicInfoRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeWafProtection(model)
+ rsp = client.ModifyNetworkBasicInfo(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1889,7 +1837,7 @@ def doDescribeWafProtection(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
+def doDescribeZookeeperReplicas(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1918,11 +1866,11 @@ def doDescribeCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayRouteRateLimitRequest()
+ model = models.DescribeZookeeperReplicasRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayRouteRateLimit(model)
+ rsp = client.DescribeZookeeperReplicas(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1941,7 +1889,7 @@ def doDescribeCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doModifyCloudNativeAPIGatewayService(args, parsed_globals):
+def doCreateCloudNativeAPIGateway(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1970,11 +1918,11 @@ def doModifyCloudNativeAPIGatewayService(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.ModifyCloudNativeAPIGatewayServiceRequest()
+ model = models.CreateCloudNativeAPIGatewayRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.ModifyCloudNativeAPIGatewayService(model)
+ rsp = client.CreateCloudNativeAPIGateway(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -1993,7 +1941,7 @@ def doModifyCloudNativeAPIGatewayService(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayNodes(args, parsed_globals):
+def doDescribeSREInstances(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2022,11 +1970,11 @@ def doDescribeCloudNativeAPIGatewayNodes(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayNodesRequest()
+ model = models.DescribeSREInstancesRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayNodes(model)
+ rsp = client.DescribeSREInstances(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2045,7 +1993,7 @@ def doDescribeCloudNativeAPIGatewayNodes(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doCreateCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayConfig(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2074,11 +2022,11 @@ def doCreateCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.CreateCloudNativeAPIGatewayCanaryRuleRequest()
+ model = models.DescribeCloudNativeAPIGatewayConfigRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.CreateCloudNativeAPIGatewayCanaryRule(model)
+ rsp = client.DescribeCloudNativeAPIGatewayConfig(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2097,7 +2045,7 @@ def doCreateCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeWafDomains(args, parsed_globals):
+def doDescribeWafProtection(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2126,11 +2074,11 @@ def doDescribeWafDomains(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeWafDomainsRequest()
+ model = models.DescribeWafProtectionRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeWafDomains(model)
+ rsp = client.DescribeWafProtection(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2149,7 +2097,7 @@ def doDescribeWafDomains(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayCertificateDetails(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2178,11 +2126,11 @@ def doDescribeCloudNativeAPIGatewayCertificateDetails(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayCertificateDetailsRequest()
+ model = models.DescribeCloudNativeAPIGatewayRouteRateLimitRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayCertificateDetails(model)
+ rsp = client.DescribeCloudNativeAPIGatewayRouteRateLimit(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2201,7 +2149,7 @@ def doDescribeCloudNativeAPIGatewayCertificateDetails(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doUpdateEngineInternetAccess(args, parsed_globals):
+def doModifyCloudNativeAPIGatewayService(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2230,11 +2178,11 @@ def doUpdateEngineInternetAccess(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.UpdateEngineInternetAccessRequest()
+ model = models.ModifyCloudNativeAPIGatewayServiceRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.UpdateEngineInternetAccess(model)
+ rsp = client.ModifyCloudNativeAPIGatewayService(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2253,7 +2201,7 @@ def doUpdateEngineInternetAccess(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doOpenWafProtection(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayNodes(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2282,11 +2230,11 @@ def doOpenWafProtection(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.OpenWafProtectionRequest()
+ model = models.DescribeCloudNativeAPIGatewayNodesRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.OpenWafProtection(model)
+ rsp = client.DescribeCloudNativeAPIGatewayNodes(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2305,7 +2253,7 @@ def doOpenWafProtection(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
+def doDescribeAutoScalerResourceStrategyBindingGroups(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2334,11 +2282,11 @@ def doDescribeCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeCloudNativeAPIGatewayServiceRateLimitRequest()
+ model = models.DescribeAutoScalerResourceStrategyBindingGroupsRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeCloudNativeAPIGatewayServiceRateLimit(model)
+ rsp = client.DescribeAutoScalerResourceStrategyBindingGroups(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2357,7 +2305,7 @@ def doDescribeCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doModifyCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
+def doDescribeWafDomains(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2386,11 +2334,11 @@ def doModifyCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.ModifyCloudNativeAPIGatewayCanaryRuleRequest()
+ model = models.DescribeWafDomainsRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.ModifyCloudNativeAPIGatewayCanaryRule(model)
+ rsp = client.DescribeWafDomains(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2409,7 +2357,7 @@ def doModifyCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doCreateCloudNativeAPIGatewayService(args, parsed_globals):
+def doUpdateUpstreamHealthCheckConfig(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2438,11 +2386,11 @@ def doCreateCloudNativeAPIGatewayService(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.CreateCloudNativeAPIGatewayServiceRequest()
+ model = models.UpdateUpstreamHealthCheckConfigRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.CreateCloudNativeAPIGatewayService(model)
+ rsp = client.UpdateUpstreamHealthCheckConfig(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2461,7 +2409,7 @@ def doCreateCloudNativeAPIGatewayService(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDeleteCloudNativeAPIGateway(args, parsed_globals):
+def doDeleteCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2490,11 +2438,11 @@ def doDeleteCloudNativeAPIGateway(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DeleteCloudNativeAPIGatewayRequest()
+ model = models.DeleteCloudNativeAPIGatewayRouteRateLimitRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DeleteCloudNativeAPIGateway(model)
+ rsp = client.DeleteCloudNativeAPIGatewayRouteRateLimit(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2513,7 +2461,7 @@ def doDeleteCloudNativeAPIGateway(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doModifyNetworkBasicInfo(args, parsed_globals):
+def doUpdateEngineInternetAccess(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2542,11 +2490,11 @@ def doModifyNetworkBasicInfo(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.ModifyNetworkBasicInfoRequest()
+ model = models.UpdateEngineInternetAccessRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.ModifyNetworkBasicInfo(model)
+ rsp = client.UpdateEngineInternetAccess(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2565,7 +2513,7 @@ def doModifyNetworkBasicInfo(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDeleteEngine(args, parsed_globals):
+def doOpenWafProtection(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2594,11 +2542,11 @@ def doDeleteEngine(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DeleteEngineRequest()
+ model = models.OpenWafProtectionRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DeleteEngine(model)
+ rsp = client.OpenWafProtection(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2617,7 +2565,7 @@ def doDeleteEngine(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doUpdateUpstreamTargets(args, parsed_globals):
+def doDescribeNacosServerInterfaces(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2646,7 +2594,371 @@ def doUpdateUpstreamTargets(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.UpdateUpstreamTargetsRequest()
+ model = models.DescribeNacosServerInterfacesRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.DescribeNacosServerInterfaces(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doModifyCloudNativeAPIGateway(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.ModifyCloudNativeAPIGatewayRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.ModifyCloudNativeAPIGateway(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doCreateCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.CreateCloudNativeAPIGatewayCanaryRuleRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.CreateCloudNativeAPIGatewayCanaryRule(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doCreateCloudNativeAPIGatewayService(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.CreateCloudNativeAPIGatewayServiceRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.CreateCloudNativeAPIGatewayService(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doDeleteCloudNativeAPIGateway(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.DeleteCloudNativeAPIGatewayRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.DeleteCloudNativeAPIGateway(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doUnbindAutoScalerResourceStrategyFromGroups(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.UnbindAutoScalerResourceStrategyFromGroupsRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.UnbindAutoScalerResourceStrategyFromGroups(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doDescribeSREInstanceAccessAddress(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.DescribeSREInstanceAccessAddressRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.DescribeSREInstanceAccessAddress(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doUpdateUpstreamTargets(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.UpdateUpstreamTargetsRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
@@ -2825,7 +3137,7 @@ def doUpdateCloudNativeAPIGatewayCertificateInfo(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doCreateNativeGatewayServerGroup(args, parsed_globals):
+def doDescribePublicNetwork(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2854,11 +3166,11 @@ def doCreateNativeGatewayServerGroup(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.CreateNativeGatewayServerGroupRequest()
+ model = models.DescribePublicNetworkRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.CreateNativeGatewayServerGroup(model)
+ rsp = client.DescribePublicNetwork(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -2877,7 +3189,7 @@ def doCreateNativeGatewayServerGroup(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDeleteCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
+def doDescribeAutoScalerResourceStrategies(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2906,11 +3218,63 @@ def doDeleteCloudNativeAPIGatewayRouteRateLimit(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DeleteCloudNativeAPIGatewayRouteRateLimitRequest()
+ model = models.DescribeAutoScalerResourceStrategiesRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DeleteCloudNativeAPIGatewayRouteRateLimit(model)
+ rsp = client.DescribeAutoScalerResourceStrategies(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
+def doCreateAutoScalerResourceStrategy(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.CreateAutoScalerResourceStrategyRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.CreateAutoScalerResourceStrategy(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -3085,7 +3449,7 @@ def doDescribeNacosReplicas(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doUpdateUpstreamHealthCheckConfig(args, parsed_globals):
+def doDescribeCloudNativeAPIGatewayCertificateDetails(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3114,11 +3478,11 @@ def doUpdateUpstreamHealthCheckConfig(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.UpdateUpstreamHealthCheckConfigRequest()
+ model = models.DescribeCloudNativeAPIGatewayCertificateDetailsRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.UpdateUpstreamHealthCheckConfig(model)
+ rsp = client.DescribeCloudNativeAPIGatewayCertificateDetails(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -3241,7 +3605,7 @@ def doDeleteNativeGatewayServerGroup(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
-def doDescribeSREInstanceAccessAddress(args, parsed_globals):
+def doDeleteAutoScalerResourceStrategy(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3270,11 +3634,11 @@ def doDescribeSREInstanceAccessAddress(args, parsed_globals):
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
- model = models.DescribeSREInstanceAccessAddressRequest()
+ model = models.DeleteAutoScalerResourceStrategyRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
- rsp = client.DescribeSREInstanceAccessAddress(model)
+ rsp = client.DeleteAutoScalerResourceStrategy(model)
result = rsp.to_json_string()
try:
json_obj = json.loads(result)
@@ -3345,6 +3709,58 @@ def doDescribeCloudNativeAPIGatewayCanaryRules(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+def doCreateNativeGatewayServerGroup(args, parsed_globals):
+ g_param = parse_global_arg(parsed_globals)
+
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
+ cred = credential.CVMRoleCredential()
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
+ cred = credential.STSAssumeRoleCredential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
+ )
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
+ else:
+ cred = credential.Credential(
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
+ )
+ http_profile = HttpProfile(
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
+ reqMethod="POST",
+ endpoint=g_param[OptionsDefine.Endpoint],
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
+ )
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
+ if g_param[OptionsDefine.Language]:
+ profile.language = g_param[OptionsDefine.Language]
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
+ client._sdkVersion += ("_CLI_" + __version__)
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
+ model = models.CreateNativeGatewayServerGroupRequest()
+ model.from_json_string(json.dumps(args))
+ start_time = time.time()
+ while True:
+ rsp = client.CreateNativeGatewayServerGroup(model)
+ result = rsp.to_json_string()
+ try:
+ json_obj = json.loads(result)
+ except TypeError as e:
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
+ break
+ cur_time = time.time()
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
+ else:
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
+
+
def doModifyNetworkAccessStrategy(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)
@@ -3412,7 +3828,6 @@ def doModifyNetworkAccessStrategy(args, parsed_globals):
"DescribeOneCloudNativeAPIGatewayService": doDescribeOneCloudNativeAPIGatewayService,
"DescribeUpstreamHealthCheckConfig": doDescribeUpstreamHealthCheckConfig,
"CloseWafProtection": doCloseWafProtection,
- "ModifyCloudNativeAPIGateway": doModifyCloudNativeAPIGateway,
"ModifyNativeGatewayServerGroup": doModifyNativeGatewayServerGroup,
"DeleteCloudNativeAPIGatewayServiceRateLimit": doDeleteCloudNativeAPIGatewayServiceRateLimit,
"CreateWafDomains": doCreateWafDomains,
@@ -3422,23 +3837,28 @@ def doModifyNetworkAccessStrategy(args, parsed_globals):
"ModifyCloudNativeAPIGatewayServiceRateLimit": doModifyCloudNativeAPIGatewayServiceRateLimit,
"CreateEngine": doCreateEngine,
"ModifyUpstreamNodeStatus": doModifyUpstreamNodeStatus,
- "DeleteCloudNativeAPIGatewayPublicNetwork": doDeleteCloudNativeAPIGatewayPublicNetwork,
+ "BindAutoScalerResourceStrategyToGroups": doBindAutoScalerResourceStrategyToGroups,
"DeleteWafDomains": doDeleteWafDomains,
+ "DeleteCloudNativeAPIGatewayPublicNetwork": doDeleteCloudNativeAPIGatewayPublicNetwork,
"DeleteCloudNativeAPIGatewayService": doDeleteCloudNativeAPIGatewayService,
+ "DescribeCloudNativeAPIGatewayServiceRateLimit": doDescribeCloudNativeAPIGatewayServiceRateLimit,
"CreateCloudNativeAPIGatewayServiceRateLimit": doCreateCloudNativeAPIGatewayServiceRateLimit,
"DescribeCloudNativeAPIGatewayRoutes": doDescribeCloudNativeAPIGatewayRoutes,
"DescribeCloudNativeAPIGateway": doDescribeCloudNativeAPIGateway,
"DescribeCloudNativeAPIGatewayPorts": doDescribeCloudNativeAPIGatewayPorts,
"DeleteCloudNativeAPIGatewayRoute": doDeleteCloudNativeAPIGatewayRoute,
- "CreateCloudNativeAPIGatewayPublicNetwork": doCreateCloudNativeAPIGatewayPublicNetwork,
+ "DeleteEngine": doDeleteEngine,
+ "ModifyAutoScalerResourceStrategy": doModifyAutoScalerResourceStrategy,
"ModifyCloudNativeAPIGatewayCertificate": doModifyCloudNativeAPIGatewayCertificate,
"DeleteCloudNativeAPIGatewayCanaryRule": doDeleteCloudNativeAPIGatewayCanaryRule,
"DescribeCloudNativeAPIGateways": doDescribeCloudNativeAPIGateways,
"CreateCloudNativeAPIGatewayCertificate": doCreateCloudNativeAPIGatewayCertificate,
"DescribeCloudNativeAPIGatewayServices": doDescribeCloudNativeAPIGatewayServices,
"ModifyCloudNativeAPIGatewayRouteRateLimit": doModifyCloudNativeAPIGatewayRouteRateLimit,
- "DescribeNacosServerInterfaces": doDescribeNacosServerInterfaces,
+ "CreateCloudNativeAPIGatewayPublicNetwork": doCreateCloudNativeAPIGatewayPublicNetwork,
+ "ModifyCloudNativeAPIGatewayCanaryRule": doModifyCloudNativeAPIGatewayCanaryRule,
"UpdateCloudNativeAPIGatewaySpec": doUpdateCloudNativeAPIGatewaySpec,
+ "ModifyNetworkBasicInfo": doModifyNetworkBasicInfo,
"DescribeZookeeperReplicas": doDescribeZookeeperReplicas,
"CreateCloudNativeAPIGateway": doCreateCloudNativeAPIGateway,
"DescribeSREInstances": doDescribeSREInstances,
@@ -3447,31 +3867,35 @@ def doModifyNetworkAccessStrategy(args, parsed_globals):
"DescribeCloudNativeAPIGatewayRouteRateLimit": doDescribeCloudNativeAPIGatewayRouteRateLimit,
"ModifyCloudNativeAPIGatewayService": doModifyCloudNativeAPIGatewayService,
"DescribeCloudNativeAPIGatewayNodes": doDescribeCloudNativeAPIGatewayNodes,
- "CreateCloudNativeAPIGatewayCanaryRule": doCreateCloudNativeAPIGatewayCanaryRule,
+ "DescribeAutoScalerResourceStrategyBindingGroups": doDescribeAutoScalerResourceStrategyBindingGroups,
"DescribeWafDomains": doDescribeWafDomains,
- "DescribeCloudNativeAPIGatewayCertificateDetails": doDescribeCloudNativeAPIGatewayCertificateDetails,
+ "UpdateUpstreamHealthCheckConfig": doUpdateUpstreamHealthCheckConfig,
+ "DeleteCloudNativeAPIGatewayRouteRateLimit": doDeleteCloudNativeAPIGatewayRouteRateLimit,
"UpdateEngineInternetAccess": doUpdateEngineInternetAccess,
"OpenWafProtection": doOpenWafProtection,
- "DescribeCloudNativeAPIGatewayServiceRateLimit": doDescribeCloudNativeAPIGatewayServiceRateLimit,
- "ModifyCloudNativeAPIGatewayCanaryRule": doModifyCloudNativeAPIGatewayCanaryRule,
+ "DescribeNacosServerInterfaces": doDescribeNacosServerInterfaces,
+ "ModifyCloudNativeAPIGateway": doModifyCloudNativeAPIGateway,
+ "CreateCloudNativeAPIGatewayCanaryRule": doCreateCloudNativeAPIGatewayCanaryRule,
"CreateCloudNativeAPIGatewayService": doCreateCloudNativeAPIGatewayService,
"DeleteCloudNativeAPIGateway": doDeleteCloudNativeAPIGateway,
- "ModifyNetworkBasicInfo": doModifyNetworkBasicInfo,
- "DeleteEngine": doDeleteEngine,
+ "UnbindAutoScalerResourceStrategyFromGroups": doUnbindAutoScalerResourceStrategyFromGroups,
+ "DescribeSREInstanceAccessAddress": doDescribeSREInstanceAccessAddress,
"UpdateUpstreamTargets": doUpdateUpstreamTargets,
"DeleteCloudNativeAPIGatewayCertificate": doDeleteCloudNativeAPIGatewayCertificate,
"CreateCloudNativeAPIGatewayRoute": doCreateCloudNativeAPIGatewayRoute,
"UpdateCloudNativeAPIGatewayCertificateInfo": doUpdateCloudNativeAPIGatewayCertificateInfo,
- "CreateNativeGatewayServerGroup": doCreateNativeGatewayServerGroup,
- "DeleteCloudNativeAPIGatewayRouteRateLimit": doDeleteCloudNativeAPIGatewayRouteRateLimit,
+ "DescribePublicNetwork": doDescribePublicNetwork,
+ "DescribeAutoScalerResourceStrategies": doDescribeAutoScalerResourceStrategies,
+ "CreateAutoScalerResourceStrategy": doCreateAutoScalerResourceStrategy,
"CreateCloudNativeAPIGatewayRouteRateLimit": doCreateCloudNativeAPIGatewayRouteRateLimit,
"DescribeNativeGatewayServerGroups": doDescribeNativeGatewayServerGroups,
"DescribeNacosReplicas": doDescribeNacosReplicas,
- "UpdateUpstreamHealthCheckConfig": doUpdateUpstreamHealthCheckConfig,
+ "DescribeCloudNativeAPIGatewayCertificateDetails": doDescribeCloudNativeAPIGatewayCertificateDetails,
"ModifyCloudNativeAPIGatewayRoute": doModifyCloudNativeAPIGatewayRoute,
"DeleteNativeGatewayServerGroup": doDeleteNativeGatewayServerGroup,
- "DescribeSREInstanceAccessAddress": doDescribeSREInstanceAccessAddress,
+ "DeleteAutoScalerResourceStrategy": doDeleteAutoScalerResourceStrategy,
"DescribeCloudNativeAPIGatewayCanaryRules": doDescribeCloudNativeAPIGatewayCanaryRules,
+ "CreateNativeGatewayServerGroup": doCreateNativeGatewayServerGroup,
"ModifyNetworkAccessStrategy": doModifyNetworkAccessStrategy,
}
diff --git a/tccli/services/tse/v20201207/api.json b/tccli/services/tse/v20201207/api.json
index e9af6d928f..400c983c8c 100644
--- a/tccli/services/tse/v20201207/api.json
+++ b/tccli/services/tse/v20201207/api.json
@@ -1,5 +1,12 @@
{
"actions": {
+ "BindAutoScalerResourceStrategyToGroups": {
+ "document": "弹性伸缩策略批量绑定网关分组",
+ "input": "BindAutoScalerResourceStrategyToGroupsRequest",
+ "name": "弹性伸缩策略批量绑定网关分组",
+ "output": "BindAutoScalerResourceStrategyToGroupsResponse",
+ "status": "online"
+ },
"CloseWafProtection": {
"document": "关闭 WAF 防护",
"input": "CloseWafProtectionRequest",
@@ -7,6 +14,13 @@
"output": "CloseWafProtectionResponse",
"status": "online"
},
+ "CreateAutoScalerResourceStrategy": {
+ "document": "创建弹性伸缩策略",
+ "input": "CreateAutoScalerResourceStrategyRequest",
+ "name": "创建弹性伸缩策略",
+ "output": "CreateAutoScalerResourceStrategyResponse",
+ "status": "online"
+ },
"CreateCloudNativeAPIGateway": {
"document": "创建云原生API网关实例",
"input": "CreateCloudNativeAPIGatewayRequest",
@@ -84,6 +98,13 @@
"output": "CreateWafDomainsResponse",
"status": "online"
},
+ "DeleteAutoScalerResourceStrategy": {
+ "document": "删除弹性伸缩策略",
+ "input": "DeleteAutoScalerResourceStrategyRequest",
+ "name": "删除弹性伸缩策略",
+ "output": "DeleteAutoScalerResourceStrategyResponse",
+ "status": "online"
+ },
"DeleteCloudNativeAPIGateway": {
"document": "删除云原生API网关实例",
"input": "DeleteCloudNativeAPIGatewayRequest",
@@ -161,6 +182,20 @@
"output": "DeleteWafDomainsResponse",
"status": "online"
},
+ "DescribeAutoScalerResourceStrategies": {
+ "document": "查看弹性伸缩策略列表",
+ "input": "DescribeAutoScalerResourceStrategiesRequest",
+ "name": "查看弹性伸缩策略列表",
+ "output": "DescribeAutoScalerResourceStrategiesResponse",
+ "status": "online"
+ },
+ "DescribeAutoScalerResourceStrategyBindingGroups": {
+ "document": "查看弹性伸缩策略绑定的网关分组",
+ "input": "DescribeAutoScalerResourceStrategyBindingGroupsRequest",
+ "name": "查看弹性伸缩策略绑定的网关分组",
+ "output": "DescribeAutoScalerResourceStrategyBindingGroupsResponse",
+ "status": "online"
+ },
"DescribeCloudNativeAPIGateway": {
"document": "获取云原生API网关实例信息",
"input": "DescribeCloudNativeAPIGatewayRequest",
@@ -280,6 +315,13 @@
"output": "DescribeOneCloudNativeAPIGatewayServiceResponse",
"status": "online"
},
+ "DescribePublicNetwork": {
+ "document": "查询云原生API网关实例公网详情",
+ "input": "DescribePublicNetworkRequest",
+ "name": "查询云原生API网关实例公网详情",
+ "output": "DescribePublicNetworkResponse",
+ "status": "online"
+ },
"DescribeSREInstanceAccessAddress": {
"document": "查询引擎实例访问地址",
"input": "DescribeSREInstanceAccessAddressRequest",
@@ -329,6 +371,13 @@
"output": "DescribeZookeeperServerInterfacesResponse",
"status": "online"
},
+ "ModifyAutoScalerResourceStrategy": {
+ "document": "更新弹性伸缩策略",
+ "input": "ModifyAutoScalerResourceStrategyRequest",
+ "name": "更新弹性伸缩策略",
+ "output": "ModifyAutoScalerResourceStrategyResponse",
+ "status": "online"
+ },
"ModifyCloudNativeAPIGateway": {
"document": "修改云原生API网关实例基础信息",
"input": "ModifyCloudNativeAPIGatewayRequest",
@@ -420,6 +469,13 @@
"output": "OpenWafProtectionResponse",
"status": "online"
},
+ "UnbindAutoScalerResourceStrategyFromGroups": {
+ "document": "弹性伸缩策略批量解绑网关分组",
+ "input": "UnbindAutoScalerResourceStrategyFromGroupsRequest",
+ "name": "弹性伸缩策略批量解绑网关分组",
+ "output": "UnbindAutoScalerResourceStrategyFromGroupsResponse",
+ "status": "online"
+ },
"UpdateCloudNativeAPIGatewayCertificateInfo": {
"document": "修改云原生网关证书信息",
"input": "UpdateCloudNativeAPIGatewayCertificateInfoRequest",
@@ -645,6 +701,61 @@
],
"usage": "both"
},
+ "BindAutoScalerResourceStrategyToGroupsRequest": {
+ "document": "BindAutoScalerResourceStrategyToGroups请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID",
+ "example": "gateway-4a34cf5f",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略ID",
+ "example": "strategy-7bb4fcb0",
+ "member": "string",
+ "name": "StrategyId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "网关分组ID列表",
+ "example": "无",
+ "member": "string",
+ "name": "GroupIds",
+ "required": true,
+ "type": "list"
+ }
+ ],
+ "type": "object"
+ },
+ "BindAutoScalerResourceStrategyToGroupsResponse": {
+ "document": "BindAutoScalerResourceStrategyToGroups返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "是否成功",
+ "example": "true",
+ "member": "bool",
+ "name": "Result",
+ "required": true,
+ "type": "bool",
+ "value_allowed_null": false
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
"BoundK8SInfo": {
"document": "服务治理引擎绑定的kubernetes信息",
"members": [
@@ -1706,6 +1817,62 @@
],
"usage": "both"
},
+ "CloudNativeAPIGatewayStrategyBindingGroupInfo": {
+ "document": "策略绑定的网关分组信息",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关分组ID\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "group-2e781178",
+ "member": "string",
+ "name": "GroupId",
+ "required": true,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "节点配置\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayNodeConfig",
+ "name": "NodeConfig",
+ "required": true,
+ "type": "object",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "绑定时间\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "2021-09-09 11:52:30",
+ "member": "string",
+ "name": "BindTime",
+ "required": true,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "网关分组名称\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "test",
+ "member": "string",
+ "name": "GroupName",
+ "required": true,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "绑定状态\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "bound",
+ "member": "string",
+ "name": "Status",
+ "required": true,
+ "type": "string",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "out"
+ },
"CloudNativeAPIGatewayStrategyCronScalerConfig": {
"document": "定时伸缩策略配置",
"members": [
@@ -1845,6 +2012,107 @@
],
"usage": "both"
},
+ "CreateAutoScalerResourceStrategyRequest": {
+ "document": "CreateAutoScalerResourceStrategy请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID",
+ "example": "gateway-4a34cf5f",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略名称",
+ "example": "strategy-test",
+ "member": "string",
+ "name": "StrategyName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略描述",
+ "example": "desc",
+ "member": "string",
+ "name": "Description",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "指标伸缩配置",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategyAutoScalerConfig",
+ "name": "Config",
+ "required": false,
+ "type": "object"
+ },
+ {
+ "disabled": true,
+ "document": "定时伸缩配置列表",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategyCronScalerConfig",
+ "name": "CronScalerConfig",
+ "required": false,
+ "type": "object"
+ },
+ {
+ "disabled": true,
+ "document": "最大节点数",
+ "example": "100",
+ "member": "int64",
+ "name": "MaxReplicas",
+ "required": false,
+ "type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "定时伸缩配置",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategyCronScalerConfig",
+ "name": "CronConfig",
+ "required": false,
+ "type": "object"
+ }
+ ],
+ "type": "object"
+ },
+ "CreateAutoScalerResourceStrategyResponse": {
+ "document": "CreateAutoScalerResourceStrategy返回参数结构体",
+ "members": [
+ {
+ "disabled": true,
+ "document": "是否成功",
+ "example": "true",
+ "member": "bool",
+ "name": "Result",
+ "output_required": true,
+ "type": "bool",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "策略Id\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "strategy-xxxxxxxx",
+ "member": "string",
+ "name": "StrategyId",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
"CreateCloudNativeAPIGatewayCanaryRuleRequest": {
"document": "CreateCloudNativeAPIGatewayCanaryRule请求参数结构体",
"members": [
@@ -2938,6 +3206,52 @@
],
"type": "object"
},
+ "DeleteAutoScalerResourceStrategyRequest": {
+ "document": "DeleteAutoScalerResourceStrategy请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID",
+ "example": "gateway-4a34cf5f",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略ID",
+ "example": "strategy-7bb4fcb0",
+ "member": "string",
+ "name": "StrategyId",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
+ "DeleteAutoScalerResourceStrategyResponse": {
+ "document": "DeleteAutoScalerResourceStrategy返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "是否成功",
+ "example": "true",
+ "member": "bool",
+ "name": "Result",
+ "required": true,
+ "type": "bool",
+ "value_allowed_null": false
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
"DeleteCloudNativeAPIGatewayCanaryRuleRequest": {
"document": "DeleteCloudNativeAPIGatewayCanaryRule请求参数结构体",
"members": [
@@ -3443,6 +3757,114 @@
],
"type": "object"
},
+ "DescribeAutoScalerResourceStrategiesRequest": {
+ "document": "DescribeAutoScalerResourceStrategies请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID",
+ "example": "gateway-4a34cf5f",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略ID",
+ "example": "strategy-7bb4fcb0",
+ "member": "string",
+ "name": "StrategyId",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
+ "DescribeAutoScalerResourceStrategiesResponse": {
+ "document": "DescribeAutoScalerResourceStrategies返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "获取云原生API网关实例弹性伸缩策略列表响应结果。",
+ "example": "无",
+ "member": "ListCloudNativeAPIGatewayStrategyResult",
+ "name": "Result",
+ "type": "object",
+ "value_allowed_null": false
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
+ "DescribeAutoScalerResourceStrategyBindingGroupsRequest": {
+ "document": "DescribeAutoScalerResourceStrategyBindingGroups请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID",
+ "example": "gateway-4a34cf5f",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略ID",
+ "example": "strategy-7bb4fcb0",
+ "member": "string",
+ "name": "StrategyId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "查询偏移量",
+ "example": "10",
+ "member": "int64",
+ "name": "Offset",
+ "required": false,
+ "type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "查询数量限制",
+ "example": "10",
+ "member": "int64",
+ "name": "Limit",
+ "required": false,
+ "type": "int"
+ }
+ ],
+ "type": "object"
+ },
+ "DescribeAutoScalerResourceStrategyBindingGroupsResponse": {
+ "document": "DescribeAutoScalerResourceStrategyBindingGroups返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "云原生API网关实例策略绑定网关分组列表响应结果",
+ "example": "无",
+ "member": "ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult",
+ "name": "Result",
+ "type": "object",
+ "value_allowed_null": false
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
"DescribeCloudNativeAPIGatewayCanaryRulesRequest": {
"document": "DescribeCloudNativeAPIGatewayCanaryRules请求参数结构体",
"members": [
@@ -4836,6 +5258,97 @@
],
"type": "object"
},
+ "DescribePublicNetworkRequest": {
+ "document": "DescribePublicNetwork请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "云原生API网关实例ID。",
+ "example": "gateway-xxxxxx",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "网关分组ID",
+ "example": "group-xxxx1234",
+ "member": "string",
+ "name": "GroupId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "网络ID",
+ "example": "network-xxxxxxxx",
+ "member": "string",
+ "name": "NetworkId",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
+ "DescribePublicNetworkResponse": {
+ "document": "DescribePublicNetwork返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "获取云原生API网关公网详情响应结果。\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "DescribePublicNetworkResult",
+ "name": "Result",
+ "output_required": false,
+ "type": "object",
+ "value_allowed_null": true
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
+ "DescribePublicNetworkResult": {
+ "document": "查询客户端公网信息",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "gateway-xxxxxxxx",
+ "member": "string",
+ "name": "GatewayId",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "网关分组ID\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "group-xxxxxx",
+ "member": "string",
+ "name": "GroupId",
+ "output_required": false,
+ "type": "string",
+ "value_allowed_null": true
+ },
+ {
+ "disabled": false,
+ "document": "客户端公网信息\n注意:此字段可能返回 null,表示取不到有效值。",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayConfig",
+ "name": "PublicNetwork",
+ "output_required": false,
+ "type": "object",
+ "value_allowed_null": true
+ }
+ ],
+ "usage": "out"
+ },
"DescribeSREInstanceAccessAddressRequest": {
"document": "DescribeSREInstanceAccessAddress请求参数结构体",
"members": [
@@ -7081,6 +7594,58 @@
],
"usage": "out"
},
+ "ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult": {
+ "document": "获取云原生API网关实例策略绑定网关分组列表响应结果。",
+ "members": [
+ {
+ "disabled": false,
+ "document": "数量",
+ "example": "1",
+ "member": "int64",
+ "name": "TotalCount",
+ "required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "云原生API网关实例策略绑定网关分组列表",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategyBindingGroupInfo",
+ "name": "GroupInfos",
+ "required": true,
+ "type": "list",
+ "value_allowed_null": false
+ }
+ ],
+ "usage": "out"
+ },
+ "ListCloudNativeAPIGatewayStrategyResult": {
+ "document": "获取云原生API网关实例策略响应结果。",
+ "members": [
+ {
+ "disabled": false,
+ "document": "总数。",
+ "example": "1",
+ "member": "int64",
+ "name": "TotalCount",
+ "required": true,
+ "type": "int",
+ "value_allowed_null": false
+ },
+ {
+ "disabled": false,
+ "document": "云原生API网关实例策略列表。",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategy",
+ "name": "StrategyList",
+ "required": true,
+ "type": "list",
+ "value_allowed_null": false
+ }
+ ],
+ "usage": "out"
+ },
"ListFilter": {
"document": "列表过滤条件,模糊匹配",
"members": [
@@ -7107,6 +7672,106 @@
],
"usage": "in"
},
+ "ModifyAutoScalerResourceStrategyRequest": {
+ "document": "ModifyAutoScalerResourceStrategy请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID",
+ "example": "gateway-4a34cf5f",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略ID",
+ "example": "strategy-7bb4fcb0",
+ "member": "string",
+ "name": "StrategyId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略名称",
+ "example": "strategy-test",
+ "member": "string",
+ "name": "StrategyName",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略描述",
+ "example": "desc",
+ "member": "string",
+ "name": "Description",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "指标伸缩配置",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategyAutoScalerConfig",
+ "name": "Config",
+ "required": false,
+ "type": "object"
+ },
+ {
+ "disabled": true,
+ "document": "定时伸缩配置",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategyCronScalerConfig",
+ "name": "CronScalerConfig",
+ "required": false,
+ "type": "object"
+ },
+ {
+ "disabled": true,
+ "document": "最大节点数",
+ "example": "无",
+ "member": "int64",
+ "name": "MaxReplicas",
+ "required": false,
+ "type": "int"
+ },
+ {
+ "disabled": false,
+ "document": "指标伸缩配置",
+ "example": "无",
+ "member": "CloudNativeAPIGatewayStrategyCronScalerConfig",
+ "name": "CronConfig",
+ "required": false,
+ "type": "object"
+ }
+ ],
+ "type": "object"
+ },
+ "ModifyAutoScalerResourceStrategyResponse": {
+ "document": "ModifyAutoScalerResourceStrategy返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "是否成功",
+ "example": "true",
+ "member": "bool",
+ "name": "Result",
+ "output_required": true,
+ "type": "bool",
+ "value_allowed_null": false
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
"ModifyCloudNativeAPIGatewayCanaryRuleRequest": {
"document": "ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体",
"members": [
@@ -9038,6 +9703,61 @@
],
"usage": "both"
},
+ "UnbindAutoScalerResourceStrategyFromGroupsRequest": {
+ "document": "UnbindAutoScalerResourceStrategyFromGroups请求参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "网关实例ID",
+ "example": "gateway-4a34cf5f",
+ "member": "string",
+ "name": "GatewayId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "策略ID",
+ "example": "strategy-7bb4fcb0",
+ "member": "string",
+ "name": "StrategyId",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "disabled": false,
+ "document": "网关分组ID列表",
+ "example": "无",
+ "member": "string",
+ "name": "GroupIds",
+ "required": true,
+ "type": "list"
+ }
+ ],
+ "type": "object"
+ },
+ "UnbindAutoScalerResourceStrategyFromGroupsResponse": {
+ "document": "UnbindAutoScalerResourceStrategyFromGroups返回参数结构体",
+ "members": [
+ {
+ "disabled": false,
+ "document": "是否成功",
+ "example": "true",
+ "member": "bool",
+ "name": "Result",
+ "required": true,
+ "type": "bool",
+ "value_allowed_null": false
+ },
+ {
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
+ "member": "string",
+ "name": "RequestId",
+ "type": "string"
+ }
+ ],
+ "type": "object"
+ },
"UpdateCloudNativeAPIGatewayCertificateInfoRequest": {
"document": "UpdateCloudNativeAPIGatewayCertificateInfo请求参数结构体",
"members": [
diff --git a/tccli/services/tse/v20201207/examples.json b/tccli/services/tse/v20201207/examples.json
index fcc6b36e2b..b898f50caf 100644
--- a/tccli/services/tse/v20201207/examples.json
+++ b/tccli/services/tse/v20201207/examples.json
@@ -1,5 +1,13 @@
{
"actions": {
+ "BindAutoScalerResourceStrategyToGroups": [
+ {
+ "document": "",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindAutoScalerResourceStrategyToGroups\n<公共请求参数>\n\n{\n \"GatewayId\": \"\",\n \"StrategyId\": \"strategy-7bb4fcb0\",\n \"GroupIds\": [\n \"group-2e781178\"\n ]\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"adc44984-762c-42e0-b39a-80777e5c3bcc\",\n \"Result\": true\n }\n}",
+ "title": "弹性伸缩策略批量绑定网关分组"
+ }
+ ],
"CloseWafProtection": [
{
"document": "关闭 WAF 防护",
@@ -8,6 +16,14 @@
"title": "关闭 WAF 防护"
}
],
+ "CreateAutoScalerResourceStrategy": [
+ {
+ "document": "创建弹性伸缩策略",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAutoScalerResourceStrategy\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-4a34cf5f\",\n \"StrategyName\": \"strategy-test\",\n \"Description\": \"desc\",\n \"MaxReplicas\": 15,\n \"Config\": {\n \"Enabled\": true,\n \"Metrics\": [\n {\n \"Type\": \"Resource\",\n \"ResourceName\": \"cpu\",\n \"TargetType\": \"Utilization\",\n \"TargetValue\": 50\n },\n {\n \"Type\": \"Pods\",\n \"ResourceName\": \"tcp-connection-num\",\n \"TargetType\": \"AverageValue\",\n \"TargetValue\": 5\n }\n ]\n },\n \"CronScalerConfig\": {\n \"Enabled\": true,\n \"Params\": [\n {\n \"Period\": \"1 * *\",\n \"StartAt\": \"17:00\",\n \"TargetReplicas\": 10\n }\n ]\n }\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"741e4e82-371d-48de-a843-867c69ff114d\",\n \"Result\": true\n }\n}",
+ "title": "创建弹性伸缩策略"
+ }
+ ],
"CreateCloudNativeAPIGateway": [
{
"document": "创建云原生API网关实例",
@@ -96,6 +112,14 @@
"title": "新建 WAF 防护域名"
}
],
+ "DeleteAutoScalerResourceStrategy": [
+ {
+ "document": "",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAutoScalerResourceStrategy\n<公共请求参数>\n\n{\n \"GatewayId\": \"\",\n \"StrategyId\": \"strategy-7bb4fcb0\"\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"adc44984-762c-42e0-b39a-80777e5c3bcc\",\n \"Result\": true\n }\n}",
+ "title": "删除弹性伸缩策略"
+ }
+ ],
"DeleteCloudNativeAPIGateway": [
{
"document": "",
@@ -184,6 +208,22 @@
"title": "删除 WAF 防护域名"
}
],
+ "DescribeAutoScalerResourceStrategies": [
+ {
+ "document": "查看弹性伸缩策略列表",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScalerResourceStrategies\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-4a34cf5f\"\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"adc44984-762c-42e0-b39a-80777e5c3bcc\",\n \"Result\": {\n \"TotalCount\": 1,\n \"StrategyList\": [\n {\n \"StrategyId\": \"strategy-7bb4fcb0\",\n \"StrategyName\": \"test\",\n \"CreateTime\": \"2021-09-09 11:52:30\",\n \"ModifyTime\": \"2021-09-09 11:52:30\",\n \"Description\": \"测试\",\n \"GatewayId\": \"gateway-4a34cf5f\",\n \"Config\": {\n \"AutoScalerId\": \"autoscaler-92aaca7b\",\n \"StrategyId\": \"strategy-448e24f7\",\n \"Enabled\": true,\n \"MaxReplicas\": 15,\n \"Metrics\": [\n {\n \"Type\": \"Resource\",\n \"ResourceName\": \"cpu\",\n \"TargetType\": \"Utilization\",\n \"TargetValue\": 50\n },\n {\n \"Type\": \"Pods\",\n \"ResourceName\": \"tcp-connection-num\",\n \"TargetType\": \"AverageValue\",\n \"TargetValue\": 5\n }\n ],\n \"CreateTime\": \"2023-03-08 16:57:18\",\n \"ModifyTime\": \"2023-03-08 16:57:18\"\n },\n \"CronConfig\": {\n \"StrategyId\": \"strategy-448e24f7\",\n \"Enabled\": true,\n \"Params\": [\n {\n \"Period\": \"\",\n \"StartAt\": \"17:00\",\n \"TargetReplicas\": 0\n }\n ],\n \"CreateTime\": \"2023-03-08 16:57:18\",\n \"ModifyTime\": \"2023-03-08 16:57:18\"\n }\n }\n ]\n }\n }\n}",
+ "title": "查看弹性伸缩策略列表"
+ }
+ ],
+ "DescribeAutoScalerResourceStrategyBindingGroups": [
+ {
+ "document": "查看弹性伸缩策略绑定的网关分组",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScalerResourceStrategyBindingGroups\n<公共请求参数>\n\n{\n \"GatewayId\": \"\",\n \"StrategyId\": \"strategy-7bb4fcb0\",\n \"Offset\": 1,\n \"Limit\": 1\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"adc44984-762c-42e0-b39a-80777e5c3bcc\",\n \"Result\": {\n \"TotalCount\": 1,\n \"GroupInfos\": [\n {\n \"GroupId\": \"group-2e781178\",\n \"GroupName\": \"test\",\n \"NodeConfig\": {\n \"Specification\": \"1c2g\",\n \"Number\": 2\n },\n \"BindTime\": \"2021-09-09 11:52:30\",\n \"Status\": \"bound\"\n }\n ]\n }\n }\n}",
+ "title": "查看弹性伸缩策略绑定的网关分组"
+ }
+ ],
"DescribeCloudNativeAPIGateway": [
{
"document": "",
@@ -320,6 +360,14 @@
"title": "获取云原生网关服务详情"
}
],
+ "DescribePublicNetwork": [
+ {
+ "document": "查询云原生API网关实例公网详情",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePublicNetwork\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-xxxxxxxx\",\n \"GroupId\": \"greoup-xxxxxxxx\",\n \"NetworkId\": \"network-xxxxxxxx\"\n}",
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"GatewayId\": \"abc\",\n \"GroupId\": \"abc\",\n \"PublicNetwork\": {\n \"ConsoleType\": \"abc\",\n \"HttpUrl\": \"abc\",\n \"HttpsUrl\": \"abc\",\n \"NetType\": \"abc\",\n \"AdminUser\": \"abc\",\n \"AdminPassword\": \"abc\",\n \"Status\": \"abc\",\n \"AccessControl\": {\n \"Mode\": \"abc\",\n \"CidrWhiteList\": [\n \"abc\"\n ],\n \"CidrBlackList\": [\n \"abc\"\n ]\n },\n \"SubnetId\": \"abc\",\n \"VpcId\": \"abc\",\n \"Description\": \"abc\",\n \"SlaType\": \"abc\",\n \"SlaName\": \"abc\",\n \"Vip\": \"abc\",\n \"InternetMaxBandwidthOut\": 1,\n \"MultiZoneFlag\": true,\n \"MasterZoneId\": \"abc\",\n \"SlaveZoneId\": \"abc\",\n \"MasterZoneName\": \"abc\",\n \"SlaveZoneName\": \"abc\",\n \"NetworkId\": \"abc\"\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
+ "title": "查询云原生API网关实例公网详情"
+ }
+ ],
"DescribeSREInstanceAccessAddress": [
{
"document": "",
@@ -376,6 +424,14 @@
"title": "查询nacos服务接口列表"
}
],
+ "ModifyAutoScalerResourceStrategy": [
+ {
+ "document": "更新弹性伸缩策略",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoScalerResourceStrategy\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-4a34cf5f\",\n \"StrategyId\": \"strategy-7bb4fcb0\",\n \"StrategyName\": \"strategy-test\",\n \"Description\": \"desc\",\n \"MaxReplicas\": 5,\n \"Config\": {\n \"Metrics\": [\n {\n \"Type\": \"Resource\",\n \"ResourceName\": \"cpu\",\n \"TargetType\": \"Utilization\",\n \"TargetValue\": 80\n }\n ]\n },\n \"CronScalerConfig\": {\n \"Enabled\": true,\n \"Params\": [\n {\n \"Period\": \"1 * *\",\n \"StartAt\": \"17:00\",\n \"TargetReplicas\": 10\n }\n ]\n }\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"adc44984-762c-42e0-b39a-80777e5c3bcc\",\n \"Result\": true\n }\n}",
+ "title": "更新弹性伸缩策略"
+ }
+ ],
"ModifyCloudNativeAPIGateway": [
{
"document": "测试修改云原生API网关实例基础信息",
@@ -480,6 +536,14 @@
"title": "开启 WAF 防护"
}
],
+ "UnbindAutoScalerResourceStrategyFromGroups": [
+ {
+ "document": "",
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindAutoScalerResourceStrategyFromGroups\n<公共请求参数>\n\n{\n \"GatewayId\": \"\",\n \"StrategyId\": \"strategy-7bb4fcb0\",\n \"GroupIds\": [\n \"group-2e781178\"\n ]\n}",
+ "output": "{\n \"Response\": {\n \"RequestId\": \"adc44984-762c-42e0-b39a-80777e5c3bcc\",\n \"Result\": true\n }\n}",
+ "title": "弹性伸缩策略批量解绑网关分组"
+ }
+ ],
"UpdateCloudNativeAPIGatewayCertificateInfo": [
{
"document": "修改云原生网关证书信息",