tencentcloud-sdk-nodejs 4.0.460 → 4.0.462
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 +359 -0
- package/SERVICE_CHANGELOG.md +363 -110
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +14 -2
- package/src/services/bma/v20210624/bma_models.ts +112 -42
- package/src/services/captcha/v20190722/captcha_client.ts +12 -0
- package/src/services/captcha/v20190722/captcha_models.ts +15 -0
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +67 -16
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +570 -202
- package/src/services/essbasic/v20210526/essbasic_client.ts +7 -20
- package/src/services/essbasic/v20210526/essbasic_models.ts +0 -35
- package/src/services/faceid/v20180301/faceid_client.ts +189 -62
- package/src/services/faceid/v20180301/faceid_models.ts +2264 -1531
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +6 -0
- package/src/services/lcic/v20220817/lcic_client.ts +27 -15
- package/src/services/lcic/v20220817/lcic_models.ts +42 -22
- package/src/services/redis/v20180412/redis_models.ts +35 -30
- package/src/services/ssl/v20191205/ssl_client.ts +15 -1
- package/src/services/ssl/v20191205/ssl_models.ts +191 -6
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +1 -1
- package/src/services/tke/v20180525/tke_client.ts +1 -0
- package/src/services/tke/v20180525/tke_models.ts +34 -0
- package/src/services/trp/v20210515/trp_client.ts +202 -67
- package/src/services/trp/v20210515/trp_models.ts +1370 -690
- package/src/services/trtc/v20190722/trtc_client.ts +79 -5
- package/src/services/trtc/v20190722/trtc_models.ts +691 -106
- package/src/services/wedata/v20210820/wedata_client.ts +116 -40
- package/src/services/wedata/v20210820/wedata_models.ts +646 -166
- 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 +96 -38
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +5 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +6 -0
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +13 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +19 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +27 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +476 -168
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -10
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +0 -30
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +46 -3
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +66 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2142 -1511
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -5
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -6
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +38 -20
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +34 -30
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +159 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +29 -0
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +51 -7
- package/tencentcloud/services/trp/v20210515/trp_client.js +75 -9
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +1203 -625
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +32 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +37 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +556 -60
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +36 -12
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +51 -15
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +554 -149
- package/test/bma.v20210624.test.js +10 -0
- package/test/captcha.v20190722.test.js +10 -0
- package/test/cynosdb.v20190107.test.js +42 -2
- package/test/essbasic.v20210526.test.js +2 -12
- package/test/faceid.v20180301.test.js +102 -2
- package/test/lcic.v20220817.test.js +14 -4
- package/test/ssl.v20191205.test.js +10 -0
- package/test/trp.v20210515.test.js +116 -6
- package/test/trtc.v20190722.test.js +30 -0
- package/test/wedata.v20210820.test.js +68 -8
|
@@ -120,6 +120,12 @@ ye1y7d :事件7天存储年套餐。
|
|
|
120
120
|
ye1y30d :事件30天存储年套餐。
|
|
121
121
|
yc1w7d : 全时7天存储周套餐。
|
|
122
122
|
ye1w7d : 事件7天存储周套餐。
|
|
123
|
+
lye1m3d:低功耗事件3天月套餐。
|
|
124
|
+
lye1m7d:低功耗事件7天月套餐。
|
|
125
|
+
lye1m30d:低功耗事件30天月套餐。
|
|
126
|
+
lye1y3d:低功耗事件3天年套餐。
|
|
127
|
+
lye1y7d:低功耗事件7天年套餐。
|
|
128
|
+
lye1y30d:低功耗事件30天年套餐。
|
|
123
129
|
*/
|
|
124
130
|
PackageId: string
|
|
125
131
|
|
|
@@ -19,20 +19,22 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
CreateRoomRequest,
|
|
22
|
-
|
|
22
|
+
RegisterUserResponse,
|
|
23
|
+
DeleteRoomRequest,
|
|
23
24
|
CreateSupervisorRequest,
|
|
24
25
|
DescribeRoomResponse,
|
|
25
26
|
RegisterUserRequest,
|
|
26
27
|
LoginOriginIdRequest,
|
|
27
28
|
DescribeUserRequest,
|
|
28
|
-
|
|
29
|
+
DeleteRoomResponse,
|
|
29
30
|
CreateDocumentResponse,
|
|
30
31
|
LoginUserRequest,
|
|
31
32
|
CreateSupervisorResponse,
|
|
33
|
+
SetAppCustomContentResponse,
|
|
32
34
|
CreateDocumentRequest,
|
|
33
35
|
CreateRoomResponse,
|
|
34
36
|
DescribeUserResponse,
|
|
35
|
-
|
|
37
|
+
SetAppCustomContentRequest,
|
|
36
38
|
DescribeRoomRequest,
|
|
37
39
|
LoginOriginIdResponse,
|
|
38
40
|
LoginUserResponse,
|
|
@@ -58,6 +60,16 @@ export class Client extends AbstractClient {
|
|
|
58
60
|
return this.request("CreateDocument", req, cb)
|
|
59
61
|
}
|
|
60
62
|
|
|
63
|
+
/**
|
|
64
|
+
* 设置应用的自定义内容,包括应用图标,自定义的代码等。如果已存在,则为更新。更新js、css内容后,要生效也需要调用该接口
|
|
65
|
+
*/
|
|
66
|
+
async SetAppCustomContent(
|
|
67
|
+
req: SetAppCustomContentRequest,
|
|
68
|
+
cb?: (error: string, rep: SetAppCustomContentResponse) => void
|
|
69
|
+
): Promise<SetAppCustomContentResponse> {
|
|
70
|
+
return this.request("SetAppCustomContent", req, cb)
|
|
71
|
+
}
|
|
72
|
+
|
|
61
73
|
/**
|
|
62
74
|
* 获取用户信息
|
|
63
75
|
*/
|
|
@@ -79,13 +91,13 @@ export class Client extends AbstractClient {
|
|
|
79
91
|
}
|
|
80
92
|
|
|
81
93
|
/**
|
|
82
|
-
*
|
|
94
|
+
* 删除房间
|
|
83
95
|
*/
|
|
84
|
-
async
|
|
85
|
-
req:
|
|
86
|
-
cb?: (error: string, rep:
|
|
87
|
-
): Promise<
|
|
88
|
-
return this.request("
|
|
96
|
+
async DeleteRoom(
|
|
97
|
+
req: DeleteRoomRequest,
|
|
98
|
+
cb?: (error: string, rep: DeleteRoomResponse) => void
|
|
99
|
+
): Promise<DeleteRoomResponse> {
|
|
100
|
+
return this.request("DeleteRoom", req, cb)
|
|
89
101
|
}
|
|
90
102
|
|
|
91
103
|
/**
|
|
@@ -109,13 +121,13 @@ export class Client extends AbstractClient {
|
|
|
109
121
|
}
|
|
110
122
|
|
|
111
123
|
/**
|
|
112
|
-
*
|
|
124
|
+
* 注册用户
|
|
113
125
|
*/
|
|
114
|
-
async
|
|
115
|
-
req:
|
|
116
|
-
cb?: (error: string, rep:
|
|
117
|
-
): Promise<
|
|
118
|
-
return this.request("
|
|
126
|
+
async RegisterUser(
|
|
127
|
+
req: RegisterUserRequest,
|
|
128
|
+
cb?: (error: string, rep: RegisterUserResponse) => void
|
|
129
|
+
): Promise<RegisterUserResponse> {
|
|
130
|
+
return this.request("RegisterUser", req, cb)
|
|
119
131
|
}
|
|
120
132
|
|
|
121
133
|
/**
|
|
@@ -98,18 +98,33 @@ coteaching 双师
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* RegisterUser返回参数结构体
|
|
102
102
|
*/
|
|
103
|
-
export interface
|
|
103
|
+
export interface RegisterUserResponse {
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 用户Id。
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
UserId: string
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* 登录/注册成功后返回登录态token。有效期7天。
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
Token: string
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
116
|
+
*/
|
|
117
|
+
RequestId?: string
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* DeleteRoom请求参数结构体
|
|
122
|
+
*/
|
|
123
|
+
export interface DeleteRoomRequest {
|
|
124
|
+
/**
|
|
125
|
+
* 房间ID。
|
|
126
|
+
*/
|
|
127
|
+
RoomId: number
|
|
113
128
|
}
|
|
114
129
|
|
|
115
130
|
/**
|
|
@@ -251,19 +266,9 @@ export interface DescribeUserRequest {
|
|
|
251
266
|
}
|
|
252
267
|
|
|
253
268
|
/**
|
|
254
|
-
*
|
|
269
|
+
* DeleteRoom返回参数结构体
|
|
255
270
|
*/
|
|
256
|
-
export interface
|
|
257
|
-
/**
|
|
258
|
-
* 用户Id。
|
|
259
|
-
*/
|
|
260
|
-
UserId: string
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* 登录/注册成功后返回登录态token。有效期7天。
|
|
264
|
-
*/
|
|
265
|
-
Token: string
|
|
266
|
-
|
|
271
|
+
export interface DeleteRoomResponse {
|
|
267
272
|
/**
|
|
268
273
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
269
274
|
*/
|
|
@@ -305,6 +310,16 @@ export interface CreateSupervisorResponse {
|
|
|
305
310
|
RequestId?: string
|
|
306
311
|
}
|
|
307
312
|
|
|
313
|
+
/**
|
|
314
|
+
* SetAppCustomContent返回参数结构体
|
|
315
|
+
*/
|
|
316
|
+
export interface SetAppCustomContentResponse {
|
|
317
|
+
/**
|
|
318
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
319
|
+
*/
|
|
320
|
+
RequestId?: string
|
|
321
|
+
}
|
|
322
|
+
|
|
308
323
|
/**
|
|
309
324
|
* CreateDocument请求参数结构体
|
|
310
325
|
*/
|
|
@@ -402,13 +417,18 @@ export interface DescribeUserResponse {
|
|
|
402
417
|
}
|
|
403
418
|
|
|
404
419
|
/**
|
|
405
|
-
* SetAppCustomContent
|
|
420
|
+
* SetAppCustomContent请求参数结构体
|
|
406
421
|
*/
|
|
407
|
-
export interface
|
|
422
|
+
export interface SetAppCustomContentRequest {
|
|
408
423
|
/**
|
|
409
|
-
*
|
|
424
|
+
* 自定义内容。
|
|
410
425
|
*/
|
|
411
|
-
|
|
426
|
+
CustomContent: Array<AppCustomContent>
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* 应用ID。
|
|
430
|
+
*/
|
|
431
|
+
SdkAppId: number
|
|
412
432
|
}
|
|
413
433
|
|
|
414
434
|
/**
|
|
@@ -831,12 +831,12 @@ export interface DeleteParamTemplateResponse {
|
|
|
831
831
|
*/
|
|
832
832
|
export interface DescribeInstancesResponse {
|
|
833
833
|
/**
|
|
834
|
-
*
|
|
834
|
+
* 实例总数量。
|
|
835
835
|
*/
|
|
836
836
|
TotalCount: number
|
|
837
837
|
|
|
838
838
|
/**
|
|
839
|
-
*
|
|
839
|
+
* 实例详细信息列表。
|
|
840
840
|
*/
|
|
841
841
|
InstanceSet: Array<InstanceSet>
|
|
842
842
|
|
|
@@ -3578,134 +3578,139 @@ export interface Groups {
|
|
|
3578
3578
|
*/
|
|
3579
3579
|
export interface DescribeInstancesRequest {
|
|
3580
3580
|
/**
|
|
3581
|
-
*
|
|
3581
|
+
* 实例数量,参数默认值20,最大值为1000。
|
|
3582
3582
|
*/
|
|
3583
3583
|
Limit?: number
|
|
3584
3584
|
|
|
3585
3585
|
/**
|
|
3586
|
-
* 偏移量,取Limit
|
|
3586
|
+
* 偏移量,取Limit整数倍。
|
|
3587
3587
|
*/
|
|
3588
3588
|
Offset?: number
|
|
3589
3589
|
|
|
3590
3590
|
/**
|
|
3591
|
-
* 实例
|
|
3591
|
+
* 实例 ID,如:crs-6ubhgouj。
|
|
3592
3592
|
*/
|
|
3593
3593
|
InstanceId?: string
|
|
3594
3594
|
|
|
3595
3595
|
/**
|
|
3596
|
-
*
|
|
3596
|
+
* 实例排序依据,枚举值如下所示:<ul><li>projectId:项目ID。</li><li>createtime:实例创建时间。</li><li>instancename:实例名称。</li><li>type:实例类型。</li><li>curDeadline:实例到期时间。</li></ul>
|
|
3597
3597
|
*/
|
|
3598
3598
|
OrderBy?: string
|
|
3599
3599
|
|
|
3600
3600
|
/**
|
|
3601
|
-
* 1
|
|
3601
|
+
* 实例排序方式,默认为倒序排序。<ul><li>1:倒序。</li><li>0:顺序。</li></ul>
|
|
3602
3602
|
*/
|
|
3603
3603
|
OrderType?: number
|
|
3604
3604
|
|
|
3605
3605
|
/**
|
|
3606
|
-
* 私有网络ID
|
|
3606
|
+
* 私有网络 ID 数组。如果不配置该参数或设置数组为空则默认选择基础网络。例如47525。该参数暂时保留,可忽略。请根据 UniqVpcIds 参数格式设置私有网络ID数组。
|
|
3607
3607
|
*/
|
|
3608
3608
|
VpcIds?: Array<string>
|
|
3609
3609
|
|
|
3610
3610
|
/**
|
|
3611
|
-
*
|
|
3611
|
+
* 私有网络所属子网 ID 数组,例如:56854。该参数暂时保留,可忽略。请根据 UniqSubnetIds 参数格式设置私有网络子网 ID 数组。
|
|
3612
3612
|
*/
|
|
3613
3613
|
SubnetIds?: Array<string>
|
|
3614
3614
|
|
|
3615
3615
|
/**
|
|
3616
|
-
*
|
|
3616
|
+
* 设置模糊查询关键字,支持根据实例名称或实例ID模糊查询实例。
|
|
3617
3617
|
*/
|
|
3618
|
-
|
|
3618
|
+
SearchKey?: string
|
|
3619
3619
|
|
|
3620
3620
|
/**
|
|
3621
|
-
*
|
|
3621
|
+
* 项目 ID 组成的数组。
|
|
3622
3622
|
*/
|
|
3623
|
-
|
|
3623
|
+
ProjectIds?: Array<number>
|
|
3624
3624
|
|
|
3625
3625
|
/**
|
|
3626
|
-
*
|
|
3626
|
+
* 实例名称。
|
|
3627
3627
|
*/
|
|
3628
3628
|
InstanceName?: string
|
|
3629
3629
|
|
|
3630
3630
|
/**
|
|
3631
|
-
* 私有网络ID
|
|
3631
|
+
* 私有网络 ID 数组。如果不配置该参数或者设置数组为空则默认选择基础网络,如:vpc-sad23jfdfk。
|
|
3632
3632
|
*/
|
|
3633
3633
|
UniqVpcIds?: Array<string>
|
|
3634
3634
|
|
|
3635
3635
|
/**
|
|
3636
|
-
*
|
|
3636
|
+
* 私有网络所属子网 ID 数组,如:subnet-fdj24n34j2。
|
|
3637
3637
|
*/
|
|
3638
3638
|
UniqSubnetIds?: Array<string>
|
|
3639
3639
|
|
|
3640
3640
|
/**
|
|
3641
|
-
* 地域ID
|
|
3641
|
+
* 地域 ID 数组,该参数已经弃用,可通过公共参数Region查询对应地域。
|
|
3642
3642
|
*/
|
|
3643
3643
|
RegionIds?: Array<number>
|
|
3644
3644
|
|
|
3645
3645
|
/**
|
|
3646
|
-
*
|
|
3646
|
+
* 实例状态。<ul><li>0:待初始化。</li><li>1:流程中。</li><li>2:运行中。</li><li>-2:已隔离。</li><li>-3:待删除。</li></ul>
|
|
3647
3647
|
*/
|
|
3648
3648
|
Status?: Array<number>
|
|
3649
3649
|
|
|
3650
3650
|
/**
|
|
3651
|
-
*
|
|
3651
|
+
* 实例架构版本。<ul><li>1:单机版。</li><li>2:主从版。</li><li>3:集群版。</li></ul>
|
|
3652
3652
|
*/
|
|
3653
3653
|
TypeVersion?: number
|
|
3654
3654
|
|
|
3655
3655
|
/**
|
|
3656
|
-
*
|
|
3656
|
+
* 存储引擎信息。可设置为Redis-2.8、Redis-4.0、Redis-5.0、Redis-6.0 或者 CKV。
|
|
3657
3657
|
*/
|
|
3658
3658
|
EngineName?: string
|
|
3659
3659
|
|
|
3660
3660
|
/**
|
|
3661
|
-
*
|
|
3661
|
+
* 续费模式。<ul><li>0:默认状态(手动续费)。</li><li>1:自动续费。</li><li>2:明确不自动续费。</ul>
|
|
3662
3662
|
*/
|
|
3663
3663
|
AutoRenew?: Array<number>
|
|
3664
3664
|
|
|
3665
3665
|
/**
|
|
3666
|
-
*
|
|
3666
|
+
* 计费模式。<ul><li>postpaid:按量计费。</li><li>prepaid:包年包月。</li></ul>
|
|
3667
3667
|
*/
|
|
3668
3668
|
BillingMode?: string
|
|
3669
3669
|
|
|
3670
3670
|
/**
|
|
3671
|
-
*
|
|
3671
|
+
* 实例类型。<ul><li>1:Redis 老集群版。</li><li>2:Redis 2.8 主从版。</li><li>3:CKV 主从版。</li><li>4:CKV 集群版。</li><li>5:Redis 2.8 单机版。</li><li>6:Redis 4.0主从版。</li><li>7:Redis 4.0 集群版。</li><li>8:Redis 5.0 主从版。</li><li>9:Redis 5.0 集群版。</li></ul>
|
|
3672
3672
|
*/
|
|
3673
3673
|
Type?: number
|
|
3674
3674
|
|
|
3675
3675
|
/**
|
|
3676
|
-
*
|
|
3676
|
+
* 设置搜索关键字数组,可根据实例ID、实例名称、完整IP地址查询实例。
|
|
3677
3677
|
*/
|
|
3678
3678
|
SearchKeys?: Array<string>
|
|
3679
3679
|
|
|
3680
3680
|
/**
|
|
3681
|
-
*
|
|
3681
|
+
* 内部参数,用户可忽略。
|
|
3682
3682
|
*/
|
|
3683
3683
|
TypeList?: Array<number>
|
|
3684
3684
|
|
|
3685
3685
|
/**
|
|
3686
|
-
*
|
|
3686
|
+
* 内部参数,用户可忽略。
|
|
3687
3687
|
*/
|
|
3688
3688
|
MonitorVersion?: string
|
|
3689
3689
|
|
|
3690
3690
|
/**
|
|
3691
|
-
* 根据标签的Key和Value
|
|
3691
|
+
* 根据标签的 Key 和 Value 筛选资源。该参数不配置或者数组设置为空值,则不根据标签进行过滤。
|
|
3692
3692
|
*/
|
|
3693
3693
|
InstanceTags?: Array<InstanceTagInfo>
|
|
3694
3694
|
|
|
3695
3695
|
/**
|
|
3696
|
-
* 根据标签的Key
|
|
3696
|
+
* 根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。
|
|
3697
3697
|
*/
|
|
3698
3698
|
TagKeys?: Array<string>
|
|
3699
3699
|
|
|
3700
3700
|
/**
|
|
3701
|
-
*
|
|
3701
|
+
* 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>cloud:云盘版。</li><li>cdc:独享集群版。</li></ul>
|
|
3702
3702
|
*/
|
|
3703
3703
|
ProductVersions?: Array<string>
|
|
3704
3704
|
|
|
3705
3705
|
/**
|
|
3706
|
-
* 批量查询指定的实例
|
|
3706
|
+
* 批量查询指定的实例 ID,返回结果已 Limit 限制为主。
|
|
3707
3707
|
*/
|
|
3708
3708
|
InstanceIds?: Array<string>
|
|
3709
|
+
|
|
3710
|
+
/**
|
|
3711
|
+
* 可用区模式。<ul><li>singleaz:单可用区。</li><li>multiaz:多可用区。</li></ul>
|
|
3712
|
+
*/
|
|
3713
|
+
AzMode?: string
|
|
3709
3714
|
}
|
|
3710
3715
|
|
|
3711
3716
|
/**
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
CommitCertificateInformationRequest,
|
|
29
29
|
DownloadCertificateResponse,
|
|
30
30
|
ReplaceCertificateResponse,
|
|
31
|
+
PackageInfo,
|
|
31
32
|
SubmitAuditManagerResponse,
|
|
32
33
|
DownloadCertificateRequest,
|
|
33
34
|
CancelCertificateOrderRequest,
|
|
@@ -40,6 +41,7 @@ import {
|
|
|
40
41
|
DescribeCertificateResponse,
|
|
41
42
|
HostCertificateResponse,
|
|
42
43
|
UploadConfirmLetterRequest,
|
|
44
|
+
PackageTransferOutInfo,
|
|
43
45
|
OperationLog,
|
|
44
46
|
VerifyManagerResponse,
|
|
45
47
|
DescribeCertificateDetailRequest,
|
|
@@ -74,14 +76,16 @@ import {
|
|
|
74
76
|
UploadConfirmLetterResponse,
|
|
75
77
|
DeleteManagerResponse,
|
|
76
78
|
VerifyManagerRequest,
|
|
77
|
-
RevokeDomainValidateAuths,
|
|
78
79
|
UploadCertificateResponse,
|
|
80
|
+
RevokeDomainValidateAuths,
|
|
81
|
+
DescribePackagesRequest,
|
|
79
82
|
CheckCertificateChainRequest,
|
|
80
83
|
ModifyCertificateAliasResponse,
|
|
81
84
|
DescribeManagerDetailResponse,
|
|
82
85
|
ManagerStatusInfo,
|
|
83
86
|
SubmitCertificateInformationRequest,
|
|
84
87
|
DescribeCertificatesRequest,
|
|
88
|
+
DescribePackagesResponse,
|
|
85
89
|
DescribeManagersRequest,
|
|
86
90
|
CompleteCertificateResponse,
|
|
87
91
|
SubmitCertificateInformationResponse,
|
|
@@ -108,6 +112,16 @@ export class Client extends AbstractClient {
|
|
|
108
112
|
return this.request("DescribeCertificates", req, cb)
|
|
109
113
|
}
|
|
110
114
|
|
|
115
|
+
/**
|
|
116
|
+
* 获得权益包列表
|
|
117
|
+
*/
|
|
118
|
+
async DescribePackages(
|
|
119
|
+
req: DescribePackagesRequest,
|
|
120
|
+
cb?: (error: string, rep: DescribePackagesResponse) => void
|
|
121
|
+
): Promise<DescribePackagesResponse> {
|
|
122
|
+
return this.request("DescribePackages", req, cb)
|
|
123
|
+
}
|
|
124
|
+
|
|
111
125
|
/**
|
|
112
126
|
* 本接口(UploadRevokeLetter)用于上传证书吊销确认函。
|
|
113
127
|
*/
|
|
@@ -258,6 +258,68 @@ export interface ReplaceCertificateResponse {
|
|
|
258
258
|
RequestId?: string
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
/**
|
|
262
|
+
* 权益包基本信息
|
|
263
|
+
*/
|
|
264
|
+
export interface PackageInfo {
|
|
265
|
+
/**
|
|
266
|
+
* 权益包ID。
|
|
267
|
+
*/
|
|
268
|
+
PackageId: string
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* 权益包内权益点总量。
|
|
272
|
+
*/
|
|
273
|
+
Total: number
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* 权益包内权益点余量。
|
|
277
|
+
*/
|
|
278
|
+
Balance: number
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* 权益包名称。
|
|
282
|
+
*/
|
|
283
|
+
Type: string
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* 权益点是转入时,来源信息。
|
|
287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
288
|
+
*/
|
|
289
|
+
SourceUin: number
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* 权益点状态。
|
|
293
|
+
*/
|
|
294
|
+
Status: string
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* 过期时间。
|
|
298
|
+
*/
|
|
299
|
+
ExpireTime: string
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* 更新时间。
|
|
303
|
+
*/
|
|
304
|
+
UpdateTime: string
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* 生成时间。
|
|
308
|
+
*/
|
|
309
|
+
CreateTime: string
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* 来源类型。
|
|
313
|
+
*/
|
|
314
|
+
SourceType: string
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* 转移信息。
|
|
318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
319
|
+
*/
|
|
320
|
+
TransferOutInfos: Array<PackageTransferOutInfo>
|
|
321
|
+
}
|
|
322
|
+
|
|
261
323
|
/**
|
|
262
324
|
* SubmitAuditManager返回参数结构体
|
|
263
325
|
*/
|
|
@@ -868,6 +930,64 @@ export interface UploadConfirmLetterRequest {
|
|
|
868
930
|
ConfirmLetter: string
|
|
869
931
|
}
|
|
870
932
|
|
|
933
|
+
/**
|
|
934
|
+
* 权益包转出详情
|
|
935
|
+
*/
|
|
936
|
+
export interface PackageTransferOutInfo {
|
|
937
|
+
/**
|
|
938
|
+
* 权益包ID。
|
|
939
|
+
*/
|
|
940
|
+
PackageId: string
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* 转移码。
|
|
944
|
+
*/
|
|
945
|
+
TransferCode: string
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* 本次转移点数。
|
|
949
|
+
*/
|
|
950
|
+
TransferCount: number
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* 转入的PackageID。
|
|
954
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
955
|
+
*/
|
|
956
|
+
ReceivePackageId: string
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* 本次转移过期时间。
|
|
960
|
+
*/
|
|
961
|
+
ExpireTime: string
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* 本次转移生成时间。
|
|
965
|
+
*/
|
|
966
|
+
CreateTime: string
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* 本次转移更新时间。
|
|
970
|
+
*/
|
|
971
|
+
UpdateTime: string
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* 转移状态。
|
|
975
|
+
*/
|
|
976
|
+
TransferStatus: string
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* 接收者uin。
|
|
980
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
981
|
+
*/
|
|
982
|
+
ReceiverUin: number
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* 接收时间。
|
|
986
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
987
|
+
*/
|
|
988
|
+
ReceiveTime: string
|
|
989
|
+
}
|
|
990
|
+
|
|
871
991
|
/**
|
|
872
992
|
* 证书操作日志。
|
|
873
993
|
*/
|
|
@@ -1823,6 +1943,21 @@ export interface VerifyManagerRequest {
|
|
|
1823
1943
|
ManagerId: number
|
|
1824
1944
|
}
|
|
1825
1945
|
|
|
1946
|
+
/**
|
|
1947
|
+
* UploadCertificate返回参数结构体
|
|
1948
|
+
*/
|
|
1949
|
+
export interface UploadCertificateResponse {
|
|
1950
|
+
/**
|
|
1951
|
+
* 证书 ID。
|
|
1952
|
+
*/
|
|
1953
|
+
CertificateId: string
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1957
|
+
*/
|
|
1958
|
+
RequestId?: string
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1826
1961
|
/**
|
|
1827
1962
|
* 返回参数键为 RevokeDomainValidateAuths 的内容。
|
|
1828
1963
|
*/
|
|
@@ -1853,18 +1988,43 @@ export interface RevokeDomainValidateAuths {
|
|
|
1853
1988
|
}
|
|
1854
1989
|
|
|
1855
1990
|
/**
|
|
1856
|
-
*
|
|
1991
|
+
* DescribePackages请求参数结构体
|
|
1857
1992
|
*/
|
|
1858
|
-
export interface
|
|
1993
|
+
export interface DescribePackagesRequest {
|
|
1859
1994
|
/**
|
|
1860
|
-
*
|
|
1995
|
+
* 偏移量,默认0。
|
|
1861
1996
|
*/
|
|
1862
|
-
|
|
1997
|
+
Offset?: number
|
|
1863
1998
|
|
|
1864
1999
|
/**
|
|
1865
|
-
*
|
|
2000
|
+
* 限制数目,默认20。
|
|
1866
2001
|
*/
|
|
1867
|
-
|
|
2002
|
+
Limit?: number
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* 按状态筛选。
|
|
2006
|
+
*/
|
|
2007
|
+
Status?: string
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* 按过期时间升序或降序排列。
|
|
2011
|
+
*/
|
|
2012
|
+
ExpireTime?: string
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* 按权益包ID搜索。
|
|
2016
|
+
*/
|
|
2017
|
+
PackageId?: string
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* 按权益包类型搜索。
|
|
2021
|
+
*/
|
|
2022
|
+
Type?: string
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* 子产品编号
|
|
2026
|
+
*/
|
|
2027
|
+
Pid?: number
|
|
1868
2028
|
}
|
|
1869
2029
|
|
|
1870
2030
|
/**
|
|
@@ -2199,6 +2359,31 @@ export interface DescribeCertificatesRequest {
|
|
|
2199
2359
|
IsSM?: number
|
|
2200
2360
|
}
|
|
2201
2361
|
|
|
2362
|
+
/**
|
|
2363
|
+
* DescribePackages返回参数结构体
|
|
2364
|
+
*/
|
|
2365
|
+
export interface DescribePackagesResponse {
|
|
2366
|
+
/**
|
|
2367
|
+
* 权益包列表。
|
|
2368
|
+
*/
|
|
2369
|
+
Packages: Array<PackageInfo>
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* 总条数。
|
|
2373
|
+
*/
|
|
2374
|
+
TotalCount: number
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* 权益点总余额。
|
|
2378
|
+
*/
|
|
2379
|
+
TotalBalance: number
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2383
|
+
*/
|
|
2384
|
+
RequestId?: string
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2202
2387
|
/**
|
|
2203
2388
|
* DescribeManagers请求参数结构体
|
|
2204
2389
|
*/
|