@alicloud/cs20151215 4.7.6 → 4.7.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 +324 -67
- package/dist/client.js +150 -12
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +396 -67
package/dist/client.d.ts
CHANGED
|
@@ -256,7 +256,7 @@ export declare class MaintenanceWindow extends $tea.Model {
|
|
|
256
256
|
enable?: boolean;
|
|
257
257
|
/**
|
|
258
258
|
* @example
|
|
259
|
-
*
|
|
259
|
+
* 2020-10-15T12:31:00.000+08:00
|
|
260
260
|
*/
|
|
261
261
|
maintenanceTime?: string;
|
|
262
262
|
/**
|
|
@@ -1351,11 +1351,24 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1351
1351
|
*/
|
|
1352
1352
|
apiAudiences?: string;
|
|
1353
1353
|
/**
|
|
1354
|
+
* @remarks
|
|
1355
|
+
* Specifies whether to enable auto-renewal, which takes effect only when the `charge_type` value is set to `PrePaid`.
|
|
1356
|
+
*
|
|
1357
|
+
* Possible values:
|
|
1358
|
+
* - `true`: Enable auto-renewal.
|
|
1359
|
+
* - `false`: Do not auto-renew.
|
|
1360
|
+
*
|
|
1361
|
+
* Default value: `false`.
|
|
1362
|
+
*
|
|
1354
1363
|
* @example
|
|
1355
1364
|
* true
|
|
1356
1365
|
*/
|
|
1357
1366
|
autoRenew?: boolean;
|
|
1358
1367
|
/**
|
|
1368
|
+
* @remarks
|
|
1369
|
+
* Renewal period, which takes effect only when Prepaid and Auto-Renewal are selected. When `PeriodUnit=Month`, the value range is {1, 2, 3, 6, 12}.
|
|
1370
|
+
* Default value: 1.
|
|
1371
|
+
*
|
|
1359
1372
|
* @example
|
|
1360
1373
|
* 1
|
|
1361
1374
|
*/
|
|
@@ -1660,6 +1673,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1660
1673
|
*/
|
|
1661
1674
|
kubernetesVersion?: string;
|
|
1662
1675
|
/**
|
|
1676
|
+
* @remarks
|
|
1677
|
+
* Specifies the CLB instance ID for accessing the APIServer. When this parameter is set, an APIServer CLB will no longer be automatically created.
|
|
1678
|
+
*
|
|
1663
1679
|
* @example
|
|
1664
1680
|
* lb-wz9t256gqa3vbouk****
|
|
1665
1681
|
*/
|
|
@@ -1697,6 +1713,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1697
1713
|
* Hello@1234
|
|
1698
1714
|
*/
|
|
1699
1715
|
loginPassword?: string;
|
|
1716
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
1700
1717
|
/**
|
|
1701
1718
|
* @remarks
|
|
1702
1719
|
* Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when `master_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
@@ -1894,6 +1911,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1894
1911
|
* @deprecated
|
|
1895
1912
|
*/
|
|
1896
1913
|
numOfNodes?: number;
|
|
1914
|
+
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
1897
1915
|
/**
|
|
1898
1916
|
* @remarks
|
|
1899
1917
|
* The type of OS. Valid values:
|
|
@@ -2328,6 +2346,11 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2328
2346
|
* @deprecated
|
|
2329
2347
|
*/
|
|
2330
2348
|
zoneId?: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* @remarks
|
|
2351
|
+
* List of availability zone IDs in the region where the cluster resides. This parameter is specific to ACK managed clusters.
|
|
2352
|
+
* When creating an ACK managed cluster, if `vpc_id` and `vswitch_ids` are not specified, specifying `zone_ids` allows for automatic creation of VPC network resources across multiple availability zones. If `vpc_id` and `vswitch_ids` are specified, this parameter becomes ineffective.
|
|
2353
|
+
*/
|
|
2331
2354
|
zoneIds?: string[];
|
|
2332
2355
|
static names(): {
|
|
2333
2356
|
[key: string]: string;
|
|
@@ -4510,6 +4533,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4510
4533
|
* 1.18.8-aliyun.1
|
|
4511
4534
|
*/
|
|
4512
4535
|
nextVersion?: string;
|
|
4536
|
+
operationPolicy?: DescribeClusterDetailResponseBodyOperationPolicy;
|
|
4513
4537
|
/**
|
|
4514
4538
|
* @remarks
|
|
4515
4539
|
* The ROS parameters of the cluster.
|
|
@@ -4797,6 +4821,10 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4797
4821
|
* 10
|
|
4798
4822
|
*/
|
|
4799
4823
|
maxNodes?: number;
|
|
4824
|
+
/**
|
|
4825
|
+
* @remarks
|
|
4826
|
+
* Node configuration.
|
|
4827
|
+
*/
|
|
4800
4828
|
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
4801
4829
|
/**
|
|
4802
4830
|
* @remarks
|
|
@@ -4846,6 +4874,9 @@ export declare class DescribeClusterNodePoolDetailResponse extends $tea.Model {
|
|
|
4846
4874
|
}
|
|
4847
4875
|
export declare class DescribeClusterNodePoolsRequest extends $tea.Model {
|
|
4848
4876
|
/**
|
|
4877
|
+
* @remarks
|
|
4878
|
+
* Node pool name.
|
|
4879
|
+
*
|
|
4849
4880
|
* @example
|
|
4850
4881
|
* nodepool-test
|
|
4851
4882
|
*/
|
|
@@ -6004,6 +6035,9 @@ export declare class DescribeNodePoolVulsResponseBody extends $tea.Model {
|
|
|
6004
6035
|
*/
|
|
6005
6036
|
vulRecords?: DescribeNodePoolVulsResponseBodyVulRecords[];
|
|
6006
6037
|
/**
|
|
6038
|
+
* @remarks
|
|
6039
|
+
* Whether the Cloud Security CVE Remediation Service has been purchased
|
|
6040
|
+
*
|
|
6007
6041
|
* @example
|
|
6008
6042
|
* false
|
|
6009
6043
|
*/
|
|
@@ -7730,6 +7764,9 @@ export declare class ListClusterChecksRequest extends $tea.Model {
|
|
|
7730
7764
|
/**
|
|
7731
7765
|
* @remarks
|
|
7732
7766
|
* The targets to check.
|
|
7767
|
+
*
|
|
7768
|
+
* @example
|
|
7769
|
+
* ngw-bp19ay6nnvd4cexxxx
|
|
7733
7770
|
*/
|
|
7734
7771
|
target?: string;
|
|
7735
7772
|
/**
|
|
@@ -8471,7 +8508,7 @@ export declare class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
8471
8508
|
export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
8472
8509
|
/**
|
|
8473
8510
|
* @remarks
|
|
8474
|
-
* The
|
|
8511
|
+
* The configurations about auto scaling.
|
|
8475
8512
|
*/
|
|
8476
8513
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
8477
8514
|
/**
|
|
@@ -8489,7 +8526,7 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8489
8526
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
8490
8527
|
/**
|
|
8491
8528
|
* @remarks
|
|
8492
|
-
* The
|
|
8529
|
+
* The configuration of the managed node pool feature.
|
|
8493
8530
|
*/
|
|
8494
8531
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
8495
8532
|
/**
|
|
@@ -8499,7 +8536,7 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
8499
8536
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
8500
8537
|
/**
|
|
8501
8538
|
* @remarks
|
|
8502
|
-
* The
|
|
8539
|
+
* The configuration of the scaling group.
|
|
8503
8540
|
*/
|
|
8504
8541
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
8505
8542
|
/**
|
|
@@ -8912,6 +8949,9 @@ export declare class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
8912
8949
|
}
|
|
8913
8950
|
export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
8914
8951
|
/**
|
|
8952
|
+
* @remarks
|
|
8953
|
+
* Whether to remove concurrently.
|
|
8954
|
+
*
|
|
8915
8955
|
* @example
|
|
8916
8956
|
* false
|
|
8917
8957
|
*/
|
|
@@ -8962,6 +9002,9 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
8962
9002
|
}
|
|
8963
9003
|
export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
8964
9004
|
/**
|
|
9005
|
+
* @remarks
|
|
9006
|
+
* Whether to remove concurrently.
|
|
9007
|
+
*
|
|
8965
9008
|
* @example
|
|
8966
9009
|
* false
|
|
8967
9010
|
*/
|
|
@@ -9350,10 +9393,10 @@ export declare class ScaleClusterResponse extends $tea.Model {
|
|
|
9350
9393
|
export declare class ScaleClusterNodePoolRequest extends $tea.Model {
|
|
9351
9394
|
/**
|
|
9352
9395
|
* @remarks
|
|
9353
|
-
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the node
|
|
9396
|
+
* The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the two node is scaled out, the node pool contains four nodes. Due to the limit of the node quota, you can add at most 500 nodes in each request.
|
|
9354
9397
|
*
|
|
9355
9398
|
* @example
|
|
9356
|
-
*
|
|
9399
|
+
* 2
|
|
9357
9400
|
*/
|
|
9358
9401
|
count?: number;
|
|
9359
9402
|
static names(): {
|
|
@@ -9669,11 +9712,17 @@ export declare class ScaleOutClusterResponse extends $tea.Model {
|
|
|
9669
9712
|
}
|
|
9670
9713
|
export declare class ScanClusterVulsResponseBody extends $tea.Model {
|
|
9671
9714
|
/**
|
|
9715
|
+
* @remarks
|
|
9716
|
+
* Request ID.
|
|
9717
|
+
*
|
|
9672
9718
|
* @example
|
|
9673
9719
|
* 687C5BAA-D103-4993-884B-C35E4314A1E1
|
|
9674
9720
|
*/
|
|
9675
9721
|
requestId?: string;
|
|
9676
9722
|
/**
|
|
9723
|
+
* @remarks
|
|
9724
|
+
* Task ID.
|
|
9725
|
+
*
|
|
9677
9726
|
* @example
|
|
9678
9727
|
* T-xascadasd*****
|
|
9679
9728
|
*/
|
|
@@ -10672,6 +10721,9 @@ export declare class UpdateResourcesDeleteProtectionResponseBody extends $tea.Mo
|
|
|
10672
10721
|
/**
|
|
10673
10722
|
* @remarks
|
|
10674
10723
|
* Indicates the status of deletion protection. A value of true indicates that deletion protection is enabled and a value of false indicates that deletion protection is disabled.
|
|
10724
|
+
*
|
|
10725
|
+
* @example
|
|
10726
|
+
* enable
|
|
10675
10727
|
*/
|
|
10676
10728
|
protection?: string;
|
|
10677
10729
|
/**
|
|
@@ -10685,6 +10737,9 @@ export declare class UpdateResourcesDeleteProtectionResponseBody extends $tea.Mo
|
|
|
10685
10737
|
/**
|
|
10686
10738
|
* @remarks
|
|
10687
10739
|
* The type of resource for which deletion protection is enabled or disabled.
|
|
10740
|
+
*
|
|
10741
|
+
* @example
|
|
10742
|
+
* namespaces
|
|
10688
10743
|
*/
|
|
10689
10744
|
resourceType?: string;
|
|
10690
10745
|
/**
|
|
@@ -10862,6 +10917,10 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10862
10917
|
* 1.16.9-aliyun.1
|
|
10863
10918
|
*/
|
|
10864
10919
|
nextVersion?: string;
|
|
10920
|
+
/**
|
|
10921
|
+
* @remarks
|
|
10922
|
+
* Policy of rolling.
|
|
10923
|
+
*/
|
|
10865
10924
|
rollingPolicy?: UpgradeClusterRequestRollingPolicy;
|
|
10866
10925
|
/**
|
|
10867
10926
|
* @remarks
|
|
@@ -10885,16 +10944,25 @@ export declare class UpgradeClusterRequest extends $tea.Model {
|
|
|
10885
10944
|
}
|
|
10886
10945
|
export declare class UpgradeClusterResponseBody extends $tea.Model {
|
|
10887
10946
|
/**
|
|
10947
|
+
* @remarks
|
|
10948
|
+
* Cluster ID.
|
|
10949
|
+
*
|
|
10888
10950
|
* @example
|
|
10889
10951
|
* c82e6987e2961451182edacd74faf****
|
|
10890
10952
|
*/
|
|
10891
10953
|
clusterId?: string;
|
|
10892
10954
|
/**
|
|
10955
|
+
* @remarks
|
|
10956
|
+
* Request ID.
|
|
10957
|
+
*
|
|
10893
10958
|
* @example
|
|
10894
10959
|
* 0527ac9a-c899-4341-a21a-****
|
|
10895
10960
|
*/
|
|
10896
10961
|
requestId?: string;
|
|
10897
10962
|
/**
|
|
10963
|
+
* @remarks
|
|
10964
|
+
* Task ID.
|
|
10965
|
+
*
|
|
10898
10966
|
* @example
|
|
10899
10967
|
* T-5faa48fb31b6b8078d00****
|
|
10900
10968
|
*/
|
|
@@ -11775,6 +11843,31 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11775
11843
|
[key: string]: any;
|
|
11776
11844
|
});
|
|
11777
11845
|
}
|
|
11846
|
+
export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
11847
|
+
channel?: string;
|
|
11848
|
+
enabled?: boolean;
|
|
11849
|
+
static names(): {
|
|
11850
|
+
[key: string]: string;
|
|
11851
|
+
};
|
|
11852
|
+
static types(): {
|
|
11853
|
+
[key: string]: any;
|
|
11854
|
+
};
|
|
11855
|
+
constructor(map?: {
|
|
11856
|
+
[key: string]: any;
|
|
11857
|
+
});
|
|
11858
|
+
}
|
|
11859
|
+
export declare class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
11860
|
+
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
11861
|
+
static names(): {
|
|
11862
|
+
[key: string]: string;
|
|
11863
|
+
};
|
|
11864
|
+
static types(): {
|
|
11865
|
+
[key: string]: any;
|
|
11866
|
+
};
|
|
11867
|
+
constructor(map?: {
|
|
11868
|
+
[key: string]: any;
|
|
11869
|
+
});
|
|
11870
|
+
}
|
|
11778
11871
|
export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
11779
11872
|
/**
|
|
11780
11873
|
* @remarks
|
|
@@ -12048,6 +12141,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
12048
12141
|
* customized,aliyun,ip,com
|
|
12049
12142
|
*/
|
|
12050
12143
|
nodeNameMode?: string;
|
|
12144
|
+
preUserData?: string;
|
|
12051
12145
|
/**
|
|
12052
12146
|
* @remarks
|
|
12053
12147
|
* The name of the container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK):
|
|
@@ -13138,6 +13232,31 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
|
|
|
13138
13232
|
[key: string]: any;
|
|
13139
13233
|
});
|
|
13140
13234
|
}
|
|
13235
|
+
export declare class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
13236
|
+
channel?: string;
|
|
13237
|
+
enabled?: boolean;
|
|
13238
|
+
static names(): {
|
|
13239
|
+
[key: string]: string;
|
|
13240
|
+
};
|
|
13241
|
+
static types(): {
|
|
13242
|
+
[key: string]: any;
|
|
13243
|
+
};
|
|
13244
|
+
constructor(map?: {
|
|
13245
|
+
[key: string]: any;
|
|
13246
|
+
});
|
|
13247
|
+
}
|
|
13248
|
+
export declare class DescribeClusterDetailResponseBodyOperationPolicy extends $tea.Model {
|
|
13249
|
+
clusterAutoUpgrade?: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade;
|
|
13250
|
+
static names(): {
|
|
13251
|
+
[key: string]: string;
|
|
13252
|
+
};
|
|
13253
|
+
static types(): {
|
|
13254
|
+
[key: string]: any;
|
|
13255
|
+
};
|
|
13256
|
+
constructor(map?: {
|
|
13257
|
+
[key: string]: any;
|
|
13258
|
+
});
|
|
13259
|
+
}
|
|
13141
13260
|
export declare class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
|
|
13142
13261
|
/**
|
|
13143
13262
|
* @remarks
|
|
@@ -13525,6 +13644,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13525
13644
|
* customized,test.,5,.com
|
|
13526
13645
|
*/
|
|
13527
13646
|
nodeNameMode?: string;
|
|
13647
|
+
preUserData?: string;
|
|
13528
13648
|
/**
|
|
13529
13649
|
* @remarks
|
|
13530
13650
|
* The name of the container runtime.
|
|
@@ -13547,6 +13667,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13547
13667
|
*/
|
|
13548
13668
|
taints?: Taint[];
|
|
13549
13669
|
/**
|
|
13670
|
+
* @remarks
|
|
13671
|
+
* Whether the expanded node is schedulable.
|
|
13672
|
+
*
|
|
13550
13673
|
* @example
|
|
13551
13674
|
* true
|
|
13552
13675
|
*/
|
|
@@ -13571,6 +13694,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13571
13694
|
}
|
|
13572
13695
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
13573
13696
|
/**
|
|
13697
|
+
* @remarks
|
|
13698
|
+
* Whether to allow restarting nodes.
|
|
13699
|
+
*
|
|
13574
13700
|
* @example
|
|
13575
13701
|
* true
|
|
13576
13702
|
*/
|
|
@@ -13587,6 +13713,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepa
|
|
|
13587
13713
|
}
|
|
13588
13714
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
13589
13715
|
/**
|
|
13716
|
+
* @remarks
|
|
13717
|
+
* Whether to allow automatic upgrading of kubelet.
|
|
13718
|
+
*
|
|
13590
13719
|
* @example
|
|
13591
13720
|
* true
|
|
13592
13721
|
*/
|
|
@@ -13603,11 +13732,17 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgr
|
|
|
13603
13732
|
}
|
|
13604
13733
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
13605
13734
|
/**
|
|
13735
|
+
* @remarks
|
|
13736
|
+
* Whether to allow restarting nodes.
|
|
13737
|
+
*
|
|
13606
13738
|
* @example
|
|
13607
13739
|
* true
|
|
13608
13740
|
*/
|
|
13609
13741
|
restartNode?: boolean;
|
|
13610
13742
|
/**
|
|
13743
|
+
* @remarks
|
|
13744
|
+
* The vulnerability levels allowed for auto-fixing, separated by commas.
|
|
13745
|
+
*
|
|
13611
13746
|
* @example
|
|
13612
13747
|
* asap,nntf
|
|
13613
13748
|
*/
|
|
@@ -13682,18 +13817,36 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
13682
13817
|
* true
|
|
13683
13818
|
*/
|
|
13684
13819
|
autoRepair?: boolean;
|
|
13820
|
+
/**
|
|
13821
|
+
* @remarks
|
|
13822
|
+
* Automatic repair node policy.
|
|
13823
|
+
*/
|
|
13685
13824
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
13686
13825
|
/**
|
|
13826
|
+
* @remarks
|
|
13827
|
+
* Whether to automatically upgrade.
|
|
13828
|
+
*
|
|
13687
13829
|
* @example
|
|
13688
13830
|
* true
|
|
13689
13831
|
*/
|
|
13690
13832
|
autoUpgrade?: boolean;
|
|
13833
|
+
/**
|
|
13834
|
+
* @remarks
|
|
13835
|
+
* Automatic upgrade policy.
|
|
13836
|
+
*/
|
|
13691
13837
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
13692
13838
|
/**
|
|
13839
|
+
* @remarks
|
|
13840
|
+
* Whether to automatically fix CVEs.
|
|
13841
|
+
*
|
|
13693
13842
|
* @example
|
|
13694
13843
|
* true
|
|
13695
13844
|
*/
|
|
13696
13845
|
autoVulFix?: boolean;
|
|
13846
|
+
/**
|
|
13847
|
+
* @remarks
|
|
13848
|
+
* Automatically repair CVE policies.
|
|
13849
|
+
*/
|
|
13697
13850
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
13698
13851
|
/**
|
|
13699
13852
|
* @remarks
|
|
@@ -13722,6 +13875,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
13722
13875
|
});
|
|
13723
13876
|
}
|
|
13724
13877
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
|
|
13878
|
+
/**
|
|
13879
|
+
* @remarks
|
|
13880
|
+
* Kubelet parameter configuration.
|
|
13881
|
+
*/
|
|
13725
13882
|
kubeletConfiguration?: KubeletConfig;
|
|
13726
13883
|
static names(): {
|
|
13727
13884
|
[key: string]: string;
|
|
@@ -13893,6 +14050,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13893
14050
|
*/
|
|
13894
14051
|
autoRenewPeriod?: number;
|
|
13895
14052
|
/**
|
|
14053
|
+
* @remarks
|
|
14054
|
+
* 【The field is deprecated】Please use the parameter security_hardening_os instead.
|
|
14055
|
+
*
|
|
13896
14056
|
* @example
|
|
13897
14057
|
* false
|
|
13898
14058
|
*
|
|
@@ -13940,6 +14100,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13940
14100
|
*/
|
|
13941
14101
|
imageId?: string;
|
|
13942
14102
|
/**
|
|
14103
|
+
* @remarks
|
|
14104
|
+
* Operating system image type.
|
|
14105
|
+
*
|
|
13943
14106
|
* @example
|
|
13944
14107
|
* AliyunLinux
|
|
13945
14108
|
*/
|
|
@@ -13957,7 +14120,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13957
14120
|
instanceChargeType?: string;
|
|
13958
14121
|
/**
|
|
13959
14122
|
* @remarks
|
|
13960
|
-
*
|
|
14123
|
+
* Instance attributes
|
|
13961
14124
|
*/
|
|
13962
14125
|
instancePatterns?: InstancePatterns[];
|
|
13963
14126
|
/**
|
|
@@ -13990,6 +14153,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
13990
14153
|
*/
|
|
13991
14154
|
keyPair?: string;
|
|
13992
14155
|
/**
|
|
14156
|
+
* @remarks
|
|
14157
|
+
* Whether the popped ECS instance uses a non-root user for login.
|
|
14158
|
+
*
|
|
13993
14159
|
* @example
|
|
13994
14160
|
* true
|
|
13995
14161
|
*/
|
|
@@ -14088,7 +14254,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14088
14254
|
ramPolicy?: string;
|
|
14089
14255
|
/**
|
|
14090
14256
|
* @remarks
|
|
14091
|
-
* Worker RAM
|
|
14257
|
+
* Worker RAM role name.
|
|
14092
14258
|
*
|
|
14093
14259
|
* @example
|
|
14094
14260
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -14132,11 +14298,21 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14132
14298
|
*/
|
|
14133
14299
|
securityGroupIds?: string[];
|
|
14134
14300
|
/**
|
|
14301
|
+
* @remarks
|
|
14302
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
14303
|
+
* - `true`: Enable Alibaba Cloud OS security hardening.
|
|
14304
|
+
* - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
14305
|
+
*
|
|
14306
|
+
* Default value: `false`.
|
|
14307
|
+
*
|
|
14135
14308
|
* @example
|
|
14136
14309
|
* false
|
|
14137
14310
|
*/
|
|
14138
14311
|
securityHardeningOs?: boolean;
|
|
14139
14312
|
/**
|
|
14313
|
+
* @remarks
|
|
14314
|
+
* Indicates whether to enable security reinforcement compliant with the hardening standards. This option is available only when the system image is set to Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs compliant with Grade 3, Version 2.0 of the hardening standards for both Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images.
|
|
14315
|
+
*
|
|
14140
14316
|
* @example
|
|
14141
14317
|
* false
|
|
14142
14318
|
*/
|
|
@@ -14180,6 +14356,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14180
14356
|
*/
|
|
14181
14357
|
spotStrategy?: string;
|
|
14182
14358
|
/**
|
|
14359
|
+
* @remarks
|
|
14360
|
+
* Whether to enable Burst (performance burst) for the node system disk, configured when the disk type is cloud_auto.
|
|
14361
|
+
*
|
|
14183
14362
|
* @example
|
|
14184
14363
|
* true
|
|
14185
14364
|
*/
|
|
@@ -14216,6 +14395,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14216
14395
|
*/
|
|
14217
14396
|
systemDiskCategory?: string;
|
|
14218
14397
|
/**
|
|
14398
|
+
* @remarks
|
|
14399
|
+
* Encryption algorithm used for the system disk. Valid values: aes-256.
|
|
14400
|
+
*
|
|
14219
14401
|
* @example
|
|
14220
14402
|
* aes-256
|
|
14221
14403
|
*/
|
|
@@ -14232,6 +14414,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14232
14414
|
*/
|
|
14233
14415
|
systemDiskEncrypted?: boolean;
|
|
14234
14416
|
/**
|
|
14417
|
+
* @remarks
|
|
14418
|
+
* System disk\\"s KMS key ID.
|
|
14419
|
+
*
|
|
14235
14420
|
* @example
|
|
14236
14421
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
14237
14422
|
*/
|
|
@@ -14245,6 +14430,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
14245
14430
|
*/
|
|
14246
14431
|
systemDiskPerformanceLevel?: string;
|
|
14247
14432
|
/**
|
|
14433
|
+
* @remarks
|
|
14434
|
+
* Pre-configured read and write IOPS for the system disk of the node, configured when the disk type is cloud_auto.
|
|
14435
|
+
*
|
|
14248
14436
|
* @example
|
|
14249
14437
|
* 1000
|
|
14250
14438
|
*/
|
|
@@ -14572,6 +14760,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14572
14760
|
* customized,test.,5,.com
|
|
14573
14761
|
*/
|
|
14574
14762
|
nodeNameMode?: string;
|
|
14763
|
+
preUserData?: string;
|
|
14575
14764
|
/**
|
|
14576
14765
|
* @remarks
|
|
14577
14766
|
* The name of the container runtime.
|
|
@@ -15053,6 +15242,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15053
15242
|
* PostPaid
|
|
15054
15243
|
*/
|
|
15055
15244
|
instanceChargeType?: string;
|
|
15245
|
+
/**
|
|
15246
|
+
* @remarks
|
|
15247
|
+
* Instance attributes
|
|
15248
|
+
*/
|
|
15056
15249
|
instancePatterns?: InstancePatterns[];
|
|
15057
15250
|
/**
|
|
15058
15251
|
* @remarks
|
|
@@ -15187,6 +15380,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15187
15380
|
*/
|
|
15188
15381
|
ramPolicy?: string;
|
|
15189
15382
|
/**
|
|
15383
|
+
* @remarks
|
|
15384
|
+
* Worker RAM role name.
|
|
15385
|
+
*
|
|
15190
15386
|
* @example
|
|
15191
15387
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
15192
15388
|
*/
|
|
@@ -15228,6 +15424,15 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15228
15424
|
* The IDs of security groups for the node pool.
|
|
15229
15425
|
*/
|
|
15230
15426
|
securityGroupIds?: string[];
|
|
15427
|
+
/**
|
|
15428
|
+
* @remarks
|
|
15429
|
+
* Alibaba Cloud OS security hardening. Values:
|
|
15430
|
+
* - `true`: Enable Alibaba Cloud OS security hardening. - `false`: Do not enable Alibaba Cloud OS security hardening.
|
|
15431
|
+
* Default value: `false`.
|
|
15432
|
+
*
|
|
15433
|
+
* @example
|
|
15434
|
+
* false
|
|
15435
|
+
*/
|
|
15231
15436
|
securityHardeningOs?: boolean;
|
|
15232
15437
|
/**
|
|
15233
15438
|
* @remarks
|
|
@@ -16230,6 +16435,31 @@ export declare class DescribeClustersResponseBody extends $tea.Model {
|
|
|
16230
16435
|
[key: string]: any;
|
|
16231
16436
|
});
|
|
16232
16437
|
}
|
|
16438
|
+
export declare class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
16439
|
+
channel?: string;
|
|
16440
|
+
enabled?: boolean;
|
|
16441
|
+
static names(): {
|
|
16442
|
+
[key: string]: string;
|
|
16443
|
+
};
|
|
16444
|
+
static types(): {
|
|
16445
|
+
[key: string]: any;
|
|
16446
|
+
};
|
|
16447
|
+
constructor(map?: {
|
|
16448
|
+
[key: string]: any;
|
|
16449
|
+
});
|
|
16450
|
+
}
|
|
16451
|
+
export declare class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
|
|
16452
|
+
clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
|
|
16453
|
+
static names(): {
|
|
16454
|
+
[key: string]: string;
|
|
16455
|
+
};
|
|
16456
|
+
static types(): {
|
|
16457
|
+
[key: string]: any;
|
|
16458
|
+
};
|
|
16459
|
+
constructor(map?: {
|
|
16460
|
+
[key: string]: any;
|
|
16461
|
+
});
|
|
16462
|
+
}
|
|
16233
16463
|
export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
16234
16464
|
/**
|
|
16235
16465
|
* @remarks
|
|
@@ -16367,6 +16597,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16367
16597
|
* 1.18.8-aliyun.1
|
|
16368
16598
|
*/
|
|
16369
16599
|
nextVersion?: string;
|
|
16600
|
+
operationPolicy?: DescribeClustersV1ResponseBodyClustersOperationPolicy;
|
|
16370
16601
|
/**
|
|
16371
16602
|
* @remarks
|
|
16372
16603
|
* Indicates whether Alibaba Cloud DNS PrivateZone is enabled. Valid values:
|
|
@@ -19412,7 +19643,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19412
19643
|
eipBandwidth?: number;
|
|
19413
19644
|
/**
|
|
19414
19645
|
* @remarks
|
|
19415
|
-
* The
|
|
19646
|
+
* The billing method of the EIP. Valid values:
|
|
19416
19647
|
*
|
|
19417
19648
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19418
19649
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -19440,7 +19671,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19440
19671
|
enable?: boolean;
|
|
19441
19672
|
/**
|
|
19442
19673
|
* @remarks
|
|
19443
|
-
* Specifies whether to associate an EIP with the node pool. Valid values:
|
|
19674
|
+
* Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
|
|
19444
19675
|
*
|
|
19445
19676
|
* * `true`: associates an EIP with the node pool.
|
|
19446
19677
|
* * `false`: No EIP is associated with the node pool.
|
|
@@ -19471,7 +19702,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19471
19702
|
minInstances?: number;
|
|
19472
19703
|
/**
|
|
19473
19704
|
* @remarks
|
|
19474
|
-
* The instance
|
|
19705
|
+
* The instance types that can be used for the auto scaling of the node pool. Valid values:
|
|
19475
19706
|
*
|
|
19476
19707
|
* * `cpu`: regular instance.
|
|
19477
19708
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -19525,12 +19756,13 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19525
19756
|
cpuPolicy?: string;
|
|
19526
19757
|
/**
|
|
19527
19758
|
* @remarks
|
|
19528
|
-
* The labels
|
|
19759
|
+
* The labels of the nodes in the node pool. You can add labels to the nodes in the cluster. You must add labels based on the following rules:
|
|
19529
19760
|
*
|
|
19530
19761
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
19531
19762
|
* * 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).
|
|
19532
19763
|
*/
|
|
19533
19764
|
labels?: Tag[];
|
|
19765
|
+
preUserData?: string;
|
|
19534
19766
|
/**
|
|
19535
19767
|
* @remarks
|
|
19536
19768
|
* The name of the container runtime.
|
|
@@ -19549,7 +19781,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19549
19781
|
runtimeVersion?: string;
|
|
19550
19782
|
/**
|
|
19551
19783
|
* @remarks
|
|
19552
|
-
* The
|
|
19784
|
+
* The configuration of a node taint.
|
|
19553
19785
|
*/
|
|
19554
19786
|
taints?: Taint[];
|
|
19555
19787
|
/**
|
|
@@ -19562,7 +19794,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19562
19794
|
unschedulable?: boolean;
|
|
19563
19795
|
/**
|
|
19564
19796
|
* @remarks
|
|
19565
|
-
* The user data
|
|
19797
|
+
* The user data of the node pool. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
19566
19798
|
*
|
|
19567
19799
|
* @example
|
|
19568
19800
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -19581,7 +19813,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19581
19813
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
19582
19814
|
/**
|
|
19583
19815
|
* @remarks
|
|
19584
|
-
* Specifies whether to
|
|
19816
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
19585
19817
|
*
|
|
19586
19818
|
* * `true`: allows node restart.
|
|
19587
19819
|
* * `false`: does not allow node restart.
|
|
@@ -19603,7 +19835,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
19603
19835
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
19604
19836
|
/**
|
|
19605
19837
|
* @remarks
|
|
19606
|
-
* Specifies whether to
|
|
19838
|
+
* Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
|
|
19607
19839
|
*
|
|
19608
19840
|
* * `true`: allows auto update of the kubelet.
|
|
19609
19841
|
* * `false`: does not allow auto update of the kubelet.
|
|
@@ -19614,7 +19846,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19614
19846
|
autoUpgradeKubelet?: boolean;
|
|
19615
19847
|
/**
|
|
19616
19848
|
* @remarks
|
|
19617
|
-
* Specifies whether to
|
|
19849
|
+
* Specifies whether ACK is allowed to automatically update the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
19618
19850
|
*
|
|
19619
19851
|
* * `true`: allows auto update of the OS.
|
|
19620
19852
|
* * `false`: does not allow auto update of the OS.
|
|
@@ -19624,7 +19856,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19624
19856
|
autoUpgradeOs?: boolean;
|
|
19625
19857
|
/**
|
|
19626
19858
|
* @remarks
|
|
19627
|
-
* Specifies whether to
|
|
19859
|
+
* Specifies whether ACK is allowed to automatically update the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
|
|
19628
19860
|
*
|
|
19629
19861
|
* * `true`: allows auto update of the runtime.
|
|
19630
19862
|
* * `false`: does not allow auto update of the runtime.
|
|
@@ -19645,7 +19877,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
19645
19877
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
19646
19878
|
/**
|
|
19647
19879
|
* @remarks
|
|
19648
|
-
* Specifies whether to
|
|
19880
|
+
* Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
|
|
19649
19881
|
*
|
|
19650
19882
|
* * `true`: allows node restart.
|
|
19651
19883
|
* * `false`: does not allow node restart.
|
|
@@ -19656,7 +19888,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19656
19888
|
restartNode?: boolean;
|
|
19657
19889
|
/**
|
|
19658
19890
|
* @remarks
|
|
19659
|
-
* The severity levels of
|
|
19891
|
+
* The severity levels of vulnerabilities that ACK is allowed to automatically patch. Multiple severity levels are separated by commas (,).
|
|
19660
19892
|
*
|
|
19661
19893
|
* @example
|
|
19662
19894
|
* asap,nntf
|
|
@@ -19675,7 +19907,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
19675
19907
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
19676
19908
|
/**
|
|
19677
19909
|
* @remarks
|
|
19678
|
-
* Specifies whether to enable auto update.
|
|
19910
|
+
* Specifies whether to enable auto update.
|
|
19679
19911
|
*
|
|
19680
19912
|
* * true: enables auto update.
|
|
19681
19913
|
* * false: disables auto update.
|
|
@@ -19690,11 +19922,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19690
19922
|
autoUpgrade?: boolean;
|
|
19691
19923
|
/**
|
|
19692
19924
|
* @remarks
|
|
19693
|
-
* The maximum number of
|
|
19925
|
+
* The maximum number of nodes that can be in the Unavailable state.
|
|
19694
19926
|
*
|
|
19695
19927
|
* Valid values: 1 to 1000.
|
|
19696
19928
|
*
|
|
19697
|
-
* Default value: 1
|
|
19929
|
+
* Default value: 1
|
|
19698
19930
|
*
|
|
19699
19931
|
* @example
|
|
19700
19932
|
* 1
|
|
@@ -19702,9 +19934,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19702
19934
|
maxUnavailable?: number;
|
|
19703
19935
|
/**
|
|
19704
19936
|
* @remarks
|
|
19705
|
-
* The number of
|
|
19937
|
+
* The number of nodes that are temporarily added to the node pool during an auto upgrade. Additional nodes are used to host the workloads of nodes that are being updated.
|
|
19706
19938
|
*
|
|
19707
|
-
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes
|
|
19939
|
+
* > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
|
|
19708
19940
|
*
|
|
19709
19941
|
* @example
|
|
19710
19942
|
* 5
|
|
@@ -19712,7 +19944,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19712
19944
|
surge?: number;
|
|
19713
19945
|
/**
|
|
19714
19946
|
* @remarks
|
|
19715
|
-
* The percentage of additional nodes
|
|
19947
|
+
* The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
|
|
19716
19948
|
*
|
|
19717
19949
|
* @example
|
|
19718
19950
|
* 0
|
|
@@ -19765,7 +19997,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19765
19997
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
19766
19998
|
/**
|
|
19767
19999
|
* @remarks
|
|
19768
|
-
* Specifies whether
|
|
20000
|
+
* Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
|
|
19769
20001
|
*
|
|
19770
20002
|
* * `true`: enables auto CVE patching.
|
|
19771
20003
|
* * `true`: disables auto CVE patching.
|
|
@@ -19794,7 +20026,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19794
20026
|
enable?: boolean;
|
|
19795
20027
|
/**
|
|
19796
20028
|
* @remarks
|
|
19797
|
-
* The
|
|
20029
|
+
* The configuration of auto update. The configuration takes effect only when `enable=true` is specified.
|
|
19798
20030
|
*
|
|
19799
20031
|
* @deprecated
|
|
19800
20032
|
*/
|
|
@@ -19822,7 +20054,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
19822
20054
|
name?: string;
|
|
19823
20055
|
/**
|
|
19824
20056
|
* @remarks
|
|
19825
|
-
* The resource group
|
|
20057
|
+
* The ID of the resource group.
|
|
19826
20058
|
*
|
|
19827
20059
|
* @example
|
|
19828
20060
|
* rg-acfmyvw3wjm****
|
|
@@ -19872,7 +20104,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19872
20104
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
19873
20105
|
/**
|
|
19874
20106
|
* @remarks
|
|
19875
|
-
* The
|
|
20107
|
+
* The instance type of preemptible instances.
|
|
19876
20108
|
*
|
|
19877
20109
|
* @example
|
|
19878
20110
|
* ecs.c6.large
|
|
@@ -19880,7 +20112,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19880
20112
|
instanceType?: string;
|
|
19881
20113
|
/**
|
|
19882
20114
|
* @remarks
|
|
19883
|
-
* The price
|
|
20115
|
+
* The maximum bid price of a preemptible instance.
|
|
19884
20116
|
*
|
|
19885
20117
|
* Unit: USD/hour.
|
|
19886
20118
|
*
|
|
@@ -19901,12 +20133,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
19901
20133
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
19902
20134
|
/**
|
|
19903
20135
|
* @remarks
|
|
19904
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
20136
|
+
* Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
19905
20137
|
*
|
|
19906
20138
|
* * `true`: enables auto-renewal.
|
|
19907
20139
|
* * `false`: disables auto-renewal.
|
|
19908
20140
|
*
|
|
19909
|
-
* Default value: `
|
|
20141
|
+
* Default value: `false`.
|
|
19910
20142
|
*
|
|
19911
20143
|
* @example
|
|
19912
20144
|
* true
|
|
@@ -19914,7 +20146,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19914
20146
|
autoRenew?: boolean;
|
|
19915
20147
|
/**
|
|
19916
20148
|
* @remarks
|
|
19917
|
-
* The
|
|
20149
|
+
* The duration of the auto-renewal. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
19918
20150
|
*
|
|
19919
20151
|
* If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
|
|
19920
20152
|
*
|
|
@@ -19924,7 +20156,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19924
20156
|
autoRenewPeriod?: number;
|
|
19925
20157
|
/**
|
|
19926
20158
|
* @remarks
|
|
19927
|
-
* 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 cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
20159
|
+
* 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 cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
19928
20160
|
*
|
|
19929
20161
|
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
19930
20162
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
@@ -19935,7 +20167,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19935
20167
|
compensateWithOnDemand?: boolean;
|
|
19936
20168
|
/**
|
|
19937
20169
|
* @remarks
|
|
19938
|
-
* The configurations of the data disks that are mounted to nodes in the node pool.
|
|
20170
|
+
* The configurations of the data disks that are mounted to the nodes in the node pool. You can mount at most 10 data disks to the nodes in the node pool.
|
|
19939
20171
|
*/
|
|
19940
20172
|
dataDisks?: DataDisk[];
|
|
19941
20173
|
/**
|
|
@@ -19948,7 +20180,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19948
20180
|
desiredSize?: number;
|
|
19949
20181
|
/**
|
|
19950
20182
|
* @remarks
|
|
19951
|
-
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image
|
|
20183
|
+
* The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image is used.
|
|
19952
20184
|
*
|
|
19953
20185
|
* @example
|
|
19954
20186
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -19960,7 +20192,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19960
20192
|
*
|
|
19961
20193
|
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
19962
20194
|
* * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
|
|
19963
|
-
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
20195
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3.
|
|
19964
20196
|
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
19965
20197
|
* * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
|
|
19966
20198
|
* * `CentOS`: CentOS.
|
|
@@ -19985,15 +20217,19 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19985
20217
|
* PostPaid
|
|
19986
20218
|
*/
|
|
19987
20219
|
instanceChargeType?: string;
|
|
20220
|
+
/**
|
|
20221
|
+
* @remarks
|
|
20222
|
+
* The instance attributes.
|
|
20223
|
+
*/
|
|
19988
20224
|
instancePatterns?: InstancePatterns[];
|
|
19989
20225
|
/**
|
|
19990
20226
|
* @remarks
|
|
19991
|
-
* The instance types
|
|
20227
|
+
* 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.
|
|
19992
20228
|
*/
|
|
19993
20229
|
instanceTypes?: string[];
|
|
19994
20230
|
/**
|
|
19995
20231
|
* @remarks
|
|
19996
|
-
* The
|
|
20232
|
+
* The billing method of the public IP address. Valid values:
|
|
19997
20233
|
*
|
|
19998
20234
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19999
20235
|
* * `PayByTraffic`: pay-by-data-transfer.
|
|
@@ -20004,7 +20240,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20004
20240
|
internetChargeType?: string;
|
|
20005
20241
|
/**
|
|
20006
20242
|
* @remarks
|
|
20007
|
-
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
|
|
20243
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
20008
20244
|
*
|
|
20009
20245
|
* @example
|
|
20010
20246
|
* 5
|
|
@@ -20030,15 +20266,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20030
20266
|
* @remarks
|
|
20031
20267
|
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
20032
20268
|
*
|
|
20033
|
-
* * `PRIORITY`:
|
|
20269
|
+
* * `PRIORITY`: The scaling group is scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone in which the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone in which the vSwitch that has the next highest priority resides.
|
|
20034
20270
|
*
|
|
20035
|
-
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can
|
|
20271
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configurations. You can specify `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient resources.
|
|
20036
20272
|
*
|
|
20037
20273
|
* **
|
|
20038
20274
|
*
|
|
20039
20275
|
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
20040
20276
|
*
|
|
20041
|
-
* * `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
|
|
20277
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to the 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).
|
|
20042
20278
|
*
|
|
20043
20279
|
* Default value: `PRIORITY`.
|
|
20044
20280
|
*
|
|
@@ -20064,7 +20300,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20064
20300
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
20065
20301
|
/**
|
|
20066
20302
|
* @remarks
|
|
20067
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect and is required
|
|
20303
|
+
* The subscription duration of the nodes in the node pool. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
|
|
20068
20304
|
*
|
|
20069
20305
|
* If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
20070
20306
|
*
|
|
@@ -20074,7 +20310,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20074
20310
|
period?: number;
|
|
20075
20311
|
/**
|
|
20076
20312
|
* @remarks
|
|
20077
|
-
* The billing cycle of nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
20313
|
+
* The billing cycle of the nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
20078
20314
|
*
|
|
20079
20315
|
* The billing cycle is measured only in months.
|
|
20080
20316
|
*
|
|
@@ -20130,7 +20366,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20130
20366
|
spotInstancePools?: number;
|
|
20131
20367
|
/**
|
|
20132
20368
|
* @remarks
|
|
20133
|
-
* Specifies whether to supplement preemptible instances. If
|
|
20369
|
+
* Specifies whether to supplement preemptible instances. If the supplementation of preemptible instances is enabled, when the scaling group receives a system message that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
|
|
20134
20370
|
*
|
|
20135
20371
|
* * `true`: supplements preemptible instances.
|
|
20136
20372
|
* * `false`: does not supplement preemptible instances.
|
|
@@ -20141,7 +20377,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20141
20377
|
spotInstanceRemedy?: boolean;
|
|
20142
20378
|
/**
|
|
20143
20379
|
* @remarks
|
|
20144
|
-
* The instance type of preemptible
|
|
20380
|
+
* The instance type of preemptible instance and the price cap for the instance type.
|
|
20145
20381
|
*/
|
|
20146
20382
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
20147
20383
|
/**
|
|
@@ -20149,10 +20385,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20149
20385
|
* The bidding policy of preemptible instances. Valid values:
|
|
20150
20386
|
*
|
|
20151
20387
|
* * `NoSpot`: non-preemptible instance.
|
|
20152
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
20388
|
+
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
20153
20389
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
20154
20390
|
*
|
|
20155
|
-
* For more information, see [
|
|
20391
|
+
* For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
|
|
20156
20392
|
*
|
|
20157
20393
|
* @example
|
|
20158
20394
|
* SpotWithPriceLimit
|
|
@@ -20160,7 +20396,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20160
20396
|
spotStrategy?: string;
|
|
20161
20397
|
/**
|
|
20162
20398
|
* @remarks
|
|
20163
|
-
* Specifies whether to enable
|
|
20399
|
+
* Specifies whether to enable Burst for the system disk when the disk type is cloud_auto.
|
|
20164
20400
|
*
|
|
20165
20401
|
* @example
|
|
20166
20402
|
* true
|
|
@@ -20168,12 +20404,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20168
20404
|
systemDiskBurstingEnabled?: boolean;
|
|
20169
20405
|
/**
|
|
20170
20406
|
* @remarks
|
|
20171
|
-
* The system disk types. The system
|
|
20407
|
+
* The system disk types. The system attempts to create system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud: disk. cloud_efficiency (ultra disk), cloud_ssd: standard SSD. cloud_essd: Enterprise SSD (ESSD).
|
|
20172
20408
|
*/
|
|
20173
20409
|
systemDiskCategories?: string[];
|
|
20174
20410
|
/**
|
|
20175
20411
|
* @remarks
|
|
20176
|
-
* The system disk
|
|
20412
|
+
* The type of the system disk. Valid values:
|
|
20177
20413
|
*
|
|
20178
20414
|
* * `cloud_efficiency`: ultra disk.
|
|
20179
20415
|
* * `cloud_ssd`: standard SSD.
|
|
@@ -20186,7 +20422,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20186
20422
|
systemDiskCategory?: string;
|
|
20187
20423
|
/**
|
|
20188
20424
|
* @remarks
|
|
20189
|
-
* The encryption algorithm that is used
|
|
20425
|
+
* The encryption algorithm that is used by the system disk. Set the value to aes-256.
|
|
20190
20426
|
*
|
|
20191
20427
|
* @example
|
|
20192
20428
|
* aes-256
|
|
@@ -20210,7 +20446,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20210
20446
|
systemDiskKmsKeyId?: string;
|
|
20211
20447
|
/**
|
|
20212
20448
|
* @remarks
|
|
20213
|
-
* The performance level (PL) of the system disk. This parameter takes effect only for
|
|
20449
|
+
* The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs. 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).
|
|
20214
20450
|
*
|
|
20215
20451
|
* @example
|
|
20216
20452
|
* PL1
|
|
@@ -20218,7 +20454,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20218
20454
|
systemDiskPerformanceLevel?: string;
|
|
20219
20455
|
/**
|
|
20220
20456
|
* @remarks
|
|
20221
|
-
* The
|
|
20457
|
+
* The predefined read and write IOPS of the system disk when the disk type is cloud_auto.
|
|
20222
20458
|
*
|
|
20223
20459
|
* @example
|
|
20224
20460
|
* 1000
|
|
@@ -20226,7 +20462,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20226
20462
|
systemDiskProvisionedIops?: number;
|
|
20227
20463
|
/**
|
|
20228
20464
|
* @remarks
|
|
20229
|
-
* The size of the system disk
|
|
20465
|
+
* The size of the system disk in GiB.
|
|
20230
20466
|
*
|
|
20231
20467
|
* Valid values: 20 to 500.
|
|
20232
20468
|
*
|
|
@@ -20242,12 +20478,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20242
20478
|
* @remarks
|
|
20243
20479
|
* The labels that you want to add only to ECS instances.
|
|
20244
20480
|
*
|
|
20245
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
20481
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
|
|
20246
20482
|
*/
|
|
20247
20483
|
tags?: Tag[];
|
|
20248
20484
|
/**
|
|
20249
20485
|
* @remarks
|
|
20250
|
-
* The
|
|
20486
|
+
* The IDs of vSwitches. You can specify 1 to 20 vSwitches.
|
|
20251
20487
|
*
|
|
20252
20488
|
* > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
|
|
20253
20489
|
*/
|
|
@@ -20521,6 +20757,13 @@ export declare class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
|
20521
20757
|
});
|
|
20522
20758
|
}
|
|
20523
20759
|
export declare class UpgradeClusterRequestRollingPolicy extends $tea.Model {
|
|
20760
|
+
/**
|
|
20761
|
+
* @remarks
|
|
20762
|
+
* Maximum number of executions per batch.
|
|
20763
|
+
*
|
|
20764
|
+
* @example
|
|
20765
|
+
* 3
|
|
20766
|
+
*/
|
|
20524
20767
|
maxParallelism?: number;
|
|
20525
20768
|
static names(): {
|
|
20526
20769
|
[key: string]: string;
|
|
@@ -22414,9 +22657,9 @@ export default class Client extends OpenApi {
|
|
|
22414
22657
|
* Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
22415
22658
|
*
|
|
22416
22659
|
* @remarks
|
|
22417
|
-
* You can
|
|
22418
|
-
* * To
|
|
22419
|
-
* *
|
|
22660
|
+
* You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
|
|
22661
|
+
* * To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
|
|
22662
|
+
* * To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
22420
22663
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
22421
22664
|
*
|
|
22422
22665
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22431,9 +22674,9 @@ export default class Client extends OpenApi {
|
|
|
22431
22674
|
* Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
22432
22675
|
*
|
|
22433
22676
|
* @remarks
|
|
22434
|
-
* You can
|
|
22435
|
-
* * To
|
|
22436
|
-
* *
|
|
22677
|
+
* You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
|
|
22678
|
+
* * To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
|
|
22679
|
+
* * To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
|
|
22437
22680
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
22438
22681
|
*
|
|
22439
22682
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -22869,7 +23112,7 @@ export default class Client extends OpenApi {
|
|
|
22869
23112
|
*/
|
|
22870
23113
|
scaleOutCluster(ClusterId: string, request: ScaleOutClusterRequest): Promise<ScaleOutClusterResponse>;
|
|
22871
23114
|
/**
|
|
22872
|
-
*
|
|
23115
|
+
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
22873
23116
|
*
|
|
22874
23117
|
* @param headers - map
|
|
22875
23118
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22879,7 +23122,7 @@ export default class Client extends OpenApi {
|
|
|
22879
23122
|
[key: string]: string;
|
|
22880
23123
|
}, runtime: $Util.RuntimeOptions): Promise<ScanClusterVulsResponse>;
|
|
22881
23124
|
/**
|
|
22882
|
-
*
|
|
23125
|
+
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
22883
23126
|
* @returns ScanClusterVulsResponse
|
|
22884
23127
|
*/
|
|
22885
23128
|
scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse>;
|
|
@@ -23157,6 +23400,13 @@ export default class Client extends OpenApi {
|
|
|
23157
23400
|
/**
|
|
23158
23401
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
23159
23402
|
*
|
|
23403
|
+
* @remarks
|
|
23404
|
+
* After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
|
|
23405
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
23406
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
23407
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
23408
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
23409
|
+
*
|
|
23160
23410
|
* @param request - UpgradeClusterRequest
|
|
23161
23411
|
* @param headers - map
|
|
23162
23412
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23168,6 +23418,13 @@ export default class Client extends OpenApi {
|
|
|
23168
23418
|
/**
|
|
23169
23419
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
23170
23420
|
*
|
|
23421
|
+
* @remarks
|
|
23422
|
+
* After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
|
|
23423
|
+
* - [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
|
|
23424
|
+
* - [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
|
|
23425
|
+
* - [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
|
|
23426
|
+
* - [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
|
|
23427
|
+
*
|
|
23171
23428
|
* @param request - UpgradeClusterRequest
|
|
23172
23429
|
* @returns UpgradeClusterResponse
|
|
23173
23430
|
*/
|