tencentcloud-sdk-nodejs-tse 4.1.122 → 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
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
|
|
package/package.json
CHANGED
@@ -4875,6 +4875,14 @@ export interface GovernanceService {
|
|
4875
4875
|
* 是否开启同步到全局注册中心
|
4876
4876
|
*/
|
4877
4877
|
SyncToGlobalRegistry?: boolean;
|
4878
|
+
/**
|
4879
|
+
* 隔离实例数
|
4880
|
+
*/
|
4881
|
+
IsolateInstanceCount?: number;
|
4882
|
+
/**
|
4883
|
+
* 服务健康状态
|
4884
|
+
*/
|
4885
|
+
ServiceStatus?: number;
|
4878
4886
|
}
|
4879
4887
|
/**
|
4880
4888
|
* DeleteAutoScalerResourceStrategy请求参数结构体
|
@@ -8287,6 +8295,10 @@ export interface DescribeGovernanceServicesRequest {
|
|
8287
8295
|
* 是否开启同步到全局注册中心
|
8288
8296
|
*/
|
8289
8297
|
SyncToGlobalRegistry?: string;
|
8298
|
+
/**
|
8299
|
+
* 过滤筛选条件
|
8300
|
+
*/
|
8301
|
+
StatusFilter?: Array<Filter>;
|
8290
8302
|
}
|
8291
8303
|
/**
|
8292
8304
|
* DescribeConfigFileRelease返回参数结构体
|