tencentcloud-sdk-nodejs 4.0.270 → 4.0.271
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 +118 -0
- package/SERVICE_CHANGELOG.md +185 -287
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cbs/v20170312/cbs_models.ts +5 -0
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/clb/v20180317/clb_client.ts +3 -0
- package/src/services/dlc/v20210125/dlc_models.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +12 -0
- package/src/services/ocr/v20181119/ocr_models.ts +2 -2
- package/src/services/postgres/v20170312/postgres_client.ts +86 -13
- package/src/services/postgres/v20170312/postgres_models.ts +327 -10
- package/src/services/scf/v20180416/scf_models.ts +6 -0
- package/src/services/sms/v20190711/sms_client.ts +2 -1
- package/src/services/sms/v20190711/sms_models.ts +19 -15
- package/src/services/tem/v20210701/tem_models.ts +37 -3
- 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 +4 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +3 -0
- package/tencentcloud/services/clb/v20180317/clb_client.js +3 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -5
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -6
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +276 -9
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +5 -0
- package/tencentcloud/services/sms/v20190711/sms_client.d.ts +2 -1
- package/tencentcloud/services/sms/v20190711/sms_client.js +2 -1
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +19 -15
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +31 -3
- package/test/postgres.v20170312.test.js +64 -4
|
@@ -51,12 +51,13 @@ export interface ModifySmsSignRequest {
|
|
|
51
51
|
SignName: string;
|
|
52
52
|
/**
|
|
53
53
|
* 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
|
54
|
-
0
|
|
55
|
-
1:APP
|
|
56
|
-
2
|
|
57
|
-
3
|
|
58
|
-
4
|
|
59
|
-
5
|
|
54
|
+
0:公司,可选 DocumentType 有(0,1)。
|
|
55
|
+
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
56
|
+
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
|
57
|
+
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
|
58
|
+
4:商标,可选 DocumentType 有(7)。
|
|
59
|
+
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
60
|
+
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
|
60
61
|
注:必须按照对应关系选择证明类型,否则会审核失败。
|
|
61
62
|
*/
|
|
62
63
|
SignType: number;
|
|
@@ -66,10 +67,11 @@ export interface ModifySmsSignRequest {
|
|
|
66
67
|
1:企业营业执照。
|
|
67
68
|
2:组织机构代码证书。
|
|
68
69
|
3:社会信用代码证书。
|
|
69
|
-
4
|
|
70
|
-
5
|
|
71
|
-
6
|
|
70
|
+
4:应用后台管理截图(个人开发APP)。
|
|
71
|
+
5:网站备案后台截图(个人开发网站)。
|
|
72
|
+
6:小程序设置页面截图(个人认证小程序)。
|
|
72
73
|
7:商标注册书。
|
|
74
|
+
8:公众号设置页面截图(个人认证公众号)。
|
|
73
75
|
*/
|
|
74
76
|
DocumentType: number;
|
|
75
77
|
/**
|
|
@@ -111,12 +113,13 @@ export interface AddSmsSignRequest {
|
|
|
111
113
|
SignName: string;
|
|
112
114
|
/**
|
|
113
115
|
* 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
|
114
|
-
0
|
|
115
|
-
1:APP
|
|
116
|
-
2
|
|
117
|
-
3
|
|
118
|
-
4
|
|
119
|
-
5
|
|
116
|
+
0:公司,可选 DocumentType 有(0,1)。
|
|
117
|
+
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
118
|
+
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
|
119
|
+
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
|
120
|
+
4:商标,可选 DocumentType 有(7)。
|
|
121
|
+
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
122
|
+
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
|
120
123
|
注:必须按照对应关系选择证明类型,否则会审核失败。
|
|
121
124
|
*/
|
|
122
125
|
SignType: number;
|
|
@@ -130,6 +133,7 @@ export interface AddSmsSignRequest {
|
|
|
130
133
|
5:网站备案后台截图(个人开发网站)。
|
|
131
134
|
6:小程序设置页面截图(个人认证小程序)。
|
|
132
135
|
7:商标注册书。
|
|
136
|
+
8:公众号设置页面截图(个人认证公众号)。
|
|
133
137
|
*/
|
|
134
138
|
DocumentType: number;
|
|
135
139
|
/**
|
|
@@ -551,8 +551,10 @@ export interface DeployApplicationRequest {
|
|
|
551
551
|
PkgName?: string;
|
|
552
552
|
/**
|
|
553
553
|
* JDK 版本。
|
|
554
|
-
- KONA:使用 kona jdk。
|
|
555
|
-
- OPEN:使用 open jdk。
|
|
554
|
+
- KONA:8:使用 kona jdk 8。
|
|
555
|
+
- OPEN:8:使用 open jdk 8。
|
|
556
|
+
- KONA:11:使用 kona jdk 11。
|
|
557
|
+
- OPEN:11:使用 open jdk 11。
|
|
556
558
|
*/
|
|
557
559
|
JdkVersion?: string;
|
|
558
560
|
/**
|
|
@@ -627,6 +629,18 @@ export interface DeployApplicationRequest {
|
|
|
627
629
|
* 是否启用log,1为启用,0为不启用
|
|
628
630
|
*/
|
|
629
631
|
LogEnable?: number;
|
|
632
|
+
/**
|
|
633
|
+
* (除开镜像配置)配置是否修改
|
|
634
|
+
*/
|
|
635
|
+
ConfEdited?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* 是否开启应用加速
|
|
638
|
+
*/
|
|
639
|
+
SpeedUp?: boolean;
|
|
640
|
+
/**
|
|
641
|
+
* 启动探针配置
|
|
642
|
+
*/
|
|
643
|
+
StartupProbe?: HealthCheckConfig;
|
|
630
644
|
}
|
|
631
645
|
/**
|
|
632
646
|
* Ingress 配置
|
|
@@ -1559,6 +1573,10 @@ export interface DeployStrategyConf {
|
|
|
1559
1573
|
* 每批暂停间隔
|
|
1560
1574
|
*/
|
|
1561
1575
|
BatchInterval?: number;
|
|
1576
|
+
/**
|
|
1577
|
+
* 最小可用实例数
|
|
1578
|
+
*/
|
|
1579
|
+
MinAvailable?: number;
|
|
1562
1580
|
}
|
|
1563
1581
|
/**
|
|
1564
1582
|
* DescribeIngress请求参数结构体
|
|
@@ -1794,11 +1812,21 @@ export interface CreateEnvironmentRequest {
|
|
|
1794
1812
|
*/
|
|
1795
1813
|
export interface Pair {
|
|
1796
1814
|
/**
|
|
1797
|
-
*
|
|
1815
|
+
* 键
|
|
1798
1816
|
*/
|
|
1799
1817
|
Key: string;
|
|
1800
1818
|
/**
|
|
1801
1819
|
* 值
|
|
1802
1820
|
*/
|
|
1803
1821
|
Value: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* 类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项
|
|
1824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1825
|
+
*/
|
|
1826
|
+
Type?: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* 配置名称
|
|
1829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1830
|
+
*/
|
|
1831
|
+
Config?: string;
|
|
1804
1832
|
}
|
|
@@ -58,6 +58,26 @@ it("postgres.v20170312.DestroyDBInstance", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("postgres.v20170312.DescribeBackupPlans", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeBackupPlans({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("postgres.v20170312.RenewInstance", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.RenewInstance({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
61
81
|
it("postgres.v20170312.DescribeDBBackups", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.DescribeDBBackups({})
|
|
@@ -128,6 +148,16 @@ it("postgres.v20170312.DescribeDBInstanceParameters", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
151
|
+
it("postgres.v20170312.ModifyBackupPlan", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyBackupPlan({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
131
161
|
it("postgres.v20170312.CloseServerlessDBExtranetAccess", async function () {
|
|
132
162
|
try {
|
|
133
163
|
const data = await client.CloseServerlessDBExtranetAccess({})
|
|
@@ -208,6 +238,16 @@ it("postgres.v20170312.UpgradeDBInstance", async function () {
|
|
|
208
238
|
}
|
|
209
239
|
})
|
|
210
240
|
|
|
241
|
+
it("postgres.v20170312.ModifyDBInstanceDeployment", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ModifyDBInstanceDeployment({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
211
251
|
it("postgres.v20170312.CreateDBInstances", async function () {
|
|
212
252
|
try {
|
|
213
253
|
const data = await client.CreateDBInstances({})
|
|
@@ -318,9 +358,9 @@ it("postgres.v20170312.ModifyDBInstanceSpec", async function () {
|
|
|
318
358
|
}
|
|
319
359
|
})
|
|
320
360
|
|
|
321
|
-
it("postgres.v20170312.
|
|
361
|
+
it("postgres.v20170312.DescribeAvailableRecoveryTime", async function () {
|
|
322
362
|
try {
|
|
323
|
-
const data = await client.
|
|
363
|
+
const data = await client.DescribeAvailableRecoveryTime({})
|
|
324
364
|
expect(data).to.be.ok
|
|
325
365
|
} catch(error) {
|
|
326
366
|
expect(error.requestId).to.be.ok
|
|
@@ -378,6 +418,16 @@ it("postgres.v20170312.CloseDBExtranetAccess", async function () {
|
|
|
378
418
|
}
|
|
379
419
|
})
|
|
380
420
|
|
|
421
|
+
it("postgres.v20170312.CloneDBInstance", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.CloneDBInstance({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
381
431
|
it("postgres.v20170312.AddDBInstanceToReadOnlyGroup", async function () {
|
|
382
432
|
try {
|
|
383
433
|
const data = await client.AddDBInstanceToReadOnlyGroup({})
|
|
@@ -438,9 +488,9 @@ it("postgres.v20170312.RebalanceReadOnlyGroup", async function () {
|
|
|
438
488
|
}
|
|
439
489
|
})
|
|
440
490
|
|
|
441
|
-
it("postgres.v20170312.
|
|
491
|
+
it("postgres.v20170312.DescribeCloneDBInstanceSpec", async function () {
|
|
442
492
|
try {
|
|
443
|
-
const data = await client.
|
|
493
|
+
const data = await client.DescribeCloneDBInstanceSpec({})
|
|
444
494
|
expect(data).to.be.ok
|
|
445
495
|
} catch(error) {
|
|
446
496
|
expect(error.requestId).to.be.ok
|
|
@@ -498,6 +548,16 @@ it("postgres.v20170312.CreateInstances", async function () {
|
|
|
498
548
|
}
|
|
499
549
|
})
|
|
500
550
|
|
|
551
|
+
it("postgres.v20170312.RemoveDBInstanceFromReadOnlyGroup", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.RemoveDBInstanceFromReadOnlyGroup({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
501
561
|
it("postgres.v20170312.DescribeProductConfig", async function () {
|
|
502
562
|
try {
|
|
503
563
|
const data = await client.DescribeProductConfig({})
|