@alicloud/cs20151215 7.1.3 → 7.2.0
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/dist/client.d.ts +18 -0
- package/dist/client.js +59 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +38 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js +69 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +95 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js +143 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +38 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js +66 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +24 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +67 -0
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +62 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +164 -0
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +59 -0
- package/src/models/model.ts +7 -0
package/dist/client.d.ts
CHANGED
|
@@ -1870,6 +1870,24 @@ export default class Client extends OpenApi {
|
|
|
1870
1870
|
* @returns ListClusterKubeconfigStatesResponse
|
|
1871
1871
|
*/
|
|
1872
1872
|
listClusterKubeconfigStates(ClusterId: string, request: $_model.ListClusterKubeconfigStatesRequest): Promise<$_model.ListClusterKubeconfigStatesResponse>;
|
|
1873
|
+
/**
|
|
1874
|
+
* 查询节点组件在节点上的状态
|
|
1875
|
+
*
|
|
1876
|
+
* @param tmpReq - ListNodePoolComponentInstanceNodesRequest
|
|
1877
|
+
* @param headers - map
|
|
1878
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1879
|
+
* @returns ListNodePoolComponentInstanceNodesResponse
|
|
1880
|
+
*/
|
|
1881
|
+
listNodePoolComponentInstanceNodesWithOptions(clusterId: string, nodepoolId: string, name: string, tmpReq: $_model.ListNodePoolComponentInstanceNodesRequest, headers: {
|
|
1882
|
+
[key: string]: string;
|
|
1883
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListNodePoolComponentInstanceNodesResponse>;
|
|
1884
|
+
/**
|
|
1885
|
+
* 查询节点组件在节点上的状态
|
|
1886
|
+
*
|
|
1887
|
+
* @param request - ListNodePoolComponentInstanceNodesRequest
|
|
1888
|
+
* @returns ListNodePoolComponentInstanceNodesResponse
|
|
1889
|
+
*/
|
|
1890
|
+
listNodePoolComponentInstanceNodes(clusterId: string, nodepoolId: string, name: string, request: $_model.ListNodePoolComponentInstanceNodesRequest): Promise<$_model.ListNodePoolComponentInstanceNodesResponse>;
|
|
1873
1891
|
/**
|
|
1874
1892
|
* 查询节点组件实例列表
|
|
1875
1893
|
*
|
package/dist/client.js
CHANGED
|
@@ -4957,6 +4957,65 @@ class Client extends openapi_core_1.default {
|
|
|
4957
4957
|
let headers = {};
|
|
4958
4958
|
return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
|
|
4959
4959
|
}
|
|
4960
|
+
/**
|
|
4961
|
+
* 查询节点组件在节点上的状态
|
|
4962
|
+
*
|
|
4963
|
+
* @param tmpReq - ListNodePoolComponentInstanceNodesRequest
|
|
4964
|
+
* @param headers - map
|
|
4965
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4966
|
+
* @returns ListNodePoolComponentInstanceNodesResponse
|
|
4967
|
+
*/
|
|
4968
|
+
async listNodePoolComponentInstanceNodesWithOptions(clusterId, nodepoolId, name, tmpReq, headers, runtime) {
|
|
4969
|
+
tmpReq.validate();
|
|
4970
|
+
let request = new $_model.ListNodePoolComponentInstanceNodesShrinkRequest({});
|
|
4971
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4972
|
+
if (!$dara.isNull(tmpReq.nodeNames)) {
|
|
4973
|
+
request.nodeNamesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nodeNames, "node_names", "json");
|
|
4974
|
+
}
|
|
4975
|
+
let query = {};
|
|
4976
|
+
if (!$dara.isNull(request.configRevision)) {
|
|
4977
|
+
query["config_revision"] = request.configRevision;
|
|
4978
|
+
}
|
|
4979
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4980
|
+
query["max_results"] = request.maxResults;
|
|
4981
|
+
}
|
|
4982
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4983
|
+
query["next_token"] = request.nextToken;
|
|
4984
|
+
}
|
|
4985
|
+
if (!$dara.isNull(request.nodeNamesShrink)) {
|
|
4986
|
+
query["node_names"] = request.nodeNamesShrink;
|
|
4987
|
+
}
|
|
4988
|
+
if (!$dara.isNull(request.version)) {
|
|
4989
|
+
query["version"] = request.version;
|
|
4990
|
+
}
|
|
4991
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4992
|
+
headers: headers,
|
|
4993
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4994
|
+
});
|
|
4995
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4996
|
+
action: "ListNodePoolComponentInstanceNodes",
|
|
4997
|
+
version: "2015-12-15",
|
|
4998
|
+
protocol: "HTTPS",
|
|
4999
|
+
pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/nodepools/${$dara.URL.percentEncode(nodepoolId)}/component_instances/${$dara.URL.percentEncode(name)}/nodes`,
|
|
5000
|
+
method: "GET",
|
|
5001
|
+
authType: "AK",
|
|
5002
|
+
style: "ROA",
|
|
5003
|
+
reqBodyType: "json",
|
|
5004
|
+
bodyType: "json",
|
|
5005
|
+
});
|
|
5006
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListNodePoolComponentInstanceNodesResponse({}));
|
|
5007
|
+
}
|
|
5008
|
+
/**
|
|
5009
|
+
* 查询节点组件在节点上的状态
|
|
5010
|
+
*
|
|
5011
|
+
* @param request - ListNodePoolComponentInstanceNodesRequest
|
|
5012
|
+
* @returns ListNodePoolComponentInstanceNodesResponse
|
|
5013
|
+
*/
|
|
5014
|
+
async listNodePoolComponentInstanceNodes(clusterId, nodepoolId, name, request) {
|
|
5015
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5016
|
+
let headers = {};
|
|
5017
|
+
return await this.listNodePoolComponentInstanceNodesWithOptions(clusterId, nodepoolId, name, request, headers, runtime);
|
|
5018
|
+
}
|
|
4960
5019
|
/**
|
|
4961
5020
|
* 查询节点组件实例列表
|
|
4962
5021
|
*
|