tencentcloud-sdk-nodejs 4.0.1015 → 4.0.1017
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 +190 -0
- package/SERVICE_CHANGELOG.md +160 -1235
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +20 -9
- package/src/services/cfs/v20190719/cfs_client.ts +19 -7
- package/src/services/cfs/v20190719/cfs_models.ts +52 -28
- package/src/services/cvm/v20170312/cvm_models.ts +24 -4
- package/src/services/faceid/v20180301/faceid_models.ts +7 -7
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +17 -4
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +156 -40
- package/src/services/lcic/v20220817/lcic_client.ts +1 -1
- package/src/services/lcic/v20220817/lcic_models.ts +1 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +8 -0
- package/src/services/mps/v20190612/mps_models.ts +2 -5
- package/src/services/postgres/v20170312/postgres_models.ts +30 -16
- package/src/services/rum/v20210622/rum_models.ts +0 -1
- package/src/services/scf/v20180416/scf_models.ts +2 -2
- package/src/services/trro/v20220325/trro_models.ts +6 -6
- package/src/services/trtc/v20190722/trtc_models.ts +4 -0
- package/src/services/tse/v20201207/tse_client.ts +17 -4
- package/src/services/tse/v20201207/tse_models.ts +105 -64
- package/src/services/vpc/v20170312/vpc_client.ts +5179 -7
- package/src/services/vpc/v20170312/vpc_models.ts +18815 -9
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +20 -9
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +7 -3
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +9 -3
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +50 -28
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +24 -4
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +7 -7
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +153 -40
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +8 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -5
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +30 -16
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +0 -1
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +2 -2
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +6 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -0
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +102 -64
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1895 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2669 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +17875 -9
- package/test/cfs.v20190719.test.js +12 -2
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/tse.v20201207.test.js +10 -0
- package/test/vpc.v20170312.test.js +3872 -2
|
@@ -460,6 +460,35 @@ export interface DescribeSpaceFenceEventListResponse {
|
|
|
460
460
|
*/
|
|
461
461
|
RequestId?: string;
|
|
462
462
|
}
|
|
463
|
+
/**
|
|
464
|
+
* DescribeCloudStorageEventsWithAITasks返回参数结构体
|
|
465
|
+
*/
|
|
466
|
+
export interface DescribeCloudStorageEventsWithAITasksResponse {
|
|
467
|
+
/**
|
|
468
|
+
* 云存事件列表
|
|
469
|
+
*/
|
|
470
|
+
Events?: Array<CloudStorageEventWithAITasks>;
|
|
471
|
+
/**
|
|
472
|
+
* 请求上下文, 用作查询游标
|
|
473
|
+
*/
|
|
474
|
+
Context?: string;
|
|
475
|
+
/**
|
|
476
|
+
* 拉取结果是否已经结束
|
|
477
|
+
*/
|
|
478
|
+
Listover?: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* 内部结果数量,并不等同于事件总数。
|
|
481
|
+
*/
|
|
482
|
+
Total?: number;
|
|
483
|
+
/**
|
|
484
|
+
* 视频播放URL
|
|
485
|
+
*/
|
|
486
|
+
VideoURL?: string;
|
|
487
|
+
/**
|
|
488
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
489
|
+
*/
|
|
490
|
+
RequestId?: string;
|
|
491
|
+
}
|
|
463
492
|
/**
|
|
464
493
|
* SearchTopicRule返回参数结构体
|
|
465
494
|
*/
|
|
@@ -3096,13 +3125,33 @@ export interface DescribeCloudStorageStreamDataRequest {
|
|
|
3096
3125
|
StartTime: number;
|
|
3097
3126
|
}
|
|
3098
3127
|
/**
|
|
3099
|
-
*
|
|
3128
|
+
* DirectBindDeviceInFamily请求参数结构体
|
|
3100
3129
|
*/
|
|
3101
|
-
export interface
|
|
3130
|
+
export interface DirectBindDeviceInFamilyRequest {
|
|
3102
3131
|
/**
|
|
3103
|
-
*
|
|
3132
|
+
* 小程序appid
|
|
3104
3133
|
*/
|
|
3105
|
-
|
|
3134
|
+
IotAppID: string;
|
|
3135
|
+
/**
|
|
3136
|
+
* 用户ID
|
|
3137
|
+
*/
|
|
3138
|
+
UserID: string;
|
|
3139
|
+
/**
|
|
3140
|
+
* 家庭ID
|
|
3141
|
+
*/
|
|
3142
|
+
FamilyId: string;
|
|
3143
|
+
/**
|
|
3144
|
+
* 产品ID
|
|
3145
|
+
*/
|
|
3146
|
+
ProductId: string;
|
|
3147
|
+
/**
|
|
3148
|
+
* 设备名
|
|
3149
|
+
*/
|
|
3150
|
+
DeviceName: string;
|
|
3151
|
+
/**
|
|
3152
|
+
* 房间ID
|
|
3153
|
+
*/
|
|
3154
|
+
RoomId?: string;
|
|
3106
3155
|
}
|
|
3107
3156
|
/**
|
|
3108
3157
|
* 项目详情
|
|
@@ -3335,6 +3384,55 @@ export interface CreatePositionSpaceRequest {
|
|
|
3335
3384
|
*/
|
|
3336
3385
|
Icon?: string;
|
|
3337
3386
|
}
|
|
3387
|
+
/**
|
|
3388
|
+
* DescribeCloudStorageEventsWithAITasks请求参数结构体
|
|
3389
|
+
*/
|
|
3390
|
+
export interface DescribeCloudStorageEventsWithAITasksRequest {
|
|
3391
|
+
/**
|
|
3392
|
+
* 产品ID
|
|
3393
|
+
*/
|
|
3394
|
+
ProductId: string;
|
|
3395
|
+
/**
|
|
3396
|
+
* 设备名称
|
|
3397
|
+
*/
|
|
3398
|
+
DeviceName: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* 事件关联的视频 AI 分析服务类型(支持多选)。可选值:
|
|
3401
|
+
|
|
3402
|
+
- `RealtimeObjectDetect`:目标检测
|
|
3403
|
+
- `Highlight`:视频浓缩
|
|
3404
|
+
- `VideoToText`:视频语义理解
|
|
3405
|
+
*/
|
|
3406
|
+
ServiceTypes: Array<string>;
|
|
3407
|
+
/**
|
|
3408
|
+
* 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
|
|
3409
|
+
*/
|
|
3410
|
+
StartTime?: number;
|
|
3411
|
+
/**
|
|
3412
|
+
* 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
|
|
3413
|
+
*/
|
|
3414
|
+
EndTime?: number;
|
|
3415
|
+
/**
|
|
3416
|
+
* 请求上下文, 用作查询游标
|
|
3417
|
+
*/
|
|
3418
|
+
Context?: string;
|
|
3419
|
+
/**
|
|
3420
|
+
* 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
|
|
3421
|
+
*/
|
|
3422
|
+
Size?: number;
|
|
3423
|
+
/**
|
|
3424
|
+
* 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
|
|
3425
|
+
*/
|
|
3426
|
+
EventId?: string;
|
|
3427
|
+
/**
|
|
3428
|
+
* 用户ID
|
|
3429
|
+
*/
|
|
3430
|
+
UserId?: string;
|
|
3431
|
+
/**
|
|
3432
|
+
* 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
|
|
3433
|
+
*/
|
|
3434
|
+
ChannelId?: number;
|
|
3435
|
+
}
|
|
3338
3436
|
/**
|
|
3339
3437
|
* DismissRoomByStrRoomIdFromTRTC请求参数结构体
|
|
3340
3438
|
*/
|
|
@@ -4405,6 +4503,7 @@ export interface DescribeCloudStorageAIServiceTasksRequest {
|
|
|
4405
4503
|
* 云存 AI 服务类型。可选值:
|
|
4406
4504
|
- `RealtimeObjectDetect`:目标检测
|
|
4407
4505
|
- `Highlight`:视频浓缩
|
|
4506
|
+
- `VideoToText`:视频语义理解
|
|
4408
4507
|
*/
|
|
4409
4508
|
ServiceType: string;
|
|
4410
4509
|
/**
|
|
@@ -4647,9 +4746,17 @@ export interface CallDeviceActionAsyncRequest {
|
|
|
4647
4746
|
InputParams?: string;
|
|
4648
4747
|
}
|
|
4649
4748
|
/**
|
|
4650
|
-
*
|
|
4749
|
+
* CallDeviceActionAsync返回参数结构体
|
|
4651
4750
|
*/
|
|
4652
|
-
export interface
|
|
4751
|
+
export interface CallDeviceActionAsyncResponse {
|
|
4752
|
+
/**
|
|
4753
|
+
* 调用Id
|
|
4754
|
+
*/
|
|
4755
|
+
ClientToken: string;
|
|
4756
|
+
/**
|
|
4757
|
+
* 异步调用状态
|
|
4758
|
+
*/
|
|
4759
|
+
Status: string;
|
|
4653
4760
|
/**
|
|
4654
4761
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4655
4762
|
*/
|
|
@@ -4809,6 +4916,39 @@ export interface WXDeviceInfo {
|
|
|
4809
4916
|
*/
|
|
4810
4917
|
WXIoTDeviceInfo?: WXIoTDeviceInfo;
|
|
4811
4918
|
}
|
|
4919
|
+
/**
|
|
4920
|
+
* 云存事件及其关联的云存 AI 任务
|
|
4921
|
+
*/
|
|
4922
|
+
export interface CloudStorageEventWithAITasks {
|
|
4923
|
+
/**
|
|
4924
|
+
* 事件起始时间(Unix 时间戳,秒级
|
|
4925
|
+
*/
|
|
4926
|
+
StartTime?: number;
|
|
4927
|
+
/**
|
|
4928
|
+
* 事件结束时间(Unix 时间戳,秒级
|
|
4929
|
+
*/
|
|
4930
|
+
EndTime?: number;
|
|
4931
|
+
/**
|
|
4932
|
+
* 事件缩略图
|
|
4933
|
+
*/
|
|
4934
|
+
Thumbnail?: string;
|
|
4935
|
+
/**
|
|
4936
|
+
* 事件ID
|
|
4937
|
+
*/
|
|
4938
|
+
EventId?: string;
|
|
4939
|
+
/**
|
|
4940
|
+
* 事件录像上传状态,Finished: 全部上传成功 Partial: 部分上传成功 Failed: 上传失败
|
|
4941
|
+
*/
|
|
4942
|
+
UploadStatus?: string;
|
|
4943
|
+
/**
|
|
4944
|
+
* 事件自定义数据
|
|
4945
|
+
*/
|
|
4946
|
+
Data?: string;
|
|
4947
|
+
/**
|
|
4948
|
+
* 事件关联的云存 AI 任务列表
|
|
4949
|
+
*/
|
|
4950
|
+
AITasks?: Array<CloudStorageAIServiceTask>;
|
|
4951
|
+
}
|
|
4812
4952
|
/**
|
|
4813
4953
|
* CreateDeviceChannel请求参数结构体
|
|
4814
4954
|
*/
|
|
@@ -6108,6 +6248,7 @@ export interface CloudStorageAIServiceTask {
|
|
|
6108
6248
|
|
|
6109
6249
|
- `RealtimeObjectDetect`:目标检测
|
|
6110
6250
|
- `Highlight`:视频浓缩
|
|
6251
|
+
- `VideoToText`:视频语义理解
|
|
6111
6252
|
*/
|
|
6112
6253
|
ServiceType?: string;
|
|
6113
6254
|
/**
|
|
@@ -6292,17 +6433,9 @@ export interface GetWechatDeviceTicketResponse {
|
|
|
6292
6433
|
RequestId?: string;
|
|
6293
6434
|
}
|
|
6294
6435
|
/**
|
|
6295
|
-
*
|
|
6436
|
+
* ResumeWeCallDevice返回参数结构体
|
|
6296
6437
|
*/
|
|
6297
|
-
export interface
|
|
6298
|
-
/**
|
|
6299
|
-
* 调用Id
|
|
6300
|
-
*/
|
|
6301
|
-
ClientToken: string;
|
|
6302
|
-
/**
|
|
6303
|
-
* 异步调用状态
|
|
6304
|
-
*/
|
|
6305
|
-
Status: string;
|
|
6438
|
+
export interface ResumeWeCallDeviceResponse {
|
|
6306
6439
|
/**
|
|
6307
6440
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6308
6441
|
*/
|
|
@@ -6826,33 +6959,13 @@ export interface CreateTopicPolicyRequest {
|
|
|
6826
6959
|
Privilege: number;
|
|
6827
6960
|
}
|
|
6828
6961
|
/**
|
|
6829
|
-
*
|
|
6962
|
+
* CancelAssignTWeCallLicense返回参数结构体
|
|
6830
6963
|
*/
|
|
6831
|
-
export interface
|
|
6832
|
-
/**
|
|
6833
|
-
* 小程序appid
|
|
6834
|
-
*/
|
|
6835
|
-
IotAppID: string;
|
|
6836
|
-
/**
|
|
6837
|
-
* 用户ID
|
|
6838
|
-
*/
|
|
6839
|
-
UserID: string;
|
|
6840
|
-
/**
|
|
6841
|
-
* 家庭ID
|
|
6842
|
-
*/
|
|
6843
|
-
FamilyId: string;
|
|
6844
|
-
/**
|
|
6845
|
-
* 产品ID
|
|
6846
|
-
*/
|
|
6847
|
-
ProductId: string;
|
|
6848
|
-
/**
|
|
6849
|
-
* 设备名
|
|
6850
|
-
*/
|
|
6851
|
-
DeviceName: string;
|
|
6964
|
+
export interface CancelAssignTWeCallLicenseResponse {
|
|
6852
6965
|
/**
|
|
6853
|
-
*
|
|
6966
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6854
6967
|
*/
|
|
6855
|
-
|
|
6968
|
+
RequestId?: string;
|
|
6856
6969
|
}
|
|
6857
6970
|
/**
|
|
6858
6971
|
* DescribeCloudStorageEvents返回参数结构体
|
|
@@ -50,7 +50,7 @@ export declare class Client extends AbstractClient {
|
|
|
50
50
|
*/
|
|
51
51
|
SetWatermark(req: SetWatermarkRequest, cb?: (error: string, rep: SetWatermarkResponse) => void): Promise<SetWatermarkResponse>;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* 此接口用于修改用户信息,例如头像、昵称(用户名)等。注意,课中的用户信息不会立即同步修改,需待下次上课时,修改后的信息才会更新显示。
|
|
54
54
|
*/
|
|
55
55
|
ModifyUserProfile(req: ModifyUserProfileRequest, cb?: (error: string, rep: ModifyUserProfileResponse) => void): Promise<ModifyUserProfileResponse>;
|
|
56
56
|
/**
|
|
@@ -90,7 +90,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
90
90
|
return this.request("SetWatermark", req, cb);
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* 此接口用于修改用户信息,例如头像、昵称(用户名)等。注意,课中的用户信息不会立即同步修改,需待下次上课时,修改后的信息才会更新显示。
|
|
94
94
|
*/
|
|
95
95
|
async ModifyUserProfile(req, cb) {
|
|
96
96
|
return this.request("ModifyUserProfile", req, cb);
|
|
@@ -7640,7 +7640,7 @@ export interface CreateInput {
|
|
|
7640
7640
|
*/
|
|
7641
7641
|
InputName: string;
|
|
7642
7642
|
/**
|
|
7643
|
-
* 输入的协议,可选[SRT|RTP|
|
|
7643
|
+
* 输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。
|
|
7644
7644
|
*/
|
|
7645
7645
|
Protocol: string;
|
|
7646
7646
|
/**
|
|
@@ -14579,10 +14579,7 @@ export interface ModifyInput {
|
|
|
14579
14579
|
*/
|
|
14580
14580
|
RTPSettings: CreateInputRTPSettings;
|
|
14581
14581
|
/**
|
|
14582
|
-
* 输入的协议,可选[SRT|RTP|
|
|
14583
|
-
当输出包含RTP时,输入只能是RTP。
|
|
14584
|
-
当输出包含RTMP时,输入可以是SRT/RTMP。
|
|
14585
|
-
当输出包含SRT时,输入只能是SRT。
|
|
14582
|
+
* 输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。 -
|
|
14586
14583
|
*/
|
|
14587
14584
|
Protocol?: string;
|
|
14588
14585
|
/**
|
|
@@ -706,7 +706,7 @@ export interface RenewInstanceResponse {
|
|
|
706
706
|
/**
|
|
707
707
|
* 订单名
|
|
708
708
|
*/
|
|
709
|
-
DealName
|
|
709
|
+
DealName?: string;
|
|
710
710
|
/**
|
|
711
711
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
712
712
|
*/
|
|
@@ -948,11 +948,16 @@ export interface RenewInstanceRequest {
|
|
|
948
948
|
*/
|
|
949
949
|
DBInstanceId: string;
|
|
950
950
|
/**
|
|
951
|
-
*
|
|
951
|
+
* 购买时长,单位:月。
|
|
952
|
+
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
953
|
+
<li>后付费:只支持1</li>
|
|
952
954
|
*/
|
|
953
955
|
Period: number;
|
|
954
956
|
/**
|
|
955
|
-
*
|
|
957
|
+
* 是否自动使用代金券:
|
|
958
|
+
<li>0:否</li>
|
|
959
|
+
<li>1:是</li>
|
|
960
|
+
默认值:0
|
|
956
961
|
*/
|
|
957
962
|
AutoVoucher?: number;
|
|
958
963
|
/**
|
|
@@ -1611,6 +1616,7 @@ export interface Version {
|
|
|
1611
1616
|
/**
|
|
1612
1617
|
* 数据库版本状态,包括:
|
|
1613
1618
|
AVAILABLE:可用;
|
|
1619
|
+
UPGRADE_ONLY:不可创建,此版本仅可升级至高版本;
|
|
1614
1620
|
DEPRECATED:已弃用。
|
|
1615
1621
|
*/
|
|
1616
1622
|
Status?: string;
|
|
@@ -4927,13 +4933,21 @@ export interface ModifyBackupPlanRequest {
|
|
|
4927
4933
|
*/
|
|
4928
4934
|
BaseBackupRetentionPeriod?: number;
|
|
4929
4935
|
/**
|
|
4930
|
-
*
|
|
4936
|
+
* 实例备份周期,若是星期维度,格式为小写星期英文单词;若是按月维度,格式为数字字符,如["1","2"]。
|
|
4931
4937
|
*/
|
|
4932
4938
|
BackupPeriod?: Array<string>;
|
|
4933
4939
|
/**
|
|
4934
4940
|
* 实例日志备份保留时长,取值范围为7-1830,单位是天
|
|
4935
4941
|
*/
|
|
4936
4942
|
LogBackupRetentionPeriod?: number;
|
|
4943
|
+
/**
|
|
4944
|
+
* 备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。
|
|
4945
|
+
*/
|
|
4946
|
+
PlanId?: string;
|
|
4947
|
+
/**
|
|
4948
|
+
* 要修改的备份计划名称。
|
|
4949
|
+
*/
|
|
4950
|
+
PlanName?: string;
|
|
4937
4951
|
}
|
|
4938
4952
|
/**
|
|
4939
4953
|
* DeleteBaseBackup请求参数结构体
|
|
@@ -5150,14 +5164,14 @@ export interface DisIsolateDBInstancesRequest {
|
|
|
5150
5164
|
DBInstanceIdSet: Array<string>;
|
|
5151
5165
|
/**
|
|
5152
5166
|
* 购买时长,单位:月。
|
|
5153
|
-
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
|
|
5154
|
-
<li>后付费:只支持1
|
|
5167
|
+
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
5168
|
+
<li>后付费:只支持1</li>
|
|
5155
5169
|
*/
|
|
5156
5170
|
Period?: number;
|
|
5157
5171
|
/**
|
|
5158
5172
|
* 是否使用代金券:
|
|
5159
|
-
<li>true
|
|
5160
|
-
<li>false
|
|
5173
|
+
<li>true:使用</li>
|
|
5174
|
+
<li>false:不使用</li>
|
|
5161
5175
|
默认值:false
|
|
5162
5176
|
*/
|
|
5163
5177
|
AutoVoucher?: boolean;
|
|
@@ -5497,28 +5511,28 @@ export interface ModifyDBInstanceChargeTypeRequest {
|
|
|
5497
5511
|
DBInstanceId: string;
|
|
5498
5512
|
/**
|
|
5499
5513
|
* 实例计费类型,目前支持:
|
|
5500
|
-
<li>PREPAID
|
|
5501
|
-
<li>POSTPAID_BY_HOUR
|
|
5514
|
+
<li>PREPAID:预付费,即包年包月</li>
|
|
5515
|
+
<li>POSTPAID_BY_HOUR:后付费,即按量计费</li>
|
|
5502
5516
|
默认值:PREPAID
|
|
5503
5517
|
*/
|
|
5504
5518
|
InstanceChargeType: string;
|
|
5505
5519
|
/**
|
|
5506
5520
|
* 购买时长,单位:月。
|
|
5507
|
-
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
|
|
5508
|
-
<li>后付费:只支持1
|
|
5521
|
+
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
5522
|
+
<li>后付费:只支持1</li>
|
|
5509
5523
|
*/
|
|
5510
5524
|
Period: number;
|
|
5511
5525
|
/**
|
|
5512
5526
|
* 续费标记:
|
|
5513
|
-
<li>0
|
|
5514
|
-
<li>1
|
|
5527
|
+
<li>0:手动续费</li>
|
|
5528
|
+
<li>1:自动续费</li>
|
|
5515
5529
|
默认值:0
|
|
5516
5530
|
*/
|
|
5517
5531
|
AutoRenewFlag?: number;
|
|
5518
5532
|
/**
|
|
5519
5533
|
* 是否自动使用代金券:
|
|
5520
|
-
<li>0
|
|
5521
|
-
<li>1
|
|
5534
|
+
<li>0:否</li>
|
|
5535
|
+
<li>1:是</li>
|
|
5522
5536
|
默认值:0
|
|
5523
5537
|
*/
|
|
5524
5538
|
AutoVoucher?: number;
|
|
@@ -314,7 +314,7 @@ export interface LayerVersionInfo {
|
|
|
314
314
|
*/
|
|
315
315
|
LayerName?: string;
|
|
316
316
|
/**
|
|
317
|
-
* 层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/
|
|
317
|
+
* 层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.88Layer.EF.BC.89.E7.8A.B6.E6.80.81)
|
|
318
318
|
*/
|
|
319
319
|
Status?: string;
|
|
320
320
|
/**
|
|
@@ -3339,7 +3339,7 @@ export interface Function {
|
|
|
3339
3339
|
*/
|
|
3340
3340
|
Namespace?: string;
|
|
3341
3341
|
/**
|
|
3342
|
-
* 函数状态,状态值及流转[参考此处](https://cloud.tencent.com/document/product/583/
|
|
3342
|
+
* 函数状态,状态值及流转[参考此处](https://cloud.tencent.com/document/product/583/17244)
|
|
3343
3343
|
*/
|
|
3344
3344
|
Status?: string;
|
|
3345
3345
|
/**
|
|
@@ -195,7 +195,7 @@ export interface DescribeSessionStatisticsByIntervalResponse {
|
|
|
195
195
|
/**
|
|
196
196
|
* 各时间段的会话统计数据
|
|
197
197
|
*/
|
|
198
|
-
SessionStatistics
|
|
198
|
+
SessionStatistics?: Array<SessionIntervalStatistic>;
|
|
199
199
|
/**
|
|
200
200
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
201
201
|
*/
|
|
@@ -1018,23 +1018,23 @@ export interface DescribeSessionStatisticsResponse {
|
|
|
1018
1018
|
/**
|
|
1019
1019
|
* 会话数量
|
|
1020
1020
|
*/
|
|
1021
|
-
SessionNum
|
|
1021
|
+
SessionNum?: number;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* 通话时长,单位:分钟
|
|
1024
1024
|
*/
|
|
1025
|
-
TotalDuration
|
|
1025
|
+
TotalDuration?: number;
|
|
1026
1026
|
/**
|
|
1027
1027
|
* 活跃现场设备数
|
|
1028
1028
|
*/
|
|
1029
|
-
ActiveFieldDeviceNum
|
|
1029
|
+
ActiveFieldDeviceNum?: number;
|
|
1030
1030
|
/**
|
|
1031
1031
|
* 活跃远端设备数
|
|
1032
1032
|
*/
|
|
1033
|
-
ActiveRemoteDeviceNum
|
|
1033
|
+
ActiveRemoteDeviceNum?: number;
|
|
1034
1034
|
/**
|
|
1035
1035
|
* 优良会话占比,单位:%
|
|
1036
1036
|
*/
|
|
1037
|
-
NotBadSessionRatio
|
|
1037
|
+
NotBadSessionRatio?: number;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1040
1040
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeNacosReplicasRequest, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayNodesRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, CloseWafProtectionRequest, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, CreateNativeGatewayServiceSourceResponse, CreateCloudNativeAPIGatewayServiceRequest, ModifyConsoleNetworkRequest, DescribeCloudNativeAPIGatewayServicesRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DeleteGovernanceNamespacesResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeWafProtectionResponse, DescribeZookeeperReplicasRequest, DescribeAutoScalerResourceStrategiesResponse, DeleteCloudNativeAPIGatewayRouteResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeConfigFileReleaseRequest, DescribeCloudNativeAPIGatewayConfigRequest, DescribeNacosServerInterfacesResponse, DeleteGovernanceInstancesRequest, UpdateEngineInternetAccessResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, CreateCloudNativeAPIGatewayPublicNetworkResponse, ModifyGovernanceServicesRequest, DescribeConfigFileReleasesResponse, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, CreateGovernanceServicesRequest, ModifyNetworkAccessStrategyResponse,
|
|
3
|
+
import { DescribeNacosReplicasRequest, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayNodesRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, CloseWafProtectionRequest, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, CreateNativeGatewayServiceSourceResponse, CreateCloudNativeAPIGatewayServiceRequest, ModifyConsoleNetworkRequest, DescribeCloudNativeAPIGatewayServicesRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DeleteGovernanceNamespacesResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeWafProtectionResponse, DescribeZookeeperReplicasRequest, DescribeAutoScalerResourceStrategiesResponse, DeleteCloudNativeAPIGatewayRouteResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeConfigFileReleaseRequest, DescribeCloudNativeAPIGatewayConfigRequest, DescribeNacosServerInterfacesResponse, DeleteGovernanceInstancesRequest, UpdateEngineInternetAccessResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, CreateCloudNativeAPIGatewayPublicNetworkResponse, ModifyGovernanceServicesRequest, DescribeConfigFileReleasesResponse, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, CreateGovernanceServicesRequest, ModifyCloudNativeAPIGatewayServiceRateLimitRequest, ModifyNetworkAccessStrategyResponse, RestartSREInstanceRequest, UnbindAutoScalerResourceStrategyFromGroupsRequest, DeleteCloudNativeAPIGatewayPublicNetworkRequest, CreateGovernanceAliasRequest, ModifyCloudNativeAPIGatewayServiceRequest, DescribeAutoScalerResourceStrategyBindingGroupsRequest, DescribeConfigFilesByGroupResponse, DescribeWafProtectionRequest, DescribeAutoScalerResourceStrategiesRequest, DescribeGovernanceInstancesRequest, DescribeGovernanceServiceContractsRequest, DescribeConfigFilesRequest, DeleteCloudNativeAPIGatewayRouteRequest, DescribeConfigFileReleasesRequest, ModifyCloudNativeAPIGatewayServiceRateLimitResponse, DescribeGovernanceNamespacesRequest, DescribeSREInstancesResponse, CreateCloudNativeAPIGatewayServiceRateLimitRequest, ModifyNativeGatewayServerGroupRequest, ModifyConsoleNetworkResponse, DescribeWafDomainsResponse, DescribeSREInstanceAccessAddressRequest, ModifyGovernanceInstancesResponse, DeleteCloudNativeAPIGatewayPublicNetworkResponse, CreateOrUpdateConfigFileAndReleaseRequest, DeleteNativeGatewayServiceSourceResponse, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, DescribeConfigFileGroupsResponse, UpdateEngineInternetAccessRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, DescribeSREInstanceAccessAddressResponse, CreateConfigFileRequest, DescribeConfigFilesResponse, DescribeCloudNativeAPIGatewayServicesResponse, CreateNativeGatewayServiceSourceRequest, ModifyNativeGatewayServiceSourceRequest, ModifyCloudNativeAPIGatewayCanaryRuleResponse, UnbindAutoScalerResourceStrategyFromGroupsResponse, UpdateUpstreamTargetsResponse, CreateWafDomainsRequest, DescribeGovernanceServiceContractVersionsRequest, DescribeCloudNativeAPIGatewayCertificatesResponse, DeleteGovernanceInstancesResponse, BindAutoScalerResourceStrategyToGroupsResponse, ModifyConfigFilesRequest, ModifyGovernanceAliasRequest, ModifyNetworkAccessStrategyRequest, CreateCloudNativeAPIGatewayRouteRateLimitRequest, ModifyCloudNativeAPIGatewayRouteResponse, CreateGovernanceInstancesRequest, BindAutoScalerResourceStrategyToGroupsRequest, DeleteCloudNativeAPIGatewayCertificateRequest, ModifyAutoScalerResourceStrategyResponse, CreateCloudNativeAPIGatewayCertificateResponse, DescribeCloudNativeAPIGatewayRouteRateLimitRequest, UpdateUpstreamHealthCheckConfigRequest, DescribeConfigFileResponse, UpdateCloudNativeAPIGatewaySpecResponse, DescribeNativeGatewayServerGroupsRequest, DescribePublicNetworkRequest, DescribeGovernanceNamespacesResponse, DescribeConfigFilesByGroupRequest, DeleteGovernanceInstancesByHostResponse, DescribeGovernanceAliasesResponse, DeleteCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayCertificateRequest, ModifyCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayPublicNetworkRequest, ModifyGovernanceNamespacesRequest, ModifyConfigFileGroupResponse, DescribeAllConfigFileTemplatesRequest, RollbackConfigFileReleasesRequest, DescribeCloudNativeAPIGatewayInfoByIpResponse, PublishConfigFilesResponse, UpdateCloudNativeAPIGatewayCertificateInfoRequest, DescribeCloudNativeAPIGatewayCertificateDetailsRequest, CreateNativeGatewayServerGroupResponse, DeleteConfigFileReleasesResponse, ModifyGovernanceInstancesRequest, DeleteCloudNativeAPIGatewayCanaryRuleResponse, UpdateCloudNativeAPIGatewayCertificateInfoResponse, ModifyNetworkBasicInfoResponse, DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayRequest, DescribeGovernanceServiceContractVersionsResponse, ModifyConfigFilesResponse, DescribeAllConfigFileTemplatesResponse, DescribeConfigFileReleaseVersionsRequest, ModifyCloudNativeAPIGatewayRouteRateLimitRequest, ModifyCloudNativeAPIGatewayCertificateRequest, DeleteGovernanceAliasesResponse, DeleteAutoScalerResourceStrategyRequest, CreateGovernanceInstancesResponse, DeleteEngineResponse, ModifyCloudNativeAPIGatewayCanaryRuleRequest, DescribeCloudNativeAPIGatewayPortsResponse, DeleteGovernanceNamespacesRequest, DescribeCloudNativeAPIGatewayConfigResponse, CreateCloudNativeAPIGatewayRouteResponse, DeleteConfigFilesResponse, CreateCloudNativeAPIGatewayServiceRateLimitResponse, DescribeCloudNativeAPIGatewayServiceRateLimitResponse, ModifyGovernanceAliasResponse, DeleteGovernanceInstancesByHostRequest, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewaysResponse, CreateGovernanceNamespacesResponse, CreateConfigFileGroupRequest, DeleteAutoScalerResourceStrategyResponse, DescribeOneCloudNativeAPIGatewayServiceRequest, DeleteGovernanceAliasesRequest, DescribeWafDomainsRequest, ModifyUpstreamNodeStatusResponse, OpenWafProtectionResponse, DescribeCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayRequest, DeleteConfigFileGroupRequest, CreateCloudNativeAPIGatewayCanaryRuleRequest, OpenWafProtectionRequest, DescribeCloudNativeAPIGatewayRoutesRequest, CreateEngineResponse, DescribeNacosServerInterfacesRequest, DescribeSREInstancesRequest, DescribeCloudNativeAPIGatewayInfoByIpRequest, DescribeZookeeperReplicasResponse, ModifyConfigFileGroupRequest, DescribePublicAddressConfigResponse, PublishConfigFilesRequest, DescribeConfigFileReleaseHistoriesRequest, ModifyCloudNativeAPIGatewayRequest, DescribeNativeGatewayServerGroupsResponse, ModifyNativeGatewayServerGroupResponse, DescribeNativeGatewayServiceSourcesResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, DescribeConfigFileGroupsRequest, CreateGovernanceNamespacesRequest, ModifyCloudNativeAPIGatewayRouteRequest, CreateGovernanceAliasResponse, DeleteConfigFileGroupResponse, DescribeGovernanceAliasesRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeAutoScalerResourceStrategyBindingGroupsResponse, DescribeInstanceTagInfosRequest, DeleteGovernanceServicesResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest, DescribeNativeGatewayServiceSourcesRequest, CreateWafDomainsResponse, DescribePublicAddressConfigRequest, CreateConfigFileResponse, DescribeCloudNativeAPIGatewayUpstreamResponse, UpdateUpstreamTargetsRequest, DeleteCloudNativeAPIGatewayServiceResponse, DescribeConfigFileRequest, DeleteNativeGatewayServerGroupRequest, RollbackConfigFileReleasesResponse, DescribeNacosReplicasResponse, DescribeGovernanceInstancesResponse, ModifyGovernanceNamespacesResponse, DescribeCloudNativeAPIGatewaysRequest, DeleteCloudNativeAPIGatewayServiceRequest, DescribePublicNetworkResponse, DescribeInstanceTagInfosResponse, DeleteConfigFilesRequest, DescribeGovernanceServicesResponse, CloseWafProtectionResponse, CreateAutoScalerResourceStrategyResponse, UpdateCloudNativeAPIGatewaySpecRequest, DeleteEngineRequest, ModifyNetworkBasicInfoRequest, DescribeCloudNativeAPIGatewayCanaryRulesResponse, DescribeZookeeperServerInterfacesResponse, DescribeConfigFileReleaseVersionsResponse, DeleteCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayCertificateDetailsResponse, CreateGovernanceServicesResponse, ModifyAutoScalerResourceStrategyRequest, CreateOrUpdateConfigFileAndReleaseResponse, DescribeOneCloudNativeAPIGatewayServiceResponse, DeleteNativeGatewayServiceSourceRequest, RestartSREInstanceResponse, DescribeZookeeperServerInterfacesRequest, DeleteGovernanceServicesRequest, ModifyGovernanceServicesResponse, DeleteConfigFileReleasesRequest, CreateAutoScalerResourceStrategyRequest, ModifyNativeGatewayServiceSourceResponse, DescribeGovernanceServiceContractsResponse, UpdateUpstreamHealthCheckConfigResponse, CreateCloudNativeAPIGatewayRouteRequest, CreateEngineRequest, DeleteWafDomainsResponse, ModifyCloudNativeAPIGatewayRouteRateLimitResponse, DescribeConfigFileReleaseHistoriesResponse, DescribeCloudNativeAPIGatewayCanaryRulesRequest, CreateConfigFileGroupResponse, DescribeCloudNativeAPIGatewayPortsRequest, DescribeGovernanceServicesRequest, DescribeConfigFileReleaseResponse } from "./tse_models";
|
|
4
4
|
/**
|
|
5
5
|
* tse client
|
|
6
6
|
* @class
|
|
@@ -243,6 +243,10 @@ export declare class Client extends AbstractClient {
|
|
|
243
243
|
* 查询网关服务来源实例列表
|
|
244
244
|
*/
|
|
245
245
|
DescribeNativeGatewayServiceSources(req: DescribeNativeGatewayServiceSourcesRequest, cb?: (error: string, rep: DescribeNativeGatewayServiceSourcesResponse) => void): Promise<DescribeNativeGatewayServiceSourcesResponse>;
|
|
246
|
+
/**
|
|
247
|
+
* 根据公网IP查询云原生网关实例信息
|
|
248
|
+
*/
|
|
249
|
+
DescribeCloudNativeAPIGatewayInfoByIp(req: DescribeCloudNativeAPIGatewayInfoByIpRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayInfoByIpResponse) => void): Promise<DescribeCloudNativeAPIGatewayInfoByIpResponse>;
|
|
246
250
|
/**
|
|
247
251
|
* 修改云原生API网关实例分组基础信息
|
|
248
252
|
*/
|
|
@@ -381,6 +381,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
381
381
|
async DescribeNativeGatewayServiceSources(req, cb) {
|
|
382
382
|
return this.request("DescribeNativeGatewayServiceSources", req, cb);
|
|
383
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* 根据公网IP查询云原生网关实例信息
|
|
386
|
+
*/
|
|
387
|
+
async DescribeCloudNativeAPIGatewayInfoByIp(req, cb) {
|
|
388
|
+
return this.request("DescribeCloudNativeAPIGatewayInfoByIp", req, cb);
|
|
389
|
+
}
|
|
384
390
|
/**
|
|
385
391
|
* 修改云原生API网关实例分组基础信息
|
|
386
392
|
*/
|