tencentcloud-sdk-nodejs 4.0.368 → 4.0.369
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 +171 -0
- package/SERVICE_CHANGELOG.md +228 -92
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- 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_models.ts +18 -6
- package/src/services/mmps/v20200710/mmps_models.ts +6 -0
- package/src/services/monitor/v20180724/monitor_client.ts +267 -35
- package/src/services/monitor/v20180724/monitor_models.ts +1004 -182
- package/src/services/mrs/v20200910/mrs_client.ts +1 -0
- package/src/services/mrs/v20200910/mrs_models.ts +65 -0
- package/src/services/tcbr/v20220217/tcbr_client.ts +21 -7
- package/src/services/tcbr/v20220217/tcbr_models.ts +183 -15
- package/src/services/tke/v20180525/tke_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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_models.d.ts +16 -6
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +85 -9
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +124 -10
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +883 -171
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +55 -0
- 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 +152 -13
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +3 -3
- package/test/monitor.v20180724.test.js +194 -4
- package/test/tcbr.v20220217.test.js +12 -2
|
@@ -277,6 +277,41 @@ export interface ReportInfo {
|
|
|
277
277
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
278
278
|
*/
|
|
279
279
|
Diagnose: string;
|
|
280
|
+
/**
|
|
281
|
+
* 检查项目
|
|
282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
283
|
+
*/
|
|
284
|
+
CheckItem: string;
|
|
285
|
+
/**
|
|
286
|
+
* 检查方法
|
|
287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
288
|
+
*/
|
|
289
|
+
CheckMethod: string;
|
|
290
|
+
/**
|
|
291
|
+
* 诊断时间
|
|
292
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
293
|
+
*/
|
|
294
|
+
DiagnoseTime: string;
|
|
295
|
+
/**
|
|
296
|
+
* 体检号
|
|
297
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
298
|
+
*/
|
|
299
|
+
HealthCheckupNum: string;
|
|
300
|
+
/**
|
|
301
|
+
* 其它时间
|
|
302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
303
|
+
*/
|
|
304
|
+
OtherTime: string;
|
|
305
|
+
/**
|
|
306
|
+
* 打印时间
|
|
307
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
308
|
+
*/
|
|
309
|
+
PrintTime: string;
|
|
310
|
+
/**
|
|
311
|
+
* 未归类时间
|
|
312
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
313
|
+
*/
|
|
314
|
+
Times: Array<Time>;
|
|
280
315
|
}
|
|
281
316
|
/**
|
|
282
317
|
* 内窥镜报告
|
|
@@ -1225,6 +1260,11 @@ export interface PatientInfo {
|
|
|
1225
1260
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1226
1261
|
*/
|
|
1227
1262
|
MedicalInsuranceTypeCode: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* 床号
|
|
1265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1266
|
+
*/
|
|
1267
|
+
BedNo: string;
|
|
1228
1268
|
}
|
|
1229
1269
|
/**
|
|
1230
1270
|
* 组织学等级
|
|
@@ -1738,6 +1778,21 @@ export interface TextToClassResponse {
|
|
|
1738
1778
|
*/
|
|
1739
1779
|
RequestId?: string;
|
|
1740
1780
|
}
|
|
1781
|
+
/**
|
|
1782
|
+
* 时间
|
|
1783
|
+
*/
|
|
1784
|
+
export interface Time {
|
|
1785
|
+
/**
|
|
1786
|
+
* 具体时间类型
|
|
1787
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1788
|
+
*/
|
|
1789
|
+
Name: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* 时间值
|
|
1792
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1793
|
+
*/
|
|
1794
|
+
Value: string;
|
|
1795
|
+
}
|
|
1741
1796
|
/**
|
|
1742
1797
|
* 组织学类型
|
|
1743
1798
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeCloudRunServersResponse, ReleaseGrayRequest, DescribeEnvBaseInfoResponse, CreateCloudRunServerRequest, DescribeCloudRunEnvsResponse, DescribeCloudRunEnvsRequest, ReleaseGrayResponse, OperateServerManageRequest, UpdateCloudRunServerRequest, OperateServerManageResponse, DescribeCloudRunServerDetailRequest, DescribeCloudRunServersRequest, DescribeCloudRunServerDetailResponse, CreateCloudRunEnvResponse, DescribeEnvBaseInfoRequest, CreateCloudRunServerResponse, UpdateCloudRunServerResponse, CreateCloudRunEnvRequest } from "./tcbr_models";
|
|
3
|
+
import { DescribeCloudRunServersResponse, ReleaseGrayRequest, DescribeEnvBaseInfoResponse, CreateCloudRunServerRequest, DescribeServerManageTaskResponse, DescribeCloudRunEnvsResponse, DescribeCloudRunEnvsRequest, ReleaseGrayResponse, OperateServerManageRequest, UpdateCloudRunServerRequest, OperateServerManageResponse, DescribeCloudRunServerDetailRequest, DescribeCloudRunServersRequest, DescribeServerManageTaskRequest, DescribeCloudRunServerDetailResponse, CreateCloudRunEnvResponse, DescribeEnvBaseInfoRequest, CreateCloudRunServerResponse, UpdateCloudRunServerResponse, CreateCloudRunEnvRequest } from "./tcbr_models";
|
|
4
4
|
/**
|
|
5
5
|
* tcbr client
|
|
6
6
|
* @class
|
|
@@ -12,9 +12,9 @@ export declare class Client extends AbstractClient {
|
|
|
12
12
|
*/
|
|
13
13
|
CreateCloudRunServer(req: CreateCloudRunServerRequest, cb?: (error: string, rep: CreateCloudRunServerResponse) => void): Promise<CreateCloudRunServerResponse>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 查询服务管理任务信息
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
DescribeServerManageTask(req: DescribeServerManageTaskRequest, cb?: (error: string, rep: DescribeServerManageTaskResponse) => void): Promise<DescribeServerManageTaskResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* 查询环境基础信息
|
|
20
20
|
*/
|
|
@@ -27,6 +27,10 @@ export declare class Client extends AbstractClient {
|
|
|
27
27
|
* 灰度发布
|
|
28
28
|
*/
|
|
29
29
|
ReleaseGray(req: ReleaseGrayRequest, cb?: (error: string, rep: ReleaseGrayResponse) => void): Promise<ReleaseGrayResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 更新云托管服务
|
|
32
|
+
*/
|
|
33
|
+
UpdateCloudRunServer(req: UpdateCloudRunServerRequest, cb?: (error: string, rep: UpdateCloudRunServerResponse) => void): Promise<UpdateCloudRunServerResponse>;
|
|
30
34
|
/**
|
|
31
35
|
* 创建云托管环境,并开通资源。
|
|
32
36
|
*/
|
|
@@ -34,10 +34,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
34
34
|
return this.request("CreateCloudRunServer", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 查询服务管理任务信息
|
|
38
38
|
*/
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
39
|
+
async DescribeServerManageTask(req, cb) {
|
|
40
|
+
return this.request("DescribeServerManageTask", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* 查询环境基础信息
|
|
@@ -57,6 +57,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
57
57
|
async ReleaseGray(req, cb) {
|
|
58
58
|
return this.request("ReleaseGray", req, cb);
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* 更新云托管服务
|
|
62
|
+
*/
|
|
63
|
+
async UpdateCloudRunServer(req, cb) {
|
|
64
|
+
return this.request("UpdateCloudRunServer", req, cb);
|
|
65
|
+
}
|
|
60
66
|
/**
|
|
61
67
|
* 创建云托管环境,并开通资源。
|
|
62
68
|
*/
|
|
@@ -131,6 +131,55 @@ export interface FunctionInfo {
|
|
|
131
131
|
*/
|
|
132
132
|
Region: string;
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* DescribeServerManageTask返回参数结构体
|
|
136
|
+
*/
|
|
137
|
+
export interface DescribeServerManageTaskResponse {
|
|
138
|
+
/**
|
|
139
|
+
* 是否存在
|
|
140
|
+
*/
|
|
141
|
+
IsExist: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* 任务信息
|
|
144
|
+
*/
|
|
145
|
+
Task: ServerManageTaskInfo;
|
|
146
|
+
/**
|
|
147
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
148
|
+
*/
|
|
149
|
+
RequestId?: string;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* 任务步骤信息
|
|
153
|
+
*/
|
|
154
|
+
export interface TaskStepInfo {
|
|
155
|
+
/**
|
|
156
|
+
* 步骤名
|
|
157
|
+
*/
|
|
158
|
+
Name: string;
|
|
159
|
+
/**
|
|
160
|
+
* 未启动:"todo"
|
|
161
|
+
运行中:"running"
|
|
162
|
+
失败:"failed"
|
|
163
|
+
成功结束:"finished"
|
|
164
|
+
*/
|
|
165
|
+
Status: string;
|
|
166
|
+
/**
|
|
167
|
+
* 开始时间
|
|
168
|
+
*/
|
|
169
|
+
StartTime: string;
|
|
170
|
+
/**
|
|
171
|
+
* 结束时间
|
|
172
|
+
*/
|
|
173
|
+
EndTime: string;
|
|
174
|
+
/**
|
|
175
|
+
* 消耗时间:秒
|
|
176
|
+
*/
|
|
177
|
+
CostTime: number;
|
|
178
|
+
/**
|
|
179
|
+
* 失败原因
|
|
180
|
+
*/
|
|
181
|
+
FailReason: string;
|
|
182
|
+
}
|
|
134
183
|
/**
|
|
135
184
|
* DescribeCloudRunEnvs返回参数结构体
|
|
136
185
|
*/
|
|
@@ -378,6 +427,40 @@ export interface ClsInfo {
|
|
|
378
427
|
*/
|
|
379
428
|
CreateTime: string;
|
|
380
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* DescribeServerManageTask请求参数结构体
|
|
432
|
+
*/
|
|
433
|
+
export interface DescribeServerManageTaskRequest {
|
|
434
|
+
/**
|
|
435
|
+
* 环境Id
|
|
436
|
+
*/
|
|
437
|
+
EnvId: string;
|
|
438
|
+
/**
|
|
439
|
+
* 服务名
|
|
440
|
+
*/
|
|
441
|
+
ServerName: string;
|
|
442
|
+
/**
|
|
443
|
+
* 任务Id
|
|
444
|
+
*/
|
|
445
|
+
TaskId: number;
|
|
446
|
+
/**
|
|
447
|
+
* 操作标识
|
|
448
|
+
*/
|
|
449
|
+
OperatorRemark?: string;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* 扩缩容入参
|
|
453
|
+
*/
|
|
454
|
+
export interface HpaPolicy {
|
|
455
|
+
/**
|
|
456
|
+
* 扩缩容类型
|
|
457
|
+
*/
|
|
458
|
+
PolicyType: string;
|
|
459
|
+
/**
|
|
460
|
+
* 扩缩容阈值
|
|
461
|
+
*/
|
|
462
|
+
PolicyThreshold: number;
|
|
463
|
+
}
|
|
381
464
|
/**
|
|
382
465
|
* 服务基础配置信息
|
|
383
466
|
*/
|
|
@@ -463,19 +546,6 @@ export interface ServerBaseConfig {
|
|
|
463
546
|
*/
|
|
464
547
|
LogParseType?: string;
|
|
465
548
|
}
|
|
466
|
-
/**
|
|
467
|
-
* 扩缩容入参
|
|
468
|
-
*/
|
|
469
|
-
export interface HpaPolicy {
|
|
470
|
-
/**
|
|
471
|
-
* 扩缩容类型
|
|
472
|
-
*/
|
|
473
|
-
PolicyType: string;
|
|
474
|
-
/**
|
|
475
|
-
* 扩缩容阈值
|
|
476
|
-
*/
|
|
477
|
-
PolicyThreshold: number;
|
|
478
|
-
}
|
|
479
549
|
/**
|
|
480
550
|
* DescribeCloudRunServerDetail返回参数结构体
|
|
481
551
|
*/
|
|
@@ -835,3 +905,72 @@ Activity:活动来源
|
|
|
835
905
|
*/
|
|
836
906
|
Channel?: string;
|
|
837
907
|
}
|
|
908
|
+
/**
|
|
909
|
+
* 服务管理任务信息
|
|
910
|
+
*/
|
|
911
|
+
export interface ServerManageTaskInfo {
|
|
912
|
+
/**
|
|
913
|
+
* 任务Id
|
|
914
|
+
*/
|
|
915
|
+
Id: number;
|
|
916
|
+
/**
|
|
917
|
+
* 环境Id
|
|
918
|
+
*/
|
|
919
|
+
EnvId: string;
|
|
920
|
+
/**
|
|
921
|
+
* 服务名
|
|
922
|
+
*/
|
|
923
|
+
ServerName: string;
|
|
924
|
+
/**
|
|
925
|
+
* 创建时间
|
|
926
|
+
*/
|
|
927
|
+
CreateTime: string;
|
|
928
|
+
/**
|
|
929
|
+
* 变更类型
|
|
930
|
+
*/
|
|
931
|
+
ChangeType: string;
|
|
932
|
+
/**
|
|
933
|
+
* 发布类型
|
|
934
|
+
*/
|
|
935
|
+
ReleaseType: string;
|
|
936
|
+
/**
|
|
937
|
+
* 部署类型
|
|
938
|
+
*/
|
|
939
|
+
DeployType: string;
|
|
940
|
+
/**
|
|
941
|
+
* 上一个版本名
|
|
942
|
+
*/
|
|
943
|
+
PreVersionName: string;
|
|
944
|
+
/**
|
|
945
|
+
* 版本名
|
|
946
|
+
*/
|
|
947
|
+
VersionName: string;
|
|
948
|
+
/**
|
|
949
|
+
* 流水线Id
|
|
950
|
+
*/
|
|
951
|
+
PipelineId: number;
|
|
952
|
+
/**
|
|
953
|
+
* 流水线任务Id
|
|
954
|
+
*/
|
|
955
|
+
PipelineTaskId: number;
|
|
956
|
+
/**
|
|
957
|
+
* 发布单Id
|
|
958
|
+
*/
|
|
959
|
+
ReleaseId: number;
|
|
960
|
+
/**
|
|
961
|
+
* 状态
|
|
962
|
+
*/
|
|
963
|
+
Status: string;
|
|
964
|
+
/**
|
|
965
|
+
* 步骤信息
|
|
966
|
+
*/
|
|
967
|
+
Steps: Array<TaskStepInfo>;
|
|
968
|
+
/**
|
|
969
|
+
* 失败原因
|
|
970
|
+
*/
|
|
971
|
+
FailReason: string;
|
|
972
|
+
/**
|
|
973
|
+
* 操作标识
|
|
974
|
+
*/
|
|
975
|
+
OperatorRemark: string;
|
|
976
|
+
}
|
|
@@ -894,9 +894,9 @@ export interface ModifyNetworkAclEntriesRequest {
|
|
|
894
894
|
*/
|
|
895
895
|
NetworkAclId: string;
|
|
896
896
|
/**
|
|
897
|
-
* 网络ACL规则集。
|
|
897
|
+
* 网络ACL规则集。NetworkAclEntrySet和NetworkAclQuintupleSet只能输入一个。
|
|
898
898
|
*/
|
|
899
|
-
NetworkAclEntrySet
|
|
899
|
+
NetworkAclEntrySet?: NetworkAclEntrySet;
|
|
900
900
|
}
|
|
901
901
|
/**
|
|
902
902
|
* DescribeVpcPrivateIpAddresses请求参数结构体
|
|
@@ -5449,7 +5449,7 @@ export interface CreateSecurityGroupResponse {
|
|
|
5449
5449
|
/**
|
|
5450
5450
|
* 安全组对象。
|
|
5451
5451
|
*/
|
|
5452
|
-
SecurityGroup
|
|
5452
|
+
SecurityGroup: SecurityGroup;
|
|
5453
5453
|
/**
|
|
5454
5454
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5455
5455
|
*/
|
|
@@ -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({})
|
|
@@ -148,6 +178,16 @@ it("monitor.v20180724.ModifyAlarmPolicyTasks", async function () {
|
|
|
148
178
|
}
|
|
149
179
|
})
|
|
150
180
|
|
|
181
|
+
it("monitor.v20180724.DescribePrometheusInstances", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribePrometheusInstances({})
|
|
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
|
+
|
|
151
191
|
it("monitor.v20180724.DescribePolicyConditionList", async function () {
|
|
152
192
|
try {
|
|
153
193
|
const data = await client.DescribePolicyConditionList({})
|
|
@@ -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({})
|
|
@@ -378,6 +508,16 @@ it("monitor.v20180724.UpdateAlertRule", async function () {
|
|
|
378
508
|
}
|
|
379
509
|
})
|
|
380
510
|
|
|
511
|
+
it("monitor.v20180724.CreateExporterIntegration", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.CreateExporterIntegration({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
381
521
|
it("monitor.v20180724.SetDefaultAlarmPolicy", async function () {
|
|
382
522
|
try {
|
|
383
523
|
const data = await client.SetDefaultAlarmPolicy({})
|
|
@@ -398,6 +538,26 @@ it("monitor.v20180724.CreatePolicyGroup", async function () {
|
|
|
398
538
|
}
|
|
399
539
|
})
|
|
400
540
|
|
|
541
|
+
it("monitor.v20180724.TerminatePrometheusInstances", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.TerminatePrometheusInstances({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
551
|
+
it("monitor.v20180724.DeletePrometheusScrapeJobs", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.DeletePrometheusScrapeJobs({})
|
|
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
|
+
|
|
401
561
|
it("monitor.v20180724.DescribeProductEventList", async function () {
|
|
402
562
|
try {
|
|
403
563
|
const data = await client.DescribeProductEventList({})
|
|
@@ -448,9 +608,9 @@ it("monitor.v20180724.DescribeAlarmMetrics", async function () {
|
|
|
448
608
|
}
|
|
449
609
|
})
|
|
450
610
|
|
|
451
|
-
it("monitor.v20180724.
|
|
611
|
+
it("monitor.v20180724.DeleteExporterIntegration", async function () {
|
|
452
612
|
try {
|
|
453
|
-
const data = await client.
|
|
613
|
+
const data = await client.DeleteExporterIntegration({})
|
|
454
614
|
expect(data).to.be.ok
|
|
455
615
|
} catch(error) {
|
|
456
616
|
expect(error.requestId).to.be.ok
|
|
@@ -488,6 +648,16 @@ it("monitor.v20180724.DescribeAlarmEvents", async function () {
|
|
|
488
648
|
}
|
|
489
649
|
})
|
|
490
650
|
|
|
651
|
+
it("monitor.v20180724.UpdatePrometheusAgentStatus", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.UpdatePrometheusAgentStatus({})
|
|
654
|
+
expect(data).to.be.ok
|
|
655
|
+
} catch(error) {
|
|
656
|
+
expect(error.requestId).to.be.ok
|
|
657
|
+
expect(error.code).to.be.ok
|
|
658
|
+
}
|
|
659
|
+
})
|
|
660
|
+
|
|
491
661
|
it("monitor.v20180724.DeleteAlarmNotices", async function () {
|
|
492
662
|
try {
|
|
493
663
|
const data = await client.DeleteAlarmNotices({})
|
|
@@ -548,4 +718,24 @@ it("monitor.v20180724.DescribeAlarmPolicy", async function () {
|
|
|
548
718
|
}
|
|
549
719
|
})
|
|
550
720
|
|
|
721
|
+
it("monitor.v20180724.CreatePrometheusScrapeJob", async function () {
|
|
722
|
+
try {
|
|
723
|
+
const data = await client.CreatePrometheusScrapeJob({})
|
|
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
|
+
|
|
731
|
+
it("monitor.v20180724.DescribePrometheusAgents", async function () {
|
|
732
|
+
try {
|
|
733
|
+
const data = await client.DescribePrometheusAgents({})
|
|
734
|
+
expect(data).to.be.ok
|
|
735
|
+
} catch(error) {
|
|
736
|
+
expect(error.requestId).to.be.ok
|
|
737
|
+
expect(error.code).to.be.ok
|
|
738
|
+
}
|
|
739
|
+
})
|
|
740
|
+
|
|
551
741
|
})
|
|
@@ -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({})
|