@alicloud/cs20151215 3.2.0 → 3.3.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 +204 -2
- package/dist/client.js +352 -3
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +434 -3
package/dist/client.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export declare class DataDisk extends $tea.Model {
|
|
|
24
24
|
autoSnapshotPolicyId?: string;
|
|
25
25
|
burstingEnabled?: boolean;
|
|
26
26
|
category?: string;
|
|
27
|
+
device?: string;
|
|
28
|
+
diskName?: string;
|
|
27
29
|
encrypted?: string;
|
|
28
30
|
fileSystem?: string;
|
|
29
31
|
kmsKeyId?: string;
|
|
@@ -31,6 +33,7 @@ export declare class DataDisk extends $tea.Model {
|
|
|
31
33
|
performanceLevel?: string;
|
|
32
34
|
provisionedIops?: number;
|
|
33
35
|
size?: number;
|
|
36
|
+
snapshotId?: string;
|
|
34
37
|
static names(): {
|
|
35
38
|
[key: string]: string;
|
|
36
39
|
};
|
|
@@ -881,6 +884,8 @@ export declare class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
881
884
|
});
|
|
882
885
|
}
|
|
883
886
|
export declare class DeleteClusterResponseBody extends $tea.Model {
|
|
887
|
+
clusterId?: string;
|
|
888
|
+
requestId?: string;
|
|
884
889
|
taskId?: string;
|
|
885
890
|
static names(): {
|
|
886
891
|
[key: string]: string;
|
|
@@ -1187,6 +1192,60 @@ export declare class DescirbeWorkflowResponse extends $tea.Model {
|
|
|
1187
1192
|
[key: string]: any;
|
|
1188
1193
|
});
|
|
1189
1194
|
}
|
|
1195
|
+
export declare class DescribeAddonRequest extends $tea.Model {
|
|
1196
|
+
clusterId?: string;
|
|
1197
|
+
clusterSpec?: string;
|
|
1198
|
+
clusterType?: string;
|
|
1199
|
+
clusterVersion?: string;
|
|
1200
|
+
profile?: string;
|
|
1201
|
+
regionId?: string;
|
|
1202
|
+
version?: string;
|
|
1203
|
+
static names(): {
|
|
1204
|
+
[key: string]: string;
|
|
1205
|
+
};
|
|
1206
|
+
static types(): {
|
|
1207
|
+
[key: string]: any;
|
|
1208
|
+
};
|
|
1209
|
+
constructor(map?: {
|
|
1210
|
+
[key: string]: any;
|
|
1211
|
+
});
|
|
1212
|
+
}
|
|
1213
|
+
export declare class DescribeAddonResponseBody extends $tea.Model {
|
|
1214
|
+
architecture?: string[];
|
|
1215
|
+
category?: string;
|
|
1216
|
+
configSchema?: string;
|
|
1217
|
+
installByDefault?: boolean;
|
|
1218
|
+
managed?: boolean;
|
|
1219
|
+
name?: string;
|
|
1220
|
+
newerVersions?: DescribeAddonResponseBodyNewerVersions[];
|
|
1221
|
+
supportedActions?: string[];
|
|
1222
|
+
version?: string;
|
|
1223
|
+
static names(): {
|
|
1224
|
+
[key: string]: string;
|
|
1225
|
+
};
|
|
1226
|
+
static types(): {
|
|
1227
|
+
[key: string]: any;
|
|
1228
|
+
};
|
|
1229
|
+
constructor(map?: {
|
|
1230
|
+
[key: string]: any;
|
|
1231
|
+
});
|
|
1232
|
+
}
|
|
1233
|
+
export declare class DescribeAddonResponse extends $tea.Model {
|
|
1234
|
+
headers: {
|
|
1235
|
+
[key: string]: string;
|
|
1236
|
+
};
|
|
1237
|
+
statusCode: number;
|
|
1238
|
+
body: DescribeAddonResponseBody;
|
|
1239
|
+
static names(): {
|
|
1240
|
+
[key: string]: string;
|
|
1241
|
+
};
|
|
1242
|
+
static types(): {
|
|
1243
|
+
[key: string]: any;
|
|
1244
|
+
};
|
|
1245
|
+
constructor(map?: {
|
|
1246
|
+
[key: string]: any;
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1190
1249
|
export declare class DescribeAddonsRequest extends $tea.Model {
|
|
1191
1250
|
clusterProfile?: string;
|
|
1192
1251
|
clusterSpec?: string;
|
|
@@ -2992,6 +3051,47 @@ export declare class ListClusterChecksResponse extends $tea.Model {
|
|
|
2992
3051
|
[key: string]: any;
|
|
2993
3052
|
});
|
|
2994
3053
|
}
|
|
3054
|
+
export declare class ListOperationPlansRequest extends $tea.Model {
|
|
3055
|
+
clusterId?: string;
|
|
3056
|
+
type?: string;
|
|
3057
|
+
static names(): {
|
|
3058
|
+
[key: string]: string;
|
|
3059
|
+
};
|
|
3060
|
+
static types(): {
|
|
3061
|
+
[key: string]: any;
|
|
3062
|
+
};
|
|
3063
|
+
constructor(map?: {
|
|
3064
|
+
[key: string]: any;
|
|
3065
|
+
});
|
|
3066
|
+
}
|
|
3067
|
+
export declare class ListOperationPlansResponseBody extends $tea.Model {
|
|
3068
|
+
plans?: ListOperationPlansResponseBodyPlans[];
|
|
3069
|
+
static names(): {
|
|
3070
|
+
[key: string]: string;
|
|
3071
|
+
};
|
|
3072
|
+
static types(): {
|
|
3073
|
+
[key: string]: any;
|
|
3074
|
+
};
|
|
3075
|
+
constructor(map?: {
|
|
3076
|
+
[key: string]: any;
|
|
3077
|
+
});
|
|
3078
|
+
}
|
|
3079
|
+
export declare class ListOperationPlansResponse extends $tea.Model {
|
|
3080
|
+
headers: {
|
|
3081
|
+
[key: string]: string;
|
|
3082
|
+
};
|
|
3083
|
+
statusCode: number;
|
|
3084
|
+
body: ListOperationPlansResponseBody;
|
|
3085
|
+
static names(): {
|
|
3086
|
+
[key: string]: string;
|
|
3087
|
+
};
|
|
3088
|
+
static types(): {
|
|
3089
|
+
[key: string]: any;
|
|
3090
|
+
};
|
|
3091
|
+
constructor(map?: {
|
|
3092
|
+
[key: string]: any;
|
|
3093
|
+
});
|
|
3094
|
+
}
|
|
2995
3095
|
export declare class ListTagResourcesRequest extends $tea.Model {
|
|
2996
3096
|
nextToken?: string;
|
|
2997
3097
|
regionId?: string;
|
|
@@ -3206,6 +3306,7 @@ export declare class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
3206
3306
|
}
|
|
3207
3307
|
export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
3208
3308
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
3309
|
+
concurrency?: boolean;
|
|
3209
3310
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
3210
3311
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
3211
3312
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
@@ -3482,6 +3583,7 @@ export declare class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
3482
3583
|
});
|
|
3483
3584
|
}
|
|
3484
3585
|
export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
3586
|
+
concurrency?: boolean;
|
|
3485
3587
|
drainNode?: boolean;
|
|
3486
3588
|
instanceIds?: string[];
|
|
3487
3589
|
nodes?: string[];
|
|
@@ -3497,6 +3599,7 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
3497
3599
|
});
|
|
3498
3600
|
}
|
|
3499
3601
|
export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
3602
|
+
concurrency?: boolean;
|
|
3500
3603
|
drainNode?: boolean;
|
|
3501
3604
|
instanceIdsShrink?: string;
|
|
3502
3605
|
nodesShrink?: string;
|
|
@@ -4181,11 +4284,26 @@ export declare class UpdateControlPlaneLogRequest extends $tea.Model {
|
|
|
4181
4284
|
[key: string]: any;
|
|
4182
4285
|
});
|
|
4183
4286
|
}
|
|
4287
|
+
export declare class UpdateControlPlaneLogResponseBody extends $tea.Model {
|
|
4288
|
+
clusterId?: string;
|
|
4289
|
+
requestId?: string;
|
|
4290
|
+
taskId?: string;
|
|
4291
|
+
static names(): {
|
|
4292
|
+
[key: string]: string;
|
|
4293
|
+
};
|
|
4294
|
+
static types(): {
|
|
4295
|
+
[key: string]: any;
|
|
4296
|
+
};
|
|
4297
|
+
constructor(map?: {
|
|
4298
|
+
[key: string]: any;
|
|
4299
|
+
});
|
|
4300
|
+
}
|
|
4184
4301
|
export declare class UpdateControlPlaneLogResponse extends $tea.Model {
|
|
4185
4302
|
headers: {
|
|
4186
4303
|
[key: string]: string;
|
|
4187
4304
|
};
|
|
4188
4305
|
statusCode: number;
|
|
4306
|
+
body: UpdateControlPlaneLogResponseBody;
|
|
4189
4307
|
static names(): {
|
|
4190
4308
|
[key: string]: string;
|
|
4191
4309
|
};
|
|
@@ -4894,6 +5012,20 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
4894
5012
|
[key: string]: any;
|
|
4895
5013
|
});
|
|
4896
5014
|
}
|
|
5015
|
+
export declare class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
|
|
5016
|
+
minimumClusterVersion?: string;
|
|
5017
|
+
upgradable?: boolean;
|
|
5018
|
+
version?: string;
|
|
5019
|
+
static names(): {
|
|
5020
|
+
[key: string]: string;
|
|
5021
|
+
};
|
|
5022
|
+
static types(): {
|
|
5023
|
+
[key: string]: any;
|
|
5024
|
+
};
|
|
5025
|
+
constructor(map?: {
|
|
5026
|
+
[key: string]: any;
|
|
5027
|
+
});
|
|
5028
|
+
}
|
|
4897
5029
|
export declare class DescribeAddonsResponseBodyComponentGroupsItems extends $tea.Model {
|
|
4898
5030
|
name?: string;
|
|
4899
5031
|
static names(): {
|
|
@@ -6456,6 +6588,26 @@ export declare class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
|
6456
6588
|
[key: string]: any;
|
|
6457
6589
|
});
|
|
6458
6590
|
}
|
|
6591
|
+
export declare class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
6592
|
+
clusterId?: string;
|
|
6593
|
+
created?: string;
|
|
6594
|
+
endTime?: string;
|
|
6595
|
+
planId?: string;
|
|
6596
|
+
startTime?: string;
|
|
6597
|
+
state?: string;
|
|
6598
|
+
targetId?: string;
|
|
6599
|
+
targetType?: string;
|
|
6600
|
+
type?: string;
|
|
6601
|
+
static names(): {
|
|
6602
|
+
[key: string]: string;
|
|
6603
|
+
};
|
|
6604
|
+
static types(): {
|
|
6605
|
+
[key: string]: any;
|
|
6606
|
+
};
|
|
6607
|
+
constructor(map?: {
|
|
6608
|
+
[key: string]: any;
|
|
6609
|
+
});
|
|
6610
|
+
}
|
|
6459
6611
|
export declare class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
6460
6612
|
resourceId?: string;
|
|
6461
6613
|
resourceType?: string;
|
|
@@ -6865,9 +7017,35 @@ export default class Client extends OpenApi {
|
|
|
6865
7017
|
[key: string]: string;
|
|
6866
7018
|
}, runtime: $Util.RuntimeOptions): Promise<CreateAutoscalingConfigResponse>;
|
|
6867
7019
|
createAutoscalingConfig(ClusterId: string, request: CreateAutoscalingConfigRequest): Promise<CreateAutoscalingConfigResponse>;
|
|
7020
|
+
/**
|
|
7021
|
+
* This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
7022
|
+
* * [Create an ACK managed cluster](~~90776~~)
|
|
7023
|
+
* * [Create an ACK dedicated cluster](~~197620~~)
|
|
7024
|
+
* * [Create an ACK Serverless cluster](~~144246~~)
|
|
7025
|
+
* * [Create an ACK Edge cluster](128204)
|
|
7026
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
|
|
7027
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](140623)
|
|
7028
|
+
*
|
|
7029
|
+
* @param request CreateClusterRequest
|
|
7030
|
+
* @param headers map
|
|
7031
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7032
|
+
* @return CreateClusterResponse
|
|
7033
|
+
*/
|
|
6868
7034
|
createClusterWithOptions(request: CreateClusterRequest, headers: {
|
|
6869
7035
|
[key: string]: string;
|
|
6870
7036
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse>;
|
|
7037
|
+
/**
|
|
7038
|
+
* This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
7039
|
+
* * [Create an ACK managed cluster](~~90776~~)
|
|
7040
|
+
* * [Create an ACK dedicated cluster](~~197620~~)
|
|
7041
|
+
* * [Create an ACK Serverless cluster](~~144246~~)
|
|
7042
|
+
* * [Create an ACK Edge cluster](128204)
|
|
7043
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
|
|
7044
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](140623)
|
|
7045
|
+
*
|
|
7046
|
+
* @param request CreateClusterRequest
|
|
7047
|
+
* @return CreateClusterResponse
|
|
7048
|
+
*/
|
|
6871
7049
|
createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
|
|
6872
7050
|
createClusterNodePoolWithOptions(ClusterId: string, request: CreateClusterNodePoolRequest, headers: {
|
|
6873
7051
|
[key: string]: string;
|
|
@@ -6953,6 +7131,10 @@ export default class Client extends OpenApi {
|
|
|
6953
7131
|
[key: string]: string;
|
|
6954
7132
|
}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse>;
|
|
6955
7133
|
descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse>;
|
|
7134
|
+
describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {
|
|
7135
|
+
[key: string]: string;
|
|
7136
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse>;
|
|
7137
|
+
describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse>;
|
|
6956
7138
|
describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {
|
|
6957
7139
|
[key: string]: string;
|
|
6958
7140
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse>;
|
|
@@ -7025,9 +7207,25 @@ export default class Client extends OpenApi {
|
|
|
7025
7207
|
[key: string]: string;
|
|
7026
7208
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse>;
|
|
7027
7209
|
describeClusterTasks(clusterId: string, request: DescribeClusterTasksRequest): Promise<DescribeClusterTasksResponse>;
|
|
7210
|
+
/**
|
|
7211
|
+
* **
|
|
7212
|
+
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
7213
|
+
*
|
|
7214
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
7215
|
+
* @param headers map
|
|
7216
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7217
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
7218
|
+
*/
|
|
7028
7219
|
describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {
|
|
7029
7220
|
[key: string]: string;
|
|
7030
7221
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse>;
|
|
7222
|
+
/**
|
|
7223
|
+
* **
|
|
7224
|
+
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
7225
|
+
*
|
|
7226
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
7227
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
7228
|
+
*/
|
|
7031
7229
|
describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse>;
|
|
7032
7230
|
/**
|
|
7033
7231
|
* @deprecated
|
|
@@ -7275,6 +7473,10 @@ export default class Client extends OpenApi {
|
|
|
7275
7473
|
[key: string]: string;
|
|
7276
7474
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse>;
|
|
7277
7475
|
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
7476
|
+
listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {
|
|
7477
|
+
[key: string]: string;
|
|
7478
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse>;
|
|
7479
|
+
listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse>;
|
|
7278
7480
|
listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {
|
|
7279
7481
|
[key: string]: string;
|
|
7280
7482
|
}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
|
@@ -7324,7 +7526,7 @@ export default class Client extends OpenApi {
|
|
|
7324
7526
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
|
|
7325
7527
|
modifyClusterTags(ClusterId: string, request: ModifyClusterTagsRequest): Promise<ModifyClusterTagsResponse>;
|
|
7326
7528
|
/**
|
|
7327
|
-
*
|
|
7529
|
+
* > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
|
|
7328
7530
|
*
|
|
7329
7531
|
* @param request ModifyNodePoolNodeConfigRequest
|
|
7330
7532
|
* @param headers map
|
|
@@ -7335,7 +7537,7 @@ export default class Client extends OpenApi {
|
|
|
7335
7537
|
[key: string]: string;
|
|
7336
7538
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse>;
|
|
7337
7539
|
/**
|
|
7338
|
-
*
|
|
7540
|
+
* > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
|
|
7339
7541
|
*
|
|
7340
7542
|
* @param request ModifyNodePoolNodeConfigRequest
|
|
7341
7543
|
* @return ModifyNodePoolNodeConfigResponse
|