tencentcloud-sdk-nodejs-tke 4.0.930 → 4.0.937
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 +1 -1
- package/products.md +63 -63
- package/src/services/tke/v20180525/tke_models.ts +4 -0
- package/src/services/tke/v20220501/tke_client.ts +97 -20
- package/src/services/tke/v20220501/tke_models.ts +494 -215
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +29 -5
- package/tencentcloud/services/tke/v20220501/tke_client.js +42 -6
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +481 -219
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateNodePoolResponse, DescribeNodePoolsResponse, DescribeClusterInstancesResponse, DeleteNodePoolResponse, ModifyNodePoolRequest, DescribeClusterInstancesRequest, ModifyNodePoolResponse, CreateNodePoolRequest, DescribeNodePoolsRequest, DeleteNodePoolRequest } from "./tke_models";
|
|
2
|
+
import { DeleteHealthCheckPolicyRequest, CreateNodePoolResponse, DescribeNodePoolsResponse, DescribeClusterInstancesResponse, DescribeHealthCheckPolicyBindingsRequest, CreateHealthCheckPolicyRequest, DeleteNodePoolResponse, ModifyNodePoolRequest, DescribeClusterInstancesRequest, DeleteHealthCheckPolicyResponse, ModifyNodePoolResponse, DescribeHealthCheckPoliciesRequest, DescribeHealthCheckTemplateResponse, CreateNodePoolRequest, DescribeHealthCheckPolicyBindingsResponse, DescribeNodePoolsRequest, DeleteNodePoolRequest, DescribeHealthCheckTemplateRequest, DescribeHealthCheckPoliciesResponse, ModifyHealthCheckPolicyRequest, ModifyHealthCheckPolicyResponse, CreateHealthCheckPolicyResponse } from "./tke_models";
|
|
3
3
|
/**
|
|
4
4
|
* tke client
|
|
5
5
|
* @class
|
|
@@ -11,17 +11,41 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
11
11
|
*/
|
|
12
12
|
DescribeNodePools(req: DescribeNodePoolsRequest, cb?: (error: string, rep: DescribeNodePoolsResponse) => void): Promise<DescribeNodePoolsResponse>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* 更新 TKE 节点池
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
ModifyNodePool(req: ModifyNodePoolRequest, cb?: (error: string, rep: ModifyNodePoolResponse) => void): Promise<ModifyNodePoolResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 删除健康检测策略
|
|
19
|
+
*/
|
|
20
|
+
DeleteHealthCheckPolicy(req: DeleteHealthCheckPolicyRequest, cb?: (error: string, rep: DeleteHealthCheckPolicyResponse) => void): Promise<DeleteHealthCheckPolicyResponse>;
|
|
17
21
|
/**
|
|
18
22
|
* 删除 TKE 节点池
|
|
19
23
|
*/
|
|
20
24
|
DeleteNodePool(req: DeleteNodePoolRequest, cb?: (error: string, rep: DeleteNodePoolResponse) => void): Promise<DeleteNodePoolResponse>;
|
|
21
25
|
/**
|
|
22
|
-
*
|
|
26
|
+
* 查询健康检测策略
|
|
23
27
|
*/
|
|
24
|
-
|
|
28
|
+
DescribeHealthCheckPolicies(req: DescribeHealthCheckPoliciesRequest, cb?: (error: string, rep: DescribeHealthCheckPoliciesResponse) => void): Promise<DescribeHealthCheckPoliciesResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* 修改健康检测策略
|
|
31
|
+
*/
|
|
32
|
+
ModifyHealthCheckPolicy(req: ModifyHealthCheckPolicyRequest, cb?: (error: string, rep: ModifyHealthCheckPolicyResponse) => void): Promise<ModifyHealthCheckPolicyResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* 创建 TKE 节点池
|
|
35
|
+
*/
|
|
36
|
+
CreateNodePool(req: CreateNodePoolRequest, cb?: (error: string, rep: CreateNodePoolResponse) => void): Promise<CreateNodePoolResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 查询健康检测策略模板
|
|
39
|
+
*/
|
|
40
|
+
DescribeHealthCheckTemplate(req?: DescribeHealthCheckTemplateRequest, cb?: (error: string, rep: DescribeHealthCheckTemplateResponse) => void): Promise<DescribeHealthCheckTemplateResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* 查询健康检测策略绑定关系
|
|
43
|
+
*/
|
|
44
|
+
DescribeHealthCheckPolicyBindings(req: DescribeHealthCheckPolicyBindingsRequest, cb?: (error: string, rep: DescribeHealthCheckPolicyBindingsResponse) => void): Promise<DescribeHealthCheckPolicyBindingsResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* 创建健康检测策略
|
|
47
|
+
*/
|
|
48
|
+
CreateHealthCheckPolicy(req: CreateHealthCheckPolicyRequest, cb?: (error: string, rep: CreateHealthCheckPolicyResponse) => void): Promise<CreateHealthCheckPolicyResponse>;
|
|
25
49
|
/**
|
|
26
50
|
* 查询集群下节点实例信息
|
|
27
51
|
*/
|
|
@@ -34,10 +34,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
34
|
return this.request("DescribeNodePools", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 更新 TKE 节点池
|
|
38
38
|
*/
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
39
|
+
async ModifyNodePool(req, cb) {
|
|
40
|
+
return this.request("ModifyNodePool", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 删除健康检测策略
|
|
44
|
+
*/
|
|
45
|
+
async DeleteHealthCheckPolicy(req, cb) {
|
|
46
|
+
return this.request("DeleteHealthCheckPolicy", req, cb);
|
|
41
47
|
}
|
|
42
48
|
/**
|
|
43
49
|
* 删除 TKE 节点池
|
|
@@ -46,10 +52,40 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
52
|
return this.request("DeleteNodePool", req, cb);
|
|
47
53
|
}
|
|
48
54
|
/**
|
|
49
|
-
*
|
|
55
|
+
* 查询健康检测策略
|
|
50
56
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
57
|
+
async DescribeHealthCheckPolicies(req, cb) {
|
|
58
|
+
return this.request("DescribeHealthCheckPolicies", req, cb);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 修改健康检测策略
|
|
62
|
+
*/
|
|
63
|
+
async ModifyHealthCheckPolicy(req, cb) {
|
|
64
|
+
return this.request("ModifyHealthCheckPolicy", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 创建 TKE 节点池
|
|
68
|
+
*/
|
|
69
|
+
async CreateNodePool(req, cb) {
|
|
70
|
+
return this.request("CreateNodePool", req, cb);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 查询健康检测策略模板
|
|
74
|
+
*/
|
|
75
|
+
async DescribeHealthCheckTemplate(req, cb) {
|
|
76
|
+
return this.request("DescribeHealthCheckTemplate", req, cb);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 查询健康检测策略绑定关系
|
|
80
|
+
*/
|
|
81
|
+
async DescribeHealthCheckPolicyBindings(req, cb) {
|
|
82
|
+
return this.request("DescribeHealthCheckPolicyBindings", req, cb);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 创建健康检测策略
|
|
86
|
+
*/
|
|
87
|
+
async CreateHealthCheckPolicy(req, cb) {
|
|
88
|
+
return this.request("CreateHealthCheckPolicy", req, cb);
|
|
53
89
|
}
|
|
54
90
|
/**
|
|
55
91
|
* 查询集群下节点实例信息
|