@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 CHANGED
@@ -1203,6 +1203,9 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
1203
1203
  * 0
1204
1204
  */
1205
1205
  minReplicaCount?: number;
1206
+ priorities?: {
1207
+ [key: string]: string[];
1208
+ };
1206
1209
  /**
1207
1210
  * @remarks
1208
1211
  * 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:
@@ -7560,7 +7563,7 @@ export declare class GetClusterCheckResponse extends $tea.Model {
7560
7563
  export declare class GetClusterDiagnosisCheckItemsRequest extends $tea.Model {
7561
7564
  /**
7562
7565
  * @remarks
7563
- * 查询语言。
7566
+ * The query language.
7564
7567
  *
7565
7568
  * @example
7566
7569
  * zh_CN
@@ -7635,7 +7638,7 @@ export declare class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
7635
7638
  export declare class GetClusterDiagnosisResultRequest extends $tea.Model {
7636
7639
  /**
7637
7640
  * @remarks
7638
- * 查询语言。
7641
+ * The query language.
7639
7642
  *
7640
7643
  * @example
7641
7644
  * zh_CN
@@ -7977,7 +7980,7 @@ export declare class InstallClusterAddonsResponseBody extends $tea.Model {
7977
7980
  clusterId?: string;
7978
7981
  /**
7979
7982
  * @remarks
7980
- * The request ID.
7983
+ * The ID of the request.
7981
7984
  *
7982
7985
  * @example
7983
7986
  * 48BD70F6-A7E6-543D-9F23-08DEB764C92E
@@ -7985,7 +7988,7 @@ export declare class InstallClusterAddonsResponseBody extends $tea.Model {
7985
7988
  requestId?: string;
7986
7989
  /**
7987
7990
  * @remarks
7988
- * The ID of the job.
7991
+ * The ID of the task.
7989
7992
  *
7990
7993
  * @example
7991
7994
  * T-5a54309c80282e39ea00002f
@@ -8299,7 +8302,7 @@ export declare class ListOperationPlansRequest extends $tea.Model {
8299
8302
  export declare class ListOperationPlansResponseBody extends $tea.Model {
8300
8303
  /**
8301
8304
  * @remarks
8302
- * The operation plans.
8305
+ * The list of auto O\\&M execution plans.
8303
8306
  */
8304
8307
  plans?: ListOperationPlansResponseBodyPlans[];
8305
8308
  static names(): {
@@ -10414,17 +10417,26 @@ export declare class UnInstallClusterAddonsRequest extends $tea.Model {
10414
10417
  export declare class UnInstallClusterAddonsResponseBody extends $tea.Model {
10415
10418
  /**
10416
10419
  * @remarks
10417
- * 集群ID
10420
+ * The ID of the cluster.
10421
+ *
10422
+ * @example
10423
+ * c5b5e80b0b64a4bf6939d2d8fbbc5****
10418
10424
  */
10419
10425
  clusterId?: string;
10420
10426
  /**
10421
10427
  * @remarks
10422
- * 请求ID
10428
+ * The ID of the request.
10429
+ *
10430
+ * @example
10431
+ * 74D1512F-67DA-54E8-99EA-4D50EB4898F4
10423
10432
  */
10424
10433
  requestId?: string;
10425
10434
  /**
10426
10435
  * @remarks
10427
- * 任务ID
10436
+ * The ID of the task.
10437
+ *
10438
+ * @example
10439
+ * T-66e39b39c0fdd001320005c0
10428
10440
  */
10429
10441
  taskId?: string;
10430
10442
  static names(): {
@@ -10603,10 +10615,10 @@ export declare class UntagResourcesResponse extends $tea.Model {
10603
10615
  export declare class UpdateClusterAuditLogConfigRequest extends $tea.Model {
10604
10616
  /**
10605
10617
  * @remarks
10606
- * Enable or disable the audit log feature.
10618
+ * Enable or disable audit logging.
10607
10619
  *
10608
- * * false: enables the audit log feature or updates the audit log configuration.
10609
- * * true: disables the audit log feature.
10620
+ * * false: enables audit logging or updates the audit logging configurations.
10621
+ * * true: disables audit logging.
10610
10622
  *
10611
10623
  * @example
10612
10624
  * false
@@ -10614,11 +10626,11 @@ export declare class UpdateClusterAuditLogConfigRequest extends $tea.Model {
10614
10626
  disable?: boolean;
10615
10627
  /**
10616
10628
  * @remarks
10617
- * The [SLS project](https://help.aliyun.com/zh/sls/product-overview/project?spm=a2c4g.11186623.0.i3) to which the [Logstore](https://help.aliyun.com/zh/sls/product-overview/logstore?spm=a2c4g.11186623.0.0.48287ce0jAUWWM) belongs.
10629
+ * 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.
10618
10630
  *
10619
10631
  * * Default value: k8s-log-{clusterid}.
10620
10632
  * * After the cluster audit log feature is enabled, a Logstore is created in the specified SLS project to store the cluster audit logs.
10621
- * * If you want to change the project after the cluster audit log feature is enabled, you can use this parameter to specify another SLS project. You can perform this operation only in ACK managed clusters.
10633
+ * * 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.
10622
10634
  *
10623
10635
  * @example
10624
10636
  * k8s-log-c82e6987e2961451182edacd74faf****
@@ -20449,6 +20461,13 @@ export declare class ListOperationPlansResponseBodyPlans extends $tea.Model {
20449
20461
  * cluster
20450
20462
  */
20451
20463
  targetType?: string;
20464
+ /**
20465
+ * @remarks
20466
+ * The ID of the task generated by the execution plan.
20467
+ *
20468
+ * @example
20469
+ * T-6764d027be846d01310006b1
20470
+ */
20452
20471
  taskId?: string;
20453
20472
  /**
20454
20473
  * @remarks
@@ -23992,7 +24011,7 @@ export default class Client extends OpenApi {
23992
24011
  */
23993
24012
  listClusterKubeconfigStates(ClusterId: string, request: ListClusterKubeconfigStatesRequest): Promise<ListClusterKubeconfigStatesResponse>;
23994
24013
  /**
23995
- * Queries the auto O\\&M schedules of a cluster.
24014
+ * Queries the automated maintenance schedules of a cluster.
23996
24015
  *
23997
24016
  * @param request - ListOperationPlansRequest
23998
24017
  * @param headers - map
@@ -24003,7 +24022,7 @@ export default class Client extends OpenApi {
24003
24022
  [key: string]: string;
24004
24023
  }, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse>;
24005
24024
  /**
24006
- * Queries the auto O\\&M schedules of a cluster.
24025
+ * Queries the automated maintenance schedules of a cluster.
24007
24026
  *
24008
24027
  * @param request - ListOperationPlansRequest
24009
24028
  * @returns ListOperationPlansResponse
@@ -24654,7 +24673,7 @@ export default class Client extends OpenApi {
24654
24673
  * 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.
24655
24674
  *
24656
24675
  * @remarks
24657
- * Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
24676
+ * 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).
24658
24677
  *
24659
24678
  * @param request - UpdateClusterAuditLogConfigRequest
24660
24679
  * @param headers - map
@@ -24668,7 +24687,7 @@ export default class Client extends OpenApi {
24668
24687
  * 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.
24669
24688
  *
24670
24689
  * @remarks
24671
- * Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
24690
+ * 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).
24672
24691
  *
24673
24692
  * @param request - UpdateClusterAuditLogConfigRequest
24674
24693
  * @returns UpdateClusterAuditLogConfigResponse
package/dist/client.js CHANGED
@@ -820,6 +820,7 @@ class CreateAutoscalingConfigRequest extends $tea.Model {
820
820
  gpuUtilizationThreshold: 'gpu_utilization_threshold',
821
821
  maxGracefulTerminationSec: 'max_graceful_termination_sec',
822
822
  minReplicaCount: 'min_replica_count',
823
+ priorities: 'priorities',
823
824
  recycleNodeDeletionEnabled: 'recycle_node_deletion_enabled',
824
825
  scaleDownEnabled: 'scale_down_enabled',
825
826
  scaleUpFromZero: 'scale_up_from_zero',
@@ -839,6 +840,7 @@ class CreateAutoscalingConfigRequest extends $tea.Model {
839
840
  gpuUtilizationThreshold: 'string',
840
841
  maxGracefulTerminationSec: 'number',
841
842
  minReplicaCount: 'number',
843
+ priorities: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
842
844
  recycleNodeDeletionEnabled: 'boolean',
843
845
  scaleDownEnabled: 'boolean',
844
846
  scaleUpFromZero: 'boolean',
@@ -12529,6 +12531,9 @@ class Client extends openapi_client_1.default {
12529
12531
  if (!tea_util_1.default.isUnset(request.minReplicaCount)) {
12530
12532
  body["min_replica_count"] = request.minReplicaCount;
12531
12533
  }
12534
+ if (!tea_util_1.default.isUnset(request.priorities)) {
12535
+ body["priorities"] = request.priorities;
12536
+ }
12532
12537
  if (!tea_util_1.default.isUnset(request.recycleNodeDeletionEnabled)) {
12533
12538
  body["recycle_node_deletion_enabled"] = request.recycleNodeDeletionEnabled;
12534
12539
  }
@@ -16442,7 +16447,7 @@ class Client extends openapi_client_1.default {
16442
16447
  return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
16443
16448
  }
16444
16449
  /**
16445
- * Queries the auto O\\&M schedules of a cluster.
16450
+ * Queries the automated maintenance schedules of a cluster.
16446
16451
  *
16447
16452
  * @param request - ListOperationPlansRequest
16448
16453
  * @param headers - map
@@ -16476,7 +16481,7 @@ class Client extends openapi_client_1.default {
16476
16481
  return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
16477
16482
  }
16478
16483
  /**
16479
- * Queries the auto O\\&M schedules of a cluster.
16484
+ * Queries the automated maintenance schedules of a cluster.
16480
16485
  *
16481
16486
  * @param request - ListOperationPlansRequest
16482
16487
  * @returns ListOperationPlansResponse
@@ -18145,7 +18150,7 @@ class Client extends openapi_client_1.default {
18145
18150
  * 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.
18146
18151
  *
18147
18152
  * @remarks
18148
- * Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
18153
+ * 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).
18149
18154
  *
18150
18155
  * @param request - UpdateClusterAuditLogConfigRequest
18151
18156
  * @param headers - map
@@ -18182,7 +18187,7 @@ class Client extends openapi_client_1.default {
18182
18187
  * 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.
18183
18188
  *
18184
18189
  * @remarks
18185
- * Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
18190
+ * 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).
18186
18191
  *
18187
18192
  * @param request - UpdateClusterAuditLogConfigRequest
18188
18193
  * @returns UpdateClusterAuditLogConfigResponse