@alicloud/cs20151215 4.8.6 → 4.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +277 -31
- package/dist/client.js +11 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +283 -31
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1634,6 +1634,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1634
1634
|
* 0
|
|
1635
1635
|
*/
|
|
1636
1636
|
minReplicaCount?: number;
|
|
1637
|
+
priorities?: { [key: string]: string[] };
|
|
1637
1638
|
/**
|
|
1638
1639
|
* @remarks
|
|
1639
1640
|
* Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false Valid values:
|
|
@@ -1728,6 +1729,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1728
1729
|
gpuUtilizationThreshold: 'gpu_utilization_threshold',
|
|
1729
1730
|
maxGracefulTerminationSec: 'max_graceful_termination_sec',
|
|
1730
1731
|
minReplicaCount: 'min_replica_count',
|
|
1732
|
+
priorities: 'priorities',
|
|
1731
1733
|
recycleNodeDeletionEnabled: 'recycle_node_deletion_enabled',
|
|
1732
1734
|
scaleDownEnabled: 'scale_down_enabled',
|
|
1733
1735
|
scaleUpFromZero: 'scale_up_from_zero',
|
|
@@ -1748,6 +1750,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
|
|
|
1748
1750
|
gpuUtilizationThreshold: 'string',
|
|
1749
1751
|
maxGracefulTerminationSec: 'number',
|
|
1750
1752
|
minReplicaCount: 'number',
|
|
1753
|
+
priorities: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
1751
1754
|
recycleNodeDeletionEnabled: 'boolean',
|
|
1752
1755
|
scaleDownEnabled: 'boolean',
|
|
1753
1756
|
scaleUpFromZero: 'boolean',
|
|
@@ -9989,7 +9992,7 @@ export class GetClusterCheckResponse extends $tea.Model {
|
|
|
9989
9992
|
export class GetClusterDiagnosisCheckItemsRequest extends $tea.Model {
|
|
9990
9993
|
/**
|
|
9991
9994
|
* @remarks
|
|
9992
|
-
*
|
|
9995
|
+
* The query language.
|
|
9993
9996
|
*
|
|
9994
9997
|
* @example
|
|
9995
9998
|
* zh_CN
|
|
@@ -10093,7 +10096,7 @@ export class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
|
10093
10096
|
export class GetClusterDiagnosisResultRequest extends $tea.Model {
|
|
10094
10097
|
/**
|
|
10095
10098
|
* @remarks
|
|
10096
|
-
*
|
|
10099
|
+
* The query language.
|
|
10097
10100
|
*
|
|
10098
10101
|
* @example
|
|
10099
10102
|
* zh_CN
|
|
@@ -10541,7 +10544,7 @@ export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
|
10541
10544
|
clusterId?: string;
|
|
10542
10545
|
/**
|
|
10543
10546
|
* @remarks
|
|
10544
|
-
* The request
|
|
10547
|
+
* The ID of the request.
|
|
10545
10548
|
*
|
|
10546
10549
|
* @example
|
|
10547
10550
|
* 48BD70F6-A7E6-543D-9F23-08DEB764C92E
|
|
@@ -10549,7 +10552,7 @@ export class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
|
10549
10552
|
requestId?: string;
|
|
10550
10553
|
/**
|
|
10551
10554
|
* @remarks
|
|
10552
|
-
* The ID of the
|
|
10555
|
+
* The ID of the task.
|
|
10553
10556
|
*
|
|
10554
10557
|
* @example
|
|
10555
10558
|
* T-5a54309c80282e39ea00002f
|
|
@@ -10993,7 +10996,7 @@ export class ListOperationPlansRequest extends $tea.Model {
|
|
|
10993
10996
|
export class ListOperationPlansResponseBody extends $tea.Model {
|
|
10994
10997
|
/**
|
|
10995
10998
|
* @remarks
|
|
10996
|
-
* The
|
|
10999
|
+
* The list of auto O\\&M execution plans.
|
|
10997
11000
|
*/
|
|
10998
11001
|
plans?: ListOperationPlansResponseBodyPlans[];
|
|
10999
11002
|
static names(): { [key: string]: string } {
|
|
@@ -11457,7 +11460,7 @@ export class MigrateClusterResponse extends $tea.Model {
|
|
|
11457
11460
|
export class ModifyClusterRequest extends $tea.Model {
|
|
11458
11461
|
/**
|
|
11459
11462
|
* @remarks
|
|
11460
|
-
* The network access control
|
|
11463
|
+
* The network access control list (ACL) of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
11461
11464
|
*/
|
|
11462
11465
|
accessControlList?: string[];
|
|
11463
11466
|
/**
|
|
@@ -11494,15 +11497,19 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11494
11497
|
* cluster-new-name
|
|
11495
11498
|
*/
|
|
11496
11499
|
clusterName?: string;
|
|
11500
|
+
/**
|
|
11501
|
+
* @remarks
|
|
11502
|
+
* The control plane configurations of an ACK dedicated cluster.
|
|
11503
|
+
*/
|
|
11497
11504
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
11498
11505
|
/**
|
|
11499
11506
|
* @remarks
|
|
11500
|
-
* Specifies whether to enable cluster deletion protection. If this option
|
|
11507
|
+
* 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:
|
|
11501
11508
|
*
|
|
11502
11509
|
* * `true`: enables cluster deletion protection.
|
|
11503
11510
|
* * `false`: disables cluster deletion protection.
|
|
11504
11511
|
*
|
|
11505
|
-
* Default value: `false
|
|
11512
|
+
* Default value: `false`.
|
|
11506
11513
|
*
|
|
11507
11514
|
* @example
|
|
11508
11515
|
* true
|
|
@@ -11526,7 +11533,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11526
11533
|
* * `true`: remaps the test domain name of the cluster.
|
|
11527
11534
|
* * `false`: does not remap the test domain name of the cluster.
|
|
11528
11535
|
*
|
|
11529
|
-
* Default value: `false
|
|
11536
|
+
* Default value: `false`.
|
|
11530
11537
|
*
|
|
11531
11538
|
* @example
|
|
11532
11539
|
* true
|
|
@@ -11547,7 +11554,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11547
11554
|
* * `true`: enables instance deletion protection.
|
|
11548
11555
|
* * `false`: disables instance deletion protection.
|
|
11549
11556
|
*
|
|
11550
|
-
* Default value: `false
|
|
11557
|
+
* Default value: `false`.
|
|
11551
11558
|
*
|
|
11552
11559
|
* @example
|
|
11553
11560
|
* true
|
|
@@ -11565,7 +11572,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11565
11572
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
11566
11573
|
/**
|
|
11567
11574
|
* @remarks
|
|
11568
|
-
* The
|
|
11575
|
+
* The resource group ID of the cluster.
|
|
11569
11576
|
*
|
|
11570
11577
|
* @example
|
|
11571
11578
|
* rg-acfmyvw3wjm****
|
|
@@ -11578,12 +11585,12 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
11578
11585
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
11579
11586
|
/**
|
|
11580
11587
|
* @remarks
|
|
11581
|
-
* The vSwitches of the control
|
|
11588
|
+
* 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:
|
|
11582
11589
|
*
|
|
11583
|
-
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control
|
|
11584
|
-
* * The control
|
|
11585
|
-
* *
|
|
11586
|
-
* * If the new vSwitches of the control
|
|
11590
|
+
* * This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
11591
|
+
* * The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
11592
|
+
* * 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.
|
|
11593
|
+
* * 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.
|
|
11587
11594
|
*/
|
|
11588
11595
|
vswitchIds?: string[];
|
|
11589
11596
|
static names(): { [key: string]: string } {
|
|
@@ -13904,17 +13911,26 @@ export class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
13904
13911
|
export class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
13905
13912
|
/**
|
|
13906
13913
|
* @remarks
|
|
13907
|
-
*
|
|
13914
|
+
* The ID of the cluster.
|
|
13915
|
+
*
|
|
13916
|
+
* @example
|
|
13917
|
+
* c5b5e80b0b64a4bf6939d2d8fbbc5****
|
|
13908
13918
|
*/
|
|
13909
13919
|
clusterId?: string;
|
|
13910
13920
|
/**
|
|
13911
13921
|
* @remarks
|
|
13912
|
-
*
|
|
13922
|
+
* The ID of the request.
|
|
13923
|
+
*
|
|
13924
|
+
* @example
|
|
13925
|
+
* 74D1512F-67DA-54E8-99EA-4D50EB4898F4
|
|
13913
13926
|
*/
|
|
13914
13927
|
requestId?: string;
|
|
13915
13928
|
/**
|
|
13916
13929
|
* @remarks
|
|
13917
|
-
*
|
|
13930
|
+
* The ID of the task.
|
|
13931
|
+
*
|
|
13932
|
+
* @example
|
|
13933
|
+
* T-66e39b39c0fdd001320005c0
|
|
13918
13934
|
*/
|
|
13919
13935
|
taskId?: string;
|
|
13920
13936
|
static names(): { [key: string]: string } {
|
|
@@ -14159,10 +14175,10 @@ export class UntagResourcesResponse extends $tea.Model {
|
|
|
14159
14175
|
export class UpdateClusterAuditLogConfigRequest extends $tea.Model {
|
|
14160
14176
|
/**
|
|
14161
14177
|
* @remarks
|
|
14162
|
-
* Enable or disable
|
|
14178
|
+
* Enable or disable audit logging.
|
|
14163
14179
|
*
|
|
14164
|
-
* * false: enables
|
|
14165
|
-
* * true: disables
|
|
14180
|
+
* * false: enables audit logging or updates the audit logging configurations.
|
|
14181
|
+
* * true: disables audit logging.
|
|
14166
14182
|
*
|
|
14167
14183
|
* @example
|
|
14168
14184
|
* false
|
|
@@ -14170,11 +14186,11 @@ export class UpdateClusterAuditLogConfigRequest extends $tea.Model {
|
|
|
14170
14186
|
disable?: boolean;
|
|
14171
14187
|
/**
|
|
14172
14188
|
* @remarks
|
|
14173
|
-
* The [
|
|
14189
|
+
* The [Simple Log Service project](https://help.aliyun.com/document_detail/48873.html) to which the [Logstore](https://help.aliyun.com/document_detail/48873.html) that stores the cluster audit logs belongs.
|
|
14174
14190
|
*
|
|
14175
14191
|
* * Default value: k8s-log-{clusterid}.
|
|
14176
14192
|
* * After the cluster audit log feature is enabled, a Logstore is created in the specified SLS project to store the cluster audit logs.
|
|
14177
|
-
* * If you want to change the project after
|
|
14193
|
+
* * If you want to change the project after audit logging is enabled for the cluster, you can use this parameter to specify another project. You can perform this operation only in ACK managed clusters.
|
|
14178
14194
|
*
|
|
14179
14195
|
* @example
|
|
14180
14196
|
* k8s-log-c82e6987e2961451182edacd74faf****
|
|
@@ -26862,6 +26878,14 @@ export class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
26862
26878
|
* cluster
|
|
26863
26879
|
*/
|
|
26864
26880
|
targetType?: string;
|
|
26881
|
+
/**
|
|
26882
|
+
* @remarks
|
|
26883
|
+
* The ID of the task generated by the execution plan.
|
|
26884
|
+
*
|
|
26885
|
+
* @example
|
|
26886
|
+
* T-6764d027be846d01310006b1
|
|
26887
|
+
*/
|
|
26888
|
+
taskId?: string;
|
|
26865
26889
|
/**
|
|
26866
26890
|
* @remarks
|
|
26867
26891
|
* The plan type. Valid values:
|
|
@@ -26882,6 +26906,7 @@ export class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
26882
26906
|
state: 'state',
|
|
26883
26907
|
targetId: 'target_id',
|
|
26884
26908
|
targetType: 'target_type',
|
|
26909
|
+
taskId: 'task_id',
|
|
26885
26910
|
type: 'type',
|
|
26886
26911
|
};
|
|
26887
26912
|
}
|
|
@@ -26896,6 +26921,7 @@ export class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
|
26896
26921
|
state: 'string',
|
|
26897
26922
|
targetId: 'string',
|
|
26898
26923
|
targetType: 'string',
|
|
26924
|
+
taskId: 'string',
|
|
26899
26925
|
type: 'string',
|
|
26900
26926
|
};
|
|
26901
26927
|
}
|
|
@@ -27129,7 +27155,7 @@ export class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
|
27129
27155
|
action?: string;
|
|
27130
27156
|
/**
|
|
27131
27157
|
* @remarks
|
|
27132
|
-
* The SANs.
|
|
27158
|
+
* The list of SANs.
|
|
27133
27159
|
*/
|
|
27134
27160
|
subjectAlternativeNames?: string[];
|
|
27135
27161
|
static names(): { [key: string]: string } {
|
|
@@ -27152,29 +27178,251 @@ export class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
|
27152
27178
|
}
|
|
27153
27179
|
|
|
27154
27180
|
export class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
27181
|
+
/**
|
|
27182
|
+
* @remarks
|
|
27183
|
+
* Specifies whether to enable auto-renewal for the instance. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
27184
|
+
*
|
|
27185
|
+
* * `true`: enables auto-renewal.
|
|
27186
|
+
* * `false`: disables auto-renewal.
|
|
27187
|
+
*
|
|
27188
|
+
* Default value: `false`.
|
|
27189
|
+
*
|
|
27190
|
+
* @example
|
|
27191
|
+
* true
|
|
27192
|
+
*/
|
|
27155
27193
|
autoRenew?: boolean;
|
|
27194
|
+
/**
|
|
27195
|
+
* @remarks
|
|
27196
|
+
* The auto-renewal period of the instance. Valid values: 1, 2, 3, 6, and 12.
|
|
27197
|
+
*
|
|
27198
|
+
* Default value: 1.
|
|
27199
|
+
*
|
|
27200
|
+
* @example
|
|
27201
|
+
* 1
|
|
27202
|
+
*/
|
|
27156
27203
|
autoRenewPeriod?: number;
|
|
27204
|
+
/**
|
|
27205
|
+
* @remarks
|
|
27206
|
+
* The billing method of the instance. Valid values:
|
|
27207
|
+
*
|
|
27208
|
+
* * `PrePaid`: subscription.
|
|
27209
|
+
* * `PostPaid`: pay-as-you-go.
|
|
27210
|
+
*
|
|
27211
|
+
* Default value: `PostPaid`.
|
|
27212
|
+
*
|
|
27213
|
+
* @example
|
|
27214
|
+
* PrePaid
|
|
27215
|
+
*/
|
|
27157
27216
|
chargeType?: string;
|
|
27217
|
+
/**
|
|
27218
|
+
* @remarks
|
|
27219
|
+
* Specifies whether to install the CloudMonitor agent. Valid values:
|
|
27220
|
+
*
|
|
27221
|
+
* * `true`: installs the CloudMonitor agent.
|
|
27222
|
+
* * `false`: does not install the CloudMonitor agent.
|
|
27223
|
+
*
|
|
27224
|
+
* @example
|
|
27225
|
+
* true
|
|
27226
|
+
*/
|
|
27158
27227
|
cloudMonitorFlags?: boolean;
|
|
27228
|
+
/**
|
|
27229
|
+
* @remarks
|
|
27230
|
+
* 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:
|
|
27231
|
+
*
|
|
27232
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
27233
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
27234
|
+
*
|
|
27235
|
+
* Default value: `none`.
|
|
27236
|
+
*
|
|
27237
|
+
* @example
|
|
27238
|
+
* none
|
|
27239
|
+
*/
|
|
27159
27240
|
cpuPolicy?: string;
|
|
27241
|
+
/**
|
|
27242
|
+
* @remarks
|
|
27243
|
+
* The ID of the deployment set.
|
|
27244
|
+
*
|
|
27245
|
+
* @example
|
|
27246
|
+
* ds-bp10b35imuam5amw****
|
|
27247
|
+
*/
|
|
27160
27248
|
deploymentsetId?: string;
|
|
27249
|
+
/**
|
|
27250
|
+
* @remarks
|
|
27251
|
+
* The custom image ID. You must configure this parameter if you use a custom image.
|
|
27252
|
+
*
|
|
27253
|
+
* @example
|
|
27254
|
+
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
27255
|
+
*/
|
|
27161
27256
|
imageId?: string;
|
|
27257
|
+
/**
|
|
27258
|
+
* @remarks
|
|
27259
|
+
* The type of the OS image. Valid values:
|
|
27260
|
+
*
|
|
27261
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
27262
|
+
* * `Custom`: the custom image.
|
|
27263
|
+
*
|
|
27264
|
+
* @example
|
|
27265
|
+
* AliyunLinux3
|
|
27266
|
+
*/
|
|
27162
27267
|
imageType?: string;
|
|
27268
|
+
/**
|
|
27269
|
+
* @remarks
|
|
27270
|
+
* The instance type. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
27271
|
+
*/
|
|
27163
27272
|
instanceTypes?: string[];
|
|
27273
|
+
/**
|
|
27274
|
+
* @remarks
|
|
27275
|
+
* The name of the key pair. You must configure either this parameter or the `login_password` parameter.
|
|
27276
|
+
*
|
|
27277
|
+
* @example
|
|
27278
|
+
* ack
|
|
27279
|
+
*/
|
|
27164
27280
|
keyPair?: string;
|
|
27281
|
+
/**
|
|
27282
|
+
* @remarks
|
|
27283
|
+
* 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.
|
|
27284
|
+
*
|
|
27285
|
+
* @example
|
|
27286
|
+
* Ack@2000.
|
|
27287
|
+
*/
|
|
27165
27288
|
loginPassword?: string;
|
|
27289
|
+
/**
|
|
27290
|
+
* @remarks
|
|
27291
|
+
* The node port range.
|
|
27292
|
+
*
|
|
27293
|
+
* @example
|
|
27294
|
+
* 30000-32767
|
|
27295
|
+
*/
|
|
27166
27296
|
nodePortRange?: string;
|
|
27297
|
+
/**
|
|
27298
|
+
* @remarks
|
|
27299
|
+
* The subscription duration of the instance. This parameter takes effect and is required only when `charge_type` is set to `PrePaid`.
|
|
27300
|
+
*
|
|
27301
|
+
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
27302
|
+
*
|
|
27303
|
+
* @example
|
|
27304
|
+
* 1
|
|
27305
|
+
*/
|
|
27167
27306
|
period?: number;
|
|
27307
|
+
/**
|
|
27308
|
+
* @remarks
|
|
27309
|
+
* The billing cycle of the instance. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
27310
|
+
*
|
|
27311
|
+
* Valid value: `Month`.
|
|
27312
|
+
*
|
|
27313
|
+
* @example
|
|
27314
|
+
* Month
|
|
27315
|
+
*/
|
|
27168
27316
|
periodUnit?: string;
|
|
27317
|
+
/**
|
|
27318
|
+
* @remarks
|
|
27319
|
+
* The type of the container runtime. Valid values:
|
|
27320
|
+
*
|
|
27321
|
+
* * `containerd`: supports all Kubernetes versions. We recommend that you set the parameter to this value.
|
|
27322
|
+
*
|
|
27323
|
+
* Default value: containerd.
|
|
27324
|
+
*
|
|
27325
|
+
* @example
|
|
27326
|
+
* containerd
|
|
27327
|
+
*/
|
|
27169
27328
|
runtime?: string;
|
|
27329
|
+
/**
|
|
27330
|
+
* @remarks
|
|
27331
|
+
* Specifies whether to enable Alibaba Cloud Linux Security Hardening. Valid values:
|
|
27332
|
+
*
|
|
27333
|
+
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
27334
|
+
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
27335
|
+
*
|
|
27336
|
+
* Default value: `false`.
|
|
27337
|
+
*
|
|
27338
|
+
* @example
|
|
27339
|
+
* true
|
|
27340
|
+
*/
|
|
27170
27341
|
securityHardeningOs?: boolean;
|
|
27342
|
+
/**
|
|
27343
|
+
* @remarks
|
|
27344
|
+
* 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.
|
|
27345
|
+
*
|
|
27346
|
+
* @example
|
|
27347
|
+
* 5
|
|
27348
|
+
*/
|
|
27171
27349
|
size?: number;
|
|
27350
|
+
/**
|
|
27351
|
+
* @remarks
|
|
27352
|
+
* 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).
|
|
27353
|
+
*
|
|
27354
|
+
* Valid values:
|
|
27355
|
+
*
|
|
27356
|
+
* * `true`: enables MLPS security hardening.
|
|
27357
|
+
* * `false`: disables MLPS security hardening.
|
|
27358
|
+
*
|
|
27359
|
+
* Default value: `false`.
|
|
27360
|
+
*
|
|
27361
|
+
* @example
|
|
27362
|
+
* false
|
|
27363
|
+
*/
|
|
27172
27364
|
socEnabled?: boolean;
|
|
27365
|
+
/**
|
|
27366
|
+
* @remarks
|
|
27367
|
+
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
27368
|
+
*
|
|
27369
|
+
* * `true`: enables the burst feature.
|
|
27370
|
+
* * `false`: disables the burst feature.
|
|
27371
|
+
*
|
|
27372
|
+
* 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).
|
|
27373
|
+
*
|
|
27374
|
+
* @example
|
|
27375
|
+
* true
|
|
27376
|
+
*/
|
|
27173
27377
|
systemDiskBurstingEnabled?: boolean;
|
|
27378
|
+
/**
|
|
27379
|
+
* @remarks
|
|
27380
|
+
* The type of the node system disk. Valid values:
|
|
27381
|
+
*
|
|
27382
|
+
* * `cloud`: basic disk.
|
|
27383
|
+
* * `cloud_efficiency`: ultra disk.
|
|
27384
|
+
* * `cloud_ssd`: standard SSD.
|
|
27385
|
+
* * `cloud_essd`: enhanced SSD (ESSD).
|
|
27386
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
27387
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
27388
|
+
*
|
|
27389
|
+
* @example
|
|
27390
|
+
* cloud_essd
|
|
27391
|
+
*/
|
|
27174
27392
|
systemDiskCategory?: string;
|
|
27393
|
+
/**
|
|
27394
|
+
* @remarks
|
|
27395
|
+
* 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).
|
|
27396
|
+
*
|
|
27397
|
+
* @example
|
|
27398
|
+
* PL1
|
|
27399
|
+
*/
|
|
27175
27400
|
systemDiskPerformanceLevel?: string;
|
|
27401
|
+
/**
|
|
27402
|
+
* @remarks
|
|
27403
|
+
* 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}.
|
|
27404
|
+
*
|
|
27405
|
+
* 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).
|
|
27406
|
+
*
|
|
27407
|
+
* @example
|
|
27408
|
+
* 1000
|
|
27409
|
+
*/
|
|
27176
27410
|
systemDiskProvisionedIops?: number;
|
|
27411
|
+
/**
|
|
27412
|
+
* @remarks
|
|
27413
|
+
* The type of the system disk. Valid values: [40,500]. Unit: GiB.
|
|
27414
|
+
*
|
|
27415
|
+
* @example
|
|
27416
|
+
* 120
|
|
27417
|
+
*/
|
|
27177
27418
|
systemDiskSize?: number;
|
|
27419
|
+
/**
|
|
27420
|
+
* @remarks
|
|
27421
|
+
* The ID of the automatic snapshot policy applied to the node system disk.
|
|
27422
|
+
*
|
|
27423
|
+
* @example
|
|
27424
|
+
* sp-2zej1nogjvovnz4z****
|
|
27425
|
+
*/
|
|
27178
27426
|
systemDiskSnapshotPolicyId?: string;
|
|
27179
27427
|
static names(): { [key: string]: string } {
|
|
27180
27428
|
return {
|
|
@@ -27242,11 +27490,11 @@ export class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
|
|
|
27242
27490
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
27243
27491
|
/**
|
|
27244
27492
|
* @remarks
|
|
27245
|
-
* The automatic
|
|
27493
|
+
* The frequency of automatic cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
27246
27494
|
*
|
|
27247
27495
|
* Valid values:
|
|
27248
27496
|
*
|
|
27249
|
-
* * patch:
|
|
27497
|
+
* * patch: the latest patch version.
|
|
27250
27498
|
* * stables: the second-latest minor version.
|
|
27251
27499
|
* * rapid: the latest minor version.
|
|
27252
27500
|
*
|
|
@@ -29600,6 +29848,10 @@ export default class Client extends OpenApi {
|
|
|
29600
29848
|
body["min_replica_count"] = request.minReplicaCount;
|
|
29601
29849
|
}
|
|
29602
29850
|
|
|
29851
|
+
if (!Util.isUnset(request.priorities)) {
|
|
29852
|
+
body["priorities"] = request.priorities;
|
|
29853
|
+
}
|
|
29854
|
+
|
|
29603
29855
|
if (!Util.isUnset(request.recycleNodeDeletionEnabled)) {
|
|
29604
29856
|
body["recycle_node_deletion_enabled"] = request.recycleNodeDeletionEnabled;
|
|
29605
29857
|
}
|
|
@@ -33943,7 +34195,7 @@ export default class Client extends OpenApi {
|
|
|
33943
34195
|
}
|
|
33944
34196
|
|
|
33945
34197
|
/**
|
|
33946
|
-
* Queries the
|
|
34198
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
33947
34199
|
*
|
|
33948
34200
|
* @param request - ListOperationPlansRequest
|
|
33949
34201
|
* @param headers - map
|
|
@@ -33980,7 +34232,7 @@ export default class Client extends OpenApi {
|
|
|
33980
34232
|
}
|
|
33981
34233
|
|
|
33982
34234
|
/**
|
|
33983
|
-
* Queries the
|
|
34235
|
+
* Queries the automated maintenance schedules of a cluster.
|
|
33984
34236
|
*
|
|
33985
34237
|
* @param request - ListOperationPlansRequest
|
|
33986
34238
|
* @returns ListOperationPlansResponse
|
|
@@ -35831,7 +36083,7 @@ export default class Client extends OpenApi {
|
|
|
35831
36083
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
35832
36084
|
*
|
|
35833
36085
|
* @remarks
|
|
35834
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
36086
|
+
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing) (SLS).
|
|
35835
36087
|
*
|
|
35836
36088
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
35837
36089
|
* @param headers - map
|
|
@@ -35871,7 +36123,7 @@ export default class Client extends OpenApi {
|
|
|
35871
36123
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
35872
36124
|
*
|
|
35873
36125
|
* @remarks
|
|
35874
|
-
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.
|
|
36126
|
+
* Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing) (SLS).
|
|
35875
36127
|
*
|
|
35876
36128
|
* @param request - UpdateClusterAuditLogConfigRequest
|
|
35877
36129
|
* @returns UpdateClusterAuditLogConfigResponse
|