tencentcloud-sdk-nodejs 4.0.349 → 4.0.352
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 +265 -0
- package/SERVICE_CHANGELOG.md +281 -30
- package/package.json +1 -1
- package/products.md +23 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cbs/v20170312/cbs_models.ts +48 -20
- package/src/services/ccc/v20200210/ccc_models.ts +2 -2
- package/src/services/cfw/v20190904/cfw_models.ts +5 -5
- package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +17 -2
- package/src/services/dbdc/index.ts +5 -0
- package/src/services/dbdc/v20201029/dbdc_client.ts +97 -0
- package/src/services/dbdc/v20201029/dbdc_models.ts +817 -0
- package/src/services/dbdc/v20201029/index.ts +6 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +25 -0
- package/src/services/dlc/v20210125/dlc_models.ts +32 -0
- package/src/services/index.ts +1 -0
- package/src/services/kms/v20190118/kms_models.ts +39 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
- package/src/services/organization/v20210331/organization_client.ts +14 -2
- package/src/services/organization/v20210331/organization_models.ts +53 -12
- package/src/services/redis/v20180412/redis_client.ts +24 -0
- package/src/services/redis/v20180412/redis_models.ts +80 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +1 -1
- package/src/services/ssl/v20191205/ssl_client.ts +1 -0
- package/src/services/ssl/v20191205/ssl_models.ts +23 -0
- package/src/services/tcr/v20190924/tcr_models.ts +2 -2
- package/src/services/vod/v20180717/vod_client.ts +3 -2
- package/src/services/vod/v20180717/vod_models.ts +155 -155
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +25 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +42 -19
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -2
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +5 -5
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +14 -2
- package/tencentcloud/services/dbdc/index.d.ts +6 -0
- package/tencentcloud/services/dbdc/index.js +7 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +30 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +61 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +658 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.js +18 -0
- package/tencentcloud/services/dbdc/v20201029/index.d.ts +6 -0
- package/tencentcloud/services/dbdc/v20201029/index.js +9 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +22 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +26 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +32 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +47 -12
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +9 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +12 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +68 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +19 -0
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +131 -131
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +21 -2
- package/test/dbdc.v20201029.test.js +71 -0
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/organization.v20210331.test.js +10 -0
- package/test/redis.v20180412.test.js +20 -0
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
ActiveHourDCDBInstanceResponse,
|
|
33
33
|
DescribeDCDBPriceResponse,
|
|
34
34
|
AssociateSecurityGroupsRequest,
|
|
35
|
+
TerminateDedicatedDBInstanceResponse,
|
|
35
36
|
FlushBinlogResponse,
|
|
36
37
|
DescribeDBSecurityGroupsResponse,
|
|
37
38
|
CancelDcnJobResponse,
|
|
@@ -97,6 +98,7 @@ import {
|
|
|
97
98
|
DescribeDatabaseTableRequest,
|
|
98
99
|
DescribeDCDBInstanceNodeInfoResponse,
|
|
99
100
|
KillSessionRequest,
|
|
101
|
+
TerminateDedicatedDBInstanceRequest,
|
|
100
102
|
DescribeDatabaseObjectsResponse,
|
|
101
103
|
ModifyDBInstanceNameRequest,
|
|
102
104
|
DescribeDcnDetailResponse,
|
|
@@ -688,6 +690,16 @@ export class Client extends AbstractClient {
|
|
|
688
690
|
return this.request("CancelDcnJob", req, cb)
|
|
689
691
|
}
|
|
690
692
|
|
|
693
|
+
/**
|
|
694
|
+
* 本接口(IsolateDedicatedDBInstance)用于销毁已隔离的独享分布式数据库实例。
|
|
695
|
+
*/
|
|
696
|
+
async TerminateDedicatedDBInstance(
|
|
697
|
+
req: TerminateDedicatedDBInstanceRequest,
|
|
698
|
+
cb?: (error: string, rep: TerminateDedicatedDBInstanceResponse) => void
|
|
699
|
+
): Promise<TerminateDedicatedDBInstanceResponse> {
|
|
700
|
+
return this.request("TerminateDedicatedDBInstance", req, cb)
|
|
701
|
+
}
|
|
702
|
+
|
|
691
703
|
/**
|
|
692
704
|
* 本接口(CloneAccount)用于克隆实例账户。
|
|
693
705
|
*/
|
|
@@ -278,6 +278,21 @@ export interface AssociateSecurityGroupsRequest {
|
|
|
278
278
|
InstanceIds: Array<string>
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* TerminateDedicatedDBInstance返回参数结构体
|
|
283
|
+
*/
|
|
284
|
+
export interface TerminateDedicatedDBInstanceResponse {
|
|
285
|
+
/**
|
|
286
|
+
* 异步流程Id
|
|
287
|
+
*/
|
|
288
|
+
FlowId: number
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
292
|
+
*/
|
|
293
|
+
RequestId?: string
|
|
294
|
+
}
|
|
295
|
+
|
|
281
296
|
/**
|
|
282
297
|
* FlushBinlog返回参数结构体
|
|
283
298
|
*/
|
|
@@ -2178,6 +2193,16 @@ export interface KillSessionRequest {
|
|
|
2178
2193
|
ShardSerialId?: string
|
|
2179
2194
|
}
|
|
2180
2195
|
|
|
2196
|
+
/**
|
|
2197
|
+
* TerminateDedicatedDBInstance请求参数结构体
|
|
2198
|
+
*/
|
|
2199
|
+
export interface TerminateDedicatedDBInstanceRequest {
|
|
2200
|
+
/**
|
|
2201
|
+
* 实例 Id,形如:dcdbt-ow728lmc。
|
|
2202
|
+
*/
|
|
2203
|
+
InstanceId: string
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2181
2206
|
/**
|
|
2182
2207
|
* DescribeDatabaseObjects返回参数结构体
|
|
2183
2208
|
*/
|
|
@@ -317,6 +317,18 @@ export interface SparkJobInfo {
|
|
|
317
317
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
318
318
|
*/
|
|
319
319
|
DataSource: string
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用)
|
|
323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
324
|
+
*/
|
|
325
|
+
IsLocalPythonFiles: string
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔
|
|
329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
330
|
+
*/
|
|
331
|
+
AppPythonFiles: string
|
|
320
332
|
}
|
|
321
333
|
|
|
322
334
|
/**
|
|
@@ -594,6 +606,16 @@ export interface ModifySparkAppRequest {
|
|
|
594
606
|
*/
|
|
595
607
|
AppFiles?: string
|
|
596
608
|
|
|
609
|
+
/**
|
|
610
|
+
* pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用)
|
|
611
|
+
*/
|
|
612
|
+
IsLocalPythonFiles?: string
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔
|
|
616
|
+
*/
|
|
617
|
+
AppPythonFiles?: string
|
|
618
|
+
|
|
597
619
|
/**
|
|
598
620
|
* spark作业命令行参数
|
|
599
621
|
*/
|
|
@@ -2812,6 +2834,16 @@ export interface CreateSparkAppRequest {
|
|
|
2812
2834
|
* 数据源名
|
|
2813
2835
|
*/
|
|
2814
2836
|
DataSource?: string
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用)
|
|
2840
|
+
*/
|
|
2841
|
+
IsLocalPythonFiles?: string
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔
|
|
2845
|
+
*/
|
|
2846
|
+
AppPythonFiles?: string
|
|
2815
2847
|
}
|
|
2816
2848
|
|
|
2817
2849
|
/**
|
package/src/services/index.ts
CHANGED
|
@@ -62,6 +62,7 @@ export { cynosdb } from "./cynosdb"
|
|
|
62
62
|
export { dasb } from "./dasb"
|
|
63
63
|
export { dayu } from "./dayu"
|
|
64
64
|
export { dbbrain } from "./dbbrain"
|
|
65
|
+
export { dbdc } from "./dbdc"
|
|
65
66
|
export { dc } from "./dc"
|
|
66
67
|
export { dcdb } from "./dcdb"
|
|
67
68
|
export { dlc } from "./dlc"
|
|
@@ -119,6 +119,11 @@ export interface CreateKeyRequest {
|
|
|
119
119
|
* 标签列表
|
|
120
120
|
*/
|
|
121
121
|
Tags?: Array<Tag>
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
|
|
125
|
+
*/
|
|
126
|
+
HsmClusterId?: string
|
|
122
127
|
}
|
|
123
128
|
|
|
124
129
|
/**
|
|
@@ -871,6 +876,11 @@ export interface ListKeyDetailRequest {
|
|
|
871
876
|
* 标签过滤条件
|
|
872
877
|
*/
|
|
873
878
|
TagFilters?: Array<TagFilter>
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
|
|
882
|
+
*/
|
|
883
|
+
HsmClusterId?: string
|
|
874
884
|
}
|
|
875
885
|
|
|
876
886
|
/**
|
|
@@ -1062,6 +1072,12 @@ export interface CreateKeyResponse {
|
|
|
1062
1072
|
*/
|
|
1063
1073
|
TagMsg: string
|
|
1064
1074
|
|
|
1075
|
+
/**
|
|
1076
|
+
* HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
|
1077
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1078
|
+
*/
|
|
1079
|
+
HsmClusterId: string
|
|
1080
|
+
|
|
1065
1081
|
/**
|
|
1066
1082
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1067
1083
|
*/
|
|
@@ -1186,6 +1202,18 @@ export interface GetServiceStatusResponse {
|
|
|
1186
1202
|
*/
|
|
1187
1203
|
ProResourceId: string
|
|
1188
1204
|
|
|
1205
|
+
/**
|
|
1206
|
+
* 是否开通 KMS 托管版
|
|
1207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1208
|
+
*/
|
|
1209
|
+
ExclusiveVSMEnabled: boolean
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* 是否开通 KMS 独享版
|
|
1213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1214
|
+
*/
|
|
1215
|
+
ExclusiveHSMEnabled: boolean
|
|
1216
|
+
|
|
1189
1217
|
/**
|
|
1190
1218
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1191
1219
|
*/
|
|
@@ -1286,6 +1314,11 @@ export interface ListKeysRequest {
|
|
|
1286
1314
|
* 根据创建者角色筛选,默认 0 表示用户自己创建的cmk, 1 表示授权其它云产品自动创建的cmk
|
|
1287
1315
|
*/
|
|
1288
1316
|
Role?: number
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
|
|
1320
|
+
*/
|
|
1321
|
+
HsmClusterId?: string
|
|
1289
1322
|
}
|
|
1290
1323
|
|
|
1291
1324
|
/**
|
|
@@ -1379,6 +1412,12 @@ export interface KeyMetadata {
|
|
|
1379
1412
|
* 资源ID,格式:creatorUin/$creatorUin/$keyId
|
|
1380
1413
|
*/
|
|
1381
1414
|
ResourceId: string
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
|
1418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1419
|
+
*/
|
|
1420
|
+
HsmClusterId: string
|
|
1382
1421
|
}
|
|
1383
1422
|
|
|
1384
1423
|
/**
|
|
@@ -207,7 +207,7 @@ export interface DescribeZonesRequest {
|
|
|
207
207
|
/**
|
|
208
208
|
* 可用区列表排序的依据字段。取值范围:
|
|
209
209
|
<li>ZONE:依据可用区排序。
|
|
210
|
-
<li>INSTANCE_DISPLAY_LABEL
|
|
210
|
+
<li>INSTANCE_DISPLAY_LABEL:依据可用区展示标签排序,可用区展示标签包括:HIDDEN(隐藏)、NORMAL(普通)、SELECTED(默认选中),默认采用的升序排列为:['HIDDEN', 'NORMAL', 'SELECTED']。
|
|
211
211
|
默认按可用区排序。
|
|
212
212
|
*/
|
|
213
213
|
OrderField?: string
|
|
@@ -23,11 +23,13 @@ import {
|
|
|
23
23
|
DescribeOrganizationResponse,
|
|
24
24
|
BindOrganizationMemberAuthAccountRequest,
|
|
25
25
|
CreateOrganizationMemberRequest,
|
|
26
|
-
|
|
26
|
+
DescribeOrganizationMembersResponse,
|
|
27
27
|
DescribeOrganizationMembersRequest,
|
|
28
28
|
OrgMember,
|
|
29
|
+
CreateOrganizationMemberPolicyResponse,
|
|
30
|
+
CreateOrganizationMemberPolicyRequest,
|
|
29
31
|
DescribeOrganizationRequest,
|
|
30
|
-
|
|
32
|
+
BindOrganizationMemberAuthAccountResponse,
|
|
31
33
|
CreateOrganizationMemberResponse,
|
|
32
34
|
} from "./organization_models"
|
|
33
35
|
|
|
@@ -79,4 +81,14 @@ export class Client extends AbstractClient {
|
|
|
79
81
|
): Promise<DescribeOrganizationResponse> {
|
|
80
82
|
return this.request("DescribeOrganization", req, cb)
|
|
81
83
|
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* 创建组织成员的授权策略
|
|
87
|
+
*/
|
|
88
|
+
async CreateOrganizationMemberPolicy(
|
|
89
|
+
req: CreateOrganizationMemberPolicyRequest,
|
|
90
|
+
cb?: (error: string, rep: CreateOrganizationMemberPolicyResponse) => void
|
|
91
|
+
): Promise<CreateOrganizationMemberPolicyResponse> {
|
|
92
|
+
return this.request("CreateOrganizationMemberPolicy", req, cb)
|
|
93
|
+
}
|
|
82
94
|
}
|
|
@@ -212,9 +212,19 @@ export interface CreateOrganizationMemberRequest {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
215
|
+
* DescribeOrganizationMembers返回参数结构体
|
|
216
216
|
*/
|
|
217
|
-
export interface
|
|
217
|
+
export interface DescribeOrganizationMembersResponse {
|
|
218
|
+
/**
|
|
219
|
+
* 成员列表
|
|
220
|
+
*/
|
|
221
|
+
Items: Array<OrgMember>
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* 总数目
|
|
225
|
+
*/
|
|
226
|
+
Total: number
|
|
227
|
+
|
|
218
228
|
/**
|
|
219
229
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
220
230
|
*/
|
|
@@ -348,29 +358,60 @@ export interface OrgMember {
|
|
|
348
358
|
}
|
|
349
359
|
|
|
350
360
|
/**
|
|
351
|
-
*
|
|
361
|
+
* CreateOrganizationMemberPolicy返回参数结构体
|
|
352
362
|
*/
|
|
353
|
-
export interface
|
|
363
|
+
export interface CreateOrganizationMemberPolicyResponse {
|
|
354
364
|
/**
|
|
355
|
-
|
|
365
|
+
* 策略ID。
|
|
366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
367
|
+
*/
|
|
368
|
+
PolicyId: number
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
356
372
|
*/
|
|
357
|
-
|
|
373
|
+
RequestId?: string
|
|
358
374
|
}
|
|
359
375
|
|
|
360
376
|
/**
|
|
361
|
-
*
|
|
377
|
+
* CreateOrganizationMemberPolicy请求参数结构体
|
|
362
378
|
*/
|
|
363
|
-
export interface
|
|
379
|
+
export interface CreateOrganizationMemberPolicyRequest {
|
|
364
380
|
/**
|
|
365
|
-
*
|
|
381
|
+
* 成员Uin。
|
|
366
382
|
*/
|
|
367
|
-
|
|
383
|
+
MemberUin: number
|
|
368
384
|
|
|
369
385
|
/**
|
|
370
|
-
*
|
|
386
|
+
* 策略名。
|
|
371
387
|
*/
|
|
372
|
-
|
|
388
|
+
PolicyName: string
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* 身份ID。
|
|
392
|
+
*/
|
|
393
|
+
IdentityId: number
|
|
373
394
|
|
|
395
|
+
/**
|
|
396
|
+
* 描述。
|
|
397
|
+
*/
|
|
398
|
+
Description?: string
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* DescribeOrganization请求参数结构体
|
|
403
|
+
*/
|
|
404
|
+
export interface DescribeOrganizationRequest {
|
|
405
|
+
/**
|
|
406
|
+
* 国际站:en,国内站:zh
|
|
407
|
+
*/
|
|
408
|
+
Lang?: string
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* BindOrganizationMemberAuthAccount返回参数结构体
|
|
413
|
+
*/
|
|
414
|
+
export interface BindOrganizationMemberAuthAccountResponse {
|
|
374
415
|
/**
|
|
375
416
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
376
417
|
*/
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
UpgradeSmallVersionRequest,
|
|
21
22
|
ModifyInstanceParamsResponse,
|
|
22
23
|
EnableReplicaReadonlyRequest,
|
|
23
24
|
RedisBackupSet,
|
|
@@ -97,6 +98,7 @@ import {
|
|
|
97
98
|
DescribeDBSecurityGroupsRequest,
|
|
98
99
|
InquiryPriceCreateInstanceResponse,
|
|
99
100
|
InstanceSecurityGroupDetail,
|
|
101
|
+
UpgradeProxyVersionResponse,
|
|
100
102
|
ResetPasswordRequest,
|
|
101
103
|
ModifyInstanceAccountResponse,
|
|
102
104
|
DelayDistribution,
|
|
@@ -184,6 +186,7 @@ import {
|
|
|
184
186
|
DestroyPrepaidInstanceResponse,
|
|
185
187
|
DescribeCommonDBInstancesResponse,
|
|
186
188
|
InquiryPriceCreateInstanceRequest,
|
|
189
|
+
UpgradeSmallVersionResponse,
|
|
187
190
|
ModifyInstanceParamsRequest,
|
|
188
191
|
BackupDownloadInfo,
|
|
189
192
|
BigKeyTypeInfo,
|
|
@@ -214,6 +217,7 @@ import {
|
|
|
214
217
|
DescribeInstanceMonitorSIPRequest,
|
|
215
218
|
InstanceClusterShard,
|
|
216
219
|
TendisSlowLogDetail,
|
|
220
|
+
UpgradeProxyVersionRequest,
|
|
217
221
|
ZoneCapacityConf,
|
|
218
222
|
UpgradeInstanceRequest,
|
|
219
223
|
DescribeInstanceNodeInfoResponse,
|
|
@@ -705,6 +709,16 @@ export class Client extends AbstractClient {
|
|
|
705
709
|
return this.request("ModifyInstanceParams", req, cb)
|
|
706
710
|
}
|
|
707
711
|
|
|
712
|
+
/**
|
|
713
|
+
* 实例proxy版本升级
|
|
714
|
+
*/
|
|
715
|
+
async UpgradeProxyVersion(
|
|
716
|
+
req: UpgradeProxyVersionRequest,
|
|
717
|
+
cb?: (error: string, rep: UpgradeProxyVersionResponse) => void
|
|
718
|
+
): Promise<UpgradeProxyVersionResponse> {
|
|
719
|
+
return this.request("UpgradeProxyVersion", req, cb)
|
|
720
|
+
}
|
|
721
|
+
|
|
708
722
|
/**
|
|
709
723
|
* 修改参数模板
|
|
710
724
|
*/
|
|
@@ -855,6 +869,16 @@ export class Client extends AbstractClient {
|
|
|
855
869
|
return this.request("RenewInstance", req, cb)
|
|
856
870
|
}
|
|
857
871
|
|
|
872
|
+
/**
|
|
873
|
+
* 实例小版本升级
|
|
874
|
+
*/
|
|
875
|
+
async UpgradeSmallVersion(
|
|
876
|
+
req: UpgradeSmallVersionRequest,
|
|
877
|
+
cb?: (error: string, rep: UpgradeSmallVersionResponse) => void
|
|
878
|
+
): Promise<UpgradeSmallVersionResponse> {
|
|
879
|
+
return this.request("UpgradeSmallVersion", req, cb)
|
|
880
|
+
}
|
|
881
|
+
|
|
858
882
|
/**
|
|
859
883
|
* 手动备份Redis实例
|
|
860
884
|
*/
|
|
@@ -15,6 +15,31 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* UpgradeSmallVersion请求参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface UpgradeSmallVersionRequest {
|
|
22
|
+
/**
|
|
23
|
+
* 实例ID
|
|
24
|
+
*/
|
|
25
|
+
InstanceId: string
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 当前redis版本
|
|
29
|
+
*/
|
|
30
|
+
CurrentRedisVersion: string
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 可升级的redis版本
|
|
34
|
+
*/
|
|
35
|
+
UpgradeRedisVersion: string
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 1-立即升级 0-维护时间窗口升级
|
|
39
|
+
*/
|
|
40
|
+
InstanceTypeUpgradeNow: number
|
|
41
|
+
}
|
|
42
|
+
|
|
18
43
|
/**
|
|
19
44
|
* ModifyInstanceParams返回参数结构体
|
|
20
45
|
*/
|
|
@@ -1933,6 +1958,21 @@ export interface InstanceSecurityGroupDetail {
|
|
|
1933
1958
|
SecurityGroupDetails: Array<SecurityGroupDetail>
|
|
1934
1959
|
}
|
|
1935
1960
|
|
|
1961
|
+
/**
|
|
1962
|
+
* UpgradeProxyVersion返回参数结构体
|
|
1963
|
+
*/
|
|
1964
|
+
export interface UpgradeProxyVersionResponse {
|
|
1965
|
+
/**
|
|
1966
|
+
* 异步流程ID
|
|
1967
|
+
*/
|
|
1968
|
+
FlowId: number
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1972
|
+
*/
|
|
1973
|
+
RequestId?: string
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1936
1976
|
/**
|
|
1937
1977
|
* ResetPassword请求参数结构体
|
|
1938
1978
|
*/
|
|
@@ -4249,6 +4289,21 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
|
4249
4289
|
ZoneName?: string
|
|
4250
4290
|
}
|
|
4251
4291
|
|
|
4292
|
+
/**
|
|
4293
|
+
* UpgradeSmallVersion返回参数结构体
|
|
4294
|
+
*/
|
|
4295
|
+
export interface UpgradeSmallVersionResponse {
|
|
4296
|
+
/**
|
|
4297
|
+
* 异步流程ID
|
|
4298
|
+
*/
|
|
4299
|
+
FlowId: number
|
|
4300
|
+
|
|
4301
|
+
/**
|
|
4302
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4303
|
+
*/
|
|
4304
|
+
RequestId?: string
|
|
4305
|
+
}
|
|
4306
|
+
|
|
4252
4307
|
/**
|
|
4253
4308
|
* ModifyInstanceParams请求参数结构体
|
|
4254
4309
|
*/
|
|
@@ -4992,6 +5047,31 @@ export interface TendisSlowLogDetail {
|
|
|
4992
5047
|
Node: string
|
|
4993
5048
|
}
|
|
4994
5049
|
|
|
5050
|
+
/**
|
|
5051
|
+
* UpgradeProxyVersion请求参数结构体
|
|
5052
|
+
*/
|
|
5053
|
+
export interface UpgradeProxyVersionRequest {
|
|
5054
|
+
/**
|
|
5055
|
+
* 实例ID
|
|
5056
|
+
*/
|
|
5057
|
+
InstanceId: string
|
|
5058
|
+
|
|
5059
|
+
/**
|
|
5060
|
+
* 当前proxy版本
|
|
5061
|
+
*/
|
|
5062
|
+
CurrentProxyVersion: string
|
|
5063
|
+
|
|
5064
|
+
/**
|
|
5065
|
+
* 可升级的redis版本
|
|
5066
|
+
*/
|
|
5067
|
+
UpgradeProxyVersion: string
|
|
5068
|
+
|
|
5069
|
+
/**
|
|
5070
|
+
* 1-立即升级 0-维护时间窗口升级
|
|
5071
|
+
*/
|
|
5072
|
+
InstanceTypeUpgradeNow: number
|
|
5073
|
+
}
|
|
5074
|
+
|
|
4995
5075
|
/**
|
|
4996
5076
|
* 可用区内产品信息
|
|
4997
5077
|
*/
|
|
@@ -595,6 +595,11 @@ export interface DescribeManagersResponse {
|
|
|
595
595
|
RequestId?: string
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
+
/**
|
|
599
|
+
* 根证书
|
|
600
|
+
*/
|
|
601
|
+
export type RootCertificates = null
|
|
602
|
+
|
|
598
603
|
/**
|
|
599
604
|
* DescribeCertificate返回参数结构体
|
|
600
605
|
*/
|
|
@@ -1337,6 +1342,24 @@ export interface DescribeCertificateDetailResponse {
|
|
|
1337
1342
|
*/
|
|
1338
1343
|
Tags: Array<Tags>
|
|
1339
1344
|
|
|
1345
|
+
/**
|
|
1346
|
+
* 根证书。
|
|
1347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1348
|
+
*/
|
|
1349
|
+
RootCert: RootCertificates
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* 国密加密证书
|
|
1353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1354
|
+
*/
|
|
1355
|
+
EncryptCert: string
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* 国密加密私钥
|
|
1359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1360
|
+
*/
|
|
1361
|
+
EncryptPrivateKey: string
|
|
1362
|
+
|
|
1340
1363
|
/**
|
|
1341
1364
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1342
1365
|
*/
|
|
@@ -284,12 +284,12 @@ export interface DescribeNamespacesResponse {
|
|
|
284
284
|
/**
|
|
285
285
|
* 命名空间列表信息
|
|
286
286
|
*/
|
|
287
|
-
NamespaceList
|
|
287
|
+
NamespaceList: Array<TcrNamespaceInfo>
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
290
|
* 总个数
|
|
291
291
|
*/
|
|
292
|
-
TotalCount
|
|
292
|
+
TotalCount: number
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1982,8 +1982,9 @@ export class Client extends AbstractClient {
|
|
|
1982
1982
|
}
|
|
1983
1983
|
|
|
1984
1984
|
/**
|
|
1985
|
-
|
|
1986
|
-
|
|
1985
|
+
* 将点播视频发布到微信小程序,供微信小程序播放器播放。
|
|
1986
|
+
本接口支持发布原始视频和转码后视频,暂不支持发布自适应码流。
|
|
1987
|
+
*/
|
|
1987
1988
|
async WeChatMiniProgramPublish(
|
|
1988
1989
|
req: WeChatMiniProgramPublishRequest,
|
|
1989
1990
|
cb?: (error: string, rep: WeChatMiniProgramPublishResponse) => void
|