tencentcloud-sdk-nodejs-redis 4.0.1046 → 4.0.1050
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-redis",
|
|
3
|
-
"version": "4.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "4.0.1050",
|
|
4
|
+
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "tencentcloud/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "mocha -t 10000",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"author": "tencentcloudapi",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"tencentcloud-sdk-nodejs-common": "
|
|
25
|
+
"tencentcloud-sdk-nodejs-common": "*",
|
|
26
26
|
"tslib": "1.13.0"
|
|
27
27
|
},
|
|
28
28
|
"directories": {
|
|
@@ -35,14 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/form-data": "^2.5.0",
|
|
38
|
+
"@types/json-bigint": "^1.0.1",
|
|
38
39
|
"@types/node": "^14.0.26",
|
|
39
40
|
"@types/node-fetch": "^2.5.7",
|
|
41
|
+
"@types/uuid": "^9.0.8",
|
|
40
42
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
41
43
|
"@typescript-eslint/parser": "^2.34.0",
|
|
44
|
+
"babel-eslint": "^10.0.2",
|
|
42
45
|
"chai": "^4.2.0",
|
|
43
46
|
"eslint": "^6.8.0",
|
|
47
|
+
"eslint-plugin-react": "^7.17.0",
|
|
44
48
|
"mocha": "^8.1.1",
|
|
49
|
+
"prettier": "^2.3.0",
|
|
45
50
|
"ts-node": "^8.10.2",
|
|
46
51
|
"typescript": "^3.9.7"
|
|
47
52
|
}
|
|
48
|
-
}
|
|
53
|
+
}
|
|
@@ -6427,7 +6427,7 @@ export interface ModifyInstanceEventResponse {
|
|
|
6427
6427
|
*/
|
|
6428
6428
|
export interface UpgradeInstanceRequest {
|
|
6429
6429
|
/**
|
|
6430
|
-
* 待变更实例 ID。
|
|
6430
|
+
* 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
6431
6431
|
*/
|
|
6432
6432
|
InstanceId: string
|
|
6433
6433
|
/**
|
|
@@ -6446,6 +6446,12 @@ export interface UpgradeInstanceRequest {
|
|
|
6446
6446
|
* 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
|
6447
6447
|
*/
|
|
6448
6448
|
NodeSet?: Array<RedisNodeInfo>
|
|
6449
|
+
/**
|
|
6450
|
+
* 切换时间。
|
|
6451
|
+
- 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。
|
|
6452
|
+
- 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。
|
|
6453
|
+
*/
|
|
6454
|
+
SwitchOption?: number
|
|
6449
6455
|
}
|
|
6450
6456
|
|
|
6451
6457
|
/**
|
|
@@ -6146,7 +6146,7 @@ export interface ModifyInstanceEventResponse {
|
|
|
6146
6146
|
*/
|
|
6147
6147
|
export interface UpgradeInstanceRequest {
|
|
6148
6148
|
/**
|
|
6149
|
-
* 待变更实例 ID。
|
|
6149
|
+
* 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
6150
6150
|
*/
|
|
6151
6151
|
InstanceId: string;
|
|
6152
6152
|
/**
|
|
@@ -6165,6 +6165,12 @@ export interface UpgradeInstanceRequest {
|
|
|
6165
6165
|
* 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
|
6166
6166
|
*/
|
|
6167
6167
|
NodeSet?: Array<RedisNodeInfo>;
|
|
6168
|
+
/**
|
|
6169
|
+
* 切换时间。
|
|
6170
|
+
- 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。
|
|
6171
|
+
- 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。
|
|
6172
|
+
*/
|
|
6173
|
+
SwitchOption?: number;
|
|
6168
6174
|
}
|
|
6169
6175
|
/**
|
|
6170
6176
|
* DescribeInstanceNodeInfo返回参数结构体
|