@alicloud/cs20151215 4.0.5 → 4.0.6
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 +14 -2
- package/dist/client.js +33 -11
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +29 -3
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3045,6 +3045,25 @@ export class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
3045
3045
|
}
|
|
3046
3046
|
}
|
|
3047
3047
|
|
|
3048
|
+
export class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
3049
|
+
nodepoolName?: string;
|
|
3050
|
+
static names(): { [key: string]: string } {
|
|
3051
|
+
return {
|
|
3052
|
+
nodepoolName: 'NodepoolName',
|
|
3053
|
+
};
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
static types(): { [key: string]: any } {
|
|
3057
|
+
return {
|
|
3058
|
+
nodepoolName: 'string',
|
|
3059
|
+
};
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
constructor(map?: { [key: string]: any }) {
|
|
3063
|
+
super(map);
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3048
3067
|
export class DescribeClusterNodePoolsResponseBody extends $tea.Model {
|
|
3049
3068
|
nodepools?: DescribeClusterNodePoolsResponseBodyNodepools[];
|
|
3050
3069
|
static names(): { [key: string]: string } {
|
|
@@ -15243,9 +15262,16 @@ export default class Client extends OpenApi {
|
|
|
15243
15262
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
15244
15263
|
}
|
|
15245
15264
|
|
|
15246
|
-
async describeClusterNodePoolsWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse> {
|
|
15265
|
+
async describeClusterNodePoolsWithOptions(ClusterId: string, request: DescribeClusterNodePoolsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse> {
|
|
15266
|
+
Util.validateModel(request);
|
|
15267
|
+
let query : {[key: string ]: any} = { };
|
|
15268
|
+
if (!Util.isUnset(request.nodepoolName)) {
|
|
15269
|
+
query["NodepoolName"] = request.nodepoolName;
|
|
15270
|
+
}
|
|
15271
|
+
|
|
15247
15272
|
let req = new $OpenApi.OpenApiRequest({
|
|
15248
15273
|
headers: headers,
|
|
15274
|
+
query: OpenApiUtil.query(query),
|
|
15249
15275
|
});
|
|
15250
15276
|
let params = new $OpenApi.Params({
|
|
15251
15277
|
action: "DescribeClusterNodePools",
|
|
@@ -15261,10 +15287,10 @@ export default class Client extends OpenApi {
|
|
|
15261
15287
|
return $tea.cast<DescribeClusterNodePoolsResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
15262
15288
|
}
|
|
15263
15289
|
|
|
15264
|
-
async describeClusterNodePools(ClusterId: string): Promise<DescribeClusterNodePoolsResponse> {
|
|
15290
|
+
async describeClusterNodePools(ClusterId: string, request: DescribeClusterNodePoolsRequest): Promise<DescribeClusterNodePoolsResponse> {
|
|
15265
15291
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15266
15292
|
let headers : {[key: string ]: string} = { };
|
|
15267
|
-
return await this.describeClusterNodePoolsWithOptions(ClusterId, headers, runtime);
|
|
15293
|
+
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
15268
15294
|
}
|
|
15269
15295
|
|
|
15270
15296
|
async describeClusterNodesWithOptions(ClusterId: string, request: DescribeClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse> {
|