@alicloud/cs20151215 6.0.0 → 6.1.1
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 +51 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ContainerdConfig.d.ts +5 -0
- package/dist/models/ContainerdConfig.js +10 -0
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +40 -0
- package/dist/models/CreateClusterNodePoolRequest.js +56 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +58 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +88 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +40 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +56 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +28 -0
- package/dist/models/ListOperationPlansForRegionRequest.js +62 -0
- package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -0
- package/dist/models/ListOperationPlansForRegionResponse.d.ts +19 -0
- package/dist/models/ListOperationPlansForRegionResponse.js +69 -0
- package/dist/models/ListOperationPlansForRegionResponse.js.map +1 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +91 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js +124 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -0
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +1 -0
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +39 -0
- package/dist/models/Nodepool.js +54 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +82 -54
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -0
- package/src/models/ContainerdConfig.ts +15 -0
- package/src/models/CreateClusterNodePoolRequest.ts +75 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +116 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +75 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +45 -0
- package/src/models/ListOperationPlansForRegionResponse.ts +40 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +152 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +3 -0
- package/src/models/Nodepool.ts +72 -0
- package/src/models/model.ts +14 -0
package/dist/client.d.ts
CHANGED
|
@@ -1690,6 +1690,24 @@ export default class Client extends OpenApi {
|
|
|
1690
1690
|
* @returns ListOperationPlansResponse
|
|
1691
1691
|
*/
|
|
1692
1692
|
listOperationPlans(request: $_model.ListOperationPlansRequest): Promise<$_model.ListOperationPlansResponse>;
|
|
1693
|
+
/**
|
|
1694
|
+
* 获取单个地域的自动运维执行计划列表
|
|
1695
|
+
*
|
|
1696
|
+
* @param request - ListOperationPlansForRegionRequest
|
|
1697
|
+
* @param headers - map
|
|
1698
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1699
|
+
* @returns ListOperationPlansForRegionResponse
|
|
1700
|
+
*/
|
|
1701
|
+
listOperationPlansForRegionWithOptions(regionId: string, request: $_model.ListOperationPlansForRegionRequest, headers: {
|
|
1702
|
+
[key: string]: string;
|
|
1703
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOperationPlansForRegionResponse>;
|
|
1704
|
+
/**
|
|
1705
|
+
* 获取单个地域的自动运维执行计划列表
|
|
1706
|
+
*
|
|
1707
|
+
* @param request - ListOperationPlansForRegionRequest
|
|
1708
|
+
* @returns ListOperationPlansForRegionResponse
|
|
1709
|
+
*/
|
|
1710
|
+
listOperationPlansForRegion(regionId: string, request: $_model.ListOperationPlansForRegionRequest): Promise<$_model.ListOperationPlansForRegionResponse>;
|
|
1693
1711
|
/**
|
|
1694
1712
|
* Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
1695
1713
|
*
|
package/dist/client.js
CHANGED
|
@@ -1140,6 +1140,9 @@ class Client extends openapi_core_1.default {
|
|
|
1140
1140
|
if (!$dara.isNull(request.maxNodes)) {
|
|
1141
1141
|
body["max_nodes"] = request.maxNodes;
|
|
1142
1142
|
}
|
|
1143
|
+
if (!$dara.isNull(request.nodeComponents)) {
|
|
1144
|
+
body["node_components"] = request.nodeComponents;
|
|
1145
|
+
}
|
|
1143
1146
|
if (!$dara.isNull(request.nodeConfig)) {
|
|
1144
1147
|
body["node_config"] = request.nodeConfig;
|
|
1145
1148
|
}
|
|
@@ -4483,6 +4486,54 @@ class Client extends openapi_core_1.default {
|
|
|
4483
4486
|
let headers = {};
|
|
4484
4487
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
4485
4488
|
}
|
|
4489
|
+
/**
|
|
4490
|
+
* 获取单个地域的自动运维执行计划列表
|
|
4491
|
+
*
|
|
4492
|
+
* @param request - ListOperationPlansForRegionRequest
|
|
4493
|
+
* @param headers - map
|
|
4494
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4495
|
+
* @returns ListOperationPlansForRegionResponse
|
|
4496
|
+
*/
|
|
4497
|
+
async listOperationPlansForRegionWithOptions(regionId, request, headers, runtime) {
|
|
4498
|
+
request.validate();
|
|
4499
|
+
let query = {};
|
|
4500
|
+
if (!$dara.isNull(request.clusterId)) {
|
|
4501
|
+
query["cluster_id"] = request.clusterId;
|
|
4502
|
+
}
|
|
4503
|
+
if (!$dara.isNull(request.state)) {
|
|
4504
|
+
query["state"] = request.state;
|
|
4505
|
+
}
|
|
4506
|
+
if (!$dara.isNull(request.type)) {
|
|
4507
|
+
query["type"] = request.type;
|
|
4508
|
+
}
|
|
4509
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4510
|
+
headers: headers,
|
|
4511
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4512
|
+
});
|
|
4513
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4514
|
+
action: "ListOperationPlansForRegion",
|
|
4515
|
+
version: "2015-12-15",
|
|
4516
|
+
protocol: "HTTPS",
|
|
4517
|
+
pathname: `/regions/${$dara.URL.percentEncode(regionId)}/operation/plans`,
|
|
4518
|
+
method: "GET",
|
|
4519
|
+
authType: "AK",
|
|
4520
|
+
style: "ROA",
|
|
4521
|
+
reqBodyType: "json",
|
|
4522
|
+
bodyType: "json",
|
|
4523
|
+
});
|
|
4524
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOperationPlansForRegionResponse({}));
|
|
4525
|
+
}
|
|
4526
|
+
/**
|
|
4527
|
+
* 获取单个地域的自动运维执行计划列表
|
|
4528
|
+
*
|
|
4529
|
+
* @param request - ListOperationPlansForRegionRequest
|
|
4530
|
+
* @returns ListOperationPlansForRegionResponse
|
|
4531
|
+
*/
|
|
4532
|
+
async listOperationPlansForRegion(regionId, request) {
|
|
4533
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4534
|
+
let headers = {};
|
|
4535
|
+
return await this.listOperationPlansForRegionWithOptions(regionId, request, headers, runtime);
|
|
4536
|
+
}
|
|
4486
4537
|
/**
|
|
4487
4538
|
* Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
4488
4539
|
*
|