tencentcloud-sdk-nodejs-tse 4.1.102 → 4.1.129
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 +6 -4
- package/es/services/tse/v20201207/tse_models.js +1 -0
- package/package.json +7 -5
- package/tencentcloud/services/index.js +1 -0
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +36 -0
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-tse",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.129",
|
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
|
}
|
@@ -95,7 +95,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
95
95
|
*/
|
96
96
|
ModifyNativeGatewayServiceSource(req: ModifyNativeGatewayServiceSourceRequest, cb?: (error: string, rep: ModifyNativeGatewayServiceSourceResponse) => void): Promise<ModifyNativeGatewayServiceSourceResponse>;
|
97
97
|
/**
|
98
|
-
* 修改云原生API
|
98
|
+
* 修改云原生API网关实例网络基本信息,例如带宽以及描述、规格升级,只支持修改客户端公网/内网的信息。
|
99
99
|
*/
|
100
100
|
ModifyNetworkBasicInfo(req: ModifyNetworkBasicInfoRequest, cb?: (error: string, rep: ModifyNetworkBasicInfoResponse) => void): Promise<ModifyNetworkBasicInfoResponse>;
|
101
101
|
/**
|
@@ -161,7 +161,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
161
161
|
return this.request("ModifyNativeGatewayServiceSource", req, cb);
|
162
162
|
}
|
163
163
|
/**
|
164
|
-
* 修改云原生API
|
164
|
+
* 修改云原生API网关实例网络基本信息,例如带宽以及描述、规格升级,只支持修改客户端公网/内网的信息。
|
165
165
|
*/
|
166
166
|
async ModifyNetworkBasicInfo(req, cb) {
|
167
167
|
return this.request("ModifyNetworkBasicInfo", req, cb);
|
@@ -350,6 +350,10 @@ export interface CreateNativeGatewayServiceSourceResponse {
|
|
350
350
|
* 创建是否成功
|
351
351
|
*/
|
352
352
|
Result?: boolean;
|
353
|
+
/**
|
354
|
+
* 服务来源ID
|
355
|
+
*/
|
356
|
+
SourceID?: string;
|
353
357
|
/**
|
354
358
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
355
359
|
*/
|
@@ -3738,6 +3742,10 @@ export interface CloudNativeAPIGatewayConfig {
|
|
3738
3742
|
* 是否为新 ipv6 CLB
|
3739
3743
|
*/
|
3740
3744
|
IPV6FullChain?: boolean;
|
3745
|
+
/**
|
3746
|
+
* 负载均衡个性化配置内容
|
3747
|
+
*/
|
3748
|
+
CustomizedConfigContent?: string;
|
3741
3749
|
}
|
3742
3750
|
/**
|
3743
3751
|
* 云原生网关服务简洁预览信息
|
@@ -4867,6 +4875,14 @@ export interface GovernanceService {
|
|
4867
4875
|
* 是否开启同步到全局注册中心
|
4868
4876
|
*/
|
4869
4877
|
SyncToGlobalRegistry?: boolean;
|
4878
|
+
/**
|
4879
|
+
* 隔离实例数
|
4880
|
+
*/
|
4881
|
+
IsolateInstanceCount?: number;
|
4882
|
+
/**
|
4883
|
+
* 服务健康状态
|
4884
|
+
*/
|
4885
|
+
ServiceStatus?: number;
|
4870
4886
|
}
|
4871
4887
|
/**
|
4872
4888
|
* DeleteAutoScalerResourceStrategy请求参数结构体
|
@@ -6489,6 +6505,10 @@ export interface DescribeNativeGatewayServiceSourcesRequest {
|
|
6489
6505
|
* 分页偏移量
|
6490
6506
|
*/
|
6491
6507
|
Offset: number;
|
6508
|
+
/**
|
6509
|
+
* 服务来源ID
|
6510
|
+
*/
|
6511
|
+
SourceID?: string;
|
6492
6512
|
/**
|
6493
6513
|
* 服务来源实例名称,模糊搜索
|
6494
6514
|
*/
|
@@ -7162,6 +7182,18 @@ export interface ModifyNetworkBasicInfoRequest {
|
|
7162
7182
|
* 负载均衡描述
|
7163
7183
|
*/
|
7164
7184
|
Description?: string;
|
7185
|
+
/**
|
7186
|
+
* 负载均衡的规格类型,支持:
|
7187
|
+
- 不传为共享型。
|
7188
|
+
- clb.c2.medium:标准型规格
|
7189
|
+
- clb.c3.small:高阶型1规格
|
7190
|
+
- clb.c3.medium:高阶型2规格
|
7191
|
+
- clb.c4.small:超强型1规格
|
7192
|
+
- clb.c4.medium:超强型2规格
|
7193
|
+
- clb.c4.large:超强型3规格
|
7194
|
+
- clb.c4.xlarge:超强型4规格
|
7195
|
+
*/
|
7196
|
+
SlaType?: string;
|
7165
7197
|
}
|
7166
7198
|
/**
|
7167
7199
|
* 弹性伸缩配置指标
|
@@ -8263,6 +8295,10 @@ export interface DescribeGovernanceServicesRequest {
|
|
8263
8295
|
* 是否开启同步到全局注册中心
|
8264
8296
|
*/
|
8265
8297
|
SyncToGlobalRegistry?: string;
|
8298
|
+
/**
|
8299
|
+
* 过滤筛选条件
|
8300
|
+
*/
|
8301
|
+
StatusFilter?: Array<Filter>;
|
8266
8302
|
}
|
8267
8303
|
/**
|
8268
8304
|
* DescribeConfigFileRelease返回参数结构体
|