tencentcloud-sdk-nodejs 4.0.330 → 4.0.331
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 +349 -0
- package/SERVICE_CHANGELOG.md +597 -23
- package/package.json +1 -1
- package/products.md +20 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +5 -5
- package/src/services/apigateway/v20180808/apigateway_models.ts +116 -86
- package/src/services/car/index.ts +5 -0
- package/src/services/car/v20220110/car_client.ts +67 -0
- package/src/services/car/v20220110/car_models.ts +106 -0
- package/src/services/car/v20220110/index.ts +6 -0
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cdn/v20180606/cdn_client.ts +3 -1
- package/src/services/cdn/v20180606/cdn_models.ts +67 -9
- package/src/services/ckafka/v20190819/ckafka_models.ts +12 -2
- package/src/services/cls/v20201016/cls_models.ts +12 -0
- package/src/services/cvm/v20170312/cvm_models.ts +17 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +145 -34
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +646 -91
- package/src/services/dlc/v20210125/dlc_models.ts +24 -1
- package/src/services/domain/v20180808/domain_client.ts +15 -2
- package/src/services/domain/v20180808/domain_models.ts +202 -30
- package/src/services/ess/v20201111/ess_models.ts +4 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +11 -6
- package/src/services/rce/v20201103/rce_models.ts +11 -0
- package/src/services/redis/v20180412/redis_client.ts +37 -13
- package/src/services/redis/v20180412/redis_models.ts +113 -53
- package/src/services/vod/v20180717/vod_models.ts +22 -2
- package/src/services/waf/v20180125/waf_client.ts +14 -0
- package/src/services/waf/v20180125/waf_models.ts +73 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +110 -86
- package/tencentcloud/services/car/index.d.ts +6 -0
- package/tencentcloud/services/car/index.js +7 -0
- package/tencentcloud/services/car/v20220110/car_client.d.ts +22 -0
- package/tencentcloud/services/car/v20220110/car_client.js +49 -0
- package/tencentcloud/services/car/v20220110/car_models.d.ts +78 -0
- package/tencentcloud/services/car/v20220110/car_models.js +18 -0
- package/tencentcloud/services/car/v20220110/index.d.ts +6 -0
- package/tencentcloud/services/car/v20220110/index.js +9 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +57 -8
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +10 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +47 -11
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +69 -15
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +534 -69
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -1
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +179 -30
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -5
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +9 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +13 -5
- package/tencentcloud/services/redis/v20180412/redis_client.js +18 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +96 -44
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +18 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +62 -2
- package/test/car.v20220110.test.js +51 -0
- package/test/dbbrain.v20210527.test.js +100 -10
- package/test/domain.v20180808.test.js +10 -0
- package/test/redis.v20180412.test.js +24 -4
- package/test/waf.v20180125.test.js +10 -0
|
@@ -491,6 +491,7 @@ task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a
|
|
|
491
491
|
task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
|
|
492
492
|
task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
|
|
493
493
|
task-operator- string (子uin过滤)
|
|
494
|
+
task-kind - string (任务类型过滤)
|
|
494
495
|
*/
|
|
495
496
|
Filters?: Array<Filter>
|
|
496
497
|
|
|
@@ -817,7 +818,7 @@ export interface DescribeUsersRequest {
|
|
|
817
818
|
Sorting?: string
|
|
818
819
|
|
|
819
820
|
/**
|
|
820
|
-
* 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。
|
|
821
|
+
* 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。user-keyword:根据用户名称过滤
|
|
821
822
|
*/
|
|
822
823
|
Filters?: Array<Filter>
|
|
823
824
|
}
|
|
@@ -979,6 +980,12 @@ export interface UserInfo {
|
|
|
979
980
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
980
981
|
*/
|
|
981
982
|
UserType: string
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* 用户别名
|
|
986
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
987
|
+
*/
|
|
988
|
+
UserAlias: string
|
|
982
989
|
}
|
|
983
990
|
|
|
984
991
|
/**
|
|
@@ -1189,6 +1196,12 @@ export interface TaskResponseInfo {
|
|
|
1189
1196
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1190
1197
|
*/
|
|
1191
1198
|
CanDownload: boolean
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* 用户别名
|
|
1202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1203
|
+
*/
|
|
1204
|
+
UserAlias: string
|
|
1192
1205
|
}
|
|
1193
1206
|
|
|
1194
1207
|
/**
|
|
@@ -1512,6 +1525,11 @@ export interface CreateUserRequest {
|
|
|
1512
1525
|
* 绑定到用户的工作组ID集合。
|
|
1513
1526
|
*/
|
|
1514
1527
|
WorkGroupIds?: Array<number>
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* 用户别名,字符长度小50
|
|
1531
|
+
*/
|
|
1532
|
+
UserAlias?: string
|
|
1515
1533
|
}
|
|
1516
1534
|
|
|
1517
1535
|
/**
|
|
@@ -2253,6 +2271,11 @@ export interface UserMessage {
|
|
|
2253
2271
|
* 当前用户的创建时间,形如2021-07-28 16:19:32
|
|
2254
2272
|
*/
|
|
2255
2273
|
CreateTime: string
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* 用户别名
|
|
2277
|
+
*/
|
|
2278
|
+
UserAlias: string
|
|
2256
2279
|
}
|
|
2257
2280
|
|
|
2258
2281
|
/**
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
UploadImageResponse,
|
|
22
22
|
RenewDomainBatchResponse,
|
|
23
23
|
BatchModifyDomainInfoRequest,
|
|
24
|
-
|
|
24
|
+
DomainSimpleInfo,
|
|
25
25
|
UpdateProhibitionBatchRequest,
|
|
26
26
|
TransferInDomainBatchResponse,
|
|
27
27
|
DeleteTemplateResponse,
|
|
@@ -34,12 +34,14 @@ import {
|
|
|
34
34
|
DescribeTemplateResponse,
|
|
35
35
|
UpdateProhibitionBatchResponse,
|
|
36
36
|
CheckDomainResponse,
|
|
37
|
+
DescribeDomainSimpleInfoRequest,
|
|
37
38
|
CreatePhoneEmailRequest,
|
|
38
39
|
PriceInfo,
|
|
39
40
|
DescribeTemplateRequest,
|
|
40
41
|
RenewDomainBatchRequest,
|
|
41
42
|
BatchModifyDomainInfoResponse,
|
|
42
43
|
ModifyDomainOwnerBatchResponse,
|
|
44
|
+
TemplateInfo,
|
|
43
45
|
DescribeDomainBaseInfoResponse,
|
|
44
46
|
DescribeTemplateListResponse,
|
|
45
47
|
TransferProhibitionBatchRequest,
|
|
@@ -58,7 +60,7 @@ import {
|
|
|
58
60
|
DomainList,
|
|
59
61
|
DescribeDomainPriceListRequest,
|
|
60
62
|
CreateDomainBatchRequest,
|
|
61
|
-
|
|
63
|
+
DescribeDomainSimpleInfoResponse,
|
|
62
64
|
DescribeDomainBaseInfoRequest,
|
|
63
65
|
DescribePhoneEmailListRequest,
|
|
64
66
|
DomainBaseInfo,
|
|
@@ -77,6 +79,7 @@ import {
|
|
|
77
79
|
CreatePhoneEmailResponse,
|
|
78
80
|
SetDomainAutoRenewRequest,
|
|
79
81
|
ModifyDomainOwnerBatchRequest,
|
|
82
|
+
SendPhoneEmailCodeRequest,
|
|
80
83
|
DomainBatchLogSet,
|
|
81
84
|
} from "./domain_models"
|
|
82
85
|
|
|
@@ -323,6 +326,16 @@ export class Client extends AbstractClient {
|
|
|
323
326
|
return this.request("SendPhoneEmailCode", req, cb)
|
|
324
327
|
}
|
|
325
328
|
|
|
329
|
+
/**
|
|
330
|
+
* 获取域名实名信息详情
|
|
331
|
+
*/
|
|
332
|
+
async DescribeDomainSimpleInfo(
|
|
333
|
+
req: DescribeDomainSimpleInfoRequest,
|
|
334
|
+
cb?: (error: string, rep: DescribeDomainSimpleInfoResponse) => void
|
|
335
|
+
): Promise<DescribeDomainSimpleInfoResponse> {
|
|
336
|
+
return this.request("DescribeDomainSimpleInfo", req, cb)
|
|
337
|
+
}
|
|
338
|
+
|
|
326
339
|
/**
|
|
327
340
|
* 按照域名后缀获取对应的价格列表
|
|
328
341
|
*/
|
|
@@ -68,63 +68,145 @@ false:关闭60天内禁止转移注册商锁定
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* 获取域名基础模板信息
|
|
72
72
|
*/
|
|
73
|
-
export interface
|
|
73
|
+
export interface DomainSimpleInfo {
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* 域名资源ID。
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
DomainId: string
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* 域名名称。
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
DomainName: string
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
|
|
85
|
+
* 域名实名认证状态。
|
|
86
|
+
NotUpload:未实名认证
|
|
87
|
+
InAudit:实名审核中
|
|
88
|
+
Approved:实名审核通过
|
|
89
|
+
Reject:实名审核失败
|
|
90
|
+
NoAudit: 无需实名认证
|
|
91
|
+
*/
|
|
92
|
+
RealNameAuditStatus: string
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* 域名实名认证不通过原因。
|
|
96
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
97
|
+
*/
|
|
98
|
+
RealNameAuditUnpassReason: string
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* 域名命名审核状态。
|
|
102
|
+
NotAudit:命名审核未上传
|
|
103
|
+
Pending:命名审核待上传
|
|
104
|
+
Auditing:域名命名审核中
|
|
105
|
+
Approved:域名命名审核通过
|
|
106
|
+
Rejected:域名命名审核拒绝
|
|
107
|
+
*/
|
|
108
|
+
DomainNameAuditStatus: string
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* 域名命名审核不通过原因。
|
|
112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
113
|
+
*/
|
|
114
|
+
DomainNameAuditUnpassReason: string
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* 注册时间。
|
|
86
118
|
*/
|
|
87
|
-
|
|
119
|
+
CreationDate: string
|
|
88
120
|
|
|
89
121
|
/**
|
|
90
|
-
*
|
|
122
|
+
* 到期时间
|
|
91
123
|
*/
|
|
92
|
-
|
|
124
|
+
ExpirationDate: string
|
|
93
125
|
|
|
94
126
|
/**
|
|
95
|
-
|
|
127
|
+
* 域名状态。
|
|
128
|
+
ok:正常
|
|
129
|
+
serverHold:注册局暂停解析
|
|
130
|
+
clientHold:注册商暂停解析
|
|
131
|
+
pendingTransfer:转移中
|
|
132
|
+
renewingPeriod:续费期
|
|
133
|
+
redemptionPeriod:偿还期
|
|
134
|
+
pendingDelete:删除期
|
|
135
|
+
serverTransferProhibited:注册局禁止转移
|
|
136
|
+
serverUpdateProhibited:注册局禁止更新
|
|
137
|
+
serverDeleteProhibited:注册局禁止删除
|
|
138
|
+
clientTransferProhibited:注册商禁止转移
|
|
139
|
+
clientUpdateProhibited:注册商禁止更新
|
|
140
|
+
clientDeleteProhibited:注册商禁止删除
|
|
141
|
+
*/
|
|
142
|
+
DomainStatus: Array<string>
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* 域名购买状态。
|
|
146
|
+
ok:正常
|
|
147
|
+
RegisterPending:待注册
|
|
148
|
+
RegisterDoing:注册中
|
|
149
|
+
RegisterFailed:注册失败
|
|
150
|
+
AboutToExpire: 即将过期
|
|
151
|
+
RenewPending:已进入续费期,需要进行续费
|
|
152
|
+
RenewDoing:续费中
|
|
153
|
+
RedemptionPending:已进入赎回期,需要进行续费
|
|
154
|
+
RedemptionDoing:赎回中
|
|
155
|
+
TransferPending:待转入中
|
|
156
|
+
TransferTransing:转入中
|
|
157
|
+
TransferFailed:转入失败
|
|
158
|
+
*/
|
|
159
|
+
BuyStatus: string
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* 注册商类型
|
|
163
|
+
epp: DNSPod, Inc.(烟台帝思普网络科技有限公司)
|
|
164
|
+
qcloud: Tencent Cloud Computing (Beijing) Limited Liability Company(腾讯云计算(北京)有限责任公司)
|
|
165
|
+
yunxun: Guangzhou Yunxun Information Technology Co., Ltd.(广州云讯信息科技有限公司)
|
|
166
|
+
xinnet: Xin Net Technology Corporation(北京新网数码信息技术有限公司)
|
|
167
|
+
*/
|
|
168
|
+
RegistrarType: string
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* 域名绑定的ns
|
|
96
172
|
*/
|
|
97
|
-
|
|
173
|
+
NameServer: Array<string>
|
|
98
174
|
|
|
99
175
|
/**
|
|
100
|
-
|
|
176
|
+
* true:开启锁定
|
|
177
|
+
false:关闭锁定
|
|
178
|
+
*/
|
|
179
|
+
LockTransfer: boolean
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* 锁定结束时间
|
|
101
183
|
*/
|
|
102
|
-
|
|
184
|
+
LockEndTime: string
|
|
103
185
|
|
|
104
186
|
/**
|
|
105
|
-
*
|
|
187
|
+
* 认证类型:I=个人,E=企业
|
|
106
188
|
*/
|
|
107
|
-
|
|
189
|
+
RegistrantType: string
|
|
108
190
|
|
|
109
191
|
/**
|
|
110
|
-
*
|
|
192
|
+
* 域名所有者,中文
|
|
111
193
|
*/
|
|
112
|
-
|
|
194
|
+
OrganizationNameCN: string
|
|
113
195
|
|
|
114
196
|
/**
|
|
115
|
-
*
|
|
197
|
+
* 域名所有者,英文
|
|
116
198
|
*/
|
|
117
|
-
|
|
199
|
+
OrganizationName: string
|
|
118
200
|
|
|
119
201
|
/**
|
|
120
|
-
*
|
|
202
|
+
* 域名联系人,中文
|
|
121
203
|
*/
|
|
122
|
-
|
|
204
|
+
RegistrantNameCN: string
|
|
123
205
|
|
|
124
206
|
/**
|
|
125
|
-
*
|
|
207
|
+
* 域名联系人,英文
|
|
126
208
|
*/
|
|
127
|
-
|
|
209
|
+
RegistrantName: string
|
|
128
210
|
}
|
|
129
211
|
|
|
130
212
|
/**
|
|
@@ -422,6 +504,16 @@ export interface CheckDomainResponse {
|
|
|
422
504
|
RequestId?: string
|
|
423
505
|
}
|
|
424
506
|
|
|
507
|
+
/**
|
|
508
|
+
* DescribeDomainSimpleInfo请求参数结构体
|
|
509
|
+
*/
|
|
510
|
+
export interface DescribeDomainSimpleInfoRequest {
|
|
511
|
+
/**
|
|
512
|
+
* 域名
|
|
513
|
+
*/
|
|
514
|
+
DomainName: string
|
|
515
|
+
}
|
|
516
|
+
|
|
425
517
|
/**
|
|
426
518
|
* CreatePhoneEmail请求参数结构体
|
|
427
519
|
*/
|
|
@@ -540,6 +632,66 @@ export interface ModifyDomainOwnerBatchResponse {
|
|
|
540
632
|
RequestId?: string
|
|
541
633
|
}
|
|
542
634
|
|
|
635
|
+
/**
|
|
636
|
+
* Template数据
|
|
637
|
+
*/
|
|
638
|
+
export interface TemplateInfo {
|
|
639
|
+
/**
|
|
640
|
+
* 模板ID
|
|
641
|
+
*/
|
|
642
|
+
TemplateId: string
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* 认证状态:未实名认证:NotUpload, 实名审核中:InAudit,已实名认证:Approved,实名审核失败:Reject
|
|
646
|
+
*/
|
|
647
|
+
AuditStatus: string
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* 创建时间
|
|
651
|
+
*/
|
|
652
|
+
CreatedOn: string
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* 更新时间
|
|
656
|
+
*/
|
|
657
|
+
UpdatedOn: string
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* 用户UIN
|
|
661
|
+
*/
|
|
662
|
+
UserUin: string
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* 是否是默认模板: 是:yes,否:no
|
|
666
|
+
*/
|
|
667
|
+
IsDefault: string
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* 认证失败原因
|
|
671
|
+
*/
|
|
672
|
+
AuditReason: string
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* 认证信息
|
|
676
|
+
*/
|
|
677
|
+
CertificateInfo: CertificateInfo
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* 联系人信息
|
|
681
|
+
*/
|
|
682
|
+
ContactInfo: ContactInfo
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* 模板是否符合规范, 1是 0 否
|
|
686
|
+
*/
|
|
687
|
+
IsValidTemplate: number
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* 不符合规范原因
|
|
691
|
+
*/
|
|
692
|
+
InvalidReason: string
|
|
693
|
+
}
|
|
694
|
+
|
|
543
695
|
/**
|
|
544
696
|
* DescribeDomainBaseInfo返回参数结构体
|
|
545
697
|
*/
|
|
@@ -1026,18 +1178,23 @@ export interface CreateDomainBatchRequest {
|
|
|
1026
1178
|
}
|
|
1027
1179
|
|
|
1028
1180
|
/**
|
|
1029
|
-
*
|
|
1181
|
+
* DescribeDomainSimpleInfo返回参数结构体
|
|
1030
1182
|
*/
|
|
1031
|
-
export interface
|
|
1183
|
+
export interface DescribeDomainSimpleInfoResponse {
|
|
1032
1184
|
/**
|
|
1033
|
-
*
|
|
1185
|
+
* 域名信息
|
|
1034
1186
|
*/
|
|
1035
|
-
|
|
1187
|
+
DomainInfo: DomainSimpleInfo
|
|
1036
1188
|
|
|
1037
1189
|
/**
|
|
1038
|
-
*
|
|
1190
|
+
* 账号ID
|
|
1039
1191
|
*/
|
|
1040
|
-
|
|
1192
|
+
Uin: string
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1196
|
+
*/
|
|
1197
|
+
RequestId?: string
|
|
1041
1198
|
}
|
|
1042
1199
|
|
|
1043
1200
|
/**
|
|
@@ -1442,6 +1599,21 @@ export interface ModifyDomainOwnerBatchRequest {
|
|
|
1442
1599
|
TransferDns?: boolean
|
|
1443
1600
|
}
|
|
1444
1601
|
|
|
1602
|
+
/**
|
|
1603
|
+
* SendPhoneEmailCode请求参数结构体
|
|
1604
|
+
*/
|
|
1605
|
+
export interface SendPhoneEmailCodeRequest {
|
|
1606
|
+
/**
|
|
1607
|
+
* 手机或者邮箱号。
|
|
1608
|
+
*/
|
|
1609
|
+
Code: string
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* 1:手机 2:邮箱。
|
|
1613
|
+
*/
|
|
1614
|
+
Type: number
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1445
1617
|
/**
|
|
1446
1618
|
* 批量操作记录
|
|
1447
1619
|
*/
|
|
@@ -101,7 +101,7 @@ export interface CreateDocumentRequest {
|
|
|
101
101
|
Operator: UserInfo
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* 用户上传的模板ID
|
|
105
105
|
*/
|
|
106
106
|
TemplateId: string
|
|
107
107
|
|
|
@@ -131,8 +131,9 @@ export interface CreateDocumentRequest {
|
|
|
131
131
|
ClientToken?: string
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
* 是否需要生成预览文件 默认不生成;
|
|
135
|
+
预览链接有效期300秒;
|
|
136
|
+
*/
|
|
136
137
|
NeedPreview?: boolean
|
|
137
138
|
}
|
|
138
139
|
|
|
@@ -412,7 +412,7 @@ export interface CreateSignUrlsRequest {
|
|
|
412
412
|
JumpUrl?: string
|
|
413
413
|
|
|
414
414
|
/**
|
|
415
|
-
* Endpoint为"APP"
|
|
415
|
+
* Endpoint为"APP" 类型的签署链接,可以设置此值;支持调用方小程序打开签署链接,在电子签小程序完成签署后自动回跳至调用方小程序
|
|
416
416
|
*/
|
|
417
417
|
AutoJumpBack?: boolean
|
|
418
418
|
}
|
package/src/services/index.ts
CHANGED
|
@@ -526,12 +526,12 @@ export interface ModifyDBInstanceNetworkAddressRequest {
|
|
|
526
526
|
OldIpExpiredTime: number
|
|
527
527
|
|
|
528
528
|
/**
|
|
529
|
-
* 切换后IP
|
|
529
|
+
* 切换后IP地址的归属私有网络统一ID,若为基础网络,该字段为空
|
|
530
530
|
*/
|
|
531
531
|
NewUniqVpcId: string
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
|
-
* 切换后IP
|
|
534
|
+
* 切换后IP地址的归属子网统一ID,若为基础网络,该字段为空
|
|
535
535
|
*/
|
|
536
536
|
NewUniqSubnetId: string
|
|
537
537
|
|
|
@@ -1302,8 +1302,13 @@ export interface DescribeStatisticDataRequest {
|
|
|
1302
1302
|
Conditions?: Array<MidQueryCondition>
|
|
1303
1303
|
|
|
1304
1304
|
/**
|
|
1305
|
-
|
|
1306
|
-
|
|
1305
|
+
* 统计粒度。默认取值为300,单位为s;可选的值为60、300、3600、86400
|
|
1306
|
+
受存储时长限制,统计粒度与统计的时间范围有关:
|
|
1307
|
+
60s:EndTime-StartTime<12小时,且StartTime距当前时间不能超过15天;
|
|
1308
|
+
300s:EndTime-StartTime<3天,且StartTime距当前时间不能超过31天;
|
|
1309
|
+
3600s:EndTime-StartTime<30天,且StartTime距当前时间不能超过93天;
|
|
1310
|
+
86400s:EndTime-StartTime<186天,且StartTime距当前时间不能超过186天。
|
|
1311
|
+
*/
|
|
1307
1312
|
Period?: number
|
|
1308
1313
|
|
|
1309
1314
|
/**
|
|
@@ -5042,22 +5047,22 @@ export interface DescribeStatisticDataResponse {
|
|
|
5042
5047
|
/**
|
|
5043
5048
|
* 统计周期
|
|
5044
5049
|
*/
|
|
5045
|
-
Period
|
|
5050
|
+
Period: number
|
|
5046
5051
|
|
|
5047
5052
|
/**
|
|
5048
5053
|
* 开始时间
|
|
5049
5054
|
*/
|
|
5050
|
-
StartTime
|
|
5055
|
+
StartTime: string
|
|
5051
5056
|
|
|
5052
5057
|
/**
|
|
5053
5058
|
* 结束时间
|
|
5054
5059
|
*/
|
|
5055
|
-
EndTime
|
|
5060
|
+
EndTime: string
|
|
5056
5061
|
|
|
5057
5062
|
/**
|
|
5058
5063
|
* 监控数据
|
|
5059
5064
|
*/
|
|
5060
|
-
Data
|
|
5065
|
+
Data: Array<MetricData>
|
|
5061
5066
|
|
|
5062
5067
|
/**
|
|
5063
5068
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -200,6 +200,12 @@ reject:拒绝,高风险恶意
|
|
|
200
200
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
201
201
|
*/
|
|
202
202
|
RiskType: Array<number>
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* 唯一ID
|
|
206
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
207
|
+
*/
|
|
208
|
+
ConstId: string
|
|
203
209
|
}
|
|
204
210
|
|
|
205
211
|
/**
|
|
@@ -548,6 +554,11 @@ export interface InputManageMarketingRisk {
|
|
|
548
554
|
* 可选填写。详情请跳转至OnlineScamInfo查看。
|
|
549
555
|
*/
|
|
550
556
|
OnlineScam?: OnlineScamInfo
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* 平台: 1android
|
|
560
|
+
*/
|
|
561
|
+
Platform?: string
|
|
551
562
|
}
|
|
552
563
|
|
|
553
564
|
/**
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
DescribeInstanceMonitorTopNCmdResponse,
|
|
25
25
|
ModifyAutoBackupConfigResponse,
|
|
26
26
|
RestoreInstanceRequest,
|
|
27
|
-
|
|
27
|
+
AllocateWanAddressRequest,
|
|
28
28
|
ApplyParamsTemplateRequest,
|
|
29
29
|
UpgradeInstanceVersionResponse,
|
|
30
30
|
CreateInstancesRequest,
|
|
@@ -68,6 +68,7 @@ import {
|
|
|
68
68
|
DescribeInstanceShardsResponse,
|
|
69
69
|
DestroyPrepaidInstanceRequest,
|
|
70
70
|
ManualBackupInstanceResponse,
|
|
71
|
+
TaskInfoDetail,
|
|
71
72
|
DisableReplicaReadonlyResponse,
|
|
72
73
|
CreateParamTemplateResponse,
|
|
73
74
|
InstanceTagInfo,
|
|
@@ -102,6 +103,7 @@ import {
|
|
|
102
103
|
DescribeInstanceBackupsResponse,
|
|
103
104
|
InstanceIntegerParam,
|
|
104
105
|
UpgradeVersionToMultiAvailabilityZonesRequest,
|
|
106
|
+
AllocateWanAddressResponse,
|
|
105
107
|
DescribeInstanceMonitorTookDistRequest,
|
|
106
108
|
DeleteReplicationInstanceRequest,
|
|
107
109
|
KillMasterGroupRequest,
|
|
@@ -138,6 +140,7 @@ import {
|
|
|
138
140
|
EnableReplicaReadonlyResponse,
|
|
139
141
|
DescribeMaintenanceWindowResponse,
|
|
140
142
|
DescribeInstanceSecurityGroupResponse,
|
|
143
|
+
ReleaseWanAddressResponse,
|
|
141
144
|
ProductConf,
|
|
142
145
|
ModifyConnectionConfigRequest,
|
|
143
146
|
InstanceNode,
|
|
@@ -169,6 +172,7 @@ import {
|
|
|
169
172
|
ModifyParamTemplateRequest,
|
|
170
173
|
ModfiyInstancePasswordResponse,
|
|
171
174
|
InstanceSet,
|
|
175
|
+
ReleaseWanAddressRequest,
|
|
172
176
|
InquiryPriceRenewInstanceRequest,
|
|
173
177
|
ModifyConnectionConfigResponse,
|
|
174
178
|
ModifyMaintenanceWindowResponse,
|
|
@@ -299,6 +303,16 @@ export class Client extends AbstractClient {
|
|
|
299
303
|
return this.request("DescribeParamTemplates", req, cb)
|
|
300
304
|
}
|
|
301
305
|
|
|
306
|
+
/**
|
|
307
|
+
* 关闭外网
|
|
308
|
+
*/
|
|
309
|
+
async ReleaseWanAddress(
|
|
310
|
+
req: ReleaseWanAddressRequest,
|
|
311
|
+
cb?: (error: string, rep: ReleaseWanAddressResponse) => void
|
|
312
|
+
): Promise<ReleaseWanAddressResponse> {
|
|
313
|
+
return this.request("ReleaseWanAddress", req, cb)
|
|
314
|
+
}
|
|
315
|
+
|
|
302
316
|
/**
|
|
303
317
|
* 查询实例慢查询记录
|
|
304
318
|
*/
|
|
@@ -620,13 +634,13 @@ export class Client extends AbstractClient {
|
|
|
620
634
|
}
|
|
621
635
|
|
|
622
636
|
/**
|
|
623
|
-
*
|
|
637
|
+
* 开通外网
|
|
624
638
|
*/
|
|
625
|
-
async
|
|
626
|
-
req:
|
|
627
|
-
cb?: (error: string, rep:
|
|
628
|
-
): Promise<
|
|
629
|
-
return this.request("
|
|
639
|
+
async AllocateWanAddress(
|
|
640
|
+
req: AllocateWanAddressRequest,
|
|
641
|
+
cb?: (error: string, rep: AllocateWanAddressResponse) => void
|
|
642
|
+
): Promise<AllocateWanAddressResponse> {
|
|
643
|
+
return this.request("AllocateWanAddress", req, cb)
|
|
630
644
|
}
|
|
631
645
|
|
|
632
646
|
/**
|
|
@@ -729,6 +743,16 @@ export class Client extends AbstractClient {
|
|
|
729
743
|
return this.request("DescribeInstanceMonitorBigKey", req, cb)
|
|
730
744
|
}
|
|
731
745
|
|
|
746
|
+
/**
|
|
747
|
+
* 在通过DTS支持跨可用区灾备的场景中,通过该接口交换实例VIP完成实例灾备切换。交换VIP后目标实例可写,源和目标实例VIP互换,同时源与目标实例间DTS同步任务断开
|
|
748
|
+
*/
|
|
749
|
+
async SwitchInstanceVip(
|
|
750
|
+
req: SwitchInstanceVipRequest,
|
|
751
|
+
cb?: (error: string, rep: SwitchInstanceVipResponse) => void
|
|
752
|
+
): Promise<SwitchInstanceVipResponse> {
|
|
753
|
+
return this.request("SwitchInstanceVip", req, cb)
|
|
754
|
+
}
|
|
755
|
+
|
|
732
756
|
/**
|
|
733
757
|
* 查询实例安全组信息
|
|
734
758
|
*/
|
|
@@ -980,12 +1004,12 @@ export class Client extends AbstractClient {
|
|
|
980
1004
|
}
|
|
981
1005
|
|
|
982
1006
|
/**
|
|
983
|
-
*
|
|
1007
|
+
* 查询备份Rdb下载地址(接口灰度中,需要加白名单使用)
|
|
984
1008
|
*/
|
|
985
|
-
async
|
|
986
|
-
req:
|
|
987
|
-
cb?: (error: string, rep:
|
|
988
|
-
): Promise<
|
|
989
|
-
return this.request("
|
|
1009
|
+
async DescribeBackupUrl(
|
|
1010
|
+
req: DescribeBackupUrlRequest,
|
|
1011
|
+
cb?: (error: string, rep: DescribeBackupUrlResponse) => void
|
|
1012
|
+
): Promise<DescribeBackupUrlResponse> {
|
|
1013
|
+
return this.request("DescribeBackupUrl", req, cb)
|
|
990
1014
|
}
|
|
991
1015
|
}
|