tencentcloud-sdk-nodejs 4.0.528 → 4.0.530
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 +304 -0
- package/SERVICE_CHANGELOG.md +379 -37
- package/package.json +1 -1
- package/products.md +42 -41
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
- package/src/services/clb/v20180317/clb_client.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +31 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +18 -6
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +25 -0
- package/src/services/es/v20180416/es_models.ts +5 -0
- package/src/services/ess/v20201111/ess_client.ts +23 -8
- package/src/services/ess/v20201111/ess_models.ts +58 -8
- package/src/services/essbasic/v20210526/essbasic_client.ts +39 -24
- package/src/services/essbasic/v20210526/essbasic_models.ts +209 -153
- package/src/services/fmu/v20191213/fmu_models.ts +8 -6
- package/src/services/gme/v20180711/gme_models.ts +20 -14
- package/src/services/goosefs/index.ts +5 -0
- package/src/services/goosefs/v20220519/goosefs_client.ts +40 -0
- package/src/services/goosefs/v20220519/goosefs_models.ts +61 -0
- package/src/services/goosefs/v20220519/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_client.ts +32 -6
- package/src/services/lcic/v20220817/lcic_models.ts +188 -7
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
- package/src/services/monitor/v20180724/monitor_client.ts +241 -55
- package/src/services/monitor/v20180724/monitor_models.ts +998 -339
- package/src/services/mps/v20190612/mps_models.ts +16 -1
- package/src/services/tcb/v20180608/tcb_models.ts +54 -30
- package/src/services/vpc/v20170312/vpc_client.ts +3 -2
- package/src/services/vpc/v20170312/vpc_models.ts +35 -2
- package/src/services/waf/v20180125/waf_models.ts +10 -10
- 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 -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/ckafka/v20190819/ckafka_models.d.ts +5 -0
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +26 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +9 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +22 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +11 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +51 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +14 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -9
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +180 -131
- package/tencentcloud/services/fmu/v20191213/fmu_models.d.ts +4 -2
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +18 -13
- package/tencentcloud/services/goosefs/index.d.ts +6 -0
- package/tencentcloud/services/goosefs/index.js +7 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +14 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +37 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +38 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.js +18 -0
- package/tencentcloud/services/goosefs/v20220519/index.d.ts +6 -0
- package/tencentcloud/services/goosefs/v20220519/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +11 -3
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +15 -3
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +163 -6
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +75 -15
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +111 -21
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +807 -243
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +13 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +50 -30
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +32 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +10 -10
- package/test/cynosdb.v20190107.test.js +12 -2
- package/test/ess.v20201111.test.js +12 -2
- package/test/essbasic.v20210526.test.js +14 -4
- package/test/goosefs.v20220519.test.js +31 -0
- package/test/lcic.v20220817.test.js +22 -2
- package/test/monitor.v20180724.test.js +164 -14
|
@@ -38,6 +38,16 @@ it("monitor.v20180724.CreateAlertRule", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("monitor.v20180724.DeletePrometheusClusterAgent", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DeletePrometheusClusterAgent({})
|
|
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
|
+
|
|
41
51
|
it("monitor.v20180724.DescribeBindingPolicyObjectList", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.DescribeBindingPolicyObjectList({})
|
|
@@ -58,6 +68,16 @@ it("monitor.v20180724.UpdateAlertRule", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
71
|
+
it("monitor.v20180724.ModifyPrometheusAlertPolicy", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyPrometheusAlertPolicy({})
|
|
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("monitor.v20180724.DescribePrometheusInstanceUsage", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.DescribePrometheusInstanceUsage({})
|
|
@@ -98,9 +118,9 @@ it("monitor.v20180724.CreateGrafanaInstance", async function () {
|
|
|
98
118
|
}
|
|
99
119
|
})
|
|
100
120
|
|
|
101
|
-
it("monitor.v20180724.
|
|
121
|
+
it("monitor.v20180724.CreateAlarmPolicy", async function () {
|
|
102
122
|
try {
|
|
103
|
-
const data = await client.
|
|
123
|
+
const data = await client.CreateAlarmPolicy({})
|
|
104
124
|
expect(data).to.be.ok
|
|
105
125
|
} catch(error) {
|
|
106
126
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +158,19 @@ it("monitor.v20180724.UpdateSSOAccount", async function () {
|
|
|
138
158
|
}
|
|
139
159
|
})
|
|
140
160
|
|
|
141
|
-
it("monitor.v20180724.
|
|
161
|
+
it("monitor.v20180724.DescribePrometheusClusterAgents", async function () {
|
|
142
162
|
try {
|
|
143
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribePrometheusClusterAgents({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
it("monitor.v20180724.CheckIsPrometheusNewUser", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.CheckIsPrometheusNewUser({})
|
|
144
174
|
expect(data).to.be.ok
|
|
145
175
|
} catch(error) {
|
|
146
176
|
expect(error.requestId).to.be.ok
|
|
@@ -348,6 +378,16 @@ it("monitor.v20180724.DeleteServiceDiscovery", async function () {
|
|
|
348
378
|
}
|
|
349
379
|
})
|
|
350
380
|
|
|
381
|
+
it("monitor.v20180724.CreatePrometheusClusterAgent", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.CreatePrometheusClusterAgent({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
351
391
|
it("monitor.v20180724.BindingPolicyTag", async function () {
|
|
352
392
|
try {
|
|
353
393
|
const data = await client.BindingPolicyTag({})
|
|
@@ -408,6 +448,16 @@ it("monitor.v20180724.GetPrometheusAgentManagementCommand", async function () {
|
|
|
408
448
|
}
|
|
409
449
|
})
|
|
410
450
|
|
|
451
|
+
it("monitor.v20180724.UpdateExporterIntegration", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.UpdateExporterIntegration({})
|
|
454
|
+
expect(data).to.be.ok
|
|
455
|
+
} catch(error) {
|
|
456
|
+
expect(error.requestId).to.be.ok
|
|
457
|
+
expect(error.code).to.be.ok
|
|
458
|
+
}
|
|
459
|
+
})
|
|
460
|
+
|
|
411
461
|
it("monitor.v20180724.UpdatePrometheusScrapeJob", async function () {
|
|
412
462
|
try {
|
|
413
463
|
const data = await client.UpdatePrometheusScrapeJob({})
|
|
@@ -568,6 +618,16 @@ it("monitor.v20180724.DescribeAlarmHistories", async function () {
|
|
|
568
618
|
}
|
|
569
619
|
})
|
|
570
620
|
|
|
621
|
+
it("monitor.v20180724.CreateAlarmNotice", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.CreateAlarmNotice({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
571
631
|
it("monitor.v20180724.DeleteSSOAccount", async function () {
|
|
572
632
|
try {
|
|
573
633
|
const data = await client.DeleteSSOAccount({})
|
|
@@ -608,6 +668,16 @@ it("monitor.v20180724.DescribePrometheusTemp", async function () {
|
|
|
608
668
|
}
|
|
609
669
|
})
|
|
610
670
|
|
|
671
|
+
it("monitor.v20180724.UpdateGrafanaWhiteList", async function () {
|
|
672
|
+
try {
|
|
673
|
+
const data = await client.UpdateGrafanaWhiteList({})
|
|
674
|
+
expect(data).to.be.ok
|
|
675
|
+
} catch(error) {
|
|
676
|
+
expect(error.requestId).to.be.ok
|
|
677
|
+
expect(error.code).to.be.ok
|
|
678
|
+
}
|
|
679
|
+
})
|
|
680
|
+
|
|
611
681
|
it("monitor.v20180724.SetDefaultAlarmPolicy", async function () {
|
|
612
682
|
try {
|
|
613
683
|
const data = await client.SetDefaultAlarmPolicy({})
|
|
@@ -628,6 +698,16 @@ it("monitor.v20180724.DeleteGrafanaInstance", async function () {
|
|
|
628
698
|
}
|
|
629
699
|
})
|
|
630
700
|
|
|
701
|
+
it("monitor.v20180724.DeletePrometheusConfig", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.DeletePrometheusConfig({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
631
711
|
it("monitor.v20180724.CreateSSOAccount", async function () {
|
|
632
712
|
try {
|
|
633
713
|
const data = await client.CreateSSOAccount({})
|
|
@@ -718,9 +798,9 @@ it("monitor.v20180724.DescribeSSOAccount", async function () {
|
|
|
718
798
|
}
|
|
719
799
|
})
|
|
720
800
|
|
|
721
|
-
it("monitor.v20180724.
|
|
801
|
+
it("monitor.v20180724.DescribeBasicAlarmList", async function () {
|
|
722
802
|
try {
|
|
723
|
-
const data = await client.
|
|
803
|
+
const data = await client.DescribeBasicAlarmList({})
|
|
724
804
|
expect(data).to.be.ok
|
|
725
805
|
} catch(error) {
|
|
726
806
|
expect(error.requestId).to.be.ok
|
|
@@ -748,9 +828,9 @@ it("monitor.v20180724.SyncPrometheusTemp", async function () {
|
|
|
748
828
|
}
|
|
749
829
|
})
|
|
750
830
|
|
|
751
|
-
it("monitor.v20180724.
|
|
831
|
+
it("monitor.v20180724.CreatePrometheusGlobalNotification", async function () {
|
|
752
832
|
try {
|
|
753
|
-
const data = await client.
|
|
833
|
+
const data = await client.CreatePrometheusGlobalNotification({})
|
|
754
834
|
expect(data).to.be.ok
|
|
755
835
|
} catch(error) {
|
|
756
836
|
expect(error.requestId).to.be.ok
|
|
@@ -818,6 +898,16 @@ it("monitor.v20180724.DescribeInstalledPlugins", async function () {
|
|
|
818
898
|
}
|
|
819
899
|
})
|
|
820
900
|
|
|
901
|
+
it("monitor.v20180724.DescribePrometheusGlobalNotification", async function () {
|
|
902
|
+
try {
|
|
903
|
+
const data = await client.DescribePrometheusGlobalNotification({})
|
|
904
|
+
expect(data).to.be.ok
|
|
905
|
+
} catch(error) {
|
|
906
|
+
expect(error.requestId).to.be.ok
|
|
907
|
+
expect(error.code).to.be.ok
|
|
908
|
+
}
|
|
909
|
+
})
|
|
910
|
+
|
|
821
911
|
it("monitor.v20180724.UpgradeGrafanaDashboard", async function () {
|
|
822
912
|
try {
|
|
823
913
|
const data = await client.UpgradeGrafanaDashboard({})
|
|
@@ -848,6 +938,16 @@ it("monitor.v20180724.DescribeDNSConfig", async function () {
|
|
|
848
938
|
}
|
|
849
939
|
})
|
|
850
940
|
|
|
941
|
+
it("monitor.v20180724.ModifyPrometheusGlobalNotification", async function () {
|
|
942
|
+
try {
|
|
943
|
+
const data = await client.ModifyPrometheusGlobalNotification({})
|
|
944
|
+
expect(data).to.be.ok
|
|
945
|
+
} catch(error) {
|
|
946
|
+
expect(error.requestId).to.be.ok
|
|
947
|
+
expect(error.code).to.be.ok
|
|
948
|
+
}
|
|
949
|
+
})
|
|
950
|
+
|
|
851
951
|
it("monitor.v20180724.DescribePrometheusAgentInstances", async function () {
|
|
852
952
|
try {
|
|
853
953
|
const data = await client.DescribePrometheusAgentInstances({})
|
|
@@ -918,6 +1018,16 @@ it("monitor.v20180724.DescribeGrafanaNotificationChannels", async function () {
|
|
|
918
1018
|
}
|
|
919
1019
|
})
|
|
920
1020
|
|
|
1021
|
+
it("monitor.v20180724.ModifyPrometheusAgentExternalLabels", async function () {
|
|
1022
|
+
try {
|
|
1023
|
+
const data = await client.ModifyPrometheusAgentExternalLabels({})
|
|
1024
|
+
expect(data).to.be.ok
|
|
1025
|
+
} catch(error) {
|
|
1026
|
+
expect(error.requestId).to.be.ok
|
|
1027
|
+
expect(error.code).to.be.ok
|
|
1028
|
+
}
|
|
1029
|
+
})
|
|
1030
|
+
|
|
921
1031
|
it("monitor.v20180724.ModifyPolicyGroup", async function () {
|
|
922
1032
|
try {
|
|
923
1033
|
const data = await client.ModifyPolicyGroup({})
|
|
@@ -948,9 +1058,9 @@ it("monitor.v20180724.DescribePrometheusTempSync", async function () {
|
|
|
948
1058
|
}
|
|
949
1059
|
})
|
|
950
1060
|
|
|
951
|
-
it("monitor.v20180724.
|
|
1061
|
+
it("monitor.v20180724.DescribePrometheusZones", async function () {
|
|
952
1062
|
try {
|
|
953
|
-
const data = await client.
|
|
1063
|
+
const data = await client.DescribePrometheusZones({})
|
|
954
1064
|
expect(data).to.be.ok
|
|
955
1065
|
} catch(error) {
|
|
956
1066
|
expect(error.requestId).to.be.ok
|
|
@@ -988,6 +1098,16 @@ it("monitor.v20180724.DeleteExporterIntegration", async function () {
|
|
|
988
1098
|
}
|
|
989
1099
|
})
|
|
990
1100
|
|
|
1101
|
+
it("monitor.v20180724.DeletePrometheusAlertPolicy", async function () {
|
|
1102
|
+
try {
|
|
1103
|
+
const data = await client.DeletePrometheusAlertPolicy({})
|
|
1104
|
+
expect(data).to.be.ok
|
|
1105
|
+
} catch(error) {
|
|
1106
|
+
expect(error.requestId).to.be.ok
|
|
1107
|
+
expect(error.code).to.be.ok
|
|
1108
|
+
}
|
|
1109
|
+
})
|
|
1110
|
+
|
|
991
1111
|
it("monitor.v20180724.UpdatePrometheusAgentStatus", async function () {
|
|
992
1112
|
try {
|
|
993
1113
|
const data = await client.UpdatePrometheusAgentStatus({})
|
|
@@ -1018,9 +1138,9 @@ it("monitor.v20180724.DescribeAlertRules", async function () {
|
|
|
1018
1138
|
}
|
|
1019
1139
|
})
|
|
1020
1140
|
|
|
1021
|
-
it("monitor.v20180724.
|
|
1141
|
+
it("monitor.v20180724.DescribePrometheusGlobalConfig", async function () {
|
|
1022
1142
|
try {
|
|
1023
|
-
const data = await client.
|
|
1143
|
+
const data = await client.DescribePrometheusGlobalConfig({})
|
|
1024
1144
|
expect(data).to.be.ok
|
|
1025
1145
|
} catch(error) {
|
|
1026
1146
|
expect(error.requestId).to.be.ok
|
|
@@ -1048,6 +1168,16 @@ it("monitor.v20180724.DescribeAlarmPolicies", async function () {
|
|
|
1048
1168
|
}
|
|
1049
1169
|
})
|
|
1050
1170
|
|
|
1171
|
+
it("monitor.v20180724.DescribePrometheusTargetsTMP", async function () {
|
|
1172
|
+
try {
|
|
1173
|
+
const data = await client.DescribePrometheusTargetsTMP({})
|
|
1174
|
+
expect(data).to.be.ok
|
|
1175
|
+
} catch(error) {
|
|
1176
|
+
expect(error.requestId).to.be.ok
|
|
1177
|
+
expect(error.code).to.be.ok
|
|
1178
|
+
}
|
|
1179
|
+
})
|
|
1180
|
+
|
|
1051
1181
|
it("monitor.v20180724.DescribeGrafanaWhiteList", async function () {
|
|
1052
1182
|
try {
|
|
1053
1183
|
const data = await client.DescribeGrafanaWhiteList({})
|
|
@@ -1058,6 +1188,16 @@ it("monitor.v20180724.DescribeGrafanaWhiteList", async function () {
|
|
|
1058
1188
|
}
|
|
1059
1189
|
})
|
|
1060
1190
|
|
|
1191
|
+
it("monitor.v20180724.CreatePrometheusAlertPolicy", async function () {
|
|
1192
|
+
try {
|
|
1193
|
+
const data = await client.CreatePrometheusAlertPolicy({})
|
|
1194
|
+
expect(data).to.be.ok
|
|
1195
|
+
} catch(error) {
|
|
1196
|
+
expect(error.requestId).to.be.ok
|
|
1197
|
+
expect(error.code).to.be.ok
|
|
1198
|
+
}
|
|
1199
|
+
})
|
|
1200
|
+
|
|
1061
1201
|
it("monitor.v20180724.CleanGrafanaInstance", async function () {
|
|
1062
1202
|
try {
|
|
1063
1203
|
const data = await client.CleanGrafanaInstance({})
|
|
@@ -1318,6 +1458,16 @@ it("monitor.v20180724.DeletePrometheusTempSync", async function () {
|
|
|
1318
1458
|
}
|
|
1319
1459
|
})
|
|
1320
1460
|
|
|
1461
|
+
it("monitor.v20180724.CreatePrometheusConfig", async function () {
|
|
1462
|
+
try {
|
|
1463
|
+
const data = await client.CreatePrometheusConfig({})
|
|
1464
|
+
expect(data).to.be.ok
|
|
1465
|
+
} catch(error) {
|
|
1466
|
+
expect(error.requestId).to.be.ok
|
|
1467
|
+
expect(error.code).to.be.ok
|
|
1468
|
+
}
|
|
1469
|
+
})
|
|
1470
|
+
|
|
1321
1471
|
it("monitor.v20180724.DescribePluginOverviews", async function () {
|
|
1322
1472
|
try {
|
|
1323
1473
|
const data = await client.DescribePluginOverviews({})
|
|
@@ -1338,9 +1488,9 @@ it("monitor.v20180724.DescribeRecordingRules", async function () {
|
|
|
1338
1488
|
}
|
|
1339
1489
|
})
|
|
1340
1490
|
|
|
1341
|
-
it("monitor.v20180724.
|
|
1491
|
+
it("monitor.v20180724.ModifyPrometheusConfig", async function () {
|
|
1342
1492
|
try {
|
|
1343
|
-
const data = await client.
|
|
1493
|
+
const data = await client.ModifyPrometheusConfig({})
|
|
1344
1494
|
expect(data).to.be.ok
|
|
1345
1495
|
} catch(error) {
|
|
1346
1496
|
expect(error.requestId).to.be.ok
|