tencentcloud-sdk-nodejs-tke 4.1.238 → 4.1.239
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/es/services/tke/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const tke: {
|
|
2
|
-
v20180525: {
|
|
3
|
-
Client: typeof import("./v20180525/tke_client").Client;
|
|
4
|
-
Models: typeof import("./v20180525/tke_models");
|
|
5
|
-
};
|
|
6
2
|
v20220501: {
|
|
7
3
|
Client: typeof import("./v20220501/tke_client").Client;
|
|
8
4
|
Models: typeof import("./v20220501/tke_models");
|
|
9
5
|
};
|
|
6
|
+
v20180525: {
|
|
7
|
+
Client: typeof import("./v20180525/tke_client").Client;
|
|
8
|
+
Models: typeof import("./v20180525/tke_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tke = void 0;
|
|
4
|
-
const v20180525_1 = require("./v20180525");
|
|
5
4
|
const v20220501_1 = require("./v20220501");
|
|
5
|
+
const v20180525_1 = require("./v20180525");
|
|
6
6
|
exports.tke = {
|
|
7
|
-
v20180525: v20180525_1.v20180525,
|
|
8
7
|
v20220501: v20220501_1.v20220501,
|
|
8
|
+
v20180525: v20180525_1.v20180525,
|
|
9
9
|
};
|
|
@@ -5851,6 +5851,46 @@ export interface ReservedInstanceScope {
|
|
|
5851
5851
|
*/
|
|
5852
5852
|
NodeName?: string;
|
|
5853
5853
|
}
|
|
5854
|
+
/**
|
|
5855
|
+
* AgentPlugin 安装配置,包含域名、Chart 版本和外部 PostgreSQL 连接信息
|
|
5856
|
+
*/
|
|
5857
|
+
export interface AgentPluginConfig {
|
|
5858
|
+
/**
|
|
5859
|
+
* Helm Chart 版本,一般无需指定
|
|
5860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5861
|
+
*/
|
|
5862
|
+
ChartVersion?: string;
|
|
5863
|
+
/**
|
|
5864
|
+
* 外部 PostgreSQL 内网地址;配置后跳过内置 PostgreSQL
|
|
5865
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5866
|
+
*/
|
|
5867
|
+
Host?: string;
|
|
5868
|
+
/**
|
|
5869
|
+
* 外部 PostgreSQL 密码,配置 Host 时必填
|
|
5870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5871
|
+
*/
|
|
5872
|
+
Password?: string;
|
|
5873
|
+
/**
|
|
5874
|
+
* 外部 PostgreSQL 端口
|
|
5875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5876
|
+
*/
|
|
5877
|
+
Port?: number;
|
|
5878
|
+
/**
|
|
5879
|
+
* SSL 模式,取值:disable / require / verify-full
|
|
5880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5881
|
+
*/
|
|
5882
|
+
SSLMode?: string;
|
|
5883
|
+
/**
|
|
5884
|
+
* Agent 实例访问域名,不填则不创建域名路由
|
|
5885
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5886
|
+
*/
|
|
5887
|
+
ServiceDomain?: string;
|
|
5888
|
+
/**
|
|
5889
|
+
* 外部 PostgreSQL 用户名,配置 Host 时必填
|
|
5890
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5891
|
+
*/
|
|
5892
|
+
Username?: string;
|
|
5893
|
+
}
|
|
5854
5894
|
/**
|
|
5855
5895
|
* DescribeAvailableClusterVersion请求参数结构体
|
|
5856
5896
|
*/
|
|
@@ -8281,43 +8321,49 @@ export interface ForwardTKEEdgeApplicationRequestV3Response {
|
|
|
8281
8321
|
*/
|
|
8282
8322
|
export interface CreateClusterVirtualNodePoolRequest {
|
|
8283
8323
|
/**
|
|
8284
|
-
*
|
|
8324
|
+
* <p>集群ID,通过DescribeClusters接口获取</p>
|
|
8285
8325
|
*/
|
|
8286
8326
|
ClusterId: string;
|
|
8287
8327
|
/**
|
|
8288
|
-
*
|
|
8328
|
+
* <p>节点池名称</p>
|
|
8289
8329
|
*/
|
|
8290
8330
|
Name: string;
|
|
8291
8331
|
/**
|
|
8292
|
-
*
|
|
8332
|
+
* <p>安全组ID列表</p>
|
|
8293
8333
|
*/
|
|
8294
8334
|
SecurityGroupIds: Array<string>;
|
|
8295
8335
|
/**
|
|
8296
|
-
*
|
|
8336
|
+
* <p>子网ID列表</p>
|
|
8297
8337
|
*/
|
|
8298
8338
|
SubnetIds?: Array<string>;
|
|
8299
8339
|
/**
|
|
8300
|
-
*
|
|
8340
|
+
* <p>虚拟节点label</p>
|
|
8301
8341
|
*/
|
|
8302
8342
|
Labels?: Array<Label>;
|
|
8303
8343
|
/**
|
|
8304
|
-
*
|
|
8344
|
+
* <p>虚拟节点taint</p>
|
|
8305
8345
|
*/
|
|
8306
8346
|
Taints?: Array<Taint>;
|
|
8307
8347
|
/**
|
|
8308
|
-
*
|
|
8348
|
+
* <p>节点列表</p>
|
|
8309
8349
|
*/
|
|
8310
8350
|
VirtualNodes?: Array<VirtualNodeSpec>;
|
|
8311
8351
|
/**
|
|
8312
|
-
*
|
|
8352
|
+
* <p>删除保护开关,默认关闭</p>
|
|
8313
8353
|
*/
|
|
8314
8354
|
DeletionProtection?: boolean;
|
|
8315
8355
|
/**
|
|
8316
|
-
*
|
|
8317
|
-
- linux(默认)
|
|
8318
|
-
- windows
|
|
8356
|
+
* <p>节点池操作系统:</p><ul><li>linux(默认)</li><li>windows</li></ul>
|
|
8319
8357
|
*/
|
|
8320
8358
|
OS?: string;
|
|
8359
|
+
/**
|
|
8360
|
+
* <p>子网资源分配策略,精确控制各子网之间的资源分配比例。</p>
|
|
8361
|
+
*/
|
|
8362
|
+
SubnetAllocationPolicy?: SubnetAllocationPolicy;
|
|
8363
|
+
/**
|
|
8364
|
+
* <p>AgentPlugin 安装配置。传入即表示需要安装(即使是空对象 {})</p>
|
|
8365
|
+
*/
|
|
8366
|
+
AgentPlugin?: AgentPluginConfig;
|
|
8321
8367
|
}
|
|
8322
8368
|
/**
|
|
8323
8369
|
* ModifyPrometheusConfig请求参数结构体
|
|
@@ -11378,7 +11424,7 @@ export interface SchedulerPolicyConfig {
|
|
|
11378
11424
|
*/
|
|
11379
11425
|
export interface CreateClusterVirtualNodePoolResponse {
|
|
11380
11426
|
/**
|
|
11381
|
-
*
|
|
11427
|
+
* <p>节点池ID</p>
|
|
11382
11428
|
*/
|
|
11383
11429
|
NodePoolId?: string;
|
|
11384
11430
|
/**
|
|
@@ -1953,27 +1953,27 @@ export interface ScaleNodePoolResponse {
|
|
|
1953
1953
|
*/
|
|
1954
1954
|
export interface ModifyClusterMachineRequest {
|
|
1955
1955
|
/**
|
|
1956
|
-
*
|
|
1956
|
+
* <p>集群 ID</p>
|
|
1957
1957
|
*/
|
|
1958
1958
|
ClusterId: string;
|
|
1959
1959
|
/**
|
|
1960
|
-
*
|
|
1960
|
+
* <p>节点名列表</p>
|
|
1961
1961
|
*/
|
|
1962
1962
|
MachineNames: Array<string>;
|
|
1963
1963
|
/**
|
|
1964
|
-
* machine的display name
|
|
1964
|
+
* <p>machine的display name</p>
|
|
1965
1965
|
*/
|
|
1966
1966
|
DisplayName?: string;
|
|
1967
1967
|
/**
|
|
1968
|
-
*
|
|
1968
|
+
* <p>系统盘的信息</p>
|
|
1969
1969
|
*/
|
|
1970
1970
|
SystemDisk?: Disk;
|
|
1971
1971
|
/**
|
|
1972
|
-
*
|
|
1972
|
+
* <p>安全组列表</p>
|
|
1973
1973
|
*/
|
|
1974
1974
|
SecurityGroupIDs?: Array<string>;
|
|
1975
1975
|
/**
|
|
1976
|
-
*
|
|
1976
|
+
* <p>节点预付费信息</p>
|
|
1977
1977
|
*/
|
|
1978
1978
|
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
1979
1979
|
}
|