tencentcloud-sdk-nodejs-intl-en 3.0.1266 → 3.0.1267
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/package.json +1 -1
- package/tencentcloud/clb/v20180317/clb_client.js +1 -1
- package/tencentcloud/clb/v20180317/models.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/monitor/v20180724/models.js +1054 -237
- package/tencentcloud/monitor/v20180724/monitor_client.js +92 -20
- package/tencentcloud/quota/v20241204/models.js +8 -1
- package/tencentcloud/redis/v20180412/models.js +199 -84
- package/tencentcloud/redis/v20180412/redis_client.js +4 -4
|
@@ -63,11 +63,12 @@ const DescribePrometheusInstanceInitStatusResponse = models.DescribePrometheusIn
|
|
|
63
63
|
const DescribeProductEventListResponse = models.DescribeProductEventListResponse;
|
|
64
64
|
const DescribeAlarmNoticeCallbacksResponse = models.DescribeAlarmNoticeCallbacksResponse;
|
|
65
65
|
const DescribePrometheusInstanceUsageRequest = models.DescribePrometheusInstanceUsageRequest;
|
|
66
|
-
const
|
|
66
|
+
const DeleteSSOAccountRequest = models.DeleteSSOAccountRequest;
|
|
67
67
|
const CreatePrometheusRecordRuleYamlRequest = models.CreatePrometheusRecordRuleYamlRequest;
|
|
68
68
|
const Instance = models.Instance;
|
|
69
69
|
const DescribeAlarmNoticesResponse = models.DescribeAlarmNoticesResponse;
|
|
70
70
|
const PrometheusClusterAgentPodConfig = models.PrometheusClusterAgentPodConfig;
|
|
71
|
+
const DeletePrometheusAlertGroupsRequest = models.DeletePrometheusAlertGroupsRequest;
|
|
71
72
|
const GrafanaInstanceInfo = models.GrafanaInstanceInfo;
|
|
72
73
|
const DeletePrometheusConfigResponse = models.DeletePrometheusConfigResponse;
|
|
73
74
|
const CreatePrometheusRecordRuleYamlResponse = models.CreatePrometheusRecordRuleYamlResponse;
|
|
@@ -82,6 +83,7 @@ const DescribeDNSConfigRequest = models.DescribeDNSConfigRequest;
|
|
|
82
83
|
const DescribePolicyGroupInfoConditionTpl = models.DescribePolicyGroupInfoConditionTpl;
|
|
83
84
|
const UnBindingPolicyObjectResponse = models.UnBindingPolicyObjectResponse;
|
|
84
85
|
const DescribePrometheusRecordRulesRequest = models.DescribePrometheusRecordRulesRequest;
|
|
86
|
+
const ModifyAlarmPolicyStatusResponse = models.ModifyAlarmPolicyStatusResponse;
|
|
85
87
|
const DescribeExporterIntegrationsResponse = models.DescribeExporterIntegrationsResponse;
|
|
86
88
|
const UpdateAlertRuleResponse = models.UpdateAlertRuleResponse;
|
|
87
89
|
const InstanceGroup = models.InstanceGroup;
|
|
@@ -89,11 +91,11 @@ const EnableGrafanaSSORequest = models.EnableGrafanaSSORequest;
|
|
|
89
91
|
const DescribePrometheusScrapeJobsResponse = models.DescribePrometheusScrapeJobsResponse;
|
|
90
92
|
const EnableGrafanaInternetRequest = models.EnableGrafanaInternetRequest;
|
|
91
93
|
const GrafanaAccountRole = models.GrafanaAccountRole;
|
|
92
|
-
const
|
|
94
|
+
const DeleteRecordingRulesResponse = models.DeleteRecordingRulesResponse;
|
|
93
95
|
const PolicyGroupReceiverInfo = models.PolicyGroupReceiverInfo;
|
|
94
96
|
const Metric = models.Metric;
|
|
95
97
|
const MidQueryCondition = models.MidQueryCondition;
|
|
96
|
-
const
|
|
98
|
+
const DescribeGrafanaInstancesRequest = models.DescribeGrafanaInstancesRequest;
|
|
97
99
|
const DescribePrometheusAgentInstancesResponse = models.DescribePrometheusAgentInstancesResponse;
|
|
98
100
|
const URLNotice = models.URLNotice;
|
|
99
101
|
const DeletePrometheusTempResponse = models.DeletePrometheusTempResponse;
|
|
@@ -101,8 +103,7 @@ const CreatePolicyGroupCondition = models.CreatePolicyGroupCondition;
|
|
|
101
103
|
const DescribePolicyGroupInfoReceiverInfo = models.DescribePolicyGroupInfoReceiverInfo;
|
|
102
104
|
const RecordingRuleSet = models.RecordingRuleSet;
|
|
103
105
|
const DescribeBasicAlarmListRequest = models.DescribeBasicAlarmListRequest;
|
|
104
|
-
const
|
|
105
|
-
const DescribeGrafanaInstancesRequest = models.DescribeGrafanaInstancesRequest;
|
|
106
|
+
const DescribePrometheusAlertGroupsResponse = models.DescribePrometheusAlertGroupsResponse;
|
|
106
107
|
const DescribePrometheusTempSyncRequest = models.DescribePrometheusTempSyncRequest;
|
|
107
108
|
const DescribePrometheusGlobalConfigResponse = models.DescribePrometheusGlobalConfigResponse;
|
|
108
109
|
const CreateRecordingRuleResponse = models.CreateRecordingRuleResponse;
|
|
@@ -135,11 +136,13 @@ const DescribePolicyConditionListMetric = models.DescribePolicyConditionListMetr
|
|
|
135
136
|
const BindingPolicyObjectRequest = models.BindingPolicyObjectRequest;
|
|
136
137
|
const CreateServiceDiscoveryResponse = models.CreateServiceDiscoveryResponse;
|
|
137
138
|
const DescribeClusterAgentCreatingProgressRequest = models.DescribeClusterAgentCreatingProgressRequest;
|
|
139
|
+
const UpdatePrometheusAlertGroupRequest = models.UpdatePrometheusAlertGroupRequest;
|
|
138
140
|
const EnableSSOCamCheckResponse = models.EnableSSOCamCheckResponse;
|
|
139
141
|
const DescribeAccidentEventListRequest = models.DescribeAccidentEventListRequest;
|
|
140
142
|
const CreatePrometheusScrapeJobResponse = models.CreatePrometheusScrapeJobResponse;
|
|
141
143
|
const CreateAlarmPolicyRequest = models.CreateAlarmPolicyRequest;
|
|
142
144
|
const PrometheusZoneItem = models.PrometheusZoneItem;
|
|
145
|
+
const PrometheusAlertCustomReceiver = models.PrometheusAlertCustomReceiver;
|
|
143
146
|
const ModifyPrometheusAlertPolicyRequest = models.ModifyPrometheusAlertPolicyRequest;
|
|
144
147
|
const ModifyPrometheusInstanceAttributesResponse = models.ModifyPrometheusInstanceAttributesResponse;
|
|
145
148
|
const PrometheusTemplateSyncTarget = models.PrometheusTemplateSyncTarget;
|
|
@@ -153,6 +156,7 @@ const ModifyPrometheusGlobalNotificationRequest = models.ModifyPrometheusGlobalN
|
|
|
153
156
|
const DescribePolicyConditionListConfigManualPeriod = models.DescribePolicyConditionListConfigManualPeriod;
|
|
154
157
|
const DescribePrometheusRecordRulesResponse = models.DescribePrometheusRecordRulesResponse;
|
|
155
158
|
const DescribePrometheusGlobalNotificationResponse = models.DescribePrometheusGlobalNotificationResponse;
|
|
159
|
+
const PrometheusAlertGroupRuleSet = models.PrometheusAlertGroupRuleSet;
|
|
156
160
|
const DescribeMonitorTypesRequest = models.DescribeMonitorTypesRequest;
|
|
157
161
|
const DimensionsDesc = models.DimensionsDesc;
|
|
158
162
|
const DeletePrometheusAlertPolicyRequest = models.DeletePrometheusAlertPolicyRequest;
|
|
@@ -174,8 +178,10 @@ const DescribePrometheusClusterAgentsResponse = models.DescribePrometheusCluster
|
|
|
174
178
|
const UpdatePrometheusScrapeJobRequest = models.UpdatePrometheusScrapeJobRequest;
|
|
175
179
|
const PrometheusAgentInfo = models.PrometheusAgentInfo;
|
|
176
180
|
const CreatePrometheusClusterAgentResponse = models.CreatePrometheusClusterAgentResponse;
|
|
181
|
+
const PrometheusAlertAllowTimeRange = models.PrometheusAlertAllowTimeRange;
|
|
177
182
|
const CreateGrafanaIntegrationResponse = models.CreateGrafanaIntegrationResponse;
|
|
178
183
|
const BindPrometheusManagedGrafanaRequest = models.BindPrometheusManagedGrafanaRequest;
|
|
184
|
+
const UpdatePrometheusAlertGroupStateRequest = models.UpdatePrometheusAlertGroupStateRequest;
|
|
179
185
|
const PrometheusAlertManagerConfig = models.PrometheusAlertManagerConfig;
|
|
180
186
|
const CreateGrafanaInstanceRequest = models.CreateGrafanaInstanceRequest;
|
|
181
187
|
const DescribePrometheusInstanceUsageResponse = models.DescribePrometheusInstanceUsageResponse;
|
|
@@ -201,6 +207,7 @@ const CreatePrometheusConfigResponse = models.CreatePrometheusConfigResponse;
|
|
|
201
207
|
const UpdateDNSConfigRequest = models.UpdateDNSConfigRequest;
|
|
202
208
|
const DeletePrometheusClusterAgentResponse = models.DeletePrometheusClusterAgentResponse;
|
|
203
209
|
const DescribeDNSConfigResponse = models.DescribeDNSConfigResponse;
|
|
210
|
+
const DestroyPrometheusInstanceRequest = models.DestroyPrometheusInstanceRequest;
|
|
204
211
|
const DeleteRecordingRulesRequest = models.DeleteRecordingRulesRequest;
|
|
205
212
|
const MonitorTypeNamespace = models.MonitorTypeNamespace;
|
|
206
213
|
const UninstallGrafanaPluginsRequest = models.UninstallGrafanaPluginsRequest;
|
|
@@ -255,6 +262,7 @@ const CreatePrometheusConfigRequest = models.CreatePrometheusConfigRequest;
|
|
|
255
262
|
const DescribeSSOAccountResponse = models.DescribeSSOAccountResponse;
|
|
256
263
|
const CreateAlarmPolicyResponse = models.CreateAlarmPolicyResponse;
|
|
257
264
|
const DeleteGrafanaNotificationChannelRequest = models.DeleteGrafanaNotificationChannelRequest;
|
|
265
|
+
const CreatePrometheusAlertGroupRequest = models.CreatePrometheusAlertGroupRequest;
|
|
258
266
|
const AlarmNotice = models.AlarmNotice;
|
|
259
267
|
const DescribeProductEventListEventsDimensions = models.DescribeProductEventListEventsDimensions;
|
|
260
268
|
const CreatePrometheusClusterAgentRequest = models.CreatePrometheusClusterAgentRequest;
|
|
@@ -300,6 +308,7 @@ const DescribePrometheusClusterAgentsRequest = models.DescribePrometheusClusterA
|
|
|
300
308
|
const UnbindPrometheusManagedGrafanaRequest = models.UnbindPrometheusManagedGrafanaRequest;
|
|
301
309
|
const DescribePolicyGroupListGroupInstanceGroup = models.DescribePolicyGroupListGroupInstanceGroup;
|
|
302
310
|
const DescribeConditionsTemplateListResponse = models.DescribeConditionsTemplateListResponse;
|
|
311
|
+
const DeletePrometheusAlertGroupsResponse = models.DeletePrometheusAlertGroupsResponse;
|
|
303
312
|
const CreatePrometheusTempRequest = models.CreatePrometheusTempRequest;
|
|
304
313
|
const ModifyAlarmPolicyInfoResponse = models.ModifyAlarmPolicyInfoResponse;
|
|
305
314
|
const MetricConfig = models.MetricConfig;
|
|
@@ -339,7 +348,6 @@ const DescribeProductEventListRequest = models.DescribeProductEventListRequest;
|
|
|
339
348
|
const CreatePrometheusGlobalNotificationRequest = models.CreatePrometheusGlobalNotificationRequest;
|
|
340
349
|
const ModifyPrometheusTempResponse = models.ModifyPrometheusTempResponse;
|
|
341
350
|
const DescribeRecordingRulesResponse = models.DescribeRecordingRulesResponse;
|
|
342
|
-
const DeleteRecordingRulesResponse = models.DeleteRecordingRulesResponse;
|
|
343
351
|
const UpdateGrafanaWhiteListRequest = models.UpdateGrafanaWhiteListRequest;
|
|
344
352
|
const UpdatePrometheusAgentStatusRequest = models.UpdatePrometheusAgentStatusRequest;
|
|
345
353
|
const DescribeGrafanaInstancesResponse = models.DescribeGrafanaInstancesResponse;
|
|
@@ -359,6 +367,7 @@ const ModifyAlarmPolicyTasksResponse = models.ModifyAlarmPolicyTasksResponse;
|
|
|
359
367
|
const MonitorTypeInfo = models.MonitorTypeInfo;
|
|
360
368
|
const DimensionNew = models.DimensionNew;
|
|
361
369
|
const DeleteAlertRulesResponse = models.DeleteAlertRulesResponse;
|
|
370
|
+
const DeletePrometheusScrapeJobsRequest = models.DeletePrometheusScrapeJobsRequest;
|
|
362
371
|
const ModifyAlarmPolicyStatusRequest = models.ModifyAlarmPolicyStatusRequest;
|
|
363
372
|
const ConditionsTemp = models.ConditionsTemp;
|
|
364
373
|
const Operator = models.Operator;
|
|
@@ -380,15 +389,18 @@ const DeletePrometheusTempSyncRequest = models.DeletePrometheusTempSyncRequest;
|
|
|
380
389
|
const DescribePrometheusGlobalConfigRequest = models.DescribePrometheusGlobalConfigRequest;
|
|
381
390
|
const PrometheusInstanceTenantUsage = models.PrometheusInstanceTenantUsage;
|
|
382
391
|
const DescribePrometheusZonesRequest = models.DescribePrometheusZonesRequest;
|
|
392
|
+
const DescribePrometheusAlertGroupsRequest = models.DescribePrometheusAlertGroupsRequest;
|
|
383
393
|
const ModifyPolicyGroupCondition = models.ModifyPolicyGroupCondition;
|
|
384
394
|
const ModifyPolicyGroupRequest = models.ModifyPolicyGroupRequest;
|
|
385
395
|
const DescribeBaseMetricsRequest = models.DescribeBaseMetricsRequest;
|
|
386
396
|
const DeletePrometheusConfigRequest = models.DeletePrometheusConfigRequest;
|
|
387
397
|
const PrometheusAlertPolicyItem = models.PrometheusAlertPolicyItem;
|
|
388
398
|
const ModifyPrometheusAgentExternalLabelsRequest = models.ModifyPrometheusAgentExternalLabelsRequest;
|
|
399
|
+
const PrometheusScrapeJob = models.PrometheusScrapeJob;
|
|
389
400
|
const AlarmHierarchicalNotice = models.AlarmHierarchicalNotice;
|
|
390
401
|
const BindingPolicyObjectDimension = models.BindingPolicyObjectDimension;
|
|
391
402
|
const DescribePrometheusTempRequest = models.DescribePrometheusTempRequest;
|
|
403
|
+
const UpdatePrometheusAlertGroupStateResponse = models.UpdatePrometheusAlertGroupStateResponse;
|
|
392
404
|
const DescribeBasicAlarmListAlarms = models.DescribeBasicAlarmListAlarms;
|
|
393
405
|
const CreateAlarmNoticeResponse = models.CreateAlarmNoticeResponse;
|
|
394
406
|
const Condition = models.Condition;
|
|
@@ -396,11 +408,11 @@ const DeleteGrafanaInstanceResponse = models.DeleteGrafanaInstanceResponse;
|
|
|
396
408
|
const PrometheusAgentOverview = models.PrometheusAgentOverview;
|
|
397
409
|
const Filter = models.Filter;
|
|
398
410
|
const DescribeProductEventListEventsGroupInfo = models.DescribeProductEventListEventsGroupInfo;
|
|
399
|
-
const
|
|
411
|
+
const UpdatePrometheusAlertGroupResponse = models.UpdatePrometheusAlertGroupResponse;
|
|
400
412
|
const CreateSSOAccountResponse = models.CreateSSOAccountResponse;
|
|
401
413
|
const UpdatePrometheusScrapeJobResponse = models.UpdatePrometheusScrapeJobResponse;
|
|
402
414
|
const DescribeAlarmPoliciesRequest = models.DescribeAlarmPoliciesRequest;
|
|
403
|
-
const
|
|
415
|
+
const UpdateSSOAccountRequest = models.UpdateSSOAccountRequest;
|
|
404
416
|
const DescribePolicyConditionListConfigManualStatType = models.DescribePolicyConditionListConfigManualStatType;
|
|
405
417
|
const IntegrationConfiguration = models.IntegrationConfiguration;
|
|
406
418
|
const DescribePrometheusAgentsResponse = models.DescribePrometheusAgentsResponse;
|
|
@@ -412,10 +424,12 @@ const DeletePrometheusScrapeJobsResponse = models.DeletePrometheusScrapeJobsResp
|
|
|
412
424
|
const DescribeAlarmPolicyRequest = models.DescribeAlarmPolicyRequest;
|
|
413
425
|
const UninstallGrafanaDashboardRequest = models.UninstallGrafanaDashboardRequest;
|
|
414
426
|
const UpdateGrafanaIntegrationRequest = models.UpdateGrafanaIntegrationRequest;
|
|
427
|
+
const CreatePrometheusAlertGroupResponse = models.CreatePrometheusAlertGroupResponse;
|
|
415
428
|
const DeletePrometheusRecordRuleYamlRequest = models.DeletePrometheusRecordRuleYamlRequest;
|
|
416
429
|
const DescribeAlarmNoticeCallbacksRequest = models.DescribeAlarmNoticeCallbacksRequest;
|
|
417
430
|
const DescribeStatisticDataRequest = models.DescribeStatisticDataRequest;
|
|
418
431
|
const GrafanaNotificationChannel = models.GrafanaNotificationChannel;
|
|
432
|
+
const PrometheusAlertGroupSet = models.PrometheusAlertGroupSet;
|
|
419
433
|
const SetDefaultAlarmPolicyRequest = models.SetDefaultAlarmPolicyRequest;
|
|
420
434
|
const CLSNotice = models.CLSNotice;
|
|
421
435
|
const LogAlarmReq = models.LogAlarmReq;
|
|
@@ -507,6 +521,17 @@ Note that alert object and alert message are special fields of Prometheus Rule A
|
|
|
507
521
|
this.request("ModifyPrometheusAlertPolicy", req, resp, cb);
|
|
508
522
|
}
|
|
509
523
|
|
|
524
|
+
/**
|
|
525
|
+
* This API is used to query alarm groups under a given prometheus.
|
|
526
|
+
* @param {DescribePrometheusAlertGroupsRequest} req
|
|
527
|
+
* @param {function(string, DescribePrometheusAlertGroupsResponse):void} cb
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
DescribePrometheusAlertGroups(req, cb) {
|
|
531
|
+
let resp = new DescribePrometheusAlertGroupsResponse();
|
|
532
|
+
this.request("DescribePrometheusAlertGroups", req, resp, cb);
|
|
533
|
+
}
|
|
534
|
+
|
|
510
535
|
/**
|
|
511
536
|
* This API is used to query the usage of a pay-as-you-go Tencent Managed Service for Prometheus (TMP) instance.
|
|
512
537
|
* @param {DescribePrometheusInstanceUsageRequest} req
|
|
@@ -540,6 +565,17 @@ Note that alert object and alert message are special fields of Prometheus Rule A
|
|
|
540
565
|
this.request("BindingPolicyObject", req, resp, cb);
|
|
541
566
|
}
|
|
542
567
|
|
|
568
|
+
/**
|
|
569
|
+
* This API is used to delete Prometheus alert rule groups.
|
|
570
|
+
* @param {DeletePrometheusAlertGroupsRequest} req
|
|
571
|
+
* @param {function(string, DeletePrometheusAlertGroupsResponse):void} cb
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
DeletePrometheusAlertGroups(req, cb) {
|
|
575
|
+
let resp = new DeletePrometheusAlertGroupsResponse();
|
|
576
|
+
this.request("DeletePrometheusAlertGroups", req, resp, cb);
|
|
577
|
+
}
|
|
578
|
+
|
|
543
579
|
/**
|
|
544
580
|
* This API is used to create a monthly subscribed TCMG instance of the Basic Edition, with auto-renewal enabled and vouchers not allowed by default.
|
|
545
581
|
* @param {CreateGrafanaInstanceRequest} req
|
|
@@ -1060,14 +1096,14 @@ Note: **If you use a sub-account, you can only query the alarm records of author
|
|
|
1060
1096
|
}
|
|
1061
1097
|
|
|
1062
1098
|
/**
|
|
1063
|
-
* This API is used to create a notification
|
|
1064
|
-
* @param {
|
|
1065
|
-
* @param {function(string,
|
|
1099
|
+
* This API is used to create a global alert notification channel.
|
|
1100
|
+
* @param {CreatePrometheusGlobalNotificationRequest} req
|
|
1101
|
+
* @param {function(string, CreatePrometheusGlobalNotificationResponse):void} cb
|
|
1066
1102
|
* @public
|
|
1067
1103
|
*/
|
|
1068
|
-
|
|
1069
|
-
let resp = new
|
|
1070
|
-
this.request("
|
|
1104
|
+
CreatePrometheusGlobalNotification(req, cb) {
|
|
1105
|
+
let resp = new CreatePrometheusGlobalNotificationResponse();
|
|
1106
|
+
this.request("CreatePrometheusGlobalNotification", req, resp, cb);
|
|
1071
1107
|
}
|
|
1072
1108
|
|
|
1073
1109
|
/**
|
|
@@ -1081,6 +1117,17 @@ Note: **If you use a sub-account, you can only query the alarm records of author
|
|
|
1081
1117
|
this.request("DeleteSSOAccount", req, resp, cb);
|
|
1082
1118
|
}
|
|
1083
1119
|
|
|
1120
|
+
/**
|
|
1121
|
+
* This API is used to batch update the status of alarm groups and set all rules grouped in them to the target status.
|
|
1122
|
+
* @param {UpdatePrometheusAlertGroupStateRequest} req
|
|
1123
|
+
* @param {function(string, UpdatePrometheusAlertGroupStateResponse):void} cb
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
1126
|
+
UpdatePrometheusAlertGroupState(req, cb) {
|
|
1127
|
+
let resp = new UpdatePrometheusAlertGroupStateResponse();
|
|
1128
|
+
this.request("UpdatePrometheusAlertGroupState", req, resp, cb);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1084
1131
|
/**
|
|
1085
1132
|
* This API is used to query the details of a single notification template.
|
|
1086
1133
|
* @param {DescribeAlarmNoticeRequest} req
|
|
@@ -1292,14 +1339,14 @@ Alarm policies in the same type under the project will be set as non-default.
|
|
|
1292
1339
|
}
|
|
1293
1340
|
|
|
1294
1341
|
/**
|
|
1295
|
-
* This API is used to create a
|
|
1296
|
-
* @param {
|
|
1297
|
-
* @param {function(string,
|
|
1342
|
+
* This API is used to create a notification template.
|
|
1343
|
+
* @param {CreateAlarmNoticeRequest} req
|
|
1344
|
+
* @param {function(string, CreateAlarmNoticeResponse):void} cb
|
|
1298
1345
|
* @public
|
|
1299
1346
|
*/
|
|
1300
|
-
|
|
1301
|
-
let resp = new
|
|
1302
|
-
this.request("
|
|
1347
|
+
CreateAlarmNotice(req, cb) {
|
|
1348
|
+
let resp = new CreateAlarmNoticeResponse();
|
|
1349
|
+
this.request("CreateAlarmNotice", req, resp, cb);
|
|
1303
1350
|
}
|
|
1304
1351
|
|
|
1305
1352
|
/**
|
|
@@ -1412,6 +1459,20 @@ Alarm policies in the same type under the project will be set as non-default.
|
|
|
1412
1459
|
this.request("DescribeDNSConfig", req, resp, cb);
|
|
1413
1460
|
}
|
|
1414
1461
|
|
|
1462
|
+
/**
|
|
1463
|
+
* This API is used to create a Prometheus alert rule groups.
|
|
1464
|
+
|
|
1465
|
+
This API is used to group alert rules, which can include multiple alert rules. Alert messages within the group are sent via the alert group's notification template.
|
|
1466
|
+
This API is used to enable individually creating enabled/disabled alert rules under an alert group.
|
|
1467
|
+
* @param {CreatePrometheusAlertGroupRequest} req
|
|
1468
|
+
* @param {function(string, CreatePrometheusAlertGroupResponse):void} cb
|
|
1469
|
+
* @public
|
|
1470
|
+
*/
|
|
1471
|
+
CreatePrometheusAlertGroup(req, cb) {
|
|
1472
|
+
let resp = new CreatePrometheusAlertGroupResponse();
|
|
1473
|
+
this.request("CreatePrometheusAlertGroup", req, resp, cb);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1415
1476
|
/**
|
|
1416
1477
|
* This API is used to modify the global alert notification channel.
|
|
1417
1478
|
* @param {ModifyPrometheusGlobalNotificationRequest} req
|
|
@@ -1493,6 +1554,17 @@ Alarm policies in the same type under the project will be set as non-default.
|
|
|
1493
1554
|
this.request("UpdateGrafanaConfig", req, resp, cb);
|
|
1494
1555
|
}
|
|
1495
1556
|
|
|
1557
|
+
/**
|
|
1558
|
+
* This API is used to update Prometheus alert rule groups.
|
|
1559
|
+
* @param {UpdatePrometheusAlertGroupRequest} req
|
|
1560
|
+
* @param {function(string, UpdatePrometheusAlertGroupResponse):void} cb
|
|
1561
|
+
* @public
|
|
1562
|
+
*/
|
|
1563
|
+
UpdatePrometheusAlertGroup(req, cb) {
|
|
1564
|
+
let resp = new UpdatePrometheusAlertGroupResponse();
|
|
1565
|
+
this.request("UpdatePrometheusAlertGroup", req, resp, cb);
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1496
1568
|
/**
|
|
1497
1569
|
* This API is used to list Grafana notification channels.
|
|
1498
1570
|
* @param {DescribeGrafanaNotificationChannelsRequest} req
|
|
@@ -52,6 +52,12 @@ class CreateAlarmResponse extends AbstractModel {
|
|
|
52
52
|
constructor(){
|
|
53
53
|
super();
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* 1001
|
|
57
|
+
* @type {number || null}
|
|
58
|
+
*/
|
|
59
|
+
this.AlarmId = null;
|
|
60
|
+
|
|
55
61
|
/**
|
|
56
62
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
57
63
|
* @type {string || null}
|
|
@@ -67,6 +73,7 @@ class CreateAlarmResponse extends AbstractModel {
|
|
|
67
73
|
if (!params) {
|
|
68
74
|
return;
|
|
69
75
|
}
|
|
76
|
+
this.AlarmId = 'AlarmId' in params ? params.AlarmId : null;
|
|
70
77
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
71
78
|
|
|
72
79
|
}
|
|
@@ -117,7 +124,7 @@ class CreateAlarmRequest extends AbstractModel {
|
|
|
117
124
|
this.Frequency = null;
|
|
118
125
|
|
|
119
126
|
/**
|
|
120
|
-
* Member UIN
|
|
127
|
+
* Member UIN.
|
|
121
128
|
* @type {number || null}
|
|
122
129
|
*/
|
|
123
130
|
this.MemberUin = null;
|