@alicloud/cs20151215 4.8.7 → 4.8.8
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 +36 -17
- package/dist/client.js +9 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -17
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1634,6 +1634,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1634
1634
|
* 0
|
|
1635
1635
|
*/
|
|
1636
1636
|
minReplicaCount?: number;
|
|
1637
|
+
priorities?: { [key: string]: string[] };
|
|
1637
1638
|
/**
|
|
1638
1639
|
* @remarks
|
|
1639
1640
|
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false Valid values:
|
|
@@ -1728,6 +1729,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1728
1729
|
gpuUtilizationThreshold: 'gpu_utilization_threshold',
|
|
1729
1730
|
maxGracefulTerminationSec: 'max_graceful_termination_sec',
|
|
1730
1731
|
minReplicaCount: 'min_replica_count',
|
|
1732
|
+
priorities: 'priorities',
|
|
1731
1733
|
recycleNodeDeletionEnabled: 'recycle_node_deletion_enabled',
|
|
1732
1734
|
scaleDownEnabled: 'scale_down_enabled',
|
|
1733
1735
|
scaleUpFromZero: 'scale_up_from_zero',
|
|
@@ -1748,6 +1750,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1748
1750
|
gpuUtilizationThreshold: 'string',
|
|
1749
1751
|
maxGracefulTerminationSec: 'number',
|
|
1750
1752
|
minReplicaCount: 'number',
|
|
1753
|
+
priorities: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
1751
1754
|
recycleNodeDeletionEnabled: 'boolean',
|
|
1752
1755
|
scaleDownEnabled: 'boolean',
|
|
1753
1756
|
scaleUpFromZero: 'boolean',
|
|
@@ -9989,7 +9992,7 @@ export class GetClusterCheckResponse extends $tea.Model {
|
|
|
9989
9992
|
export class GetClusterDiagnosisCheckItemsRequest extends $tea.Model {
|
|
9990
9993
|
/**
|
|
9991
9994
|
* @remarks
|
|
9992
|
-
*
|
|
9995
|
+
* The query language.
|
|
9993
9996
|
*
|
|
9994
9997
|
* @example
|
|
9995
9998
|
* zh_CN
|
|
@@ -10093,7 +10096,7 @@ export class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
10093
10096
|
export class GetClusterDiagnosisResultRequest extends $tea.Model {
|
|
10094
10097
|
/**
|
|
10095
10098
|
* @remarks
|
|
10096
|
-
*
|
|
10099
|
+
* The query language.
|
|
10097
10100
|
*
|
|
10098
10101
|
* @example
|
|
10099
10102
|
* zh_CN
|
|
@@ -10541,7 +10544,7 @@ export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
|
10541
10544
|
clusterId?: string;
|
|
10542
10545
|
/**
|
|
10543
10546
|
* @remarks
|
|
10544
|
-
* The request
|
|
10547
|
+
* The ID of the request.
|
|
10545
10548
|
*
|
|
10546
10549
|
* @example
|
|
10547
10550
|
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
@@ -10549,7 +10552,7 @@ export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
|
10549
10552
|
requestId?: string;
|
|
10550
10553
|
/**
|
|
10551
10554
|
* @remarks
|
|
10552
|
-
* The ID of the
|
|
10555
|
+
* The ID of the task.
|
|
10553
10556
|
*
|
|
10554
10557
|
* @example
|
|
10555
10558
|
* T-5a54309c80282e39ea00002f
|
|
@@ -10993,7 +10996,7 @@ export class ListOperationPlansRequest extends $tea.Model {
|
|
|
10993
10996
|
export class ListOperationPlansResponseBody extends $tea.Model {
|
|
10994
10997
|
/**
|
|
10995
10998
|
* @remarks
|
|
10996
|
-
* The
|
|
10999
|
+
* The list of auto O\\&M execution plans.
|
|
10997
11000
|
*/
|
|
10998
11001
|
plans?: ListOperationPlansResponseBodyPlans[];
|
|
10999
11002
|
static names(): { [key: string]: string } {
|
|
@@ -13908,17 +13911,26 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
13908
13911
|
export class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
13909
13912
|
/**
|
|
13910
13913
|
* @remarks
|
|
13911
|
-
*
|
|
13914
|
+
* The ID of the cluster.
|
|
13915
|
+
*
|
|
13916
|
+
* @example
|
|
13917
|
+
* c5b5e80b0b64a4bf6939d2d8fbbc5****
|
|
13912
13918
|
*/
|
|
13913
13919
|
clusterId?: string;
|
|
13914
13920
|
/**
|
|
13915
13921
|
* @remarks
|
|
13916
|
-
*
|
|
13922
|
+
* The ID of the request.
|
|
13923
|
+
*
|
|
13924
|
+
* @example
|
|
13925
|
+
* 74D1512F-67DA-54E8-99EA-4D50EB4898F4
|
|
13917
13926
|
*/
|
|
13918
13927
|
requestId?: string;
|
|
13919
13928
|
/**
|
|
13920
13929
|
* @remarks
|
|
13921
|
-
*
|
|
13930
|
+
* The ID of the task.
|
|
13931
|
+
*
|
|
13932
|
+
* @example
|
|
13933
|
+
* T-66e39b39c0fdd001320005c0
|
|
13922
13934
|
*/
|
|
13923
13935
|
taskId?: string;
|
|
13924
13936
|
static names(): { [key: string]: string } {
|
|
@@ -14163,10 +14175,10 @@ export class UntagResourcesResponse extends $tea.Model {
|
|
|
14163
14175
|
export class UpdateClusterAuditLogConfigRequest extends $tea.Model {
|
|
14164
14176
|
/**
|
|
14165
14177
|
* @remarks
|
|
14166
|
-
* Enable or disable
|
|
14178
|
+
* Enable or disable audit logging.
|
|
14167
14179
|
*
|
|
14168
|
-
* * false: enables
|
|
14169
|
-
* * true: disables
|
|
14180
|
+
* * false: enables audit logging or updates the audit logging configurations.
|
|
14181
|
+
* * true: disables audit logging.
|
|
14170
14182
|
*
|
|
14171
14183
|
* @example
|
|
14172
14184
|
* false
|
|
@@ -14174,11 +14186,11 @@ export class UpdateClusterAuditLogConfigRequest extends $tea.Model {
|
|
|
14174
14186
|
disable?: boolean;
|
|
14175
14187
|
/**
|
|
14176
14188
|
* @remarks
|
|
14177
|
-
* The [
|
|
14189
|
+
* The [Simple Log Service project](https://help.aliyun.com/document_detail/48873.html) to which the [Logstore](https://help.aliyun.com/document_detail/48873.html) that stores the cluster audit logs belongs.
|
|
14178
14190
|
*
|
|
14179
14191
|
* * Default value: k8s-log-{clusterid}.
|
|
14180
14192
|
* * After the cluster audit log feature is enabled, a Logstore is created in the specified SLS project to store the cluster audit logs.
|
|
14181
|
-
* * If you want to change the project after
|
|
14193
|
+
* * If you want to change the project after audit logging is enabled for the cluster, you can use this parameter to specify another project. You can perform this operation only in ACK managed clusters.
|
|
14182
14194
|
*
|
|
14183
14195
|
* @example
|
|
14184
14196
|
* k8s-log-c82e6987e2961451182edacd74faf****
|
|
@@ -26866,6 +26878,13 @@ export class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
26866
26878
|
* cluster
|
|
26867
26879
|
*/
|
|
26868
26880
|
targetType?: string;
|
|
26881
|
+
/**
|
|
26882
|
+
* @remarks
|
|
26883
|
+
* The ID of the task generated by the execution plan.
|
|
26884
|
+
*
|
|
26885
|
+
* @example
|
|
26886
|
+
* T-6764d027be846d01310006b1
|
|
26887
|
+
*/
|
|
26869
26888
|
taskId?: string;
|
|
26870
26889
|
/**
|
|
26871
26890
|
* @remarks
|
|
@@ -29829,6 +29848,10 @@ export default class Client extends OpenApi {
|
|
|
29829
29848
|
body["min_replica_count"] = request.minReplicaCount;
|
|
29830
29849
|
}
|
|
29831
29850
|
|
|
29851
|
+
if (!Util.isUnset(request.priorities)) {
|
|
29852
|
+
body["priorities"] = request.priorities;
|
|
29853
|
+
}
|
|
29854
|
+
|
|
29832
29855
|
if (!Util.isUnset(request.recycleNodeDeletionEnabled)) {
|
|
29833
29856
|
body["recycle_node_deletion_enabled"] = request.recycleNodeDeletionEnabled;
|
|
29834
29857
|
}
|
|
@@ -34172,7 +34195,7 @@ export default class Client extends OpenApi {
|
|
|
34172
34195
|
}
|
|
34173
34196
|
|
|
34174
34197
|
/**
|
|
34175
|
-
* Queries the
|
|
34198
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
34176
34199
|
*
|
|
34177
34200
|
* @param request - ListOperationPlansRequest
|
|
34178
34201
|
* @param headers - map
|
|
@@ -34209,7 +34232,7 @@ export default class Client extends OpenApi {
|
|
|
34209
34232
|
}
|
|
34210
34233
|
|
|
34211
34234
|
/**
|
|
34212
|
-
* Queries the
|
|
34235
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
34213
34236
|
*
|
|
34214
34237
|
* @param request - ListOperationPlansRequest
|
|
34215
34238
|
* @returns ListOperationPlansResponse
|
|
@@ -36060,7 +36083,7 @@ export default class Client extends OpenApi {
|
|
|
36060
36083
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
36061
36084
|
*
|
|
36062
36085
|
* @remarks
|
|
36063
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
36086
|
+
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing) (SLS).
|
|
36064
36087
|
*
|
|
36065
36088
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
36066
36089
|
* @param headers - map
|
|
@@ -36100,7 +36123,7 @@ export default class Client extends OpenApi {
|
|
|
36100
36123
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
36101
36124
|
*
|
|
36102
36125
|
* @remarks
|
|
36103
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
36126
|
+
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing) (SLS).
|
|
36104
36127
|
*
|
|
36105
36128
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
36106
36129
|
* @returns UpdateClusterAuditLogConfigResponse
|