tencentcloud-sdk-nodejs-intl-en 3.0.1447 → 3.0.1449

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1447",
3
+ "version": "3.0.1449",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -246,7 +246,7 @@ During unbinding, input parameters need to pass in all security groups bound to
246
246
  }
247
247
 
248
248
  /**
249
- * The **DeleteLoadBalancers** API is an async API. The system returns a request ID, but the application CLB instance is not yet deleted successfully. The deletion task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/api/1822/133711) to query the deletion status of the application CLB instance.
249
+ * The **DeleteLoadBalancers** API is an async API. The system returns a request ID, but the application CLB instance is not yet deleted successfully. The deletion task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/product/1311/84267) to query the deletion status of the application CLB instance.
250
250
  - When an application CLB instance is in the **Deleting** status, it means the application CLB instance is being deleted.
251
251
  -If the specified application CLB instance cannot be queried, the application CLB instance has been deleted successfully.
252
252
  * @param {DeleteLoadBalancersRequest} req
@@ -292,7 +292,7 @@ During unbinding, input parameters need to pass in all security groups bound to
292
292
  }
293
293
 
294
294
  /**
295
- * The **ModifyLoadBalancerAttributes** API is an async API. It returns a request ID, but the application CLB instance attribute has not been modified yet. The modifying task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/api/1822/133711) to query the modification status of the application CLB instance attribute.
295
+ * The **ModifyLoadBalancerAttributes** API is an async API. It returns a request ID, but the application CLB instance attribute has not been modified yet. The modifying task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/product/1311/84267) to query the modification status of the application CLB instance attribute.
296
296
  -When the application CLB instance attribute is in the **Configuring** status, it means the application CLB instance attribute is being modified.
297
297
  - When the application CLB instance attribute is in the **Active** status, it means the application CLB instance attribute was modified successfully.
298
298
  * @param {ModifyLoadBalancerAttributesRequest} req
@@ -683,7 +683,7 @@ If CertificateType is set to CA, the default CA certificate info is returned.
683
683
  }
684
684
 
685
685
  /**
686
- * **CreateLoadBalancer** is an async API. The system returns an instance ID, but the application CLB instance is not created successfully yet, and the creation task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/api/1822/133711) to query the creation status of the application CLB instance.
686
+ * **CreateLoadBalancer** is an async API. The system returns an instance ID, but the application CLB instance is not created successfully yet, and the creation task is still in progress in the system backend. You can call [DescribeLoadBalancerDetail](https://www.tencentcloud.com/document/product/1311/84267) to query the creation status of the application CLB instance.
687
687
  - When an application CLB instance is in the **Provisioning** status, it means the application CLB instance is being created.
688
688
  -When an application CLB instance is in the **Active** status, the application CLB instance is successfully created.
689
689
  * @param {CreateLoadBalancerRequest} req
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1447";
1
+ const sdkVersion = "3.0.1449";
2
2
  module.exports = sdkVersion
@@ -992,48 +992,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
992
992
  }
993
993
  }
994
994
 
995
- /**
996
- * SendCustomAlarmMsg request structure.
997
- * @class
998
- */
999
- class SendCustomAlarmMsgRequest extends AbstractModel {
1000
- constructor(){
1001
- super();
1002
-
1003
- /**
1004
- * API component name. The value for the current API is monitor.
1005
- * @type {string || null}
1006
- */
1007
- this.Module = null;
1008
-
1009
- /**
1010
- * Message policy ID, which is configured on the custom message page.
1011
- * @type {string || null}
1012
- */
1013
- this.PolicyId = null;
1014
-
1015
- /**
1016
- * Custom message content that a user wants to send.
1017
- * @type {string || null}
1018
- */
1019
- this.Msg = null;
1020
-
1021
- }
1022
-
1023
- /**
1024
- * @private
1025
- */
1026
- deserialize(params) {
1027
- if (!params) {
1028
- return;
1029
- }
1030
- this.Module = 'Module' in params ? params.Module : null;
1031
- this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
1032
- this.Msg = 'Msg' in params ? params.Msg : null;
1033
-
1034
- }
1035
- }
1036
-
1037
995
  /**
1038
996
  * UnBindingPolicyObject request structure.
1039
997
  * @class
@@ -6242,34 +6200,6 @@ class UnBindingAllPolicyObjectRequest extends AbstractModel {
6242
6200
  }
6243
6201
  }
6244
6202
 
6245
- /**
6246
- * SendCustomAlarmMsg response structure.
6247
- * @class
6248
- */
6249
- class SendCustomAlarmMsgResponse extends AbstractModel {
6250
- constructor(){
6251
- super();
6252
-
6253
- /**
6254
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
6255
- * @type {string || null}
6256
- */
6257
- this.RequestId = null;
6258
-
6259
- }
6260
-
6261
- /**
6262
- * @private
6263
- */
6264
- deserialize(params) {
6265
- if (!params) {
6266
- return;
6267
- }
6268
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
6269
-
6270
- }
6271
- }
6272
-
6273
6203
  /**
6274
6204
  * Metric trigger condition of alarm policy
6275
6205
  * @class
@@ -7082,50 +7012,6 @@ class DescribeAlarmEventsResponse extends AbstractModel {
7082
7012
  }
7083
7013
  }
7084
7014
 
7085
- /**
7086
- * DescribeServiceDiscovery response structure.
7087
- * @class
7088
- */
7089
- class DescribeServiceDiscoveryResponse extends AbstractModel {
7090
- constructor(){
7091
- super();
7092
-
7093
- /**
7094
- * List of returned scrape configurations
7095
- Note: This field may return null, indicating that no valid values can be obtained.
7096
- * @type {Array.<ServiceDiscoveryItem> || null}
7097
- */
7098
- this.ServiceDiscoverySet = null;
7099
-
7100
- /**
7101
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7102
- * @type {string || null}
7103
- */
7104
- this.RequestId = null;
7105
-
7106
- }
7107
-
7108
- /**
7109
- * @private
7110
- */
7111
- deserialize(params) {
7112
- if (!params) {
7113
- return;
7114
- }
7115
-
7116
- if (params.ServiceDiscoverySet) {
7117
- this.ServiceDiscoverySet = new Array();
7118
- for (let z in params.ServiceDiscoverySet) {
7119
- let obj = new ServiceDiscoveryItem();
7120
- obj.deserialize(params.ServiceDiscoverySet[z]);
7121
- this.ServiceDiscoverySet.push(obj);
7122
- }
7123
- }
7124
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
7125
-
7126
- }
7127
- }
7128
-
7129
7015
  /**
7130
7016
  * ExportPrometheusReadOnlyDynamicAPI request structure.
7131
7017
  * @class
@@ -7366,46 +7252,6 @@ class BindingPolicyObjectRequest extends AbstractModel {
7366
7252
  }
7367
7253
  }
7368
7254
 
7369
- /**
7370
- * CreateServiceDiscovery response structure.
7371
- * @class
7372
- */
7373
- class CreateServiceDiscoveryResponse extends AbstractModel {
7374
- constructor(){
7375
- super();
7376
-
7377
- /**
7378
- * The scrape configuration information returned after successful creation
7379
- * @type {ServiceDiscoveryItem || null}
7380
- */
7381
- this.ServiceDiscovery = null;
7382
-
7383
- /**
7384
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7385
- * @type {string || null}
7386
- */
7387
- this.RequestId = null;
7388
-
7389
- }
7390
-
7391
- /**
7392
- * @private
7393
- */
7394
- deserialize(params) {
7395
- if (!params) {
7396
- return;
7397
- }
7398
-
7399
- if (params.ServiceDiscovery) {
7400
- let obj = new ServiceDiscoveryItem();
7401
- obj.deserialize(params.ServiceDiscovery)
7402
- this.ServiceDiscovery = obj;
7403
- }
7404
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
7405
-
7406
- }
7407
- }
7408
-
7409
7255
  /**
7410
7256
  * DescribeClusterAgentCreatingProgress request structure.
7411
7257
  * @class
@@ -7942,77 +7788,6 @@ class PrometheusZoneItem extends AbstractModel {
7942
7788
  }
7943
7789
  }
7944
7790
 
7945
- /**
7946
- * Prometheus Alert custom notification template.
7947
- * @class
7948
- */
7949
- class PrometheusAlertCustomReceiver extends AbstractModel {
7950
- constructor(){
7951
- super();
7952
-
7953
- /**
7954
- * Notification customization type.
7955
- Alertmanager - self-built alertmanager in vpc.
7956
- webhook - webhook address in the vpc.
7957
- Note: This field may return null, indicating that no valid values can be obtained.
7958
- * @type {string || null}
7959
- */
7960
- this.Type = null;
7961
-
7962
- /**
7963
- * alertmanager/webhook url (ip in the same vpc as the prometheus instance).
7964
- Note: This field may return null, indicating that no valid values can be obtained.
7965
- * @type {string || null}
7966
- */
7967
- this.Url = null;
7968
-
7969
- /**
7970
- * Specifies the time range for allowing Alert sending.
7971
- Note: This field may return null, indicating that no valid values can be obtained.
7972
- * @type {Array.<PrometheusAlertAllowTimeRange> || null}
7973
- */
7974
- this.AllowedTimeRanges = null;
7975
-
7976
- /**
7977
- * alertmanager intranet cluster ID.
7978
- Note: This field may return null, indicating that no valid values can be obtained.
7979
- * @type {string || null}
7980
- */
7981
- this.ClusterId = null;
7982
-
7983
- /**
7984
- * alertmanager resides in the private network cluster type (tke/eks/tdcc).
7985
- Note: This field may return null, indicating that no valid values can be obtained.
7986
- * @type {string || null}
7987
- */
7988
- this.ClusterType = null;
7989
-
7990
- }
7991
-
7992
- /**
7993
- * @private
7994
- */
7995
- deserialize(params) {
7996
- if (!params) {
7997
- return;
7998
- }
7999
- this.Type = 'Type' in params ? params.Type : null;
8000
- this.Url = 'Url' in params ? params.Url : null;
8001
-
8002
- if (params.AllowedTimeRanges) {
8003
- this.AllowedTimeRanges = new Array();
8004
- for (let z in params.AllowedTimeRanges) {
8005
- let obj = new PrometheusAlertAllowTimeRange();
8006
- obj.deserialize(params.AllowedTimeRanges[z]);
8007
- this.AllowedTimeRanges.push(obj);
8008
- }
8009
- }
8010
- this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
8011
- this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
8012
-
8013
- }
8014
- }
8015
-
8016
7791
  /**
8017
7792
  * ModifyPrometheusAlertPolicy request structure.
8018
7793
  * @class
@@ -8786,18 +8561,24 @@ class DescribeMonitorTypesRequest extends AbstractModel {
8786
8561
  }
8787
8562
 
8788
8563
  /**
8789
- * Dimension information
8564
+ * ExportPrometheusReadOnlyDynamicAPI response structure.
8790
8565
  * @class
8791
8566
  */
8792
- class DimensionsDesc extends AbstractModel {
8567
+ class ExportPrometheusReadOnlyDynamicAPIResponse extends AbstractModel {
8793
8568
  constructor(){
8794
8569
  super();
8795
8570
 
8796
8571
  /**
8797
- * Array of dimension names
8798
- * @type {Array.<string> || null}
8572
+ * <p>HTTP response data</p>
8573
+ * @type {PrometheusDynamicAPIResponseHTTP || null}
8799
8574
  */
8800
- this.Dimensions = null;
8575
+ this.HTTP = null;
8576
+
8577
+ /**
8578
+ * 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.
8579
+ * @type {string || null}
8580
+ */
8581
+ this.RequestId = null;
8801
8582
 
8802
8583
  }
8803
8584
 
@@ -8808,7 +8589,13 @@ class DimensionsDesc extends AbstractModel {
8808
8589
  if (!params) {
8809
8590
  return;
8810
8591
  }
8811
- this.Dimensions = 'Dimensions' in params ? params.Dimensions : null;
8592
+
8593
+ if (params.HTTP) {
8594
+ let obj = new PrometheusDynamicAPIResponseHTTP();
8595
+ obj.deserialize(params.HTTP)
8596
+ this.HTTP = obj;
8597
+ }
8598
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8812
8599
 
8813
8600
  }
8814
8601
  }
@@ -8855,79 +8642,6 @@ class DeletePrometheusAlertPolicyRequest extends AbstractModel {
8855
8642
  }
8856
8643
  }
8857
8644
 
8858
- /**
8859
- * Prometheus scrape configuration information
8860
- * @class
8861
- */
8862
- class ServiceDiscoveryItem extends AbstractModel {
8863
- constructor(){
8864
- super();
8865
-
8866
- /**
8867
- * Scrape configuration name
8868
- * @type {string || null}
8869
- */
8870
- this.Name = null;
8871
-
8872
- /**
8873
- * Namespace of the scrape configuration
8874
- * @type {string || null}
8875
- */
8876
- this.Namespace = null;
8877
-
8878
- /**
8879
- * Scrape configuration type: ServiceMonitor/PodMonitor
8880
- * @type {string || null}
8881
- */
8882
- this.Kind = null;
8883
-
8884
- /**
8885
- * Namespace selection method
8886
- Note: This field may return null, indicating that no valid values can be obtained.
8887
- * @type {string || null}
8888
- */
8889
- this.NamespaceSelector = null;
8890
-
8891
- /**
8892
- * Label selection method
8893
- Note: This field may return null, indicating that no valid values can be obtained.
8894
- * @type {string || null}
8895
- */
8896
- this.Selector = null;
8897
-
8898
- /**
8899
- * `Endpoints` information (PodMonitor does not have this parameter)
8900
- * @type {string || null}
8901
- */
8902
- this.Endpoints = null;
8903
-
8904
- /**
8905
- * Scrape configuration information
8906
- Note: This field may return null, indicating that no valid values can be obtained.
8907
- * @type {string || null}
8908
- */
8909
- this.Yaml = null;
8910
-
8911
- }
8912
-
8913
- /**
8914
- * @private
8915
- */
8916
- deserialize(params) {
8917
- if (!params) {
8918
- return;
8919
- }
8920
- this.Name = 'Name' in params ? params.Name : null;
8921
- this.Namespace = 'Namespace' in params ? params.Namespace : null;
8922
- this.Kind = 'Kind' in params ? params.Kind : null;
8923
- this.NamespaceSelector = 'NamespaceSelector' in params ? params.NamespaceSelector : null;
8924
- this.Selector = 'Selector' in params ? params.Selector : null;
8925
- this.Endpoints = 'Endpoints' in params ? params.Endpoints : null;
8926
- this.Yaml = 'Yaml' in params ? params.Yaml : null;
8927
-
8928
- }
8929
- }
8930
-
8931
8645
  /**
8932
8646
  * ModifyPrometheusAgentExternalLabels response structure.
8933
8647
  * @class
@@ -10542,65 +10256,6 @@ class DescribeAlarmMetricsResponse extends AbstractModel {
10542
10256
  }
10543
10257
  }
10544
10258
 
10545
- /**
10546
- * DescribePrometheusRecordRuleYaml request structure.
10547
- * @class
10548
- */
10549
- class DescribePrometheusRecordRuleYamlRequest extends AbstractModel {
10550
- constructor(){
10551
- super();
10552
-
10553
- /**
10554
- * Instance ID
10555
- * @type {string || null}
10556
- */
10557
- this.InstanceId = null;
10558
-
10559
- /**
10560
- * Page offset
10561
- * @type {number || null}
10562
- */
10563
- this.Offset = null;
10564
-
10565
- /**
10566
- * Number of results per page
10567
- * @type {number || null}
10568
- */
10569
- this.Limit = null;
10570
-
10571
- /**
10572
- * Filter. Valid values:
10573
- `Name`: Name
10574
- `Values`: List of target names
10575
- * @type {Array.<Filter> || null}
10576
- */
10577
- this.Filters = null;
10578
-
10579
- }
10580
-
10581
- /**
10582
- * @private
10583
- */
10584
- deserialize(params) {
10585
- if (!params) {
10586
- return;
10587
- }
10588
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
10589
- this.Offset = 'Offset' in params ? params.Offset : null;
10590
- this.Limit = 'Limit' in params ? params.Limit : null;
10591
-
10592
- if (params.Filters) {
10593
- this.Filters = new Array();
10594
- for (let z in params.Filters) {
10595
- let obj = new Filter();
10596
- obj.deserialize(params.Filters[z]);
10597
- this.Filters.push(obj);
10598
- }
10599
- }
10600
-
10601
- }
10602
- }
10603
-
10604
10259
  /**
10605
10260
  * DescribeGrafanaWhiteList request structure.
10606
10261
  * @class
@@ -13563,46 +13218,6 @@ class MetricDataPoint extends AbstractModel {
13563
13218
  }
13564
13219
  }
13565
13220
 
13566
- /**
13567
- * ExportPrometheusReadOnlyDynamicAPI response structure.
13568
- * @class
13569
- */
13570
- class ExportPrometheusReadOnlyDynamicAPIResponse extends AbstractModel {
13571
- constructor(){
13572
- super();
13573
-
13574
- /**
13575
- * <p>HTTP response data</p>
13576
- * @type {PrometheusDynamicAPIResponseHTTP || null}
13577
- */
13578
- this.HTTP = null;
13579
-
13580
- /**
13581
- * 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.
13582
- * @type {string || null}
13583
- */
13584
- this.RequestId = null;
13585
-
13586
- }
13587
-
13588
- /**
13589
- * @private
13590
- */
13591
- deserialize(params) {
13592
- if (!params) {
13593
- return;
13594
- }
13595
-
13596
- if (params.HTTP) {
13597
- let obj = new PrometheusDynamicAPIResponseHTTP();
13598
- obj.deserialize(params.HTTP)
13599
- this.HTTP = obj;
13600
- }
13601
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
13602
-
13603
- }
13604
- }
13605
-
13606
13221
  /**
13607
13222
  * GetMonitorData request structure.
13608
13223
  * @class
@@ -14163,46 +13778,18 @@ You can filter by `RawJob`, `Job`, `ServiceMonitor`, `PodMonitor`, or `Health`.
14163
13778
  }
14164
13779
 
14165
13780
  /**
14166
- * CreateServiceDiscovery request structure.
13781
+ * UnbindPrometheusManagedGrafana response structure.
14167
13782
  * @class
14168
13783
  */
14169
- class CreateServiceDiscoveryRequest extends AbstractModel {
13784
+ class UnbindPrometheusManagedGrafanaResponse extends AbstractModel {
14170
13785
  constructor(){
14171
13786
  super();
14172
13787
 
14173
13788
  /**
14174
- * Prometheus instance ID
14175
- * @type {string || null}
14176
- */
14177
- this.InstanceId = null;
14178
-
14179
- /**
14180
- * <li>TKE: ID of the integrated TKE cluster</li>
14181
- * @type {string || null}
14182
- */
14183
- this.KubeClusterId = null;
14184
-
14185
- /**
14186
- * Kubernetes cluster type:
14187
- <li> 1 = TKE </li>
14188
- * @type {number || null}
14189
- */
14190
- this.KubeType = null;
14191
-
14192
- /**
14193
- * Scrape configuration type. Valid values:
14194
- <li> 1 = ServiceMonitor</li>
14195
- <li> 2 = PodMonitor</li>
14196
- <li> 3 = JobMonitor</li>
14197
- * @type {number || null}
14198
- */
14199
- this.Type = null;
14200
-
14201
- /**
14202
- * Scrape configuration information
13789
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
14203
13790
  * @type {string || null}
14204
13791
  */
14205
- this.Yaml = null;
13792
+ this.RequestId = null;
14206
13793
 
14207
13794
  }
14208
13795
 
@@ -14213,11 +13800,7 @@ class CreateServiceDiscoveryRequest extends AbstractModel {
14213
13800
  if (!params) {
14214
13801
  return;
14215
13802
  }
14216
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
14217
- this.KubeClusterId = 'KubeClusterId' in params ? params.KubeClusterId : null;
14218
- this.KubeType = 'KubeType' in params ? params.KubeType : null;
14219
- this.Type = 'Type' in params ? params.Type : null;
14220
- this.Yaml = 'Yaml' in params ? params.Yaml : null;
13803
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
14221
13804
 
14222
13805
  }
14223
13806
  }
@@ -15123,18 +14706,48 @@ Note: this field may return `null`, indicating that no valid values can be obtai
15123
14706
  }
15124
14707
 
15125
14708
  /**
15126
- * DescribePrometheusRecordRuleYaml response structure.
14709
+ * Instance authorization information
15127
14710
  * @class
15128
14711
  */
15129
- class DescribePrometheusRecordRuleYamlResponse extends AbstractModel {
14712
+ class PrometheusInstanceGrantInfo extends AbstractModel {
15130
14713
  constructor(){
15131
14714
  super();
15132
14715
 
15133
14716
  /**
15134
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
15135
- * @type {string || null}
14717
+ * Whether there is permission to operate on the billing information. Valid values: 1 (yes), 2 (no).
14718
+ * @type {number || null}
15136
14719
  */
15137
- this.RequestId = null;
14720
+ this.HasChargeOperation = null;
14721
+
14722
+ /**
14723
+ * Whether there is permission to display the VPC information. Valid values: 1 (yes), 2 (no).
14724
+ * @type {number || null}
14725
+ */
14726
+ this.HasVpcDisplay = null;
14727
+
14728
+ /**
14729
+ * Whether there is permission to change the Grafana status. Valid values: 1 (yes), 2 (no).
14730
+ * @type {number || null}
14731
+ */
14732
+ this.HasGrafanaStatusChange = null;
14733
+
14734
+ /**
14735
+ * Whether there is permission to manage agents. Valid values: 1 (yes), 2 (no).
14736
+ * @type {number || null}
14737
+ */
14738
+ this.HasAgentManage = null;
14739
+
14740
+ /**
14741
+ * Whether there is permission to manage TKE integrations. Valid values: 1 (yes), 2 (no).
14742
+ * @type {number || null}
14743
+ */
14744
+ this.HasTkeManage = null;
14745
+
14746
+ /**
14747
+ * Whether there is permission to display the API information. Valid values: 1 (yes), 2 (no).
14748
+ * @type {number || null}
14749
+ */
14750
+ this.HasApiOperation = null;
15138
14751
 
15139
14752
  }
15140
14753
 
@@ -15145,7 +14758,12 @@ class DescribePrometheusRecordRuleYamlResponse extends AbstractModel {
15145
14758
  if (!params) {
15146
14759
  return;
15147
14760
  }
15148
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
14761
+ this.HasChargeOperation = 'HasChargeOperation' in params ? params.HasChargeOperation : null;
14762
+ this.HasVpcDisplay = 'HasVpcDisplay' in params ? params.HasVpcDisplay : null;
14763
+ this.HasGrafanaStatusChange = 'HasGrafanaStatusChange' in params ? params.HasGrafanaStatusChange : null;
14764
+ this.HasAgentManage = 'HasAgentManage' in params ? params.HasAgentManage : null;
14765
+ this.HasTkeManage = 'HasTkeManage' in params ? params.HasTkeManage : null;
14766
+ this.HasApiOperation = 'HasApiOperation' in params ? params.HasApiOperation : null;
15149
14767
 
15150
14768
  }
15151
14769
  }
@@ -15805,10 +15423,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
15805
15423
  }
15806
15424
 
15807
15425
  /**
15808
- * UnbindPrometheusManagedGrafana response structure.
15426
+ * CleanGrafanaInstance response structure.
15809
15427
  * @class
15810
15428
  */
15811
- class UnbindPrometheusManagedGrafanaResponse extends AbstractModel {
15429
+ class CleanGrafanaInstanceResponse extends AbstractModel {
15812
15430
  constructor(){
15813
15431
  super();
15814
15432
 
@@ -16417,69 +16035,6 @@ class DescribeAlarmHistoriesRequest extends AbstractModel {
16417
16035
  }
16418
16036
  }
16419
16037
 
16420
- /**
16421
- * Instance authorization information
16422
- * @class
16423
- */
16424
- class PrometheusInstanceGrantInfo extends AbstractModel {
16425
- constructor(){
16426
- super();
16427
-
16428
- /**
16429
- * Whether there is permission to operate on the billing information. Valid values: 1 (yes), 2 (no).
16430
- * @type {number || null}
16431
- */
16432
- this.HasChargeOperation = null;
16433
-
16434
- /**
16435
- * Whether there is permission to display the VPC information. Valid values: 1 (yes), 2 (no).
16436
- * @type {number || null}
16437
- */
16438
- this.HasVpcDisplay = null;
16439
-
16440
- /**
16441
- * Whether there is permission to change the Grafana status. Valid values: 1 (yes), 2 (no).
16442
- * @type {number || null}
16443
- */
16444
- this.HasGrafanaStatusChange = null;
16445
-
16446
- /**
16447
- * Whether there is permission to manage agents. Valid values: 1 (yes), 2 (no).
16448
- * @type {number || null}
16449
- */
16450
- this.HasAgentManage = null;
16451
-
16452
- /**
16453
- * Whether there is permission to manage TKE integrations. Valid values: 1 (yes), 2 (no).
16454
- * @type {number || null}
16455
- */
16456
- this.HasTkeManage = null;
16457
-
16458
- /**
16459
- * Whether there is permission to display the API information. Valid values: 1 (yes), 2 (no).
16460
- * @type {number || null}
16461
- */
16462
- this.HasApiOperation = null;
16463
-
16464
- }
16465
-
16466
- /**
16467
- * @private
16468
- */
16469
- deserialize(params) {
16470
- if (!params) {
16471
- return;
16472
- }
16473
- this.HasChargeOperation = 'HasChargeOperation' in params ? params.HasChargeOperation : null;
16474
- this.HasVpcDisplay = 'HasVpcDisplay' in params ? params.HasVpcDisplay : null;
16475
- this.HasGrafanaStatusChange = 'HasGrafanaStatusChange' in params ? params.HasGrafanaStatusChange : null;
16476
- this.HasAgentManage = 'HasAgentManage' in params ? params.HasAgentManage : null;
16477
- this.HasTkeManage = 'HasTkeManage' in params ? params.HasTkeManage : null;
16478
- this.HasApiOperation = 'HasApiOperation' in params ? params.HasApiOperation : null;
16479
-
16480
- }
16481
- }
16482
-
16483
16038
  /**
16484
16039
  * DeletePolicyGroup request structure.
16485
16040
  * @class
@@ -19043,13 +18598,50 @@ class UpdateExporterIntegrationRequest extends AbstractModel {
19043
18598
  }
19044
18599
 
19045
18600
  /**
19046
- * CheckIsPrometheusNewUser request structure.
18601
+ * Prometheus Alert custom notification template.
19047
18602
  * @class
19048
18603
  */
19049
- class CheckIsPrometheusNewUserRequest extends AbstractModel {
18604
+ class PrometheusAlertCustomReceiver extends AbstractModel {
19050
18605
  constructor(){
19051
18606
  super();
19052
18607
 
18608
+ /**
18609
+ * Notification customization type.
18610
+ Alertmanager - self-built alertmanager in vpc.
18611
+ webhook - webhook address in the vpc.
18612
+ Note: This field may return null, indicating that no valid values can be obtained.
18613
+ * @type {string || null}
18614
+ */
18615
+ this.Type = null;
18616
+
18617
+ /**
18618
+ * alertmanager/webhook url (ip in the same vpc as the prometheus instance).
18619
+ Note: This field may return null, indicating that no valid values can be obtained.
18620
+ * @type {string || null}
18621
+ */
18622
+ this.Url = null;
18623
+
18624
+ /**
18625
+ * Specifies the time range for allowing Alert sending.
18626
+ Note: This field may return null, indicating that no valid values can be obtained.
18627
+ * @type {Array.<PrometheusAlertAllowTimeRange> || null}
18628
+ */
18629
+ this.AllowedTimeRanges = null;
18630
+
18631
+ /**
18632
+ * alertmanager intranet cluster ID.
18633
+ Note: This field may return null, indicating that no valid values can be obtained.
18634
+ * @type {string || null}
18635
+ */
18636
+ this.ClusterId = null;
18637
+
18638
+ /**
18639
+ * alertmanager resides in the private network cluster type (tke/eks/tdcc).
18640
+ Note: This field may return null, indicating that no valid values can be obtained.
18641
+ * @type {string || null}
18642
+ */
18643
+ this.ClusterType = null;
18644
+
19053
18645
  }
19054
18646
 
19055
18647
  /**
@@ -19059,6 +18651,19 @@ class CheckIsPrometheusNewUserRequest extends AbstractModel {
19059
18651
  if (!params) {
19060
18652
  return;
19061
18653
  }
18654
+ this.Type = 'Type' in params ? params.Type : null;
18655
+ this.Url = 'Url' in params ? params.Url : null;
18656
+
18657
+ if (params.AllowedTimeRanges) {
18658
+ this.AllowedTimeRanges = new Array();
18659
+ for (let z in params.AllowedTimeRanges) {
18660
+ let obj = new PrometheusAlertAllowTimeRange();
18661
+ obj.deserialize(params.AllowedTimeRanges[z]);
18662
+ this.AllowedTimeRanges.push(obj);
18663
+ }
18664
+ }
18665
+ this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
18666
+ this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
19062
18667
 
19063
18668
  }
19064
18669
  }
@@ -19646,25 +19251,25 @@ class ModifyPrometheusInstanceAttributesRequest extends AbstractModel {
19646
19251
  super();
19647
19252
 
19648
19253
  /**
19649
- * Instance ID
19254
+ * <p>Instance ID</p>
19650
19255
  * @type {string || null}
19651
19256
  */
19652
19257
  this.InstanceId = null;
19653
19258
 
19654
19259
  /**
19655
- * Instance name
19260
+ * <p>Instance name.</p>
19656
19261
  * @type {string || null}
19657
19262
  */
19658
19263
  this.InstanceName = null;
19659
19264
 
19660
19265
  /**
19661
- * Storage period. Valid values: 15, 30, 45. This parameter is not applicable to yearly/monthly subscribed instances.
19266
+ * <p>Data retention period (in days). The limit value is one of 15, 30, 45, 90, 180, 365, 730</p>
19662
19267
  * @type {number || null}
19663
19268
  */
19664
19269
  this.DataRetentionTime = null;
19665
19270
 
19666
19271
  /**
19667
- *
19272
+ * <p>Flag for special attributes of a prom instance</p><p>Archive storage duration (days):<br>key: LongTermStorageRetentionTime<br>value: 60-730</p>
19668
19273
  * @type {Array.<PrometheusRuleKV> || null}
19669
19274
  */
19670
19275
  this.InstanceAttributes = null;
@@ -20242,34 +19847,6 @@ class DescribeGrafanaInstancesResponse extends AbstractModel {
20242
19847
  }
20243
19848
  }
20244
19849
 
20245
- /**
20246
- * CheckIsPrometheusNewUser response structure.
20247
- * @class
20248
- */
20249
- class CheckIsPrometheusNewUserResponse extends AbstractModel {
20250
- constructor(){
20251
- super();
20252
-
20253
- /**
20254
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
20255
- * @type {string || null}
20256
- */
20257
- this.RequestId = null;
20258
-
20259
- }
20260
-
20261
- /**
20262
- * @private
20263
- */
20264
- deserialize(params) {
20265
- if (!params) {
20266
- return;
20267
- }
20268
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
20269
-
20270
- }
20271
- }
20272
-
20273
19850
  /**
20274
19851
  * DescribePolicyGroupInfo request structure.
20275
19852
  * @class
@@ -21089,49 +20666,6 @@ class Operator extends AbstractModel {
21089
20666
  }
21090
20667
  }
21091
20668
 
21092
- /**
21093
- * DescribeServiceDiscovery request structure.
21094
- * @class
21095
- */
21096
- class DescribeServiceDiscoveryRequest extends AbstractModel {
21097
- constructor(){
21098
- super();
21099
-
21100
- /**
21101
- * Prometheus instance ID
21102
- * @type {string || null}
21103
- */
21104
- this.InstanceId = null;
21105
-
21106
- /**
21107
- * <li>TKE: ID of the integrated TKE cluster</li>
21108
- * @type {string || null}
21109
- */
21110
- this.KubeClusterId = null;
21111
-
21112
- /**
21113
- * Kubernetes cluster type:
21114
- <li> 1 = TKE </li>
21115
- * @type {number || null}
21116
- */
21117
- this.KubeType = null;
21118
-
21119
- }
21120
-
21121
- /**
21122
- * @private
21123
- */
21124
- deserialize(params) {
21125
- if (!params) {
21126
- return;
21127
- }
21128
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
21129
- this.KubeClusterId = 'KubeClusterId' in params ? params.KubeClusterId : null;
21130
- this.KubeType = 'KubeType' in params ? params.KubeType : null;
21131
-
21132
- }
21133
- }
21134
-
21135
20669
  /**
21136
20670
  * Task step information
21137
20671
  * @class
@@ -21659,13 +21193,13 @@ class PrometheusRuleKV extends AbstractModel {
21659
21193
  super();
21660
21194
 
21661
21195
  /**
21662
- * Key
21196
+ * <p>Key</p>
21663
21197
  * @type {string || null}
21664
21198
  */
21665
21199
  this.Key = null;
21666
21200
 
21667
21201
  /**
21668
- * Value
21202
+ * <p>Value.</p>
21669
21203
  * @type {string || null}
21670
21204
  */
21671
21205
  this.Value = null;
@@ -24117,18 +23651,18 @@ class ModifyPrometheusGlobalNotificationResponse extends AbstractModel {
24117
23651
  }
24118
23652
 
24119
23653
  /**
24120
- * CleanGrafanaInstance response structure.
23654
+ * Dimension information
24121
23655
  * @class
24122
23656
  */
24123
- class CleanGrafanaInstanceResponse extends AbstractModel {
23657
+ class DimensionsDesc extends AbstractModel {
24124
23658
  constructor(){
24125
23659
  super();
24126
23660
 
24127
23661
  /**
24128
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
24129
- * @type {string || null}
23662
+ * Array of dimension names
23663
+ * @type {Array.<string> || null}
24130
23664
  */
24131
- this.RequestId = null;
23665
+ this.Dimensions = null;
24132
23666
 
24133
23667
  }
24134
23668
 
@@ -24139,7 +23673,7 @@ class CleanGrafanaInstanceResponse extends AbstractModel {
24139
23673
  if (!params) {
24140
23674
  return;
24141
23675
  }
24142
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
23676
+ this.Dimensions = 'Dimensions' in params ? params.Dimensions : null;
24143
23677
 
24144
23678
  }
24145
23679
  }
@@ -25174,7 +24708,6 @@ module.exports = {
25174
24708
  CreatePrometheusMultiTenantInstancePostPayModeRequest: CreatePrometheusMultiTenantInstancePostPayModeRequest,
25175
24709
  DescribePolicyConditionListResponseDeprecatingInfo: DescribePolicyConditionListResponseDeprecatingInfo,
25176
24710
  PrometheusTempModify: PrometheusTempModify,
25177
- SendCustomAlarmMsgRequest: SendCustomAlarmMsgRequest,
25178
24711
  UnBindingPolicyObjectRequest: UnBindingPolicyObjectRequest,
25179
24712
  CommonNamespaceNew: CommonNamespaceNew,
25180
24713
  Tag: Tag,
@@ -25264,7 +24797,6 @@ module.exports = {
25264
24797
  UpdateGrafanaNotificationChannelResponse: UpdateGrafanaNotificationChannelResponse,
25265
24798
  CreatePrometheusTempResponse: CreatePrometheusTempResponse,
25266
24799
  UnBindingAllPolicyObjectRequest: UnBindingAllPolicyObjectRequest,
25267
- SendCustomAlarmMsgResponse: SendCustomAlarmMsgResponse,
25268
24800
  AlarmPolicyCondition: AlarmPolicyCondition,
25269
24801
  ModifyPolicyGroupCondition: ModifyPolicyGroupCondition,
25270
24802
  DescribePolicyGroupListRequest: DescribePolicyGroupListRequest,
@@ -25277,12 +24809,10 @@ module.exports = {
25277
24809
  DescribePolicyConditionListConfigManual: DescribePolicyConditionListConfigManual,
25278
24810
  InstallPluginsRequest: InstallPluginsRequest,
25279
24811
  DescribeAlarmEventsResponse: DescribeAlarmEventsResponse,
25280
- DescribeServiceDiscoveryResponse: DescribeServiceDiscoveryResponse,
25281
24812
  ExportPrometheusReadOnlyDynamicAPIRequest: ExportPrometheusReadOnlyDynamicAPIRequest,
25282
24813
  PrometheusTag: PrometheusTag,
25283
24814
  DescribePolicyConditionListMetric: DescribePolicyConditionListMetric,
25284
24815
  BindingPolicyObjectRequest: BindingPolicyObjectRequest,
25285
- CreateServiceDiscoveryResponse: CreateServiceDiscoveryResponse,
25286
24816
  DescribeClusterAgentCreatingProgressRequest: DescribeClusterAgentCreatingProgressRequest,
25287
24817
  UpdatePrometheusAlertGroupRequest: UpdatePrometheusAlertGroupRequest,
25288
24818
  EnableSSOCamCheckResponse: EnableSSOCamCheckResponse,
@@ -25290,7 +24820,6 @@ module.exports = {
25290
24820
  CreatePrometheusScrapeJobResponse: CreatePrometheusScrapeJobResponse,
25291
24821
  CreateAlarmPolicyRequest: CreateAlarmPolicyRequest,
25292
24822
  PrometheusZoneItem: PrometheusZoneItem,
25293
- PrometheusAlertCustomReceiver: PrometheusAlertCustomReceiver,
25294
24823
  ModifyPrometheusAlertPolicyRequest: ModifyPrometheusAlertPolicyRequest,
25295
24824
  ModifyPrometheusInstanceAttributesResponse: ModifyPrometheusInstanceAttributesResponse,
25296
24825
  UpdateOnCallFormResponse: UpdateOnCallFormResponse,
@@ -25307,9 +24836,8 @@ module.exports = {
25307
24836
  DescribePrometheusGlobalNotificationResponse: DescribePrometheusGlobalNotificationResponse,
25308
24837
  PrometheusAlertGroupRuleSet: PrometheusAlertGroupRuleSet,
25309
24838
  DescribeMonitorTypesRequest: DescribeMonitorTypesRequest,
25310
- DimensionsDesc: DimensionsDesc,
24839
+ ExportPrometheusReadOnlyDynamicAPIResponse: ExportPrometheusReadOnlyDynamicAPIResponse,
25311
24840
  DeletePrometheusAlertPolicyRequest: DeletePrometheusAlertPolicyRequest,
25312
- ServiceDiscoveryItem: ServiceDiscoveryItem,
25313
24841
  ModifyPrometheusAgentExternalLabelsResponse: ModifyPrometheusAgentExternalLabelsResponse,
25314
24842
  ModifyAlarmNoticeRequest: ModifyAlarmNoticeRequest,
25315
24843
  DescribeGrafanaWhiteListResponse: DescribeGrafanaWhiteListResponse,
@@ -25341,7 +24869,6 @@ module.exports = {
25341
24869
  CreatePrometheusAgentResponse: CreatePrometheusAgentResponse,
25342
24870
  DescribePrometheusAlertPolicyRequest: DescribePrometheusAlertPolicyRequest,
25343
24871
  DescribeAlarmMetricsResponse: DescribeAlarmMetricsResponse,
25344
- DescribePrometheusRecordRuleYamlRequest: DescribePrometheusRecordRuleYamlRequest,
25345
24872
  DescribeGrafanaWhiteListRequest: DescribeGrafanaWhiteListRequest,
25346
24873
  DescribePrometheusConfigRequest: DescribePrometheusConfigRequest,
25347
24874
  CreateGrafanaInstanceResponse: CreateGrafanaInstanceResponse,
@@ -25396,7 +24923,6 @@ module.exports = {
25396
24923
  DescribeConditionsTemplateListRequest: DescribeConditionsTemplateListRequest,
25397
24924
  DeletePrometheusRecordRuleYamlResponse: DeletePrometheusRecordRuleYamlResponse,
25398
24925
  MetricDataPoint: MetricDataPoint,
25399
- ExportPrometheusReadOnlyDynamicAPIResponse: ExportPrometheusReadOnlyDynamicAPIResponse,
25400
24926
  GetMonitorDataRequest: GetMonitorDataRequest,
25401
24927
  CreateRecordingRuleRequest: CreateRecordingRuleRequest,
25402
24928
  ModifyPrometheusConfigRequest: ModifyPrometheusConfigRequest,
@@ -25409,7 +24935,7 @@ module.exports = {
25409
24935
  DeleteGrafanaIntegrationRequest: DeleteGrafanaIntegrationRequest,
25410
24936
  ModifyPrometheusAlertPolicyResponse: ModifyPrometheusAlertPolicyResponse,
25411
24937
  DescribePrometheusTargetsTMPRequest: DescribePrometheusTargetsTMPRequest,
25412
- CreateServiceDiscoveryRequest: CreateServiceDiscoveryRequest,
24938
+ UnbindPrometheusManagedGrafanaResponse: UnbindPrometheusManagedGrafanaResponse,
25413
24939
  PeriodsSt: PeriodsSt,
25414
24940
  ModifyAlarmReceiversResponse: ModifyAlarmReceiversResponse,
25415
24941
  RoutePrometheusDynamicAPIResponse: RoutePrometheusDynamicAPIResponse,
@@ -25425,7 +24951,7 @@ module.exports = {
25425
24951
  ModifyAlarmPolicyConditionResponse: ModifyAlarmPolicyConditionResponse,
25426
24952
  DescribePrometheusInstancesOverviewResponse: DescribePrometheusInstancesOverviewResponse,
25427
24953
  MetricSet: MetricSet,
25428
- DescribePrometheusRecordRuleYamlResponse: DescribePrometheusRecordRuleYamlResponse,
24954
+ PrometheusInstanceGrantInfo: PrometheusInstanceGrantInfo,
25429
24955
  RoutePrometheusDynamicAPIRequest: RoutePrometheusDynamicAPIRequest,
25430
24956
  TemplateGroup: TemplateGroup,
25431
24957
  DescribeBindingPolicyObjectListInstance: DescribeBindingPolicyObjectListInstance,
@@ -25438,7 +24964,7 @@ module.exports = {
25438
24964
  NoticeSendGroup: NoticeSendGroup,
25439
24965
  PrometheusDynamicAPIResponseHTTP: PrometheusDynamicAPIResponseHTTP,
25440
24966
  PrometheusAlertRule: PrometheusAlertRule,
25441
- UnbindPrometheusManagedGrafanaResponse: UnbindPrometheusManagedGrafanaResponse,
24967
+ CleanGrafanaInstanceResponse: CleanGrafanaInstanceResponse,
25442
24968
  DescribeGrafanaChannelsResponse: DescribeGrafanaChannelsResponse,
25443
24969
  DescribeAlarmPolicyResponse: DescribeAlarmPolicyResponse,
25444
24970
  PrometheusNotificationItem: PrometheusNotificationItem,
@@ -25447,7 +24973,6 @@ module.exports = {
25447
24973
  DescribeAccidentEventListAlarms: DescribeAccidentEventListAlarms,
25448
24974
  CreatePrometheusGlobalNotificationResponse: CreatePrometheusGlobalNotificationResponse,
25449
24975
  DescribeAlarmHistoriesRequest: DescribeAlarmHistoriesRequest,
25450
- PrometheusInstanceGrantInfo: PrometheusInstanceGrantInfo,
25451
24976
  DeletePolicyGroupRequest: DeletePolicyGroupRequest,
25452
24977
  EnableSSOCamCheckRequest: EnableSSOCamCheckRequest,
25453
24978
  DeleteGrafanaIntegrationResponse: DeleteGrafanaIntegrationResponse,
@@ -25492,7 +25017,7 @@ module.exports = {
25492
25017
  DescribeAlarmNoticesRequest: DescribeAlarmNoticesRequest,
25493
25018
  RunPrometheusInstanceResponse: RunPrometheusInstanceResponse,
25494
25019
  UpdateExporterIntegrationRequest: UpdateExporterIntegrationRequest,
25495
- CheckIsPrometheusNewUserRequest: CheckIsPrometheusNewUserRequest,
25020
+ PrometheusAlertCustomReceiver: PrometheusAlertCustomReceiver,
25496
25021
  DescribeAlarmNoticeResponse: DescribeAlarmNoticeResponse,
25497
25022
  DeleteAlertRulesRequest: DeleteAlertRulesRequest,
25498
25023
  SyncPrometheusTempRequest: SyncPrometheusTempRequest,
@@ -25515,7 +25040,6 @@ module.exports = {
25515
25040
  UpdateGrafanaWhiteListRequest: UpdateGrafanaWhiteListRequest,
25516
25041
  UpdatePrometheusAgentStatusRequest: UpdatePrometheusAgentStatusRequest,
25517
25042
  DescribeGrafanaInstancesResponse: DescribeGrafanaInstancesResponse,
25518
- CheckIsPrometheusNewUserResponse: CheckIsPrometheusNewUserResponse,
25519
25043
  DescribePolicyGroupInfoRequest: DescribePolicyGroupInfoRequest,
25520
25044
  UpdateAlertRuleStateResponse: UpdateAlertRuleStateResponse,
25521
25045
  ModifyPrometheusRecordRuleYamlRequest: ModifyPrometheusRecordRuleYamlRequest,
@@ -25535,7 +25059,6 @@ module.exports = {
25535
25059
  ModifyAlarmPolicyStatusRequest: ModifyAlarmPolicyStatusRequest,
25536
25060
  ConditionsTemp: ConditionsTemp,
25537
25061
  Operator: Operator,
25538
- DescribeServiceDiscoveryRequest: DescribeServiceDiscoveryRequest,
25539
25062
  TaskStepInfo: TaskStepInfo,
25540
25063
  DescribePrometheusTempResponse: DescribePrometheusTempResponse,
25541
25064
  DescribeGrafanaConfigResponse: DescribeGrafanaConfigResponse,
@@ -25585,7 +25108,7 @@ module.exports = {
25585
25108
  IntegrationConfiguration: IntegrationConfiguration,
25586
25109
  DescribePrometheusAgentsResponse: DescribePrometheusAgentsResponse,
25587
25110
  ModifyPrometheusGlobalNotificationResponse: ModifyPrometheusGlobalNotificationResponse,
25588
- CleanGrafanaInstanceResponse: CleanGrafanaInstanceResponse,
25111
+ DimensionsDesc: DimensionsDesc,
25589
25112
  CreateAlertRuleRequest: CreateAlertRuleRequest,
25590
25113
  ModifyPrometheusRecordRuleYamlResponse: ModifyPrometheusRecordRuleYamlResponse,
25591
25114
  DeletePrometheusScrapeJobsResponse: DeletePrometheusScrapeJobsResponse,
@@ -33,7 +33,6 @@ const DescribeBaseMetricsResponse = models.DescribeBaseMetricsResponse;
33
33
  const CreatePrometheusMultiTenantInstancePostPayModeRequest = models.CreatePrometheusMultiTenantInstancePostPayModeRequest;
34
34
  const DescribePolicyConditionListResponseDeprecatingInfo = models.DescribePolicyConditionListResponseDeprecatingInfo;
35
35
  const PrometheusTempModify = models.PrometheusTempModify;
36
- const SendCustomAlarmMsgRequest = models.SendCustomAlarmMsgRequest;
37
36
  const UnBindingPolicyObjectRequest = models.UnBindingPolicyObjectRequest;
38
37
  const CommonNamespaceNew = models.CommonNamespaceNew;
39
38
  const Tag = models.Tag;
@@ -123,7 +122,6 @@ const InstanceGroups = models.InstanceGroups;
123
122
  const UpdateGrafanaNotificationChannelResponse = models.UpdateGrafanaNotificationChannelResponse;
124
123
  const CreatePrometheusTempResponse = models.CreatePrometheusTempResponse;
125
124
  const UnBindingAllPolicyObjectRequest = models.UnBindingAllPolicyObjectRequest;
126
- const SendCustomAlarmMsgResponse = models.SendCustomAlarmMsgResponse;
127
125
  const AlarmPolicyCondition = models.AlarmPolicyCondition;
128
126
  const ModifyPolicyGroupCondition = models.ModifyPolicyGroupCondition;
129
127
  const DescribePolicyGroupListRequest = models.DescribePolicyGroupListRequest;
@@ -136,12 +134,10 @@ const TagInstance = models.TagInstance;
136
134
  const DescribePolicyConditionListConfigManual = models.DescribePolicyConditionListConfigManual;
137
135
  const InstallPluginsRequest = models.InstallPluginsRequest;
138
136
  const DescribeAlarmEventsResponse = models.DescribeAlarmEventsResponse;
139
- const DescribeServiceDiscoveryResponse = models.DescribeServiceDiscoveryResponse;
140
137
  const ExportPrometheusReadOnlyDynamicAPIRequest = models.ExportPrometheusReadOnlyDynamicAPIRequest;
141
138
  const PrometheusTag = models.PrometheusTag;
142
139
  const DescribePolicyConditionListMetric = models.DescribePolicyConditionListMetric;
143
140
  const BindingPolicyObjectRequest = models.BindingPolicyObjectRequest;
144
- const CreateServiceDiscoveryResponse = models.CreateServiceDiscoveryResponse;
145
141
  const DescribeClusterAgentCreatingProgressRequest = models.DescribeClusterAgentCreatingProgressRequest;
146
142
  const UpdatePrometheusAlertGroupRequest = models.UpdatePrometheusAlertGroupRequest;
147
143
  const EnableSSOCamCheckResponse = models.EnableSSOCamCheckResponse;
@@ -149,7 +145,6 @@ const DescribeAccidentEventListRequest = models.DescribeAccidentEventListRequest
149
145
  const CreatePrometheusScrapeJobResponse = models.CreatePrometheusScrapeJobResponse;
150
146
  const CreateAlarmPolicyRequest = models.CreateAlarmPolicyRequest;
151
147
  const PrometheusZoneItem = models.PrometheusZoneItem;
152
- const PrometheusAlertCustomReceiver = models.PrometheusAlertCustomReceiver;
153
148
  const ModifyPrometheusAlertPolicyRequest = models.ModifyPrometheusAlertPolicyRequest;
154
149
  const ModifyPrometheusInstanceAttributesResponse = models.ModifyPrometheusInstanceAttributesResponse;
155
150
  const UpdateOnCallFormResponse = models.UpdateOnCallFormResponse;
@@ -166,9 +161,8 @@ const DescribePrometheusRecordRulesResponse = models.DescribePrometheusRecordRul
166
161
  const DescribePrometheusGlobalNotificationResponse = models.DescribePrometheusGlobalNotificationResponse;
167
162
  const PrometheusAlertGroupRuleSet = models.PrometheusAlertGroupRuleSet;
168
163
  const DescribeMonitorTypesRequest = models.DescribeMonitorTypesRequest;
169
- const DimensionsDesc = models.DimensionsDesc;
164
+ const ExportPrometheusReadOnlyDynamicAPIResponse = models.ExportPrometheusReadOnlyDynamicAPIResponse;
170
165
  const DeletePrometheusAlertPolicyRequest = models.DeletePrometheusAlertPolicyRequest;
171
- const ServiceDiscoveryItem = models.ServiceDiscoveryItem;
172
166
  const ModifyPrometheusAgentExternalLabelsResponse = models.ModifyPrometheusAgentExternalLabelsResponse;
173
167
  const ModifyAlarmNoticeRequest = models.ModifyAlarmNoticeRequest;
174
168
  const DescribeGrafanaWhiteListResponse = models.DescribeGrafanaWhiteListResponse;
@@ -200,7 +194,6 @@ const OneOnCallForm = models.OneOnCallForm;
200
194
  const CreatePrometheusAgentResponse = models.CreatePrometheusAgentResponse;
201
195
  const DescribePrometheusAlertPolicyRequest = models.DescribePrometheusAlertPolicyRequest;
202
196
  const DescribeAlarmMetricsResponse = models.DescribeAlarmMetricsResponse;
203
- const DescribePrometheusRecordRuleYamlRequest = models.DescribePrometheusRecordRuleYamlRequest;
204
197
  const DescribeGrafanaWhiteListRequest = models.DescribeGrafanaWhiteListRequest;
205
198
  const DescribePrometheusConfigRequest = models.DescribePrometheusConfigRequest;
206
199
  const CreateGrafanaInstanceResponse = models.CreateGrafanaInstanceResponse;
@@ -255,7 +248,6 @@ const PrometheusInstancesItem = models.PrometheusInstancesItem;
255
248
  const DescribeConditionsTemplateListRequest = models.DescribeConditionsTemplateListRequest;
256
249
  const DeletePrometheusRecordRuleYamlResponse = models.DeletePrometheusRecordRuleYamlResponse;
257
250
  const MetricDataPoint = models.MetricDataPoint;
258
- const ExportPrometheusReadOnlyDynamicAPIResponse = models.ExportPrometheusReadOnlyDynamicAPIResponse;
259
251
  const GetMonitorDataRequest = models.GetMonitorDataRequest;
260
252
  const CreateRecordingRuleRequest = models.CreateRecordingRuleRequest;
261
253
  const ModifyPrometheusConfigRequest = models.ModifyPrometheusConfigRequest;
@@ -268,7 +260,7 @@ const GrafanaIntegrationConfig = models.GrafanaIntegrationConfig;
268
260
  const DeleteGrafanaIntegrationRequest = models.DeleteGrafanaIntegrationRequest;
269
261
  const ModifyPrometheusAlertPolicyResponse = models.ModifyPrometheusAlertPolicyResponse;
270
262
  const DescribePrometheusTargetsTMPRequest = models.DescribePrometheusTargetsTMPRequest;
271
- const CreateServiceDiscoveryRequest = models.CreateServiceDiscoveryRequest;
263
+ const UnbindPrometheusManagedGrafanaResponse = models.UnbindPrometheusManagedGrafanaResponse;
272
264
  const PeriodsSt = models.PeriodsSt;
273
265
  const ModifyAlarmReceiversResponse = models.ModifyAlarmReceiversResponse;
274
266
  const RoutePrometheusDynamicAPIResponse = models.RoutePrometheusDynamicAPIResponse;
@@ -284,7 +276,7 @@ const CreatePrometheusClusterAgentRequest = models.CreatePrometheusClusterAgentR
284
276
  const ModifyAlarmPolicyConditionResponse = models.ModifyAlarmPolicyConditionResponse;
285
277
  const DescribePrometheusInstancesOverviewResponse = models.DescribePrometheusInstancesOverviewResponse;
286
278
  const MetricSet = models.MetricSet;
287
- const DescribePrometheusRecordRuleYamlResponse = models.DescribePrometheusRecordRuleYamlResponse;
279
+ const PrometheusInstanceGrantInfo = models.PrometheusInstanceGrantInfo;
288
280
  const RoutePrometheusDynamicAPIRequest = models.RoutePrometheusDynamicAPIRequest;
289
281
  const TemplateGroup = models.TemplateGroup;
290
282
  const DescribeBindingPolicyObjectListInstance = models.DescribeBindingPolicyObjectListInstance;
@@ -297,7 +289,7 @@ const ModifyAlarmPolicyNoticeResponse = models.ModifyAlarmPolicyNoticeResponse;
297
289
  const NoticeSendGroup = models.NoticeSendGroup;
298
290
  const PrometheusDynamicAPIResponseHTTP = models.PrometheusDynamicAPIResponseHTTP;
299
291
  const PrometheusAlertRule = models.PrometheusAlertRule;
300
- const UnbindPrometheusManagedGrafanaResponse = models.UnbindPrometheusManagedGrafanaResponse;
292
+ const CleanGrafanaInstanceResponse = models.CleanGrafanaInstanceResponse;
301
293
  const DescribeGrafanaChannelsResponse = models.DescribeGrafanaChannelsResponse;
302
294
  const DescribeAlarmPolicyResponse = models.DescribeAlarmPolicyResponse;
303
295
  const PrometheusNotificationItem = models.PrometheusNotificationItem;
@@ -306,7 +298,6 @@ const UpgradeGrafanaInstanceRequest = models.UpgradeGrafanaInstanceRequest;
306
298
  const DescribeAccidentEventListAlarms = models.DescribeAccidentEventListAlarms;
307
299
  const CreatePrometheusGlobalNotificationResponse = models.CreatePrometheusGlobalNotificationResponse;
308
300
  const DescribeAlarmHistoriesRequest = models.DescribeAlarmHistoriesRequest;
309
- const PrometheusInstanceGrantInfo = models.PrometheusInstanceGrantInfo;
310
301
  const DeletePolicyGroupRequest = models.DeletePolicyGroupRequest;
311
302
  const EnableSSOCamCheckRequest = models.EnableSSOCamCheckRequest;
312
303
  const DeleteGrafanaIntegrationResponse = models.DeleteGrafanaIntegrationResponse;
@@ -351,7 +342,7 @@ const UnBindingAllPolicyObjectResponse = models.UnBindingAllPolicyObjectResponse
351
342
  const DescribeAlarmNoticesRequest = models.DescribeAlarmNoticesRequest;
352
343
  const RunPrometheusInstanceResponse = models.RunPrometheusInstanceResponse;
353
344
  const UpdateExporterIntegrationRequest = models.UpdateExporterIntegrationRequest;
354
- const CheckIsPrometheusNewUserRequest = models.CheckIsPrometheusNewUserRequest;
345
+ const PrometheusAlertCustomReceiver = models.PrometheusAlertCustomReceiver;
355
346
  const DescribeAlarmNoticeResponse = models.DescribeAlarmNoticeResponse;
356
347
  const DeleteAlertRulesRequest = models.DeleteAlertRulesRequest;
357
348
  const SyncPrometheusTempRequest = models.SyncPrometheusTempRequest;
@@ -374,7 +365,6 @@ const DeleteRecordingRulesResponse = models.DeleteRecordingRulesResponse;
374
365
  const UpdateGrafanaWhiteListRequest = models.UpdateGrafanaWhiteListRequest;
375
366
  const UpdatePrometheusAgentStatusRequest = models.UpdatePrometheusAgentStatusRequest;
376
367
  const DescribeGrafanaInstancesResponse = models.DescribeGrafanaInstancesResponse;
377
- const CheckIsPrometheusNewUserResponse = models.CheckIsPrometheusNewUserResponse;
378
368
  const DescribePolicyGroupInfoRequest = models.DescribePolicyGroupInfoRequest;
379
369
  const UpdateAlertRuleStateResponse = models.UpdateAlertRuleStateResponse;
380
370
  const ModifyPrometheusRecordRuleYamlRequest = models.ModifyPrometheusRecordRuleYamlRequest;
@@ -394,7 +384,6 @@ const DeletePrometheusScrapeJobsRequest = models.DeletePrometheusScrapeJobsReque
394
384
  const ModifyAlarmPolicyStatusRequest = models.ModifyAlarmPolicyStatusRequest;
395
385
  const ConditionsTemp = models.ConditionsTemp;
396
386
  const Operator = models.Operator;
397
- const DescribeServiceDiscoveryRequest = models.DescribeServiceDiscoveryRequest;
398
387
  const TaskStepInfo = models.TaskStepInfo;
399
388
  const DescribePrometheusTempResponse = models.DescribePrometheusTempResponse;
400
389
  const DescribeGrafanaConfigResponse = models.DescribeGrafanaConfigResponse;
@@ -444,7 +433,7 @@ const DescribePolicyConditionListConfigManualStatType = models.DescribePolicyCon
444
433
  const IntegrationConfiguration = models.IntegrationConfiguration;
445
434
  const DescribePrometheusAgentsResponse = models.DescribePrometheusAgentsResponse;
446
435
  const ModifyPrometheusGlobalNotificationResponse = models.ModifyPrometheusGlobalNotificationResponse;
447
- const CleanGrafanaInstanceResponse = models.CleanGrafanaInstanceResponse;
436
+ const DimensionsDesc = models.DimensionsDesc;
448
437
  const CreateAlertRuleRequest = models.CreateAlertRuleRequest;
449
438
  const ModifyPrometheusRecordRuleYamlResponse = models.ModifyPrometheusRecordRuleYamlResponse;
450
439
  const DeletePrometheusScrapeJobsResponse = models.DeletePrometheusScrapeJobsResponse;
@@ -650,17 +639,6 @@ support the following APIs:
650
639
  this.request("CreateAlarmPolicy", req, resp, cb);
651
640
  }
652
641
 
653
- /**
654
- * This API is used to update the exporter integration configuration.
655
- * @param {UpdateExporterIntegrationRequest} req
656
- * @param {function(string, UpdateExporterIntegrationResponse):void} cb
657
- * @public
658
- */
659
- UpdateExporterIntegration(req, cb) {
660
- let resp = new UpdateExporterIntegrationResponse();
661
- this.request("UpdateExporterIntegration", req, resp, cb);
662
- }
663
-
664
642
  /**
665
643
  * This API is used to get the list of recording rules, including those created by CRD resources in the associated cluster.
666
644
  * @param {DescribePrometheusRecordRulesRequest} req
@@ -695,14 +673,14 @@ support the following APIs:
695
673
  }
696
674
 
697
675
  /**
698
- * This API is used to determine whether the user is new to TMP, that is, whether the user has never created a TMP instance in any region.
699
- * @param {CheckIsPrometheusNewUserRequest} req
700
- * @param {function(string, CheckIsPrometheusNewUserResponse):void} cb
676
+ * This API is used to list the AZs of Tencent Managed Service for Prometheus (TMP).
677
+ * @param {DescribePrometheusZonesRequest} req
678
+ * @param {function(string, DescribePrometheusZonesResponse):void} cb
701
679
  * @public
702
680
  */
703
- CheckIsPrometheusNewUser(req, cb) {
704
- let resp = new CheckIsPrometheusNewUserResponse();
705
- this.request("CheckIsPrometheusNewUser", req, resp, cb);
681
+ DescribePrometheusZones(req, cb) {
682
+ let resp = new DescribePrometheusZonesResponse();
683
+ this.request("DescribePrometheusZones", req, resp, cb);
706
684
  }
707
685
 
708
686
  /**
@@ -1329,17 +1307,6 @@ Alarm policies in the same type under the project will be set as non-default.
1329
1307
  this.request("CreateSSOAccount", req, resp, cb);
1330
1308
  }
1331
1309
 
1332
- /**
1333
- * This API is used to send a custom alarm notification.
1334
- * @param {SendCustomAlarmMsgRequest} req
1335
- * @param {function(string, SendCustomAlarmMsgResponse):void} cb
1336
- * @public
1337
- */
1338
- SendCustomAlarmMsg(req, cb) {
1339
- let resp = new SendCustomAlarmMsgResponse();
1340
- this.request("SendCustomAlarmMsg", req, resp, cb);
1341
- }
1342
-
1343
1310
  /**
1344
1311
  * Creates an on-call schedule.
1345
1312
  * @param {CreateOnCallFormRequest} req
@@ -1743,17 +1710,6 @@ This API is used to enable individually creating enabled/disabled alert rules un
1743
1710
  this.request("DescribePrometheusTempSync", req, resp, cb);
1744
1711
  }
1745
1712
 
1746
- /**
1747
- * This API is used to list the AZs of Tencent Managed Service for Prometheus (TMP).
1748
- * @param {DescribePrometheusZonesRequest} req
1749
- * @param {function(string, DescribePrometheusZonesResponse):void} cb
1750
- * @public
1751
- */
1752
- DescribePrometheusZones(req, cb) {
1753
- let resp = new DescribePrometheusZonesResponse();
1754
- this.request("DescribePrometheusZones", req, resp, cb);
1755
- }
1756
-
1757
1713
  /**
1758
1714
  * Describes On-Call Schedule Details.
1759
1715
  * @param {DescribeOnCallFormRequest} req
@@ -2011,19 +1967,6 @@ If you need to call a large number of APIs to pull metrics or objects at a time,
2011
1967
  this.request("UpdateDNSConfig", req, resp, cb);
2012
1968
  }
2013
1969
 
2014
- /**
2015
- * This API is used to list Prometheus scrape configurations in TKE.
2016
- <p>Note: The prerequisite is that the corresponding TKE service has been integrated through the Prometheus console. For more information, see
2017
- <a href="https://intl.cloud.tencent.com/document/product/248/48859?from_cn_redirect=1" target="_blank">Agent Management</a>.</p>
2018
- * @param {DescribeServiceDiscoveryRequest} req
2019
- * @param {function(string, DescribeServiceDiscoveryResponse):void} cb
2020
- * @public
2021
- */
2022
- DescribeServiceDiscovery(req, cb) {
2023
- let resp = new DescribeServiceDiscoveryResponse();
2024
- this.request("DescribeServiceDiscovery", req, resp, cb);
2025
- }
2026
-
2027
1970
  /**
2028
1971
  * This API is used to list installed Grafana integrations.
2029
1972
  * @param {DescribeGrafanaIntegrationsRequest} req
@@ -2058,14 +2001,14 @@ If you need to call a large number of APIs to pull metrics or objects at a time,
2058
2001
  }
2059
2002
 
2060
2003
  /**
2061
- * This API is used to get the YAML list of Prometheus recording rules.
2062
- * @param {DescribePrometheusRecordRuleYamlRequest} req
2063
- * @param {function(string, DescribePrometheusRecordRuleYamlResponse):void} cb
2004
+ * This API is used to update the exporter integration configuration.
2005
+ * @param {UpdateExporterIntegrationRequest} req
2006
+ * @param {function(string, UpdateExporterIntegrationResponse):void} cb
2064
2007
  * @public
2065
2008
  */
2066
- DescribePrometheusRecordRuleYaml(req, cb) {
2067
- let resp = new DescribePrometheusRecordRuleYamlResponse();
2068
- this.request("DescribePrometheusRecordRuleYaml", req, resp, cb);
2009
+ UpdateExporterIntegration(req, cb) {
2010
+ let resp = new UpdateExporterIntegrationResponse();
2011
+ this.request("UpdateExporterIntegration", req, resp, cb);
2069
2012
  }
2070
2013
 
2071
2014
  /**
@@ -2079,19 +2022,6 @@ If you need to call a large number of APIs to pull metrics or objects at a time,
2079
2022
  this.request("DescribeAllNamespaces", req, resp, cb);
2080
2023
  }
2081
2024
 
2082
- /**
2083
- * This API is used to create a Prometheus scrape configuration in TKE.
2084
- <p>Note: The prerequisite is that the corresponding TKE service has been integrated through the Prometheus console. For more information, see
2085
- <a href="https://intl.cloud.tencent.com/document/product/248/48859?from_cn_redirect=1" target="_blank">Agent Management</a>.</p>
2086
- * @param {CreateServiceDiscoveryRequest} req
2087
- * @param {function(string, CreateServiceDiscoveryResponse):void} cb
2088
- * @public
2089
- */
2090
- CreateServiceDiscovery(req, cb) {
2091
- let resp = new CreateServiceDiscoveryResponse();
2092
- this.request("CreateServiceDiscovery", req, resp, cb);
2093
- }
2094
-
2095
2025
  /**
2096
2026
  * This API is used to create a recording rule in the YAML way.
2097
2027
  * @param {CreatePrometheusRecordRuleYamlRequest} req