@alicloud/cs20151215 4.9.0 → 4.9.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 +40 -34
- package/dist/client.js +43 -34
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterInspectConfigRequest.d.ts +8 -0
- package/dist/models/CreateClusterInspectConfigRequest.js.map +1 -1
- package/dist/models/CreateClusterInspectConfigResponseBody.d.ts +3 -0
- package/dist/models/CreateClusterInspectConfigResponseBody.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +2 -0
- package/dist/models/CreateClusterRequest.js +6 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterRequestAuditLogConfig.d.ts +15 -0
- package/dist/models/CreateClusterRequestAuditLogConfig.js +60 -0
- package/dist/models/CreateClusterRequestAuditLogConfig.js.map +1 -0
- package/dist/models/CreateTemplateRequest.d.ts +2 -4
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
- package/dist/models/DeleteClusterInspectConfigResponseBody.d.ts +3 -0
- package/dist/models/DeleteClusterInspectConfigResponseBody.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +11 -9
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesResponseBody.d.ts +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +3 -11
- package/dist/models/DescribeAddonResponseBody.js.map +1 -1
- package/dist/models/DescribeAddonResponseBodyNewerVersions.d.ts +4 -1
- package/dist/models/DescribeAddonResponseBodyNewerVersions.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +17 -23
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBodyControlPlaneConfig.d.ts +2 -2
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.d.ts +4 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.d.ts +6 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepools.d.ts +9 -6
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepools.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.d.ts +9 -5
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.d.ts +14 -8
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.d.ts +8 -2
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.d.ts +4 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.d.ts +4 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.d.ts +8 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.d.ts +6 -7
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.d.ts +65 -30
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -4
- package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
- package/dist/models/DescribeClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/DescribeClustersV1request.d.ts +4 -4
- package/dist/models/DescribeClustersV1responseBodyClusters.d.ts +14 -36
- package/dist/models/DescribeClustersV1responseBodyClusters.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +6 -3
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponseBody.d.ts +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponseBodyImages.d.ts +3 -3
- package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +5 -2
- package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
- package/dist/models/DescribeNodePoolVulsResponseBodyVulRecords.d.ts +1 -1
- package/dist/models/DescribeUserPermissionResponseBody.d.ts +1 -1
- package/dist/models/GetClusterCheckResponseBody.d.ts +1 -1
- package/dist/models/InstallClusterAddonsRequest.d.ts +1 -1
- package/dist/models/InstallClusterAddonsRequestBody.d.ts +6 -8
- package/dist/models/InstallClusterAddonsRequestBody.js.map +1 -1
- package/dist/models/InstallClusterAddonsResponseBody.d.ts +5 -5
- package/dist/models/ListClusterInspectReportsRequest.d.ts +6 -0
- package/dist/models/ListClusterInspectReportsRequest.js.map +1 -1
- package/dist/models/ListClusterInspectReportsResponseBody.d.ts +10 -0
- package/dist/models/ListClusterInspectReportsResponseBody.js.map +1 -1
- package/dist/models/ListClusterInspectReportsResponseBodyReports.d.ts +16 -0
- package/dist/models/ListClusterInspectReportsResponseBodyReports.js.map +1 -1
- package/dist/models/ListClusterInspectReportsResponseBodyReportsSummary.d.ts +15 -0
- package/dist/models/ListClusterInspectReportsResponseBodyReportsSummary.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +5 -5
- package/dist/models/ModifyClusterNodePoolRequestAutoScaling.d.ts +30 -14
- package/dist/models/ModifyClusterNodePoolRequestAutoScaling.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestKubernetesConfig.d.ts +16 -7
- package/dist/models/ModifyClusterNodePoolRequestKubernetesConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestManagement.d.ts +10 -8
- package/dist/models/ModifyClusterNodePoolRequestManagement.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.d.ts +2 -2
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoUpgradePolicy.d.ts +7 -7
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.d.ts +9 -3
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.d.ts +12 -6
- package/dist/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestNodepoolInfo.d.ts +4 -2
- package/dist/models/ModifyClusterNodePoolRequestNodepoolInfo.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestScalingGroup.d.ts +77 -43
- package/dist/models/ModifyClusterNodePoolRequestScalingGroup.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions.d.ts +4 -4
- package/dist/models/ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit.d.ts +2 -2
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +6 -2
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequestOsConfig.d.ts +1 -1
- package/dist/models/RunClusterCheckRequest.d.ts +12 -3
- package/dist/models/RunClusterCheckRequest.js.map +1 -1
- package/dist/models/RunClusterInspectRequest.d.ts +3 -0
- package/dist/models/RunClusterInspectRequest.js.map +1 -1
- package/dist/models/RunClusterInspectResponseBody.d.ts +9 -0
- package/dist/models/RunClusterInspectResponseBody.js.map +1 -1
- package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsRequest.d.ts +1 -1
- package/dist/models/UnInstallClusterAddonsRequestAddons.d.ts +4 -4
- package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
- package/dist/models/UpdateClusterInspectConfigRequest.d.ts +10 -0
- package/dist/models/UpdateClusterInspectConfigRequest.js.map +1 -1
- package/dist/models/UpdateClusterInspectConfigResponseBody.d.ts +3 -0
- package/dist/models/UpdateClusterInspectConfigResponseBody.js.map +1 -1
- package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +13 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +44 -34
- package/src/models/CreateClusterInspectConfigRequest.ts +8 -0
- package/src/models/CreateClusterInspectConfigResponseBody.ts +3 -0
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/CreateClusterRequestAuditLogConfig.ts +30 -0
- package/src/models/CreateTemplateRequest.ts +2 -4
- package/src/models/CreateTriggerResponseBody.ts +3 -3
- package/src/models/DeleteClusterInspectConfigResponseBody.ts +3 -0
- package/src/models/DeleteClusterNodesRequest.ts +11 -9
- package/src/models/DeleteClusterNodesResponseBody.ts +1 -1
- package/src/models/DescribeAddonResponseBody.ts +3 -11
- package/src/models/DescribeAddonResponseBodyNewerVersions.ts +4 -1
- package/src/models/DescribeClusterDetailResponseBody.ts +17 -23
- package/src/models/DescribeClusterDetailResponseBodyControlPlaneConfig.ts +2 -2
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.ts +4 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.ts +6 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepools.ts +9 -6
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.ts +9 -5
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.ts +14 -8
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.ts +8 -2
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.ts +4 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.ts +4 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.ts +8 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.ts +6 -7
- package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.ts +65 -30
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
- package/src/models/DescribeClusterVulsResponseBody.ts +1 -1
- package/src/models/DescribeClustersV1request.ts +4 -4
- package/src/models/DescribeClustersV1responseBodyClusters.ts +14 -36
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +6 -3
- package/src/models/DescribeKubernetesVersionMetadataResponseBody.ts +1 -1
- package/src/models/DescribeKubernetesVersionMetadataResponseBodyImages.ts +3 -3
- package/src/models/DescribeNodePoolVulsResponseBody.ts +5 -2
- package/src/models/DescribeNodePoolVulsResponseBodyVulRecords.ts +1 -1
- package/src/models/DescribeUserPermissionResponseBody.ts +1 -1
- package/src/models/GetClusterCheckResponseBody.ts +1 -1
- package/src/models/InstallClusterAddonsRequest.ts +1 -1
- package/src/models/InstallClusterAddonsRequestBody.ts +6 -8
- package/src/models/InstallClusterAddonsResponseBody.ts +5 -5
- package/src/models/ListClusterInspectReportsRequest.ts +6 -0
- package/src/models/ListClusterInspectReportsResponseBody.ts +10 -0
- package/src/models/ListClusterInspectReportsResponseBodyReports.ts +16 -0
- package/src/models/ListClusterInspectReportsResponseBodyReportsSummary.ts +15 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +5 -5
- package/src/models/ModifyClusterNodePoolRequestAutoScaling.ts +30 -14
- package/src/models/ModifyClusterNodePoolRequestKubernetesConfig.ts +16 -7
- package/src/models/ModifyClusterNodePoolRequestManagement.ts +10 -8
- package/src/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.ts +2 -2
- package/src/models/ModifyClusterNodePoolRequestManagementAutoUpgradePolicy.ts +7 -7
- package/src/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.ts +9 -3
- package/src/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.ts +12 -6
- package/src/models/ModifyClusterNodePoolRequestNodepoolInfo.ts +4 -2
- package/src/models/ModifyClusterNodePoolRequestScalingGroup.ts +77 -43
- package/src/models/ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions.ts +4 -4
- package/src/models/ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit.ts +2 -2
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +6 -2
- package/src/models/ModifyNodePoolNodeConfigRequestOsConfig.ts +1 -1
- package/src/models/RunClusterCheckRequest.ts +12 -3
- package/src/models/RunClusterInspectRequest.ts +3 -0
- package/src/models/RunClusterInspectResponseBody.ts +9 -0
- package/src/models/ScanClusterVulsResponseBody.ts +1 -1
- package/src/models/UnInstallClusterAddonsRequest.ts +1 -1
- package/src/models/UnInstallClusterAddonsRequestAddons.ts +4 -4
- package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
- package/src/models/UpdateClusterInspectConfigRequest.ts +10 -0
- package/src/models/UpdateClusterInspectConfigResponseBody.ts +3 -0
- package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
- package/src/models/model.ts +1 -0
|
@@ -21,27 +21,27 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
21
21
|
concurrency?: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The configurations of the cluster
|
|
24
|
+
* The configurations of the cluster.
|
|
25
25
|
*/
|
|
26
26
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The
|
|
29
|
+
* The configurations of the managed node pool feature.
|
|
30
30
|
*/
|
|
31
31
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The
|
|
34
|
+
* The configurations of the node pool.
|
|
35
35
|
*/
|
|
36
36
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The
|
|
39
|
+
* The configurations of the scaling group that is used by the node pool.
|
|
40
40
|
*/
|
|
41
41
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The configurations
|
|
44
|
+
* The configurations of confidential computing for the cluster.
|
|
45
45
|
*/
|
|
46
46
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
47
47
|
/**
|
|
@@ -2,7 +2,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The maximum bandwidth of the EIP.
|
|
5
|
+
* This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead. The maximum bandwidth of the EIP.
|
|
6
|
+
*
|
|
7
|
+
* Valid values: 1 to 100. Unit: Mbit/s.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
8
10
|
* 5
|
|
@@ -12,10 +14,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
12
14
|
eipBandwidth?: number;
|
|
13
15
|
/**
|
|
14
16
|
* @remarks
|
|
15
|
-
*
|
|
17
|
+
* This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
18
|
+
*
|
|
19
|
+
* The metering method of the EIP. Valid values:
|
|
16
20
|
*
|
|
17
|
-
* * `PayByBandwidth`: pay-by-bandwidth
|
|
18
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
21
|
+
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
22
|
+
* * `PayByTraffic`: pay-by-data-transfer.
|
|
19
23
|
*
|
|
20
24
|
* Default value: `PayByBandwidth`.
|
|
21
25
|
*
|
|
@@ -29,10 +33,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
29
33
|
* @remarks
|
|
30
34
|
* Specifies whether to enable auto scaling. Valid values:
|
|
31
35
|
*
|
|
32
|
-
* * `true`: enables auto scaling for the node pool.
|
|
33
|
-
* * `false`: disables auto scaling for the node pool
|
|
36
|
+
* * `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the requirements of pod scheduling, ACK automatically scales out nodes based on the configured minimum and maximum number of instances. By default, node instant scaling is enabled for clusters that run Kubernetes 1.24. By default, node auto scaling is enabled for clusters that run Kubernetes versions earlier than 1.24. For more information, see [Auto scaling of nodes](https://help.aliyun.com/document_detail/2746785.html).
|
|
37
|
+
* * `false`: disables auto scaling. Container Service for Kubernetes (ACK) adjusts the number of nodes in the node pool based on the value of the Expected Nodes parameter. The number of nodes is always the same as the value of the Expected Nodes parameter.
|
|
34
38
|
*
|
|
35
|
-
*
|
|
39
|
+
* If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
|
|
40
|
+
*
|
|
41
|
+
* Default value: `false`.
|
|
36
42
|
*
|
|
37
43
|
* @example
|
|
38
44
|
* true
|
|
@@ -40,12 +46,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
40
46
|
enable?: boolean;
|
|
41
47
|
/**
|
|
42
48
|
* @remarks
|
|
43
|
-
*
|
|
49
|
+
* This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
44
50
|
*
|
|
45
|
-
* * `true`:
|
|
46
|
-
* * `false`:
|
|
51
|
+
* * `true`: associates an elastic IP address (EIP) with the node pool.
|
|
52
|
+
* * `false`: does not associate an EIP with the node pool.
|
|
47
53
|
*
|
|
48
|
-
* Default value: `false
|
|
54
|
+
* Default value: `false`.
|
|
49
55
|
*
|
|
50
56
|
* @example
|
|
51
57
|
* true
|
|
@@ -55,7 +61,9 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
55
61
|
isBondEip?: boolean;
|
|
56
62
|
/**
|
|
57
63
|
* @remarks
|
|
58
|
-
* The maximum number of instances.
|
|
64
|
+
* The maximum number of nodes that can be created in the node pool. Existing instances are excluded. This parameter takes effect only when `enable=true` is specified.
|
|
65
|
+
*
|
|
66
|
+
* The value must be at least the value of min_instances and cannot exceed 2000. Default value: 0.
|
|
59
67
|
*
|
|
60
68
|
* @example
|
|
61
69
|
* 10
|
|
@@ -63,7 +71,15 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
63
71
|
maxInstances?: number;
|
|
64
72
|
/**
|
|
65
73
|
* @remarks
|
|
66
|
-
* The minimum number of instances.
|
|
74
|
+
* The minimum number of nodes that must be kept in the node pool. Existing instances are excluded. This parameter takes effect only when `enable=true` is specified.
|
|
75
|
+
*
|
|
76
|
+
* The value must be at least 0 and cannot exceed the value of max_instances. Default value: 0.
|
|
77
|
+
*
|
|
78
|
+
* >
|
|
79
|
+
*
|
|
80
|
+
* * When the minimum number of instances is greater than 0 and a scaling group is set up, ECS instances are automatically created based on the minimum number.
|
|
81
|
+
*
|
|
82
|
+
* * We recommend that the value of max_instances is equal to or larger than the current number of nodes in the node pool. If the value of max_instances is less than the current number of nodes in the node pool, the node pool will be scaled in after you enable auto scaling for the node pool.
|
|
67
83
|
*
|
|
68
84
|
* @example
|
|
69
85
|
* 2
|
|
@@ -73,7 +89,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
73
89
|
* @remarks
|
|
74
90
|
* The instance type that is used for auto scaling. Valid values:
|
|
75
91
|
*
|
|
76
|
-
* * `cpu`: regular instance
|
|
92
|
+
* * `cpu`: regular instance.
|
|
77
93
|
* * `gpu`: GPU-accelerated instance.
|
|
78
94
|
* * `gpushare`: shared GPU-accelerated instance.
|
|
79
95
|
* * `spot`: preemptible instance.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyClusterNodePoolRequestAutoScaling.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestAutoScaling.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyClusterNodePoolRequestAutoScaling.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestAutoScaling.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAuGtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,eAAe;YAC7B,qBAAqB,EAAE,0BAA0B;YACjD,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,aAAa;YACxB,YAAY,EAAE,eAAe;YAC7B,YAAY,EAAE,eAAe;YAC7B,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,qBAAqB,EAAE,QAAQ;YAC/B,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,YAAY,EAAE,QAAQ;YACtB,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtID,0FAsIC"}
|
|
@@ -9,7 +9,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
9
9
|
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
10
10
|
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
11
11
|
*
|
|
12
|
-
* Default value: `false
|
|
12
|
+
* Default value: `false`.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* true
|
|
@@ -19,8 +19,8 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
19
19
|
* @remarks
|
|
20
20
|
* 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:
|
|
21
21
|
*
|
|
22
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted
|
|
23
|
-
* * `none`: specifies that the default CPU affinity is used
|
|
22
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
23
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
24
24
|
*
|
|
25
25
|
* Default value: `none`.
|
|
26
26
|
*
|
|
@@ -30,7 +30,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
30
30
|
cpuPolicy?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The labels
|
|
33
|
+
* The labels that are added to the nodes in the cluster. You must add the label based on the following rules:
|
|
34
34
|
*
|
|
35
35
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
36
36
|
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
@@ -38,7 +38,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
38
38
|
labels?: Tag[];
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
*
|
|
41
|
+
* Predefined custom data. Nodes automatically run predefined scripts before they are added to the cluster. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -46,7 +46,13 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
46
46
|
preUserData?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The name of the container runtime.
|
|
49
|
+
* The name of the container runtime. The following types of runtime are supported by ACK:
|
|
50
|
+
*
|
|
51
|
+
* * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
|
|
52
|
+
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.31 and earlier.
|
|
53
|
+
* * docker: discontinued. The Docker runtime supports Kubernetes 1.22 and earlier.
|
|
54
|
+
*
|
|
55
|
+
* Default value: containerd.
|
|
50
56
|
*
|
|
51
57
|
* @example
|
|
52
58
|
* docker
|
|
@@ -69,13 +75,16 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
69
75
|
* @remarks
|
|
70
76
|
* Specifies whether the nodes are unschedulable after a scale-out activity is performed.
|
|
71
77
|
*
|
|
78
|
+
* * true: The nodes are unschedulable after a scale-out activity is performed.
|
|
79
|
+
* * false: The nodes are schedulable after a scale-out activity is performed.
|
|
80
|
+
*
|
|
72
81
|
* @example
|
|
73
82
|
* false
|
|
74
83
|
*/
|
|
75
84
|
unschedulable?: boolean;
|
|
76
85
|
/**
|
|
77
86
|
* @remarks
|
|
78
|
-
* The user
|
|
87
|
+
* The user data of the instance. Nodes automatically run user-data scripts after they are added to the cluster. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
|
|
79
88
|
*
|
|
80
89
|
* @example
|
|
81
90
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyClusterNodePoolRequestKubernetesConfig.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestKubernetesConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+BAA4B;AAC5B,mCAAgC;AAGhC,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyClusterNodePoolRequestKubernetesConfig.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestKubernetesConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+BAA4B;AAC5B,mCAAgC;AAGhC,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAyF3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,aAAa;YACzB,SAAS,EAAE,YAAY;YACvB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,eAAe;YAC5B,OAAO,EAAE,SAAS;YAClB,cAAc,EAAE,iBAAiB;YACjC,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,WAAW;SACtB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,SAAS;YACrB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,SAAG,EAAE;YAC5C,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,aAAK,EAAE;YAC9C,aAAa,EAAE,SAAS;YACxB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlID,oGAkIC"}
|
|
@@ -6,7 +6,7 @@ import { ModifyClusterNodePoolRequestManagementUpgradeConfig } from "./ModifyClu
|
|
|
6
6
|
export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* Specifies whether to enable auto repair. This parameter takes effect only
|
|
9
|
+
* Specifies whether to enable auto node repair. This parameter takes effect only if `enable` is set to true. Valid values:
|
|
10
10
|
*
|
|
11
11
|
* * `true`: enables auto repair.
|
|
12
12
|
* * `false`: disables auto repair.
|
|
@@ -24,10 +24,10 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
24
24
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
28
28
|
*
|
|
29
|
-
* * `true`: enables auto
|
|
30
|
-
* * `false`: disables auto
|
|
29
|
+
* * `true`: enables auto upgrade.
|
|
30
|
+
* * `false`: disables auto upgrade.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* true
|
|
@@ -35,14 +35,14 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
35
35
|
autoUpgrade?: boolean;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The auto
|
|
38
|
+
* The auto upgrade policy.
|
|
39
39
|
*/
|
|
40
40
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
43
|
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
44
44
|
*
|
|
45
|
-
* * `true`:
|
|
45
|
+
* * `true`: enables auto CVE patching.
|
|
46
46
|
* * `true`: disables auto CVE patching.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
@@ -61,7 +61,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
61
61
|
* * `true`: enables the managed node pool feature.
|
|
62
62
|
* * `false`: disables the managed node pool feature. Other parameters in this section take effect only when `enable=true` is specified.
|
|
63
63
|
*
|
|
64
|
-
* Default value: `false
|
|
64
|
+
* Default value: `false`.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* true
|
|
@@ -69,7 +69,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
69
69
|
enable?: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
*
|
|
72
|
+
* This parameter is deprecated. Use the preceding `auto_upgrade` parameter instead.
|
|
73
|
+
*
|
|
74
|
+
* The configurations of auto upgrade. The configurations take effect only when `enable` is set to true.
|
|
73
75
|
*
|
|
74
76
|
* @deprecated
|
|
75
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyClusterNodePoolRequestManagement.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestManagement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qIAAkI;AAClI,uIAAoI;AACpI,qIAAkI;AAClI,+HAA4H;AAG5H,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyClusterNodePoolRequestManagement.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestManagement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qIAAkI;AAClI,uIAAoI;AACpI,qIAAkI;AAClI,+HAA4H;AAG5H,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAyErE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,aAAa;YACzB,gBAAgB,EAAE,oBAAoB;YACtC,WAAW,EAAE,cAAc;YAC3B,iBAAiB,EAAE,qBAAqB;YACxC,UAAU,EAAE,cAAc;YAC1B,gBAAgB,EAAE,qBAAqB;YACvC,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,gBAAgB;SAChC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,SAAS;YACrB,gBAAgB,EAAE,+GAAsD;YACxE,WAAW,EAAE,SAAS;YACtB,iBAAiB,EAAE,iHAAuD;YAC1E,UAAU,EAAE,SAAS;YACrB,gBAAgB,EAAE,+GAAsD;YACxE,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,yGAAmD;SACnE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,gBAAgB,IAAI,OAAQ,IAAI,CAAC,gBAAwB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzF,IAAI,CAAC,gBAAwB,CAAC,QAAQ,EAAE,CAAC;QAC5C,CAAC;QACD,IAAG,IAAI,CAAC,iBAAiB,IAAI,OAAQ,IAAI,CAAC,iBAAyB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3F,IAAI,CAAC,iBAAyB,CAAC,QAAQ,EAAE,CAAC;QAC7C,CAAC;QACD,IAAG,IAAI,CAAC,gBAAgB,IAAI,OAAQ,IAAI,CAAC,gBAAwB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzF,IAAI,CAAC,gBAAwB,CAAC,QAAQ,EAAE,CAAC;QAC5C,CAAC;QACD,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtHD,wFAsHC"}
|
|
@@ -4,8 +4,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* * `true`:
|
|
8
|
-
* * `false`:
|
|
7
|
+
* * `true`: yes.
|
|
8
|
+
* * `false`: no.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether ACK is allowed to automatically
|
|
5
|
+
* Specifies whether ACK is allowed to automatically upgrade the kubelet. Valid values:
|
|
6
6
|
*
|
|
7
7
|
* * `true`: yes.
|
|
8
8
|
* * `false`: no.
|
|
@@ -13,10 +13,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
13
13
|
autoUpgradeKubelet?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether ACK is allowed to automatically
|
|
16
|
+
* Specifies whether ACK is allowed to automatically upgrade the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* * `true`:
|
|
19
|
-
* * `false`:
|
|
18
|
+
* * `true`: yes.
|
|
19
|
+
* * `false`: no.
|
|
20
20
|
*
|
|
21
21
|
* Default value: `false`.
|
|
22
22
|
*
|
|
@@ -26,10 +26,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
26
26
|
autoUpgradeOs?: boolean;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* Specifies whether ACK is allowed to automatically
|
|
29
|
+
* Specifies whether ACK is allowed to automatically upgrade the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
30
30
|
*
|
|
31
|
-
* * `true`:
|
|
32
|
-
* * `false`:
|
|
31
|
+
* * `true`: yes.
|
|
32
|
+
* * `false`: no.
|
|
33
33
|
*
|
|
34
34
|
* Default value: `false`.
|
|
35
35
|
*
|
|
@@ -4,8 +4,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* * `true`:
|
|
8
|
-
* * `false`:
|
|
7
|
+
* * `true`: yes.
|
|
8
|
+
* * `false`: no.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -13,7 +13,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
13
13
|
restartNode?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The severity levels of
|
|
16
|
+
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * `asap`: high.
|
|
19
|
+
* * `later`: medium.
|
|
20
|
+
* * `nntf`: low.
|
|
21
|
+
*
|
|
22
|
+
* If `auto_vul_fix=true` is specified, the default value is `asap`.
|
|
17
23
|
*
|
|
18
24
|
* @example
|
|
19
25
|
* asap,nntf
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sDAAuD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sDAAuD,SAAQ,KAAK,CAAC,KAAK;IA0BrF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,cAAc;YAC3B,QAAQ,EAAE,WAAW;SACtB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/CD,wHA+CC"}
|
|
@@ -2,10 +2,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* This parameter is deprecated. Use the preceding `auto_upgrade` parameter instead.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
8
|
+
*
|
|
9
|
+
* * true: enables auto upgrade.
|
|
10
|
+
* * false: disables auto upgrade.
|
|
9
11
|
*
|
|
10
12
|
* Default value: `true`.
|
|
11
13
|
*
|
|
@@ -29,9 +31,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
29
31
|
maxUnavailable?: number;
|
|
30
32
|
/**
|
|
31
33
|
* @remarks
|
|
32
|
-
* The number of additional nodes that are temporarily added to the node pool during an auto
|
|
34
|
+
* The number of additional nodes that are temporarily added to the node pool during an auto upgrade. Specify this parameter or `surge_percentage`.
|
|
35
|
+
*
|
|
36
|
+
* A node is unavailable during an upgrade. Additional nodes are used to temporarily host the workloads of nodes that are being upgraded.
|
|
33
37
|
*
|
|
34
|
-
* > We recommend that you
|
|
38
|
+
* > We recommend that you specify a value that does not exceed the current number of nodes in the node pool.
|
|
35
39
|
*
|
|
36
40
|
* @example
|
|
37
41
|
* 5
|
|
@@ -39,7 +43,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
39
43
|
surge?: number;
|
|
40
44
|
/**
|
|
41
45
|
* @remarks
|
|
42
|
-
* The percentage of additional nodes
|
|
46
|
+
* The percentage of additional nodes in the node pool. Specify this parameter or the `surge` parameter is specified.
|
|
47
|
+
*
|
|
48
|
+
* The number of additional nodes = The percentage of additional nodes × The number of nodes in the node pool. For example, if the percentage of additional nodes is 50% and the number of nodes in the node pool is 6, the number of additional nodes is 3.
|
|
43
49
|
*
|
|
44
50
|
* @example
|
|
45
51
|
* 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyClusterNodePoolRequestManagementUpgradeConfig.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mDAAoD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyClusterNodePoolRequestManagementUpgradeConfig.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mDAAoD,SAAQ,KAAK,CAAC,KAAK;IAoDlF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,cAAc;YAC3B,cAAc,EAAE,iBAAiB;YACjC,KAAK,EAAE,OAAO;YACd,eAAe,EAAE,kBAAkB;SACpC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,cAAc,EAAE,QAAQ;YACxB,KAAK,EAAE,QAAQ;YACf,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7ED,kHA6EC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The name of
|
|
5
|
+
* The name of the node pool.
|
|
6
6
|
*
|
|
7
7
|
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
8
8
|
*
|
|
@@ -12,7 +12,9 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
12
12
|
name?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The resource group
|
|
15
|
+
* The ID of the resource group to which the node pool belongs. Instances that are added to the node pool belong to this resource group.
|
|
16
|
+
*
|
|
17
|
+
* Each resource can belong only to one resource group. You can regard a resource group as a project, an application, or an organization based on your business scenarios.
|
|
16
18
|
*
|
|
17
19
|
* @example
|
|
18
20
|
* rg-acfmyvw3wjm****
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyClusterNodePoolRequestNodepoolInfo.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestNodepoolInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyClusterNodePoolRequestNodepoolInfo.js","sourceRoot":"","sources":["../../src/models/ModifyClusterNodePoolRequestNodepoolInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAqBvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,eAAe,EAAE,mBAAmB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1CD,4FA0CC"}
|