tencentcloud-sdk-nodejs 4.0.529 → 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 +196 -0
- package/SERVICE_CHANGELOG.md +289 -39
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- 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/ess/v20201111/ess_client.ts +1 -3
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -3
- package/src/services/fmu/v20191213/fmu_models.ts +8 -6
- package/src/services/gme/v20180711/gme_models.ts +20 -14
- package/src/services/lcic/v20220817/lcic_client.ts +32 -6
- package/src/services/lcic/v20220817/lcic_models.ts +184 -4
- 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/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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/ess/v20201111/ess_client.d.ts +1 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -3
- 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/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 +160 -4
- 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/test/cynosdb.v20190107.test.js +12 -2
- package/test/lcic.v20220817.test.js +22 -2
- package/test/monitor.v20180724.test.js +164 -14
|
@@ -2423,7 +2423,11 @@ export interface CreateStreamLinkFlowRequest {
|
|
|
2423
2423
|
/**
|
|
2424
2424
|
* 流的输入组。
|
|
2425
2425
|
*/
|
|
2426
|
-
InputGroup
|
|
2426
|
+
InputGroup?: Array<CreateInput>;
|
|
2427
|
+
/**
|
|
2428
|
+
* 该Flow关联的媒体传输事件ID,每个flow只能关联一个Event。
|
|
2429
|
+
*/
|
|
2430
|
+
EventId?: string;
|
|
2427
2431
|
}
|
|
2428
2432
|
/**
|
|
2429
2433
|
* 创建媒体传输流的输出SRT的目标地址。
|
|
@@ -9605,6 +9609,14 @@ export interface DescribeFlow {
|
|
|
9605
9609
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9606
9610
|
*/
|
|
9607
9611
|
OutputGroup: Array<DescribeOutput>;
|
|
9612
|
+
/**
|
|
9613
|
+
* 该Flow关联的媒体传输事件EventId。
|
|
9614
|
+
*/
|
|
9615
|
+
EventId: string;
|
|
9616
|
+
/**
|
|
9617
|
+
* 媒体传输输入流所属的区域,取值和InputRegion相同。
|
|
9618
|
+
*/
|
|
9619
|
+
Region: string;
|
|
9608
9620
|
}
|
|
9609
9621
|
/**
|
|
9610
9622
|
* CreateWatermarkTemplate返回参数结构体
|
|
@@ -2280,6 +2280,11 @@ export interface SpecialCostItem {
|
|
|
2280
2280
|
* EstablishCloudBaseRunServer返回参数结构体
|
|
2281
2281
|
*/
|
|
2282
2282
|
export interface EstablishCloudBaseRunServerResponse {
|
|
2283
|
+
/**
|
|
2284
|
+
* 创建服务是否成功
|
|
2285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2286
|
+
*/
|
|
2287
|
+
Result?: string;
|
|
2283
2288
|
/**
|
|
2284
2289
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2285
2290
|
*/
|
|
@@ -4537,146 +4542,161 @@ export interface DescribeCloudBaseRunVersionResponse {
|
|
|
4537
4542
|
/**
|
|
4538
4543
|
* 版本名称
|
|
4539
4544
|
*/
|
|
4540
|
-
VersionName
|
|
4545
|
+
VersionName?: string;
|
|
4541
4546
|
/**
|
|
4542
4547
|
* 备注
|
|
4543
4548
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4544
4549
|
*/
|
|
4545
|
-
Remark
|
|
4550
|
+
Remark?: string;
|
|
4546
4551
|
/**
|
|
4547
4552
|
* Dockefile的路径
|
|
4548
4553
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4549
4554
|
*/
|
|
4550
|
-
DockerfilePath
|
|
4555
|
+
DockerfilePath?: string;
|
|
4551
4556
|
/**
|
|
4552
4557
|
* DockerBuild的目录
|
|
4553
4558
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4554
4559
|
*/
|
|
4555
|
-
BuildDir
|
|
4560
|
+
BuildDir?: string;
|
|
4556
4561
|
/**
|
|
4557
4562
|
* 副本最小值
|
|
4558
4563
|
*/
|
|
4559
|
-
MinNum
|
|
4564
|
+
MinNum?: number;
|
|
4560
4565
|
/**
|
|
4561
4566
|
* 副本最大值
|
|
4562
4567
|
*/
|
|
4563
|
-
MaxNum
|
|
4568
|
+
MaxNum?: number;
|
|
4564
4569
|
/**
|
|
4565
4570
|
* 策略类型
|
|
4566
4571
|
*/
|
|
4567
|
-
PolicyType
|
|
4572
|
+
PolicyType?: string;
|
|
4568
4573
|
/**
|
|
4569
4574
|
* 策略阈值
|
|
4570
4575
|
*/
|
|
4571
|
-
PolicyThreshold
|
|
4576
|
+
PolicyThreshold?: number;
|
|
4572
4577
|
/**
|
|
4573
4578
|
* 环境变量
|
|
4574
4579
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4575
4580
|
*/
|
|
4576
|
-
EnvParams
|
|
4581
|
+
EnvParams?: string;
|
|
4577
4582
|
/**
|
|
4578
4583
|
* 创建时间
|
|
4579
4584
|
*/
|
|
4580
|
-
CreatedTime
|
|
4585
|
+
CreatedTime?: string;
|
|
4581
4586
|
/**
|
|
4582
4587
|
* 更新时间
|
|
4583
4588
|
*/
|
|
4584
|
-
UpdatedTime
|
|
4589
|
+
UpdatedTime?: string;
|
|
4585
4590
|
/**
|
|
4586
4591
|
* 版本的IP
|
|
4587
4592
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4588
4593
|
*/
|
|
4589
|
-
VersionIP
|
|
4594
|
+
VersionIP?: string;
|
|
4590
4595
|
/**
|
|
4591
4596
|
* 版本的端口号
|
|
4592
4597
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4593
4598
|
*/
|
|
4594
|
-
VersionPort
|
|
4599
|
+
VersionPort?: number;
|
|
4595
4600
|
/**
|
|
4596
4601
|
* 版本状态
|
|
4597
4602
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4598
4603
|
*/
|
|
4599
|
-
Status
|
|
4604
|
+
Status?: string;
|
|
4600
4605
|
/**
|
|
4601
4606
|
* 代码包的名字
|
|
4602
4607
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4603
4608
|
*/
|
|
4604
|
-
PackageName
|
|
4609
|
+
PackageName?: string;
|
|
4605
4610
|
/**
|
|
4606
4611
|
* 代码版本的名字
|
|
4607
4612
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4608
4613
|
*/
|
|
4609
|
-
PackageVersion
|
|
4614
|
+
PackageVersion?: string;
|
|
4610
4615
|
/**
|
|
4611
4616
|
* 枚举(package/repository/image)
|
|
4612
4617
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4613
4618
|
*/
|
|
4614
|
-
UploadType
|
|
4619
|
+
UploadType?: string;
|
|
4615
4620
|
/**
|
|
4616
4621
|
* Repo的类型(coding/gitlab/github/coding)
|
|
4617
4622
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4618
4623
|
*/
|
|
4619
|
-
RepoType
|
|
4624
|
+
RepoType?: string;
|
|
4620
4625
|
/**
|
|
4621
4626
|
* 地址
|
|
4622
4627
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4623
4628
|
*/
|
|
4624
|
-
Repo
|
|
4629
|
+
Repo?: string;
|
|
4625
4630
|
/**
|
|
4626
4631
|
* 分支
|
|
4627
4632
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4628
4633
|
*/
|
|
4629
|
-
Branch
|
|
4634
|
+
Branch?: string;
|
|
4630
4635
|
/**
|
|
4631
4636
|
* 服务名字
|
|
4632
4637
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4633
4638
|
*/
|
|
4634
|
-
ServerName
|
|
4639
|
+
ServerName?: string;
|
|
4635
4640
|
/**
|
|
4636
4641
|
* 是否对于外网开放
|
|
4637
4642
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4638
4643
|
*/
|
|
4639
|
-
IsPublic
|
|
4644
|
+
IsPublic?: boolean;
|
|
4640
4645
|
/**
|
|
4641
4646
|
* vpc id
|
|
4642
4647
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4643
4648
|
*/
|
|
4644
|
-
VpcId
|
|
4649
|
+
VpcId?: string;
|
|
4645
4650
|
/**
|
|
4646
4651
|
* 子网实例id
|
|
4647
4652
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4648
4653
|
*/
|
|
4649
|
-
SubnetIds
|
|
4654
|
+
SubnetIds?: Array<string>;
|
|
4650
4655
|
/**
|
|
4651
4656
|
* 日志采集路径
|
|
4652
4657
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4653
4658
|
*/
|
|
4654
|
-
CustomLogs
|
|
4659
|
+
CustomLogs?: string;
|
|
4655
4660
|
/**
|
|
4656
4661
|
* 监听端口
|
|
4657
4662
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4658
4663
|
*/
|
|
4659
|
-
ContainerPort
|
|
4664
|
+
ContainerPort?: number;
|
|
4660
4665
|
/**
|
|
4661
4666
|
* 延迟多长时间开始健康检查(单位s)
|
|
4662
4667
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4663
4668
|
*/
|
|
4664
|
-
InitialDelaySeconds
|
|
4669
|
+
InitialDelaySeconds?: number;
|
|
4665
4670
|
/**
|
|
4666
4671
|
* 镜像地址
|
|
4667
4672
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4668
4673
|
*/
|
|
4669
|
-
ImageUrl
|
|
4674
|
+
ImageUrl?: string;
|
|
4670
4675
|
/**
|
|
4671
4676
|
* CPU 大小
|
|
4672
4677
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4673
4678
|
*/
|
|
4674
|
-
CpuSize
|
|
4679
|
+
CpuSize?: number;
|
|
4675
4680
|
/**
|
|
4676
4681
|
* MEM 大小
|
|
4677
4682
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4678
4683
|
*/
|
|
4679
|
-
MemSize
|
|
4684
|
+
MemSize?: number;
|
|
4685
|
+
/**
|
|
4686
|
+
* 扩缩容策略详情
|
|
4687
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4688
|
+
*/
|
|
4689
|
+
PolicyDetail?: Array<HpaPolicy>;
|
|
4690
|
+
/**
|
|
4691
|
+
* Cpu的Request值
|
|
4692
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4693
|
+
*/
|
|
4694
|
+
Cpu?: number;
|
|
4695
|
+
/**
|
|
4696
|
+
* Mem的Request值
|
|
4697
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4698
|
+
*/
|
|
4699
|
+
Mem?: number;
|
|
4680
4700
|
/**
|
|
4681
4701
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4682
4702
|
*/
|
|
@@ -368,9 +368,9 @@ it("cynosdb.v20190107.ResumeServerless", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
-
it("cynosdb.v20190107.
|
|
371
|
+
it("cynosdb.v20190107.RestartInstance", async function () {
|
|
372
372
|
try {
|
|
373
|
-
const data = await client.
|
|
373
|
+
const data = await client.RestartInstance({})
|
|
374
374
|
expect(data).to.be.ok
|
|
375
375
|
} catch(error) {
|
|
376
376
|
expect(error.requestId).to.be.ok
|
|
@@ -458,6 +458,16 @@ it("cynosdb.v20190107.ModifyClusterName", async function () {
|
|
|
458
458
|
}
|
|
459
459
|
})
|
|
460
460
|
|
|
461
|
+
it("cynosdb.v20190107.SwitchProxyVpc", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.SwitchProxyVpc({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
461
471
|
it("cynosdb.v20190107.DescribeClusterDetail", async function () {
|
|
462
472
|
try {
|
|
463
473
|
const data = await client.DescribeClusterDetail({})
|
|
@@ -38,6 +38,16 @@ it("lcic.v20220817.CreateDocument", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("lcic.v20220817.ModifyApp", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ModifyApp({})
|
|
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("lcic.v20220817.SetAppCustomContent", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.SetAppCustomContent({})
|
|
@@ -68,6 +78,16 @@ it("lcic.v20220817.DeleteRoom", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("lcic.v20220817.ModifyRoom", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.ModifyRoom({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
71
91
|
it("lcic.v20220817.UnbindDocumentFromRoom", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.UnbindDocumentFromRoom({})
|
|
@@ -108,9 +128,9 @@ it("lcic.v20220817.DescribeUser", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
111
|
-
it("lcic.v20220817.
|
|
131
|
+
it("lcic.v20220817.BatchRegister", async function () {
|
|
112
132
|
try {
|
|
113
|
-
const data = await client.
|
|
133
|
+
const data = await client.BatchRegister({})
|
|
114
134
|
expect(data).to.be.ok
|
|
115
135
|
} catch(error) {
|
|
116
136
|
expect(error.requestId).to.be.ok
|
|
@@ -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
|