tencentcloud-sdk-nodejs 4.0.522 → 4.0.523
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 +242 -0
- package/SERVICE_CHANGELOG.md +323 -78
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +2 -3
- package/src/services/antiddos/v20200309/antiddos_models.ts +13 -3
- package/src/services/cdb/v20170320/cdb_models.ts +10 -0
- package/src/services/cls/v20201016/cls_models.ts +32 -16
- package/src/services/dayu/v20180709/dayu_models.ts +5 -0
- package/src/services/faceid/v20180301/faceid_models.ts +1 -1
- package/src/services/lcic/v20220817/lcic_client.ts +13 -1
- package/src/services/lcic/v20220817/lcic_models.ts +23 -3
- package/src/services/monitor/v20180724/monitor_client.ts +543 -290
- package/src/services/monitor/v20180724/monitor_models.ts +6085 -4792
- package/src/services/mps/v20190612/mps_models.ts +7 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +24 -12
- package/src/services/teo/v20220901/teo_models.ts +1 -0
- package/src/services/tiia/v20190529/tiia_client.ts +18 -0
- package/src/services/tiia/v20190529/tiia_models.ts +35 -0
- package/src/services/tke/v20180525/tke_models.ts +11 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +0 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +0 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +11 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +30 -14
- package/tencentcloud/services/dayu/v20180709/dayu_models.d.ts +4 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +20 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +91 -11
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +135 -15
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +5383 -4272
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +22 -12
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +11 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +12 -0
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +30 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +9 -1
- package/test/lcic.v20220817.test.js +10 -0
- package/test/monitor.v20180724.test.js +210 -10
- package/test/tiia.v20190529.test.js +10 -0
|
@@ -6234,6 +6234,12 @@ export interface AiAnalysisTaskInput {
|
|
|
6234
6234
|
* 视频内容分析模板 ID。
|
|
6235
6235
|
*/
|
|
6236
6236
|
Definition: number;
|
|
6237
|
+
/**
|
|
6238
|
+
* 扩展参数,其值为序列化的 json字符串。
|
|
6239
|
+
注意:此参数为定制需求参数,需要线下对接。
|
|
6240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6241
|
+
*/
|
|
6242
|
+
ExtendedParameter?: string;
|
|
6237
6243
|
}
|
|
6238
6244
|
/**
|
|
6239
6245
|
* 雪碧图模板详情
|
|
@@ -519,62 +519,72 @@ export interface Savepoint {
|
|
|
519
519
|
* 主键
|
|
520
520
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
521
521
|
*/
|
|
522
|
-
Id
|
|
522
|
+
Id?: number;
|
|
523
523
|
/**
|
|
524
524
|
* 版本号
|
|
525
525
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
526
526
|
*/
|
|
527
|
-
VersionId
|
|
527
|
+
VersionId?: number;
|
|
528
528
|
/**
|
|
529
529
|
* 状态 1: Active; 2: Expired; 3: InProgress; 4: Failed; 5: Timeout
|
|
530
530
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
531
531
|
*/
|
|
532
|
-
Status
|
|
532
|
+
Status?: number;
|
|
533
533
|
/**
|
|
534
534
|
* 创建时间
|
|
535
535
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
536
536
|
*/
|
|
537
|
-
CreateTime
|
|
537
|
+
CreateTime?: number;
|
|
538
538
|
/**
|
|
539
539
|
* 更新时间
|
|
540
540
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
541
541
|
*/
|
|
542
|
-
UpdateTime
|
|
542
|
+
UpdateTime?: number;
|
|
543
543
|
/**
|
|
544
544
|
* 路径
|
|
545
545
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
546
546
|
*/
|
|
547
|
-
Path
|
|
547
|
+
Path?: string;
|
|
548
548
|
/**
|
|
549
549
|
* 大小
|
|
550
550
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
551
551
|
*/
|
|
552
|
-
Size
|
|
552
|
+
Size?: number;
|
|
553
553
|
/**
|
|
554
554
|
* 快照类型 1: savepoint;2: checkpoint;3: cancelWithSavepoint
|
|
555
555
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
556
556
|
*/
|
|
557
|
-
RecordType
|
|
557
|
+
RecordType?: number;
|
|
558
558
|
/**
|
|
559
559
|
* 运行作业实例的顺序 ID
|
|
560
560
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
561
561
|
*/
|
|
562
|
-
JobRuntimeId
|
|
562
|
+
JobRuntimeId?: number;
|
|
563
563
|
/**
|
|
564
564
|
* 描述
|
|
565
565
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
566
566
|
*/
|
|
567
|
-
Description
|
|
567
|
+
Description?: string;
|
|
568
568
|
/**
|
|
569
569
|
* 固定超时时间
|
|
570
570
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
571
571
|
*/
|
|
572
|
-
Timeout
|
|
572
|
+
Timeout?: number;
|
|
573
573
|
/**
|
|
574
574
|
* 快照 serialId
|
|
575
575
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
576
576
|
*/
|
|
577
|
-
SerialId
|
|
577
|
+
SerialId?: string;
|
|
578
|
+
/**
|
|
579
|
+
* 耗时
|
|
580
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
581
|
+
*/
|
|
582
|
+
TimeConsuming?: number;
|
|
583
|
+
/**
|
|
584
|
+
* 快照路径状态 1:可用;2:不可用;
|
|
585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
586
|
+
*/
|
|
587
|
+
PathStatus?: number;
|
|
578
588
|
}
|
|
579
589
|
/**
|
|
580
590
|
* 系统资源返回值
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DetectProductBetaResponse, DetectChefDressResponse, SearchImageResponse, DetectDisgustRequest, DetectPetRequest, RecognizeCarProResponse, CreateImageRequest, DeleteImagesResponse, CropImageRequest, DetectProductRequest, DetectLabelBetaRequest, DetectLabelResponse, DescribeGroupsRequest, DetectMisbehaviorResponse, AssessQualityResponse, DetectDisgustResponse, DetectChefDressRequest, SearchImageRequest, DetectLabelRequest, RecognizeCarResponse, DetectLabelProResponse, EnhanceImageResponse, AssessQualityRequest, DeleteImagesRequest, CreateGroupRequest, DescribeImagesRequest, DetectProductBetaRequest, DetectSecurityResponse, RecognizeCarRequest, EnhanceImageRequest, CropImageResponse, DetectSecurityRequest, DetectEnvelopeRequest, DetectPetResponse, DetectProductResponse, CreateImageResponse, DetectLabelProRequest, DetectLabelBetaResponse, DetectEnvelopeResponse, RecognizeCarProRequest, DescribeGroupsResponse, DescribeImagesResponse, DetectMisbehaviorRequest, CreateGroupResponse } from "./tiia_models";
|
|
3
|
+
import { DetectProductBetaResponse, DetectChefDressResponse, SearchImageResponse, DetectDisgustRequest, DetectPetRequest, RecognizeCarProResponse, CreateImageRequest, DeleteImagesResponse, CropImageRequest, DetectProductRequest, DetectLabelBetaRequest, DetectLabelResponse, DescribeGroupsRequest, DetectMisbehaviorResponse, AssessQualityResponse, DetectDisgustResponse, DetectChefDressRequest, SearchImageRequest, DetectLabelRequest, RecognizeCarResponse, DetectLabelProResponse, EnhanceImageResponse, AssessQualityRequest, DeleteImagesRequest, CreateGroupRequest, UpdateImageRequest, DescribeImagesRequest, DetectProductBetaRequest, DetectSecurityResponse, RecognizeCarRequest, EnhanceImageRequest, CropImageResponse, DetectSecurityRequest, DetectEnvelopeRequest, DetectPetResponse, DetectProductResponse, CreateImageResponse, DetectLabelProRequest, DetectLabelBetaResponse, DetectEnvelopeResponse, RecognizeCarProRequest, DescribeGroupsResponse, DescribeImagesResponse, DetectMisbehaviorRequest, UpdateImageResponse, CreateGroupResponse } from "./tiia_models";
|
|
4
4
|
/**
|
|
5
5
|
* tiia client
|
|
6
6
|
* @class
|
|
@@ -227,8 +227,18 @@ export declare class Client extends AbstractClient {
|
|
|
227
227
|
>
|
|
228
228
|
- 可前往 [图像搜索](https://cloud.tencent.com/document/product/1589) 产品文档中查看更多产品信息。
|
|
229
229
|
|
|
230
|
+
|
|
230
231
|
*/
|
|
231
232
|
SearchImage(req: SearchImageRequest, cb?: (error: string, rep: SearchImageResponse) => void): Promise<SearchImageResponse>;
|
|
233
|
+
/**
|
|
234
|
+
* 本接口支持根据图库ID、物品ID、图片名称来修改图片信息(暂仅支持修改Tags)
|
|
235
|
+
|
|
236
|
+
>
|
|
237
|
+
- 可前往 [图像搜索](https://cloud.tencent.com/document/product/1589) 产品文档中查看更多产品信息。
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
*/
|
|
241
|
+
UpdateImage(req: UpdateImageRequest, cb?: (error: string, rep: UpdateImageResponse) => void): Promise<UpdateImageResponse>;
|
|
232
242
|
/**
|
|
233
243
|
* 传入一张图片,识别出图片中是否存在宠物
|
|
234
244
|
>
|
|
@@ -287,10 +287,22 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
287
287
|
>
|
|
288
288
|
- 可前往 [图像搜索](https://cloud.tencent.com/document/product/1589) 产品文档中查看更多产品信息。
|
|
289
289
|
|
|
290
|
+
|
|
290
291
|
*/
|
|
291
292
|
async SearchImage(req, cb) {
|
|
292
293
|
return this.request("SearchImage", req, cb);
|
|
293
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* 本接口支持根据图库ID、物品ID、图片名称来修改图片信息(暂仅支持修改Tags)
|
|
297
|
+
|
|
298
|
+
>
|
|
299
|
+
- 可前往 [图像搜索](https://cloud.tencent.com/document/product/1589) 产品文档中查看更多产品信息。
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
*/
|
|
303
|
+
async UpdateImage(req, cb) {
|
|
304
|
+
return this.request("UpdateImage", req, cb);
|
|
305
|
+
}
|
|
294
306
|
/**
|
|
295
307
|
* 传入一张图片,识别出图片中是否存在宠物
|
|
296
308
|
>
|
|
@@ -799,6 +799,27 @@ GroupType不支持修改,若不确定适用的服务类型,建议先对不
|
|
|
799
799
|
*/
|
|
800
800
|
GroupType?: number;
|
|
801
801
|
}
|
|
802
|
+
/**
|
|
803
|
+
* UpdateImage请求参数结构体
|
|
804
|
+
*/
|
|
805
|
+
export interface UpdateImageRequest {
|
|
806
|
+
/**
|
|
807
|
+
* 图库ID。
|
|
808
|
+
*/
|
|
809
|
+
GroupId: string;
|
|
810
|
+
/**
|
|
811
|
+
* 物品ID,最多支持64个字符。
|
|
812
|
+
*/
|
|
813
|
+
EntityId: string;
|
|
814
|
+
/**
|
|
815
|
+
* 图片名称,最多支持64个字符。
|
|
816
|
+
*/
|
|
817
|
+
PicName?: string;
|
|
818
|
+
/**
|
|
819
|
+
* 新的自定义标签,最多不超过10个,格式为JSON。
|
|
820
|
+
*/
|
|
821
|
+
Tags?: string;
|
|
822
|
+
}
|
|
802
823
|
/**
|
|
803
824
|
* DescribeImages请求参数结构体
|
|
804
825
|
*/
|
|
@@ -1605,6 +1626,15 @@ export interface DetectMisbehaviorRequest {
|
|
|
1605
1626
|
*/
|
|
1606
1627
|
ImageBase64?: string;
|
|
1607
1628
|
}
|
|
1629
|
+
/**
|
|
1630
|
+
* UpdateImage返回参数结构体
|
|
1631
|
+
*/
|
|
1632
|
+
export interface UpdateImageResponse {
|
|
1633
|
+
/**
|
|
1634
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1635
|
+
*/
|
|
1636
|
+
RequestId?: string;
|
|
1637
|
+
}
|
|
1608
1638
|
/**
|
|
1609
1639
|
* CreateGroup返回参数结构体
|
|
1610
1640
|
*/
|
|
@@ -883,6 +883,10 @@ major 大版本原地升级
|
|
|
883
883
|
* 最大可容忍的不可用Pod比例
|
|
884
884
|
*/
|
|
885
885
|
MaxNotReadyPercent?: number;
|
|
886
|
+
/**
|
|
887
|
+
* 是否升级节点运行时,默认false不升级
|
|
888
|
+
*/
|
|
889
|
+
UpgradeRunTime?: boolean;
|
|
886
890
|
}
|
|
887
891
|
/**
|
|
888
892
|
* 创建集群时,选择安装的扩展组件的信息
|
|
@@ -5820,6 +5824,10 @@ export interface CreateClusterVirtualNodePoolRequest {
|
|
|
5820
5824
|
* 子网ID列表
|
|
5821
5825
|
*/
|
|
5822
5826
|
SubnetIds?: Array<string>;
|
|
5827
|
+
/**
|
|
5828
|
+
* 安全组ID列表
|
|
5829
|
+
*/
|
|
5830
|
+
SecurityGroupIds?: Array<string>;
|
|
5823
5831
|
/**
|
|
5824
5832
|
* 虚拟节点label
|
|
5825
5833
|
*/
|
|
@@ -8191,7 +8199,7 @@ export interface CreateClusterVirtualNodePoolResponse {
|
|
|
8191
8199
|
/**
|
|
8192
8200
|
* 节点池ID
|
|
8193
8201
|
*/
|
|
8194
|
-
NodePoolId
|
|
8202
|
+
NodePoolId?: string;
|
|
8195
8203
|
/**
|
|
8196
8204
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8197
8205
|
*/
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.lcic.v20220817.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("lcic.v20220817.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("lcic.v20220817.DescribeAppDetail", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeAppDetail({})
|
|
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
|
+
|
|
21
31
|
it("lcic.v20220817.CreateDocument", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.CreateDocument({})
|
|
@@ -118,6 +118,16 @@ it("monitor.v20180724.DescribeProductList", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("monitor.v20180724.DescribePrometheusRecordRules", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribePrometheusRecordRules({})
|
|
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
|
+
|
|
121
131
|
it("monitor.v20180724.UpdateSSOAccount", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.UpdateSSOAccount({})
|
|
@@ -168,6 +178,16 @@ it("monitor.v20180724.DeleteGrafanaNotificationChannel", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
181
|
+
it("monitor.v20180724.DescribeStatisticData", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeStatisticData({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
171
191
|
it("monitor.v20180724.DescribeGrafanaConfig", async function () {
|
|
172
192
|
try {
|
|
173
193
|
const data = await client.DescribeGrafanaConfig({})
|
|
@@ -178,9 +198,9 @@ it("monitor.v20180724.DescribeGrafanaConfig", async function () {
|
|
|
178
198
|
}
|
|
179
199
|
})
|
|
180
200
|
|
|
181
|
-
it("monitor.v20180724.
|
|
201
|
+
it("monitor.v20180724.ModifyAlarmPolicyInfo", async function () {
|
|
182
202
|
try {
|
|
183
|
-
const data = await client.
|
|
203
|
+
const data = await client.ModifyAlarmPolicyInfo({})
|
|
184
204
|
expect(data).to.be.ok
|
|
185
205
|
} catch(error) {
|
|
186
206
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +238,9 @@ it("monitor.v20180724.EnableGrafanaSSO", async function () {
|
|
|
218
238
|
}
|
|
219
239
|
})
|
|
220
240
|
|
|
221
|
-
it("monitor.v20180724.
|
|
241
|
+
it("monitor.v20180724.DeleteAlertRules", async function () {
|
|
222
242
|
try {
|
|
223
|
-
const data = await client.
|
|
243
|
+
const data = await client.DeleteAlertRules({})
|
|
224
244
|
expect(data).to.be.ok
|
|
225
245
|
} catch(error) {
|
|
226
246
|
expect(error.requestId).to.be.ok
|
|
@@ -268,6 +288,16 @@ it("monitor.v20180724.ModifyAlarmNotice", async function () {
|
|
|
268
288
|
}
|
|
269
289
|
})
|
|
270
290
|
|
|
291
|
+
it("monitor.v20180724.DescribePrometheusInstanceDetail", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribePrometheusInstanceDetail({})
|
|
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
|
+
|
|
271
301
|
it("monitor.v20180724.CreatePrometheusScrapeJob", async function () {
|
|
272
302
|
try {
|
|
273
303
|
const data = await client.CreatePrometheusScrapeJob({})
|
|
@@ -318,6 +348,16 @@ it("monitor.v20180724.DeleteServiceDiscovery", async function () {
|
|
|
318
348
|
}
|
|
319
349
|
})
|
|
320
350
|
|
|
351
|
+
it("monitor.v20180724.BindingPolicyTag", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.BindingPolicyTag({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
321
361
|
it("monitor.v20180724.CreatePrometheusMultiTenantInstancePostPayMode", async function () {
|
|
322
362
|
try {
|
|
323
363
|
const data = await client.CreatePrometheusMultiTenantInstancePostPayMode({})
|
|
@@ -378,6 +418,16 @@ it("monitor.v20180724.UpdatePrometheusScrapeJob", async function () {
|
|
|
378
418
|
}
|
|
379
419
|
})
|
|
380
420
|
|
|
421
|
+
it("monitor.v20180724.DescribePrometheusInstanceInitStatus", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.DescribePrometheusInstanceInitStatus({})
|
|
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("monitor.v20180724.UpgradeGrafanaInstance", async function () {
|
|
382
432
|
try {
|
|
383
433
|
const data = await client.UpgradeGrafanaInstance({})
|
|
@@ -548,6 +598,16 @@ it("monitor.v20180724.CreateGrafanaIntegration", async function () {
|
|
|
548
598
|
}
|
|
549
599
|
})
|
|
550
600
|
|
|
601
|
+
it("monitor.v20180724.DescribePrometheusTemp", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.DescribePrometheusTemp({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
551
611
|
it("monitor.v20180724.SetDefaultAlarmPolicy", async function () {
|
|
552
612
|
try {
|
|
553
613
|
const data = await client.SetDefaultAlarmPolicy({})
|
|
@@ -638,6 +698,16 @@ it("monitor.v20180724.ResumeGrafanaInstance", async function () {
|
|
|
638
698
|
}
|
|
639
699
|
})
|
|
640
700
|
|
|
701
|
+
it("monitor.v20180724.CreatePrometheusTemp", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.CreatePrometheusTemp({})
|
|
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
|
+
|
|
641
711
|
it("monitor.v20180724.DescribeSSOAccount", async function () {
|
|
642
712
|
try {
|
|
643
713
|
const data = await client.DescribeSSOAccount({})
|
|
@@ -668,6 +738,16 @@ it("monitor.v20180724.CreatePrometheusAgent", async function () {
|
|
|
668
738
|
}
|
|
669
739
|
})
|
|
670
740
|
|
|
741
|
+
it("monitor.v20180724.SyncPrometheusTemp", async function () {
|
|
742
|
+
try {
|
|
743
|
+
const data = await client.SyncPrometheusTemp({})
|
|
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
|
+
|
|
671
751
|
it("monitor.v20180724.CreateAlarmNotice", async function () {
|
|
672
752
|
try {
|
|
673
753
|
const data = await client.CreateAlarmNotice({})
|
|
@@ -688,6 +768,16 @@ it("monitor.v20180724.UpdateAlertRuleState", async function () {
|
|
|
688
768
|
}
|
|
689
769
|
})
|
|
690
770
|
|
|
771
|
+
it("monitor.v20180724.ModifyPrometheusTemp", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.ModifyPrometheusTemp({})
|
|
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
|
+
|
|
691
781
|
it("monitor.v20180724.UnbindPrometheusManagedGrafana", async function () {
|
|
692
782
|
try {
|
|
693
783
|
const data = await client.UnbindPrometheusManagedGrafana({})
|
|
@@ -698,6 +788,16 @@ it("monitor.v20180724.UnbindPrometheusManagedGrafana", async function () {
|
|
|
698
788
|
}
|
|
699
789
|
})
|
|
700
790
|
|
|
791
|
+
it("monitor.v20180724.RunPrometheusInstance", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.RunPrometheusInstance({})
|
|
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
|
+
|
|
701
801
|
it("monitor.v20180724.DescribeExporterIntegrations", async function () {
|
|
702
802
|
try {
|
|
703
803
|
const data = await client.DescribeExporterIntegrations({})
|
|
@@ -748,6 +848,26 @@ it("monitor.v20180724.DescribeDNSConfig", async function () {
|
|
|
748
848
|
}
|
|
749
849
|
})
|
|
750
850
|
|
|
851
|
+
it("monitor.v20180724.DescribePrometheusAgentInstances", async function () {
|
|
852
|
+
try {
|
|
853
|
+
const data = await client.DescribePrometheusAgentInstances({})
|
|
854
|
+
expect(data).to.be.ok
|
|
855
|
+
} catch(error) {
|
|
856
|
+
expect(error.requestId).to.be.ok
|
|
857
|
+
expect(error.code).to.be.ok
|
|
858
|
+
}
|
|
859
|
+
})
|
|
860
|
+
|
|
861
|
+
it("monitor.v20180724.DeletePrometheusRecordRuleYaml", async function () {
|
|
862
|
+
try {
|
|
863
|
+
const data = await client.DeletePrometheusRecordRuleYaml({})
|
|
864
|
+
expect(data).to.be.ok
|
|
865
|
+
} catch(error) {
|
|
866
|
+
expect(error.requestId).to.be.ok
|
|
867
|
+
expect(error.code).to.be.ok
|
|
868
|
+
}
|
|
869
|
+
})
|
|
870
|
+
|
|
751
871
|
it("monitor.v20180724.DescribePrometheusInstances", async function () {
|
|
752
872
|
try {
|
|
753
873
|
const data = await client.DescribePrometheusInstances({})
|
|
@@ -768,6 +888,16 @@ it("monitor.v20180724.DescribeGrafanaInstances", async function () {
|
|
|
768
888
|
}
|
|
769
889
|
})
|
|
770
890
|
|
|
891
|
+
it("monitor.v20180724.ModifyPrometheusRecordRuleYaml", async function () {
|
|
892
|
+
try {
|
|
893
|
+
const data = await client.ModifyPrometheusRecordRuleYaml({})
|
|
894
|
+
expect(data).to.be.ok
|
|
895
|
+
} catch(error) {
|
|
896
|
+
expect(error.requestId).to.be.ok
|
|
897
|
+
expect(error.code).to.be.ok
|
|
898
|
+
}
|
|
899
|
+
})
|
|
900
|
+
|
|
771
901
|
it("monitor.v20180724.UpdateGrafanaConfig", async function () {
|
|
772
902
|
try {
|
|
773
903
|
const data = await client.UpdateGrafanaConfig({})
|
|
@@ -808,6 +938,26 @@ it("monitor.v20180724.DescribeAccidentEventList", async function () {
|
|
|
808
938
|
}
|
|
809
939
|
})
|
|
810
940
|
|
|
941
|
+
it("monitor.v20180724.DescribePrometheusTempSync", async function () {
|
|
942
|
+
try {
|
|
943
|
+
const data = await client.DescribePrometheusTempSync({})
|
|
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
|
+
|
|
951
|
+
it("monitor.v20180724.CheckIsPrometheusNewUser", async function () {
|
|
952
|
+
try {
|
|
953
|
+
const data = await client.CheckIsPrometheusNewUser({})
|
|
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
|
+
|
|
811
961
|
it("monitor.v20180724.DescribeAlarmMetrics", async function () {
|
|
812
962
|
try {
|
|
813
963
|
const data = await client.DescribeAlarmMetrics({})
|
|
@@ -928,6 +1078,16 @@ it("monitor.v20180724.UninstallGrafanaDashboard", async function () {
|
|
|
928
1078
|
}
|
|
929
1079
|
})
|
|
930
1080
|
|
|
1081
|
+
it("monitor.v20180724.DescribePrometheusAlertPolicy", async function () {
|
|
1082
|
+
try {
|
|
1083
|
+
const data = await client.DescribePrometheusAlertPolicy({})
|
|
1084
|
+
expect(data).to.be.ok
|
|
1085
|
+
} catch(error) {
|
|
1086
|
+
expect(error.requestId).to.be.ok
|
|
1087
|
+
expect(error.code).to.be.ok
|
|
1088
|
+
}
|
|
1089
|
+
})
|
|
1090
|
+
|
|
931
1091
|
it("monitor.v20180724.DescribePolicyGroupList", async function () {
|
|
932
1092
|
try {
|
|
933
1093
|
const data = await client.DescribePolicyGroupList({})
|
|
@@ -1008,6 +1168,16 @@ it("monitor.v20180724.DescribeGrafanaIntegrations", async function () {
|
|
|
1008
1168
|
}
|
|
1009
1169
|
})
|
|
1010
1170
|
|
|
1171
|
+
it("monitor.v20180724.DescribePrometheusConfig", async function () {
|
|
1172
|
+
try {
|
|
1173
|
+
const data = await client.DescribePrometheusConfig({})
|
|
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
|
+
|
|
1011
1181
|
it("monitor.v20180724.DescribePolicyGroupInfo", async function () {
|
|
1012
1182
|
try {
|
|
1013
1183
|
const data = await client.DescribePolicyGroupInfo({})
|
|
@@ -1018,9 +1188,9 @@ it("monitor.v20180724.DescribePolicyGroupInfo", async function () {
|
|
|
1018
1188
|
}
|
|
1019
1189
|
})
|
|
1020
1190
|
|
|
1021
|
-
it("monitor.v20180724.
|
|
1191
|
+
it("monitor.v20180724.DescribePrometheusRecordRuleYaml", async function () {
|
|
1022
1192
|
try {
|
|
1023
|
-
const data = await client.
|
|
1193
|
+
const data = await client.DescribePrometheusRecordRuleYaml({})
|
|
1024
1194
|
expect(data).to.be.ok
|
|
1025
1195
|
} catch(error) {
|
|
1026
1196
|
expect(error.requestId).to.be.ok
|
|
@@ -1048,9 +1218,9 @@ it("monitor.v20180724.CreateServiceDiscovery", async function () {
|
|
|
1048
1218
|
}
|
|
1049
1219
|
})
|
|
1050
1220
|
|
|
1051
|
-
it("monitor.v20180724.
|
|
1221
|
+
it("monitor.v20180724.CreatePrometheusRecordRuleYaml", async function () {
|
|
1052
1222
|
try {
|
|
1053
|
-
const data = await client.
|
|
1223
|
+
const data = await client.CreatePrometheusRecordRuleYaml({})
|
|
1054
1224
|
expect(data).to.be.ok
|
|
1055
1225
|
} catch(error) {
|
|
1056
1226
|
expect(error.requestId).to.be.ok
|
|
@@ -1058,9 +1228,9 @@ it("monitor.v20180724.DescribeStatisticData", async function () {
|
|
|
1058
1228
|
}
|
|
1059
1229
|
})
|
|
1060
1230
|
|
|
1061
|
-
it("monitor.v20180724.
|
|
1231
|
+
it("monitor.v20180724.DeletePrometheusTemp", async function () {
|
|
1062
1232
|
try {
|
|
1063
|
-
const data = await client.
|
|
1233
|
+
const data = await client.DeletePrometheusTemp({})
|
|
1064
1234
|
expect(data).to.be.ok
|
|
1065
1235
|
} catch(error) {
|
|
1066
1236
|
expect(error.requestId).to.be.ok
|
|
@@ -1128,6 +1298,26 @@ it("monitor.v20180724.TerminatePrometheusInstances", async function () {
|
|
|
1128
1298
|
}
|
|
1129
1299
|
})
|
|
1130
1300
|
|
|
1301
|
+
it("monitor.v20180724.DescribePrometheusInstancesOverview", async function () {
|
|
1302
|
+
try {
|
|
1303
|
+
const data = await client.DescribePrometheusInstancesOverview({})
|
|
1304
|
+
expect(data).to.be.ok
|
|
1305
|
+
} catch(error) {
|
|
1306
|
+
expect(error.requestId).to.be.ok
|
|
1307
|
+
expect(error.code).to.be.ok
|
|
1308
|
+
}
|
|
1309
|
+
})
|
|
1310
|
+
|
|
1311
|
+
it("monitor.v20180724.DeletePrometheusTempSync", async function () {
|
|
1312
|
+
try {
|
|
1313
|
+
const data = await client.DeletePrometheusTempSync({})
|
|
1314
|
+
expect(data).to.be.ok
|
|
1315
|
+
} catch(error) {
|
|
1316
|
+
expect(error.requestId).to.be.ok
|
|
1317
|
+
expect(error.code).to.be.ok
|
|
1318
|
+
}
|
|
1319
|
+
})
|
|
1320
|
+
|
|
1131
1321
|
it("monitor.v20180724.DescribePluginOverviews", async function () {
|
|
1132
1322
|
try {
|
|
1133
1323
|
const data = await client.DescribePluginOverviews({})
|
|
@@ -1148,6 +1338,16 @@ it("monitor.v20180724.DescribeRecordingRules", async function () {
|
|
|
1148
1338
|
}
|
|
1149
1339
|
})
|
|
1150
1340
|
|
|
1341
|
+
it("monitor.v20180724.UpdateExporterIntegration", async function () {
|
|
1342
|
+
try {
|
|
1343
|
+
const data = await client.UpdateExporterIntegration({})
|
|
1344
|
+
expect(data).to.be.ok
|
|
1345
|
+
} catch(error) {
|
|
1346
|
+
expect(error.requestId).to.be.ok
|
|
1347
|
+
expect(error.code).to.be.ok
|
|
1348
|
+
}
|
|
1349
|
+
})
|
|
1350
|
+
|
|
1151
1351
|
it("monitor.v20180724.DescribeAlarmPolicy", async function () {
|
|
1152
1352
|
try {
|
|
1153
1353
|
const data = await client.DescribeAlarmPolicy({})
|
|
@@ -228,6 +228,16 @@ it("tiia.v20190529.SearchImage", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("tiia.v20190529.UpdateImage", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.UpdateImage({})
|
|
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
|
+
|
|
231
241
|
it("tiia.v20190529.DetectPet", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.DetectPet({})
|