tencentcloud-sdk-nodejs-intl-en 3.0.1391 → 3.0.1393

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.
@@ -6742,7 +6742,7 @@ class DescribePrometheusInstancesRequest extends AbstractModel {
6742
6742
 
6743
6743
  /**
6744
6744
  * Filter by billing mode
6745
- <li>2: Monthly subscription</li>
6745
+ <li>2: Yearly/Monthly subscription</li>
6746
6746
  <li>3: Pay-as-you-go</li>
6747
6747
  * @type {number || null}
6748
6748
  */
@@ -8062,7 +8062,7 @@ class ModifyPrometheusInstanceAttributesResponse extends AbstractModel {
8062
8062
  super();
8063
8063
 
8064
8064
  /**
8065
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
8065
+ * 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.
8066
8066
  * @type {string || null}
8067
8067
  */
8068
8068
  this.RequestId = null;
@@ -9159,7 +9159,7 @@ class ResumeGrafanaInstanceRequest extends AbstractModel {
9159
9159
  super();
9160
9160
 
9161
9161
  /**
9162
- * TCMG instance ID, such as grafana-12345678”.
9162
+ * TCMG instance ID, such as grafana-12345678.
9163
9163
  * @type {string || null}
9164
9164
  */
9165
9165
  this.InstanceId = null;
@@ -9425,7 +9425,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
9425
9425
  /**
9426
9426
  * Instance billing mode. Valid values:
9427
9427
 
9428
- `2`: Monthly subscription
9428
+ `2`: yearly/monthly subscription
9429
9429
  `3`: Pay-as-you-go
9430
9430
  * @type {number || null}
9431
9431
  */
@@ -9465,7 +9465,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
9465
9465
  this.AutoRenewFlag = null;
9466
9466
 
9467
9467
  /**
9468
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
9468
+ * 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.
9469
9469
  * @type {string || null}
9470
9470
  */
9471
9471
  this.RequestId = null;
@@ -10085,24 +10085,30 @@ class CreateGrafanaInstanceRequest extends AbstractModel {
10085
10085
  */
10086
10086
  this.SubnetIds = null;
10087
10087
 
10088
- /**
10089
- * Initial Grafana password
10090
- * @type {string || null}
10091
- */
10092
- this.GrafanaInitPassword = null;
10093
-
10094
10088
  /**
10095
10089
  * Whether to enable public network access
10096
10090
  * @type {boolean || null}
10097
10091
  */
10098
10092
  this.EnableInternet = null;
10099
10093
 
10094
+ /**
10095
+ * Initial Grafana password
10096
+ * @type {string || null}
10097
+ */
10098
+ this.GrafanaInitPassword = null;
10099
+
10100
10100
  /**
10101
10101
  * Tag
10102
10102
  * @type {Array.<PrometheusTag> || null}
10103
10103
  */
10104
10104
  this.TagSpecification = null;
10105
10105
 
10106
+ /**
10107
+ *
10108
+ * @type {boolean || null}
10109
+ */
10110
+ this.AutoVoucher = null;
10111
+
10106
10112
  }
10107
10113
 
10108
10114
  /**
@@ -10115,8 +10121,8 @@ class CreateGrafanaInstanceRequest extends AbstractModel {
10115
10121
  this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
10116
10122
  this.VpcId = 'VpcId' in params ? params.VpcId : null;
10117
10123
  this.SubnetIds = 'SubnetIds' in params ? params.SubnetIds : null;
10118
- this.GrafanaInitPassword = 'GrafanaInitPassword' in params ? params.GrafanaInitPassword : null;
10119
10124
  this.EnableInternet = 'EnableInternet' in params ? params.EnableInternet : null;
10125
+ this.GrafanaInitPassword = 'GrafanaInitPassword' in params ? params.GrafanaInitPassword : null;
10120
10126
 
10121
10127
  if (params.TagSpecification) {
10122
10128
  this.TagSpecification = new Array();
@@ -10126,6 +10132,7 @@ class CreateGrafanaInstanceRequest extends AbstractModel {
10126
10132
  this.TagSpecification.push(obj);
10127
10133
  }
10128
10134
  }
10135
+ this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
10129
10136
 
10130
10137
  }
10131
10138
  }
@@ -10679,7 +10686,7 @@ class CreateGrafanaInstanceResponse extends AbstractModel {
10679
10686
  this.InstanceId = null;
10680
10687
 
10681
10688
  /**
10682
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
10689
+ * 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.
10683
10690
  * @type {string || null}
10684
10691
  */
10685
10692
  this.RequestId = null;
@@ -10987,7 +10994,7 @@ class ResumeGrafanaInstanceResponse extends AbstractModel {
10987
10994
  super();
10988
10995
 
10989
10996
  /**
10990
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
10997
+ * 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.
10991
10998
  * @type {string || null}
10992
10999
  */
10993
11000
  this.RequestId = null;
@@ -12537,7 +12544,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
12537
12544
  this.TotalCount = null;
12538
12545
 
12539
12546
  /**
12540
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
12547
+ * 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.
12541
12548
  * @type {string || null}
12542
12549
  */
12543
12550
  this.RequestId = null;
@@ -13059,7 +13066,7 @@ class PrometheusInstancesItem extends AbstractModel {
13059
13066
  /**
13060
13067
  * Instance billing mode. Valid values:
13061
13068
  <ul>
13062
- <li>2: Monthly subscription</li>
13069
+ <li>2: Yearly/Monthly subscription</li>
13063
13070
  <li>3: Pay-as-you-go</li>
13064
13071
  </ul>
13065
13072
  * @type {number || null}
@@ -13286,6 +13293,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
13286
13293
  */
13287
13294
  this.MigrationType = null;
13288
13295
 
13296
+ /**
13297
+ *
13298
+ * @type {Array.<PrometheusRuleKV> || null}
13299
+ */
13300
+ this.InstanceAttributes = null;
13301
+
13289
13302
  }
13290
13303
 
13291
13304
  /**
@@ -13339,6 +13352,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
13339
13352
  this.RecordingRuleLimit = 'RecordingRuleLimit' in params ? params.RecordingRuleLimit : null;
13340
13353
  this.MigrationType = 'MigrationType' in params ? params.MigrationType : null;
13341
13354
 
13355
+ if (params.InstanceAttributes) {
13356
+ this.InstanceAttributes = new Array();
13357
+ for (let z in params.InstanceAttributes) {
13358
+ let obj = new PrometheusRuleKV();
13359
+ obj.deserialize(params.InstanceAttributes[z]);
13360
+ this.InstanceAttributes.push(obj);
13361
+ }
13362
+ }
13363
+
13342
13364
  }
13343
13365
  }
13344
13366
 
@@ -19495,23 +19517,29 @@ class ModifyPrometheusInstanceAttributesRequest extends AbstractModel {
19495
19517
  super();
19496
19518
 
19497
19519
  /**
19498
- * Instance name
19520
+ * Instance ID
19499
19521
  * @type {string || null}
19500
19522
  */
19501
- this.InstanceName = null;
19523
+ this.InstanceId = null;
19502
19524
 
19503
19525
  /**
19504
- * Instance ID
19526
+ * Instance name
19505
19527
  * @type {string || null}
19506
19528
  */
19507
- this.InstanceId = null;
19529
+ this.InstanceName = null;
19508
19530
 
19509
19531
  /**
19510
- * Storage period. Valid values: 15, 30, 45. This parameter is not applicable to monthly subscribed instances.
19532
+ * Storage period. Valid values: 15, 30, 45. This parameter is not applicable to yearly/monthly subscribed instances.
19511
19533
  * @type {number || null}
19512
19534
  */
19513
19535
  this.DataRetentionTime = null;
19514
19536
 
19537
+ /**
19538
+ *
19539
+ * @type {Array.<PrometheusRuleKV> || null}
19540
+ */
19541
+ this.InstanceAttributes = null;
19542
+
19515
19543
  }
19516
19544
 
19517
19545
  /**
@@ -19521,10 +19549,19 @@ class ModifyPrometheusInstanceAttributesRequest extends AbstractModel {
19521
19549
  if (!params) {
19522
19550
  return;
19523
19551
  }
19524
- this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
19525
19552
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
19553
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
19526
19554
  this.DataRetentionTime = 'DataRetentionTime' in params ? params.DataRetentionTime : null;
19527
19555
 
19556
+ if (params.InstanceAttributes) {
19557
+ this.InstanceAttributes = new Array();
19558
+ for (let z in params.InstanceAttributes) {
19559
+ let obj = new PrometheusRuleKV();
19560
+ obj.deserialize(params.InstanceAttributes[z]);
19561
+ this.InstanceAttributes.push(obj);
19562
+ }
19563
+ }
19564
+
19528
19565
  }
19529
19566
  }
19530
19567
 
@@ -23058,7 +23095,7 @@ class DeleteGrafanaInstanceResponse extends AbstractModel {
23058
23095
  super();
23059
23096
 
23060
23097
  /**
23061
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
23098
+ * 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.
23062
23099
  * @type {string || null}
23063
23100
  */
23064
23101
  this.RequestId = null;
@@ -624,7 +624,7 @@ support the following APIs:
624
624
  }
625
625
 
626
626
  /**
627
- * 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.
627
+ * This API is used to create a yearly/monthly subscribed TCMG instance of the Basic Edition, with auto-renewal enabled and vouchers not allowed by default.
628
628
  * @param {CreateGrafanaInstanceRequest} req
629
629
  * @param {function(string, CreateGrafanaInstanceResponse):void} cb
630
630
  * @public
@@ -1281,7 +1281,7 @@ Alarm policies in the same type under the project will be set as non-default.
1281
1281
  }
1282
1282
 
1283
1283
  /**
1284
- * 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.
1284
+ * This API is used to refund a yearly/monthly subscribed TCMG instance. Once it is called, the instance cannot be used and will be automatically terminated seven days later.
1285
1285
  * @param {DeleteGrafanaInstanceRequest} req
1286
1286
  * @param {function(string, DeleteGrafanaInstanceResponse):void} cb
1287
1287
  * @public
@@ -1380,7 +1380,7 @@ Alarm policies in the same type under the project will be set as non-default.
1380
1380
  }
1381
1381
 
1382
1382
  /**
1383
- * 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.
1383
+ * This API is used to renew a yearly/monthly subscribed TCMG instance for a month without changing the instance edition. It doesn't apply to running instances.
1384
1384
  * @param {ResumeGrafanaInstanceRequest} req
1385
1385
  * @param {function(string, ResumeGrafanaInstanceResponse):void} cb
1386
1386
  * @public
@@ -36585,7 +36585,7 @@ class ProcessLiveStreamRequest extends AbstractModel {
36585
36585
  super();
36586
36586
 
36587
36587
  /**
36588
- * <p>Live stream URL (this must be a live stream address; supported formats include RTMP, HLS, FLV, TRTC, WebRTC, and SRT).<br>TRTC address example:<br> trtc://trtc.rtc.qq.com/mps/<code>&lt;roomid&gt;</code>?sdkappid=<code>&lt;sdkappid&gt;</code>&amp;userid=<code>&lt;userid&gt;</code>&amp;usersig=<code>&lt;usersig&gt;</code><br><code>&lt;roomid&gt;</code> is the TRTC room ID.<br><code>&lt;sdkappid&gt;</code> is the TRTC SDK app ID.<br><code>&lt;userid&gt;</code> is the ID of the user who enters the room, which can be used to distinguish bots.<br><code>&lt;usersig&gt;</code> is the TRTC user signature.</p><p>WebRTC supports <a href="https://www.tencentcloud.com/product/leb?from_cn_redirect=1">LEB</a> live streams. For more information about how to obtain the address, see <a href="https://www.tencentcloud.com/document/product/267/32720?from_cn_redirect=1">this reference</a>.</p><p>For supported SRT addresses, see <a href="https://ffmpeg.org/ffmpeg-protocols.html#srt">this reference</a>.</p>
36588
+ * <p>Live stream URL (this must be a live stream address; supported formats include RTMP, HLS, FLV, TRTC, WebRTC, and SRT).<br>TRTC address example:<br> trtc://trtc.rtc.qq.com/mps/<code>&lt;roomid&gt;</code>?sdkappid=<code>&lt;sdkappid&gt;</code>&amp;userid=<code>&lt;userid&gt;</code>&amp;usersig=<code>&lt;usersig&gt;</code><br><code>&lt;roomid&gt;</code> is the TRTC room ID.<br><code>&lt;sdkappid&gt;</code> is the TRTC SDK app ID.<br><code>&lt;userid&gt;</code> is the ID of the user who enters the room, which can be used to distinguish bots.<br><code>&lt;usersig&gt;</code> is the TRTC user signature.</p><p>WebRTC supports LEB live streams. For more information about how to obtain the address, see <a href="https://www.tencentcloud.com/document/product/267/32720?from_cn_redirect=1">this reference</a>.</p><p>For supported SRT addresses, see <a href="https://ffmpeg.org/ffmpeg-protocols.html#srt">this reference</a>.</p>
36589
36589
  * @type {string || null}
36590
36590
  */
36591
36591
  this.Url = null;
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210331: require("./v20210331"), v20181225: require("./v20181225"),
2
+ v20181225: require("./v20181225"), v20210331: require("./v20210331"),
3
3
  };