tencentcloud-sdk-nodejs 4.0.368 → 4.0.371
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 +476 -0
- package/SERVICE_CHANGELOG.md +503 -79
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cii/v20210408/cii_models.ts +5 -0
- package/src/services/cme/v20191029/cme_client.ts +3 -1
- package/src/services/cme/v20191029/cme_models.ts +21 -0
- package/src/services/cpdp/v20190820/cpdp_client.ts +163 -38
- package/src/services/cpdp/v20190820/cpdp_models.ts +2091 -464
- package/src/services/eb/v20210416/eb_models.ts +5 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +13 -14
- package/src/services/gaap/v20180529/gaap_models.ts +6 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -4
- package/src/services/mmps/v20200710/mmps_client.ts +20 -6
- package/src/services/mmps/v20200710/mmps_models.ts +163 -0
- package/src/services/monitor/v20180724/monitor_client.ts +353 -60
- package/src/services/monitor/v20180724/monitor_models.ts +1577 -481
- package/src/services/mrs/v20200910/mrs_client.ts +2 -0
- package/src/services/mrs/v20200910/mrs_models.ts +106 -0
- package/src/services/ocr/v20181119/ocr_models.ts +11 -10
- package/src/services/postgres/v20170312/postgres_models.ts +2 -2
- package/src/services/tcbr/v20220217/tcbr_client.ts +22 -7
- package/src/services/tcbr/v20220217/tcbr_models.ts +212 -15
- package/src/services/tdmq/v20200217/tdmq_models.ts +27 -0
- package/src/services/teo/v20220106/teo_client.ts +4 -3
- package/src/services/teo/v20220106/teo_models.ts +132 -105
- package/src/services/tke/v20180525/tke_client.ts +13 -1
- package/src/services/tke/v20180525/tke_models.ts +62 -7
- package/src/services/tse/v20201207/tse_client.ts +75 -23
- package/src/services/tse/v20201207/tse_models.ts +417 -157
- package/src/services/vpc/v20170312/vpc_models.ts +5 -5
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +4 -0
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +2 -1
- package/tencentcloud/services/cme/v20191029/cme_client.js +2 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +45 -9
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +66 -12
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1730 -352
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -11
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +5 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -4
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -4
- package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +7 -3
- package/tencentcloud/services/mmps/v20200710/mmps_client.js +9 -3
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +135 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +112 -16
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +164 -20
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1389 -444
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +90 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +11 -10
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +2 -2
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +7 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +9 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +177 -13
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +22 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +111 -88
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +53 -7
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +21 -5
- package/tencentcloud/services/tse/v20201207/tse_client.js +30 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +366 -144
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +5 -5
- package/test/cpdp.v20190820.test.js +98 -8
- package/test/mmps.v20200710.test.js +12 -2
- package/test/monitor.v20180724.test.js +250 -10
- package/test/tcbr.v20220217.test.js +12 -2
- package/test/tke.v20180525.test.js +10 -0
- package/test/tse.v20201207.test.js +44 -4
|
@@ -38,6 +38,16 @@ it("cpdp.v20190820.DistributeAccreditQuery", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("cpdp.v20190820.QueryOpenBankSubMerchantRateConfigure", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.QueryOpenBankSubMerchantRateConfigure({})
|
|
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("cpdp.v20190820.QueryFlexFreezeOrderList", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.QueryFlexFreezeOrderList({})
|
|
@@ -118,9 +128,9 @@ it("cpdp.v20190820.QueryOrder", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
121
|
-
it("cpdp.v20190820.
|
|
131
|
+
it("cpdp.v20190820.QueryOpenBankRefundOrder", async function () {
|
|
122
132
|
try {
|
|
123
|
-
const data = await client.
|
|
133
|
+
const data = await client.QueryOpenBankRefundOrder({})
|
|
124
134
|
expect(data).to.be.ok
|
|
125
135
|
} catch(error) {
|
|
126
136
|
expect(error.requestId).to.be.ok
|
|
@@ -218,6 +228,16 @@ it("cpdp.v20190820.ViewContract", async function () {
|
|
|
218
228
|
}
|
|
219
229
|
})
|
|
220
230
|
|
|
231
|
+
it("cpdp.v20190820.CreateOpenBankUnifiedOrder", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.CreateOpenBankUnifiedOrder({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
221
241
|
it("cpdp.v20190820.QueryCustAcctIdBalance", async function () {
|
|
222
242
|
try {
|
|
223
243
|
const data = await client.QueryCustAcctIdBalance({})
|
|
@@ -618,6 +638,16 @@ it("cpdp.v20190820.CreatePayRollPreOrder", async function () {
|
|
|
618
638
|
}
|
|
619
639
|
})
|
|
620
640
|
|
|
641
|
+
it("cpdp.v20190820.AddContract", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.AddContract({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
621
651
|
it("cpdp.v20190820.CreateCloudSubMerchant", async function () {
|
|
622
652
|
try {
|
|
623
653
|
const data = await client.CreateCloudSubMerchant({})
|
|
@@ -688,6 +718,16 @@ it("cpdp.v20190820.QueryFlexPayeeAccountInfo", async function () {
|
|
|
688
718
|
}
|
|
689
719
|
})
|
|
690
720
|
|
|
721
|
+
it("cpdp.v20190820.RefundOpenBankOrder", async function () {
|
|
722
|
+
try {
|
|
723
|
+
const data = await client.RefundOpenBankOrder({})
|
|
724
|
+
expect(data).to.be.ok
|
|
725
|
+
} catch(error) {
|
|
726
|
+
expect(error.requestId).to.be.ok
|
|
727
|
+
expect(error.code).to.be.ok
|
|
728
|
+
}
|
|
729
|
+
})
|
|
730
|
+
|
|
691
731
|
it("cpdp.v20190820.CreatePayRollToken", async function () {
|
|
692
732
|
try {
|
|
693
733
|
const data = await client.CreatePayRollToken({})
|
|
@@ -698,6 +738,16 @@ it("cpdp.v20190820.CreatePayRollToken", async function () {
|
|
|
698
738
|
}
|
|
699
739
|
})
|
|
700
740
|
|
|
741
|
+
it("cpdp.v20190820.UploadExternalAnchorInfo", async function () {
|
|
742
|
+
try {
|
|
743
|
+
const data = await client.UploadExternalAnchorInfo({})
|
|
744
|
+
expect(data).to.be.ok
|
|
745
|
+
} catch(error) {
|
|
746
|
+
expect(error.requestId).to.be.ok
|
|
747
|
+
expect(error.code).to.be.ok
|
|
748
|
+
}
|
|
749
|
+
})
|
|
750
|
+
|
|
701
751
|
it("cpdp.v20190820.UnifiedOrder", async function () {
|
|
702
752
|
try {
|
|
703
753
|
const data = await client.UnifiedOrder({})
|
|
@@ -738,6 +788,16 @@ it("cpdp.v20190820.QueryContractRelateShop", async function () {
|
|
|
738
788
|
}
|
|
739
789
|
})
|
|
740
790
|
|
|
791
|
+
it("cpdp.v20190820.ViewShop", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.ViewShop({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
741
801
|
it("cpdp.v20190820.CheckAmount", async function () {
|
|
742
802
|
try {
|
|
743
803
|
const data = await client.CheckAmount({})
|
|
@@ -818,6 +878,16 @@ it("cpdp.v20190820.MigrateOrderRefund", async function () {
|
|
|
818
878
|
}
|
|
819
879
|
})
|
|
820
880
|
|
|
881
|
+
it("cpdp.v20190820.QueryOpenBankSubMerchantCredential", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.QueryOpenBankSubMerchantCredential({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
821
891
|
it("cpdp.v20190820.QueryFlexPaymentOrderStatus", async function () {
|
|
822
892
|
try {
|
|
823
893
|
const data = await client.QueryFlexPaymentOrderStatus({})
|
|
@@ -878,6 +948,16 @@ it("cpdp.v20190820.QueryBankWithdrawCashDetails", async function () {
|
|
|
878
948
|
}
|
|
879
949
|
})
|
|
880
950
|
|
|
951
|
+
it("cpdp.v20190820.QueryOpenBankBillDataPage", async function () {
|
|
952
|
+
try {
|
|
953
|
+
const data = await client.QueryOpenBankBillDataPage({})
|
|
954
|
+
expect(data).to.be.ok
|
|
955
|
+
} catch(error) {
|
|
956
|
+
expect(error.requestId).to.be.ok
|
|
957
|
+
expect(error.code).to.be.ok
|
|
958
|
+
}
|
|
959
|
+
})
|
|
960
|
+
|
|
881
961
|
it("cpdp.v20190820.QueryDownloadBillURL", async function () {
|
|
882
962
|
try {
|
|
883
963
|
const data = await client.QueryDownloadBillURL({})
|
|
@@ -1408,9 +1488,9 @@ it("cpdp.v20190820.DistributeQuery", async function () {
|
|
|
1408
1488
|
}
|
|
1409
1489
|
})
|
|
1410
1490
|
|
|
1411
|
-
it("cpdp.v20190820.
|
|
1491
|
+
it("cpdp.v20190820.CreateOpenBankSubMerchantRateConfigure", async function () {
|
|
1412
1492
|
try {
|
|
1413
|
-
const data = await client.
|
|
1493
|
+
const data = await client.CreateOpenBankSubMerchantRateConfigure({})
|
|
1414
1494
|
expect(data).to.be.ok
|
|
1415
1495
|
} catch(error) {
|
|
1416
1496
|
expect(error.requestId).to.be.ok
|
|
@@ -1618,6 +1698,16 @@ it("cpdp.v20190820.QueryMemberTransaction", async function () {
|
|
|
1618
1698
|
}
|
|
1619
1699
|
})
|
|
1620
1700
|
|
|
1701
|
+
it("cpdp.v20190820.UploadOpenBankSubMerchantCredential", async function () {
|
|
1702
|
+
try {
|
|
1703
|
+
const data = await client.UploadOpenBankSubMerchantCredential({})
|
|
1704
|
+
expect(data).to.be.ok
|
|
1705
|
+
} catch(error) {
|
|
1706
|
+
expect(error.requestId).to.be.ok
|
|
1707
|
+
expect(error.code).to.be.ok
|
|
1708
|
+
}
|
|
1709
|
+
})
|
|
1710
|
+
|
|
1621
1711
|
it("cpdp.v20190820.DistributeQueryReceiver", async function () {
|
|
1622
1712
|
try {
|
|
1623
1713
|
const data = await client.DistributeQueryReceiver({})
|
|
@@ -1728,9 +1818,9 @@ it("cpdp.v20190820.MigrateOrderRefundQuery", async function () {
|
|
|
1728
1818
|
}
|
|
1729
1819
|
})
|
|
1730
1820
|
|
|
1731
|
-
it("cpdp.v20190820.
|
|
1821
|
+
it("cpdp.v20190820.QueryAgentStatements", async function () {
|
|
1732
1822
|
try {
|
|
1733
|
-
const data = await client.
|
|
1823
|
+
const data = await client.QueryAgentStatements({})
|
|
1734
1824
|
expect(data).to.be.ok
|
|
1735
1825
|
} catch(error) {
|
|
1736
1826
|
expect(error.requestId).to.be.ok
|
|
@@ -1878,9 +1968,9 @@ it("cpdp.v20190820.QueryAcctInfoList", async function () {
|
|
|
1878
1968
|
}
|
|
1879
1969
|
})
|
|
1880
1970
|
|
|
1881
|
-
it("cpdp.v20190820.
|
|
1971
|
+
it("cpdp.v20190820.CreateOpenBankAggregatedSubMerchantRegistration", async function () {
|
|
1882
1972
|
try {
|
|
1883
|
-
const data = await client.
|
|
1973
|
+
const data = await client.CreateOpenBankAggregatedSubMerchantRegistration({})
|
|
1884
1974
|
expect(data).to.be.ok
|
|
1885
1975
|
} catch(error) {
|
|
1886
1976
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("mmps.v20200710.CreateAppScanTask", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("mmps.v20200710.
|
|
31
|
+
it("mmps.v20200710.DescribeFlySecMiniAppScanReportList", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeFlySecMiniAppScanReportList({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -98,6 +98,16 @@ it("mmps.v20200710.DescribeScanTaskReportUrl", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("mmps.v20200710.DescribeScanTaskList", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeScanTaskList({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("mmps.v20200710.DescribeFlySecMiniAppScanTaskList", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DescribeFlySecMiniAppScanTaskList({})
|
|
@@ -88,6 +88,16 @@ it("monitor.v20180724.DescribeBindingPolicyObjectList", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("monitor.v20180724.DescribePrometheusScrapeJobs", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribePrometheusScrapeJobs({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
91
101
|
it("monitor.v20180724.ModifyAlarmPolicyNotice", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.ModifyAlarmPolicyNotice({})
|
|
@@ -108,6 +118,16 @@ it("monitor.v20180724.DeleteServiceDiscovery", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
121
|
+
it("monitor.v20180724.UninstallGrafanaDashboard", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.UninstallGrafanaDashboard({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
111
131
|
it("monitor.v20180724.DescribePolicyGroupList", async function () {
|
|
112
132
|
try {
|
|
113
133
|
const data = await client.DescribePolicyGroupList({})
|
|
@@ -118,6 +138,16 @@ it("monitor.v20180724.DescribePolicyGroupList", async function () {
|
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
|
|
141
|
+
it("monitor.v20180724.ModifyPrometheusInstanceAttributes", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyPrometheusInstanceAttributes({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
121
151
|
it("monitor.v20180724.DeleteAlarmPolicy", async function () {
|
|
122
152
|
try {
|
|
123
153
|
const data = await client.DeleteAlarmPolicy({})
|
|
@@ -138,9 +168,19 @@ it("monitor.v20180724.GetMonitorData", async function () {
|
|
|
138
168
|
}
|
|
139
169
|
})
|
|
140
170
|
|
|
141
|
-
it("monitor.v20180724.
|
|
171
|
+
it("monitor.v20180724.CreatePrometheusMultiTenantInstancePostPayMode", async function () {
|
|
142
172
|
try {
|
|
143
|
-
const data = await client.
|
|
173
|
+
const data = await client.CreatePrometheusMultiTenantInstancePostPayMode({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("monitor.v20180724.DescribePrometheusInstances", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribePrometheusInstances({})
|
|
144
184
|
expect(data).to.be.ok
|
|
145
185
|
} catch(error) {
|
|
146
186
|
expect(error.requestId).to.be.ok
|
|
@@ -178,6 +218,16 @@ it("monitor.v20180724.DescribeBasicAlarmList", async function () {
|
|
|
178
218
|
}
|
|
179
219
|
})
|
|
180
220
|
|
|
221
|
+
it("monitor.v20180724.CreatePrometheusAgent", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.CreatePrometheusAgent({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
181
231
|
it("monitor.v20180724.BindingPolicyObject", async function () {
|
|
182
232
|
try {
|
|
183
233
|
const data = await client.BindingPolicyObject({})
|
|
@@ -218,6 +268,36 @@ it("monitor.v20180724.UpdateAlertRuleState", async function () {
|
|
|
218
268
|
}
|
|
219
269
|
})
|
|
220
270
|
|
|
271
|
+
it("monitor.v20180724.UpdateExporterIntegration", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.UpdateExporterIntegration({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
it("monitor.v20180724.UpdatePrometheusScrapeJob", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.UpdatePrometheusScrapeJob({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("monitor.v20180724.UnbindPrometheusManagedGrafana", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.UnbindPrometheusManagedGrafana({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
221
301
|
it("monitor.v20180724.CreateAlarmPolicy", async function () {
|
|
222
302
|
try {
|
|
223
303
|
const data = await client.CreateAlarmPolicy({})
|
|
@@ -248,6 +328,16 @@ it("monitor.v20180724.DescribeProductList", async function () {
|
|
|
248
328
|
}
|
|
249
329
|
})
|
|
250
330
|
|
|
331
|
+
it("monitor.v20180724.DescribeExporterIntegrations", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DescribeExporterIntegrations({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
251
341
|
it("monitor.v20180724.DescribeAllNamespaces", async function () {
|
|
252
342
|
try {
|
|
253
343
|
const data = await client.DescribeAllNamespaces({})
|
|
@@ -268,6 +358,16 @@ it("monitor.v20180724.CreateServiceDiscovery", async function () {
|
|
|
268
358
|
}
|
|
269
359
|
})
|
|
270
360
|
|
|
361
|
+
it("monitor.v20180724.UnBindingAllPolicyObject", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.UnBindingAllPolicyObject({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
271
371
|
it("monitor.v20180724.DescribeStatisticData", async function () {
|
|
272
372
|
try {
|
|
273
373
|
const data = await client.DescribeStatisticData({})
|
|
@@ -278,6 +378,26 @@ it("monitor.v20180724.DescribeStatisticData", async function () {
|
|
|
278
378
|
}
|
|
279
379
|
})
|
|
280
380
|
|
|
381
|
+
it("monitor.v20180724.UpgradeGrafanaDashboard", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.UpgradeGrafanaDashboard({})
|
|
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
|
+
|
|
391
|
+
it("monitor.v20180724.BindPrometheusManagedGrafana", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.BindPrometheusManagedGrafana({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
281
401
|
it("monitor.v20180724.DescribeAlarmNotices", async function () {
|
|
282
402
|
try {
|
|
283
403
|
const data = await client.DescribeAlarmNotices({})
|
|
@@ -328,9 +448,9 @@ it("monitor.v20180724.ModifyAlarmReceivers", async function () {
|
|
|
328
448
|
}
|
|
329
449
|
})
|
|
330
450
|
|
|
331
|
-
it("monitor.v20180724.
|
|
451
|
+
it("monitor.v20180724.DestroyPrometheusInstance", async function () {
|
|
332
452
|
try {
|
|
333
|
-
const data = await client.
|
|
453
|
+
const data = await client.DestroyPrometheusInstance({})
|
|
334
454
|
expect(data).to.be.ok
|
|
335
455
|
} catch(error) {
|
|
336
456
|
expect(error.requestId).to.be.ok
|
|
@@ -348,6 +468,16 @@ it("monitor.v20180724.DeletePolicyGroup", async function () {
|
|
|
348
468
|
}
|
|
349
469
|
})
|
|
350
470
|
|
|
471
|
+
it("monitor.v20180724.GetPrometheusAgentManagementCommand", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.GetPrometheusAgentManagementCommand({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
351
481
|
it("monitor.v20180724.UpdateServiceDiscovery", async function () {
|
|
352
482
|
try {
|
|
353
483
|
const data = await client.UpdateServiceDiscovery({})
|
|
@@ -358,6 +488,16 @@ it("monitor.v20180724.UpdateServiceDiscovery", async function () {
|
|
|
358
488
|
}
|
|
359
489
|
})
|
|
360
490
|
|
|
491
|
+
it("monitor.v20180724.ModifyAlarmNotice", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.ModifyAlarmNotice({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
361
501
|
it("monitor.v20180724.DescribeMonitorTypes", async function () {
|
|
362
502
|
try {
|
|
363
503
|
const data = await client.DescribeMonitorTypes({})
|
|
@@ -378,9 +518,19 @@ it("monitor.v20180724.UpdateAlertRule", async function () {
|
|
|
378
518
|
}
|
|
379
519
|
})
|
|
380
520
|
|
|
381
|
-
it("monitor.v20180724.
|
|
521
|
+
it("monitor.v20180724.CreateExporterIntegration", async function () {
|
|
382
522
|
try {
|
|
383
|
-
const data = await client.
|
|
523
|
+
const data = await client.CreateExporterIntegration({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
531
|
+
it("monitor.v20180724.DeleteRecordingRules", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.DeleteRecordingRules({})
|
|
384
534
|
expect(data).to.be.ok
|
|
385
535
|
} catch(error) {
|
|
386
536
|
expect(error.requestId).to.be.ok
|
|
@@ -398,6 +548,26 @@ it("monitor.v20180724.CreatePolicyGroup", async function () {
|
|
|
398
548
|
}
|
|
399
549
|
})
|
|
400
550
|
|
|
551
|
+
it("monitor.v20180724.TerminatePrometheusInstances", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.TerminatePrometheusInstances({})
|
|
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
|
+
|
|
561
|
+
it("monitor.v20180724.DeletePrometheusScrapeJobs", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DeletePrometheusScrapeJobs({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
401
571
|
it("monitor.v20180724.DescribeProductEventList", async function () {
|
|
402
572
|
try {
|
|
403
573
|
const data = await client.DescribeProductEventList({})
|
|
@@ -448,9 +618,39 @@ it("monitor.v20180724.DescribeAlarmMetrics", async function () {
|
|
|
448
618
|
}
|
|
449
619
|
})
|
|
450
620
|
|
|
451
|
-
it("monitor.v20180724.
|
|
621
|
+
it("monitor.v20180724.SetDefaultAlarmPolicy", async function () {
|
|
452
622
|
try {
|
|
453
|
-
const data = await client.
|
|
623
|
+
const data = await client.SetDefaultAlarmPolicy({})
|
|
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
|
+
|
|
631
|
+
it("monitor.v20180724.ModifyAlarmPolicyTasks", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.ModifyAlarmPolicyTasks({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
641
|
+
it("monitor.v20180724.DescribeRecordingRules", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.DescribeRecordingRules({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
651
|
+
it("monitor.v20180724.DeleteExporterIntegration", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.DeleteExporterIntegration({})
|
|
454
654
|
expect(data).to.be.ok
|
|
455
655
|
} catch(error) {
|
|
456
656
|
expect(error.requestId).to.be.ok
|
|
@@ -488,6 +688,16 @@ it("monitor.v20180724.DescribeAlarmEvents", async function () {
|
|
|
488
688
|
}
|
|
489
689
|
})
|
|
490
690
|
|
|
691
|
+
it("monitor.v20180724.UpdatePrometheusAgentStatus", async function () {
|
|
692
|
+
try {
|
|
693
|
+
const data = await client.UpdatePrometheusAgentStatus({})
|
|
694
|
+
expect(data).to.be.ok
|
|
695
|
+
} catch(error) {
|
|
696
|
+
expect(error.requestId).to.be.ok
|
|
697
|
+
expect(error.code).to.be.ok
|
|
698
|
+
}
|
|
699
|
+
})
|
|
700
|
+
|
|
491
701
|
it("monitor.v20180724.DeleteAlarmNotices", async function () {
|
|
492
702
|
try {
|
|
493
703
|
const data = await client.DeleteAlarmNotices({})
|
|
@@ -498,6 +708,16 @@ it("monitor.v20180724.DeleteAlarmNotices", async function () {
|
|
|
498
708
|
}
|
|
499
709
|
})
|
|
500
710
|
|
|
711
|
+
it("monitor.v20180724.UpdateRecordingRule", async function () {
|
|
712
|
+
try {
|
|
713
|
+
const data = await client.UpdateRecordingRule({})
|
|
714
|
+
expect(data).to.be.ok
|
|
715
|
+
} catch(error) {
|
|
716
|
+
expect(error.requestId).to.be.ok
|
|
717
|
+
expect(error.code).to.be.ok
|
|
718
|
+
}
|
|
719
|
+
})
|
|
720
|
+
|
|
501
721
|
it("monitor.v20180724.DescribeServiceDiscovery", async function () {
|
|
502
722
|
try {
|
|
503
723
|
const data = await client.DescribeServiceDiscovery({})
|
|
@@ -508,9 +728,9 @@ it("monitor.v20180724.DescribeServiceDiscovery", async function () {
|
|
|
508
728
|
}
|
|
509
729
|
})
|
|
510
730
|
|
|
511
|
-
it("monitor.v20180724.
|
|
731
|
+
it("monitor.v20180724.CreateRecordingRule", async function () {
|
|
512
732
|
try {
|
|
513
|
-
const data = await client.
|
|
733
|
+
const data = await client.CreateRecordingRule({})
|
|
514
734
|
expect(data).to.be.ok
|
|
515
735
|
} catch(error) {
|
|
516
736
|
expect(error.requestId).to.be.ok
|
|
@@ -548,4 +768,24 @@ it("monitor.v20180724.DescribeAlarmPolicy", async function () {
|
|
|
548
768
|
}
|
|
549
769
|
})
|
|
550
770
|
|
|
771
|
+
it("monitor.v20180724.CreatePrometheusScrapeJob", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.CreatePrometheusScrapeJob({})
|
|
774
|
+
expect(data).to.be.ok
|
|
775
|
+
} catch(error) {
|
|
776
|
+
expect(error.requestId).to.be.ok
|
|
777
|
+
expect(error.code).to.be.ok
|
|
778
|
+
}
|
|
779
|
+
})
|
|
780
|
+
|
|
781
|
+
it("monitor.v20180724.DescribePrometheusAgents", async function () {
|
|
782
|
+
try {
|
|
783
|
+
const data = await client.DescribePrometheusAgents({})
|
|
784
|
+
expect(data).to.be.ok
|
|
785
|
+
} catch(error) {
|
|
786
|
+
expect(error.requestId).to.be.ok
|
|
787
|
+
expect(error.code).to.be.ok
|
|
788
|
+
}
|
|
789
|
+
})
|
|
790
|
+
|
|
551
791
|
})
|
|
@@ -28,9 +28,9 @@ it("tcbr.v20220217.CreateCloudRunServer", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("tcbr.v20220217.
|
|
31
|
+
it("tcbr.v20220217.DescribeServerManageTask", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeServerManageTask({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -68,6 +68,16 @@ it("tcbr.v20220217.ReleaseGray", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("tcbr.v20220217.UpdateCloudRunServer", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.UpdateCloudRunServer({})
|
|
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
|
+
|
|
71
81
|
it("tcbr.v20220217.CreateCloudRunEnv", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.CreateCloudRunEnv({})
|
|
@@ -1388,6 +1388,16 @@ it("tke.v20180525.EnableClusterDeletionProtection", async function () {
|
|
|
1388
1388
|
}
|
|
1389
1389
|
})
|
|
1390
1390
|
|
|
1391
|
+
it("tke.v20180525.ForwardTKEEdgeApplicationRequestV3", async function () {
|
|
1392
|
+
try {
|
|
1393
|
+
const data = await client.ForwardTKEEdgeApplicationRequestV3({})
|
|
1394
|
+
expect(data).to.be.ok
|
|
1395
|
+
} catch(error) {
|
|
1396
|
+
expect(error.requestId).to.be.ok
|
|
1397
|
+
expect(error.code).to.be.ok
|
|
1398
|
+
}
|
|
1399
|
+
})
|
|
1400
|
+
|
|
1391
1401
|
it("tke.v20180525.SyncPrometheusTemplate", async function () {
|
|
1392
1402
|
try {
|
|
1393
1403
|
const data = await client.SyncPrometheusTemplate({})
|