@alicloud/cs20151215 4.9.0 → 4.9.2
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/CreateClusterNodePoolRequestManagementAutoRepairPolicy.d.ts +1 -0
- package/dist/models/CreateClusterNodePoolRequestManagementAutoRepairPolicy.js +2 -0
- package/dist/models/CreateClusterNodePoolRequestManagementAutoRepairPolicy.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/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.d.ts +1 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.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 +5 -1
- package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.js +2 -0
- 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 +3 -2
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.js.map +1 -1
- 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/CreateClusterNodePoolRequestManagementAutoRepairPolicy.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/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.ts +3 -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 +7 -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 +5 -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
|
@@ -15,7 +15,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
15
15
|
* * `true`: enables auto-renewal.
|
|
16
16
|
* * `false`: disables auto-renewal.
|
|
17
17
|
*
|
|
18
|
-
* Default value: `false
|
|
18
|
+
* Default value: `false`.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* true
|
|
@@ -23,10 +23,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
23
23
|
autoRenew?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The auto-renewal period. Valid
|
|
26
|
+
* The auto-renewal period. Valid values:
|
|
27
27
|
*
|
|
28
28
|
* * Valid values when PeriodUnit is set to Week: 1, 2, and 3.
|
|
29
|
-
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
29
|
+
* * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
|
|
30
30
|
*
|
|
31
31
|
* Default value: 1.
|
|
32
32
|
*
|
|
@@ -36,9 +36,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
36
36
|
autoRenewPeriod?: number;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the
|
|
39
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the price or insufficient inventory. This parameter takes effect when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
40
40
|
*
|
|
41
|
-
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
41
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
42
42
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
@@ -50,18 +50,26 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
50
50
|
* The configurations of the data disks that are mounted to nodes in the node pool. Valid values: 0 to 10. You can mount at most 10 data disks to the nodes in the node pool.
|
|
51
51
|
*/
|
|
52
52
|
dataDisks?: DataDisk[];
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* ds-bp1d19mmbsv3jf6xxxxx
|
|
56
|
+
*/
|
|
53
57
|
deploymentsetId?: string;
|
|
54
58
|
/**
|
|
55
59
|
* @remarks
|
|
56
60
|
* The expected number of nodes in the node pool.
|
|
57
61
|
*
|
|
62
|
+
* The expected number of nodes in the node pool. We recommend that you configure at least two nodes to ensure that cluster components run as expected. You can modify the Expected Nodes parameter to adjust the number of nodes in the node pool.
|
|
63
|
+
*
|
|
64
|
+
* If you do not want to create nodes in the node pool, set this parameter to 0. You can manually modify this parameter to add nodes later.
|
|
65
|
+
*
|
|
58
66
|
* @example
|
|
59
67
|
* 2
|
|
60
68
|
*/
|
|
61
69
|
desiredSize?: number;
|
|
62
70
|
/**
|
|
63
71
|
* @remarks
|
|
64
|
-
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported
|
|
72
|
+
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the images supported by ACK. By default, the latest image is used.
|
|
65
73
|
*
|
|
66
74
|
* @example
|
|
67
75
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -73,14 +81,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
73
81
|
*
|
|
74
82
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
75
83
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
76
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
77
|
-
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3
|
|
84
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
85
|
+
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 for ARM.
|
|
78
86
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
79
87
|
* * `CentOS`: CentOS.
|
|
80
88
|
* * `Windows`: Windows.
|
|
81
89
|
* * `WindowsCore`: Windows Core.
|
|
82
90
|
* * `ContainerOS`: ContainerOS.
|
|
83
|
-
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized
|
|
91
|
+
* * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
|
|
84
92
|
*
|
|
85
93
|
* @example
|
|
86
94
|
* AliyunLinux
|
|
@@ -90,10 +98,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
90
98
|
* @remarks
|
|
91
99
|
* The billing method of nodes in the node pool. Valid values:
|
|
92
100
|
*
|
|
93
|
-
* * `PrePaid`: subscription
|
|
94
|
-
* * `PostPaid`: pay-as-you-go
|
|
101
|
+
* * `PrePaid`: subscription.
|
|
102
|
+
* * `PostPaid`: pay-as-you-go.
|
|
95
103
|
*
|
|
96
|
-
* Default value: `PostPaid
|
|
104
|
+
* Default value: `PostPaid`.
|
|
97
105
|
*
|
|
98
106
|
* @example
|
|
99
107
|
* PostPaid
|
|
@@ -101,20 +109,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
101
109
|
instanceChargeType?: string;
|
|
102
110
|
/**
|
|
103
111
|
* @remarks
|
|
104
|
-
* The instance attributes.
|
|
112
|
+
* .The instance attributes.
|
|
105
113
|
*/
|
|
106
114
|
instancePatterns?: InstancePatterns[];
|
|
107
115
|
/**
|
|
108
116
|
* @remarks
|
|
109
117
|
* The instance types. You can specify multiple instance types. A node is assigned the instance type from the first instance type of the list until the node is created. The instance type that is used to create the node varies based on the actual instance stock.
|
|
118
|
+
*
|
|
119
|
+
* You can specify 1 to 10 instance types.
|
|
110
120
|
*/
|
|
111
121
|
instanceTypes?: string[];
|
|
112
122
|
/**
|
|
113
123
|
* @remarks
|
|
114
|
-
* The
|
|
124
|
+
* The metering method of the public IP address. Valid values:
|
|
115
125
|
*
|
|
116
|
-
* * `PayByBandwidth`: pay-by-bandwidth
|
|
117
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
126
|
+
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
127
|
+
* * `PayByTraffic`: pay-by-data-transfer.
|
|
118
128
|
*
|
|
119
129
|
* @example
|
|
120
130
|
* PayByBandwidth
|
|
@@ -148,15 +158,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
148
158
|
* @remarks
|
|
149
159
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
150
160
|
*
|
|
151
|
-
* * `PRIORITY`:
|
|
161
|
+
* * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
|
|
152
162
|
*
|
|
153
|
-
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created
|
|
163
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created if preemptible instance types are specified in the scaling configurations. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
154
164
|
*
|
|
155
165
|
* **
|
|
156
166
|
*
|
|
157
|
-
* **Note** `COST_OPTIMIZED`
|
|
167
|
+
* **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
158
168
|
*
|
|
159
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to
|
|
169
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to balance the instance distribution among zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
160
170
|
*
|
|
161
171
|
* Default value: `PRIORITY`.
|
|
162
172
|
*
|
|
@@ -166,7 +176,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
166
176
|
multiAzPolicy?: string;
|
|
167
177
|
/**
|
|
168
178
|
* @remarks
|
|
169
|
-
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is
|
|
179
|
+
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, the system preferably creates pay-as-you-go instances.
|
|
170
180
|
*
|
|
171
181
|
* @example
|
|
172
182
|
* 0
|
|
@@ -182,9 +192,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
182
192
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
183
193
|
/**
|
|
184
194
|
* @remarks
|
|
185
|
-
* The subscription duration of
|
|
195
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
|
|
186
196
|
*
|
|
187
|
-
*
|
|
197
|
+
* * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
|
|
198
|
+
* * If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
188
199
|
*
|
|
189
200
|
* @example
|
|
190
201
|
* 1
|
|
@@ -192,9 +203,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
192
203
|
period?: number;
|
|
193
204
|
/**
|
|
194
205
|
* @remarks
|
|
195
|
-
* The billing cycle of
|
|
206
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
196
207
|
*
|
|
197
|
-
* The
|
|
208
|
+
* * `Month`: The subscription duration is measured in months.
|
|
209
|
+
* * `Week`: The subscription duration is measured in weeks.
|
|
198
210
|
*
|
|
199
211
|
* Default value: `Month`.
|
|
200
212
|
*
|
|
@@ -204,6 +216,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
204
216
|
periodUnit?: string;
|
|
205
217
|
/**
|
|
206
218
|
* @remarks
|
|
219
|
+
* This parameter is obsolete. Use the `image_type` parameter instead.
|
|
220
|
+
*
|
|
207
221
|
* The OS platform. Valid values:
|
|
208
222
|
*
|
|
209
223
|
* * `AliyunLinux`
|
|
@@ -219,12 +233,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
219
233
|
platform?: string;
|
|
220
234
|
/**
|
|
221
235
|
* @remarks
|
|
222
|
-
* The
|
|
236
|
+
* The configurations of the private node pool.
|
|
223
237
|
*/
|
|
224
238
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
225
239
|
/**
|
|
226
240
|
* @remarks
|
|
227
|
-
* The ApsaraDB RDS instances.
|
|
241
|
+
* The IDs of ApsaraDB RDS instances.
|
|
228
242
|
*/
|
|
229
243
|
rdsInstances?: string[];
|
|
230
244
|
/**
|
|
@@ -232,7 +246,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
232
246
|
* The scaling mode of the scaling group. Valid values:
|
|
233
247
|
*
|
|
234
248
|
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
235
|
-
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached
|
|
249
|
+
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
|
|
236
250
|
*
|
|
237
251
|
* @example
|
|
238
252
|
* release
|
|
@@ -249,7 +263,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
249
263
|
spotInstancePools?: number;
|
|
250
264
|
/**
|
|
251
265
|
* @remarks
|
|
252
|
-
*
|
|
266
|
+
* Specifies whether to enable the supplementation of preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace the instance. Valid values:
|
|
253
267
|
*
|
|
254
268
|
* * `true`: supplements preemptible instances.
|
|
255
269
|
* * `false`: does not supplement preemptible instances.
|
|
@@ -279,7 +293,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
279
293
|
spotStrategy?: string;
|
|
280
294
|
/**
|
|
281
295
|
* @remarks
|
|
282
|
-
* Specifies whether to enable
|
|
296
|
+
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
297
|
+
*
|
|
298
|
+
* * true: enables the burst feature.
|
|
299
|
+
* * false: disables the burst feature.
|
|
300
|
+
*
|
|
301
|
+
* 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).
|
|
283
302
|
*
|
|
284
303
|
* @example
|
|
285
304
|
* true
|
|
@@ -287,17 +306,20 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
287
306
|
systemDiskBurstingEnabled?: boolean;
|
|
288
307
|
/**
|
|
289
308
|
* @remarks
|
|
290
|
-
* The system disk
|
|
309
|
+
* The categories of the system disk. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable.
|
|
291
310
|
*/
|
|
292
311
|
systemDiskCategories?: string[];
|
|
293
312
|
/**
|
|
294
313
|
* @remarks
|
|
295
|
-
* The
|
|
314
|
+
* The category of the system disk. Valid values:
|
|
296
315
|
*
|
|
297
|
-
* * `cloud_efficiency`: ultra disk
|
|
298
|
-
* * `cloud_ssd`: standard SSD
|
|
316
|
+
* * `cloud_efficiency`: ultra disk.
|
|
317
|
+
* * `cloud_ssd`: standard SSD.
|
|
318
|
+
* * `cloud_essd`: Enterprise ESSD (ESSD).
|
|
319
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
320
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
299
321
|
*
|
|
300
|
-
* Default value: `
|
|
322
|
+
* Default value: `cloud_efficiency`.
|
|
301
323
|
*
|
|
302
324
|
* @example
|
|
303
325
|
* cloud_efficiency
|
|
@@ -305,7 +327,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
305
327
|
systemDiskCategory?: string;
|
|
306
328
|
/**
|
|
307
329
|
* @remarks
|
|
308
|
-
* The encryption algorithm that is used
|
|
330
|
+
* The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
|
|
309
331
|
*
|
|
310
332
|
* @example
|
|
311
333
|
* aes-256
|
|
@@ -313,7 +335,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
313
335
|
systemDiskEncryptAlgorithm?: string;
|
|
314
336
|
/**
|
|
315
337
|
* @remarks
|
|
316
|
-
*
|
|
338
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
339
|
+
*
|
|
340
|
+
* * true: encrypts the system disk.
|
|
341
|
+
* * false: does not encrypt the system disk.
|
|
317
342
|
*
|
|
318
343
|
* @example
|
|
319
344
|
* false
|
|
@@ -329,7 +354,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
329
354
|
systemDiskKmsKeyId?: string;
|
|
330
355
|
/**
|
|
331
356
|
* @remarks
|
|
332
|
-
* The performance level (PL) of the system disk
|
|
357
|
+
* The performance level (PL) of the system disk. This parameter takes effect only for an ESSD. You can specify a higher PL if you increase the size of the data disk. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
358
|
+
*
|
|
359
|
+
* * PL0: moderate maximum concurrent I/O performance and low I/O latency.
|
|
360
|
+
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
361
|
+
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
362
|
+
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
333
363
|
*
|
|
334
364
|
* @example
|
|
335
365
|
* PL1
|
|
@@ -337,7 +367,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
337
367
|
systemDiskPerformanceLevel?: string;
|
|
338
368
|
/**
|
|
339
369
|
* @remarks
|
|
340
|
-
* The
|
|
370
|
+
* The preset IOPS of the system disk.
|
|
371
|
+
*
|
|
372
|
+
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
373
|
+
*
|
|
374
|
+
* 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).
|
|
341
375
|
*
|
|
342
376
|
* @example
|
|
343
377
|
* 1000
|
|
@@ -345,9 +379,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
345
379
|
systemDiskProvisionedIops?: number;
|
|
346
380
|
/**
|
|
347
381
|
* @remarks
|
|
348
|
-
* The size of the system disk
|
|
382
|
+
* The size of the system disk. Unit: GiB
|
|
349
383
|
*
|
|
350
|
-
* Valid values: 20 to
|
|
384
|
+
* Valid values: 20 to 2048.
|
|
351
385
|
*
|
|
352
386
|
* The value of this parameter must be at least 20 and greater than or equal to the size of the image.
|
|
353
387
|
*
|
|
@@ -361,12 +395,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
361
395
|
* @remarks
|
|
362
396
|
* The tags that you want to add only to ECS instances.
|
|
363
397
|
*
|
|
364
|
-
* The
|
|
398
|
+
* The tag key must be unique and cannot exceed 128 characters in length. The tag key and value cannot start with aliyun or acs: or contain https:// or http://.
|
|
365
399
|
*/
|
|
366
400
|
tags?: Tag[];
|
|
367
401
|
/**
|
|
368
402
|
* @remarks
|
|
369
|
-
* The IDs
|
|
403
|
+
* The vSwitch IDs. You can specify one to eight vSwitch IDs.
|
|
370
404
|
*
|
|
371
405
|
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
372
406
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The private node pool ID.
|
|
8
|
+
* The private node pool ID. This parameter is available only when `match_criteria` is set to `Target`.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* eap-bp67acfmxazb4****
|
|
@@ -13,11 +13,11 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
13
13
|
id?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The type of private node pool. This parameter specifies the type of private
|
|
16
|
+
* The type of private node pool. This parameter specifies the type of private pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* * `Open`:
|
|
18
|
+
* * `Open`: open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
19
19
|
* * `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
20
|
-
* * `None`:
|
|
20
|
+
* * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* Open
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The instance type of preemptible instances.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ecs.c6.large
|
|
@@ -13,7 +13,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
13
13
|
instanceType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The price cap of a preemptible instance.
|
|
17
17
|
*
|
|
18
18
|
* Unit: USD/hour.
|
|
19
19
|
*
|
|
@@ -7,10 +7,14 @@ import { ModifyNodePoolNodeConfigRequestRollingPolicy } from "./ModifyNodePoolNo
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* The containerd runtime configuration.
|
|
13
|
+
*/
|
|
10
14
|
containerdConfig?: ContainerdConfig;
|
|
11
15
|
/**
|
|
12
16
|
* @remarks
|
|
13
|
-
* The kubelet
|
|
17
|
+
* The kubelet configurations.
|
|
14
18
|
*/
|
|
15
19
|
kubeletConfig?: KubeletConfig;
|
|
16
20
|
/**
|
|
@@ -20,7 +24,7 @@ export class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
|
20
24
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
21
25
|
/**
|
|
22
26
|
* @remarks
|
|
23
|
-
* The rolling
|
|
27
|
+
* The rolling policy configuration.
|
|
24
28
|
*/
|
|
25
29
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
26
30
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyNodePoolNodeConfigRequestOsConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The sysctl configuration.
|
|
9
9
|
*/
|
|
10
10
|
sysctl?: { [key: string]: any };
|
|
11
11
|
static names(): { [key: string]: string } {
|
|
@@ -5,12 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class RunClusterCheckRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The cluster check
|
|
8
|
+
* The cluster check parameters.
|
|
9
9
|
*/
|
|
10
10
|
options?: { [key: string]: string };
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The target
|
|
13
|
+
* The check target.
|
|
14
|
+
*
|
|
15
|
+
* If you set `type=NodePoolUpgrade`, you must set this parameter to the node pool ID. Otherwise, this parameter is optional.
|
|
14
16
|
*
|
|
15
17
|
* @example
|
|
16
18
|
* np1f6779297c4444a3a1cdd29be8e5****
|
|
@@ -18,7 +20,14 @@ export class RunClusterCheckRequest extends $dara.Model {
|
|
|
18
20
|
target?: string;
|
|
19
21
|
/**
|
|
20
22
|
* @remarks
|
|
21
|
-
* The check
|
|
23
|
+
* The check type.
|
|
24
|
+
*
|
|
25
|
+
* Valid values:
|
|
26
|
+
*
|
|
27
|
+
* * ClusterMigrate: cluster migration.
|
|
28
|
+
* * MasterUpgrade: control plane upgrade.
|
|
29
|
+
* * NodePoolUpgrade: node pool upgrade.
|
|
30
|
+
* * ClusterUpgrade: cluster upgrade.
|
|
22
31
|
*
|
|
23
32
|
* This parameter is required.
|
|
24
33
|
*
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class RunClusterInspectRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The idempotency token that ensures an API request completes no more than one time.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* c82e6987e2961451182edacd74faf
|
|
9
12
|
*/
|
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class RunClusterInspectResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The inspection report ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 5d6557c983064c45bed62ab2a2119cc7
|
|
9
12
|
*/
|
|
10
13
|
reportId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 0AB4D067-4DD7-5471-B90A-FCC564BC3337
|
|
14
20
|
*/
|
|
15
21
|
requestId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The inspection task ID.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* T-67d7ec016ce37c0106000***
|
|
19
28
|
*/
|
|
@@ -6,7 +6,7 @@ import { UnInstallClusterAddonsRequestAddons } from "./UnInstallClusterAddonsReq
|
|
|
6
6
|
export class UnInstallClusterAddonsRequest extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The list of
|
|
9
|
+
* The list of add-ons to uninstall.
|
|
10
10
|
*/
|
|
11
11
|
addons?: UnInstallClusterAddonsRequestAddons[];
|
|
12
12
|
static names(): { [key: string]: string } {
|
|
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UnInstallClusterAddonsRequestAddons extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to
|
|
8
|
+
* Specifies whether to clean up related cloud resources during uninstallation.
|
|
9
9
|
*
|
|
10
|
-
* * true:
|
|
11
|
-
* * false:
|
|
10
|
+
* * true: clean up
|
|
11
|
+
* * false: retain
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* true
|
|
@@ -16,7 +16,7 @@ export class UnInstallClusterAddonsRequestAddons extends $dara.Model {
|
|
|
16
16
|
cleanupCloudResources?: boolean;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The name of the
|
|
19
|
+
* The name of the add-on to uninstall. You can call the [ListClusterAddonInstances](https://help.aliyun.com/document_detail/2667940.html) operation to query the installed add-ons.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* ack-node-problem-detector
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UnInstallClusterAddonsResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The cluster ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* c5b5e80b0b64a4bf6939d2d8fbbc5****
|
|
@@ -13,7 +13,7 @@ export class UnInstallClusterAddonsResponseBody extends $dara.Model {
|
|
|
13
13
|
clusterId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The request ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 74D1512F-67DA-54E8-99EA-4D50EB4898F4
|
|
@@ -21,7 +21,7 @@ export class UnInstallClusterAddonsResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID
|
|
24
|
+
* The task ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* T-66e39b39c0fdd001320005c0
|
|
@@ -3,13 +3,23 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class UpdateClusterInspectConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The list of disabled inspection check items.
|
|
9
|
+
*/
|
|
6
10
|
disabledCheckItems?: string[];
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Specifies whether to enable cluster inspection.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
16
|
* true
|
|
10
17
|
*/
|
|
11
18
|
enabled?: boolean;
|
|
12
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The inspection period defined using RFC5545 Recurrence Rule. You must specify BYHOUR and BYMINUTE. Only FREQ=DAILY is supported. COUNT or UNTIL is not supported.
|
|
22
|
+
*
|
|
13
23
|
* @example
|
|
14
24
|
* FREQ=DAILY;BYHOUR=10;BYMINUTE=15
|
|
15
25
|
*/
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateK8sClusterUserConfigExpireRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Specifies the expiration time of the kubeconfig file. Unit: hours.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* Valid values: [1, 1876000]. The maximum value is 100 years.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class UpdateK8sClusterUserConfigExpireRequest extends $dara.Model {
|
|
|
17
17
|
expireHour?: number;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The user ID.
|
|
20
|
+
* The RAM user ID.
|
|
21
21
|
*
|
|
22
22
|
* This parameter is required.
|
|
23
23
|
*
|
package/src/models/model.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { NodepoolTeeConfig } from './NodepoolTeeConfig';
|
|
|
18
18
|
export { AttachInstancesResponseBodyList } from './AttachInstancesResponseBodyList';
|
|
19
19
|
export { CheckServiceRoleRequestRoles } from './CheckServiceRoleRequestRoles';
|
|
20
20
|
export { CheckServiceRoleResponseBodyRoles } from './CheckServiceRoleResponseBodyRoles';
|
|
21
|
+
export { CreateClusterRequestAuditLogConfig } from './CreateClusterRequestAuditLogConfig';
|
|
21
22
|
export { CreateClusterRequestControlPlaneConfig } from './CreateClusterRequestControlPlaneConfig';
|
|
22
23
|
export { CreateClusterRequestOperationPolicyClusterAutoUpgrade } from './CreateClusterRequestOperationPolicyClusterAutoUpgrade';
|
|
23
24
|
export { CreateClusterRequestOperationPolicy } from './CreateClusterRequestOperationPolicy';
|