tencentcloud-sdk-nodejs 4.0.689 → 4.0.690
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 +225 -0
- package/SERVICE_CHANGELOG.md +309 -135
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +0 -4
- package/src/services/bi/v20220105/bi_models.ts +18 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +24 -14
- package/src/services/dlc/v20210125/dlc_client.ts +28 -5
- package/src/services/dlc/v20210125/dlc_models.ts +679 -221
- package/src/services/ess/v20201111/ess_client.ts +20 -17
- package/src/services/ess/v20201111/ess_models.ts +163 -106
- package/src/services/facefusion/v20220927/facefusion_models.ts +5 -1
- package/src/services/iss/v20230517/iss_models.ts +3 -3
- package/src/services/live/v20180801/live_models.ts +32 -27
- package/src/services/rce/v20201103/rce_models.ts +42 -11
- package/src/services/tat/v20201028/tat_models.ts +30 -9
- package/src/services/tse/v20201207/tse_client.ts +82 -18
- package/src/services/tse/v20201207/tse_models.ts +543 -270
- package/src/services/vod/v20180717/vod_models.ts +4 -3
- package/src/services/vpc/v20170312/vpc_models.ts +4 -0
- package/src/services/waf/v20180125/waf_client.ts +51 -3
- package/src/services/waf/v20180125/waf_models.ts +171 -38
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +0 -4
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +18 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +24 -14
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +663 -218
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +17 -14
- package/tencentcloud/services/ess/v20201111/ess_client.js +17 -14
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +163 -106
- package/tencentcloud/services/facefusion/v20220927/facefusion_models.d.ts +5 -1
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +3 -3
- package/tencentcloud/services/live/v20180801/live_models.d.ts +32 -27
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +42 -11
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +30 -9
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +25 -5
- package/tencentcloud/services/tse/v20201207/tse_client.js +36 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +531 -272
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +18 -2
- package/tencentcloud/services/waf/v20180125/waf_client.js +25 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +163 -38
- package/test/dlc.v20210125.test.js +10 -0
- package/test/tse.v20201207.test.js +54 -4
- package/test/waf.v20180125.test.js +40 -0
|
@@ -141,9 +141,13 @@ export interface MergeInfo {
|
|
|
141
141
|
*/
|
|
142
142
|
InputImageFaceRect?: FaceRect
|
|
143
143
|
/**
|
|
144
|
-
* 控制台上传的素材人脸ID
|
|
144
|
+
* 控制台上传的素材人脸ID,不填默认取最大人脸。此字段仅适用于控制台上传素材的有素材场景。
|
|
145
145
|
*/
|
|
146
146
|
TemplateFaceID?: string
|
|
147
|
+
/**
|
|
148
|
+
* 模版图片人脸位置信息(人脸框),不填默认取最大人脸。此字段仅适用于自定义模版素材场景。
|
|
149
|
+
*/
|
|
150
|
+
TemplateFaceRect?: FaceRect
|
|
147
151
|
}
|
|
148
152
|
|
|
149
153
|
/**
|
|
@@ -1287,15 +1287,15 @@ export interface UpdateRecordBackupPlanModify {
|
|
|
1287
1287
|
/**
|
|
1288
1288
|
* 要新增的设备通道(Json数组,没有新增时,不需要该字段,一次添加通道总数不超过5000个,包括组织目录下的通道数量)
|
|
1289
1289
|
*/
|
|
1290
|
-
Add?:
|
|
1290
|
+
Add?: Array<ChannelInfo>
|
|
1291
1291
|
/**
|
|
1292
1292
|
* 要删除的设备通道(Json数组,内容为要删除的设备通道id,没有删除设备通道时,不需要该字段)
|
|
1293
1293
|
*/
|
|
1294
|
-
Del?: string
|
|
1294
|
+
Del?: Array<string>
|
|
1295
1295
|
/**
|
|
1296
1296
|
* 添加组织目录下所有设备通道(Json数组,可以为空,并且通道总数量不超过5000个(包括Add字段通道数量))
|
|
1297
1297
|
*/
|
|
1298
|
-
OrganizationId?: string
|
|
1298
|
+
OrganizationId?: Array<string>
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
1301
|
/**
|
|
@@ -6986,47 +6986,47 @@ export interface PullStreamTaskInfo {
|
|
|
6986
6986
|
/**
|
|
6987
6987
|
* 拉流任务Id。
|
|
6988
6988
|
*/
|
|
6989
|
-
TaskId
|
|
6989
|
+
TaskId?: string
|
|
6990
6990
|
/**
|
|
6991
6991
|
* 拉流源的类型:
|
|
6992
6992
|
PullLivePushLive -直播,
|
|
6993
6993
|
PullVodPushLive -点播,
|
|
6994
6994
|
PullPicPushLive -图片。
|
|
6995
6995
|
*/
|
|
6996
|
-
SourceType
|
|
6996
|
+
SourceType?: string
|
|
6997
6997
|
/**
|
|
6998
6998
|
* 拉流源url列表。
|
|
6999
6999
|
SourceType为直播(PullLiveToLive)只可以填1个,
|
|
7000
7000
|
SourceType为点播(PullVodToLive)可以填多个,上限10个。
|
|
7001
7001
|
*/
|
|
7002
|
-
SourceUrls
|
|
7002
|
+
SourceUrls?: Array<string>
|
|
7003
7003
|
/**
|
|
7004
7004
|
* 推流域名。
|
|
7005
7005
|
将拉到的源推到该域名。
|
|
7006
7006
|
*/
|
|
7007
|
-
DomainName
|
|
7007
|
+
DomainName?: string
|
|
7008
7008
|
/**
|
|
7009
7009
|
* 推流路径。
|
|
7010
7010
|
将拉到的源推到该路径。
|
|
7011
7011
|
*/
|
|
7012
|
-
AppName
|
|
7012
|
+
AppName?: string
|
|
7013
7013
|
/**
|
|
7014
7014
|
* 流名称。
|
|
7015
7015
|
将拉到的源推到该流名称。
|
|
7016
7016
|
*/
|
|
7017
|
-
StreamName
|
|
7017
|
+
StreamName?: string
|
|
7018
7018
|
/**
|
|
7019
7019
|
* 推流参数。
|
|
7020
7020
|
推流携带的自定义参数。
|
|
7021
7021
|
*/
|
|
7022
|
-
PushArgs
|
|
7022
|
+
PushArgs?: string
|
|
7023
7023
|
/**
|
|
7024
7024
|
* 开始时间。
|
|
7025
7025
|
使用UTC格式时间,
|
|
7026
7026
|
例如:2019-01-08T10:00:00Z。
|
|
7027
7027
|
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
7028
7028
|
*/
|
|
7029
|
-
StartTime
|
|
7029
|
+
StartTime?: string
|
|
7030
7030
|
/**
|
|
7031
7031
|
* 结束时间,注意:
|
|
7032
7032
|
1. 结束时间必须大于开始时间;
|
|
@@ -7036,7 +7036,7 @@ SourceType为点播(PullVodToLive)可以填多个,上限10个。
|
|
|
7036
7036
|
例如:2019-01-08T10:00:00Z。
|
|
7037
7037
|
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
7038
7038
|
*/
|
|
7039
|
-
EndTime
|
|
7039
|
+
EndTime?: string
|
|
7040
7040
|
/**
|
|
7041
7041
|
* 任务创建所在地域:
|
|
7042
7042
|
ap-beijing - 华北地区(北京),
|
|
@@ -7052,7 +7052,7 @@ na-siliconvalley - 美西,
|
|
|
7052
7052
|
na-ashburn - 美东,
|
|
7053
7053
|
ap-tokyo - 日本。
|
|
7054
7054
|
*/
|
|
7055
|
-
Region
|
|
7055
|
+
Region?: string
|
|
7056
7056
|
/**
|
|
7057
7057
|
* 点播拉流转推循环次数。
|
|
7058
7058
|
-1:无限循环,直到任务结束。
|
|
@@ -7060,7 +7060,7 @@ ap-tokyo - 日本。
|
|
|
7060
7060
|
>0:具体循环次数。次数和时间以先结束的为准。
|
|
7061
7061
|
注意:拉流源为点播,该配置生效。
|
|
7062
7062
|
*/
|
|
7063
|
-
VodLoopTimes
|
|
7063
|
+
VodLoopTimes?: number
|
|
7064
7064
|
/**
|
|
7065
7065
|
* 点播更新SourceUrls后的播放方式:
|
|
7066
7066
|
ImmediateNewSource:立即从更新的拉流源开始播放;
|
|
@@ -7068,33 +7068,33 @@ ContinueBreakPoint:从上次断流url源的断点处继续,结束后再使
|
|
|
7068
7068
|
|
|
7069
7069
|
注意:拉流源为点播,该配置生效。
|
|
7070
7070
|
*/
|
|
7071
|
-
VodRefreshType
|
|
7071
|
+
VodRefreshType?: string
|
|
7072
7072
|
/**
|
|
7073
7073
|
* 任务创建时间。
|
|
7074
7074
|
使用UTC格式时间,
|
|
7075
7075
|
例如:2019-01-08T10:00:00Z。
|
|
7076
7076
|
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
7077
7077
|
*/
|
|
7078
|
-
CreateTime
|
|
7078
|
+
CreateTime?: string
|
|
7079
7079
|
/**
|
|
7080
7080
|
* 任务更新时间。
|
|
7081
7081
|
使用UTC格式时间,
|
|
7082
7082
|
例如:2019-01-08T10:00:00Z。
|
|
7083
7083
|
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
7084
7084
|
*/
|
|
7085
|
-
UpdateTime
|
|
7085
|
+
UpdateTime?: string
|
|
7086
7086
|
/**
|
|
7087
7087
|
* 创建任务的操作者。
|
|
7088
7088
|
*/
|
|
7089
|
-
CreateBy
|
|
7089
|
+
CreateBy?: string
|
|
7090
7090
|
/**
|
|
7091
7091
|
* 最后更新任务的操作者。
|
|
7092
7092
|
*/
|
|
7093
|
-
UpdateBy
|
|
7093
|
+
UpdateBy?: string
|
|
7094
7094
|
/**
|
|
7095
7095
|
* 回调地址。
|
|
7096
7096
|
*/
|
|
7097
|
-
CallbackUrl
|
|
7097
|
+
CallbackUrl?: string
|
|
7098
7098
|
/**
|
|
7099
7099
|
* 选择需要回调的事件:
|
|
7100
7100
|
TaskStart:任务启动回调,
|
|
@@ -7103,62 +7103,67 @@ VodSourceFileStart:从点播源文件开始拉流回调,
|
|
|
7103
7103
|
VodSourceFileFinish:从点播源文件拉流结束回调,
|
|
7104
7104
|
ResetTaskConfig:任务更新回调。
|
|
7105
7105
|
*/
|
|
7106
|
-
CallbackEvents
|
|
7106
|
+
CallbackEvents?: Array<string>
|
|
7107
7107
|
/**
|
|
7108
7108
|
* 注意:该信息暂不返回。
|
|
7109
7109
|
最后一次回调信息。
|
|
7110
7110
|
*/
|
|
7111
|
-
CallbackInfo
|
|
7111
|
+
CallbackInfo?: string
|
|
7112
7112
|
/**
|
|
7113
7113
|
* 注意:该信息暂不返回。
|
|
7114
7114
|
错误信息。
|
|
7115
7115
|
*/
|
|
7116
|
-
ErrorInfo
|
|
7116
|
+
ErrorInfo?: string
|
|
7117
7117
|
/**
|
|
7118
7118
|
* 状态。
|
|
7119
7119
|
enable:生效中。
|
|
7120
7120
|
pause:暂停中。
|
|
7121
7121
|
*/
|
|
7122
|
-
Status
|
|
7122
|
+
Status?: string
|
|
7123
7123
|
/**
|
|
7124
7124
|
* 注意:该信息仅在查询单个任务时返回。
|
|
7125
7125
|
任务最新拉流信息。
|
|
7126
7126
|
包含:源 url,偏移时间,上报时间。
|
|
7127
7127
|
*/
|
|
7128
|
-
RecentPullInfo
|
|
7128
|
+
RecentPullInfo?: RecentPullInfo
|
|
7129
7129
|
/**
|
|
7130
7130
|
* 任务备注信息。
|
|
7131
7131
|
*/
|
|
7132
|
-
Comment
|
|
7132
|
+
Comment?: string
|
|
7133
7133
|
/**
|
|
7134
7134
|
* 备源类型:
|
|
7135
7135
|
PullLivePushLive -直播,
|
|
7136
7136
|
PullVodPushLive -点播。
|
|
7137
7137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7138
7138
|
*/
|
|
7139
|
-
BackupSourceType
|
|
7139
|
+
BackupSourceType?: string
|
|
7140
7140
|
/**
|
|
7141
7141
|
* 备源URL。
|
|
7142
7142
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7143
7143
|
*/
|
|
7144
|
-
BackupSourceUrl
|
|
7144
|
+
BackupSourceUrl?: string
|
|
7145
7145
|
/**
|
|
7146
7146
|
* 水印信息列表。
|
|
7147
7147
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7148
7148
|
*/
|
|
7149
|
-
WatermarkList
|
|
7149
|
+
WatermarkList?: Array<PullPushWatermarkInfo>
|
|
7150
7150
|
/**
|
|
7151
7151
|
* 点播源是否启用本地推流模式,默认0,不启用。
|
|
7152
7152
|
0 - 不启用。
|
|
7153
7153
|
1 - 启用。
|
|
7154
7154
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7155
7155
|
*/
|
|
7156
|
-
VodLocalMode
|
|
7156
|
+
VodLocalMode?: number
|
|
7157
7157
|
/**
|
|
7158
7158
|
* 录制模板 ID。
|
|
7159
7159
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7160
7160
|
*/
|
|
7161
7161
|
RecordTemplateId?: string
|
|
7162
|
+
/**
|
|
7163
|
+
* 新增的推流地址。用于单任务推两路场景。
|
|
7164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7165
|
+
*/
|
|
7166
|
+
BackupToUrl?: string
|
|
7162
7167
|
}
|
|
7163
7168
|
|
|
7164
7169
|
/**
|
|
@@ -193,7 +193,16 @@ export interface OnlineScamInfo {
|
|
|
193
193
|
*/
|
|
194
194
|
export interface InputManageMarketingRisk {
|
|
195
195
|
/**
|
|
196
|
-
*
|
|
196
|
+
* 用户账号类型(默认开通 QQ 开放账号、手机号,手机 MD5 账号类型查询。如需使用微
|
|
197
|
+
信开放账号,则需要 提交工单 由腾讯云进行资格审核,审核通过后方可正常使用微信
|
|
198
|
+
开放账号):
|
|
199
|
+
1:QQ 开放账号。
|
|
200
|
+
2:微信开放账号。
|
|
201
|
+
4:手机号(暂仅支持国内手机号)。
|
|
202
|
+
8:设备号(imei/imeiMD5/idfa/idfaMd5)。
|
|
203
|
+
0: 其他。
|
|
204
|
+
10004:手机号 MD5。
|
|
205
|
+
|
|
197
206
|
*/
|
|
198
207
|
Account: AccountInfo
|
|
199
208
|
/**
|
|
@@ -265,9 +274,12 @@ export interface InputManageMarketingRisk {
|
|
|
265
274
|
*/
|
|
266
275
|
VendorId?: string
|
|
267
276
|
/**
|
|
268
|
-
*
|
|
269
|
-
|
|
270
|
-
|
|
277
|
+
* 设备类型,账号类型为8时必填:
|
|
278
|
+
0:未知
|
|
279
|
+
1:Imei;国际移动设备识别号(15-17位数字)
|
|
280
|
+
2:ImeiMd5;国际移动设备识别号,通过MD5加密后32位的小写字符串
|
|
281
|
+
3:Idfa;
|
|
282
|
+
4:IdfaMD5;
|
|
271
283
|
*/
|
|
272
284
|
DeviceType?: number
|
|
273
285
|
/**
|
|
@@ -283,7 +295,11 @@ export interface InputManageMarketingRisk {
|
|
|
283
295
|
*/
|
|
284
296
|
OnlineScam?: OnlineScamInfo
|
|
285
297
|
/**
|
|
286
|
-
*
|
|
298
|
+
* 1:安卓
|
|
299
|
+
2:iOS
|
|
300
|
+
3:H5
|
|
301
|
+
4:小程序
|
|
302
|
+
|
|
287
303
|
*/
|
|
288
304
|
Platform?: string
|
|
289
305
|
}
|
|
@@ -339,15 +355,26 @@ export interface OutputFrontRisk {
|
|
|
339
355
|
*/
|
|
340
356
|
export interface OtherAccountInfo {
|
|
341
357
|
/**
|
|
342
|
-
*
|
|
358
|
+
* 其它账号信息:
|
|
359
|
+
AccountType 是 4 时,填入真实的手机号(如 13123456789)。
|
|
360
|
+
AccountType 是 8 时,支持 imei、idfa、imeiMD5、idfaMD5入参。
|
|
361
|
+
AccountType 是 0 时,填入账号信息。
|
|
362
|
+
AccountType 是 10004 时,填入手机号的 MD5 值。
|
|
363
|
+
注:imeiMd5 加密方式为:
|
|
364
|
+
imei 明文小写后,进行 MD5 加密,加密后取小写值。
|
|
365
|
+
IdfaMd5 加密方式为:idfa 明文大写后,进行 MD5 加密,加密后取小写值。
|
|
366
|
+
|
|
343
367
|
*/
|
|
344
368
|
AccountId: string
|
|
345
369
|
/**
|
|
346
|
-
*
|
|
370
|
+
* 手机号,若 AccountType 是 4(手机号)、或 10004(手机号 MD5),则无需重复填写
|
|
371
|
+
否则填入对应的手机号(如 13123456789)。
|
|
347
372
|
*/
|
|
348
373
|
MobilePhone?: string
|
|
349
374
|
/**
|
|
350
|
-
*
|
|
375
|
+
* 用户设备号。若 AccountType 是 8(设备号),则无需重复填写,否则填入对应的设备
|
|
376
|
+
号。
|
|
377
|
+
|
|
351
378
|
*/
|
|
352
379
|
DeviceId?: string
|
|
353
380
|
}
|
|
@@ -407,15 +434,19 @@ export interface ManageMarketingRiskResponse {
|
|
|
407
434
|
*/
|
|
408
435
|
export interface InputCryptoManageMarketingRisk {
|
|
409
436
|
/**
|
|
410
|
-
*
|
|
437
|
+
* 是否授权:1已授权,否则未授权。
|
|
438
|
+
调用全栈式风控引擎接口服务时,客户需先明确授权
|
|
439
|
+
|
|
440
|
+
|
|
411
441
|
*/
|
|
412
442
|
IsAuthorized?: string
|
|
413
443
|
/**
|
|
414
|
-
*
|
|
444
|
+
* 加密类型:1AES加密
|
|
445
|
+
|
|
415
446
|
*/
|
|
416
447
|
CryptoType?: string
|
|
417
448
|
/**
|
|
418
|
-
*
|
|
449
|
+
* 加密内容,非空时接口采用加密模式。
|
|
419
450
|
*/
|
|
420
451
|
CryptoContent?: string
|
|
421
452
|
}
|
|
@@ -74,7 +74,7 @@ export interface CreateCommandResponse {
|
|
|
74
74
|
/**
|
|
75
75
|
* 命令ID。
|
|
76
76
|
*/
|
|
77
|
-
CommandId
|
|
77
|
+
CommandId?: string
|
|
78
78
|
/**
|
|
79
79
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
80
80
|
*/
|
|
@@ -347,7 +347,7 @@ export interface RunCommandRequest {
|
|
|
347
347
|
*/
|
|
348
348
|
Content: string
|
|
349
349
|
/**
|
|
350
|
-
* 待执行命令的实例ID列表,上限
|
|
350
|
+
* 待执行命令的实例ID列表,上限200。支持实例类型:
|
|
351
351
|
<li> CVM
|
|
352
352
|
<li> LIGHTHOUSE
|
|
353
353
|
*/
|
|
@@ -374,14 +374,17 @@ export interface RunCommandRequest {
|
|
|
374
374
|
Timeout?: number
|
|
375
375
|
/**
|
|
376
376
|
* 是否保存命令,取值范围:
|
|
377
|
-
<li>
|
|
378
|
-
<li>
|
|
379
|
-
默认为
|
|
377
|
+
<li> true:保存
|
|
378
|
+
<li> false:不保存
|
|
379
|
+
默认为 false。
|
|
380
380
|
*/
|
|
381
381
|
SaveCommand?: boolean
|
|
382
382
|
/**
|
|
383
383
|
* 是否启用自定义参数功能。
|
|
384
384
|
一旦创建,此值不提供修改。
|
|
385
|
+
取值范围:
|
|
386
|
+
<li> true:启用
|
|
387
|
+
<li> false:不启用
|
|
385
388
|
默认值:false。
|
|
386
389
|
*/
|
|
387
390
|
EnableParameter?: boolean
|
|
@@ -393,6 +396,10 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
393
396
|
自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
|
394
397
|
*/
|
|
395
398
|
DefaultParameters?: string
|
|
399
|
+
/**
|
|
400
|
+
* 自定义参数数组。 如果 Parameters 未提供,将使用这里的默认值进行替换。 自定义参数最多20个。
|
|
401
|
+
*/
|
|
402
|
+
DefaultParameterConfs?: Array<DefaultParameterConf>
|
|
396
403
|
/**
|
|
397
404
|
* Command 的自定义参数。字段类型为json encoded string。如:{\"varA\": \"222\"}。
|
|
398
405
|
key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
|
@@ -432,7 +439,7 @@ export interface InvokeCommandRequest {
|
|
|
432
439
|
*/
|
|
433
440
|
CommandId: string
|
|
434
441
|
/**
|
|
435
|
-
* 待执行命令的实例ID列表,上限
|
|
442
|
+
* 待执行命令的实例ID列表,上限200。
|
|
436
443
|
*/
|
|
437
444
|
InstanceIds: Array<string>
|
|
438
445
|
/**
|
|
@@ -576,10 +583,12 @@ export interface TaskResult {
|
|
|
576
583
|
Output: string
|
|
577
584
|
/**
|
|
578
585
|
* 命令执行开始时间。
|
|
586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
579
587
|
*/
|
|
580
588
|
ExecStartTime: string
|
|
581
589
|
/**
|
|
582
590
|
* 命令执行结束时间。
|
|
591
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
583
592
|
*/
|
|
584
593
|
ExecEndTime: string
|
|
585
594
|
/**
|
|
@@ -917,7 +926,7 @@ export interface InvokeCommandResponse {
|
|
|
917
926
|
/**
|
|
918
927
|
* 执行活动ID。
|
|
919
928
|
*/
|
|
920
|
-
InvocationId
|
|
929
|
+
InvocationId?: string
|
|
921
930
|
/**
|
|
922
931
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
923
932
|
*/
|
|
@@ -965,6 +974,12 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
965
974
|
自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
|
966
975
|
*/
|
|
967
976
|
DefaultParameters?: string
|
|
977
|
+
/**
|
|
978
|
+
* 自定义参数数组。
|
|
979
|
+
如果InvokeCommand时未提供参数取值,将使用这里的默认值进行替换。
|
|
980
|
+
自定义参数最多20个。
|
|
981
|
+
*/
|
|
982
|
+
DefaultParameterConfs?: Array<DefaultParameterConf>
|
|
968
983
|
/**
|
|
969
984
|
* 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
|
970
985
|
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
|
@@ -1525,11 +1540,11 @@ export interface RunCommandResponse {
|
|
|
1525
1540
|
/**
|
|
1526
1541
|
* 命令ID。
|
|
1527
1542
|
*/
|
|
1528
|
-
CommandId
|
|
1543
|
+
CommandId?: string
|
|
1529
1544
|
/**
|
|
1530
1545
|
* 执行活动ID。
|
|
1531
1546
|
*/
|
|
1532
|
-
InvocationId
|
|
1547
|
+
InvocationId?: string
|
|
1533
1548
|
/**
|
|
1534
1549
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1535
1550
|
*/
|
|
@@ -1668,6 +1683,12 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
1668
1683
|
自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
|
1669
1684
|
*/
|
|
1670
1685
|
DefaultParameters?: string
|
|
1686
|
+
/**
|
|
1687
|
+
* 自定义参数数组。
|
|
1688
|
+
如果InvokeCommand时未提供参数取值,将使用这里的默认值进行替换。
|
|
1689
|
+
自定义参数最多20个。
|
|
1690
|
+
*/
|
|
1691
|
+
DefaultParameterConfs?: Array<DefaultParameterConf>
|
|
1671
1692
|
/**
|
|
1672
1693
|
* 为命令关联的标签,列表长度不超过10。
|
|
1673
1694
|
*/
|
|
@@ -34,12 +34,13 @@ import {
|
|
|
34
34
|
ModifyCloudNativeAPIGatewayCanaryRuleResponse,
|
|
35
35
|
CloudNativeAPIGatewayNodeConfig,
|
|
36
36
|
CreateNativeGatewayServerGroupRequest,
|
|
37
|
-
|
|
37
|
+
DescribeCloudNativeAPIGatewayCertificatesRequest,
|
|
38
38
|
DeleteCloudNativeAPIGatewayResult,
|
|
39
39
|
QpsThreshold,
|
|
40
40
|
ModifyCloudNativeAPIGatewayServiceResponse,
|
|
41
41
|
DescribeCloudNativeAPIGatewayNodesResponse,
|
|
42
42
|
CreateCloudNativeAPIGatewayResponse,
|
|
43
|
+
DeleteCloudNativeAPIGatewayCertificateResponse,
|
|
43
44
|
DeleteCloudNativeAPIGatewayCanaryRuleRequest,
|
|
44
45
|
GatewayInstanceSchemeAndPorts,
|
|
45
46
|
ModifyCloudNativeAPIGatewayRouteRateLimitRequest,
|
|
@@ -49,12 +50,15 @@ import {
|
|
|
49
50
|
CloudNativeAPIGatewayBalancedService,
|
|
50
51
|
ExternalRedis,
|
|
51
52
|
EnvAddressInfo,
|
|
53
|
+
SREInstance,
|
|
52
54
|
InstanceTagInfo,
|
|
53
55
|
DescribeCloudNativeAPIGatewayServicesRequest,
|
|
56
|
+
DescribeCloudNativeAPIGatewayCertificatesResponse,
|
|
54
57
|
NacosReplica,
|
|
55
58
|
UpdateEngineInternetAccessRequest,
|
|
56
59
|
CreateCloudNativeAPIGatewayCanaryRuleResponse,
|
|
57
60
|
DescribeSREInstancesRequest,
|
|
61
|
+
KongCertificate,
|
|
58
62
|
KVPair,
|
|
59
63
|
DeleteEngineResponse,
|
|
60
64
|
DescribeCloudNativeAPIGatewayRoutesResponse,
|
|
@@ -75,9 +79,10 @@ import {
|
|
|
75
79
|
CloudAPIGatewayCanaryRuleList,
|
|
76
80
|
DescribeCloudNativeAPIGatewayConfigResponse,
|
|
77
81
|
KongRoutePreview,
|
|
82
|
+
KongCertificatesList,
|
|
78
83
|
CloudNativeAPIGatewayRateLimitDetail,
|
|
79
84
|
CreateCloudNativeAPIGatewayRouteResponse,
|
|
80
|
-
|
|
85
|
+
DescribeCloudNativeAPIGatewayConfigRequest,
|
|
81
86
|
KongTarget,
|
|
82
87
|
DescribeCloudNativeAPIGatewaysRequest,
|
|
83
88
|
AutoScalerPolicy,
|
|
@@ -87,12 +92,13 @@ import {
|
|
|
87
92
|
RateLimitResponse,
|
|
88
93
|
DescribeCloudNativeAPIGatewayServiceRateLimitResponse,
|
|
89
94
|
DeleteCloudNativeAPIGatewayServiceRequest,
|
|
90
|
-
|
|
95
|
+
CreateCloudNativeAPIGatewayCertificateResponse,
|
|
91
96
|
EnvInfo,
|
|
97
|
+
CreateCloudNativeAPIGatewayCanaryRuleRequest,
|
|
92
98
|
ModifyNativeGatewayServerGroupRequest,
|
|
93
99
|
DescribeCloudNativeAPIGatewayRouteRateLimitRequest,
|
|
94
100
|
DescribeOneCloudNativeAPIGatewayServiceRequest,
|
|
95
|
-
|
|
101
|
+
DescribeInstanceRegionInfo,
|
|
96
102
|
CloudNativeAPIGatewayStrategy,
|
|
97
103
|
DescribeCloudNativeAPIGatewaysResponse,
|
|
98
104
|
UpdateEngineInternetAccessResponse,
|
|
@@ -106,7 +112,7 @@ import {
|
|
|
106
112
|
ModifyCloudNativeAPIGatewayServiceRateLimitRequest,
|
|
107
113
|
DescribeSREInstanceAccessAddressRequest,
|
|
108
114
|
DescribeCloudNativeAPIGatewayCanaryRulesResponse,
|
|
109
|
-
|
|
115
|
+
DeleteCloudNativeAPIGatewayCertificateRequest,
|
|
110
116
|
NativeGatewayServerGroup,
|
|
111
117
|
DeleteCloudNativeAPIGatewayServiceRateLimitResponse,
|
|
112
118
|
CloudNativeAPIGatewayStrategyAutoScalerConfigMetric,
|
|
@@ -115,22 +121,26 @@ import {
|
|
|
115
121
|
CloudNativeAPIGatewayConfig,
|
|
116
122
|
DescribeZookeeperServerInterfacesResponse,
|
|
117
123
|
DescribeNativeGatewayServerGroupsRequest,
|
|
124
|
+
CertificateInfo,
|
|
118
125
|
DescribeGatewayInstancePortResult,
|
|
119
126
|
DeleteCloudNativeAPIGatewayRequest,
|
|
127
|
+
DescribeCloudNativeAPIGatewayCertificateDetailsResponse,
|
|
128
|
+
UpdateCloudNativeAPIGatewayCertificateInfoRequest,
|
|
120
129
|
EngineAdmin,
|
|
121
130
|
PolarisLimiterAddress,
|
|
122
131
|
DescribeOneCloudNativeAPIGatewayServiceResponse,
|
|
123
132
|
ModifyCloudNativeAPIGatewayServiceRequest,
|
|
124
133
|
DeleteCloudNativeAPIGatewayResponse,
|
|
125
134
|
KongServices,
|
|
135
|
+
CreateCloudNativeAPIGatewayCertificateRequest,
|
|
126
136
|
ModifyCloudNativeAPIGatewayResponse,
|
|
127
137
|
NetworkAccessControl,
|
|
128
138
|
DescribeZookeeperServerInterfacesRequest,
|
|
129
139
|
DescribeCloudNativeAPIGatewayRouteRateLimitResponse,
|
|
130
140
|
UpdateCloudNativeAPIGatewayResult,
|
|
131
141
|
DescribeCloudNativeAPIGatewayRequest,
|
|
132
|
-
|
|
133
|
-
|
|
142
|
+
DescribeNativeGatewayServerGroupsResponse,
|
|
143
|
+
CloudNativeAPIGatewayStrategyCronScalerConfigParam,
|
|
134
144
|
DeleteCloudNativeAPIGatewayRouteRequest,
|
|
135
145
|
InternetConfig,
|
|
136
146
|
DescribeCloudNativeAPIGatewayRoutesRequest,
|
|
@@ -146,10 +156,12 @@ import {
|
|
|
146
156
|
ZookeeperServerInterface,
|
|
147
157
|
CreateCloudNativeAPIGatewayServerGroupResult,
|
|
148
158
|
BoundK8SInfo,
|
|
159
|
+
DescribeCloudNativeAPIGatewayCertificateDetailsRequest,
|
|
149
160
|
AutoScalerRules,
|
|
150
161
|
KongUpstreamInfo,
|
|
151
162
|
CreateCloudNativeAPIGatewayRouteRequest,
|
|
152
163
|
CreateNativeGatewayServerGroupResponse,
|
|
164
|
+
KongCertificatesPreview,
|
|
153
165
|
CreateCloudNativeAPIGatewayServiceRateLimitRequest,
|
|
154
166
|
DescribeZookeeperReplicasResponse,
|
|
155
167
|
NativeGatewayServerGroups,
|
|
@@ -163,9 +175,11 @@ import {
|
|
|
163
175
|
ModifyCloudNativeAPIGatewayRouteRateLimitResponse,
|
|
164
176
|
Filter,
|
|
165
177
|
DescribeCloudNativeAPIGatewayCanaryRulesRequest,
|
|
166
|
-
|
|
178
|
+
DeleteCloudNativeAPIGatewayCanaryRuleResponse,
|
|
167
179
|
DescribeCloudNativeAPIGatewayPortsRequest,
|
|
168
180
|
ModifyNativeGatewayServerGroupResponse,
|
|
181
|
+
EngineRegionInfo,
|
|
182
|
+
UpdateCloudNativeAPIGatewayCertificateInfoResponse,
|
|
169
183
|
KongServiceDetail,
|
|
170
184
|
} from "./tse_models"
|
|
171
185
|
|
|
@@ -228,6 +242,16 @@ export class Client extends AbstractClient {
|
|
|
228
242
|
return this.request("DescribeOneCloudNativeAPIGatewayService", req, cb)
|
|
229
243
|
}
|
|
230
244
|
|
|
245
|
+
/**
|
|
246
|
+
* 查询云原生网关证书列表
|
|
247
|
+
*/
|
|
248
|
+
async DescribeCloudNativeAPIGatewayCertificates(
|
|
249
|
+
req: DescribeCloudNativeAPIGatewayCertificatesRequest,
|
|
250
|
+
cb?: (error: string, rep: DescribeCloudNativeAPIGatewayCertificatesResponse) => void
|
|
251
|
+
): Promise<DescribeCloudNativeAPIGatewayCertificatesResponse> {
|
|
252
|
+
return this.request("DescribeCloudNativeAPIGatewayCertificates", req, cb)
|
|
253
|
+
}
|
|
254
|
+
|
|
231
255
|
/**
|
|
232
256
|
* 修改云原生网关限流插件(服务)
|
|
233
257
|
*/
|
|
@@ -348,6 +372,16 @@ export class Client extends AbstractClient {
|
|
|
348
372
|
return this.request("DescribeCloudNativeAPIGateways", req, cb)
|
|
349
373
|
}
|
|
350
374
|
|
|
375
|
+
/**
|
|
376
|
+
* 创建云原生网关证书
|
|
377
|
+
*/
|
|
378
|
+
async CreateCloudNativeAPIGatewayCertificate(
|
|
379
|
+
req: CreateCloudNativeAPIGatewayCertificateRequest,
|
|
380
|
+
cb?: (error: string, rep: CreateCloudNativeAPIGatewayCertificateResponse) => void
|
|
381
|
+
): Promise<CreateCloudNativeAPIGatewayCertificateResponse> {
|
|
382
|
+
return this.request("CreateCloudNativeAPIGatewayCertificate", req, cb)
|
|
383
|
+
}
|
|
384
|
+
|
|
351
385
|
/**
|
|
352
386
|
* 查询云原生网关服务列表
|
|
353
387
|
*/
|
|
@@ -418,16 +452,6 @@ export class Client extends AbstractClient {
|
|
|
418
452
|
return this.request("DescribeSREInstances", req, cb)
|
|
419
453
|
}
|
|
420
454
|
|
|
421
|
-
/**
|
|
422
|
-
* 获取云原生API网关实例网络配置信息
|
|
423
|
-
*/
|
|
424
|
-
async DescribeCloudNativeAPIGatewayConfig(
|
|
425
|
-
req: DescribeCloudNativeAPIGatewayConfigRequest,
|
|
426
|
-
cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConfigResponse) => void
|
|
427
|
-
): Promise<DescribeCloudNativeAPIGatewayConfigResponse> {
|
|
428
|
-
return this.request("DescribeCloudNativeAPIGatewayConfig", req, cb)
|
|
429
|
-
}
|
|
430
|
-
|
|
431
455
|
/**
|
|
432
456
|
* 查询云原生网关的限流插件(路由)
|
|
433
457
|
*/
|
|
@@ -438,6 +462,16 @@ export class Client extends AbstractClient {
|
|
|
438
462
|
return this.request("DescribeCloudNativeAPIGatewayRouteRateLimit", req, cb)
|
|
439
463
|
}
|
|
440
464
|
|
|
465
|
+
/**
|
|
466
|
+
* 获取云原生API网关实例网络配置信息
|
|
467
|
+
*/
|
|
468
|
+
async DescribeCloudNativeAPIGatewayConfig(
|
|
469
|
+
req: DescribeCloudNativeAPIGatewayConfigRequest,
|
|
470
|
+
cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConfigResponse) => void
|
|
471
|
+
): Promise<DescribeCloudNativeAPIGatewayConfigResponse> {
|
|
472
|
+
return this.request("DescribeCloudNativeAPIGatewayConfig", req, cb)
|
|
473
|
+
}
|
|
474
|
+
|
|
441
475
|
/**
|
|
442
476
|
* 修改云原生网关服务
|
|
443
477
|
*/
|
|
@@ -468,6 +502,16 @@ export class Client extends AbstractClient {
|
|
|
468
502
|
return this.request("CreateCloudNativeAPIGatewayCanaryRule", req, cb)
|
|
469
503
|
}
|
|
470
504
|
|
|
505
|
+
/**
|
|
506
|
+
* 查询云原生网关单个证书详情
|
|
507
|
+
*/
|
|
508
|
+
async DescribeCloudNativeAPIGatewayCertificateDetails(
|
|
509
|
+
req: DescribeCloudNativeAPIGatewayCertificateDetailsRequest,
|
|
510
|
+
cb?: (error: string, rep: DescribeCloudNativeAPIGatewayCertificateDetailsResponse) => void
|
|
511
|
+
): Promise<DescribeCloudNativeAPIGatewayCertificateDetailsResponse> {
|
|
512
|
+
return this.request("DescribeCloudNativeAPIGatewayCertificateDetails", req, cb)
|
|
513
|
+
}
|
|
514
|
+
|
|
471
515
|
/**
|
|
472
516
|
* 修改引擎公网访问配置
|
|
473
517
|
*/
|
|
@@ -508,6 +552,16 @@ export class Client extends AbstractClient {
|
|
|
508
552
|
return this.request("DeleteCloudNativeAPIGateway", req, cb)
|
|
509
553
|
}
|
|
510
554
|
|
|
555
|
+
/**
|
|
556
|
+
* 删除云原生网关证书
|
|
557
|
+
*/
|
|
558
|
+
async DeleteCloudNativeAPIGatewayCertificate(
|
|
559
|
+
req: DeleteCloudNativeAPIGatewayCertificateRequest,
|
|
560
|
+
cb?: (error: string, rep: DeleteCloudNativeAPIGatewayCertificateResponse) => void
|
|
561
|
+
): Promise<DeleteCloudNativeAPIGatewayCertificateResponse> {
|
|
562
|
+
return this.request("DeleteCloudNativeAPIGatewayCertificate", req, cb)
|
|
563
|
+
}
|
|
564
|
+
|
|
511
565
|
/**
|
|
512
566
|
* 创建云原生网关路由
|
|
513
567
|
*/
|
|
@@ -518,6 +572,16 @@ export class Client extends AbstractClient {
|
|
|
518
572
|
return this.request("CreateCloudNativeAPIGatewayRoute", req, cb)
|
|
519
573
|
}
|
|
520
574
|
|
|
575
|
+
/**
|
|
576
|
+
* 修改云原生网关证书信息
|
|
577
|
+
*/
|
|
578
|
+
async UpdateCloudNativeAPIGatewayCertificateInfo(
|
|
579
|
+
req: UpdateCloudNativeAPIGatewayCertificateInfoRequest,
|
|
580
|
+
cb?: (error: string, rep: UpdateCloudNativeAPIGatewayCertificateInfoResponse) => void
|
|
581
|
+
): Promise<UpdateCloudNativeAPIGatewayCertificateInfoResponse> {
|
|
582
|
+
return this.request("UpdateCloudNativeAPIGatewayCertificateInfo", req, cb)
|
|
583
|
+
}
|
|
584
|
+
|
|
521
585
|
/**
|
|
522
586
|
* 创建云原生网关引擎分组
|
|
523
587
|
*/
|