tencentcloud-sdk-nodejs 4.0.463 → 4.0.465
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +509 -0
- package/README.md +6 -4
- package/SERVICE_CHANGELOG.md +622 -171
- package/package.json +1 -1
- package/products.md +22 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +13 -1
- package/src/services/bma/v20210624/bma_models.ts +41 -16
- package/src/services/ckafka/v20190819/ckafka_models.ts +5 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +8 -0
- package/src/services/cwp/v20180228/cwp_client.ts +106 -19
- package/src/services/cwp/v20180228/cwp_models.ts +633 -199
- package/src/services/ess/v20201111/ess_models.ts +24 -18
- package/src/services/essbasic/v20210526/essbasic_client.ts +25 -8
- package/src/services/essbasic/v20210526/essbasic_models.ts +40 -14
- package/src/services/monitor/v20180724/monitor_client.ts +2 -1
- package/src/services/monitor/v20180724/monitor_models.ts +32 -5
- package/src/services/pts/v20210728/pts_models.ts +36 -0
- package/src/services/ssm/v20190923/ssm_models.ts +1 -1
- package/src/services/tcb/v20180608/tcb_models.ts +7 -0
- package/src/services/tcm/v20210413/tcm_client.ts +41 -16
- package/src/services/tcm/v20210413/tcm_models.ts +95 -0
- package/src/services/tcss/v20201101/tcss_client.ts +2064 -278
- package/src/services/tcss/v20201101/tcss_models.ts +12415 -4071
- package/src/services/tdcpg/v20211118/tdcpg_models.ts +13 -0
- package/src/services/teo/v20220901/teo_client.ts +2 -0
- package/src/services/teo/v20220901/teo_models.ts +68 -4
- package/src/services/thpc/v20220401/thpc_client.ts +16 -2
- package/src/services/thpc/v20220401/thpc_models.ts +145 -15
- package/src/services/tke/v20180525/tke_client.ts +4 -4
- package/src/services/tke/v20180525/tke_models.ts +62 -2
- package/src/services/trp/v20210515/trp_models.ts +5 -5
- package/src/services/trtc/v20190722/trtc_client.ts +8 -81
- package/src/services/trtc/v20190722/trtc_models.ts +107 -692
- package/src/services/wedata/v20210820/wedata_client.ts +79 -41
- package/src/services/wedata/v20210820/wedata_models.ts +417 -64
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +5 -1
- package/tencentcloud/services/bma/v20210624/bma_client.js +6 -0
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +36 -14
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +4 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +7 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +33 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +48 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +514 -147
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +20 -15
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +23 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +23 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +38 -13
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +27 -4
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +30 -0
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +6 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +15 -7
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +21 -9
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +81 -0
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +646 -67
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +976 -109
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +9730 -2639
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +11 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +58 -4
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +124 -15
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +4 -4
- package/tencentcloud/services/tke/v20180525/tke_client.js +2 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +54 -2
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +5 -5
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -33
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +2 -38
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +60 -556
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +25 -13
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +35 -17
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +352 -54
- package/test/bma.v20210624.test.js +10 -0
- package/test/cwp.v20180228.test.js +74 -4
- package/test/tcm.v20210413.test.js +26 -6
- package/test/tcss.v20201101.test.js +1764 -324
- package/test/thpc.v20220401.test.js +10 -0
- package/test/trtc.v20190722.test.js +0 -30
- package/test/wedata.v20210820.test.js +40 -10
|
@@ -787,6 +787,7 @@ CHECK_BOX - true/false
|
|
|
787
787
|
FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
|
788
788
|
SELECTOR - 选项值
|
|
789
789
|
DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
|
|
790
|
+
SIGN_SEAL - 印章Id,于控制台查询获取
|
|
790
791
|
*/
|
|
791
792
|
ComponentValue?: string
|
|
792
793
|
|
|
@@ -899,7 +900,7 @@ HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
|
|
899
900
|
IsFullText?: boolean
|
|
900
901
|
|
|
901
902
|
/**
|
|
902
|
-
*
|
|
903
|
+
* 签署前置条件:阅读时长限制,单位秒,默认为不需要
|
|
903
904
|
*/
|
|
904
905
|
PreReadTime?: number
|
|
905
906
|
|
|
@@ -1824,32 +1825,20 @@ export interface SuccessDeleteStaffData {
|
|
|
1824
1825
|
* CreateMultiFlowSignQRCode请求参数结构体
|
|
1825
1826
|
*/
|
|
1826
1827
|
export interface CreateMultiFlowSignQRCodeRequest {
|
|
1827
|
-
/**
|
|
1828
|
-
* 模板ID
|
|
1829
|
-
*/
|
|
1830
|
-
TemplateId: string
|
|
1831
|
-
|
|
1832
|
-
/**
|
|
1833
|
-
* 签署流程名称,最大长度不超过200字符
|
|
1834
|
-
*/
|
|
1835
|
-
FlowName: string
|
|
1836
|
-
|
|
1837
1828
|
/**
|
|
1838
1829
|
* 用户信息
|
|
1839
1830
|
*/
|
|
1840
1831
|
Operator: UserInfo
|
|
1841
1832
|
|
|
1842
1833
|
/**
|
|
1843
|
-
*
|
|
1834
|
+
* 模板ID
|
|
1844
1835
|
*/
|
|
1845
|
-
|
|
1836
|
+
TemplateId: string
|
|
1846
1837
|
|
|
1847
1838
|
/**
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
*/
|
|
1852
|
-
CallbackUrl?: string
|
|
1839
|
+
* 签署流程名称,最大长度不超过200字符
|
|
1840
|
+
*/
|
|
1841
|
+
FlowName: string
|
|
1853
1842
|
|
|
1854
1843
|
/**
|
|
1855
1844
|
* 最大可发起签署流程份数,默认5份
|
|
@@ -1870,6 +1859,23 @@ export interface CreateMultiFlowSignQRCodeRequest {
|
|
|
1870
1859
|
/**
|
|
1871
1860
|
* 限制二维码用户条件
|
|
1872
1861
|
*/
|
|
1862
|
+
Restrictions?: Array<ApproverRestriction>
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* 回调地址,最大长度1000字符串
|
|
1866
|
+
回调时机:
|
|
1867
|
+
用户通过签署二维码发起签署流程时,企业额度不足导致失败
|
|
1868
|
+
*/
|
|
1869
|
+
CallbackUrl?: string
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* 应用信息
|
|
1873
|
+
*/
|
|
1874
|
+
Agent?: Agent
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* 限制二维码用户条件(已弃用)
|
|
1878
|
+
*/
|
|
1873
1879
|
ApproverRestrictions?: ApproverRestriction
|
|
1874
1880
|
}
|
|
1875
1881
|
|
|
@@ -145,7 +145,7 @@ export class Client extends AbstractClient {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* 渠道通过图片为子客代创建印章,图片最大5m
|
|
148
|
+
* 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,请联系运营/客服咨询相关流程
|
|
149
149
|
*/
|
|
150
150
|
async CreateSealByImage(
|
|
151
151
|
req: CreateSealByImageRequest,
|
|
@@ -187,7 +187,7 @@ export class Client extends AbstractClient {
|
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
|
|
190
|
-
|
|
190
|
+
合同发起人必须在电子签已经进行实名。
|
|
191
191
|
*/
|
|
192
192
|
async CreateFlowsByTemplates(
|
|
193
193
|
req: CreateFlowsByTemplatesRequest,
|
|
@@ -197,8 +197,24 @@ export class Client extends AbstractClient {
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
* 创建跳转小程序查看或签署的链接。
|
|
201
|
+
|
|
202
|
+
跳转小程序的几种方式:主要是设置不同的EndPoint
|
|
203
|
+
1. 通过链接Url直接跳转到小程序,不需要返回
|
|
204
|
+
设置EndPoint为WEIXINAPP,得到链接打开即可。(与短信提醒用户签署形式一样)。
|
|
205
|
+
2. 通过链接Url打开H5引导页-->点击跳转到小程序-->签署完退出小程序-->回到H5引导页-->跳转到指定JumpUrl
|
|
206
|
+
设置EndPoint为CHANNEL,指定JumpUrl,得到链接打开即可。
|
|
207
|
+
3. 客户App直接跳转到小程序-->小程序签署完成-->返回App
|
|
208
|
+
跳转到小程序的实现,参考官方文档(分为全屏、半屏两种方式)
|
|
209
|
+
全屏方式:
|
|
210
|
+
(https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html)
|
|
211
|
+
半屏方式:
|
|
212
|
+
(https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html)
|
|
213
|
+
其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
|
|
214
|
+
使用CreateSignUrls,设置EndPoint为APP,得到path。
|
|
215
|
+
4. 客户小程序直接跳到电子签小程序-->签署完成退出电子签小程序-->回到客户小程序
|
|
216
|
+
实现方式同App跳小程序。
|
|
217
|
+
*/
|
|
202
218
|
async CreateSignUrls(
|
|
203
219
|
req: CreateSignUrlsRequest,
|
|
204
220
|
cb?: (error: string, rep: CreateSignUrlsResponse) => void
|
|
@@ -211,7 +227,7 @@ export class Client extends AbstractClient {
|
|
|
211
227
|
若子客企业未激活,会进入企业激活流程,首次参与激活流程的经办人会成为超管。(若企业激活过程中填写信息有误,需要重置激活流程,可以换一个经办人OpenId获取新的链接进入。)
|
|
212
228
|
若子客企业已激活,使用了新的经办人OpenId进入,则会进入经办人的实名流程。
|
|
213
229
|
若子客企业、经办人均已完成认证,则会直接进入子客Web控制台。
|
|
214
|
-
|
|
230
|
+
返回的Url仅支持PC端操作。
|
|
215
231
|
*/
|
|
216
232
|
async CreateConsoleLoginUrl(
|
|
217
233
|
req: CreateConsoleLoginUrlRequest,
|
|
@@ -313,7 +329,7 @@ export class Client extends AbstractClient {
|
|
|
313
329
|
/**
|
|
314
330
|
* 该接口 (PrepareFlows) 用于创建待发起文件
|
|
315
331
|
用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
|
316
|
-
目前该接口只支持B2C
|
|
332
|
+
目前该接口只支持B2C,不建议使用,将会废弃。
|
|
317
333
|
*/
|
|
318
334
|
async PrepareFlows(
|
|
319
335
|
req: PrepareFlowsRequest,
|
|
@@ -323,8 +339,9 @@ export class Client extends AbstractClient {
|
|
|
323
339
|
}
|
|
324
340
|
|
|
325
341
|
/**
|
|
326
|
-
|
|
327
|
-
|
|
342
|
+
* 根据签署流程信息批量获取资源下载链接,可以下载签署中、签署完的合同,需合作企业先进行授权。
|
|
343
|
+
此接口直接返回下载的资源的url,与接口GetDownloadFlowUrl跳转到控制台的下载方式不同。
|
|
344
|
+
*/
|
|
328
345
|
async DescribeResourceUrlsByFlows(
|
|
329
346
|
req: DescribeResourceUrlsByFlowsRequest,
|
|
330
347
|
cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void
|
|
@@ -114,7 +114,17 @@ export interface PdfVerifyResult {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* 创建签署流程签署人入参。
|
|
118
|
+
|
|
119
|
+
其中签署方FlowApproverInfo需要传递的参数
|
|
120
|
+
非单C、单B、B2C合同,ApproverType、RecipientId(模版发起合同时)必传,建议都传。其他身份标识
|
|
121
|
+
1-个人:Name、Mobile必传
|
|
122
|
+
2-渠道子客企业指定经办人:OpenId必传,OrgName必传、OrgOpenId必传;
|
|
123
|
+
3-渠道合作企业不指定经办人:(暂不支持)
|
|
124
|
+
4-非渠道合作企业:Name、Mobile必传,OrgName必传,且NotChannelOrganization=True。
|
|
125
|
+
|
|
126
|
+
RecipientId参数:
|
|
127
|
+
从DescribeTemplates接口中,可以得到模版下的签署方Recipient列表,根据模版自定义的Rolename在此结构体中确定其RecipientId
|
|
118
128
|
*/
|
|
119
129
|
export interface FlowApproverInfo {
|
|
120
130
|
/**
|
|
@@ -628,7 +638,7 @@ export interface CreateSignUrlsRequest {
|
|
|
628
638
|
|
|
629
639
|
/**
|
|
630
640
|
* 签署链接生成类型,默认是 "ALL";
|
|
631
|
-
"ALL"
|
|
641
|
+
"ALL":全部签署方签署链接,此时不会给自动签署的签署方创建签署链接;
|
|
632
642
|
"CHANNEL":渠道合作企业;
|
|
633
643
|
"NOT_CHANNEL":非渠道合作企业;
|
|
634
644
|
"PERSON":个人;
|
|
@@ -713,6 +723,11 @@ export interface ChannelCreateMultiFlowSignQRCodeRequest {
|
|
|
713
723
|
*/
|
|
714
724
|
QrEffectiveDay?: number
|
|
715
725
|
|
|
726
|
+
/**
|
|
727
|
+
* 限制二维码用户条件
|
|
728
|
+
*/
|
|
729
|
+
Restrictions?: Array<ApproverRestriction>
|
|
730
|
+
|
|
716
731
|
/**
|
|
717
732
|
* 回调地址,最大长度1000个字符
|
|
718
733
|
不传默认使用渠道应用号配置的回调地址
|
|
@@ -721,14 +736,14 @@ export interface ChannelCreateMultiFlowSignQRCodeRequest {
|
|
|
721
736
|
CallbackUrl?: string
|
|
722
737
|
|
|
723
738
|
/**
|
|
724
|
-
*
|
|
739
|
+
* 用户信息
|
|
725
740
|
*/
|
|
726
|
-
|
|
741
|
+
Operator?: UserInfo
|
|
727
742
|
|
|
728
743
|
/**
|
|
729
|
-
*
|
|
744
|
+
* 限制二维码用户条件(已弃用)
|
|
730
745
|
*/
|
|
731
|
-
|
|
746
|
+
ApproverRestrictions?: ApproverRestriction
|
|
732
747
|
}
|
|
733
748
|
|
|
734
749
|
/**
|
|
@@ -919,13 +934,13 @@ export interface ChannelVerifyPdfResponse {
|
|
|
919
934
|
*/
|
|
920
935
|
export interface SignUrlInfo {
|
|
921
936
|
/**
|
|
922
|
-
*
|
|
937
|
+
* 签署链接,过期时间为30天
|
|
923
938
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
924
939
|
*/
|
|
925
940
|
SignUrl: string
|
|
926
941
|
|
|
927
942
|
/**
|
|
928
|
-
*
|
|
943
|
+
* 合同过期时间
|
|
929
944
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
930
945
|
*/
|
|
931
946
|
Deadline: number
|
|
@@ -1002,6 +1017,12 @@ PERSON 自然人
|
|
|
1002
1017
|
/**
|
|
1003
1018
|
* 此结构体 (Component) 用于描述控件属性。
|
|
1004
1019
|
|
|
1020
|
+
在通过文件发起合同时,对应的component有三种定位方式
|
|
1021
|
+
1. 绝对定位方式
|
|
1022
|
+
2. 表单域(FIELD)定位方式
|
|
1023
|
+
3. 关键字(KEYWORD)定位方式
|
|
1024
|
+
可以参考官网说明
|
|
1025
|
+
https://cloud.tencent.com/document/product/1323/78346#component-.E4.B8.89.E7.A7.8D.E5.AE.9A.E4.BD.8D.E6.96.B9.E5.BC.8F.E8.AF.B4.E6.98.8E
|
|
1005
1026
|
*/
|
|
1006
1027
|
export interface Component {
|
|
1007
1028
|
/**
|
|
@@ -1096,7 +1117,10 @@ KEYWORD - 关键字
|
|
|
1096
1117
|
/**
|
|
1097
1118
|
* 参数控件样式,json格式表述
|
|
1098
1119
|
不同类型的控件会有部分非通用参数
|
|
1099
|
-
TEXT
|
|
1120
|
+
TEXT/MULTI_LINE_TEXT控件可以指定
|
|
1121
|
+
1 Font:目前只支持黑体、宋体
|
|
1122
|
+
2 FontSize: 范围12-72
|
|
1123
|
+
3 FontAlign: Left/Right/Center,左对齐/居中/右对齐
|
|
1100
1124
|
例如:{"FontSize":12}
|
|
1101
1125
|
*/
|
|
1102
1126
|
ComponentExtra?: string
|
|
@@ -1619,12 +1643,14 @@ export interface SyncProxyOrganizationOperatorsRequest {
|
|
|
1619
1643
|
*/
|
|
1620
1644
|
export interface CreateConsoleLoginUrlResponse {
|
|
1621
1645
|
/**
|
|
1622
|
-
|
|
1623
|
-
|
|
1646
|
+
* 子客Web控制台url,此链接5分钟内有效,且只能访问一次。同时需要注意:
|
|
1647
|
+
1. 此链接仅单次有效,使用后需要再次创建新的链接(部分聊天软件,如企业微信默认会对链接进行解析,此时需要使用类似“代码片段”的方式或者放到txt文件里发送链接);
|
|
1648
|
+
2. 创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义
|
|
1649
|
+
*/
|
|
1624
1650
|
ConsoleUrl: string
|
|
1625
1651
|
|
|
1626
1652
|
/**
|
|
1627
|
-
*
|
|
1653
|
+
* 渠道子客企业是否已开通腾讯电子签
|
|
1628
1654
|
*/
|
|
1629
1655
|
IsActivated: boolean
|
|
1630
1656
|
|
|
@@ -1649,7 +1675,7 @@ export interface CreateFlowsByTemplatesRequest {
|
|
|
1649
1675
|
FlowInfos: Array<FlowInfo>
|
|
1650
1676
|
|
|
1651
1677
|
/**
|
|
1652
|
-
* 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds
|
|
1678
|
+
* 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls(此Url返回的是PDF文件流 );
|
|
1653
1679
|
预览链接有效期300秒;
|
|
1654
1680
|
*/
|
|
1655
1681
|
NeedPreview?: boolean
|
|
@@ -1887,7 +1913,7 @@ export interface DescribeResourceUrlsByFlowsRequest {
|
|
|
1887
1913
|
Agent: Agent
|
|
1888
1914
|
|
|
1889
1915
|
/**
|
|
1890
|
-
* 查询资源所对应的签署流程Id,最多支持50
|
|
1916
|
+
* 查询资源所对应的签署流程Id,最多支持50个
|
|
1891
1917
|
*/
|
|
1892
1918
|
FlowIds?: Array<string>
|
|
1893
1919
|
|
|
@@ -184,10 +184,11 @@ import {
|
|
|
184
184
|
CreateGrafanaIntegrationResponse,
|
|
185
185
|
BindPrometheusManagedGrafanaRequest,
|
|
186
186
|
ResumeGrafanaInstanceResponse,
|
|
187
|
-
|
|
187
|
+
AlarmHierarchicalNotice,
|
|
188
188
|
Instance,
|
|
189
189
|
DescribeProductEventListResponse,
|
|
190
190
|
CreateGrafanaInstanceRequest,
|
|
191
|
+
UpdateAlertRuleStateResponse,
|
|
191
192
|
BindingPolicyObjectDimension,
|
|
192
193
|
UnbindPrometheusManagedGrafanaResponse,
|
|
193
194
|
DescribeBasicAlarmListAlarms,
|
|
@@ -975,6 +975,16 @@ export interface CreateAlarmPolicyRequest {
|
|
|
975
975
|
* 日志告警信息
|
|
976
976
|
*/
|
|
977
977
|
LogAlarmReqInfo?: LogAlarmReq
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* 告警分级通知规则配置
|
|
981
|
+
*/
|
|
982
|
+
HierarchicalNotices?: Array<AlarmHierarchicalNotice>
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* 迁移策略专用字段,0-走鉴权逻辑,1-跳过鉴权逻辑
|
|
986
|
+
*/
|
|
987
|
+
MigrateFlag?: number
|
|
978
988
|
}
|
|
979
989
|
|
|
980
990
|
/**
|
|
@@ -4280,13 +4290,20 @@ export interface ResumeGrafanaInstanceResponse {
|
|
|
4280
4290
|
}
|
|
4281
4291
|
|
|
4282
4292
|
/**
|
|
4283
|
-
*
|
|
4293
|
+
* 通知模版ID及通知等级列表,["Remind","Serious"]表示该通知模板仅接收提醒和严重类别的告警
|
|
4284
4294
|
*/
|
|
4285
|
-
export interface
|
|
4295
|
+
export interface AlarmHierarchicalNotice {
|
|
4286
4296
|
/**
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4297
|
+
* 通知模板ID
|
|
4298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4299
|
+
*/
|
|
4300
|
+
NoticeId?: string
|
|
4301
|
+
|
|
4302
|
+
/**
|
|
4303
|
+
* 通知等级列表,["Remind","Serious"]表示该通知模板仅接收提醒和严重类别的告警
|
|
4304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4305
|
+
*/
|
|
4306
|
+
Classification?: Array<string>
|
|
4290
4307
|
}
|
|
4291
4308
|
|
|
4292
4309
|
/**
|
|
@@ -4361,6 +4378,16 @@ export interface CreateGrafanaInstanceRequest {
|
|
|
4361
4378
|
TagSpecification?: Array<PrometheusTag>
|
|
4362
4379
|
}
|
|
4363
4380
|
|
|
4381
|
+
/**
|
|
4382
|
+
* UpdateAlertRuleState返回参数结构体
|
|
4383
|
+
*/
|
|
4384
|
+
export interface UpdateAlertRuleStateResponse {
|
|
4385
|
+
/**
|
|
4386
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4387
|
+
*/
|
|
4388
|
+
RequestId?: string
|
|
4389
|
+
}
|
|
4390
|
+
|
|
4364
4391
|
/**
|
|
4365
4392
|
* 策略绑定实例维度信息
|
|
4366
4393
|
*/
|
|
@@ -237,6 +237,12 @@ export interface Concurrency {
|
|
|
237
237
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
238
238
|
*/
|
|
239
239
|
MaxRequestsPerSecond?: number
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* 优雅终止任务的等待时间
|
|
243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
244
|
+
*/
|
|
245
|
+
GracefulStopSeconds?: number
|
|
240
246
|
}
|
|
241
247
|
|
|
242
248
|
/**
|
|
@@ -890,6 +896,12 @@ export interface CustomSample {
|
|
|
890
896
|
* 指标对应的单位,当前单位有:s,bytes,bytes/s,reqs,reqs/s,checks,checks/s,iters,iters/s,VUs, %
|
|
891
897
|
*/
|
|
892
898
|
Unit: string
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* 指标序列名字
|
|
902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
903
|
+
*/
|
|
904
|
+
Name: string
|
|
893
905
|
}
|
|
894
906
|
|
|
895
907
|
/**
|
|
@@ -1934,6 +1946,12 @@ export interface RequestsPerSecond {
|
|
|
1934
1946
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1935
1947
|
*/
|
|
1936
1948
|
TargetRequestsPerSecond?: number
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* 优雅关停的等待时间
|
|
1952
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1953
|
+
*/
|
|
1954
|
+
GracefulStopSeconds?: number
|
|
1937
1955
|
}
|
|
1938
1956
|
|
|
1939
1957
|
/**
|
|
@@ -4061,6 +4079,24 @@ export interface File {
|
|
|
4061
4079
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4062
4080
|
*/
|
|
4063
4081
|
ProjectId: string
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* 用户账号的 App ID
|
|
4085
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4086
|
+
*/
|
|
4087
|
+
AppID: number
|
|
4088
|
+
|
|
4089
|
+
/**
|
|
4090
|
+
* 用户主账号
|
|
4091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4092
|
+
*/
|
|
4093
|
+
Uin: string
|
|
4094
|
+
|
|
4095
|
+
/**
|
|
4096
|
+
* 用户子账号
|
|
4097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4098
|
+
*/
|
|
4099
|
+
SubAccountUin: string
|
|
4064
4100
|
}
|
|
4065
4101
|
|
|
4066
4102
|
/**
|
|
@@ -213,7 +213,7 @@ False -- 表示仅仅清理此凭据中存储的SSH密钥信息,不在CVM进
|
|
|
213
213
|
*/
|
|
214
214
|
export interface CreateSecretRequest {
|
|
215
215
|
/**
|
|
216
|
-
* 凭据名称,同一region内不可重复,最长128字节,使用字母、数字或者 - _
|
|
216
|
+
* 凭据名称,同一region内不可重复,最长128字节,使用字母、数字或者 - _ 的组合,第一个字符必须为字母或者数字。一旦创建不可修改。
|
|
217
217
|
*/
|
|
218
218
|
SecretName: string
|
|
219
219
|
|
|
@@ -2110,6 +2110,13 @@ export interface CreateWxCloudBaseRunServerDBClusterRequest {
|
|
|
2110
2110
|
* mysql内核版本,支持5.7,8.0
|
|
2111
2111
|
*/
|
|
2112
2112
|
DbVersion?: string
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* 0: 非大小写敏感
|
|
2116
|
+
1: 大小写敏感
|
|
2117
|
+
默认 0
|
|
2118
|
+
*/
|
|
2119
|
+
LowerCaseTableName?: string
|
|
2113
2120
|
}
|
|
2114
2121
|
|
|
2115
2122
|
/**
|
|
@@ -25,10 +25,13 @@ import {
|
|
|
25
25
|
LoadBalancerStatus,
|
|
26
26
|
DescribeMeshResponse,
|
|
27
27
|
AutoInjectionNamespaceState,
|
|
28
|
+
UnlinkClusterResponse,
|
|
29
|
+
LinkClusterListResponse,
|
|
28
30
|
ModifyMeshResponse,
|
|
29
31
|
IngressGatewayStatus,
|
|
30
32
|
ResourceMetricSource,
|
|
31
33
|
CreateMeshResponse,
|
|
34
|
+
LinkClusterListRequest,
|
|
32
35
|
ClusterConfig,
|
|
33
36
|
MetricSpec,
|
|
34
37
|
WorkloadConfig,
|
|
@@ -54,9 +57,11 @@ import {
|
|
|
54
57
|
ExtensiveCluster,
|
|
55
58
|
SmartDNSConfig,
|
|
56
59
|
DescribeMeshListRequest,
|
|
60
|
+
UnlinkClusterRequest,
|
|
57
61
|
CLS,
|
|
58
62
|
TracingConfig,
|
|
59
63
|
IngressGateway,
|
|
64
|
+
EgressGatewayStatus,
|
|
60
65
|
ExtensiveClusters,
|
|
61
66
|
SelectedItems,
|
|
62
67
|
ModifyMeshRequest,
|
|
@@ -92,13 +97,33 @@ export class Client extends AbstractClient {
|
|
|
92
97
|
}
|
|
93
98
|
|
|
94
99
|
/**
|
|
95
|
-
*
|
|
100
|
+
* 关联集群
|
|
96
101
|
*/
|
|
97
|
-
async
|
|
98
|
-
req:
|
|
99
|
-
cb?: (error: string, rep:
|
|
100
|
-
): Promise<
|
|
101
|
-
return this.request("
|
|
102
|
+
async LinkClusterList(
|
|
103
|
+
req: LinkClusterListRequest,
|
|
104
|
+
cb?: (error: string, rep: LinkClusterListResponse) => void
|
|
105
|
+
): Promise<LinkClusterListResponse> {
|
|
106
|
+
return this.request("LinkClusterList", req, cb)
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* 查询网格列表
|
|
111
|
+
*/
|
|
112
|
+
async DescribeMeshList(
|
|
113
|
+
req: DescribeMeshListRequest,
|
|
114
|
+
cb?: (error: string, rep: DescribeMeshListResponse) => void
|
|
115
|
+
): Promise<DescribeMeshListResponse> {
|
|
116
|
+
return this.request("DescribeMeshList", req, cb)
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* 解关联集群
|
|
121
|
+
*/
|
|
122
|
+
async UnlinkCluster(
|
|
123
|
+
req: UnlinkClusterRequest,
|
|
124
|
+
cb?: (error: string, rep: UnlinkClusterResponse) => void
|
|
125
|
+
): Promise<UnlinkClusterResponse> {
|
|
126
|
+
return this.request("UnlinkCluster", req, cb)
|
|
102
127
|
}
|
|
103
128
|
|
|
104
129
|
/**
|
|
@@ -111,6 +136,16 @@ export class Client extends AbstractClient {
|
|
|
111
136
|
return this.request("ModifyMesh", req, cb)
|
|
112
137
|
}
|
|
113
138
|
|
|
139
|
+
/**
|
|
140
|
+
* 创建网格
|
|
141
|
+
*/
|
|
142
|
+
async CreateMesh(
|
|
143
|
+
req: CreateMeshRequest,
|
|
144
|
+
cb?: (error: string, rep: CreateMeshResponse) => void
|
|
145
|
+
): Promise<CreateMeshResponse> {
|
|
146
|
+
return this.request("CreateMesh", req, cb)
|
|
147
|
+
}
|
|
148
|
+
|
|
114
149
|
/**
|
|
115
150
|
* 查询网格详情
|
|
116
151
|
*/
|
|
@@ -120,14 +155,4 @@ export class Client extends AbstractClient {
|
|
|
120
155
|
): Promise<DescribeMeshResponse> {
|
|
121
156
|
return this.request("DescribeMesh", req, cb)
|
|
122
157
|
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* 查询网格列表
|
|
126
|
-
*/
|
|
127
|
-
async DescribeMeshList(
|
|
128
|
-
req: DescribeMeshListRequest,
|
|
129
|
-
cb?: (error: string, rep: DescribeMeshListResponse) => void
|
|
130
|
-
): Promise<DescribeMeshListResponse> {
|
|
131
|
-
return this.request("DescribeMeshList", req, cb)
|
|
132
|
-
}
|
|
133
158
|
}
|
|
@@ -179,6 +179,26 @@ export interface AutoInjectionNamespaceState {
|
|
|
179
179
|
State?: string
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
+
/**
|
|
183
|
+
* UnlinkCluster返回参数结构体
|
|
184
|
+
*/
|
|
185
|
+
export interface UnlinkClusterResponse {
|
|
186
|
+
/**
|
|
187
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
188
|
+
*/
|
|
189
|
+
RequestId?: string
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* LinkClusterList返回参数结构体
|
|
194
|
+
*/
|
|
195
|
+
export interface LinkClusterListResponse {
|
|
196
|
+
/**
|
|
197
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
198
|
+
*/
|
|
199
|
+
RequestId?: string
|
|
200
|
+
}
|
|
201
|
+
|
|
182
202
|
/**
|
|
183
203
|
* ModifyMesh返回参数结构体
|
|
184
204
|
*/
|
|
@@ -197,6 +217,21 @@ export interface IngressGatewayStatus {
|
|
|
197
217
|
* 负载均衡实例状态
|
|
198
218
|
*/
|
|
199
219
|
LoadBalancer: LoadBalancerStatus
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* ingress gateway 当前的版本
|
|
223
|
+
*/
|
|
224
|
+
CurrentVersion: string
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* ingress gateway 目标的版本
|
|
228
|
+
*/
|
|
229
|
+
DesiredVersion: string
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* ingress gateway的状态,取值running, upgrading, rollbacking
|
|
233
|
+
*/
|
|
234
|
+
State: string
|
|
200
235
|
}
|
|
201
236
|
|
|
202
237
|
/**
|
|
@@ -234,6 +269,21 @@ export interface CreateMeshResponse {
|
|
|
234
269
|
RequestId?: string
|
|
235
270
|
}
|
|
236
271
|
|
|
272
|
+
/**
|
|
273
|
+
* LinkClusterList请求参数结构体
|
|
274
|
+
*/
|
|
275
|
+
export interface LinkClusterListRequest {
|
|
276
|
+
/**
|
|
277
|
+
* 网格Id
|
|
278
|
+
*/
|
|
279
|
+
MeshId: string
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 关联集群
|
|
283
|
+
*/
|
|
284
|
+
ClusterList: Array<Cluster>
|
|
285
|
+
}
|
|
286
|
+
|
|
237
287
|
/**
|
|
238
288
|
* 集群配置
|
|
239
289
|
*/
|
|
@@ -342,6 +392,11 @@ export interface EgressGateway {
|
|
|
342
392
|
* 工作负载配置
|
|
343
393
|
*/
|
|
344
394
|
Workload?: WorkloadConfig
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* 工作负载的状态
|
|
398
|
+
*/
|
|
399
|
+
Status?: EgressGatewayStatus
|
|
345
400
|
}
|
|
346
401
|
|
|
347
402
|
/**
|
|
@@ -456,6 +511,11 @@ export interface Mesh {
|
|
|
456
511
|
* Mesh详细状态
|
|
457
512
|
*/
|
|
458
513
|
Status: MeshStatus
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* 标签列表
|
|
517
|
+
*/
|
|
518
|
+
TagList: Array<Tag>
|
|
459
519
|
}
|
|
460
520
|
|
|
461
521
|
/**
|
|
@@ -868,6 +928,21 @@ export interface DescribeMeshListRequest {
|
|
|
868
928
|
Offset?: number
|
|
869
929
|
}
|
|
870
930
|
|
|
931
|
+
/**
|
|
932
|
+
* UnlinkCluster请求参数结构体
|
|
933
|
+
*/
|
|
934
|
+
export interface UnlinkClusterRequest {
|
|
935
|
+
/**
|
|
936
|
+
* 网格Id
|
|
937
|
+
*/
|
|
938
|
+
MeshId: string
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* 取消关联的集群Id
|
|
942
|
+
*/
|
|
943
|
+
ClusterId?: string
|
|
944
|
+
}
|
|
945
|
+
|
|
871
946
|
/**
|
|
872
947
|
* 腾讯云日志服务相关参数
|
|
873
948
|
*/
|
|
@@ -964,6 +1039,26 @@ export interface IngressGateway {
|
|
|
964
1039
|
LoadBalancerId?: string
|
|
965
1040
|
}
|
|
966
1041
|
|
|
1042
|
+
/**
|
|
1043
|
+
* egress gateway 的状态
|
|
1044
|
+
*/
|
|
1045
|
+
export interface EgressGatewayStatus {
|
|
1046
|
+
/**
|
|
1047
|
+
* egress gateway的当前版本
|
|
1048
|
+
*/
|
|
1049
|
+
CurrentVersion: string
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* egress gateway的目标版本
|
|
1053
|
+
*/
|
|
1054
|
+
DesiredVersion: string
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* egress gateway的状态,取值:running,upgrading,rollbacking
|
|
1058
|
+
*/
|
|
1059
|
+
State: string
|
|
1060
|
+
}
|
|
1061
|
+
|
|
967
1062
|
/**
|
|
968
1063
|
* 内网独占集群配置列表
|
|
969
1064
|
*/
|