tencentcloud-sdk-nodejs-intl-en 3.0.562 → 3.0.563
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.563";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -62,7 +62,7 @@ Default value: 2 (enabled).
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* The configuration of alarm level threshold
|
|
66
66
|
* @class
|
|
67
67
|
*/
|
|
68
68
|
class AlarmHierarchicalValue extends AbstractModel {
|
|
@@ -70,19 +70,22 @@ class AlarmHierarchicalValue extends AbstractModel {
|
|
|
70
70
|
super();
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Threshold for the `Remind` level
|
|
74
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
74
75
|
* @type {string || null}
|
|
75
76
|
*/
|
|
76
77
|
this.Remind = null;
|
|
77
78
|
|
|
78
79
|
/**
|
|
79
|
-
*
|
|
80
|
+
* Threshold for the `Warn` level
|
|
81
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
80
82
|
* @type {string || null}
|
|
81
83
|
*/
|
|
82
84
|
this.Warn = null;
|
|
83
85
|
|
|
84
86
|
/**
|
|
85
|
-
*
|
|
87
|
+
* Threshold for the `Serious` level
|
|
88
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
86
89
|
* @type {string || null}
|
|
87
90
|
*/
|
|
88
91
|
this.Serious = null;
|
|
@@ -1925,6 +1928,18 @@ class CreateAlarmPolicyRequest extends AbstractModel {
|
|
|
1925
1928
|
*/
|
|
1926
1929
|
this.LogAlarmReqInfo = null;
|
|
1927
1930
|
|
|
1931
|
+
/**
|
|
1932
|
+
* Notification rules for different alarm levels
|
|
1933
|
+
* @type {Array.<AlarmHierarchicalNotice> || null}
|
|
1934
|
+
*/
|
|
1935
|
+
this.HierarchicalNotices = null;
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* A dedicated field for migration policies. 0: Implement authentication logic; 1: Skip authentication logic.
|
|
1939
|
+
* @type {number || null}
|
|
1940
|
+
*/
|
|
1941
|
+
this.MigrateFlag = null;
|
|
1942
|
+
|
|
1928
1943
|
}
|
|
1929
1944
|
|
|
1930
1945
|
/**
|
|
@@ -1987,6 +2002,16 @@ class CreateAlarmPolicyRequest extends AbstractModel {
|
|
|
1987
2002
|
this.LogAlarmReqInfo = obj;
|
|
1988
2003
|
}
|
|
1989
2004
|
|
|
2005
|
+
if (params.HierarchicalNotices) {
|
|
2006
|
+
this.HierarchicalNotices = new Array();
|
|
2007
|
+
for (let z in params.HierarchicalNotices) {
|
|
2008
|
+
let obj = new AlarmHierarchicalNotice();
|
|
2009
|
+
obj.deserialize(params.HierarchicalNotices[z]);
|
|
2010
|
+
this.HierarchicalNotices.push(obj);
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
this.MigrateFlag = 'MigrateFlag' in params ? params.MigrateFlag : null;
|
|
2014
|
+
|
|
1990
2015
|
}
|
|
1991
2016
|
}
|
|
1992
2017
|
|
|
@@ -6665,7 +6690,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6665
6690
|
this.ValueMin = null;
|
|
6666
6691
|
|
|
6667
6692
|
/**
|
|
6668
|
-
*
|
|
6693
|
+
* The configuration of alarm level threshold
|
|
6694
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6669
6695
|
* @type {AlarmHierarchicalValue || null}
|
|
6670
6696
|
*/
|
|
6671
6697
|
this.HierarchicalValue = null;
|
|
@@ -8475,18 +8501,26 @@ class ResumeGrafanaInstanceResponse extends AbstractModel {
|
|
|
8475
8501
|
}
|
|
8476
8502
|
|
|
8477
8503
|
/**
|
|
8478
|
-
*
|
|
8504
|
+
* Notification template ID and the list of alarm notification levels. The values `Remind` and `Serious` indicate that the notification template only sends alarms at the `Remind` and `Serious` levels.
|
|
8479
8505
|
* @class
|
|
8480
8506
|
*/
|
|
8481
|
-
class
|
|
8507
|
+
class AlarmHierarchicalNotice extends AbstractModel {
|
|
8482
8508
|
constructor(){
|
|
8483
8509
|
super();
|
|
8484
8510
|
|
|
8485
8511
|
/**
|
|
8486
|
-
*
|
|
8512
|
+
* Notification template ID
|
|
8513
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8487
8514
|
* @type {string || null}
|
|
8488
8515
|
*/
|
|
8489
|
-
this.
|
|
8516
|
+
this.NoticeId = null;
|
|
8517
|
+
|
|
8518
|
+
/**
|
|
8519
|
+
* The list of alarm notification levels. The values `Remind` and `Serious` indicate that the notification template only sends alarms at the `Remind` and `Serious` levels.
|
|
8520
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8521
|
+
* @type {Array.<string> || null}
|
|
8522
|
+
*/
|
|
8523
|
+
this.Classification = null;
|
|
8490
8524
|
|
|
8491
8525
|
}
|
|
8492
8526
|
|
|
@@ -8497,7 +8531,8 @@ class UpdateAlertRuleStateResponse extends AbstractModel {
|
|
|
8497
8531
|
if (!params) {
|
|
8498
8532
|
return;
|
|
8499
8533
|
}
|
|
8500
|
-
this.
|
|
8534
|
+
this.NoticeId = 'NoticeId' in params ? params.NoticeId : null;
|
|
8535
|
+
this.Classification = 'Classification' in params ? params.Classification : null;
|
|
8501
8536
|
|
|
8502
8537
|
}
|
|
8503
8538
|
}
|
|
@@ -8673,6 +8708,34 @@ class CreateGrafanaInstanceRequest extends AbstractModel {
|
|
|
8673
8708
|
}
|
|
8674
8709
|
}
|
|
8675
8710
|
|
|
8711
|
+
/**
|
|
8712
|
+
* UpdateAlertRuleState response structure.
|
|
8713
|
+
* @class
|
|
8714
|
+
*/
|
|
8715
|
+
class UpdateAlertRuleStateResponse extends AbstractModel {
|
|
8716
|
+
constructor(){
|
|
8717
|
+
super();
|
|
8718
|
+
|
|
8719
|
+
/**
|
|
8720
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
8721
|
+
* @type {string || null}
|
|
8722
|
+
*/
|
|
8723
|
+
this.RequestId = null;
|
|
8724
|
+
|
|
8725
|
+
}
|
|
8726
|
+
|
|
8727
|
+
/**
|
|
8728
|
+
* @private
|
|
8729
|
+
*/
|
|
8730
|
+
deserialize(params) {
|
|
8731
|
+
if (!params) {
|
|
8732
|
+
return;
|
|
8733
|
+
}
|
|
8734
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8735
|
+
|
|
8736
|
+
}
|
|
8737
|
+
}
|
|
8738
|
+
|
|
8676
8739
|
/**
|
|
8677
8740
|
* Dimensions of instances bound to a policy
|
|
8678
8741
|
* @class
|
|
@@ -17845,10 +17908,11 @@ module.exports = {
|
|
|
17845
17908
|
CreateGrafanaIntegrationResponse: CreateGrafanaIntegrationResponse,
|
|
17846
17909
|
BindPrometheusManagedGrafanaRequest: BindPrometheusManagedGrafanaRequest,
|
|
17847
17910
|
ResumeGrafanaInstanceResponse: ResumeGrafanaInstanceResponse,
|
|
17848
|
-
|
|
17911
|
+
AlarmHierarchicalNotice: AlarmHierarchicalNotice,
|
|
17849
17912
|
Instance: Instance,
|
|
17850
17913
|
DescribeProductEventListResponse: DescribeProductEventListResponse,
|
|
17851
17914
|
CreateGrafanaInstanceRequest: CreateGrafanaInstanceRequest,
|
|
17915
|
+
UpdateAlertRuleStateResponse: UpdateAlertRuleStateResponse,
|
|
17852
17916
|
BindingPolicyObjectDimension: BindingPolicyObjectDimension,
|
|
17853
17917
|
UnbindPrometheusManagedGrafanaResponse: UnbindPrometheusManagedGrafanaResponse,
|
|
17854
17918
|
DescribeBasicAlarmListAlarms: DescribeBasicAlarmListAlarms,
|
|
@@ -174,10 +174,11 @@ const PrometheusScrapeJob = models.PrometheusScrapeJob;
|
|
|
174
174
|
const CreateGrafanaIntegrationResponse = models.CreateGrafanaIntegrationResponse;
|
|
175
175
|
const BindPrometheusManagedGrafanaRequest = models.BindPrometheusManagedGrafanaRequest;
|
|
176
176
|
const ResumeGrafanaInstanceResponse = models.ResumeGrafanaInstanceResponse;
|
|
177
|
-
const
|
|
177
|
+
const AlarmHierarchicalNotice = models.AlarmHierarchicalNotice;
|
|
178
178
|
const Instance = models.Instance;
|
|
179
179
|
const DescribeProductEventListResponse = models.DescribeProductEventListResponse;
|
|
180
180
|
const CreateGrafanaInstanceRequest = models.CreateGrafanaInstanceRequest;
|
|
181
|
+
const UpdateAlertRuleStateResponse = models.UpdateAlertRuleStateResponse;
|
|
181
182
|
const BindingPolicyObjectDimension = models.BindingPolicyObjectDimension;
|
|
182
183
|
const UnbindPrometheusManagedGrafanaResponse = models.UnbindPrometheusManagedGrafanaResponse;
|
|
183
184
|
const DescribeBasicAlarmListAlarms = models.DescribeBasicAlarmListAlarms;
|