tencentcloud-sdk-nodejs-intl-en 3.0.366 → 3.0.367
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/cbs/v20170312/models.js +15 -1
- package/tencentcloud/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/cdb/v20170320/models.js +21 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/gaap/v20180529/gaap_client.js +1 -1
- package/tencentcloud/gaap/v20180529/models.js +50 -6
- package/tencentcloud/live/v20180801/live_client.js +11 -10
- package/tencentcloud/live/v20180801/models.js +37 -19
- package/tencentcloud/tke/v20180525/models.js +61 -0
package/package.json
CHANGED
|
@@ -419,6 +419,12 @@ class TerminateDisksRequest extends AbstractModel {
|
|
|
419
419
|
*/
|
|
420
420
|
this.DiskIds = null;
|
|
421
421
|
|
|
422
|
+
/**
|
|
423
|
+
* Delete the associated non-permanently reserved snapshots upon deletion of the source cloud disk. `0`: No (default). `1`: Yes. To check whether a snapshot is permanently reserved, refer to the `IsPermanent` field returned by the `DescribeSnapshots` API.
|
|
424
|
+
* @type {number || null}
|
|
425
|
+
*/
|
|
426
|
+
this.DeleteSnapshot = null;
|
|
427
|
+
|
|
422
428
|
}
|
|
423
429
|
|
|
424
430
|
/**
|
|
@@ -429,6 +435,7 @@ class TerminateDisksRequest extends AbstractModel {
|
|
|
429
435
|
return;
|
|
430
436
|
}
|
|
431
437
|
this.DiskIds = 'DiskIds' in params ? params.DiskIds : null;
|
|
438
|
+
this.DeleteSnapshot = 'DeleteSnapshot' in params ? params.DeleteSnapshot : null;
|
|
432
439
|
|
|
433
440
|
}
|
|
434
441
|
}
|
|
@@ -3089,7 +3096,7 @@ class CreateSnapshotRequest extends AbstractModel {
|
|
|
3089
3096
|
this.SnapshotName = null;
|
|
3090
3097
|
|
|
3091
3098
|
/**
|
|
3092
|
-
* Expiration time of the snapshot. The snapshot will be automatically deleted
|
|
3099
|
+
* Expiration time of the snapshot. It must be in UTC ISO-8601 format, eg. 2022-01-08T09:47:55+00:00. The snapshot will be automatically deleted when it expires
|
|
3093
3100
|
* @type {string || null}
|
|
3094
3101
|
*/
|
|
3095
3102
|
this.Deadline = null;
|
|
@@ -3746,6 +3753,12 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
3746
3753
|
*/
|
|
3747
3754
|
this.CreateTime = null;
|
|
3748
3755
|
|
|
3756
|
+
/**
|
|
3757
|
+
* Delete the associated non-permanently reserved snapshots upon deletion of the source cloud disk. `0`: No (default). `1`: Yes. To check whether a snapshot is permanently reserved, refer to the `IsPermanent` field returned by the `DescribeSnapshots` API.
|
|
3758
|
+
* @type {number || null}
|
|
3759
|
+
*/
|
|
3760
|
+
this.DeleteSnapshot = null;
|
|
3761
|
+
|
|
3749
3762
|
}
|
|
3750
3763
|
|
|
3751
3764
|
/**
|
|
@@ -3803,6 +3816,7 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
3803
3816
|
this.ReturnFailCode = 'ReturnFailCode' in params ? params.ReturnFailCode : null;
|
|
3804
3817
|
this.Shareable = 'Shareable' in params ? params.Shareable : null;
|
|
3805
3818
|
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
3819
|
+
this.DeleteSnapshot = 'DeleteSnapshot' in params ? params.DeleteSnapshot : null;
|
|
3806
3820
|
|
|
3807
3821
|
}
|
|
3808
3822
|
}
|
|
@@ -1157,7 +1157,7 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
|
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
1159
|
/**
|
|
1160
|
-
* This API is used to query the list of
|
|
1160
|
+
* This API is used to query the list of SQL files imported by users. The common request parameter `Region` must be `ap-shanghai`.
|
|
1161
1161
|
* @param {DescribeUploadedFilesRequest} req
|
|
1162
1162
|
* @param {function(string, DescribeUploadedFilesResponse):void} cb
|
|
1163
1163
|
* @public
|
|
@@ -2050,6 +2050,12 @@ class DescribeParamTemplatesRequest extends AbstractModel {
|
|
|
2050
2050
|
constructor(){
|
|
2051
2051
|
super();
|
|
2052
2052
|
|
|
2053
|
+
/**
|
|
2054
|
+
*
|
|
2055
|
+
* @type {Array.<string> || null}
|
|
2056
|
+
*/
|
|
2057
|
+
this.EngineVersions = null;
|
|
2058
|
+
|
|
2053
2059
|
}
|
|
2054
2060
|
|
|
2055
2061
|
/**
|
|
@@ -2059,6 +2065,7 @@ class DescribeParamTemplatesRequest extends AbstractModel {
|
|
|
2059
2065
|
if (!params) {
|
|
2060
2066
|
return;
|
|
2061
2067
|
}
|
|
2068
|
+
this.EngineVersions = 'EngineVersions' in params ? params.EngineVersions : null;
|
|
2062
2069
|
|
|
2063
2070
|
}
|
|
2064
2071
|
}
|
|
@@ -4097,6 +4104,12 @@ class CreateDBInstanceHourRequest extends AbstractModel {
|
|
|
4097
4104
|
*/
|
|
4098
4105
|
this.CageId = null;
|
|
4099
4106
|
|
|
4107
|
+
/**
|
|
4108
|
+
* Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template).
|
|
4109
|
+
* @type {string || null}
|
|
4110
|
+
*/
|
|
4111
|
+
this.ParamTemplateType = null;
|
|
4112
|
+
|
|
4100
4113
|
/**
|
|
4101
4114
|
* The array of alarm policy names, such as ["policy-uyoee9wg"]. If the `AlarmPolicyList` parameter is specified, this parameter is invalid.
|
|
4102
4115
|
* @type {Array.<string> || null}
|
|
@@ -4171,6 +4184,7 @@ class CreateDBInstanceHourRequest extends AbstractModel {
|
|
|
4171
4184
|
this.Cpu = 'Cpu' in params ? params.Cpu : null;
|
|
4172
4185
|
this.AutoSyncFlag = 'AutoSyncFlag' in params ? params.AutoSyncFlag : null;
|
|
4173
4186
|
this.CageId = 'CageId' in params ? params.CageId : null;
|
|
4187
|
+
this.ParamTemplateType = 'ParamTemplateType' in params ? params.ParamTemplateType : null;
|
|
4174
4188
|
this.AlarmPolicyIdList = 'AlarmPolicyIdList' in params ? params.AlarmPolicyIdList : null;
|
|
4175
4189
|
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
4176
4190
|
|
|
@@ -4620,6 +4634,12 @@ which is left empty by default. Specify this parameter when cloning a strong syn
|
|
|
4620
4634
|
*/
|
|
4621
4635
|
this.DryRun = null;
|
|
4622
4636
|
|
|
4637
|
+
/**
|
|
4638
|
+
* Financial cage ID.
|
|
4639
|
+
* @type {string || null}
|
|
4640
|
+
*/
|
|
4641
|
+
this.CageId = null;
|
|
4642
|
+
|
|
4623
4643
|
}
|
|
4624
4644
|
|
|
4625
4645
|
/**
|
|
@@ -4656,6 +4676,7 @@ which is left empty by default. Specify this parameter when cloning a strong syn
|
|
|
4656
4676
|
this.InstanceNodes = 'InstanceNodes' in params ? params.InstanceNodes : null;
|
|
4657
4677
|
this.DeployGroupId = 'DeployGroupId' in params ? params.DeployGroupId : null;
|
|
4658
4678
|
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
4679
|
+
this.CageId = 'CageId' in params ? params.CageId : null;
|
|
4659
4680
|
|
|
4660
4681
|
}
|
|
4661
4682
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.367";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -544,7 +544,7 @@ Note: This API unbinds the previously bound origin servers, and binds the origin
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
|
-
* This API
|
|
547
|
+
* This API is used to query the available accelerator region based on the origin server region.
|
|
548
548
|
* @param {DescribeAccessRegionsByDestRegionRequest} req
|
|
549
549
|
* @param {function(string, DescribeAccessRegionsByDestRegionResponse):void} cb
|
|
550
550
|
* @public
|
|
@@ -3770,6 +3770,7 @@ AccessRegion - String - Required: No - Filter by access region.
|
|
|
3770
3770
|
RealServerRegion - String - Required: No - Filter by origin server region.
|
|
3771
3771
|
GroupId - String - Required: No - Filter by connection group ID.
|
|
3772
3772
|
IPAddressVersion - String - Required: No - Filter by IP version.
|
|
3773
|
+
PackageType - String - Required: No - Filter by package type of connection groups.
|
|
3773
3774
|
* @type {Array.<Filter> || null}
|
|
3774
3775
|
*/
|
|
3775
3776
|
this.Filters = null;
|
|
@@ -5472,7 +5473,7 @@ class DescribeAccessRegionsByDestRegionRequest extends AbstractModel {
|
|
|
5472
5473
|
this.IPAddressVersion = null;
|
|
5473
5474
|
|
|
5474
5475
|
/**
|
|
5475
|
-
* Package type of connection groups. Valid values: `Thunder` (general
|
|
5476
|
+
* Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
|
|
5476
5477
|
* @type {string || null}
|
|
5477
5478
|
*/
|
|
5478
5479
|
this.PackageType = null;
|
|
@@ -6250,11 +6251,23 @@ The connection is to be replicated if this parameter is set.
|
|
|
6250
6251
|
this.IPAddressVersion = null;
|
|
6251
6252
|
|
|
6252
6253
|
/**
|
|
6253
|
-
* Network type.
|
|
6254
|
+
* Network type. `normal`: general BGP; `cn2`: dedicated BGP; `triple`: Non-BGP (provided by the top 3 ISPs in the Chinese mainland).
|
|
6254
6255
|
* @type {string || null}
|
|
6255
6256
|
*/
|
|
6256
6257
|
this.NetworkType = null;
|
|
6257
6258
|
|
|
6259
|
+
/**
|
|
6260
|
+
* Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
|
|
6261
|
+
* @type {string || null}
|
|
6262
|
+
*/
|
|
6263
|
+
this.PackageType = null;
|
|
6264
|
+
|
|
6265
|
+
/**
|
|
6266
|
+
*
|
|
6267
|
+
* @type {number || null}
|
|
6268
|
+
*/
|
|
6269
|
+
this.Http3Supported = null;
|
|
6270
|
+
|
|
6258
6271
|
}
|
|
6259
6272
|
|
|
6260
6273
|
/**
|
|
@@ -6285,6 +6298,8 @@ The connection is to be replicated if this parameter is set.
|
|
|
6285
6298
|
this.BillingType = 'BillingType' in params ? params.BillingType : null;
|
|
6286
6299
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
6287
6300
|
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
6301
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
6302
|
+
this.Http3Supported = 'Http3Supported' in params ? params.Http3Supported : null;
|
|
6288
6303
|
|
|
6289
6304
|
}
|
|
6290
6305
|
}
|
|
@@ -8133,6 +8148,12 @@ class AccessRegionDetial extends AbstractModel {
|
|
|
8133
8148
|
*/
|
|
8134
8149
|
this.IDCType = null;
|
|
8135
8150
|
|
|
8151
|
+
/**
|
|
8152
|
+
*
|
|
8153
|
+
* @type {number || null}
|
|
8154
|
+
*/
|
|
8155
|
+
this.FeatureBitmap = null;
|
|
8156
|
+
|
|
8136
8157
|
}
|
|
8137
8158
|
|
|
8138
8159
|
/**
|
|
@@ -8149,6 +8170,7 @@ class AccessRegionDetial extends AbstractModel {
|
|
|
8149
8170
|
this.RegionArea = 'RegionArea' in params ? params.RegionArea : null;
|
|
8150
8171
|
this.RegionAreaName = 'RegionAreaName' in params ? params.RegionAreaName : null;
|
|
8151
8172
|
this.IDCType = 'IDCType' in params ? params.IDCType : null;
|
|
8173
|
+
this.FeatureBitmap = 'FeatureBitmap' in params ? params.FeatureBitmap : null;
|
|
8152
8174
|
|
|
8153
8175
|
}
|
|
8154
8176
|
}
|
|
@@ -9712,11 +9734,17 @@ class CheckProxyCreateRequest extends AbstractModel {
|
|
|
9712
9734
|
this.NetworkType = null;
|
|
9713
9735
|
|
|
9714
9736
|
/**
|
|
9715
|
-
* Package type of connection groups. Valid values: `Thunder` (general connection group)
|
|
9737
|
+
* Package type of connection groups. Valid values: `Thunder` (general connection group), `Accelerator` (game accelerator connection group), and `CrossBorder` (cross-border connection group).
|
|
9716
9738
|
* @type {string || null}
|
|
9717
9739
|
*/
|
|
9718
9740
|
this.PackageType = null;
|
|
9719
9741
|
|
|
9742
|
+
/**
|
|
9743
|
+
*
|
|
9744
|
+
* @type {number || null}
|
|
9745
|
+
*/
|
|
9746
|
+
this.Http3Supported = null;
|
|
9747
|
+
|
|
9720
9748
|
}
|
|
9721
9749
|
|
|
9722
9750
|
/**
|
|
@@ -9734,6 +9762,7 @@ class CheckProxyCreateRequest extends AbstractModel {
|
|
|
9734
9762
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
9735
9763
|
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
9736
9764
|
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
9765
|
+
this.Http3Supported = 'Http3Supported' in params ? params.Http3Supported : null;
|
|
9737
9766
|
|
|
9738
9767
|
}
|
|
9739
9768
|
}
|
|
@@ -9753,7 +9782,7 @@ class DescribeRegionAndPriceRequest extends AbstractModel {
|
|
|
9753
9782
|
this.IPAddressVersion = null;
|
|
9754
9783
|
|
|
9755
9784
|
/**
|
|
9756
|
-
* Package type of connection groups. Valid values: `Thunder` (general
|
|
9785
|
+
* Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
|
|
9757
9786
|
* @type {string || null}
|
|
9758
9787
|
*/
|
|
9759
9788
|
this.PackageType = null;
|
|
@@ -10408,11 +10437,17 @@ class InquiryPriceCreateProxyRequest extends AbstractModel {
|
|
|
10408
10437
|
this.NetworkType = null;
|
|
10409
10438
|
|
|
10410
10439
|
/**
|
|
10411
|
-
* Package type of connection groups. Valid values: `Thunder` (general
|
|
10440
|
+
* Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).
|
|
10412
10441
|
* @type {string || null}
|
|
10413
10442
|
*/
|
|
10414
10443
|
this.PackageType = null;
|
|
10415
10444
|
|
|
10445
|
+
/**
|
|
10446
|
+
*
|
|
10447
|
+
* @type {number || null}
|
|
10448
|
+
*/
|
|
10449
|
+
this.Http3Supported = null;
|
|
10450
|
+
|
|
10416
10451
|
}
|
|
10417
10452
|
|
|
10418
10453
|
/**
|
|
@@ -10432,6 +10467,7 @@ class InquiryPriceCreateProxyRequest extends AbstractModel {
|
|
|
10432
10467
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
10433
10468
|
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
10434
10469
|
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
10470
|
+
this.Http3Supported = 'Http3Supported' in params ? params.Http3Supported : null;
|
|
10435
10471
|
|
|
10436
10472
|
}
|
|
10437
10473
|
}
|
|
@@ -10832,7 +10868,8 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
10832
10868
|
this.NetworkType = null;
|
|
10833
10869
|
|
|
10834
10870
|
/**
|
|
10835
|
-
* Package type of connection groups. Valid values: `Thunder` (general
|
|
10871
|
+
* Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games),
|
|
10872
|
+
and `CrossBorder` (cross-MLC-border connection).
|
|
10836
10873
|
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
10837
10874
|
* @type {string || null}
|
|
10838
10875
|
*/
|
|
@@ -10851,6 +10888,12 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
10851
10888
|
*/
|
|
10852
10889
|
this.IPList = null;
|
|
10853
10890
|
|
|
10891
|
+
/**
|
|
10892
|
+
*
|
|
10893
|
+
* @type {number || null}
|
|
10894
|
+
*/
|
|
10895
|
+
this.Http3Supported = null;
|
|
10896
|
+
|
|
10854
10897
|
}
|
|
10855
10898
|
|
|
10856
10899
|
/**
|
|
@@ -10918,6 +10961,7 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
10918
10961
|
this.IPList.push(obj);
|
|
10919
10962
|
}
|
|
10920
10963
|
}
|
|
10964
|
+
this.Http3Supported = 'Http3Supported' in params ? params.Http3Supported : null;
|
|
10921
10965
|
|
|
10922
10966
|
}
|
|
10923
10967
|
}
|
|
@@ -939,7 +939,7 @@ Note: to query by `AppName`, you need to submit a ticket first. After your appli
|
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
/**
|
|
942
|
-
* This API is used to
|
|
942
|
+
* This API is used to terminate an ongoing recording task and generate a recording file.
|
|
943
943
|
* @param {StopRecordTaskRequest} req
|
|
944
944
|
* @param {function(string, StopRecordTaskResponse):void} cb
|
|
945
945
|
* @public
|
|
@@ -1220,8 +1220,8 @@ Note: Up to 10,000 entries can be queried per page. More data can be obtained by
|
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
1222
|
/**
|
|
1223
|
-
*
|
|
1224
|
-
<br>
|
|
1223
|
+
* This API is used to create a recording template. You can create up to 50 templates. To use a template, you need to call the [CreateLiveRecordRule](https://intl.cloud.tencent.com/document/product/267/32615?from_cn_redirect=1) API to bind the template ID returned by this API to a stream.
|
|
1224
|
+
<br>More on recording: [Live Recording](https://intl.cloud.tencent.com/document/product/267/32739?from_cn_redirect=1)
|
|
1225
1225
|
* @param {CreateLiveRecordTemplateRequest} req
|
|
1226
1226
|
* @param {function(string, CreateLiveRecordTemplateResponse):void} cb
|
|
1227
1227
|
* @public
|
|
@@ -1334,15 +1334,16 @@ Note: only one screencapturing template can be associated with one domain name.
|
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
1336
|
/**
|
|
1337
|
-
* This API is used to get the stream status,
|
|
1338
|
-
Note: this API is used to query the stream status, and should not be relied too much upon in important business scenarios.
|
|
1337
|
+
* This API is used to get the stream status, which may be active, inactive, or disabled.
|
|
1339
1338
|
|
|
1340
1339
|
Notes:
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1340
|
+
This API allows you to query the status of a stream in real time. Given external factors such as network jitter, note the following when you determine whether a host is online:
|
|
1341
|
+
1. If possible, use your own logic of stream starting/stopping in a room, such as streaming signaling on the client and the online heartbeat of a host, to determine whether the host is online.
|
|
1342
|
+
2. If your application does not provide the room management feature, use the following methods to determine whether a host is online:
|
|
1343
|
+
2.1 Use the [live stream callback](https://intl.cloud.tencent.com/document/product/267/20388?from_cn_redirect=1).
|
|
1344
|
+
2.2 Call [DescribeLiveStreamOnlineList](https://intl.cloud.tencent.com/document/api/267/20472?from_cn_redirect=1) on a regular basis (interval > 1 min).
|
|
1345
|
+
2.3 Call this API.
|
|
1346
|
+
2.4 A host is considered to be online if the result returned by any of the above methods indicates so. If an API call times out or a parsing error occurs, to minimize the impact on your business, CSS will also consider the host online.
|
|
1346
1347
|
* @param {DescribeLiveStreamStateRequest} req
|
|
1347
1348
|
* @param {function(string, DescribeLiveStreamStateResponse):void} cb
|
|
1348
1349
|
* @public
|
|
@@ -2295,6 +2295,21 @@ Default value: 5.
|
|
|
2295
2295
|
*/
|
|
2296
2296
|
this.ServiceName = null;
|
|
2297
2297
|
|
|
2298
|
+
/**
|
|
2299
|
+
* Region. Valid values:
|
|
2300
|
+
China Mainland
|
|
2301
|
+
Asia Pacific I
|
|
2302
|
+
Asia Pacific II
|
|
2303
|
+
Asia Pacific III
|
|
2304
|
+
Europe
|
|
2305
|
+
North America
|
|
2306
|
+
South America
|
|
2307
|
+
Middle East
|
|
2308
|
+
Africa
|
|
2309
|
+
* @type {Array.<string> || null}
|
|
2310
|
+
*/
|
|
2311
|
+
this.RegionNames = null;
|
|
2312
|
+
|
|
2298
2313
|
}
|
|
2299
2314
|
|
|
2300
2315
|
/**
|
|
@@ -2310,6 +2325,7 @@ Default value: 5.
|
|
|
2310
2325
|
this.MainlandOrOversea = 'MainlandOrOversea' in params ? params.MainlandOrOversea : null;
|
|
2311
2326
|
this.Granularity = 'Granularity' in params ? params.Granularity : null;
|
|
2312
2327
|
this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
|
|
2328
|
+
this.RegionNames = 'RegionNames' in params ? params.RegionNames : null;
|
|
2313
2329
|
|
|
2314
2330
|
}
|
|
2315
2331
|
}
|
|
@@ -3531,9 +3547,10 @@ class CommonMixLayoutParams extends AbstractModel {
|
|
|
3531
3547
|
super();
|
|
3532
3548
|
|
|
3533
3549
|
/**
|
|
3534
|
-
* Input layer. Value range: [1,16]
|
|
3535
|
-
1) For
|
|
3536
|
-
2)
|
|
3550
|
+
* Input layer. Value range: [1,16]
|
|
3551
|
+
(1) For the background stream, i.e., the room owner’s image or the canvas, set this parameter to `1`.
|
|
3552
|
+
(2) This parameter is required for audio-only stream mixing as well.
|
|
3553
|
+
Note that two inputs cannot have the same `ImageLayer` value.
|
|
3537
3554
|
* @type {number || null}
|
|
3538
3555
|
*/
|
|
3539
3556
|
this.ImageLayer = null;
|
|
@@ -3551,24 +3568,24 @@ If this parameter is left empty, 0 will be used by default.
|
|
|
3551
3568
|
this.InputType = null;
|
|
3552
3569
|
|
|
3553
3570
|
/**
|
|
3554
|
-
* Output
|
|
3571
|
+
* Output height of input video image. Value range:
|
|
3555
3572
|
Pixel: [0,2000]
|
|
3556
3573
|
Percentage: [0.01,0.99]
|
|
3557
|
-
If this parameter is left empty, the input stream
|
|
3558
|
-
If percentage is used, the expected output is (percentage * background
|
|
3574
|
+
If this parameter is left empty, the input stream height will be used by default.
|
|
3575
|
+
If percentage is used, the expected output is (percentage * background height).
|
|
3559
3576
|
* @type {number || null}
|
|
3560
3577
|
*/
|
|
3561
|
-
this.
|
|
3578
|
+
this.ImageHeight = null;
|
|
3562
3579
|
|
|
3563
3580
|
/**
|
|
3564
|
-
* Output
|
|
3581
|
+
* Output width of input video image. Value range:
|
|
3565
3582
|
Pixel: [0,2000]
|
|
3566
3583
|
Percentage: [0.01,0.99]
|
|
3567
|
-
If this parameter is left empty, the input stream
|
|
3568
|
-
If percentage is used, the expected output is (percentage * background
|
|
3584
|
+
If this parameter is left empty, the input stream width will be used by default.
|
|
3585
|
+
If percentage is used, the expected output is (percentage * background width).
|
|
3569
3586
|
* @type {number || null}
|
|
3570
3587
|
*/
|
|
3571
|
-
this.
|
|
3588
|
+
this.ImageWidth = null;
|
|
3572
3589
|
|
|
3573
3590
|
/**
|
|
3574
3591
|
* X-axis offset of input in output video image. Value range:
|
|
@@ -3623,8 +3640,8 @@ Gray: 0x999999
|
|
|
3623
3640
|
}
|
|
3624
3641
|
this.ImageLayer = 'ImageLayer' in params ? params.ImageLayer : null;
|
|
3625
3642
|
this.InputType = 'InputType' in params ? params.InputType : null;
|
|
3626
|
-
this.ImageWidth = 'ImageWidth' in params ? params.ImageWidth : null;
|
|
3627
3643
|
this.ImageHeight = 'ImageHeight' in params ? params.ImageHeight : null;
|
|
3644
|
+
this.ImageWidth = 'ImageWidth' in params ? params.ImageWidth : null;
|
|
3628
3645
|
this.LocationX = 'LocationX' in params ? params.LocationX : null;
|
|
3629
3646
|
this.LocationY = 'LocationY' in params ? params.LocationY : null;
|
|
3630
3647
|
this.Color = 'Color' in params ? params.Color : null;
|
|
@@ -5845,7 +5862,7 @@ class PushDataInfo extends AbstractModel {
|
|
|
5845
5862
|
this.VideoFps = null;
|
|
5846
5863
|
|
|
5847
5864
|
/**
|
|
5848
|
-
*
|
|
5865
|
+
* Video bitrate (Kbps) for publishing
|
|
5849
5866
|
* @type {number || null}
|
|
5850
5867
|
*/
|
|
5851
5868
|
this.VideoSpeed = null;
|
|
@@ -5857,7 +5874,7 @@ class PushDataInfo extends AbstractModel {
|
|
|
5857
5874
|
this.AudioFps = null;
|
|
5858
5875
|
|
|
5859
5876
|
/**
|
|
5860
|
-
*
|
|
5877
|
+
* Audio bitrate (Kbps) for publishing
|
|
5861
5878
|
* @type {number || null}
|
|
5862
5879
|
*/
|
|
5863
5880
|
this.AudioSpeed = null;
|
|
@@ -9829,9 +9846,10 @@ It must be a multiple of 2. The original width is 0.
|
|
|
9829
9846
|
this.NeedAudio = null;
|
|
9830
9847
|
|
|
9831
9848
|
/**
|
|
9832
|
-
* Height. Default value: 0
|
|
9833
|
-
Value range:
|
|
9834
|
-
The value must be a multiple of 2
|
|
9849
|
+
* Height. Default value: 0
|
|
9850
|
+
Value range: 0-3000
|
|
9851
|
+
The value must be a multiple of 2. The original height is `0`.
|
|
9852
|
+
This parameter is required for a top speed codec template (when `AiTransCode` is `1`).
|
|
9835
9853
|
* @type {number || null}
|
|
9836
9854
|
*/
|
|
9837
9855
|
this.Height = null;
|
|
@@ -11030,8 +11048,8 @@ Only letters, digits, underscores, and hyphens can be contained.
|
|
|
11030
11048
|
this.Description = null;
|
|
11031
11049
|
|
|
11032
11050
|
/**
|
|
11033
|
-
* Screencapturing interval
|
|
11034
|
-
Value range:
|
|
11051
|
+
* Screencapturing interval (s). Default value: 10
|
|
11052
|
+
Value range: 2-300
|
|
11035
11053
|
* @type {number || null}
|
|
11036
11054
|
*/
|
|
11037
11055
|
this.SnapshotInterval = null;
|
|
@@ -1120,6 +1120,13 @@ Note: this field may return `null`, indicating that no valid value is obtained.
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
this.UserScript = null;
|
|
1122
1122
|
|
|
1123
|
+
/**
|
|
1124
|
+
* Resource tag
|
|
1125
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1126
|
+
* @type {Array.<Tag> || null}
|
|
1127
|
+
*/
|
|
1128
|
+
this.Tags = null;
|
|
1129
|
+
|
|
1123
1130
|
}
|
|
1124
1131
|
|
|
1125
1132
|
/**
|
|
@@ -1169,6 +1176,15 @@ Note: this field may return `null`, indicating that no valid value is obtained.
|
|
|
1169
1176
|
this.DesiredPodNum = 'DesiredPodNum' in params ? params.DesiredPodNum : null;
|
|
1170
1177
|
this.UserScript = 'UserScript' in params ? params.UserScript : null;
|
|
1171
1178
|
|
|
1179
|
+
if (params.Tags) {
|
|
1180
|
+
this.Tags = new Array();
|
|
1181
|
+
for (let z in params.Tags) {
|
|
1182
|
+
let obj = new Tag();
|
|
1183
|
+
obj.deserialize(params.Tags[z]);
|
|
1184
|
+
this.Tags.push(obj);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1172
1188
|
}
|
|
1173
1189
|
}
|
|
1174
1190
|
|
|
@@ -4806,6 +4822,13 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
4806
4822
|
*/
|
|
4807
4823
|
this.Annotations = null;
|
|
4808
4824
|
|
|
4825
|
+
/**
|
|
4826
|
+
* Alarm rule status
|
|
4827
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4828
|
+
* @type {number || null}
|
|
4829
|
+
*/
|
|
4830
|
+
this.RuleState = null;
|
|
4831
|
+
|
|
4809
4832
|
}
|
|
4810
4833
|
|
|
4811
4834
|
/**
|
|
@@ -4838,6 +4861,7 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
4838
4861
|
this.Annotations.push(obj);
|
|
4839
4862
|
}
|
|
4840
4863
|
}
|
|
4864
|
+
this.RuleState = 'RuleState' in params ? params.RuleState : null;
|
|
4841
4865
|
|
|
4842
4866
|
}
|
|
4843
4867
|
}
|
|
@@ -6001,6 +6025,18 @@ class ModifyClusterNodePoolRequest extends AbstractModel {
|
|
|
6001
6025
|
*/
|
|
6002
6026
|
this.ExtraArgs = null;
|
|
6003
6027
|
|
|
6028
|
+
/**
|
|
6029
|
+
* Resource tag
|
|
6030
|
+
* @type {Array.<Tag> || null}
|
|
6031
|
+
*/
|
|
6032
|
+
this.Tags = null;
|
|
6033
|
+
|
|
6034
|
+
/**
|
|
6035
|
+
*
|
|
6036
|
+
* @type {number || null}
|
|
6037
|
+
*/
|
|
6038
|
+
this.Unschedulable = null;
|
|
6039
|
+
|
|
6004
6040
|
}
|
|
6005
6041
|
|
|
6006
6042
|
/**
|
|
@@ -6043,6 +6079,16 @@ class ModifyClusterNodePoolRequest extends AbstractModel {
|
|
|
6043
6079
|
this.ExtraArgs = obj;
|
|
6044
6080
|
}
|
|
6045
6081
|
|
|
6082
|
+
if (params.Tags) {
|
|
6083
|
+
this.Tags = new Array();
|
|
6084
|
+
for (let z in params.Tags) {
|
|
6085
|
+
let obj = new Tag();
|
|
6086
|
+
obj.deserialize(params.Tags[z]);
|
|
6087
|
+
this.Tags.push(obj);
|
|
6088
|
+
}
|
|
6089
|
+
}
|
|
6090
|
+
this.Unschedulable = 'Unschedulable' in params ? params.Unschedulable : null;
|
|
6091
|
+
|
|
6046
6092
|
}
|
|
6047
6093
|
}
|
|
6048
6094
|
|
|
@@ -6195,6 +6241,12 @@ class CreateClusterNodePoolRequest extends AbstractModel {
|
|
|
6195
6241
|
*/
|
|
6196
6242
|
this.OsCustomizeType = null;
|
|
6197
6243
|
|
|
6244
|
+
/**
|
|
6245
|
+
* Resource tag
|
|
6246
|
+
* @type {Array.<Tag> || null}
|
|
6247
|
+
*/
|
|
6248
|
+
this.Tags = null;
|
|
6249
|
+
|
|
6198
6250
|
}
|
|
6199
6251
|
|
|
6200
6252
|
/**
|
|
@@ -6236,6 +6288,15 @@ class CreateClusterNodePoolRequest extends AbstractModel {
|
|
|
6236
6288
|
this.NodePoolOs = 'NodePoolOs' in params ? params.NodePoolOs : null;
|
|
6237
6289
|
this.OsCustomizeType = 'OsCustomizeType' in params ? params.OsCustomizeType : null;
|
|
6238
6290
|
|
|
6291
|
+
if (params.Tags) {
|
|
6292
|
+
this.Tags = new Array();
|
|
6293
|
+
for (let z in params.Tags) {
|
|
6294
|
+
let obj = new Tag();
|
|
6295
|
+
obj.deserialize(params.Tags[z]);
|
|
6296
|
+
this.Tags.push(obj);
|
|
6297
|
+
}
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6239
6300
|
}
|
|
6240
6301
|
}
|
|
6241
6302
|
|