tencentcloud-sdk-nodejs-intl-en 3.0.751 → 3.0.752
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
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.752";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -4425,6 +4425,20 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4425
4425
|
*/
|
|
4426
4426
|
this.ProductId = null;
|
|
4427
4427
|
|
|
4428
|
+
/**
|
|
4429
|
+
* Matching operator
|
|
4430
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
4431
|
+
* @type {Array.<Operator> || null}
|
|
4432
|
+
*/
|
|
4433
|
+
this.Operators = null;
|
|
4434
|
+
|
|
4435
|
+
/**
|
|
4436
|
+
* Metric monitoring granularity
|
|
4437
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
4438
|
+
* @type {Array.<number> || null}
|
|
4439
|
+
*/
|
|
4440
|
+
this.Periods = null;
|
|
4441
|
+
|
|
4428
4442
|
}
|
|
4429
4443
|
|
|
4430
4444
|
/**
|
|
@@ -4451,6 +4465,16 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4451
4465
|
this.IsOpen = 'IsOpen' in params ? params.IsOpen : null;
|
|
4452
4466
|
this.ProductId = 'ProductId' in params ? params.ProductId : null;
|
|
4453
4467
|
|
|
4468
|
+
if (params.Operators) {
|
|
4469
|
+
this.Operators = new Array();
|
|
4470
|
+
for (let z in params.Operators) {
|
|
4471
|
+
let obj = new Operator();
|
|
4472
|
+
obj.deserialize(params.Operators[z]);
|
|
4473
|
+
this.Operators.push(obj);
|
|
4474
|
+
}
|
|
4475
|
+
}
|
|
4476
|
+
this.Periods = 'Periods' in params ? params.Periods : null;
|
|
4477
|
+
|
|
4454
4478
|
}
|
|
4455
4479
|
}
|
|
4456
4480
|
|
|
@@ -6839,6 +6863,27 @@ class CreateServiceDiscoveryResponse extends AbstractModel {
|
|
|
6839
6863
|
}
|
|
6840
6864
|
}
|
|
6841
6865
|
|
|
6866
|
+
/**
|
|
6867
|
+
* DescribeClusterAgentCreatingProgress request structure.
|
|
6868
|
+
* @class
|
|
6869
|
+
*/
|
|
6870
|
+
class DescribeClusterAgentCreatingProgressRequest extends AbstractModel {
|
|
6871
|
+
constructor(){
|
|
6872
|
+
super();
|
|
6873
|
+
|
|
6874
|
+
}
|
|
6875
|
+
|
|
6876
|
+
/**
|
|
6877
|
+
* @private
|
|
6878
|
+
*/
|
|
6879
|
+
deserialize(params) {
|
|
6880
|
+
if (!params) {
|
|
6881
|
+
return;
|
|
6882
|
+
}
|
|
6883
|
+
|
|
6884
|
+
}
|
|
6885
|
+
}
|
|
6886
|
+
|
|
6842
6887
|
/**
|
|
6843
6888
|
* EnableSSOCamCheck response structure.
|
|
6844
6889
|
* @class
|
|
@@ -11783,6 +11828,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
11783
11828
|
*/
|
|
11784
11829
|
this.Weekday = null;
|
|
11785
11830
|
|
|
11831
|
+
/**
|
|
11832
|
+
* List of schedule IDs
|
|
11833
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
11834
|
+
* @type {Array.<string> || null}
|
|
11835
|
+
*/
|
|
11836
|
+
this.OnCallFormIDs = null;
|
|
11837
|
+
|
|
11786
11838
|
}
|
|
11787
11839
|
|
|
11788
11840
|
/**
|
|
@@ -11805,6 +11857,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
11805
11857
|
this.NeedPhoneArriveNotice = 'NeedPhoneArriveNotice' in params ? params.NeedPhoneArriveNotice : null;
|
|
11806
11858
|
this.PhoneCallType = 'PhoneCallType' in params ? params.PhoneCallType : null;
|
|
11807
11859
|
this.Weekday = 'Weekday' in params ? params.Weekday : null;
|
|
11860
|
+
this.OnCallFormIDs = 'OnCallFormIDs' in params ? params.OnCallFormIDs : null;
|
|
11808
11861
|
|
|
11809
11862
|
}
|
|
11810
11863
|
}
|
|
@@ -16228,7 +16281,7 @@ class ModifyAlarmPolicyConditionRequest extends AbstractModel {
|
|
|
16228
16281
|
this.LogAlarmReqInfo = null;
|
|
16229
16282
|
|
|
16230
16283
|
/**
|
|
16231
|
-
* Template ID, which is dedicated to
|
|
16284
|
+
* Template ID, which is dedicated to TencentCloud Managed Service for Prometheus.
|
|
16232
16285
|
* @type {Array.<string> || null}
|
|
16233
16286
|
*/
|
|
16234
16287
|
this.NoticeIds = null;
|
|
@@ -17110,6 +17163,12 @@ class DescribeAlarmNoticesRequest extends AbstractModel {
|
|
|
17110
17163
|
*/
|
|
17111
17164
|
this.Tags = null;
|
|
17112
17165
|
|
|
17166
|
+
/**
|
|
17167
|
+
* Schedule list
|
|
17168
|
+
* @type {Array.<string> || null}
|
|
17169
|
+
*/
|
|
17170
|
+
this.OnCallFormIDs = null;
|
|
17171
|
+
|
|
17113
17172
|
}
|
|
17114
17173
|
|
|
17115
17174
|
/**
|
|
@@ -17138,6 +17197,7 @@ class DescribeAlarmNoticesRequest extends AbstractModel {
|
|
|
17138
17197
|
this.Tags.push(obj);
|
|
17139
17198
|
}
|
|
17140
17199
|
}
|
|
17200
|
+
this.OnCallFormIDs = 'OnCallFormIDs' in params ? params.OnCallFormIDs : null;
|
|
17141
17201
|
|
|
17142
17202
|
}
|
|
17143
17203
|
}
|
|
@@ -18315,40 +18375,30 @@ class UpdatePrometheusAgentStatusRequest extends AbstractModel {
|
|
|
18315
18375
|
}
|
|
18316
18376
|
|
|
18317
18377
|
/**
|
|
18318
|
-
*
|
|
18378
|
+
* DescribeGrafanaInstances response structure.
|
|
18319
18379
|
* @class
|
|
18320
18380
|
*/
|
|
18321
|
-
class
|
|
18381
|
+
class DescribeGrafanaInstancesResponse extends AbstractModel {
|
|
18322
18382
|
constructor(){
|
|
18323
18383
|
super();
|
|
18324
18384
|
|
|
18325
18385
|
/**
|
|
18326
|
-
*
|
|
18327
|
-
* @type {
|
|
18386
|
+
* This parameter has been disused. Use `Instances` instead.
|
|
18387
|
+
* @type {Array.<GrafanaInstanceInfo> || null}
|
|
18328
18388
|
*/
|
|
18329
|
-
this.
|
|
18330
|
-
|
|
18331
|
-
}
|
|
18332
|
-
|
|
18333
|
-
/**
|
|
18334
|
-
* @private
|
|
18335
|
-
*/
|
|
18336
|
-
deserialize(params) {
|
|
18337
|
-
if (!params) {
|
|
18338
|
-
return;
|
|
18339
|
-
}
|
|
18340
|
-
this.Module = 'Module' in params ? params.Module : null;
|
|
18389
|
+
this.InstanceSet = null;
|
|
18341
18390
|
|
|
18342
|
-
|
|
18343
|
-
|
|
18391
|
+
/**
|
|
18392
|
+
* Number of eligible instances
|
|
18393
|
+
* @type {number || null}
|
|
18394
|
+
*/
|
|
18395
|
+
this.TotalCount = null;
|
|
18344
18396
|
|
|
18345
|
-
/**
|
|
18346
|
-
|
|
18347
|
-
|
|
18348
|
-
|
|
18349
|
-
|
|
18350
|
-
constructor(){
|
|
18351
|
-
super();
|
|
18397
|
+
/**
|
|
18398
|
+
* List of instances
|
|
18399
|
+
* @type {Array.<GrafanaInstanceInfo> || null}
|
|
18400
|
+
*/
|
|
18401
|
+
this.Instances = null;
|
|
18352
18402
|
|
|
18353
18403
|
/**
|
|
18354
18404
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
@@ -18365,16 +18415,35 @@ class CheckIsPrometheusNewUserResponse extends AbstractModel {
|
|
|
18365
18415
|
if (!params) {
|
|
18366
18416
|
return;
|
|
18367
18417
|
}
|
|
18418
|
+
|
|
18419
|
+
if (params.InstanceSet) {
|
|
18420
|
+
this.InstanceSet = new Array();
|
|
18421
|
+
for (let z in params.InstanceSet) {
|
|
18422
|
+
let obj = new GrafanaInstanceInfo();
|
|
18423
|
+
obj.deserialize(params.InstanceSet[z]);
|
|
18424
|
+
this.InstanceSet.push(obj);
|
|
18425
|
+
}
|
|
18426
|
+
}
|
|
18427
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
18428
|
+
|
|
18429
|
+
if (params.Instances) {
|
|
18430
|
+
this.Instances = new Array();
|
|
18431
|
+
for (let z in params.Instances) {
|
|
18432
|
+
let obj = new GrafanaInstanceInfo();
|
|
18433
|
+
obj.deserialize(params.Instances[z]);
|
|
18434
|
+
this.Instances.push(obj);
|
|
18435
|
+
}
|
|
18436
|
+
}
|
|
18368
18437
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
18369
18438
|
|
|
18370
18439
|
}
|
|
18371
18440
|
}
|
|
18372
18441
|
|
|
18373
18442
|
/**
|
|
18374
|
-
*
|
|
18443
|
+
* CheckIsPrometheusNewUser response structure.
|
|
18375
18444
|
* @class
|
|
18376
18445
|
*/
|
|
18377
|
-
class
|
|
18446
|
+
class CheckIsPrometheusNewUserResponse extends AbstractModel {
|
|
18378
18447
|
constructor(){
|
|
18379
18448
|
super();
|
|
18380
18449
|
|
|
@@ -18723,6 +18792,34 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
18723
18792
|
}
|
|
18724
18793
|
}
|
|
18725
18794
|
|
|
18795
|
+
/**
|
|
18796
|
+
* DescribeClusterAgentCreatingProgress response structure.
|
|
18797
|
+
* @class
|
|
18798
|
+
*/
|
|
18799
|
+
class DescribeClusterAgentCreatingProgressResponse extends AbstractModel {
|
|
18800
|
+
constructor(){
|
|
18801
|
+
super();
|
|
18802
|
+
|
|
18803
|
+
/**
|
|
18804
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
18805
|
+
* @type {string || null}
|
|
18806
|
+
*/
|
|
18807
|
+
this.RequestId = null;
|
|
18808
|
+
|
|
18809
|
+
}
|
|
18810
|
+
|
|
18811
|
+
/**
|
|
18812
|
+
* @private
|
|
18813
|
+
*/
|
|
18814
|
+
deserialize(params) {
|
|
18815
|
+
if (!params) {
|
|
18816
|
+
return;
|
|
18817
|
+
}
|
|
18818
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
18819
|
+
|
|
18820
|
+
}
|
|
18821
|
+
}
|
|
18822
|
+
|
|
18726
18823
|
/**
|
|
18727
18824
|
* CreateAlertRule response structure.
|
|
18728
18825
|
* @class
|
|
@@ -19058,7 +19155,7 @@ class ModifyAlarmPolicyStatusRequest extends AbstractModel {
|
|
|
19058
19155
|
}
|
|
19059
19156
|
|
|
19060
19157
|
/**
|
|
19061
|
-
* Alarm condition template
|
|
19158
|
+
* Alarm trigger condition template
|
|
19062
19159
|
* @class
|
|
19063
19160
|
*/
|
|
19064
19161
|
class ConditionsTemp extends AbstractModel {
|
|
@@ -19067,7 +19164,7 @@ class ConditionsTemp extends AbstractModel {
|
|
|
19067
19164
|
|
|
19068
19165
|
/**
|
|
19069
19166
|
* Template name
|
|
19070
|
-
Note:
|
|
19167
|
+
Note: u200dThis field may return null, indicating that no valid values can be obtained.
|
|
19071
19168
|
* @type {string || null}
|
|
19072
19169
|
*/
|
|
19073
19170
|
this.TemplateName = null;
|
|
@@ -21292,63 +21389,6 @@ class CreateSSOAccountResponse extends AbstractModel {
|
|
|
21292
21389
|
}
|
|
21293
21390
|
}
|
|
21294
21391
|
|
|
21295
|
-
/**
|
|
21296
|
-
* PutMonitorData request structure.
|
|
21297
|
-
* @class
|
|
21298
|
-
*/
|
|
21299
|
-
class PutMonitorDataRequest extends AbstractModel {
|
|
21300
|
-
constructor(){
|
|
21301
|
-
super();
|
|
21302
|
-
|
|
21303
|
-
/**
|
|
21304
|
-
* A group of metrics and data.
|
|
21305
|
-
* @type {Array.<MetricDatum> || null}
|
|
21306
|
-
*/
|
|
21307
|
-
this.Metrics = null;
|
|
21308
|
-
|
|
21309
|
-
/**
|
|
21310
|
-
* IP address that is automatically specified when monitoring data is reported.
|
|
21311
|
-
* @type {string || null}
|
|
21312
|
-
*/
|
|
21313
|
-
this.AnnounceIp = null;
|
|
21314
|
-
|
|
21315
|
-
/**
|
|
21316
|
-
* Timestamp that is automatically specified when monitoring data is reported.
|
|
21317
|
-
* @type {number || null}
|
|
21318
|
-
*/
|
|
21319
|
-
this.AnnounceTimestamp = null;
|
|
21320
|
-
|
|
21321
|
-
/**
|
|
21322
|
-
* IP address or product instance ID that is automatically specified when monitoring data is reported.
|
|
21323
|
-
* @type {string || null}
|
|
21324
|
-
*/
|
|
21325
|
-
this.AnnounceInstance = null;
|
|
21326
|
-
|
|
21327
|
-
}
|
|
21328
|
-
|
|
21329
|
-
/**
|
|
21330
|
-
* @private
|
|
21331
|
-
*/
|
|
21332
|
-
deserialize(params) {
|
|
21333
|
-
if (!params) {
|
|
21334
|
-
return;
|
|
21335
|
-
}
|
|
21336
|
-
|
|
21337
|
-
if (params.Metrics) {
|
|
21338
|
-
this.Metrics = new Array();
|
|
21339
|
-
for (let z in params.Metrics) {
|
|
21340
|
-
let obj = new MetricDatum();
|
|
21341
|
-
obj.deserialize(params.Metrics[z]);
|
|
21342
|
-
this.Metrics.push(obj);
|
|
21343
|
-
}
|
|
21344
|
-
}
|
|
21345
|
-
this.AnnounceIp = 'AnnounceIp' in params ? params.AnnounceIp : null;
|
|
21346
|
-
this.AnnounceTimestamp = 'AnnounceTimestamp' in params ? params.AnnounceTimestamp : null;
|
|
21347
|
-
this.AnnounceInstance = 'AnnounceInstance' in params ? params.AnnounceInstance : null;
|
|
21348
|
-
|
|
21349
|
-
}
|
|
21350
|
-
}
|
|
21351
|
-
|
|
21352
21392
|
/**
|
|
21353
21393
|
* UpdatePrometheusScrapeJob response structure.
|
|
21354
21394
|
* @class
|
|
@@ -21472,7 +21512,7 @@ Note: If `1` is passed in for `NeedCorrespondence`, the relationship between a p
|
|
|
21472
21512
|
this.ProjectIds = null;
|
|
21473
21513
|
|
|
21474
21514
|
/**
|
|
21475
|
-
*
|
|
21515
|
+
* List of the notification template IDs, which can be obtained by querying the notification template list.
|
|
21476
21516
|
It can be queried with the API [DescribeAlarmNotices](https://intl.cloud.tencent.com/document/product/248/51280?from_cn_redirect=1).
|
|
21477
21517
|
* @type {Array.<string> || null}
|
|
21478
21518
|
*/
|
|
@@ -21521,13 +21561,13 @@ It can be queried with the API [DescribeAlarmNotices](https://intl.cloud.tencent
|
|
|
21521
21561
|
this.OneClickPolicyType = null;
|
|
21522
21562
|
|
|
21523
21563
|
/**
|
|
21524
|
-
* Whether the returned result
|
|
21564
|
+
* Whether the returned result needs to filter policies associated with all objects. Valid values: `1` (Yes), `0` (No).
|
|
21525
21565
|
* @type {number || null}
|
|
21526
21566
|
*/
|
|
21527
21567
|
this.NotBindAll = null;
|
|
21528
21568
|
|
|
21529
21569
|
/**
|
|
21530
|
-
* Whether the returned result
|
|
21570
|
+
* Whether the returned result needs to filter policies associated with instance groups. Valid values: `1` (Yes), `0` (No).
|
|
21531
21571
|
* @type {number || null}
|
|
21532
21572
|
*/
|
|
21533
21573
|
this.NotInstanceGroup = null;
|
|
@@ -21538,6 +21578,18 @@ It can be queried with the API [DescribeAlarmNotices](https://intl.cloud.tencent
|
|
|
21538
21578
|
*/
|
|
21539
21579
|
this.Tags = null;
|
|
21540
21580
|
|
|
21581
|
+
/**
|
|
21582
|
+
* ID of the TencentCloud Managed Service for Prometheus instance, which is used for customizing a metric policy.
|
|
21583
|
+
* @type {string || null}
|
|
21584
|
+
*/
|
|
21585
|
+
this.PromInsId = null;
|
|
21586
|
+
|
|
21587
|
+
/**
|
|
21588
|
+
* Search by schedule
|
|
21589
|
+
* @type {Array.<string> || null}
|
|
21590
|
+
*/
|
|
21591
|
+
this.ReceiverOnCallFormIDs = null;
|
|
21592
|
+
|
|
21541
21593
|
}
|
|
21542
21594
|
|
|
21543
21595
|
/**
|
|
@@ -21587,6 +21639,8 @@ It can be queried with the API [DescribeAlarmNotices](https://intl.cloud.tencent
|
|
|
21587
21639
|
this.Tags.push(obj);
|
|
21588
21640
|
}
|
|
21589
21641
|
}
|
|
21642
|
+
this.PromInsId = 'PromInsId' in params ? params.PromInsId : null;
|
|
21643
|
+
this.ReceiverOnCallFormIDs = 'ReceiverOnCallFormIDs' in params ? params.ReceiverOnCallFormIDs : null;
|
|
21590
21644
|
|
|
21591
21645
|
}
|
|
21592
21646
|
}
|
|
@@ -22236,24 +22290,18 @@ class DeletePrometheusRecordRuleYamlRequest extends AbstractModel {
|
|
|
22236
22290
|
}
|
|
22237
22291
|
|
|
22238
22292
|
/**
|
|
22239
|
-
*
|
|
22293
|
+
* DescribeAlarmNoticeCallbacks request structure.
|
|
22240
22294
|
* @class
|
|
22241
22295
|
*/
|
|
22242
|
-
class
|
|
22296
|
+
class DescribeAlarmNoticeCallbacksRequest extends AbstractModel {
|
|
22243
22297
|
constructor(){
|
|
22244
22298
|
super();
|
|
22245
22299
|
|
|
22246
22300
|
/**
|
|
22247
|
-
*
|
|
22301
|
+
* Module name. Enter "monitor" here
|
|
22248
22302
|
* @type {string || null}
|
|
22249
22303
|
*/
|
|
22250
|
-
this.
|
|
22251
|
-
|
|
22252
|
-
/**
|
|
22253
|
-
* Metric value.
|
|
22254
|
-
* @type {number || null}
|
|
22255
|
-
*/
|
|
22256
|
-
this.Value = null;
|
|
22304
|
+
this.Module = null;
|
|
22257
22305
|
|
|
22258
22306
|
}
|
|
22259
22307
|
|
|
@@ -22264,8 +22312,7 @@ class MetricDatum extends AbstractModel {
|
|
|
22264
22312
|
if (!params) {
|
|
22265
22313
|
return;
|
|
22266
22314
|
}
|
|
22267
|
-
this.
|
|
22268
|
-
this.Value = 'Value' in params ? params.Value : null;
|
|
22315
|
+
this.Module = 'Module' in params ? params.Module : null;
|
|
22269
22316
|
|
|
22270
22317
|
}
|
|
22271
22318
|
}
|
|
@@ -22644,71 +22691,6 @@ class UpdateSSOAccountResponse extends AbstractModel {
|
|
|
22644
22691
|
}
|
|
22645
22692
|
}
|
|
22646
22693
|
|
|
22647
|
-
/**
|
|
22648
|
-
* DescribeGrafanaInstances response structure.
|
|
22649
|
-
* @class
|
|
22650
|
-
*/
|
|
22651
|
-
class DescribeGrafanaInstancesResponse extends AbstractModel {
|
|
22652
|
-
constructor(){
|
|
22653
|
-
super();
|
|
22654
|
-
|
|
22655
|
-
/**
|
|
22656
|
-
* This parameter has been disused. Use `Instances` instead.
|
|
22657
|
-
* @type {Array.<GrafanaInstanceInfo> || null}
|
|
22658
|
-
*/
|
|
22659
|
-
this.InstanceSet = null;
|
|
22660
|
-
|
|
22661
|
-
/**
|
|
22662
|
-
* Number of eligible instances
|
|
22663
|
-
* @type {number || null}
|
|
22664
|
-
*/
|
|
22665
|
-
this.TotalCount = null;
|
|
22666
|
-
|
|
22667
|
-
/**
|
|
22668
|
-
* List of instances
|
|
22669
|
-
* @type {Array.<GrafanaInstanceInfo> || null}
|
|
22670
|
-
*/
|
|
22671
|
-
this.Instances = null;
|
|
22672
|
-
|
|
22673
|
-
/**
|
|
22674
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
22675
|
-
* @type {string || null}
|
|
22676
|
-
*/
|
|
22677
|
-
this.RequestId = null;
|
|
22678
|
-
|
|
22679
|
-
}
|
|
22680
|
-
|
|
22681
|
-
/**
|
|
22682
|
-
* @private
|
|
22683
|
-
*/
|
|
22684
|
-
deserialize(params) {
|
|
22685
|
-
if (!params) {
|
|
22686
|
-
return;
|
|
22687
|
-
}
|
|
22688
|
-
|
|
22689
|
-
if (params.InstanceSet) {
|
|
22690
|
-
this.InstanceSet = new Array();
|
|
22691
|
-
for (let z in params.InstanceSet) {
|
|
22692
|
-
let obj = new GrafanaInstanceInfo();
|
|
22693
|
-
obj.deserialize(params.InstanceSet[z]);
|
|
22694
|
-
this.InstanceSet.push(obj);
|
|
22695
|
-
}
|
|
22696
|
-
}
|
|
22697
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
22698
|
-
|
|
22699
|
-
if (params.Instances) {
|
|
22700
|
-
this.Instances = new Array();
|
|
22701
|
-
for (let z in params.Instances) {
|
|
22702
|
-
let obj = new GrafanaInstanceInfo();
|
|
22703
|
-
obj.deserialize(params.Instances[z]);
|
|
22704
|
-
this.Instances.push(obj);
|
|
22705
|
-
}
|
|
22706
|
-
}
|
|
22707
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
22708
|
-
|
|
22709
|
-
}
|
|
22710
|
-
}
|
|
22711
|
-
|
|
22712
22694
|
/**
|
|
22713
22695
|
* RunPrometheusInstance request structure.
|
|
22714
22696
|
* @class
|
|
@@ -22964,6 +22946,7 @@ module.exports = {
|
|
|
22964
22946
|
DescribePolicyConditionListMetric: DescribePolicyConditionListMetric,
|
|
22965
22947
|
BindingPolicyObjectRequest: BindingPolicyObjectRequest,
|
|
22966
22948
|
CreateServiceDiscoveryResponse: CreateServiceDiscoveryResponse,
|
|
22949
|
+
DescribeClusterAgentCreatingProgressRequest: DescribeClusterAgentCreatingProgressRequest,
|
|
22967
22950
|
EnableSSOCamCheckResponse: EnableSSOCamCheckResponse,
|
|
22968
22951
|
DescribeAccidentEventListRequest: DescribeAccidentEventListRequest,
|
|
22969
22952
|
CreatePrometheusScrapeJobResponse: CreatePrometheusScrapeJobResponse,
|
|
@@ -23171,9 +23154,8 @@ module.exports = {
|
|
|
23171
23154
|
DeleteRecordingRulesResponse: DeleteRecordingRulesResponse,
|
|
23172
23155
|
UpdateGrafanaWhiteListRequest: UpdateGrafanaWhiteListRequest,
|
|
23173
23156
|
UpdatePrometheusAgentStatusRequest: UpdatePrometheusAgentStatusRequest,
|
|
23174
|
-
|
|
23157
|
+
DescribeGrafanaInstancesResponse: DescribeGrafanaInstancesResponse,
|
|
23175
23158
|
CheckIsPrometheusNewUserResponse: CheckIsPrometheusNewUserResponse,
|
|
23176
|
-
PutMonitorDataResponse: PutMonitorDataResponse,
|
|
23177
23159
|
DescribePolicyGroupInfoRequest: DescribePolicyGroupInfoRequest,
|
|
23178
23160
|
UpdateAlertRuleStateResponse: UpdateAlertRuleStateResponse,
|
|
23179
23161
|
ModifyPrometheusRecordRuleYamlRequest: ModifyPrometheusRecordRuleYamlRequest,
|
|
@@ -23182,6 +23164,7 @@ module.exports = {
|
|
|
23182
23164
|
ModifyAlarmPolicyNoticeRequest: ModifyAlarmPolicyNoticeRequest,
|
|
23183
23165
|
DeleteAlarmPolicyRequest: DeleteAlarmPolicyRequest,
|
|
23184
23166
|
EventCondition: EventCondition,
|
|
23167
|
+
DescribeClusterAgentCreatingProgressResponse: DescribeClusterAgentCreatingProgressResponse,
|
|
23185
23168
|
CreateAlertRuleResponse: CreateAlertRuleResponse,
|
|
23186
23169
|
DescribePolicyConditionListConfigManualContinueTime: DescribePolicyConditionListConfigManualContinueTime,
|
|
23187
23170
|
ModifyAlarmPolicyTasksResponse: ModifyAlarmPolicyTasksResponse,
|
|
@@ -23227,7 +23210,6 @@ module.exports = {
|
|
|
23227
23210
|
DescribeProductEventListEventsGroupInfo: DescribeProductEventListEventsGroupInfo,
|
|
23228
23211
|
UpdateSSOAccountRequest: UpdateSSOAccountRequest,
|
|
23229
23212
|
CreateSSOAccountResponse: CreateSSOAccountResponse,
|
|
23230
|
-
PutMonitorDataRequest: PutMonitorDataRequest,
|
|
23231
23213
|
UpdatePrometheusScrapeJobResponse: UpdatePrometheusScrapeJobResponse,
|
|
23232
23214
|
DescribeAlarmPoliciesRequest: DescribeAlarmPoliciesRequest,
|
|
23233
23215
|
PrometheusScrapeJob: PrometheusScrapeJob,
|
|
@@ -23243,7 +23225,7 @@ module.exports = {
|
|
|
23243
23225
|
UninstallGrafanaDashboardRequest: UninstallGrafanaDashboardRequest,
|
|
23244
23226
|
UpdateGrafanaIntegrationRequest: UpdateGrafanaIntegrationRequest,
|
|
23245
23227
|
DeletePrometheusRecordRuleYamlRequest: DeletePrometheusRecordRuleYamlRequest,
|
|
23246
|
-
|
|
23228
|
+
DescribeAlarmNoticeCallbacksRequest: DescribeAlarmNoticeCallbacksRequest,
|
|
23247
23229
|
DescribeStatisticDataRequest: DescribeStatisticDataRequest,
|
|
23248
23230
|
GrafanaNotificationChannel: GrafanaNotificationChannel,
|
|
23249
23231
|
SetDefaultAlarmPolicyRequest: SetDefaultAlarmPolicyRequest,
|
|
@@ -23251,7 +23233,6 @@ module.exports = {
|
|
|
23251
23233
|
LogAlarmReq: LogAlarmReq,
|
|
23252
23234
|
TerminatePrometheusInstancesResponse: TerminatePrometheusInstancesResponse,
|
|
23253
23235
|
UpdateSSOAccountResponse: UpdateSSOAccountResponse,
|
|
23254
|
-
DescribeGrafanaInstancesResponse: DescribeGrafanaInstancesResponse,
|
|
23255
23236
|
RunPrometheusInstanceRequest: RunPrometheusInstanceRequest,
|
|
23256
23237
|
UpdateAlertRuleStateRequest: UpdateAlertRuleStateRequest,
|
|
23257
23238
|
SetDefaultAlarmPolicyResponse: SetDefaultAlarmPolicyResponse,
|
|
@@ -134,6 +134,7 @@ const PrometheusTag = models.PrometheusTag;
|
|
|
134
134
|
const DescribePolicyConditionListMetric = models.DescribePolicyConditionListMetric;
|
|
135
135
|
const BindingPolicyObjectRequest = models.BindingPolicyObjectRequest;
|
|
136
136
|
const CreateServiceDiscoveryResponse = models.CreateServiceDiscoveryResponse;
|
|
137
|
+
const DescribeClusterAgentCreatingProgressRequest = models.DescribeClusterAgentCreatingProgressRequest;
|
|
137
138
|
const EnableSSOCamCheckResponse = models.EnableSSOCamCheckResponse;
|
|
138
139
|
const DescribeAccidentEventListRequest = models.DescribeAccidentEventListRequest;
|
|
139
140
|
const CreatePrometheusScrapeJobResponse = models.CreatePrometheusScrapeJobResponse;
|
|
@@ -341,9 +342,8 @@ const DescribeRecordingRulesResponse = models.DescribeRecordingRulesResponse;
|
|
|
341
342
|
const DeleteRecordingRulesResponse = models.DeleteRecordingRulesResponse;
|
|
342
343
|
const UpdateGrafanaWhiteListRequest = models.UpdateGrafanaWhiteListRequest;
|
|
343
344
|
const UpdatePrometheusAgentStatusRequest = models.UpdatePrometheusAgentStatusRequest;
|
|
344
|
-
const
|
|
345
|
+
const DescribeGrafanaInstancesResponse = models.DescribeGrafanaInstancesResponse;
|
|
345
346
|
const CheckIsPrometheusNewUserResponse = models.CheckIsPrometheusNewUserResponse;
|
|
346
|
-
const PutMonitorDataResponse = models.PutMonitorDataResponse;
|
|
347
347
|
const DescribePolicyGroupInfoRequest = models.DescribePolicyGroupInfoRequest;
|
|
348
348
|
const UpdateAlertRuleStateResponse = models.UpdateAlertRuleStateResponse;
|
|
349
349
|
const ModifyPrometheusRecordRuleYamlRequest = models.ModifyPrometheusRecordRuleYamlRequest;
|
|
@@ -352,6 +352,7 @@ const DescribeProductEventListDimensions = models.DescribeProductEventListDimens
|
|
|
352
352
|
const ModifyAlarmPolicyNoticeRequest = models.ModifyAlarmPolicyNoticeRequest;
|
|
353
353
|
const DeleteAlarmPolicyRequest = models.DeleteAlarmPolicyRequest;
|
|
354
354
|
const EventCondition = models.EventCondition;
|
|
355
|
+
const DescribeClusterAgentCreatingProgressResponse = models.DescribeClusterAgentCreatingProgressResponse;
|
|
355
356
|
const CreateAlertRuleResponse = models.CreateAlertRuleResponse;
|
|
356
357
|
const DescribePolicyConditionListConfigManualContinueTime = models.DescribePolicyConditionListConfigManualContinueTime;
|
|
357
358
|
const ModifyAlarmPolicyTasksResponse = models.ModifyAlarmPolicyTasksResponse;
|
|
@@ -397,7 +398,6 @@ const Filter = models.Filter;
|
|
|
397
398
|
const DescribeProductEventListEventsGroupInfo = models.DescribeProductEventListEventsGroupInfo;
|
|
398
399
|
const UpdateSSOAccountRequest = models.UpdateSSOAccountRequest;
|
|
399
400
|
const CreateSSOAccountResponse = models.CreateSSOAccountResponse;
|
|
400
|
-
const PutMonitorDataRequest = models.PutMonitorDataRequest;
|
|
401
401
|
const UpdatePrometheusScrapeJobResponse = models.UpdatePrometheusScrapeJobResponse;
|
|
402
402
|
const DescribeAlarmPoliciesRequest = models.DescribeAlarmPoliciesRequest;
|
|
403
403
|
const PrometheusScrapeJob = models.PrometheusScrapeJob;
|
|
@@ -413,7 +413,7 @@ const DescribeAlarmPolicyRequest = models.DescribeAlarmPolicyRequest;
|
|
|
413
413
|
const UninstallGrafanaDashboardRequest = models.UninstallGrafanaDashboardRequest;
|
|
414
414
|
const UpdateGrafanaIntegrationRequest = models.UpdateGrafanaIntegrationRequest;
|
|
415
415
|
const DeletePrometheusRecordRuleYamlRequest = models.DeletePrometheusRecordRuleYamlRequest;
|
|
416
|
-
const
|
|
416
|
+
const DescribeAlarmNoticeCallbacksRequest = models.DescribeAlarmNoticeCallbacksRequest;
|
|
417
417
|
const DescribeStatisticDataRequest = models.DescribeStatisticDataRequest;
|
|
418
418
|
const GrafanaNotificationChannel = models.GrafanaNotificationChannel;
|
|
419
419
|
const SetDefaultAlarmPolicyRequest = models.SetDefaultAlarmPolicyRequest;
|
|
@@ -421,7 +421,6 @@ const CLSNotice = models.CLSNotice;
|
|
|
421
421
|
const LogAlarmReq = models.LogAlarmReq;
|
|
422
422
|
const TerminatePrometheusInstancesResponse = models.TerminatePrometheusInstancesResponse;
|
|
423
423
|
const UpdateSSOAccountResponse = models.UpdateSSOAccountResponse;
|
|
424
|
-
const DescribeGrafanaInstancesResponse = models.DescribeGrafanaInstancesResponse;
|
|
425
424
|
const RunPrometheusInstanceRequest = models.RunPrometheusInstanceRequest;
|
|
426
425
|
const UpdateAlertRuleStateRequest = models.UpdateAlertRuleStateRequest;
|
|
427
426
|
const SetDefaultAlarmPolicyResponse = models.SetDefaultAlarmPolicyResponse;
|
|
@@ -542,7 +541,7 @@ Note that alert object and alert message are special fields of Prometheus Rule A
|
|
|
542
541
|
}
|
|
543
542
|
|
|
544
543
|
/**
|
|
545
|
-
* This API is used to create a
|
|
544
|
+
* 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.
|
|
546
545
|
* @param {CreateGrafanaInstanceRequest} req
|
|
547
546
|
* @param {function(string, CreateGrafanaInstanceResponse):void} cb
|
|
548
547
|
* @public
|
|
@@ -1139,7 +1138,7 @@ Alarm policies in the same type under the project will be set as non-default.
|
|
|
1139
1138
|
}
|
|
1140
1139
|
|
|
1141
1140
|
/**
|
|
1142
|
-
* This API is used to
|
|
1141
|
+
* This API is used to refund a monthly subscribed TCMG instance. Once it is called, the instance cannot be used and will be automatically terminated seven days later.
|
|
1143
1142
|
* @param {DeleteGrafanaInstanceRequest} req
|
|
1144
1143
|
* @param {function(string, DeleteGrafanaInstanceResponse):void} cb
|
|
1145
1144
|
* @public
|
|
@@ -1227,7 +1226,7 @@ Alarm policies in the same type under the project will be set as non-default.
|
|
|
1227
1226
|
}
|
|
1228
1227
|
|
|
1229
1228
|
/**
|
|
1230
|
-
* This API is used to
|
|
1229
|
+
* This API is used to renew a monthly subscribed TCMG instance for a month without changing the instance edition. It doesn't apply to running instances.
|
|
1231
1230
|
* @param {ResumeGrafanaInstanceRequest} req
|
|
1232
1231
|
* @param {function(string, ResumeGrafanaInstanceResponse):void} cb
|
|
1233
1232
|
* @public
|
|
@@ -1784,27 +1783,6 @@ If you need to call a large number of APIs to pull metrics or objects at a time,
|
|
|
1784
1783
|
this.request("GetMonitorData", req, resp, cb);
|
|
1785
1784
|
}
|
|
1786
1785
|
|
|
1787
|
-
/**
|
|
1788
|
-
* 对应的功能控制台及后端服务已于2年前下线,剩余该API接口未下线。
|
|
1789
|
-
|
|
1790
|
-
This API is not deprecated, but its related console features and backend services were deactivated two years ago.
|
|
1791
|
-
|
|
1792
|
-
The default API request rate limit is 50 requests/sec.
|
|
1793
|
-
The default upper limit on metrics of a single tenant is 100.
|
|
1794
|
-
A maximum of 30 metric/value pairs can be reported at a time. When an error is returned for a request, no metrics/values in the request will be saved.
|
|
1795
|
-
|
|
1796
|
-
The reporting timestamp is the timestamp when you want to save the data. We recommend that you construct a timestamp at integer minutes.
|
|
1797
|
-
The time range of a timestamp is from 300 seconds before the current time to the current time.
|
|
1798
|
-
The data of the same IP metric/value pair must be reported by minute in chronological order.
|
|
1799
|
-
* @param {PutMonitorDataRequest} req
|
|
1800
|
-
* @param {function(string, PutMonitorDataResponse):void} cb
|
|
1801
|
-
* @public
|
|
1802
|
-
*/
|
|
1803
|
-
PutMonitorData(req, cb) {
|
|
1804
|
-
let resp = new PutMonitorDataResponse();
|
|
1805
|
-
this.request("PutMonitorData", req, resp, cb);
|
|
1806
|
-
}
|
|
1807
|
-
|
|
1808
1786
|
/**
|
|
1809
1787
|
* This API is used to update the Grafana DNS configuration.
|
|
1810
1788
|
* @param {UpdateDNSConfigRequest} req
|
|
@@ -2018,6 +1996,17 @@ The data of the same IP metric/value pair must be reported by minute in chronolo
|
|
|
2018
1996
|
this.request("CreatePrometheusConfig", req, resp, cb);
|
|
2019
1997
|
}
|
|
2020
1998
|
|
|
1999
|
+
/**
|
|
2000
|
+
* This API is used to u200dobtain the binding status between the TencentCloud Managed Service for Prometheus instance and the TKE cluster.
|
|
2001
|
+
* @param {DescribeClusterAgentCreatingProgressRequest} req
|
|
2002
|
+
* @param {function(string, DescribeClusterAgentCreatingProgressResponse):void} cb
|
|
2003
|
+
* @public
|
|
2004
|
+
*/
|
|
2005
|
+
DescribeClusterAgentCreatingProgress(req, cb) {
|
|
2006
|
+
let resp = new DescribeClusterAgentCreatingProgressResponse();
|
|
2007
|
+
this.request("DescribeClusterAgentCreatingProgress", req, resp, cb);
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2021
2010
|
/**
|
|
2022
2011
|
* This API is used to query Prometheus recording rules by filter.
|
|
2023
2012
|
* @param {DescribeRecordingRulesRequest} req
|