tencentcloud-sdk-nodejs-sqlserver 4.1.117 → 4.1.136
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/README.md
CHANGED
|
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
|
|
|
62
62
|
|
|
63
63
|
1. clone 代码到本地:
|
|
64
64
|
```
|
|
65
|
+
git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
|
|
66
|
+
# 或者
|
|
65
67
|
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
66
68
|
# 或者
|
|
67
69
|
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
135
137
|
// ...
|
|
136
138
|
```
|
|
137
139
|
|
|
138
|
-
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](
|
|
140
|
+
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
|
|
139
141
|
|
|
140
142
|
## Common Client
|
|
141
143
|
|
|
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
143
145
|
|
|
144
146
|
**注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
|
|
145
147
|
|
|
146
|
-
详细使用请参阅示例:[使用 Common Client 进行调用](
|
|
148
|
+
详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
|
|
147
149
|
|
|
148
150
|
## 更多示例
|
|
149
151
|
|
|
150
|
-
请参考 [examples](
|
|
152
|
+
请参考 [examples](examples) 目录。
|
|
151
153
|
|
|
152
154
|
# 相关配置
|
|
153
155
|
|
|
154
156
|
## 代理
|
|
155
157
|
|
|
156
|
-
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](
|
|
158
|
+
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
|
|
157
159
|
|
|
158
160
|
# 凭证管理
|
|
159
161
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-sqlserver",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.136",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "./tencentcloud/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build:es": "tsc -p tsconfig.es.json",
|
|
13
13
|
"build:slim": "node ./scripts/build_slim.js",
|
|
14
14
|
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
15
|
-
"clean": "rimraf tencentcloud es"
|
|
15
|
+
"clean": "rimraf tencentcloud es",
|
|
16
|
+
"test:common": "vitest run"
|
|
16
17
|
},
|
|
17
18
|
"engines": {
|
|
18
19
|
"node": ">=10"
|
|
@@ -44,9 +45,9 @@
|
|
|
44
45
|
"url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@types/
|
|
48
|
+
"@types/ini": "^4.1.1",
|
|
48
49
|
"@types/json-bigint": "^1.0.1",
|
|
49
|
-
"@types/node": "^
|
|
50
|
+
"@types/node": "^18.0.0",
|
|
50
51
|
"@types/node-fetch": "^2.5.7",
|
|
51
52
|
"@types/uuid": "^9.0.8",
|
|
52
53
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"prettier": "^2.3.0",
|
|
62
63
|
"rimraf": "^5.0.10",
|
|
63
64
|
"ts-node": "^8.10.2",
|
|
64
|
-
"typescript": "^
|
|
65
|
+
"typescript": "^5.9.2",
|
|
66
|
+
"vitest": "2.1.9"
|
|
65
67
|
}
|
|
66
68
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sqlserver = void 0;
|
|
3
4
|
var sqlserver_1 = require("./sqlserver");
|
|
4
5
|
Object.defineProperty(exports, "sqlserver", { enumerable: true, get: function () { return sqlserver_1.sqlserver; } });
|
|
@@ -1352,6 +1352,10 @@ export interface UpgradeDBInstanceRequest {
|
|
|
1352
1352
|
|
|
1353
1353
|
*/
|
|
1354
1354
|
DrZones?: Array<DrZoneInfo>;
|
|
1355
|
+
/**
|
|
1356
|
+
* 是否自动升级数据库的兼容性级别,默认0。0-否,1-是
|
|
1357
|
+
*/
|
|
1358
|
+
UpgradeCompatLevel?: number;
|
|
1355
1359
|
}
|
|
1356
1360
|
/**
|
|
1357
1361
|
* ModifyDBInstanceSSL返回参数结构体
|
|
@@ -2615,7 +2619,7 @@ export interface ModifyAccountRemarkResponse {
|
|
|
2615
2619
|
/**
|
|
2616
2620
|
* DescribeZones请求参数结构体
|
|
2617
2621
|
*/
|
|
2618
|
-
export
|
|
2622
|
+
export type DescribeZonesRequest = null;
|
|
2619
2623
|
/**
|
|
2620
2624
|
* ModifyInstanceParam请求参数结构体
|
|
2621
2625
|
*/
|
|
@@ -3716,6 +3720,11 @@ export interface DescribeDBInstancesAttributeResponse {
|
|
|
3716
3720
|
* 是否支持创建SA权限账号,0-不支持,1-支持
|
|
3717
3721
|
*/
|
|
3718
3722
|
IsSupportSA?: number;
|
|
3723
|
+
/**
|
|
3724
|
+
* 慢SQL阈值,单位毫秒
|
|
3725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3726
|
+
*/
|
|
3727
|
+
SlowLogThreshold?: number;
|
|
3719
3728
|
/**
|
|
3720
3729
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3721
3730
|
*/
|
|
@@ -4744,7 +4753,7 @@ export interface ZoneInfo {
|
|
|
4744
4753
|
/**
|
|
4745
4754
|
* DescribeProductSpec请求参数结构体
|
|
4746
4755
|
*/
|
|
4747
|
-
export
|
|
4756
|
+
export type DescribeProductSpecRequest = null;
|
|
4748
4757
|
/**
|
|
4749
4758
|
* CompleteMigration返回参数结构体
|
|
4750
4759
|
*/
|
|
@@ -5381,7 +5390,7 @@ export interface Events {
|
|
|
5381
5390
|
*/
|
|
5382
5391
|
EventType?: string;
|
|
5383
5392
|
/**
|
|
5384
|
-
* 事件记录状态,1-成功,2
|
|
5393
|
+
* 事件记录状态,1-成功,2-失败,3-文件待删除,4-写入中
|
|
5385
5394
|
*/
|
|
5386
5395
|
Status?: number;
|
|
5387
5396
|
/**
|
|
@@ -5389,7 +5398,7 @@ export interface Events {
|
|
|
5389
5398
|
*/
|
|
5390
5399
|
StartTime?: string;
|
|
5391
5400
|
/**
|
|
5392
|
-
*
|
|
5401
|
+
* 扩展文件最后更新时间
|
|
5393
5402
|
*/
|
|
5394
5403
|
EndTime?: string;
|
|
5395
5404
|
/**
|
|
@@ -6876,7 +6885,7 @@ export interface DescribeRestoreTaskResponse {
|
|
|
6876
6885
|
/**
|
|
6877
6886
|
* DescribeCrossRegions请求参数结构体
|
|
6878
6887
|
*/
|
|
6879
|
-
export
|
|
6888
|
+
export type DescribeCrossRegionsRequest = null;
|
|
6880
6889
|
/**
|
|
6881
6890
|
* OpenInterCommunication返回参数结构体
|
|
6882
6891
|
*/
|
|
@@ -7280,7 +7289,7 @@ export interface DescribeBackupByFlowIdResponse {
|
|
|
7280
7289
|
/**
|
|
7281
7290
|
* DescribeRegions请求参数结构体
|
|
7282
7291
|
*/
|
|
7283
|
-
export
|
|
7292
|
+
export type DescribeRegionsRequest = null;
|
|
7284
7293
|
/**
|
|
7285
7294
|
* 数据库账号权限信息。创建数据库时设置
|
|
7286
7295
|
*/
|
|
@@ -7813,6 +7822,14 @@ export interface DbNormalDetail {
|
|
|
7813
7822
|
* 是否全文启用 0:否 1:是
|
|
7814
7823
|
*/
|
|
7815
7824
|
IsFullTextEnabled?: string;
|
|
7825
|
+
/**
|
|
7826
|
+
* 是否是可用性组 0:否 1:是
|
|
7827
|
+
*/
|
|
7828
|
+
IsAvailabilityGroups?: string;
|
|
7829
|
+
/**
|
|
7830
|
+
* AG组数据库同步状态
|
|
7831
|
+
*/
|
|
7832
|
+
AGSyncState?: string;
|
|
7816
7833
|
}
|
|
7817
7834
|
/**
|
|
7818
7835
|
* CreateBackup返回参数结构体
|
|
@@ -8083,7 +8100,7 @@ export interface DescribeInstanceParamRecordsResponse {
|
|
|
8083
8100
|
/**
|
|
8084
8101
|
* DescribeBackupSummary请求参数结构体
|
|
8085
8102
|
*/
|
|
8086
|
-
export
|
|
8103
|
+
export type DescribeBackupSummaryRequest = null;
|
|
8087
8104
|
/**
|
|
8088
8105
|
* RenewDBInstance返回参数结构体
|
|
8089
8106
|
*/
|