tencentcloud-sdk-nodejs-intl-en 3.0.440 → 3.0.441
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.441";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -666,6 +666,41 @@ class DescribeMaintenanceWindowResponse extends AbstractModel {
|
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
+
/**
|
|
670
|
+
* ModifyInstanceReadOnly response structure.
|
|
671
|
+
* @class
|
|
672
|
+
*/
|
|
673
|
+
class ModifyInstanceReadOnlyResponse extends AbstractModel {
|
|
674
|
+
constructor(){
|
|
675
|
+
super();
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Task ID
|
|
679
|
+
* @type {number || null}
|
|
680
|
+
*/
|
|
681
|
+
this.TaskId = null;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
685
|
+
* @type {string || null}
|
|
686
|
+
*/
|
|
687
|
+
this.RequestId = null;
|
|
688
|
+
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @private
|
|
693
|
+
*/
|
|
694
|
+
deserialize(params) {
|
|
695
|
+
if (!params) {
|
|
696
|
+
return;
|
|
697
|
+
}
|
|
698
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
699
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
700
|
+
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
669
704
|
/**
|
|
670
705
|
* ReleaseWanAddress response structure.
|
|
671
706
|
* @class
|
|
@@ -2720,6 +2755,41 @@ class ModfiyInstancePasswordResponse extends AbstractModel {
|
|
|
2720
2755
|
}
|
|
2721
2756
|
}
|
|
2722
2757
|
|
|
2758
|
+
/**
|
|
2759
|
+
* ModifyInstanceReadOnly request structure.
|
|
2760
|
+
* @class
|
|
2761
|
+
*/
|
|
2762
|
+
class ModifyInstanceReadOnlyRequest extends AbstractModel {
|
|
2763
|
+
constructor(){
|
|
2764
|
+
super();
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* Instance ID
|
|
2768
|
+
* @type {string || null}
|
|
2769
|
+
*/
|
|
2770
|
+
this.InstanceId = null;
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* Instance input mode. Valid values: `0` (read/write), `1` (read-only)
|
|
2774
|
+
* @type {string || null}
|
|
2775
|
+
*/
|
|
2776
|
+
this.InputMode = null;
|
|
2777
|
+
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
/**
|
|
2781
|
+
* @private
|
|
2782
|
+
*/
|
|
2783
|
+
deserialize(params) {
|
|
2784
|
+
if (!params) {
|
|
2785
|
+
return;
|
|
2786
|
+
}
|
|
2787
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2788
|
+
this.InputMode = 'InputMode' in params ? params.InputMode : null;
|
|
2789
|
+
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2723
2793
|
/**
|
|
2724
2794
|
* Slow log details
|
|
2725
2795
|
* @class
|
|
@@ -2797,6 +2867,7 @@ module.exports = {
|
|
|
2797
2867
|
InquiryPriceCreateInstanceRequest: InquiryPriceCreateInstanceRequest,
|
|
2798
2868
|
DescribeProductInfoResponse: DescribeProductInfoResponse,
|
|
2799
2869
|
DescribeMaintenanceWindowResponse: DescribeMaintenanceWindowResponse,
|
|
2870
|
+
ModifyInstanceReadOnlyResponse: ModifyInstanceReadOnlyResponse,
|
|
2800
2871
|
ReleaseWanAddressResponse: ReleaseWanAddressResponse,
|
|
2801
2872
|
ProductConf: ProductConf,
|
|
2802
2873
|
BigKeyTypeInfo: BigKeyTypeInfo,
|
|
@@ -2840,6 +2911,7 @@ module.exports = {
|
|
|
2840
2911
|
DescribeInstanceMonitorHotKeyResponse: DescribeInstanceMonitorHotKeyResponse,
|
|
2841
2912
|
DescribeInstanceMonitorTopNCmdRequest: DescribeInstanceMonitorTopNCmdRequest,
|
|
2842
2913
|
ModfiyInstancePasswordResponse: ModfiyInstancePasswordResponse,
|
|
2914
|
+
ModifyInstanceReadOnlyRequest: ModifyInstanceReadOnlyRequest,
|
|
2843
2915
|
InstanceSlowlogDetail: InstanceSlowlogDetail,
|
|
2844
2916
|
|
|
2845
2917
|
}
|
|
@@ -29,6 +29,7 @@ const DescribeInstanceMonitorBigKeyTypeDistRequest = models.DescribeInstanceMoni
|
|
|
29
29
|
const InquiryPriceCreateInstanceRequest = models.InquiryPriceCreateInstanceRequest;
|
|
30
30
|
const DescribeProductInfoResponse = models.DescribeProductInfoResponse;
|
|
31
31
|
const DescribeMaintenanceWindowResponse = models.DescribeMaintenanceWindowResponse;
|
|
32
|
+
const ModifyInstanceReadOnlyResponse = models.ModifyInstanceReadOnlyResponse;
|
|
32
33
|
const ReleaseWanAddressResponse = models.ReleaseWanAddressResponse;
|
|
33
34
|
const ProductConf = models.ProductConf;
|
|
34
35
|
const BigKeyTypeInfo = models.BigKeyTypeInfo;
|
|
@@ -72,6 +73,7 @@ const DescribeReplicationGroupResponse = models.DescribeReplicationGroupResponse
|
|
|
72
73
|
const DescribeInstanceMonitorHotKeyResponse = models.DescribeInstanceMonitorHotKeyResponse;
|
|
73
74
|
const DescribeInstanceMonitorTopNCmdRequest = models.DescribeInstanceMonitorTopNCmdRequest;
|
|
74
75
|
const ModfiyInstancePasswordResponse = models.ModfiyInstancePasswordResponse;
|
|
76
|
+
const ModifyInstanceReadOnlyRequest = models.ModifyInstanceReadOnlyRequest;
|
|
75
77
|
const InstanceSlowlogDetail = models.InstanceSlowlogDetail;
|
|
76
78
|
|
|
77
79
|
|
|
@@ -118,6 +120,17 @@ class RedisClient extends AbstractClient {
|
|
|
118
120
|
this.request("DescribeInstanceNodeInfo", req, resp, cb);
|
|
119
121
|
}
|
|
120
122
|
|
|
123
|
+
/**
|
|
124
|
+
* This API is used to set instance input mode.
|
|
125
|
+
* @param {ModifyInstanceReadOnlyRequest} req
|
|
126
|
+
* @param {function(string, ModifyInstanceReadOnlyResponse):void} cb
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
ModifyInstanceReadOnly(req, cb) {
|
|
130
|
+
let resp = new ModifyInstanceReadOnlyResponse();
|
|
131
|
+
this.request("ModifyInstanceReadOnly", req, resp, cb);
|
|
132
|
+
}
|
|
133
|
+
|
|
121
134
|
/**
|
|
122
135
|
* This API is used to query the big key size distribution of an instance.
|
|
123
136
|
* @param {DescribeInstanceMonitorBigKeySizeDistRequest} req
|
|
@@ -5167,6 +5167,12 @@ class FileDeleteTask extends AbstractModel {
|
|
|
5167
5167
|
*/
|
|
5168
5168
|
this.FileIdSet = null;
|
|
5169
5169
|
|
|
5170
|
+
/**
|
|
5171
|
+
* The information of the files deleted.
|
|
5172
|
+
* @type {Array.<FileDeleteResultItem> || null}
|
|
5173
|
+
*/
|
|
5174
|
+
this.FileDeleteResultInfo = null;
|
|
5175
|
+
|
|
5170
5176
|
}
|
|
5171
5177
|
|
|
5172
5178
|
/**
|
|
@@ -5178,6 +5184,15 @@ class FileDeleteTask extends AbstractModel {
|
|
|
5178
5184
|
}
|
|
5179
5185
|
this.FileIdSet = 'FileIdSet' in params ? params.FileIdSet : null;
|
|
5180
5186
|
|
|
5187
|
+
if (params.FileDeleteResultInfo) {
|
|
5188
|
+
this.FileDeleteResultInfo = new Array();
|
|
5189
|
+
for (let z in params.FileDeleteResultInfo) {
|
|
5190
|
+
let obj = new FileDeleteResultItem();
|
|
5191
|
+
obj.deserialize(params.FileDeleteResultInfo[z]);
|
|
5192
|
+
this.FileDeleteResultInfo.push(obj);
|
|
5193
|
+
}
|
|
5194
|
+
}
|
|
5195
|
+
|
|
5181
5196
|
}
|
|
5182
5197
|
}
|
|
5183
5198
|
|
|
@@ -7980,7 +7995,7 @@ class LiveRealTimeClipRequest extends AbstractModel {
|
|
|
7980
7995
|
super();
|
|
7981
7996
|
|
|
7982
7997
|
/**
|
|
7983
|
-
*
|
|
7998
|
+
* The live stream code.
|
|
7984
7999
|
* @type {string || null}
|
|
7985
8000
|
*/
|
|
7986
8001
|
this.StreamId = null;
|
|
@@ -17464,6 +17479,50 @@ class SegmentConfigureInfo extends AbstractModel {
|
|
|
17464
17479
|
}
|
|
17465
17480
|
}
|
|
17466
17481
|
|
|
17482
|
+
/**
|
|
17483
|
+
* The result of file deletion.
|
|
17484
|
+
* @class
|
|
17485
|
+
*/
|
|
17486
|
+
class FileDeleteResultItem extends AbstractModel {
|
|
17487
|
+
constructor(){
|
|
17488
|
+
super();
|
|
17489
|
+
|
|
17490
|
+
/**
|
|
17491
|
+
* The ID of the file deleted.
|
|
17492
|
+
* @type {string || null}
|
|
17493
|
+
*/
|
|
17494
|
+
this.FileId = null;
|
|
17495
|
+
|
|
17496
|
+
/**
|
|
17497
|
+
* The type of the file deleted.
|
|
17498
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
17499
|
+
* @type {Array.<MediaDeleteItem> || null}
|
|
17500
|
+
*/
|
|
17501
|
+
this.DeleteParts = null;
|
|
17502
|
+
|
|
17503
|
+
}
|
|
17504
|
+
|
|
17505
|
+
/**
|
|
17506
|
+
* @private
|
|
17507
|
+
*/
|
|
17508
|
+
deserialize(params) {
|
|
17509
|
+
if (!params) {
|
|
17510
|
+
return;
|
|
17511
|
+
}
|
|
17512
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
17513
|
+
|
|
17514
|
+
if (params.DeleteParts) {
|
|
17515
|
+
this.DeleteParts = new Array();
|
|
17516
|
+
for (let z in params.DeleteParts) {
|
|
17517
|
+
let obj = new MediaDeleteItem();
|
|
17518
|
+
obj.deserialize(params.DeleteParts[z]);
|
|
17519
|
+
this.DeleteParts.push(obj);
|
|
17520
|
+
}
|
|
17521
|
+
}
|
|
17522
|
+
|
|
17523
|
+
}
|
|
17524
|
+
}
|
|
17525
|
+
|
|
17467
17526
|
/**
|
|
17468
17527
|
* Referer hotlink protection configuration
|
|
17469
17528
|
* @class
|
|
@@ -22771,11 +22830,14 @@ class VideoTemplateInfoForUpdate extends AbstractModel {
|
|
|
22771
22830
|
super();
|
|
22772
22831
|
|
|
22773
22832
|
/**
|
|
22774
|
-
*
|
|
22833
|
+
* The video codec. Valid values:
|
|
22775
22834
|
<li>libx264: H.264</li>
|
|
22776
22835
|
<li>libx265: H.265</li>
|
|
22777
22836
|
<li>av1: AOMedia Video 1</li>
|
|
22778
|
-
|
|
22837
|
+
<li>H.266: H.266</li>
|
|
22838
|
+
<font color=red>Notes:</font>
|
|
22839
|
+
<li>The AOMedia Video 1 and H.266 codecs can only be used for MP4 files.</li>
|
|
22840
|
+
<li> Only CRF is supported for H.266 currently.</li>
|
|
22779
22841
|
* @type {string || null}
|
|
22780
22842
|
*/
|
|
22781
22843
|
this.Codec = null;
|
|
@@ -22829,8 +22891,12 @@ If the value is 0, the bitrate of the video will be the same as that of the sour
|
|
|
22829
22891
|
this.FillType = null;
|
|
22830
22892
|
|
|
22831
22893
|
/**
|
|
22832
|
-
*
|
|
22833
|
-
|
|
22894
|
+
* The video constant rate factor (CRF). Value range: 1-51. `0` means to disable this parameter.
|
|
22895
|
+
|
|
22896
|
+
<font color=red>Notes:</font>
|
|
22897
|
+
<li>If this parameter is specified, CRF encoding will be used and the bitrate parameter will be ignored.</li>
|
|
22898
|
+
<li>If `Codec` is `H.266`, this parameter is required (`28` is recommended).</li>
|
|
22899
|
+
<li>We don’t recommend using this parameter unless you have special requirements.</li>
|
|
22834
22900
|
* @type {number || null}
|
|
22835
22901
|
*/
|
|
22836
22902
|
this.Vcrf = null;
|
|
@@ -31656,6 +31722,7 @@ module.exports = {
|
|
|
31656
31722
|
AiRecognitionTaskOcrFullTextSegmentTextItem: AiRecognitionTaskOcrFullTextSegmentTextItem,
|
|
31657
31723
|
SnapshotByTimeOffsetTaskInput: SnapshotByTimeOffsetTaskInput,
|
|
31658
31724
|
SegmentConfigureInfo: SegmentConfigureInfo,
|
|
31725
|
+
FileDeleteResultItem: FileDeleteResultItem,
|
|
31659
31726
|
RefererAuthPolicy: RefererAuthPolicy,
|
|
31660
31727
|
TaskStatDataItem: TaskStatDataItem,
|
|
31661
31728
|
ParseStreamingManifestResponse: ParseStreamingManifestResponse,
|
|
@@ -328,6 +328,7 @@ const ImageSpriteTemplate = models.ImageSpriteTemplate;
|
|
|
328
328
|
const AiRecognitionTaskOcrFullTextSegmentTextItem = models.AiRecognitionTaskOcrFullTextSegmentTextItem;
|
|
329
329
|
const SnapshotByTimeOffsetTaskInput = models.SnapshotByTimeOffsetTaskInput;
|
|
330
330
|
const SegmentConfigureInfo = models.SegmentConfigureInfo;
|
|
331
|
+
const FileDeleteResultItem = models.FileDeleteResultItem;
|
|
331
332
|
const RefererAuthPolicy = models.RefererAuthPolicy;
|
|
332
333
|
const TaskStatDataItem = models.TaskStatDataItem;
|
|
333
334
|
const ParseStreamingManifestResponse = models.ParseStreamingManifestResponse;
|