@alicloud/cs20151215 4.0.4 → 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 +28 -2
- package/dist/client.js +56 -11
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +58 -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 } {
|
|
@@ -5706,6 +5725,7 @@ export class MigrateClusterResponse extends $tea.Model {
|
|
|
5706
5725
|
|
|
5707
5726
|
export class ModifyClusterRequest extends $tea.Model {
|
|
5708
5727
|
accessControlList?: string[];
|
|
5728
|
+
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
5709
5729
|
apiServerEip?: boolean;
|
|
5710
5730
|
apiServerEipId?: string;
|
|
5711
5731
|
clusterName?: string;
|
|
@@ -5721,6 +5741,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
5721
5741
|
static names(): { [key: string]: string } {
|
|
5722
5742
|
return {
|
|
5723
5743
|
accessControlList: 'access_control_list',
|
|
5744
|
+
apiServerCustomCertSans: 'api_server_custom_cert_sans',
|
|
5724
5745
|
apiServerEip: 'api_server_eip',
|
|
5725
5746
|
apiServerEipId: 'api_server_eip_id',
|
|
5726
5747
|
clusterName: 'cluster_name',
|
|
@@ -5739,6 +5760,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
5739
5760
|
static types(): { [key: string]: any } {
|
|
5740
5761
|
return {
|
|
5741
5762
|
accessControlList: { 'type': 'array', 'itemType': 'string' },
|
|
5763
|
+
apiServerCustomCertSans: ModifyClusterRequestApiServerCustomCertSans,
|
|
5742
5764
|
apiServerEip: 'boolean',
|
|
5743
5765
|
apiServerEipId: 'string',
|
|
5744
5766
|
clusterName: 'string',
|
|
@@ -12459,6 +12481,28 @@ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
|
12459
12481
|
}
|
|
12460
12482
|
}
|
|
12461
12483
|
|
|
12484
|
+
export class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
12485
|
+
action?: string;
|
|
12486
|
+
subjectAlternativeNames?: string[];
|
|
12487
|
+
static names(): { [key: string]: string } {
|
|
12488
|
+
return {
|
|
12489
|
+
action: 'action',
|
|
12490
|
+
subjectAlternativeNames: 'subject_alternative_names',
|
|
12491
|
+
};
|
|
12492
|
+
}
|
|
12493
|
+
|
|
12494
|
+
static types(): { [key: string]: any } {
|
|
12495
|
+
return {
|
|
12496
|
+
action: 'string',
|
|
12497
|
+
subjectAlternativeNames: { 'type': 'array', 'itemType': 'string' },
|
|
12498
|
+
};
|
|
12499
|
+
}
|
|
12500
|
+
|
|
12501
|
+
constructor(map?: { [key: string]: any }) {
|
|
12502
|
+
super(map);
|
|
12503
|
+
}
|
|
12504
|
+
}
|
|
12505
|
+
|
|
12462
12506
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
12463
12507
|
channel?: string;
|
|
12464
12508
|
enabled?: boolean;
|
|
@@ -15218,9 +15262,16 @@ export default class Client extends OpenApi {
|
|
|
15218
15262
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
15219
15263
|
}
|
|
15220
15264
|
|
|
15221
|
-
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
|
+
|
|
15222
15272
|
let req = new $OpenApi.OpenApiRequest({
|
|
15223
15273
|
headers: headers,
|
|
15274
|
+
query: OpenApiUtil.query(query),
|
|
15224
15275
|
});
|
|
15225
15276
|
let params = new $OpenApi.Params({
|
|
15226
15277
|
action: "DescribeClusterNodePools",
|
|
@@ -15236,10 +15287,10 @@ export default class Client extends OpenApi {
|
|
|
15236
15287
|
return $tea.cast<DescribeClusterNodePoolsResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
15237
15288
|
}
|
|
15238
15289
|
|
|
15239
|
-
async describeClusterNodePools(ClusterId: string): Promise<DescribeClusterNodePoolsResponse> {
|
|
15290
|
+
async describeClusterNodePools(ClusterId: string, request: DescribeClusterNodePoolsRequest): Promise<DescribeClusterNodePoolsResponse> {
|
|
15240
15291
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15241
15292
|
let headers : {[key: string ]: string} = { };
|
|
15242
|
-
return await this.describeClusterNodePoolsWithOptions(ClusterId, headers, runtime);
|
|
15293
|
+
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
15243
15294
|
}
|
|
15244
15295
|
|
|
15245
15296
|
async describeClusterNodesWithOptions(ClusterId: string, request: DescribeClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse> {
|
|
@@ -16832,6 +16883,10 @@ export default class Client extends OpenApi {
|
|
|
16832
16883
|
body["access_control_list"] = request.accessControlList;
|
|
16833
16884
|
}
|
|
16834
16885
|
|
|
16886
|
+
if (!Util.isUnset(request.apiServerCustomCertSans)) {
|
|
16887
|
+
body["api_server_custom_cert_sans"] = request.apiServerCustomCertSans;
|
|
16888
|
+
}
|
|
16889
|
+
|
|
16835
16890
|
if (!Util.isUnset(request.apiServerEip)) {
|
|
16836
16891
|
body["api_server_eip"] = request.apiServerEip;
|
|
16837
16892
|
}
|