@ucloud-sdks/ucloud-sdk-js 0.2.35 → 0.2.36
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/lib/services/uk8s/index.d.ts +1456 -23
- package/lib/services/uk8s/index.js +36 -0
- package/package.json +1 -1
|
@@ -57,6 +57,15 @@ class UK8SClient extends client_1.default {
|
|
|
57
57
|
const args = Object.assign({ Action: 'CreateUK8SClusterV2' }, (request || {}));
|
|
58
58
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* CreateUK8SULSConfig - 创建 LogConfig 自定义资源,用于声明式地定义日志采集规则
|
|
62
|
+
*
|
|
63
|
+
* See also: https://docs.ucloud.cn/api/uk8s-api/create_uk8s_uls_config
|
|
64
|
+
*/
|
|
65
|
+
createUK8SULSConfig(request) {
|
|
66
|
+
const args = Object.assign({ Action: 'CreateUK8SULSConfig' }, (request || {}));
|
|
67
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
68
|
+
}
|
|
60
69
|
/**
|
|
61
70
|
* DelUK8SCluster - 删除UK8S集群
|
|
62
71
|
*
|
|
@@ -75,6 +84,15 @@ class UK8SClient extends client_1.default {
|
|
|
75
84
|
const args = Object.assign({ Action: 'DelUK8SClusterNodeV2' }, (request || {}));
|
|
76
85
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
77
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* DeleteUK8SULSConfig - 删除指定UK8S集群的日志采集规则。
|
|
89
|
+
*
|
|
90
|
+
* See also: https://docs.ucloud.cn/api/uk8s-api/delete_uk8s_uls_config
|
|
91
|
+
*/
|
|
92
|
+
deleteUK8SULSConfig(request) {
|
|
93
|
+
const args = Object.assign({ Action: 'DeleteUK8SULSConfig' }, (request || {}));
|
|
94
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
95
|
+
}
|
|
78
96
|
/**
|
|
79
97
|
* DescribeUK8SCluster - 获取集群信息
|
|
80
98
|
*
|
|
@@ -147,6 +165,15 @@ class UK8SClient extends client_1.default {
|
|
|
147
165
|
const args = Object.assign({ Action: 'ListUK8SNodeGroup' }, (request || {}));
|
|
148
166
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
149
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* ListUK8SULSConfig - 查询 UK8S 的 ULSConfig
|
|
170
|
+
*
|
|
171
|
+
* See also: https://docs.ucloud.cn/api/uk8s-api/list_uk8s_uls_config
|
|
172
|
+
*/
|
|
173
|
+
listUK8SULSConfig(request) {
|
|
174
|
+
const args = Object.assign({ Action: 'ListUK8SULSConfig' }, (request || {}));
|
|
175
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
176
|
+
}
|
|
150
177
|
/**
|
|
151
178
|
* RemoveUK8SNodeGroup - 删除UK8S节点池
|
|
152
179
|
*
|
|
@@ -156,5 +183,14 @@ class UK8SClient extends client_1.default {
|
|
|
156
183
|
const args = Object.assign({ Action: 'RemoveUK8SNodeGroup' }, (request || {}));
|
|
157
184
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
158
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* UpdateUK8SULSConfig - 更新指定UK8S集群的日志采集规则。
|
|
188
|
+
*
|
|
189
|
+
* See also: https://docs.ucloud.cn/api/uk8s-api/update_uk8s_uls_config
|
|
190
|
+
*/
|
|
191
|
+
updateUK8SULSConfig(request) {
|
|
192
|
+
const args = Object.assign({ Action: 'UpdateUK8SULSConfig' }, (request || {}));
|
|
193
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
194
|
+
}
|
|
159
195
|
}
|
|
160
196
|
exports.default = UK8SClient;
|