tencentcloud-sdk-nodejs-intl-en 3.0.1453 → 3.0.1455
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/cfw/v20190904/cfw_client.js +28 -79
- package/tencentcloud/cfw/v20190904/models.js +423 -672
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/config/v20220802/config_client.js +838 -27
- package/tencentcloud/config/v20220802/models.js +7708 -722
- package/tencentcloud/csip/v20221121/csip_client.js +902 -243
- package/tencentcloud/csip/v20221121/models.js +9490 -2605
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +25 -8
- package/tencentcloud/cynosdb/v20190107/models.js +853 -288
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +18 -2
- package/tencentcloud/dbbrain/v20210527/models.js +859 -35
- package/tencentcloud/dts/index.js +1 -1
- package/tencentcloud/es/index.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +2 -3
- package/tencentcloud/mna/v20210119/mna_client.js +32 -18
- package/tencentcloud/mna/v20210119/models.js +137 -0
- package/tencentcloud/redis/v20180412/models.js +564 -173
- package/tencentcloud/redis/v20180412/redis_client.js +89 -24
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/teo/index.js +1 -1
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +3 -3
- package/tencentcloud/wedata/index.js +1 -1
|
@@ -477,7 +477,7 @@ class RedisBackupSet extends AbstractModel {
|
|
|
477
477
|
this.BackupId = null;
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
-
* <p>Backup type.</p><ul><li>1: Automatic backup initiated by the system in the wee hours
|
|
480
|
+
* <p>Backup type.</p><p>Enumeration values:</p><ul><li>0: User-initiated manual backup</li><li>1: Automatic backup initiated by the system in the wee hours</li><li>2: Backup triggered by configuration changes</li></ul>
|
|
481
481
|
* @type {string || null}
|
|
482
482
|
*/
|
|
483
483
|
this.BackupType = null;
|
|
@@ -1075,7 +1075,7 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
1075
1075
|
this.DryRun = null;
|
|
1076
1076
|
|
|
1077
1077
|
/**
|
|
1078
|
-
* <p>
|
|
1078
|
+
* <p>Instance deployment type.</p><p>Enumeration values:</p><ul><li>local: common type I.</li><li>localv2: common type II.</li><li>cdc: dedicated cluster type.</li><li>cloud: cloud native. Currently not available for sale.</li></ul>
|
|
1079
1079
|
* @type {string || null}
|
|
1080
1080
|
*/
|
|
1081
1081
|
this.ProductVersion = null;
|
|
@@ -1905,30 +1905,18 @@ class RenewInstanceResponse extends AbstractModel {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
|
|
1907
1907
|
/**
|
|
1908
|
-
*
|
|
1908
|
+
* DescribeInstancePasswordPolicy response structure.
|
|
1909
1909
|
* @class
|
|
1910
1910
|
*/
|
|
1911
|
-
class
|
|
1911
|
+
class DescribeInstancePasswordPolicyResponse extends AbstractModel {
|
|
1912
1912
|
constructor(){
|
|
1913
1913
|
super();
|
|
1914
1914
|
|
|
1915
1915
|
/**
|
|
1916
|
-
*
|
|
1917
|
-
* @type {
|
|
1918
|
-
*/
|
|
1919
|
-
this.TotalCount = null;
|
|
1920
|
-
|
|
1921
|
-
/**
|
|
1922
|
-
* Slow query log details. This parameter has been deprecated and will be replaced by InstanceSlowLogDetail because it is not properly named.
|
|
1923
|
-
* @type {Array.<InstanceSlowlogDetail> || null}
|
|
1924
|
-
*/
|
|
1925
|
-
this.InstanceSlowlogDetail = null;
|
|
1926
|
-
|
|
1927
|
-
/**
|
|
1928
|
-
* Slow query details. Note: If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty. It is recommended to reduce the interval between BeginTime and EndTime and perform multiple queries.
|
|
1929
|
-
* @type {Array.<InstanceSlowlogDetail> || null}
|
|
1916
|
+
* <p>Password complexity policy for instances.</p>
|
|
1917
|
+
* @type {PasswordPolicy || null}
|
|
1930
1918
|
*/
|
|
1931
|
-
this.
|
|
1919
|
+
this.PasswordPolicy = null;
|
|
1932
1920
|
|
|
1933
1921
|
/**
|
|
1934
1922
|
* 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.
|
|
@@ -1945,24 +1933,11 @@ class DescribeSlowLogResponse extends AbstractModel {
|
|
|
1945
1933
|
if (!params) {
|
|
1946
1934
|
return;
|
|
1947
1935
|
}
|
|
1948
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1949
|
-
|
|
1950
|
-
if (params.InstanceSlowlogDetail) {
|
|
1951
|
-
this.InstanceSlowlogDetail = new Array();
|
|
1952
|
-
for (let z in params.InstanceSlowlogDetail) {
|
|
1953
|
-
let obj = new InstanceSlowlogDetail();
|
|
1954
|
-
obj.deserialize(params.InstanceSlowlogDetail[z]);
|
|
1955
|
-
this.InstanceSlowlogDetail.push(obj);
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
1936
|
|
|
1959
|
-
if (params.
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
obj.deserialize(params.InstanceSlowLogDetail[z]);
|
|
1964
|
-
this.InstanceSlowLogDetail.push(obj);
|
|
1965
|
-
}
|
|
1937
|
+
if (params.PasswordPolicy) {
|
|
1938
|
+
let obj = new PasswordPolicy();
|
|
1939
|
+
obj.deserialize(params.PasswordPolicy)
|
|
1940
|
+
this.PasswordPolicy = obj;
|
|
1966
1941
|
}
|
|
1967
1942
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1968
1943
|
|
|
@@ -2880,34 +2855,15 @@ class ClearInstanceRequest extends AbstractModel {
|
|
|
2880
2855
|
}
|
|
2881
2856
|
|
|
2882
2857
|
/**
|
|
2883
|
-
*
|
|
2858
|
+
* DescribeInstancePasswordPolicy request structure.
|
|
2884
2859
|
* @class
|
|
2885
2860
|
*/
|
|
2886
|
-
class
|
|
2861
|
+
class DescribeInstancePasswordPolicyRequest extends AbstractModel {
|
|
2887
2862
|
constructor(){
|
|
2888
2863
|
super();
|
|
2889
2864
|
|
|
2890
2865
|
/**
|
|
2891
|
-
*
|
|
2892
|
-
- For Redis 4.0 or later, a standard architecture instance can be upgraded to a cluster architecture instance on the same version; for example, you can upgrade from Redis 4.0 Standard Architecture to Redis 4.0 Cluster Architecture.
|
|
2893
|
-
- Cross-version architecture upgrade is not supported; for example, you cannot upgrade from Redis 4.0 Standard Architecture to Redis 5.0 Cluster Architecture.
|
|
2894
|
-
- The architecture of Redis 2.8 cannot be upgraded.
|
|
2895
|
-
- Cluster architecture cannot be downgraded to standard architecture.
|
|
2896
|
-
|
|
2897
|
-
* @type {string || null}
|
|
2898
|
-
*/
|
|
2899
|
-
this.TargetInstanceType = null;
|
|
2900
|
-
|
|
2901
|
-
/**
|
|
2902
|
-
* Switch time. Valid values:
|
|
2903
|
-
- `1`: Switch in the maintenance time.
|
|
2904
|
-
- `2` (default value): Switch now.
|
|
2905
|
-
* @type {number || null}
|
|
2906
|
-
*/
|
|
2907
|
-
this.SwitchOption = null;
|
|
2908
|
-
|
|
2909
|
-
/**
|
|
2910
|
-
* ID of the specified instance, such as `crs-xjhsdj****`. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it in the instance list.
|
|
2866
|
+
* <p>Instance ID. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy it from the instance list.</p>
|
|
2911
2867
|
* @type {string || null}
|
|
2912
2868
|
*/
|
|
2913
2869
|
this.InstanceId = null;
|
|
@@ -2921,8 +2877,6 @@ class UpgradeInstanceVersionRequest extends AbstractModel {
|
|
|
2921
2877
|
if (!params) {
|
|
2922
2878
|
return;
|
|
2923
2879
|
}
|
|
2924
|
-
this.TargetInstanceType = 'TargetInstanceType' in params ? params.TargetInstanceType : null;
|
|
2925
|
-
this.SwitchOption = 'SwitchOption' in params ? params.SwitchOption : null;
|
|
2926
2880
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2927
2881
|
|
|
2928
2882
|
}
|
|
@@ -4855,13 +4809,37 @@ class ProxyNodes extends AbstractModel {
|
|
|
4855
4809
|
}
|
|
4856
4810
|
|
|
4857
4811
|
/**
|
|
4858
|
-
*
|
|
4812
|
+
* DescribeBackupEncryptConfig response structure.
|
|
4859
4813
|
* @class
|
|
4860
4814
|
*/
|
|
4861
|
-
class
|
|
4815
|
+
class DescribeBackupEncryptConfigResponse extends AbstractModel {
|
|
4862
4816
|
constructor(){
|
|
4863
4817
|
super();
|
|
4864
4818
|
|
|
4819
|
+
/**
|
|
4820
|
+
* <p>Whether the backup is encrypted or not</p><p>Enumeration value:</p><ul><li>true: Encrypted</li><li>false: Unencrypted</li></ul>
|
|
4821
|
+
* @type {boolean || null}
|
|
4822
|
+
*/
|
|
4823
|
+
this.BackupEncrypt = null;
|
|
4824
|
+
|
|
4825
|
+
/**
|
|
4826
|
+
* <p>Encryption key type.</p><p>Enumeration value:</p><ul><li>0: Tencent Cloud hosted (default)</li><li>1: User-customized KMS key</li></ul>
|
|
4827
|
+
* @type {number || null}
|
|
4828
|
+
*/
|
|
4829
|
+
this.EncryptKeyType = null;
|
|
4830
|
+
|
|
4831
|
+
/**
|
|
4832
|
+
* <p>Key ID of KMS.</p><p>Parameter format: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx</p>
|
|
4833
|
+
* @type {string || null}
|
|
4834
|
+
*/
|
|
4835
|
+
this.KmsKeyId = null;
|
|
4836
|
+
|
|
4837
|
+
/**
|
|
4838
|
+
* <p>KMS regional information.</p><p>Parameter format: ap-xxxx</p>
|
|
4839
|
+
* @type {string || null}
|
|
4840
|
+
*/
|
|
4841
|
+
this.KmsRegion = null;
|
|
4842
|
+
|
|
4865
4843
|
/**
|
|
4866
4844
|
* 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.
|
|
4867
4845
|
* @type {string || null}
|
|
@@ -4877,6 +4855,10 @@ class ModifyInstanceResponse extends AbstractModel {
|
|
|
4877
4855
|
if (!params) {
|
|
4878
4856
|
return;
|
|
4879
4857
|
}
|
|
4858
|
+
this.BackupEncrypt = 'BackupEncrypt' in params ? params.BackupEncrypt : null;
|
|
4859
|
+
this.EncryptKeyType = 'EncryptKeyType' in params ? params.EncryptKeyType : null;
|
|
4860
|
+
this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
|
|
4861
|
+
this.KmsRegion = 'KmsRegion' in params ? params.KmsRegion : null;
|
|
4880
4862
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4881
4863
|
|
|
4882
4864
|
}
|
|
@@ -5052,6 +5034,34 @@ class SourceInfo extends AbstractModel {
|
|
|
5052
5034
|
}
|
|
5053
5035
|
}
|
|
5054
5036
|
|
|
5037
|
+
/**
|
|
5038
|
+
* ModifyInstancePasswordPolicy response structure.
|
|
5039
|
+
* @class
|
|
5040
|
+
*/
|
|
5041
|
+
class ModifyInstancePasswordPolicyResponse extends AbstractModel {
|
|
5042
|
+
constructor(){
|
|
5043
|
+
super();
|
|
5044
|
+
|
|
5045
|
+
/**
|
|
5046
|
+
* 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.
|
|
5047
|
+
* @type {string || null}
|
|
5048
|
+
*/
|
|
5049
|
+
this.RequestId = null;
|
|
5050
|
+
|
|
5051
|
+
}
|
|
5052
|
+
|
|
5053
|
+
/**
|
|
5054
|
+
* @private
|
|
5055
|
+
*/
|
|
5056
|
+
deserialize(params) {
|
|
5057
|
+
if (!params) {
|
|
5058
|
+
return;
|
|
5059
|
+
}
|
|
5060
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5061
|
+
|
|
5062
|
+
}
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5055
5065
|
/**
|
|
5056
5066
|
* ModifyDBInstanceSecurityGroups response structure.
|
|
5057
5067
|
* @class
|
|
@@ -5490,6 +5500,41 @@ class ModifyMaintenanceWindowRequest extends AbstractModel {
|
|
|
5490
5500
|
}
|
|
5491
5501
|
}
|
|
5492
5502
|
|
|
5503
|
+
/**
|
|
5504
|
+
* Timestamp range within which second-level backup is missing
|
|
5505
|
+
* @class
|
|
5506
|
+
*/
|
|
5507
|
+
class SecondLevelBackupMissingTimestamps extends AbstractModel {
|
|
5508
|
+
constructor(){
|
|
5509
|
+
super();
|
|
5510
|
+
|
|
5511
|
+
/**
|
|
5512
|
+
* Start timestamp.
|
|
5513
|
+
* @type {number || null}
|
|
5514
|
+
*/
|
|
5515
|
+
this.StartTimeStamp = null;
|
|
5516
|
+
|
|
5517
|
+
/**
|
|
5518
|
+
* End timestamp.
|
|
5519
|
+
* @type {number || null}
|
|
5520
|
+
*/
|
|
5521
|
+
this.EndTimeStamp = null;
|
|
5522
|
+
|
|
5523
|
+
}
|
|
5524
|
+
|
|
5525
|
+
/**
|
|
5526
|
+
* @private
|
|
5527
|
+
*/
|
|
5528
|
+
deserialize(params) {
|
|
5529
|
+
if (!params) {
|
|
5530
|
+
return;
|
|
5531
|
+
}
|
|
5532
|
+
this.StartTimeStamp = 'StartTimeStamp' in params ? params.StartTimeStamp : null;
|
|
5533
|
+
this.EndTimeStamp = 'EndTimeStamp' in params ? params.EndTimeStamp : null;
|
|
5534
|
+
|
|
5535
|
+
}
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5493
5538
|
/**
|
|
5494
5539
|
* DescribeParamTemplateInfo request structure.
|
|
5495
5540
|
* @class
|
|
@@ -6785,6 +6830,41 @@ class KillMasterGroupRequest extends AbstractModel {
|
|
|
6785
6830
|
}
|
|
6786
6831
|
}
|
|
6787
6832
|
|
|
6833
|
+
/**
|
|
6834
|
+
* UpgradeInstanceProductVersion response structure.
|
|
6835
|
+
* @class
|
|
6836
|
+
*/
|
|
6837
|
+
class UpgradeInstanceProductVersionResponse extends AbstractModel {
|
|
6838
|
+
constructor(){
|
|
6839
|
+
super();
|
|
6840
|
+
|
|
6841
|
+
/**
|
|
6842
|
+
* <p>Order number.</p>
|
|
6843
|
+
* @type {string || null}
|
|
6844
|
+
*/
|
|
6845
|
+
this.DealName = null;
|
|
6846
|
+
|
|
6847
|
+
/**
|
|
6848
|
+
* 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.
|
|
6849
|
+
* @type {string || null}
|
|
6850
|
+
*/
|
|
6851
|
+
this.RequestId = null;
|
|
6852
|
+
|
|
6853
|
+
}
|
|
6854
|
+
|
|
6855
|
+
/**
|
|
6856
|
+
* @private
|
|
6857
|
+
*/
|
|
6858
|
+
deserialize(params) {
|
|
6859
|
+
if (!params) {
|
|
6860
|
+
return;
|
|
6861
|
+
}
|
|
6862
|
+
this.DealName = 'DealName' in params ? params.DealName : null;
|
|
6863
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6864
|
+
|
|
6865
|
+
}
|
|
6866
|
+
}
|
|
6867
|
+
|
|
6788
6868
|
/**
|
|
6789
6869
|
* SwitchAccessNewInstance response structure.
|
|
6790
6870
|
* @class
|
|
@@ -7578,24 +7658,18 @@ class ModifyInstanceEventRequest extends AbstractModel {
|
|
|
7578
7658
|
}
|
|
7579
7659
|
|
|
7580
7660
|
/**
|
|
7581
|
-
*
|
|
7661
|
+
* ModifyBackupEncrypt response structure.
|
|
7582
7662
|
* @class
|
|
7583
7663
|
*/
|
|
7584
|
-
class
|
|
7664
|
+
class ModifyBackupEncryptResponse extends AbstractModel {
|
|
7585
7665
|
constructor(){
|
|
7586
7666
|
super();
|
|
7587
7667
|
|
|
7588
7668
|
/**
|
|
7589
|
-
*
|
|
7590
|
-
* @type {
|
|
7591
|
-
*/
|
|
7592
|
-
this.StartTimeStamp = null;
|
|
7593
|
-
|
|
7594
|
-
/**
|
|
7595
|
-
* End timestamp.
|
|
7596
|
-
* @type {number || null}
|
|
7669
|
+
* 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.
|
|
7670
|
+
* @type {string || null}
|
|
7597
7671
|
*/
|
|
7598
|
-
this.
|
|
7672
|
+
this.RequestId = null;
|
|
7599
7673
|
|
|
7600
7674
|
}
|
|
7601
7675
|
|
|
@@ -7606,8 +7680,7 @@ class SecondLevelBackupMissingTimestamps extends AbstractModel {
|
|
|
7606
7680
|
if (!params) {
|
|
7607
7681
|
return;
|
|
7608
7682
|
}
|
|
7609
|
-
this.
|
|
7610
|
-
this.EndTimeStamp = 'EndTimeStamp' in params ? params.EndTimeStamp : null;
|
|
7683
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7611
7684
|
|
|
7612
7685
|
}
|
|
7613
7686
|
}
|
|
@@ -10352,47 +10425,30 @@ class LogDeliveryInfo extends AbstractModel {
|
|
|
10352
10425
|
}
|
|
10353
10426
|
|
|
10354
10427
|
/**
|
|
10355
|
-
*
|
|
10428
|
+
* DescribeSlowLog response structure.
|
|
10356
10429
|
* @class
|
|
10357
10430
|
*/
|
|
10358
|
-
class
|
|
10431
|
+
class DescribeSlowLogResponse extends AbstractModel {
|
|
10359
10432
|
constructor(){
|
|
10360
10433
|
super();
|
|
10361
10434
|
|
|
10362
10435
|
/**
|
|
10363
|
-
*
|
|
10364
|
-
|
|
10365
|
-
- `running`: Running
|
|
10366
|
-
- `succeed`: Succeeded
|
|
10367
|
-
- `failed`: Failed
|
|
10368
|
-
- `Error`: Error occurred while running
|
|
10369
|
-
* @type {string || null}
|
|
10370
|
-
*/
|
|
10371
|
-
this.Status = null;
|
|
10372
|
-
|
|
10373
|
-
/**
|
|
10374
|
-
* Task start time
|
|
10375
|
-
* @type {string || null}
|
|
10376
|
-
*/
|
|
10377
|
-
this.StartTime = null;
|
|
10378
|
-
|
|
10379
|
-
/**
|
|
10380
|
-
* Task type, including `Create`, `Configure`, `Disable Instance`, `Clear Instance`, `Reset Password`, `Upgrade Version`, `Back up Instance`, `Modify Network`, `Migrate to New AZ` and `Promote to Master`.
|
|
10381
|
-
* @type {string || null}
|
|
10436
|
+
* Total number of slow queries
|
|
10437
|
+
* @type {number || null}
|
|
10382
10438
|
*/
|
|
10383
|
-
this.
|
|
10439
|
+
this.TotalCount = null;
|
|
10384
10440
|
|
|
10385
10441
|
/**
|
|
10386
|
-
*
|
|
10387
|
-
* @type {
|
|
10442
|
+
* Slow query log details. This parameter has been deprecated and will be replaced by InstanceSlowLogDetail because it is not properly named.
|
|
10443
|
+
* @type {Array.<InstanceSlowlogDetail> || null}
|
|
10388
10444
|
*/
|
|
10389
|
-
this.
|
|
10445
|
+
this.InstanceSlowlogDetail = null;
|
|
10390
10446
|
|
|
10391
10447
|
/**
|
|
10392
|
-
*
|
|
10393
|
-
* @type {
|
|
10448
|
+
* Slow query details. Note: If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty. It is recommended to reduce the interval between BeginTime and EndTime and perform multiple queries.
|
|
10449
|
+
* @type {Array.<InstanceSlowlogDetail> || null}
|
|
10394
10450
|
*/
|
|
10395
|
-
this.
|
|
10451
|
+
this.InstanceSlowLogDetail = null;
|
|
10396
10452
|
|
|
10397
10453
|
/**
|
|
10398
10454
|
* 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.
|
|
@@ -10409,21 +10465,35 @@ class DescribeTaskInfoResponse extends AbstractModel {
|
|
|
10409
10465
|
if (!params) {
|
|
10410
10466
|
return;
|
|
10411
10467
|
}
|
|
10412
|
-
this.
|
|
10413
|
-
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
10414
|
-
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
10415
|
-
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
10416
|
-
this.TaskMessage = 'TaskMessage' in params ? params.TaskMessage : null;
|
|
10417
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10468
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
10418
10469
|
|
|
10419
|
-
|
|
10420
|
-
|
|
10470
|
+
if (params.InstanceSlowlogDetail) {
|
|
10471
|
+
this.InstanceSlowlogDetail = new Array();
|
|
10472
|
+
for (let z in params.InstanceSlowlogDetail) {
|
|
10473
|
+
let obj = new InstanceSlowlogDetail();
|
|
10474
|
+
obj.deserialize(params.InstanceSlowlogDetail[z]);
|
|
10475
|
+
this.InstanceSlowlogDetail.push(obj);
|
|
10476
|
+
}
|
|
10477
|
+
}
|
|
10421
10478
|
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10479
|
+
if (params.InstanceSlowLogDetail) {
|
|
10480
|
+
this.InstanceSlowLogDetail = new Array();
|
|
10481
|
+
for (let z in params.InstanceSlowLogDetail) {
|
|
10482
|
+
let obj = new InstanceSlowlogDetail();
|
|
10483
|
+
obj.deserialize(params.InstanceSlowLogDetail[z]);
|
|
10484
|
+
this.InstanceSlowLogDetail.push(obj);
|
|
10485
|
+
}
|
|
10486
|
+
}
|
|
10487
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10488
|
+
|
|
10489
|
+
}
|
|
10490
|
+
}
|
|
10491
|
+
|
|
10492
|
+
/**
|
|
10493
|
+
* DescribeInstanceMonitorBigKeyTypeDist response structure.
|
|
10494
|
+
* @class
|
|
10495
|
+
*/
|
|
10496
|
+
class DescribeInstanceMonitorBigKeyTypeDistResponse extends AbstractModel {
|
|
10427
10497
|
constructor(){
|
|
10428
10498
|
super();
|
|
10429
10499
|
|
|
@@ -11243,66 +11313,53 @@ class ModifyReplicationGroupResponse extends AbstractModel {
|
|
|
11243
11313
|
}
|
|
11244
11314
|
|
|
11245
11315
|
/**
|
|
11246
|
-
*
|
|
11316
|
+
* DescribeTaskInfo response structure.
|
|
11247
11317
|
* @class
|
|
11248
11318
|
*/
|
|
11249
|
-
class
|
|
11319
|
+
class DescribeTaskInfoResponse extends AbstractModel {
|
|
11250
11320
|
constructor(){
|
|
11251
11321
|
super();
|
|
11252
11322
|
|
|
11253
11323
|
/**
|
|
11254
|
-
*
|
|
11324
|
+
* Task status. Valid values:
|
|
11325
|
+
- `preparing`: To be run
|
|
11326
|
+
- `running`: Running
|
|
11327
|
+
- `succeed`: Succeeded
|
|
11328
|
+
- `failed`: Failed
|
|
11329
|
+
- `Error`: Error occurred while running
|
|
11255
11330
|
* @type {string || null}
|
|
11256
11331
|
*/
|
|
11257
|
-
this.InstanceName = null;
|
|
11258
|
-
|
|
11259
|
-
/**
|
|
11260
|
-
* <p>Project ID</p>
|
|
11261
|
-
* @type {number || null}
|
|
11262
|
-
*/
|
|
11263
|
-
this.ProjectId = null;
|
|
11264
|
-
|
|
11265
|
-
/**
|
|
11266
|
-
* <p>Instance status
|
|
11267
|
-
* @type {number || null}
|
|
11268
|
-
*/
|
|
11269
11332
|
this.Status = null;
|
|
11270
11333
|
|
|
11271
11334
|
/**
|
|
11272
|
-
*
|
|
11273
|
-
* @type {number || null}
|
|
11274
|
-
*/
|
|
11275
|
-
this.SubStatus = null;
|
|
11276
|
-
|
|
11277
|
-
/**
|
|
11278
|
-
* <p>Region.</p>
|
|
11335
|
+
* Task start time
|
|
11279
11336
|
* @type {string || null}
|
|
11280
11337
|
*/
|
|
11281
|
-
this.
|
|
11338
|
+
this.StartTime = null;
|
|
11282
11339
|
|
|
11283
11340
|
/**
|
|
11284
|
-
*
|
|
11341
|
+
* Task type, including `Create`, `Configure`, `Disable Instance`, `Clear Instance`, `Reset Password`, `Upgrade Version`, `Back up Instance`, `Modify Network`, `Migrate to New AZ` and `Promote to Master`.
|
|
11285
11342
|
* @type {string || null}
|
|
11286
11343
|
*/
|
|
11287
|
-
this.
|
|
11344
|
+
this.TaskType = null;
|
|
11288
11345
|
|
|
11289
11346
|
/**
|
|
11290
|
-
*
|
|
11291
|
-
* @type {
|
|
11347
|
+
* Instance ID
|
|
11348
|
+
* @type {string || null}
|
|
11292
11349
|
*/
|
|
11293
|
-
this.
|
|
11350
|
+
this.InstanceId = null;
|
|
11294
11351
|
|
|
11295
11352
|
/**
|
|
11296
|
-
*
|
|
11297
|
-
* @type {
|
|
11353
|
+
* Message returned by task execution, which will be an error message when execution fails or be empty when the status is `running `or `succeed-`.
|
|
11354
|
+
* @type {string || null}
|
|
11298
11355
|
*/
|
|
11299
|
-
this.
|
|
11356
|
+
this.TaskMessage = null;
|
|
11300
11357
|
|
|
11301
11358
|
/**
|
|
11302
|
-
*
|
|
11303
|
-
* @type {
|
|
11359
|
+
* 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.
|
|
11360
|
+
* @type {string || null}
|
|
11304
11361
|
*/
|
|
11305
|
-
this.
|
|
11362
|
+
this.RequestId = null;
|
|
11306
11363
|
|
|
11307
11364
|
}
|
|
11308
11365
|
|
|
@@ -11313,23 +11370,12 @@ class InstanceInfo extends AbstractModel {
|
|
|
11313
11370
|
if (!params) {
|
|
11314
11371
|
return;
|
|
11315
11372
|
}
|
|
11316
|
-
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
11317
|
-
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
11318
11373
|
this.Status = 'Status' in params ? params.Status : null;
|
|
11319
|
-
this.
|
|
11320
|
-
this.
|
|
11321
|
-
this.
|
|
11322
|
-
this.
|
|
11323
|
-
|
|
11324
|
-
if (params.InstanceTags) {
|
|
11325
|
-
this.InstanceTags = new Array();
|
|
11326
|
-
for (let z in params.InstanceTags) {
|
|
11327
|
-
let obj = new InstanceTagInfo();
|
|
11328
|
-
obj.deserialize(params.InstanceTags[z]);
|
|
11329
|
-
this.InstanceTags.push(obj);
|
|
11330
|
-
}
|
|
11331
|
-
}
|
|
11332
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
11374
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
11375
|
+
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
11376
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
11377
|
+
this.TaskMessage = 'TaskMessage' in params ? params.TaskMessage : null;
|
|
11378
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11333
11379
|
|
|
11334
11380
|
}
|
|
11335
11381
|
}
|
|
@@ -11690,6 +11736,34 @@ class DeleteParamTemplateResponse extends AbstractModel {
|
|
|
11690
11736
|
}
|
|
11691
11737
|
}
|
|
11692
11738
|
|
|
11739
|
+
/**
|
|
11740
|
+
* ModifyInstance response structure.
|
|
11741
|
+
* @class
|
|
11742
|
+
*/
|
|
11743
|
+
class ModifyInstanceResponse extends AbstractModel {
|
|
11744
|
+
constructor(){
|
|
11745
|
+
super();
|
|
11746
|
+
|
|
11747
|
+
/**
|
|
11748
|
+
* 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.
|
|
11749
|
+
* @type {string || null}
|
|
11750
|
+
*/
|
|
11751
|
+
this.RequestId = null;
|
|
11752
|
+
|
|
11753
|
+
}
|
|
11754
|
+
|
|
11755
|
+
/**
|
|
11756
|
+
* @private
|
|
11757
|
+
*/
|
|
11758
|
+
deserialize(params) {
|
|
11759
|
+
if (!params) {
|
|
11760
|
+
return;
|
|
11761
|
+
}
|
|
11762
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11763
|
+
|
|
11764
|
+
}
|
|
11765
|
+
}
|
|
11766
|
+
|
|
11693
11767
|
/**
|
|
11694
11768
|
* UpgradeInstance response structure.
|
|
11695
11769
|
* @class
|
|
@@ -11866,6 +11940,74 @@ class DescribeReplicationGroupResponse extends AbstractModel {
|
|
|
11866
11940
|
}
|
|
11867
11941
|
}
|
|
11868
11942
|
|
|
11943
|
+
/**
|
|
11944
|
+
* ModifyInstancePasswordPolicy request structure.
|
|
11945
|
+
* @class
|
|
11946
|
+
*/
|
|
11947
|
+
class ModifyInstancePasswordPolicyRequest extends AbstractModel {
|
|
11948
|
+
constructor(){
|
|
11949
|
+
super();
|
|
11950
|
+
|
|
11951
|
+
/**
|
|
11952
|
+
* <p>Instance ID. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy it from the instance list.</p>
|
|
11953
|
+
* @type {string || null}
|
|
11954
|
+
*/
|
|
11955
|
+
this.InstanceId = null;
|
|
11956
|
+
|
|
11957
|
+
/**
|
|
11958
|
+
* <p>Password complexity policy control object for instances, including verification metrics for password length and minimum number of various types of characters (letters/digits/special symbols).</p>
|
|
11959
|
+
* @type {PasswordPolicy || null}
|
|
11960
|
+
*/
|
|
11961
|
+
this.PasswordPolicy = null;
|
|
11962
|
+
|
|
11963
|
+
}
|
|
11964
|
+
|
|
11965
|
+
/**
|
|
11966
|
+
* @private
|
|
11967
|
+
*/
|
|
11968
|
+
deserialize(params) {
|
|
11969
|
+
if (!params) {
|
|
11970
|
+
return;
|
|
11971
|
+
}
|
|
11972
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
11973
|
+
|
|
11974
|
+
if (params.PasswordPolicy) {
|
|
11975
|
+
let obj = new PasswordPolicy();
|
|
11976
|
+
obj.deserialize(params.PasswordPolicy)
|
|
11977
|
+
this.PasswordPolicy = obj;
|
|
11978
|
+
}
|
|
11979
|
+
|
|
11980
|
+
}
|
|
11981
|
+
}
|
|
11982
|
+
|
|
11983
|
+
/**
|
|
11984
|
+
* DescribeBackupEncryptConfig request structure.
|
|
11985
|
+
* @class
|
|
11986
|
+
*/
|
|
11987
|
+
class DescribeBackupEncryptConfigRequest extends AbstractModel {
|
|
11988
|
+
constructor(){
|
|
11989
|
+
super();
|
|
11990
|
+
|
|
11991
|
+
/**
|
|
11992
|
+
* <p>Instance ID. Log in to the <a href="https://console.cloud.tencent.com/redis/instance/list">Redis console</a> and copy it from the instance list.</p>
|
|
11993
|
+
* @type {string || null}
|
|
11994
|
+
*/
|
|
11995
|
+
this.InstanceId = null;
|
|
11996
|
+
|
|
11997
|
+
}
|
|
11998
|
+
|
|
11999
|
+
/**
|
|
12000
|
+
* @private
|
|
12001
|
+
*/
|
|
12002
|
+
deserialize(params) {
|
|
12003
|
+
if (!params) {
|
|
12004
|
+
return;
|
|
12005
|
+
}
|
|
12006
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
12007
|
+
|
|
12008
|
+
}
|
|
12009
|
+
}
|
|
12010
|
+
|
|
11869
12011
|
/**
|
|
11870
12012
|
* ModifyParamTemplate request structure.
|
|
11871
12013
|
* @class
|
|
@@ -11993,6 +12135,48 @@ class FailedInstance extends AbstractModel {
|
|
|
11993
12135
|
}
|
|
11994
12136
|
}
|
|
11995
12137
|
|
|
12138
|
+
/**
|
|
12139
|
+
* UpgradeInstanceProductVersion request structure.
|
|
12140
|
+
* @class
|
|
12141
|
+
*/
|
|
12142
|
+
class UpgradeInstanceProductVersionRequest extends AbstractModel {
|
|
12143
|
+
constructor(){
|
|
12144
|
+
super();
|
|
12145
|
+
|
|
12146
|
+
/**
|
|
12147
|
+
* <p>Target product type for the update.</p><p>Enumeration values:</p><ul><li>localv2: General Type II</li></ul>
|
|
12148
|
+
* @type {string || null}
|
|
12149
|
+
*/
|
|
12150
|
+
this.TargetProductVersion = null;
|
|
12151
|
+
|
|
12152
|
+
/**
|
|
12153
|
+
* <p>Switch time.</p><ul><li>1: Switch during maintenance window.</li><li>2: Switch immediately.</li></ul>
|
|
12154
|
+
* @type {number || null}
|
|
12155
|
+
*/
|
|
12156
|
+
this.SwitchOption = null;
|
|
12157
|
+
|
|
12158
|
+
/**
|
|
12159
|
+
* <p>Specifies the instance ID. Example: crs-xjhsdj****. Log in to the <a href="https://console.cloud.tencent.com/redis#/">Redis console</a> and copy the instance ID from the instance list.</p>
|
|
12160
|
+
* @type {string || null}
|
|
12161
|
+
*/
|
|
12162
|
+
this.InstanceId = null;
|
|
12163
|
+
|
|
12164
|
+
}
|
|
12165
|
+
|
|
12166
|
+
/**
|
|
12167
|
+
* @private
|
|
12168
|
+
*/
|
|
12169
|
+
deserialize(params) {
|
|
12170
|
+
if (!params) {
|
|
12171
|
+
return;
|
|
12172
|
+
}
|
|
12173
|
+
this.TargetProductVersion = 'TargetProductVersion' in params ? params.TargetProductVersion : null;
|
|
12174
|
+
this.SwitchOption = 'SwitchOption' in params ? params.SwitchOption : null;
|
|
12175
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
12176
|
+
|
|
12177
|
+
}
|
|
12178
|
+
}
|
|
12179
|
+
|
|
11996
12180
|
/**
|
|
11997
12181
|
* ReleaseWanAddress request structure.
|
|
11998
12182
|
* @class
|
|
@@ -15047,7 +15231,7 @@ class DescribeInstanceBackupsRequest extends AbstractModel {
|
|
|
15047
15231
|
this.EndTime = null;
|
|
15048
15232
|
|
|
15049
15233
|
/**
|
|
15050
|
-
* <p>Backup
|
|
15234
|
+
* <p>Backup status:</p><p>Enumeration values:</p><ul><li>1: Backup is in process.</li><li>2: Backup is normal.</li></ul><p>Default value: 2</p>
|
|
15051
15235
|
* @type {Array.<number> || null}
|
|
15052
15236
|
*/
|
|
15053
15237
|
this.Status = null;
|
|
@@ -15257,6 +15441,98 @@ class SecurityGroupDetail extends AbstractModel {
|
|
|
15257
15441
|
}
|
|
15258
15442
|
}
|
|
15259
15443
|
|
|
15444
|
+
/**
|
|
15445
|
+
* Instance information
|
|
15446
|
+
* @class
|
|
15447
|
+
*/
|
|
15448
|
+
class InstanceInfo extends AbstractModel {
|
|
15449
|
+
constructor(){
|
|
15450
|
+
super();
|
|
15451
|
+
|
|
15452
|
+
/**
|
|
15453
|
+
* <p>Instance name.</p>
|
|
15454
|
+
* @type {string || null}
|
|
15455
|
+
*/
|
|
15456
|
+
this.InstanceName = null;
|
|
15457
|
+
|
|
15458
|
+
/**
|
|
15459
|
+
* <p>Project ID</p>
|
|
15460
|
+
* @type {number || null}
|
|
15461
|
+
*/
|
|
15462
|
+
this.ProjectId = null;
|
|
15463
|
+
|
|
15464
|
+
/**
|
|
15465
|
+
* <p>Instance status
|
|
15466
|
+
* @type {number || null}
|
|
15467
|
+
*/
|
|
15468
|
+
this.Status = null;
|
|
15469
|
+
|
|
15470
|
+
/**
|
|
15471
|
+
* <p>Substatus of the instance in process returned.</p><p>Enumeration value:</p><ul><li>0: Read-only disk.</li></ul>
|
|
15472
|
+
* @type {number || null}
|
|
15473
|
+
*/
|
|
15474
|
+
this.SubStatus = null;
|
|
15475
|
+
|
|
15476
|
+
/**
|
|
15477
|
+
* <p>Region.</p>
|
|
15478
|
+
* @type {string || null}
|
|
15479
|
+
*/
|
|
15480
|
+
this.Region = null;
|
|
15481
|
+
|
|
15482
|
+
/**
|
|
15483
|
+
* <p>Zone</p>
|
|
15484
|
+
* @type {string || null}
|
|
15485
|
+
*/
|
|
15486
|
+
this.Zone = null;
|
|
15487
|
+
|
|
15488
|
+
/**
|
|
15489
|
+
* <p>Degradation policy, measurement unit: ms. After the instance P99 reaches the degradation policy, audit data is automatically discarded to prioritize business availability. Default value: 500 ms. Range value: 300-1000 ms.</p>
|
|
15490
|
+
* @type {number || null}
|
|
15491
|
+
*/
|
|
15492
|
+
this.DegradeStrategy = null;
|
|
15493
|
+
|
|
15494
|
+
/**
|
|
15495
|
+
* <p>Tag information</p>
|
|
15496
|
+
* @type {Array.<InstanceTagInfo> || null}
|
|
15497
|
+
*/
|
|
15498
|
+
this.InstanceTags = null;
|
|
15499
|
+
|
|
15500
|
+
/**
|
|
15501
|
+
* <p>Architecture edition</p>
|
|
15502
|
+
* @type {number || null}
|
|
15503
|
+
*/
|
|
15504
|
+
this.Type = null;
|
|
15505
|
+
|
|
15506
|
+
}
|
|
15507
|
+
|
|
15508
|
+
/**
|
|
15509
|
+
* @private
|
|
15510
|
+
*/
|
|
15511
|
+
deserialize(params) {
|
|
15512
|
+
if (!params) {
|
|
15513
|
+
return;
|
|
15514
|
+
}
|
|
15515
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
15516
|
+
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
15517
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
15518
|
+
this.SubStatus = 'SubStatus' in params ? params.SubStatus : null;
|
|
15519
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
15520
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
15521
|
+
this.DegradeStrategy = 'DegradeStrategy' in params ? params.DegradeStrategy : null;
|
|
15522
|
+
|
|
15523
|
+
if (params.InstanceTags) {
|
|
15524
|
+
this.InstanceTags = new Array();
|
|
15525
|
+
for (let z in params.InstanceTags) {
|
|
15526
|
+
let obj = new InstanceTagInfo();
|
|
15527
|
+
obj.deserialize(params.InstanceTags[z]);
|
|
15528
|
+
this.InstanceTags.push(obj);
|
|
15529
|
+
}
|
|
15530
|
+
}
|
|
15531
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
15532
|
+
|
|
15533
|
+
}
|
|
15534
|
+
}
|
|
15535
|
+
|
|
15260
15536
|
/**
|
|
15261
15537
|
* InquiryPriceUpgradeInstance response structure.
|
|
15262
15538
|
* @class
|
|
@@ -15707,6 +15983,62 @@ class DescribeGlobalReplicationAreaResponse extends AbstractModel {
|
|
|
15707
15983
|
}
|
|
15708
15984
|
}
|
|
15709
15985
|
|
|
15986
|
+
/**
|
|
15987
|
+
* ModifyBackupEncrypt request structure.
|
|
15988
|
+
* @class
|
|
15989
|
+
*/
|
|
15990
|
+
class ModifyBackupEncryptRequest extends AbstractModel {
|
|
15991
|
+
constructor(){
|
|
15992
|
+
super();
|
|
15993
|
+
|
|
15994
|
+
/**
|
|
15995
|
+
* <p>Instance ID. Log in to the Redis console and copy it from the instance list.</p>
|
|
15996
|
+
* @type {string || null}
|
|
15997
|
+
*/
|
|
15998
|
+
this.InstanceId = null;
|
|
15999
|
+
|
|
16000
|
+
/**
|
|
16001
|
+
* <p>Whether backup encryption is enabled.</p><p>Default value: false</p>
|
|
16002
|
+
* @type {boolean || null}
|
|
16003
|
+
*/
|
|
16004
|
+
this.BackupEncrypt = null;
|
|
16005
|
+
|
|
16006
|
+
/**
|
|
16007
|
+
* <p>Encryption key type.</p><p>Enumeration value:</p><ul><li>0: Tencent Cloud hosted (default)</li><li>1: User-customized KMS key</li></ul><p>Default value: 0</p>
|
|
16008
|
+
* @type {number || null}
|
|
16009
|
+
*/
|
|
16010
|
+
this.EncryptKeyType = null;
|
|
16011
|
+
|
|
16012
|
+
/**
|
|
16013
|
+
* <p>Key ID of KMS.</p><p>Parameter format: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx</p>
|
|
16014
|
+
* @type {string || null}
|
|
16015
|
+
*/
|
|
16016
|
+
this.KmsKeyId = null;
|
|
16017
|
+
|
|
16018
|
+
/**
|
|
16019
|
+
* <p>Regional information.</p><p>Parameter format: ap-xxxx</p><p>For reference: <a href="https://www.tencentcloud.com/document/api/573/34406?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">Supported region list for KMS</a></p>
|
|
16020
|
+
* @type {string || null}
|
|
16021
|
+
*/
|
|
16022
|
+
this.KmsRegion = null;
|
|
16023
|
+
|
|
16024
|
+
}
|
|
16025
|
+
|
|
16026
|
+
/**
|
|
16027
|
+
* @private
|
|
16028
|
+
*/
|
|
16029
|
+
deserialize(params) {
|
|
16030
|
+
if (!params) {
|
|
16031
|
+
return;
|
|
16032
|
+
}
|
|
16033
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
16034
|
+
this.BackupEncrypt = 'BackupEncrypt' in params ? params.BackupEncrypt : null;
|
|
16035
|
+
this.EncryptKeyType = 'EncryptKeyType' in params ? params.EncryptKeyType : null;
|
|
16036
|
+
this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
|
|
16037
|
+
this.KmsRegion = 'KmsRegion' in params ? params.KmsRegion : null;
|
|
16038
|
+
|
|
16039
|
+
}
|
|
16040
|
+
}
|
|
16041
|
+
|
|
15710
16042
|
/**
|
|
15711
16043
|
* Product information in the availability zone
|
|
15712
16044
|
* @class
|
|
@@ -15823,6 +16155,55 @@ class ModifyInstanceEventResponse extends AbstractModel {
|
|
|
15823
16155
|
}
|
|
15824
16156
|
}
|
|
15825
16157
|
|
|
16158
|
+
/**
|
|
16159
|
+
* UpgradeInstanceVersion request structure.
|
|
16160
|
+
* @class
|
|
16161
|
+
*/
|
|
16162
|
+
class UpgradeInstanceVersionRequest extends AbstractModel {
|
|
16163
|
+
constructor(){
|
|
16164
|
+
super();
|
|
16165
|
+
|
|
16166
|
+
/**
|
|
16167
|
+
* Target instance type after the change, which is the same as the `TypeId` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
|
|
16168
|
+
- For Redis 4.0 or later, a standard architecture instance can be upgraded to a cluster architecture instance on the same version; for example, you can upgrade from Redis 4.0 Standard Architecture to Redis 4.0 Cluster Architecture.
|
|
16169
|
+
- Cross-version architecture upgrade is not supported; for example, you cannot upgrade from Redis 4.0 Standard Architecture to Redis 5.0 Cluster Architecture.
|
|
16170
|
+
- The architecture of Redis 2.8 cannot be upgraded.
|
|
16171
|
+
- Cluster architecture cannot be downgraded to standard architecture.
|
|
16172
|
+
|
|
16173
|
+
* @type {string || null}
|
|
16174
|
+
*/
|
|
16175
|
+
this.TargetInstanceType = null;
|
|
16176
|
+
|
|
16177
|
+
/**
|
|
16178
|
+
* Switch time. Valid values:
|
|
16179
|
+
- `1`: Switch in the maintenance time.
|
|
16180
|
+
- `2` (default value): Switch now.
|
|
16181
|
+
* @type {number || null}
|
|
16182
|
+
*/
|
|
16183
|
+
this.SwitchOption = null;
|
|
16184
|
+
|
|
16185
|
+
/**
|
|
16186
|
+
* ID of the specified instance, such as `crs-xjhsdj****`. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it in the instance list.
|
|
16187
|
+
* @type {string || null}
|
|
16188
|
+
*/
|
|
16189
|
+
this.InstanceId = null;
|
|
16190
|
+
|
|
16191
|
+
}
|
|
16192
|
+
|
|
16193
|
+
/**
|
|
16194
|
+
* @private
|
|
16195
|
+
*/
|
|
16196
|
+
deserialize(params) {
|
|
16197
|
+
if (!params) {
|
|
16198
|
+
return;
|
|
16199
|
+
}
|
|
16200
|
+
this.TargetInstanceType = 'TargetInstanceType' in params ? params.TargetInstanceType : null;
|
|
16201
|
+
this.SwitchOption = 'SwitchOption' in params ? params.SwitchOption : null;
|
|
16202
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
16203
|
+
|
|
16204
|
+
}
|
|
16205
|
+
}
|
|
16206
|
+
|
|
15826
16207
|
/**
|
|
15827
16208
|
* Tendis slow query details
|
|
15828
16209
|
* @class
|
|
@@ -16497,7 +16878,7 @@ module.exports = {
|
|
|
16497
16878
|
ModifyInstancePasswordResponse: ModifyInstancePasswordResponse,
|
|
16498
16879
|
DescribeSecondLevelBackupInfoResponse: DescribeSecondLevelBackupInfoResponse,
|
|
16499
16880
|
RenewInstanceResponse: RenewInstanceResponse,
|
|
16500
|
-
|
|
16881
|
+
DescribeInstancePasswordPolicyResponse: DescribeInstancePasswordPolicyResponse,
|
|
16501
16882
|
DescribeCommonDBInstancesRequest: DescribeCommonDBInstancesRequest,
|
|
16502
16883
|
DescribeDBSecurityGroupsResponse: DescribeDBSecurityGroupsResponse,
|
|
16503
16884
|
RestoreInstanceResponse: RestoreInstanceResponse,
|
|
@@ -16513,7 +16894,7 @@ module.exports = {
|
|
|
16513
16894
|
SecurityGroupsInboundAndOutbound: SecurityGroupsInboundAndOutbound,
|
|
16514
16895
|
ModifyLogRequest: ModifyLogRequest,
|
|
16515
16896
|
ClearInstanceRequest: ClearInstanceRequest,
|
|
16516
|
-
|
|
16897
|
+
DescribeInstancePasswordPolicyRequest: DescribeInstancePasswordPolicyRequest,
|
|
16517
16898
|
RegionConf: RegionConf,
|
|
16518
16899
|
BigKeyInfo: BigKeyInfo,
|
|
16519
16900
|
DescribeBandwidthRangeResponse: DescribeBandwidthRangeResponse,
|
|
@@ -16551,9 +16932,10 @@ module.exports = {
|
|
|
16551
16932
|
SwitchInstanceVipRequest: SwitchInstanceVipRequest,
|
|
16552
16933
|
ChangeReplicaToMasterRequest: ChangeReplicaToMasterRequest,
|
|
16553
16934
|
ProxyNodes: ProxyNodes,
|
|
16554
|
-
|
|
16935
|
+
DescribeBackupEncryptConfigResponse: DescribeBackupEncryptConfigResponse,
|
|
16555
16936
|
RedisCommonInstanceList: RedisCommonInstanceList,
|
|
16556
16937
|
SourceInfo: SourceInfo,
|
|
16938
|
+
ModifyInstancePasswordPolicyResponse: ModifyInstancePasswordPolicyResponse,
|
|
16557
16939
|
ModifyDBInstanceSecurityGroupsResponse: ModifyDBInstanceSecurityGroupsResponse,
|
|
16558
16940
|
ChangeMasterInstanceRequest: ChangeMasterInstanceRequest,
|
|
16559
16941
|
DescribeInstanceDTSInfoRequest: DescribeInstanceDTSInfoRequest,
|
|
@@ -16563,6 +16945,7 @@ module.exports = {
|
|
|
16563
16945
|
DescribeProductInfoResponse: DescribeProductInfoResponse,
|
|
16564
16946
|
ModifyInstanceAccountRequest: ModifyInstanceAccountRequest,
|
|
16565
16947
|
ModifyMaintenanceWindowRequest: ModifyMaintenanceWindowRequest,
|
|
16948
|
+
SecondLevelBackupMissingTimestamps: SecondLevelBackupMissingTimestamps,
|
|
16566
16949
|
DescribeParamTemplateInfoRequest: DescribeParamTemplateInfoRequest,
|
|
16567
16950
|
DescribeBackupUrlResponse: DescribeBackupUrlResponse,
|
|
16568
16951
|
DescribeDBSecurityGroupsRequest: DescribeDBSecurityGroupsRequest,
|
|
@@ -16592,6 +16975,7 @@ module.exports = {
|
|
|
16592
16975
|
SwitchAccessNewInstanceRequest: SwitchAccessNewInstanceRequest,
|
|
16593
16976
|
RemoveReplicationGroupResponse: RemoveReplicationGroupResponse,
|
|
16594
16977
|
KillMasterGroupRequest: KillMasterGroupRequest,
|
|
16978
|
+
UpgradeInstanceProductVersionResponse: UpgradeInstanceProductVersionResponse,
|
|
16595
16979
|
SwitchAccessNewInstanceResponse: SwitchAccessNewInstanceResponse,
|
|
16596
16980
|
CloneInstancesResponse: CloneInstancesResponse,
|
|
16597
16981
|
DescribeBackupDownloadRestrictionResponse: DescribeBackupDownloadRestrictionResponse,
|
|
@@ -16606,7 +16990,7 @@ module.exports = {
|
|
|
16606
16990
|
DescribeTaskListRequest: DescribeTaskListRequest,
|
|
16607
16991
|
ChangeMasterInstanceResponse: ChangeMasterInstanceResponse,
|
|
16608
16992
|
ModifyInstanceEventRequest: ModifyInstanceEventRequest,
|
|
16609
|
-
|
|
16993
|
+
ModifyBackupEncryptResponse: ModifyBackupEncryptResponse,
|
|
16610
16994
|
DescribeBackupDetailResponse: DescribeBackupDetailResponse,
|
|
16611
16995
|
ChangeReplicaToMasterResponse: ChangeReplicaToMasterResponse,
|
|
16612
16996
|
CreateInstancesResponse: CreateInstancesResponse,
|
|
@@ -16655,7 +17039,7 @@ module.exports = {
|
|
|
16655
17039
|
ResourceTag: ResourceTag,
|
|
16656
17040
|
AssociateSecurityGroupsResponse: AssociateSecurityGroupsResponse,
|
|
16657
17041
|
LogDeliveryInfo: LogDeliveryInfo,
|
|
16658
|
-
|
|
17042
|
+
DescribeSlowLogResponse: DescribeSlowLogResponse,
|
|
16659
17043
|
DescribeInstanceMonitorBigKeyTypeDistResponse: DescribeInstanceMonitorBigKeyTypeDistResponse,
|
|
16660
17044
|
DeleteReplicationInstanceResponse: DeleteReplicationInstanceResponse,
|
|
16661
17045
|
CleanUpInstanceRequest: CleanUpInstanceRequest,
|
|
@@ -16669,7 +17053,7 @@ module.exports = {
|
|
|
16669
17053
|
Filter: Filter,
|
|
16670
17054
|
ModifyInstancePasswordRequest: ModifyInstancePasswordRequest,
|
|
16671
17055
|
ModifyReplicationGroupResponse: ModifyReplicationGroupResponse,
|
|
16672
|
-
|
|
17056
|
+
DescribeTaskInfoResponse: DescribeTaskInfoResponse,
|
|
16673
17057
|
ReleaseWanAddressResponse: ReleaseWanAddressResponse,
|
|
16674
17058
|
DescribeAutoBackupConfigRequest: DescribeAutoBackupConfigRequest,
|
|
16675
17059
|
DescribeBackupUrlRequest: DescribeBackupUrlRequest,
|
|
@@ -16679,13 +17063,17 @@ module.exports = {
|
|
|
16679
17063
|
DeleteInstanceAccountRequest: DeleteInstanceAccountRequest,
|
|
16680
17064
|
DescribeInstanceMonitorHotKeyRequest: DescribeInstanceMonitorHotKeyRequest,
|
|
16681
17065
|
DeleteParamTemplateResponse: DeleteParamTemplateResponse,
|
|
17066
|
+
ModifyInstanceResponse: ModifyInstanceResponse,
|
|
16682
17067
|
UpgradeInstanceResponse: UpgradeInstanceResponse,
|
|
16683
17068
|
ResourceBundle: ResourceBundle,
|
|
16684
17069
|
ManualBackupInstanceRequest: ManualBackupInstanceRequest,
|
|
16685
17070
|
DescribeReplicationGroupResponse: DescribeReplicationGroupResponse,
|
|
17071
|
+
ModifyInstancePasswordPolicyRequest: ModifyInstancePasswordPolicyRequest,
|
|
17072
|
+
DescribeBackupEncryptConfigRequest: DescribeBackupEncryptConfigRequest,
|
|
16686
17073
|
ModifyParamTemplateRequest: ModifyParamTemplateRequest,
|
|
16687
17074
|
AvailableRegion: AvailableRegion,
|
|
16688
17075
|
FailedInstance: FailedInstance,
|
|
17076
|
+
UpgradeInstanceProductVersionRequest: UpgradeInstanceProductVersionRequest,
|
|
16689
17077
|
ReleaseWanAddressRequest: ReleaseWanAddressRequest,
|
|
16690
17078
|
CloseSSLResponse: CloseSSLResponse,
|
|
16691
17079
|
ModifyMaintenanceWindowResponse: ModifyMaintenanceWindowResponse,
|
|
@@ -16742,6 +17130,7 @@ module.exports = {
|
|
|
16742
17130
|
PasswordPolicy: PasswordPolicy,
|
|
16743
17131
|
DescribeSecondLevelBackupInfoRequest: DescribeSecondLevelBackupInfoRequest,
|
|
16744
17132
|
SecurityGroupDetail: SecurityGroupDetail,
|
|
17133
|
+
InstanceInfo: InstanceInfo,
|
|
16745
17134
|
InquiryPriceUpgradeInstanceResponse: InquiryPriceUpgradeInstanceResponse,
|
|
16746
17135
|
DeleteInstanceAccountResponse: DeleteInstanceAccountResponse,
|
|
16747
17136
|
DescribeInstanceMonitorSIPRequest: DescribeInstanceMonitorSIPRequest,
|
|
@@ -16750,8 +17139,10 @@ module.exports = {
|
|
|
16750
17139
|
ModifyInstanceLogDeliveryRequest: ModifyInstanceLogDeliveryRequest,
|
|
16751
17140
|
ChangeInstanceRoleResponse: ChangeInstanceRoleResponse,
|
|
16752
17141
|
DescribeGlobalReplicationAreaResponse: DescribeGlobalReplicationAreaResponse,
|
|
17142
|
+
ModifyBackupEncryptRequest: ModifyBackupEncryptRequest,
|
|
16753
17143
|
ZoneCapacityConf: ZoneCapacityConf,
|
|
16754
17144
|
ModifyInstanceEventResponse: ModifyInstanceEventResponse,
|
|
17145
|
+
UpgradeInstanceVersionRequest: UpgradeInstanceVersionRequest,
|
|
16755
17146
|
TendisSlowLogDetail: TendisSlowLogDetail,
|
|
16756
17147
|
DescribeInstanceNodeInfoResponse: DescribeInstanceNodeInfoResponse,
|
|
16757
17148
|
DescribeProjectSecurityGroupResponse: DescribeProjectSecurityGroupResponse,
|