tencentcloud-sdk-nodejs 4.0.602 → 4.0.603
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 +143 -0
- package/SERVICE_CHANGELOG.md +221 -450
- package/package.json +1 -1
- package/products.md +14 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +0 -17
- package/src/services/cdb/v20170320/cdb_models.ts +0 -65
- package/src/services/csxg/index.ts +5 -0
- package/src/services/csxg/v20230303/csxg_client.ts +91 -0
- package/src/services/csxg/v20230303/csxg_models.ts +91 -0
- package/src/services/csxg/v20230303/index.ts +6 -0
- package/src/services/dts/v20211206/dts_models.ts +4 -4
- package/src/services/ess/v20201111/ess_client.ts +6 -3
- package/src/services/ess/v20201111/ess_models.ts +12 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +5 -5
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +3 -3
- package/src/services/live/v20180801/live_models.ts +5 -0
- package/src/services/monitor/v20180724/monitor_models.ts +30 -9
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +36 -12
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +829 -554
- package/src/services/tsf/v20180326/tsf_models.ts +18 -0
- package/src/services/vpc/v20170312/vpc_models.ts +4 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -9
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +0 -10
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +0 -55
- package/tencentcloud/services/csxg/index.d.ts +6 -0
- package/tencentcloud/services/csxg/index.js +7 -0
- package/tencentcloud/services/csxg/v20230303/csxg_client.d.ts +30 -0
- package/tencentcloud/services/csxg/v20230303/csxg_client.js +61 -0
- package/tencentcloud/services/csxg/v20230303/csxg_models.d.ts +65 -0
- package/tencentcloud/services/csxg/v20230303/csxg_models.js +18 -0
- package/tencentcloud/services/csxg/v20230303/index.d.ts +6 -0
- package/tencentcloud/services/csxg/v20230303/index.js +9 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +4 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +5 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +5 -5
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +3 -3
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +26 -9
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +11 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +15 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +622 -398
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +15 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -4
- package/test/cdb.v20170320.test.js +0 -10
- package/test/csxg.v20230303.test.js +71 -0
- package/test/sqlserver.v20180328.test.js +22 -2
|
@@ -6379,6 +6379,21 @@ export interface UnitRuleItem {
|
|
|
6379
6379
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6380
6380
|
*/
|
|
6381
6381
|
UnitRuleTagList?: Array<UnitRuleTag>;
|
|
6382
|
+
/**
|
|
6383
|
+
* 项目id
|
|
6384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6385
|
+
*/
|
|
6386
|
+
ItemIndex?: number;
|
|
6387
|
+
/**
|
|
6388
|
+
* 创建时间
|
|
6389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6390
|
+
*/
|
|
6391
|
+
CreatedTime?: string;
|
|
6392
|
+
/**
|
|
6393
|
+
* 修改时间
|
|
6394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6395
|
+
*/
|
|
6396
|
+
UpdatedTime?: string;
|
|
6382
6397
|
}
|
|
6383
6398
|
/**
|
|
6384
6399
|
* UpdateConfigTemplate返回参数结构体
|
|
@@ -7273,7 +7273,7 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
7273
7273
|
*/
|
|
7274
7274
|
SecondaryPrivateIpAddressCount?: number;
|
|
7275
7275
|
/**
|
|
7276
|
-
* IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT
|
|
7276
|
+
* IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
|
|
7277
7277
|
*/
|
|
7278
7278
|
QosLevel?: string;
|
|
7279
7279
|
/**
|
|
@@ -7793,7 +7793,7 @@ export interface CreateAndAttachNetworkInterfaceRequest {
|
|
|
7793
7793
|
*/
|
|
7794
7794
|
SecondaryPrivateIpAddressCount?: number;
|
|
7795
7795
|
/**
|
|
7796
|
-
* IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT
|
|
7796
|
+
* IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
|
|
7797
7797
|
*/
|
|
7798
7798
|
QosLevel?: string;
|
|
7799
7799
|
/**
|
|
@@ -11387,7 +11387,7 @@ export interface ModifyNetworkInterfaceQosRequest {
|
|
|
11387
11387
|
*/
|
|
11388
11388
|
NetworkInterfaceIds: Array<string>;
|
|
11389
11389
|
/**
|
|
11390
|
-
* 服务质量,可选值:PT、AU、AG、DEFAULT
|
|
11390
|
+
* 服务质量,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
|
|
11391
11391
|
*/
|
|
11392
11392
|
QosLevel: string;
|
|
11393
11393
|
/**
|
|
@@ -11511,7 +11511,7 @@ export interface AssignPrivateIpAddressesRequest {
|
|
|
11511
11511
|
*/
|
|
11512
11512
|
SecondaryPrivateIpAddressCount?: number;
|
|
11513
11513
|
/**
|
|
11514
|
-
* IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT
|
|
11514
|
+
* IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
|
|
11515
11515
|
*/
|
|
11516
11516
|
QosLevel?: string;
|
|
11517
11517
|
}
|
|
@@ -568,16 +568,6 @@ it("cdb.v20170320.DescribeDBInstanceConfig", async function () {
|
|
|
568
568
|
}
|
|
569
569
|
})
|
|
570
570
|
|
|
571
|
-
it("cdb.v20170320.DescribeBackupTables", async function () {
|
|
572
|
-
try {
|
|
573
|
-
const data = await client.DescribeBackupTables({})
|
|
574
|
-
expect(data).to.be.ok
|
|
575
|
-
} catch(error) {
|
|
576
|
-
expect(error.requestId).to.be.ok
|
|
577
|
-
expect(error.code).to.be.ok
|
|
578
|
-
}
|
|
579
|
-
})
|
|
580
|
-
|
|
581
571
|
it("cdb.v20170320.CreateCdbProxyAddress", async function () {
|
|
582
572
|
try {
|
|
583
573
|
const data = await client.CreateCdbProxyAddress({})
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.csxg.v20230303.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("csxg.v20230303.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("csxg.v20230303.Modify5GInstanceAttribute", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.Modify5GInstanceAttribute({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("csxg.v20230303.Delete5GInstance", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.Delete5GInstance({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("csxg.v20230303.Create5GInstance", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.Create5GInstance({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("csxg.v20230303.Describe5GInstances", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.Describe5GInstances({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("csxg.v20230303.Describe5GAPNs", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.Describe5GAPNs({})
|
|
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
|
+
})
|
|
@@ -478,9 +478,9 @@ it("sqlserver.v20180328.CreateDB", async function () {
|
|
|
478
478
|
}
|
|
479
479
|
})
|
|
480
480
|
|
|
481
|
-
it("sqlserver.v20180328.
|
|
481
|
+
it("sqlserver.v20180328.CreateCloudDBInstances", async function () {
|
|
482
482
|
try {
|
|
483
|
-
const data = await client.
|
|
483
|
+
const data = await client.CreateCloudDBInstances({})
|
|
484
484
|
expect(data).to.be.ok
|
|
485
485
|
} catch(error) {
|
|
486
486
|
expect(error.requestId).to.be.ok
|
|
@@ -678,6 +678,16 @@ it("sqlserver.v20180328.DescribeBusinessIntelligenceFile", async function () {
|
|
|
678
678
|
}
|
|
679
679
|
})
|
|
680
680
|
|
|
681
|
+
it("sqlserver.v20180328.StartBackupMigration", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.StartBackupMigration({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
681
691
|
it("sqlserver.v20180328.AssociateSecurityGroups", async function () {
|
|
682
692
|
try {
|
|
683
693
|
const data = await client.AssociateSecurityGroups({})
|
|
@@ -808,6 +818,16 @@ it("sqlserver.v20180328.CreateReadOnlyDBInstances", async function () {
|
|
|
808
818
|
}
|
|
809
819
|
})
|
|
810
820
|
|
|
821
|
+
it("sqlserver.v20180328.CreateCloudReadOnlyDBInstances", async function () {
|
|
822
|
+
try {
|
|
823
|
+
const data = await client.CreateCloudReadOnlyDBInstances({})
|
|
824
|
+
expect(data).to.be.ok
|
|
825
|
+
} catch(error) {
|
|
826
|
+
expect(error.requestId).to.be.ok
|
|
827
|
+
expect(error.code).to.be.ok
|
|
828
|
+
}
|
|
829
|
+
})
|
|
830
|
+
|
|
811
831
|
it("sqlserver.v20180328.CloseInterCommunication", async function () {
|
|
812
832
|
try {
|
|
813
833
|
const data = await client.CloseInterCommunication({})
|