@alicloud/cs20151215 4.8.6 → 4.8.7
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 +241 -14
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +243 -14
package/dist/client.d.ts
CHANGED
|
@@ -8641,7 +8641,7 @@ export declare class MigrateClusterResponse extends $tea.Model {
|
|
|
8641
8641
|
export declare class ModifyClusterRequest extends $tea.Model {
|
|
8642
8642
|
/**
|
|
8643
8643
|
* @remarks
|
|
8644
|
-
* The network access control
|
|
8644
|
+
* The network access control list (ACL) of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
8645
8645
|
*/
|
|
8646
8646
|
accessControlList?: string[];
|
|
8647
8647
|
/**
|
|
@@ -8678,15 +8678,19 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8678
8678
|
* cluster-new-name
|
|
8679
8679
|
*/
|
|
8680
8680
|
clusterName?: string;
|
|
8681
|
+
/**
|
|
8682
|
+
* @remarks
|
|
8683
|
+
* The control plane configurations of an ACK dedicated cluster.
|
|
8684
|
+
*/
|
|
8681
8685
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
8682
8686
|
/**
|
|
8683
8687
|
* @remarks
|
|
8684
|
-
* Specifies whether to enable cluster deletion protection. If this option
|
|
8688
|
+
* 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
8689
|
*
|
|
8686
8690
|
* * `true`: enables cluster deletion protection.
|
|
8687
8691
|
* * `false`: disables cluster deletion protection.
|
|
8688
8692
|
*
|
|
8689
|
-
* Default value: `false
|
|
8693
|
+
* Default value: `false`.
|
|
8690
8694
|
*
|
|
8691
8695
|
* @example
|
|
8692
8696
|
* true
|
|
@@ -8710,7 +8714,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8710
8714
|
* * `true`: remaps the test domain name of the cluster.
|
|
8711
8715
|
* * `false`: does not remap the test domain name of the cluster.
|
|
8712
8716
|
*
|
|
8713
|
-
* Default value: `false
|
|
8717
|
+
* Default value: `false`.
|
|
8714
8718
|
*
|
|
8715
8719
|
* @example
|
|
8716
8720
|
* true
|
|
@@ -8731,7 +8735,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8731
8735
|
* * `true`: enables instance deletion protection.
|
|
8732
8736
|
* * `false`: disables instance deletion protection.
|
|
8733
8737
|
*
|
|
8734
|
-
* Default value: `false
|
|
8738
|
+
* Default value: `false`.
|
|
8735
8739
|
*
|
|
8736
8740
|
* @example
|
|
8737
8741
|
* true
|
|
@@ -8749,7 +8753,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8749
8753
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
8750
8754
|
/**
|
|
8751
8755
|
* @remarks
|
|
8752
|
-
* The
|
|
8756
|
+
* The resource group ID of the cluster.
|
|
8753
8757
|
*
|
|
8754
8758
|
* @example
|
|
8755
8759
|
* rg-acfmyvw3wjm****
|
|
@@ -8762,12 +8766,12 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
8762
8766
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
8763
8767
|
/**
|
|
8764
8768
|
* @remarks
|
|
8765
|
-
* The vSwitches of the control
|
|
8769
|
+
* 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
8770
|
*
|
|
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
|
|
8771
|
+
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
8772
|
+
* * The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
8773
|
+
* * 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.
|
|
8774
|
+
* * 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
8775
|
*/
|
|
8772
8776
|
vswitchIds?: string[];
|
|
8773
8777
|
static names(): {
|
|
@@ -20445,6 +20449,7 @@ export declare class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
20445
20449
|
* cluster
|
|
20446
20450
|
*/
|
|
20447
20451
|
targetType?: string;
|
|
20452
|
+
taskId?: string;
|
|
20448
20453
|
/**
|
|
20449
20454
|
* @remarks
|
|
20450
20455
|
* The plan type. Valid values:
|
|
@@ -20643,7 +20648,7 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
|
|
|
20643
20648
|
action?: string;
|
|
20644
20649
|
/**
|
|
20645
20650
|
* @remarks
|
|
20646
|
-
* The SANs.
|
|
20651
|
+
* The list of SANs.
|
|
20647
20652
|
*/
|
|
20648
20653
|
subjectAlternativeNames?: string[];
|
|
20649
20654
|
static names(): {
|
|
@@ -20657,29 +20662,251 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
|
|
|
20657
20662
|
});
|
|
20658
20663
|
}
|
|
20659
20664
|
export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
20665
|
+
/**
|
|
20666
|
+
* @remarks
|
|
20667
|
+
* Specifies whether to enable auto-renewal for the instance. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
20668
|
+
*
|
|
20669
|
+
* * `true`: enables auto-renewal.
|
|
20670
|
+
* * `false`: disables auto-renewal.
|
|
20671
|
+
*
|
|
20672
|
+
* Default value: `false`.
|
|
20673
|
+
*
|
|
20674
|
+
* @example
|
|
20675
|
+
* true
|
|
20676
|
+
*/
|
|
20660
20677
|
autoRenew?: boolean;
|
|
20678
|
+
/**
|
|
20679
|
+
* @remarks
|
|
20680
|
+
* The auto-renewal period of the instance. Valid values: 1, 2, 3, 6, and 12.
|
|
20681
|
+
*
|
|
20682
|
+
* Default value: 1.
|
|
20683
|
+
*
|
|
20684
|
+
* @example
|
|
20685
|
+
* 1
|
|
20686
|
+
*/
|
|
20661
20687
|
autoRenewPeriod?: number;
|
|
20688
|
+
/**
|
|
20689
|
+
* @remarks
|
|
20690
|
+
* The billing method of the instance. Valid values:
|
|
20691
|
+
*
|
|
20692
|
+
* * `PrePaid`: subscription.
|
|
20693
|
+
* * `PostPaid`: pay-as-you-go.
|
|
20694
|
+
*
|
|
20695
|
+
* Default value: `PostPaid`.
|
|
20696
|
+
*
|
|
20697
|
+
* @example
|
|
20698
|
+
* PrePaid
|
|
20699
|
+
*/
|
|
20662
20700
|
chargeType?: string;
|
|
20701
|
+
/**
|
|
20702
|
+
* @remarks
|
|
20703
|
+
* Specifies whether to install the CloudMonitor agent. Valid values:
|
|
20704
|
+
*
|
|
20705
|
+
* * `true`: installs the CloudMonitor agent.
|
|
20706
|
+
* * `false`: does not install the CloudMonitor agent.
|
|
20707
|
+
*
|
|
20708
|
+
* @example
|
|
20709
|
+
* true
|
|
20710
|
+
*/
|
|
20663
20711
|
cloudMonitorFlags?: boolean;
|
|
20712
|
+
/**
|
|
20713
|
+
* @remarks
|
|
20714
|
+
* 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:
|
|
20715
|
+
*
|
|
20716
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
20717
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
20718
|
+
*
|
|
20719
|
+
* Default value: `none`.
|
|
20720
|
+
*
|
|
20721
|
+
* @example
|
|
20722
|
+
* none
|
|
20723
|
+
*/
|
|
20664
20724
|
cpuPolicy?: string;
|
|
20725
|
+
/**
|
|
20726
|
+
* @remarks
|
|
20727
|
+
* The ID of the deployment set.
|
|
20728
|
+
*
|
|
20729
|
+
* @example
|
|
20730
|
+
* ds-bp10b35imuam5amw****
|
|
20731
|
+
*/
|
|
20665
20732
|
deploymentsetId?: string;
|
|
20733
|
+
/**
|
|
20734
|
+
* @remarks
|
|
20735
|
+
* The custom image ID. You must configure this parameter if you use a custom image.
|
|
20736
|
+
*
|
|
20737
|
+
* @example
|
|
20738
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
20739
|
+
*/
|
|
20666
20740
|
imageId?: string;
|
|
20741
|
+
/**
|
|
20742
|
+
* @remarks
|
|
20743
|
+
* The type of the OS image. Valid values:
|
|
20744
|
+
*
|
|
20745
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
20746
|
+
* * `Custom`: the custom image.
|
|
20747
|
+
*
|
|
20748
|
+
* @example
|
|
20749
|
+
* AliyunLinux3
|
|
20750
|
+
*/
|
|
20667
20751
|
imageType?: string;
|
|
20752
|
+
/**
|
|
20753
|
+
* @remarks
|
|
20754
|
+
* The instance type. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
20755
|
+
*/
|
|
20668
20756
|
instanceTypes?: string[];
|
|
20757
|
+
/**
|
|
20758
|
+
* @remarks
|
|
20759
|
+
* The name of the key pair. You must configure either this parameter or the `login_password` parameter.
|
|
20760
|
+
*
|
|
20761
|
+
* @example
|
|
20762
|
+
* ack
|
|
20763
|
+
*/
|
|
20669
20764
|
keyPair?: string;
|
|
20765
|
+
/**
|
|
20766
|
+
* @remarks
|
|
20767
|
+
* 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.
|
|
20768
|
+
*
|
|
20769
|
+
* @example
|
|
20770
|
+
* Ack@2000.
|
|
20771
|
+
*/
|
|
20670
20772
|
loginPassword?: string;
|
|
20773
|
+
/**
|
|
20774
|
+
* @remarks
|
|
20775
|
+
* The node port range.
|
|
20776
|
+
*
|
|
20777
|
+
* @example
|
|
20778
|
+
* 30000-32767
|
|
20779
|
+
*/
|
|
20671
20780
|
nodePortRange?: string;
|
|
20781
|
+
/**
|
|
20782
|
+
* @remarks
|
|
20783
|
+
* The subscription duration of the instance. This parameter takes effect and is required only when `charge_type` is set to `PrePaid`.
|
|
20784
|
+
*
|
|
20785
|
+
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
20786
|
+
*
|
|
20787
|
+
* @example
|
|
20788
|
+
* 1
|
|
20789
|
+
*/
|
|
20672
20790
|
period?: number;
|
|
20791
|
+
/**
|
|
20792
|
+
* @remarks
|
|
20793
|
+
* The billing cycle of the instance. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
20794
|
+
*
|
|
20795
|
+
* Valid value: `Month`.
|
|
20796
|
+
*
|
|
20797
|
+
* @example
|
|
20798
|
+
* Month
|
|
20799
|
+
*/
|
|
20673
20800
|
periodUnit?: string;
|
|
20801
|
+
/**
|
|
20802
|
+
* @remarks
|
|
20803
|
+
* The type of the container runtime. Valid values:
|
|
20804
|
+
*
|
|
20805
|
+
* * `containerd`: supports all Kubernetes versions. We recommend that you set the parameter to this value.
|
|
20806
|
+
*
|
|
20807
|
+
* Default value: containerd.
|
|
20808
|
+
*
|
|
20809
|
+
* @example
|
|
20810
|
+
* containerd
|
|
20811
|
+
*/
|
|
20674
20812
|
runtime?: string;
|
|
20813
|
+
/**
|
|
20814
|
+
* @remarks
|
|
20815
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
20816
|
+
*
|
|
20817
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
20818
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
20819
|
+
*
|
|
20820
|
+
* Default value: `false`.
|
|
20821
|
+
*
|
|
20822
|
+
* @example
|
|
20823
|
+
* true
|
|
20824
|
+
*/
|
|
20675
20825
|
securityHardeningOs?: boolean;
|
|
20826
|
+
/**
|
|
20827
|
+
* @remarks
|
|
20828
|
+
* 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.
|
|
20829
|
+
*
|
|
20830
|
+
* @example
|
|
20831
|
+
* 5
|
|
20832
|
+
*/
|
|
20676
20833
|
size?: number;
|
|
20834
|
+
/**
|
|
20835
|
+
* @remarks
|
|
20836
|
+
* 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).
|
|
20837
|
+
*
|
|
20838
|
+
* Valid values:
|
|
20839
|
+
*
|
|
20840
|
+
* * `true`: enables MLPS security hardening.
|
|
20841
|
+
* * `false`: disables MLPS security hardening.
|
|
20842
|
+
*
|
|
20843
|
+
* Default value: `false`.
|
|
20844
|
+
*
|
|
20845
|
+
* @example
|
|
20846
|
+
* false
|
|
20847
|
+
*/
|
|
20677
20848
|
socEnabled?: boolean;
|
|
20849
|
+
/**
|
|
20850
|
+
* @remarks
|
|
20851
|
+
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
20852
|
+
*
|
|
20853
|
+
* * `true`: enables the burst feature.
|
|
20854
|
+
* * `false`: disables the burst feature.
|
|
20855
|
+
*
|
|
20856
|
+
* 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).
|
|
20857
|
+
*
|
|
20858
|
+
* @example
|
|
20859
|
+
* true
|
|
20860
|
+
*/
|
|
20678
20861
|
systemDiskBurstingEnabled?: boolean;
|
|
20862
|
+
/**
|
|
20863
|
+
* @remarks
|
|
20864
|
+
* The type of the node system disk. Valid values:
|
|
20865
|
+
*
|
|
20866
|
+
* * `cloud`: basic disk.
|
|
20867
|
+
* * `cloud_efficiency`: ultra disk.
|
|
20868
|
+
* * `cloud_ssd`: standard SSD.
|
|
20869
|
+
* * `cloud_essd`: enhanced SSD (ESSD).
|
|
20870
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
20871
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
20872
|
+
*
|
|
20873
|
+
* @example
|
|
20874
|
+
* cloud_essd
|
|
20875
|
+
*/
|
|
20679
20876
|
systemDiskCategory?: string;
|
|
20877
|
+
/**
|
|
20878
|
+
* @remarks
|
|
20879
|
+
* 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).
|
|
20880
|
+
*
|
|
20881
|
+
* @example
|
|
20882
|
+
* PL1
|
|
20883
|
+
*/
|
|
20680
20884
|
systemDiskPerformanceLevel?: string;
|
|
20885
|
+
/**
|
|
20886
|
+
* @remarks
|
|
20887
|
+
* 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}.
|
|
20888
|
+
*
|
|
20889
|
+
* 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).
|
|
20890
|
+
*
|
|
20891
|
+
* @example
|
|
20892
|
+
* 1000
|
|
20893
|
+
*/
|
|
20681
20894
|
systemDiskProvisionedIops?: number;
|
|
20895
|
+
/**
|
|
20896
|
+
* @remarks
|
|
20897
|
+
* The type of the system disk. Valid values: [40,500]. Unit: GiB.
|
|
20898
|
+
*
|
|
20899
|
+
* @example
|
|
20900
|
+
* 120
|
|
20901
|
+
*/
|
|
20682
20902
|
systemDiskSize?: number;
|
|
20903
|
+
/**
|
|
20904
|
+
* @remarks
|
|
20905
|
+
* The ID of the automatic snapshot policy applied to the node system disk.
|
|
20906
|
+
*
|
|
20907
|
+
* @example
|
|
20908
|
+
* sp-2zej1nogjvovnz4z****
|
|
20909
|
+
*/
|
|
20683
20910
|
systemDiskSnapshotPolicyId?: string;
|
|
20684
20911
|
static names(): {
|
|
20685
20912
|
[key: string]: string;
|
|
@@ -20694,11 +20921,11 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
20694
20921
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
20695
20922
|
/**
|
|
20696
20923
|
* @remarks
|
|
20697
|
-
* The automatic
|
|
20924
|
+
* The frequency of automatic cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
20698
20925
|
*
|
|
20699
20926
|
* Valid values:
|
|
20700
20927
|
*
|
|
20701
|
-
* * patch:
|
|
20928
|
+
* * patch: the latest patch version.
|
|
20702
20929
|
* * stables: the second-latest minor version.
|
|
20703
20930
|
* * rapid: the latest minor version.
|
|
20704
20931
|
*
|
package/dist/client.js
CHANGED
|
@@ -11158,6 +11158,7 @@ class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
11158
11158
|
state: 'state',
|
|
11159
11159
|
targetId: 'target_id',
|
|
11160
11160
|
targetType: 'target_type',
|
|
11161
|
+
taskId: 'task_id',
|
|
11161
11162
|
type: 'type',
|
|
11162
11163
|
};
|
|
11163
11164
|
}
|
|
@@ -11171,6 +11172,7 @@ class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
11171
11172
|
state: 'string',
|
|
11172
11173
|
targetId: 'string',
|
|
11173
11174
|
targetType: 'string',
|
|
11175
|
+
taskId: 'string',
|
|
11174
11176
|
type: 'string',
|
|
11175
11177
|
};
|
|
11176
11178
|
}
|