@alicloud/cs20151215 4.8.6 → 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 +277 -31
- package/dist/client.js +11 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +283 -31
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
|
|
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
|
|
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
|
|
8305
|
+
* The list of auto O\\&M execution plans.
|
|
8303
8306
|
*/
|
|
8304
8307
|
plans?: ListOperationPlansResponseBodyPlans[];
|
|
8305
8308
|
static names(): {
|
|
@@ -8641,7 +8644,7 @@ export declare class MigrateClusterResponse extends $tea.Model {
|
|
|
8641
8644
|
export declare class ModifyClusterRequest extends $tea.Model {
|
|
8642
8645
|
/**
|
|
8643
8646
|
* @remarks
|
|
8644
|
-
* The network access control
|
|
8647
|
+
* The network access control list (ACL) of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
8645
8648
|
*/
|
|
8646
8649
|
accessControlList?: string[];
|
|
8647
8650
|
/**
|
|
@@ -8678,15 +8681,19 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8678
8681
|
* cluster-new-name
|
|
8679
8682
|
*/
|
|
8680
8683
|
clusterName?: string;
|
|
8684
|
+
/**
|
|
8685
|
+
* @remarks
|
|
8686
|
+
* The control plane configurations of an ACK dedicated cluster.
|
|
8687
|
+
*/
|
|
8681
8688
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
8682
8689
|
/**
|
|
8683
8690
|
* @remarks
|
|
8684
|
-
* Specifies whether to enable cluster deletion protection. If this option
|
|
8691
|
+
* Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. Valid values:
|
|
8685
8692
|
*
|
|
8686
8693
|
* * `true`: enables cluster deletion protection.
|
|
8687
8694
|
* * `false`: disables cluster deletion protection.
|
|
8688
8695
|
*
|
|
8689
|
-
* Default value: `false
|
|
8696
|
+
* Default value: `false`.
|
|
8690
8697
|
*
|
|
8691
8698
|
* @example
|
|
8692
8699
|
* true
|
|
@@ -8710,7 +8717,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8710
8717
|
* * `true`: remaps the test domain name of the cluster.
|
|
8711
8718
|
* * `false`: does not remap the test domain name of the cluster.
|
|
8712
8719
|
*
|
|
8713
|
-
* Default value: `false
|
|
8720
|
+
* Default value: `false`.
|
|
8714
8721
|
*
|
|
8715
8722
|
* @example
|
|
8716
8723
|
* true
|
|
@@ -8731,7 +8738,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8731
8738
|
* * `true`: enables instance deletion protection.
|
|
8732
8739
|
* * `false`: disables instance deletion protection.
|
|
8733
8740
|
*
|
|
8734
|
-
* Default value: `false
|
|
8741
|
+
* Default value: `false`.
|
|
8735
8742
|
*
|
|
8736
8743
|
* @example
|
|
8737
8744
|
* true
|
|
@@ -8749,7 +8756,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8749
8756
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
8750
8757
|
/**
|
|
8751
8758
|
* @remarks
|
|
8752
|
-
* The
|
|
8759
|
+
* The resource group ID of the cluster.
|
|
8753
8760
|
*
|
|
8754
8761
|
* @example
|
|
8755
8762
|
* rg-acfmyvw3wjm****
|
|
@@ -8762,12 +8769,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8762
8769
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
8763
8770
|
/**
|
|
8764
8771
|
* @remarks
|
|
8765
|
-
* The vSwitches of the control
|
|
8772
|
+
* The vSwitches of the control plane. This parameter can be used to change the vSwitches of the control plane in an ACK managed cluster. Take note of the following items:
|
|
8766
8773
|
*
|
|
8767
|
-
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control
|
|
8768
|
-
* * The control
|
|
8769
|
-
* *
|
|
8770
|
-
* * If the new vSwitches of the control
|
|
8774
|
+
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
8775
|
+
* * The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
8776
|
+
* * Ensure that all security groups of the cluster, including the security groups of the control plane, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server.
|
|
8777
|
+
* * If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network.
|
|
8771
8778
|
*/
|
|
8772
8779
|
vswitchIds?: string[];
|
|
8773
8780
|
static names(): {
|
|
@@ -10410,17 +10417,26 @@ export declare class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
10410
10417
|
export declare class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
10411
10418
|
/**
|
|
10412
10419
|
* @remarks
|
|
10413
|
-
*
|
|
10420
|
+
* The ID of the cluster.
|
|
10421
|
+
*
|
|
10422
|
+
* @example
|
|
10423
|
+
* c5b5e80b0b64a4bf6939d2d8fbbc5****
|
|
10414
10424
|
*/
|
|
10415
10425
|
clusterId?: string;
|
|
10416
10426
|
/**
|
|
10417
10427
|
* @remarks
|
|
10418
|
-
*
|
|
10428
|
+
* The ID of the request.
|
|
10429
|
+
*
|
|
10430
|
+
* @example
|
|
10431
|
+
* 74D1512F-67DA-54E8-99EA-4D50EB4898F4
|
|
10419
10432
|
*/
|
|
10420
10433
|
requestId?: string;
|
|
10421
10434
|
/**
|
|
10422
10435
|
* @remarks
|
|
10423
|
-
*
|
|
10436
|
+
* The ID of the task.
|
|
10437
|
+
*
|
|
10438
|
+
* @example
|
|
10439
|
+
* T-66e39b39c0fdd001320005c0
|
|
10424
10440
|
*/
|
|
10425
10441
|
taskId?: string;
|
|
10426
10442
|
static names(): {
|
|
@@ -10599,10 +10615,10 @@ export declare class UntagResourcesResponse extends $tea.Model {
|
|
|
10599
10615
|
export declare class UpdateClusterAuditLogConfigRequest extends $tea.Model {
|
|
10600
10616
|
/**
|
|
10601
10617
|
* @remarks
|
|
10602
|
-
* Enable or disable
|
|
10618
|
+
* Enable or disable audit logging.
|
|
10603
10619
|
*
|
|
10604
|
-
* * false: enables
|
|
10605
|
-
* * true: disables
|
|
10620
|
+
* * false: enables audit logging or updates the audit logging configurations.
|
|
10621
|
+
* * true: disables audit logging.
|
|
10606
10622
|
*
|
|
10607
10623
|
* @example
|
|
10608
10624
|
* false
|
|
@@ -10610,11 +10626,11 @@ export declare class UpdateClusterAuditLogConfigRequest extends $tea.Model {
|
|
|
10610
10626
|
disable?: boolean;
|
|
10611
10627
|
/**
|
|
10612
10628
|
* @remarks
|
|
10613
|
-
* The [
|
|
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.
|
|
10614
10630
|
*
|
|
10615
10631
|
* * Default value: k8s-log-{clusterid}.
|
|
10616
10632
|
* * After the cluster audit log feature is enabled, a Logstore is created in the specified SLS project to store the cluster audit logs.
|
|
10617
|
-
* * If you want to change the project after
|
|
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.
|
|
10618
10634
|
*
|
|
10619
10635
|
* @example
|
|
10620
10636
|
* k8s-log-c82e6987e2961451182edacd74faf****
|
|
@@ -20445,6 +20461,14 @@ export declare class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
20445
20461
|
* cluster
|
|
20446
20462
|
*/
|
|
20447
20463
|
targetType?: string;
|
|
20464
|
+
/**
|
|
20465
|
+
* @remarks
|
|
20466
|
+
* The ID of the task generated by the execution plan.
|
|
20467
|
+
*
|
|
20468
|
+
* @example
|
|
20469
|
+
* T-6764d027be846d01310006b1
|
|
20470
|
+
*/
|
|
20471
|
+
taskId?: string;
|
|
20448
20472
|
/**
|
|
20449
20473
|
* @remarks
|
|
20450
20474
|
* The plan type. Valid values:
|
|
@@ -20643,7 +20667,7 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
|
|
|
20643
20667
|
action?: string;
|
|
20644
20668
|
/**
|
|
20645
20669
|
* @remarks
|
|
20646
|
-
* The SANs.
|
|
20670
|
+
* The list of SANs.
|
|
20647
20671
|
*/
|
|
20648
20672
|
subjectAlternativeNames?: string[];
|
|
20649
20673
|
static names(): {
|
|
@@ -20657,29 +20681,251 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
|
|
|
20657
20681
|
});
|
|
20658
20682
|
}
|
|
20659
20683
|
export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
20684
|
+
/**
|
|
20685
|
+
* @remarks
|
|
20686
|
+
* Specifies whether to enable auto-renewal for the instance. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
20687
|
+
*
|
|
20688
|
+
* * `true`: enables auto-renewal.
|
|
20689
|
+
* * `false`: disables auto-renewal.
|
|
20690
|
+
*
|
|
20691
|
+
* Default value: `false`.
|
|
20692
|
+
*
|
|
20693
|
+
* @example
|
|
20694
|
+
* true
|
|
20695
|
+
*/
|
|
20660
20696
|
autoRenew?: boolean;
|
|
20697
|
+
/**
|
|
20698
|
+
* @remarks
|
|
20699
|
+
* The auto-renewal period of the instance. Valid values: 1, 2, 3, 6, and 12.
|
|
20700
|
+
*
|
|
20701
|
+
* Default value: 1.
|
|
20702
|
+
*
|
|
20703
|
+
* @example
|
|
20704
|
+
* 1
|
|
20705
|
+
*/
|
|
20661
20706
|
autoRenewPeriod?: number;
|
|
20707
|
+
/**
|
|
20708
|
+
* @remarks
|
|
20709
|
+
* The billing method of the instance. Valid values:
|
|
20710
|
+
*
|
|
20711
|
+
* * `PrePaid`: subscription.
|
|
20712
|
+
* * `PostPaid`: pay-as-you-go.
|
|
20713
|
+
*
|
|
20714
|
+
* Default value: `PostPaid`.
|
|
20715
|
+
*
|
|
20716
|
+
* @example
|
|
20717
|
+
* PrePaid
|
|
20718
|
+
*/
|
|
20662
20719
|
chargeType?: string;
|
|
20720
|
+
/**
|
|
20721
|
+
* @remarks
|
|
20722
|
+
* Specifies whether to install the CloudMonitor agent. Valid values:
|
|
20723
|
+
*
|
|
20724
|
+
* * `true`: installs the CloudMonitor agent.
|
|
20725
|
+
* * `false`: does not install the CloudMonitor agent.
|
|
20726
|
+
*
|
|
20727
|
+
* @example
|
|
20728
|
+
* true
|
|
20729
|
+
*/
|
|
20663
20730
|
cloudMonitorFlags?: boolean;
|
|
20731
|
+
/**
|
|
20732
|
+
* @remarks
|
|
20733
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
20734
|
+
*
|
|
20735
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
20736
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
20737
|
+
*
|
|
20738
|
+
* Default value: `none`.
|
|
20739
|
+
*
|
|
20740
|
+
* @example
|
|
20741
|
+
* none
|
|
20742
|
+
*/
|
|
20664
20743
|
cpuPolicy?: string;
|
|
20744
|
+
/**
|
|
20745
|
+
* @remarks
|
|
20746
|
+
* The ID of the deployment set.
|
|
20747
|
+
*
|
|
20748
|
+
* @example
|
|
20749
|
+
* ds-bp10b35imuam5amw****
|
|
20750
|
+
*/
|
|
20665
20751
|
deploymentsetId?: string;
|
|
20752
|
+
/**
|
|
20753
|
+
* @remarks
|
|
20754
|
+
* The custom image ID. You must configure this parameter if you use a custom image.
|
|
20755
|
+
*
|
|
20756
|
+
* @example
|
|
20757
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
20758
|
+
*/
|
|
20666
20759
|
imageId?: string;
|
|
20760
|
+
/**
|
|
20761
|
+
* @remarks
|
|
20762
|
+
* The type of the OS image. Valid values:
|
|
20763
|
+
*
|
|
20764
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
20765
|
+
* * `Custom`: the custom image.
|
|
20766
|
+
*
|
|
20767
|
+
* @example
|
|
20768
|
+
* AliyunLinux3
|
|
20769
|
+
*/
|
|
20667
20770
|
imageType?: string;
|
|
20771
|
+
/**
|
|
20772
|
+
* @remarks
|
|
20773
|
+
* The instance type. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
20774
|
+
*/
|
|
20668
20775
|
instanceTypes?: string[];
|
|
20776
|
+
/**
|
|
20777
|
+
* @remarks
|
|
20778
|
+
* The name of the key pair. You must configure either this parameter or the `login_password` parameter.
|
|
20779
|
+
*
|
|
20780
|
+
* @example
|
|
20781
|
+
* ack
|
|
20782
|
+
*/
|
|
20669
20783
|
keyPair?: string;
|
|
20784
|
+
/**
|
|
20785
|
+
* @remarks
|
|
20786
|
+
* The password for SSH logon. You must configure either this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. To log on with a password, you must specify this parameter during the scale-out.
|
|
20787
|
+
*
|
|
20788
|
+
* @example
|
|
20789
|
+
* Ack@2000.
|
|
20790
|
+
*/
|
|
20670
20791
|
loginPassword?: string;
|
|
20792
|
+
/**
|
|
20793
|
+
* @remarks
|
|
20794
|
+
* The node port range.
|
|
20795
|
+
*
|
|
20796
|
+
* @example
|
|
20797
|
+
* 30000-32767
|
|
20798
|
+
*/
|
|
20671
20799
|
nodePortRange?: string;
|
|
20800
|
+
/**
|
|
20801
|
+
* @remarks
|
|
20802
|
+
* The subscription duration of the instance. This parameter takes effect and is required only when `charge_type` is set to `PrePaid`.
|
|
20803
|
+
*
|
|
20804
|
+
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
20805
|
+
*
|
|
20806
|
+
* @example
|
|
20807
|
+
* 1
|
|
20808
|
+
*/
|
|
20672
20809
|
period?: number;
|
|
20810
|
+
/**
|
|
20811
|
+
* @remarks
|
|
20812
|
+
* The billing cycle of the instance. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
20813
|
+
*
|
|
20814
|
+
* Valid value: `Month`.
|
|
20815
|
+
*
|
|
20816
|
+
* @example
|
|
20817
|
+
* Month
|
|
20818
|
+
*/
|
|
20673
20819
|
periodUnit?: string;
|
|
20820
|
+
/**
|
|
20821
|
+
* @remarks
|
|
20822
|
+
* The type of the container runtime. Valid values:
|
|
20823
|
+
*
|
|
20824
|
+
* * `containerd`: supports all Kubernetes versions. We recommend that you set the parameter to this value.
|
|
20825
|
+
*
|
|
20826
|
+
* Default value: containerd.
|
|
20827
|
+
*
|
|
20828
|
+
* @example
|
|
20829
|
+
* containerd
|
|
20830
|
+
*/
|
|
20674
20831
|
runtime?: string;
|
|
20832
|
+
/**
|
|
20833
|
+
* @remarks
|
|
20834
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
20835
|
+
*
|
|
20836
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
20837
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
20838
|
+
*
|
|
20839
|
+
* Default value: `false`.
|
|
20840
|
+
*
|
|
20841
|
+
* @example
|
|
20842
|
+
* true
|
|
20843
|
+
*/
|
|
20675
20844
|
securityHardeningOs?: boolean;
|
|
20845
|
+
/**
|
|
20846
|
+
* @remarks
|
|
20847
|
+
* The number of control plane nodes. If you want to scale out the control plane in an ACK dedicated cluster, set this parameter to the desired number of nodes. This parameter must be greater than the current number of nodes.
|
|
20848
|
+
*
|
|
20849
|
+
* @example
|
|
20850
|
+
* 5
|
|
20851
|
+
*/
|
|
20676
20852
|
size?: number;
|
|
20853
|
+
/**
|
|
20854
|
+
* @remarks
|
|
20855
|
+
* Specifies whether to enable Multi-Level Protection Scheme (MLPS) security hardening. For more information, see [ACK security hardening based on MLPS](https://help.aliyun.com/document_detail/196148.html).
|
|
20856
|
+
*
|
|
20857
|
+
* Valid values:
|
|
20858
|
+
*
|
|
20859
|
+
* * `true`: enables MLPS security hardening.
|
|
20860
|
+
* * `false`: disables MLPS security hardening.
|
|
20861
|
+
*
|
|
20862
|
+
* Default value: `false`.
|
|
20863
|
+
*
|
|
20864
|
+
* @example
|
|
20865
|
+
* false
|
|
20866
|
+
*/
|
|
20677
20867
|
socEnabled?: boolean;
|
|
20868
|
+
/**
|
|
20869
|
+
* @remarks
|
|
20870
|
+
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
20871
|
+
*
|
|
20872
|
+
* * `true`: enables the burst feature.
|
|
20873
|
+
* * `false`: disables the burst feature.
|
|
20874
|
+
*
|
|
20875
|
+
* This parameter is effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
20876
|
+
*
|
|
20877
|
+
* @example
|
|
20878
|
+
* true
|
|
20879
|
+
*/
|
|
20678
20880
|
systemDiskBurstingEnabled?: boolean;
|
|
20881
|
+
/**
|
|
20882
|
+
* @remarks
|
|
20883
|
+
* The type of the node system disk. Valid values:
|
|
20884
|
+
*
|
|
20885
|
+
* * `cloud`: basic disk.
|
|
20886
|
+
* * `cloud_efficiency`: ultra disk.
|
|
20887
|
+
* * `cloud_ssd`: standard SSD.
|
|
20888
|
+
* * `cloud_essd`: enhanced SSD (ESSD).
|
|
20889
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
20890
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
20891
|
+
*
|
|
20892
|
+
* @example
|
|
20893
|
+
* cloud_essd
|
|
20894
|
+
*/
|
|
20679
20895
|
systemDiskCategory?: string;
|
|
20896
|
+
/**
|
|
20897
|
+
* @remarks
|
|
20898
|
+
* The performance level (PL) of the system disk that you want to use for the node. This parameter is effective only for ESSDs. This parameter is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
20899
|
+
*
|
|
20900
|
+
* @example
|
|
20901
|
+
* PL1
|
|
20902
|
+
*/
|
|
20680
20903
|
systemDiskPerformanceLevel?: string;
|
|
20904
|
+
/**
|
|
20905
|
+
* @remarks
|
|
20906
|
+
* The preset read/write input/output operations per second (IOPS) of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
20907
|
+
*
|
|
20908
|
+
* This parameter is effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
20909
|
+
*
|
|
20910
|
+
* @example
|
|
20911
|
+
* 1000
|
|
20912
|
+
*/
|
|
20681
20913
|
systemDiskProvisionedIops?: number;
|
|
20914
|
+
/**
|
|
20915
|
+
* @remarks
|
|
20916
|
+
* The type of the system disk. Valid values: [40,500]. Unit: GiB.
|
|
20917
|
+
*
|
|
20918
|
+
* @example
|
|
20919
|
+
* 120
|
|
20920
|
+
*/
|
|
20682
20921
|
systemDiskSize?: number;
|
|
20922
|
+
/**
|
|
20923
|
+
* @remarks
|
|
20924
|
+
* The ID of the automatic snapshot policy applied to the node system disk.
|
|
20925
|
+
*
|
|
20926
|
+
* @example
|
|
20927
|
+
* sp-2zej1nogjvovnz4z****
|
|
20928
|
+
*/
|
|
20683
20929
|
systemDiskSnapshotPolicyId?: string;
|
|
20684
20930
|
static names(): {
|
|
20685
20931
|
[key: string]: string;
|
|
@@ -20694,11 +20940,11 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
20694
20940
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
20695
20941
|
/**
|
|
20696
20942
|
* @remarks
|
|
20697
|
-
* The automatic
|
|
20943
|
+
* The frequency of automatic cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
20698
20944
|
*
|
|
20699
20945
|
* Valid values:
|
|
20700
20946
|
*
|
|
20701
|
-
* * patch:
|
|
20947
|
+
* * patch: the latest patch version.
|
|
20702
20948
|
* * stables: the second-latest minor version.
|
|
20703
20949
|
* * rapid: the latest minor version.
|
|
20704
20950
|
*
|
|
@@ -23765,7 +24011,7 @@ export default class Client extends OpenApi {
|
|
|
23765
24011
|
*/
|
|
23766
24012
|
listClusterKubeconfigStates(ClusterId: string, request: ListClusterKubeconfigStatesRequest): Promise<ListClusterKubeconfigStatesResponse>;
|
|
23767
24013
|
/**
|
|
23768
|
-
* Queries the
|
|
24014
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
23769
24015
|
*
|
|
23770
24016
|
* @param request - ListOperationPlansRequest
|
|
23771
24017
|
* @param headers - map
|
|
@@ -23776,7 +24022,7 @@ export default class Client extends OpenApi {
|
|
|
23776
24022
|
[key: string]: string;
|
|
23777
24023
|
}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse>;
|
|
23778
24024
|
/**
|
|
23779
|
-
* Queries the
|
|
24025
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
23780
24026
|
*
|
|
23781
24027
|
* @param request - ListOperationPlansRequest
|
|
23782
24028
|
* @returns ListOperationPlansResponse
|
|
@@ -24427,7 +24673,7 @@ export default class Client extends OpenApi {
|
|
|
24427
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.
|
|
24428
24674
|
*
|
|
24429
24675
|
* @remarks
|
|
24430
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
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).
|
|
24431
24677
|
*
|
|
24432
24678
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
24433
24679
|
* @param headers - map
|
|
@@ -24441,7 +24687,7 @@ export default class Client extends OpenApi {
|
|
|
24441
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.
|
|
24442
24688
|
*
|
|
24443
24689
|
* @remarks
|
|
24444
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
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).
|
|
24445
24691
|
*
|
|
24446
24692
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
24447
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',
|
|
@@ -11158,6 +11160,7 @@ class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
11158
11160
|
state: 'state',
|
|
11159
11161
|
targetId: 'target_id',
|
|
11160
11162
|
targetType: 'target_type',
|
|
11163
|
+
taskId: 'task_id',
|
|
11161
11164
|
type: 'type',
|
|
11162
11165
|
};
|
|
11163
11166
|
}
|
|
@@ -11171,6 +11174,7 @@ class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
11171
11174
|
state: 'string',
|
|
11172
11175
|
targetId: 'string',
|
|
11173
11176
|
targetType: 'string',
|
|
11177
|
+
taskId: 'string',
|
|
11174
11178
|
type: 'string',
|
|
11175
11179
|
};
|
|
11176
11180
|
}
|
|
@@ -12527,6 +12531,9 @@ class Client extends openapi_client_1.default {
|
|
|
12527
12531
|
if (!tea_util_1.default.isUnset(request.minReplicaCount)) {
|
|
12528
12532
|
body["min_replica_count"] = request.minReplicaCount;
|
|
12529
12533
|
}
|
|
12534
|
+
if (!tea_util_1.default.isUnset(request.priorities)) {
|
|
12535
|
+
body["priorities"] = request.priorities;
|
|
12536
|
+
}
|
|
12530
12537
|
if (!tea_util_1.default.isUnset(request.recycleNodeDeletionEnabled)) {
|
|
12531
12538
|
body["recycle_node_deletion_enabled"] = request.recycleNodeDeletionEnabled;
|
|
12532
12539
|
}
|
|
@@ -16440,7 +16447,7 @@ class Client extends openapi_client_1.default {
|
|
|
16440
16447
|
return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
|
|
16441
16448
|
}
|
|
16442
16449
|
/**
|
|
16443
|
-
* Queries the
|
|
16450
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
16444
16451
|
*
|
|
16445
16452
|
* @param request - ListOperationPlansRequest
|
|
16446
16453
|
* @param headers - map
|
|
@@ -16474,7 +16481,7 @@ class Client extends openapi_client_1.default {
|
|
|
16474
16481
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
16475
16482
|
}
|
|
16476
16483
|
/**
|
|
16477
|
-
* Queries the
|
|
16484
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
16478
16485
|
*
|
|
16479
16486
|
* @param request - ListOperationPlansRequest
|
|
16480
16487
|
* @returns ListOperationPlansResponse
|
|
@@ -18143,7 +18150,7 @@ class Client extends openapi_client_1.default {
|
|
|
18143
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.
|
|
18144
18151
|
*
|
|
18145
18152
|
* @remarks
|
|
18146
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
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).
|
|
18147
18154
|
*
|
|
18148
18155
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
18149
18156
|
* @param headers - map
|
|
@@ -18180,7 +18187,7 @@ class Client extends openapi_client_1.default {
|
|
|
18180
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.
|
|
18181
18188
|
*
|
|
18182
18189
|
* @remarks
|
|
18183
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
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).
|
|
18184
18191
|
*
|
|
18185
18192
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
18186
18193
|
* @returns UpdateClusterAuditLogConfigResponse
|