@alicloud/cs20151215 4.0.6 → 4.0.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 +1683 -316
- package/dist/client.js +1700 -320
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1704 -316
package/src/client.ts
CHANGED
|
@@ -1713,11 +1713,13 @@ export class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
|
1713
1713
|
}
|
|
1714
1714
|
|
|
1715
1715
|
export class DeleteClusterRequest extends $tea.Model {
|
|
1716
|
+
deleteOptions?: DeleteClusterRequestDeleteOptions[];
|
|
1716
1717
|
keepSlb?: boolean;
|
|
1717
1718
|
retainAllResources?: boolean;
|
|
1718
1719
|
retainResources?: string[];
|
|
1719
1720
|
static names(): { [key: string]: string } {
|
|
1720
1721
|
return {
|
|
1722
|
+
deleteOptions: 'delete_options',
|
|
1721
1723
|
keepSlb: 'keep_slb',
|
|
1722
1724
|
retainAllResources: 'retain_all_resources',
|
|
1723
1725
|
retainResources: 'retain_resources',
|
|
@@ -1726,6 +1728,7 @@ export class DeleteClusterRequest extends $tea.Model {
|
|
|
1726
1728
|
|
|
1727
1729
|
static types(): { [key: string]: any } {
|
|
1728
1730
|
return {
|
|
1731
|
+
deleteOptions: { 'type': 'array', 'itemType': DeleteClusterRequestDeleteOptions },
|
|
1729
1732
|
keepSlb: 'boolean',
|
|
1730
1733
|
retainAllResources: 'boolean',
|
|
1731
1734
|
retainResources: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -1738,11 +1741,13 @@ export class DeleteClusterRequest extends $tea.Model {
|
|
|
1738
1741
|
}
|
|
1739
1742
|
|
|
1740
1743
|
export class DeleteClusterShrinkRequest extends $tea.Model {
|
|
1744
|
+
deleteOptionsShrink?: string;
|
|
1741
1745
|
keepSlb?: boolean;
|
|
1742
1746
|
retainAllResources?: boolean;
|
|
1743
1747
|
retainResourcesShrink?: string;
|
|
1744
1748
|
static names(): { [key: string]: string } {
|
|
1745
1749
|
return {
|
|
1750
|
+
deleteOptionsShrink: 'delete_options',
|
|
1746
1751
|
keepSlb: 'keep_slb',
|
|
1747
1752
|
retainAllResources: 'retain_all_resources',
|
|
1748
1753
|
retainResourcesShrink: 'retain_resources',
|
|
@@ -1751,6 +1756,7 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
1751
1756
|
|
|
1752
1757
|
static types(): { [key: string]: any } {
|
|
1753
1758
|
return {
|
|
1759
|
+
deleteOptionsShrink: 'string',
|
|
1754
1760
|
keepSlb: 'boolean',
|
|
1755
1761
|
retainAllResources: 'boolean',
|
|
1756
1762
|
retainResourcesShrink: 'string',
|
|
@@ -9180,6 +9186,28 @@ export class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
|
9180
9186
|
}
|
|
9181
9187
|
}
|
|
9182
9188
|
|
|
9189
|
+
export class DeleteClusterRequestDeleteOptions extends $tea.Model {
|
|
9190
|
+
deleteMode?: string;
|
|
9191
|
+
resourceType?: string;
|
|
9192
|
+
static names(): { [key: string]: string } {
|
|
9193
|
+
return {
|
|
9194
|
+
deleteMode: 'delete_mode',
|
|
9195
|
+
resourceType: 'resource_type',
|
|
9196
|
+
};
|
|
9197
|
+
}
|
|
9198
|
+
|
|
9199
|
+
static types(): { [key: string]: any } {
|
|
9200
|
+
return {
|
|
9201
|
+
deleteMode: 'string',
|
|
9202
|
+
resourceType: 'string',
|
|
9203
|
+
};
|
|
9204
|
+
}
|
|
9205
|
+
|
|
9206
|
+
constructor(map?: { [key: string]: any }) {
|
|
9207
|
+
super(map);
|
|
9208
|
+
}
|
|
9209
|
+
}
|
|
9210
|
+
|
|
9183
9211
|
export class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
|
|
9184
9212
|
minimumClusterVersion?: string;
|
|
9185
9213
|
upgradable?: boolean;
|
|
@@ -13336,6 +13364,14 @@ export default class Client extends OpenApi {
|
|
|
13336
13364
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
13337
13365
|
}
|
|
13338
13366
|
|
|
13367
|
+
/**
|
|
13368
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
13369
|
+
*
|
|
13370
|
+
* @param request AttachInstancesRequest
|
|
13371
|
+
* @param headers map
|
|
13372
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13373
|
+
* @return AttachInstancesResponse
|
|
13374
|
+
*/
|
|
13339
13375
|
async attachInstancesWithOptions(ClusterId: string, request: AttachInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse> {
|
|
13340
13376
|
Util.validateModel(request);
|
|
13341
13377
|
let body : {[key: string ]: any} = { };
|
|
@@ -13409,12 +13445,26 @@ export default class Client extends OpenApi {
|
|
|
13409
13445
|
return $tea.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
13410
13446
|
}
|
|
13411
13447
|
|
|
13448
|
+
/**
|
|
13449
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
13450
|
+
*
|
|
13451
|
+
* @param request AttachInstancesRequest
|
|
13452
|
+
* @return AttachInstancesResponse
|
|
13453
|
+
*/
|
|
13412
13454
|
async attachInstances(ClusterId: string, request: AttachInstancesRequest): Promise<AttachInstancesResponse> {
|
|
13413
13455
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13414
13456
|
let headers : {[key: string ]: string} = { };
|
|
13415
13457
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
13416
13458
|
}
|
|
13417
13459
|
|
|
13460
|
+
/**
|
|
13461
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
13462
|
+
*
|
|
13463
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
13464
|
+
* @param headers map
|
|
13465
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13466
|
+
* @return AttachInstancesToNodePoolResponse
|
|
13467
|
+
*/
|
|
13418
13468
|
async attachInstancesToNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: AttachInstancesToNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesToNodePoolResponse> {
|
|
13419
13469
|
Util.validateModel(request);
|
|
13420
13470
|
let body : {[key: string ]: any} = { };
|
|
@@ -13452,6 +13502,12 @@ export default class Client extends OpenApi {
|
|
|
13452
13502
|
return $tea.cast<AttachInstancesToNodePoolResponse>(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
13453
13503
|
}
|
|
13454
13504
|
|
|
13505
|
+
/**
|
|
13506
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
13507
|
+
*
|
|
13508
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
13509
|
+
* @return AttachInstancesToNodePoolResponse
|
|
13510
|
+
*/
|
|
13455
13511
|
async attachInstancesToNodePool(ClusterId: string, NodepoolId: string, request: AttachInstancesToNodePoolRequest): Promise<AttachInstancesToNodePoolResponse> {
|
|
13456
13512
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13457
13513
|
let headers : {[key: string ]: string} = { };
|
|
@@ -13459,11 +13515,13 @@ export default class Client extends OpenApi {
|
|
|
13459
13515
|
}
|
|
13460
13516
|
|
|
13461
13517
|
/**
|
|
13462
|
-
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
13518
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
13519
|
+
*
|
|
13520
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
13521
|
+
*
|
|
13522
|
+
* @param headers map
|
|
13523
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13524
|
+
* @return CancelClusterUpgradeResponse
|
|
13467
13525
|
*/
|
|
13468
13526
|
// Deprecated
|
|
13469
13527
|
async cancelClusterUpgradeWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelClusterUpgradeResponse> {
|
|
@@ -13485,9 +13543,11 @@ export default class Client extends OpenApi {
|
|
|
13485
13543
|
}
|
|
13486
13544
|
|
|
13487
13545
|
/**
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
13546
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
13547
|
+
*
|
|
13548
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
13549
|
+
*
|
|
13550
|
+
* @return CancelClusterUpgradeResponse
|
|
13491
13551
|
*/
|
|
13492
13552
|
// Deprecated
|
|
13493
13553
|
async cancelClusterUpgrade(ClusterId: string): Promise<CancelClusterUpgradeResponse> {
|
|
@@ -13496,6 +13556,13 @@ export default class Client extends OpenApi {
|
|
|
13496
13556
|
return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
13497
13557
|
}
|
|
13498
13558
|
|
|
13559
|
+
/**
|
|
13560
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
13561
|
+
*
|
|
13562
|
+
* @param headers map
|
|
13563
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13564
|
+
* @return CancelComponentUpgradeResponse
|
|
13565
|
+
*/
|
|
13499
13566
|
async cancelComponentUpgradeWithOptions(clusterId: string, componentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelComponentUpgradeResponse> {
|
|
13500
13567
|
let req = new $OpenApi.OpenApiRequest({
|
|
13501
13568
|
headers: headers,
|
|
@@ -13514,12 +13581,24 @@ export default class Client extends OpenApi {
|
|
|
13514
13581
|
return $tea.cast<CancelComponentUpgradeResponse>(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
13515
13582
|
}
|
|
13516
13583
|
|
|
13584
|
+
/**
|
|
13585
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
13586
|
+
*
|
|
13587
|
+
* @return CancelComponentUpgradeResponse
|
|
13588
|
+
*/
|
|
13517
13589
|
async cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse> {
|
|
13518
13590
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13519
13591
|
let headers : {[key: string ]: string} = { };
|
|
13520
13592
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
13521
13593
|
}
|
|
13522
13594
|
|
|
13595
|
+
/**
|
|
13596
|
+
* @summary 取消自动运维执行计划
|
|
13597
|
+
*
|
|
13598
|
+
* @param headers map
|
|
13599
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13600
|
+
* @return CancelOperationPlanResponse
|
|
13601
|
+
*/
|
|
13523
13602
|
async cancelOperationPlanWithOptions(planId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse> {
|
|
13524
13603
|
let req = new $OpenApi.OpenApiRequest({
|
|
13525
13604
|
headers: headers,
|
|
@@ -13538,12 +13617,24 @@ export default class Client extends OpenApi {
|
|
|
13538
13617
|
return $tea.cast<CancelOperationPlanResponse>(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
13539
13618
|
}
|
|
13540
13619
|
|
|
13620
|
+
/**
|
|
13621
|
+
* @summary 取消自动运维执行计划
|
|
13622
|
+
*
|
|
13623
|
+
* @return CancelOperationPlanResponse
|
|
13624
|
+
*/
|
|
13541
13625
|
async cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse> {
|
|
13542
13626
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13543
13627
|
let headers : {[key: string ]: string} = { };
|
|
13544
13628
|
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
13545
13629
|
}
|
|
13546
13630
|
|
|
13631
|
+
/**
|
|
13632
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
13633
|
+
*
|
|
13634
|
+
* @param headers map
|
|
13635
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13636
|
+
* @return CancelTaskResponse
|
|
13637
|
+
*/
|
|
13547
13638
|
async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
|
|
13548
13639
|
let req = new $OpenApi.OpenApiRequest({
|
|
13549
13640
|
headers: headers,
|
|
@@ -13562,12 +13653,25 @@ export default class Client extends OpenApi {
|
|
|
13562
13653
|
return $tea.cast<CancelTaskResponse>(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
13563
13654
|
}
|
|
13564
13655
|
|
|
13656
|
+
/**
|
|
13657
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
13658
|
+
*
|
|
13659
|
+
* @return CancelTaskResponse
|
|
13660
|
+
*/
|
|
13565
13661
|
async cancelTask(taskId: string): Promise<CancelTaskResponse> {
|
|
13566
13662
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13567
13663
|
let headers : {[key: string ]: string} = { };
|
|
13568
13664
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
13569
13665
|
}
|
|
13570
13666
|
|
|
13667
|
+
/**
|
|
13668
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
13669
|
+
*
|
|
13670
|
+
* @param request CancelWorkflowRequest
|
|
13671
|
+
* @param headers map
|
|
13672
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13673
|
+
* @return CancelWorkflowResponse
|
|
13674
|
+
*/
|
|
13571
13675
|
async cancelWorkflowWithOptions(workflowName: string, request: CancelWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse> {
|
|
13572
13676
|
Util.validateModel(request);
|
|
13573
13677
|
let body : {[key: string ]: any} = { };
|
|
@@ -13593,12 +13697,25 @@ export default class Client extends OpenApi {
|
|
|
13593
13697
|
return $tea.cast<CancelWorkflowResponse>(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
|
|
13594
13698
|
}
|
|
13595
13699
|
|
|
13700
|
+
/**
|
|
13701
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
13702
|
+
*
|
|
13703
|
+
* @param request CancelWorkflowRequest
|
|
13704
|
+
* @return CancelWorkflowResponse
|
|
13705
|
+
*/
|
|
13596
13706
|
async cancelWorkflow(workflowName: string, request: CancelWorkflowRequest): Promise<CancelWorkflowResponse> {
|
|
13597
13707
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13598
13708
|
let headers : {[key: string ]: string} = { };
|
|
13599
13709
|
return await this.cancelWorkflowWithOptions(workflowName, request, headers, runtime);
|
|
13600
13710
|
}
|
|
13601
13711
|
|
|
13712
|
+
/**
|
|
13713
|
+
* @summary Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
|
|
13714
|
+
*
|
|
13715
|
+
* @param headers map
|
|
13716
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13717
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
13718
|
+
*/
|
|
13602
13719
|
async checkControlPlaneLogEnableWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CheckControlPlaneLogEnableResponse> {
|
|
13603
13720
|
let req = new $OpenApi.OpenApiRequest({
|
|
13604
13721
|
headers: headers,
|
|
@@ -13617,12 +13734,25 @@ export default class Client extends OpenApi {
|
|
|
13617
13734
|
return $tea.cast<CheckControlPlaneLogEnableResponse>(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
13618
13735
|
}
|
|
13619
13736
|
|
|
13737
|
+
/**
|
|
13738
|
+
* @summary Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
|
|
13739
|
+
*
|
|
13740
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
13741
|
+
*/
|
|
13620
13742
|
async checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse> {
|
|
13621
13743
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13622
13744
|
let headers : {[key: string ]: string} = { };
|
|
13623
13745
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
13624
13746
|
}
|
|
13625
13747
|
|
|
13748
|
+
/**
|
|
13749
|
+
* @summary Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
|
|
13750
|
+
*
|
|
13751
|
+
* @param request CreateAutoscalingConfigRequest
|
|
13752
|
+
* @param headers map
|
|
13753
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13754
|
+
* @return CreateAutoscalingConfigResponse
|
|
13755
|
+
*/
|
|
13626
13756
|
async createAutoscalingConfigWithOptions(ClusterId: string, request: CreateAutoscalingConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAutoscalingConfigResponse> {
|
|
13627
13757
|
Util.validateModel(request);
|
|
13628
13758
|
let body : {[key: string ]: any} = { };
|
|
@@ -13700,6 +13830,12 @@ export default class Client extends OpenApi {
|
|
|
13700
13830
|
return $tea.cast<CreateAutoscalingConfigResponse>(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
13701
13831
|
}
|
|
13702
13832
|
|
|
13833
|
+
/**
|
|
13834
|
+
* @summary Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
|
|
13835
|
+
*
|
|
13836
|
+
* @param request CreateAutoscalingConfigRequest
|
|
13837
|
+
* @return CreateAutoscalingConfigResponse
|
|
13838
|
+
*/
|
|
13703
13839
|
async createAutoscalingConfig(ClusterId: string, request: CreateAutoscalingConfigRequest): Promise<CreateAutoscalingConfigResponse> {
|
|
13704
13840
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13705
13841
|
let headers : {[key: string ]: string} = { };
|
|
@@ -13707,18 +13843,20 @@ export default class Client extends OpenApi {
|
|
|
13707
13843
|
}
|
|
13708
13844
|
|
|
13709
13845
|
/**
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
|
|
13716
|
-
|
|
13717
|
-
|
|
13718
|
-
|
|
13719
|
-
|
|
13720
|
-
|
|
13721
|
-
|
|
13846
|
+
* @summary You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
13847
|
+
*
|
|
13848
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
13849
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
13850
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
13851
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
13852
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
13853
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
13854
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
13855
|
+
*
|
|
13856
|
+
* @param request CreateClusterRequest
|
|
13857
|
+
* @param headers map
|
|
13858
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13859
|
+
* @return CreateClusterResponse
|
|
13722
13860
|
*/
|
|
13723
13861
|
async createClusterWithOptions(request: CreateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse> {
|
|
13724
13862
|
Util.validateModel(request);
|
|
@@ -14106,16 +14244,18 @@ export default class Client extends OpenApi {
|
|
|
14106
14244
|
}
|
|
14107
14245
|
|
|
14108
14246
|
/**
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
|
|
14247
|
+
* @summary You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
14248
|
+
*
|
|
14249
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
14250
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
14251
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
14252
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
14253
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
14254
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
14255
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
14256
|
+
*
|
|
14257
|
+
* @param request CreateClusterRequest
|
|
14258
|
+
* @return CreateClusterResponse
|
|
14119
14259
|
*/
|
|
14120
14260
|
async createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse> {
|
|
14121
14261
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -14123,6 +14263,14 @@ export default class Client extends OpenApi {
|
|
|
14123
14263
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
14124
14264
|
}
|
|
14125
14265
|
|
|
14266
|
+
/**
|
|
14267
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
14268
|
+
*
|
|
14269
|
+
* @param request CreateClusterNodePoolRequest
|
|
14270
|
+
* @param headers map
|
|
14271
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14272
|
+
* @return CreateClusterNodePoolResponse
|
|
14273
|
+
*/
|
|
14126
14274
|
async createClusterNodePoolWithOptions(ClusterId: string, request: CreateClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse> {
|
|
14127
14275
|
Util.validateModel(request);
|
|
14128
14276
|
let body : {[key: string ]: any} = { };
|
|
@@ -14188,12 +14336,26 @@ export default class Client extends OpenApi {
|
|
|
14188
14336
|
return $tea.cast<CreateClusterNodePoolResponse>(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
14189
14337
|
}
|
|
14190
14338
|
|
|
14339
|
+
/**
|
|
14340
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
14341
|
+
*
|
|
14342
|
+
* @param request CreateClusterNodePoolRequest
|
|
14343
|
+
* @return CreateClusterNodePoolResponse
|
|
14344
|
+
*/
|
|
14191
14345
|
async createClusterNodePool(ClusterId: string, request: CreateClusterNodePoolRequest): Promise<CreateClusterNodePoolResponse> {
|
|
14192
14346
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14193
14347
|
let headers : {[key: string ]: string} = { };
|
|
14194
14348
|
return await this.createClusterNodePoolWithOptions(ClusterId, request, headers, runtime);
|
|
14195
14349
|
}
|
|
14196
14350
|
|
|
14351
|
+
/**
|
|
14352
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
14353
|
+
*
|
|
14354
|
+
* @param request CreateEdgeMachineRequest
|
|
14355
|
+
* @param headers map
|
|
14356
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14357
|
+
* @return CreateEdgeMachineResponse
|
|
14358
|
+
*/
|
|
14197
14359
|
async createEdgeMachineWithOptions(request: CreateEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateEdgeMachineResponse> {
|
|
14198
14360
|
Util.validateModel(request);
|
|
14199
14361
|
let body : {[key: string ]: any} = { };
|
|
@@ -14227,12 +14389,26 @@ export default class Client extends OpenApi {
|
|
|
14227
14389
|
return $tea.cast<CreateEdgeMachineResponse>(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
14228
14390
|
}
|
|
14229
14391
|
|
|
14392
|
+
/**
|
|
14393
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
14394
|
+
*
|
|
14395
|
+
* @param request CreateEdgeMachineRequest
|
|
14396
|
+
* @return CreateEdgeMachineResponse
|
|
14397
|
+
*/
|
|
14230
14398
|
async createEdgeMachine(request: CreateEdgeMachineRequest): Promise<CreateEdgeMachineResponse> {
|
|
14231
14399
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14232
14400
|
let headers : {[key: string ]: string} = { };
|
|
14233
14401
|
return await this.createEdgeMachineWithOptions(request, headers, runtime);
|
|
14234
14402
|
}
|
|
14235
14403
|
|
|
14404
|
+
/**
|
|
14405
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
14406
|
+
*
|
|
14407
|
+
* @param request CreateKubernetesTriggerRequest
|
|
14408
|
+
* @param headers map
|
|
14409
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14410
|
+
* @return CreateKubernetesTriggerResponse
|
|
14411
|
+
*/
|
|
14236
14412
|
async createKubernetesTriggerWithOptions(request: CreateKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateKubernetesTriggerResponse> {
|
|
14237
14413
|
Util.validateModel(request);
|
|
14238
14414
|
let body : {[key: string ]: any} = { };
|
|
@@ -14270,12 +14446,26 @@ export default class Client extends OpenApi {
|
|
|
14270
14446
|
return $tea.cast<CreateKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
14271
14447
|
}
|
|
14272
14448
|
|
|
14449
|
+
/**
|
|
14450
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
14451
|
+
*
|
|
14452
|
+
* @param request CreateKubernetesTriggerRequest
|
|
14453
|
+
* @return CreateKubernetesTriggerResponse
|
|
14454
|
+
*/
|
|
14273
14455
|
async createKubernetesTrigger(request: CreateKubernetesTriggerRequest): Promise<CreateKubernetesTriggerResponse> {
|
|
14274
14456
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14275
14457
|
let headers : {[key: string ]: string} = { };
|
|
14276
14458
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
14277
14459
|
}
|
|
14278
14460
|
|
|
14461
|
+
/**
|
|
14462
|
+
* @summary Creates an orchestration template. An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can use orchestration templates to manage resources in Kubernetes clusters and automate resource deployment, such as pods, Services, Deployments, ConfigMaps, and persistent volumes (PVs).
|
|
14463
|
+
*
|
|
14464
|
+
* @param request CreateTemplateRequest
|
|
14465
|
+
* @param headers map
|
|
14466
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14467
|
+
* @return CreateTemplateResponse
|
|
14468
|
+
*/
|
|
14279
14469
|
async createTemplateWithOptions(request: CreateTemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateTemplateResponse> {
|
|
14280
14470
|
Util.validateModel(request);
|
|
14281
14471
|
let body : {[key: string ]: any} = { };
|
|
@@ -14317,12 +14507,26 @@ export default class Client extends OpenApi {
|
|
|
14317
14507
|
return $tea.cast<CreateTemplateResponse>(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
14318
14508
|
}
|
|
14319
14509
|
|
|
14510
|
+
/**
|
|
14511
|
+
* @summary Creates an orchestration template. An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can use orchestration templates to manage resources in Kubernetes clusters and automate resource deployment, such as pods, Services, Deployments, ConfigMaps, and persistent volumes (PVs).
|
|
14512
|
+
*
|
|
14513
|
+
* @param request CreateTemplateRequest
|
|
14514
|
+
* @return CreateTemplateResponse
|
|
14515
|
+
*/
|
|
14320
14516
|
async createTemplate(request: CreateTemplateRequest): Promise<CreateTemplateResponse> {
|
|
14321
14517
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14322
14518
|
let headers : {[key: string ]: string} = { };
|
|
14323
14519
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
14324
14520
|
}
|
|
14325
14521
|
|
|
14522
|
+
/**
|
|
14523
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
14524
|
+
*
|
|
14525
|
+
* @param request CreateTriggerRequest
|
|
14526
|
+
* @param headers map
|
|
14527
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14528
|
+
* @return CreateTriggerResponse
|
|
14529
|
+
*/
|
|
14326
14530
|
async createTriggerWithOptions(clusterId: string, request: CreateTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateTriggerResponse> {
|
|
14327
14531
|
Util.validateModel(request);
|
|
14328
14532
|
let body : {[key: string ]: any} = { };
|
|
@@ -14360,12 +14564,24 @@ export default class Client extends OpenApi {
|
|
|
14360
14564
|
return $tea.cast<CreateTriggerResponse>(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
14361
14565
|
}
|
|
14362
14566
|
|
|
14567
|
+
/**
|
|
14568
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
14569
|
+
*
|
|
14570
|
+
* @param request CreateTriggerRequest
|
|
14571
|
+
* @return CreateTriggerResponse
|
|
14572
|
+
*/
|
|
14363
14573
|
async createTrigger(clusterId: string, request: CreateTriggerRequest): Promise<CreateTriggerResponse> {
|
|
14364
14574
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14365
14575
|
let headers : {[key: string ]: string} = { };
|
|
14366
14576
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
14367
14577
|
}
|
|
14368
14578
|
|
|
14579
|
+
/**
|
|
14580
|
+
* @param tmpReq DeleteAlertContactRequest
|
|
14581
|
+
* @param headers map
|
|
14582
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14583
|
+
* @return DeleteAlertContactResponse
|
|
14584
|
+
*/
|
|
14369
14585
|
async deleteAlertContactWithOptions(tmpReq: DeleteAlertContactRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse> {
|
|
14370
14586
|
Util.validateModel(tmpReq);
|
|
14371
14587
|
let request = new DeleteAlertContactShrinkRequest({ });
|
|
@@ -14397,12 +14613,22 @@ export default class Client extends OpenApi {
|
|
|
14397
14613
|
return $tea.cast<DeleteAlertContactResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
14398
14614
|
}
|
|
14399
14615
|
|
|
14616
|
+
/**
|
|
14617
|
+
* @param request DeleteAlertContactRequest
|
|
14618
|
+
* @return DeleteAlertContactResponse
|
|
14619
|
+
*/
|
|
14400
14620
|
async deleteAlertContact(request: DeleteAlertContactRequest): Promise<DeleteAlertContactResponse> {
|
|
14401
14621
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14402
14622
|
let headers : {[key: string ]: string} = { };
|
|
14403
14623
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
14404
14624
|
}
|
|
14405
14625
|
|
|
14626
|
+
/**
|
|
14627
|
+
* @param tmpReq DeleteAlertContactGroupRequest
|
|
14628
|
+
* @param headers map
|
|
14629
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14630
|
+
* @return DeleteAlertContactGroupResponse
|
|
14631
|
+
*/
|
|
14406
14632
|
async deleteAlertContactGroupWithOptions(tmpReq: DeleteAlertContactGroupRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse> {
|
|
14407
14633
|
Util.validateModel(tmpReq);
|
|
14408
14634
|
let request = new DeleteAlertContactGroupShrinkRequest({ });
|
|
@@ -14434,21 +14660,41 @@ export default class Client extends OpenApi {
|
|
|
14434
14660
|
return $tea.cast<DeleteAlertContactGroupResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
14435
14661
|
}
|
|
14436
14662
|
|
|
14663
|
+
/**
|
|
14664
|
+
* @param request DeleteAlertContactGroupRequest
|
|
14665
|
+
* @return DeleteAlertContactGroupResponse
|
|
14666
|
+
*/
|
|
14437
14667
|
async deleteAlertContactGroup(request: DeleteAlertContactGroupRequest): Promise<DeleteAlertContactGroupResponse> {
|
|
14438
14668
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14439
14669
|
let headers : {[key: string ]: string} = { };
|
|
14440
14670
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
14441
14671
|
}
|
|
14442
14672
|
|
|
14673
|
+
/**
|
|
14674
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
14675
|
+
*
|
|
14676
|
+
* @param tmpReq DeleteClusterRequest
|
|
14677
|
+
* @param headers map
|
|
14678
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14679
|
+
* @return DeleteClusterResponse
|
|
14680
|
+
*/
|
|
14443
14681
|
async deleteClusterWithOptions(ClusterId: string, tmpReq: DeleteClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterResponse> {
|
|
14444
14682
|
Util.validateModel(tmpReq);
|
|
14445
14683
|
let request = new DeleteClusterShrinkRequest({ });
|
|
14446
14684
|
OpenApiUtil.convert(tmpReq, request);
|
|
14685
|
+
if (!Util.isUnset(tmpReq.deleteOptions)) {
|
|
14686
|
+
request.deleteOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.deleteOptions, "delete_options", "json");
|
|
14687
|
+
}
|
|
14688
|
+
|
|
14447
14689
|
if (!Util.isUnset(tmpReq.retainResources)) {
|
|
14448
14690
|
request.retainResourcesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.retainResources, "retain_resources", "json");
|
|
14449
14691
|
}
|
|
14450
14692
|
|
|
14451
14693
|
let query : {[key: string ]: any} = { };
|
|
14694
|
+
if (!Util.isUnset(request.deleteOptionsShrink)) {
|
|
14695
|
+
query["delete_options"] = request.deleteOptionsShrink;
|
|
14696
|
+
}
|
|
14697
|
+
|
|
14452
14698
|
if (!Util.isUnset(request.keepSlb)) {
|
|
14453
14699
|
query["keep_slb"] = request.keepSlb;
|
|
14454
14700
|
}
|
|
@@ -14479,12 +14725,26 @@ export default class Client extends OpenApi {
|
|
|
14479
14725
|
return $tea.cast<DeleteClusterResponse>(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
14480
14726
|
}
|
|
14481
14727
|
|
|
14728
|
+
/**
|
|
14729
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
14730
|
+
*
|
|
14731
|
+
* @param request DeleteClusterRequest
|
|
14732
|
+
* @return DeleteClusterResponse
|
|
14733
|
+
*/
|
|
14482
14734
|
async deleteCluster(ClusterId: string, request: DeleteClusterRequest): Promise<DeleteClusterResponse> {
|
|
14483
14735
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14484
14736
|
let headers : {[key: string ]: string} = { };
|
|
14485
14737
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14486
14738
|
}
|
|
14487
14739
|
|
|
14740
|
+
/**
|
|
14741
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
14742
|
+
*
|
|
14743
|
+
* @param request DeleteClusterNodepoolRequest
|
|
14744
|
+
* @param headers map
|
|
14745
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14746
|
+
* @return DeleteClusterNodepoolResponse
|
|
14747
|
+
*/
|
|
14488
14748
|
async deleteClusterNodepoolWithOptions(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodepoolResponse> {
|
|
14489
14749
|
Util.validateModel(request);
|
|
14490
14750
|
let query : {[key: string ]: any} = { };
|
|
@@ -14510,6 +14770,12 @@ export default class Client extends OpenApi {
|
|
|
14510
14770
|
return $tea.cast<DeleteClusterNodepoolResponse>(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
14511
14771
|
}
|
|
14512
14772
|
|
|
14773
|
+
/**
|
|
14774
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
14775
|
+
*
|
|
14776
|
+
* @param request DeleteClusterNodepoolRequest
|
|
14777
|
+
* @return DeleteClusterNodepoolResponse
|
|
14778
|
+
*/
|
|
14513
14779
|
async deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest): Promise<DeleteClusterNodepoolResponse> {
|
|
14514
14780
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14515
14781
|
let headers : {[key: string ]: string} = { };
|
|
@@ -14517,13 +14783,15 @@ export default class Client extends OpenApi {
|
|
|
14517
14783
|
}
|
|
14518
14784
|
|
|
14519
14785
|
/**
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
|
|
14525
|
-
|
|
14526
|
-
|
|
14786
|
+
* @summary Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
14787
|
+
*
|
|
14788
|
+
* @description >
|
|
14789
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
14790
|
+
*
|
|
14791
|
+
* @param request DeleteClusterNodesRequest
|
|
14792
|
+
* @param headers map
|
|
14793
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14794
|
+
* @return DeleteClusterNodesResponse
|
|
14527
14795
|
*/
|
|
14528
14796
|
async deleteClusterNodesWithOptions(ClusterId: string, request: DeleteClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodesResponse> {
|
|
14529
14797
|
Util.validateModel(request);
|
|
@@ -14559,11 +14827,13 @@ export default class Client extends OpenApi {
|
|
|
14559
14827
|
}
|
|
14560
14828
|
|
|
14561
14829
|
/**
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14830
|
+
* @summary Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
14831
|
+
*
|
|
14832
|
+
* @description >
|
|
14833
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
14834
|
+
*
|
|
14835
|
+
* @param request DeleteClusterNodesRequest
|
|
14836
|
+
* @return DeleteClusterNodesResponse
|
|
14567
14837
|
*/
|
|
14568
14838
|
async deleteClusterNodes(ClusterId: string, request: DeleteClusterNodesRequest): Promise<DeleteClusterNodesResponse> {
|
|
14569
14839
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -14571,6 +14841,14 @@ export default class Client extends OpenApi {
|
|
|
14571
14841
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
14572
14842
|
}
|
|
14573
14843
|
|
|
14844
|
+
/**
|
|
14845
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
14846
|
+
*
|
|
14847
|
+
* @param request DeleteEdgeMachineRequest
|
|
14848
|
+
* @param headers map
|
|
14849
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14850
|
+
* @return DeleteEdgeMachineResponse
|
|
14851
|
+
*/
|
|
14574
14852
|
async deleteEdgeMachineWithOptions(edgeMachineid: string, request: DeleteEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteEdgeMachineResponse> {
|
|
14575
14853
|
Util.validateModel(request);
|
|
14576
14854
|
let query : {[key: string ]: any} = { };
|
|
@@ -14596,12 +14874,25 @@ export default class Client extends OpenApi {
|
|
|
14596
14874
|
return $tea.cast<DeleteEdgeMachineResponse>(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
14597
14875
|
}
|
|
14598
14876
|
|
|
14877
|
+
/**
|
|
14878
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
14879
|
+
*
|
|
14880
|
+
* @param request DeleteEdgeMachineRequest
|
|
14881
|
+
* @return DeleteEdgeMachineResponse
|
|
14882
|
+
*/
|
|
14599
14883
|
async deleteEdgeMachine(edgeMachineid: string, request: DeleteEdgeMachineRequest): Promise<DeleteEdgeMachineResponse> {
|
|
14600
14884
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14601
14885
|
let headers : {[key: string ]: string} = { };
|
|
14602
14886
|
return await this.deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime);
|
|
14603
14887
|
}
|
|
14604
14888
|
|
|
14889
|
+
/**
|
|
14890
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
14891
|
+
*
|
|
14892
|
+
* @param headers map
|
|
14893
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14894
|
+
* @return DeleteKubernetesTriggerResponse
|
|
14895
|
+
*/
|
|
14605
14896
|
async deleteKubernetesTriggerWithOptions(Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse> {
|
|
14606
14897
|
let req = new $OpenApi.OpenApiRequest({
|
|
14607
14898
|
headers: headers,
|
|
@@ -14620,12 +14911,25 @@ export default class Client extends OpenApi {
|
|
|
14620
14911
|
return $tea.cast<DeleteKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
14621
14912
|
}
|
|
14622
14913
|
|
|
14914
|
+
/**
|
|
14915
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
14916
|
+
*
|
|
14917
|
+
* @return DeleteKubernetesTriggerResponse
|
|
14918
|
+
*/
|
|
14623
14919
|
async deleteKubernetesTrigger(Id: string): Promise<DeleteKubernetesTriggerResponse> {
|
|
14624
14920
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14625
14921
|
let headers : {[key: string ]: string} = { };
|
|
14626
14922
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
14627
14923
|
}
|
|
14628
14924
|
|
|
14925
|
+
/**
|
|
14926
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14927
|
+
*
|
|
14928
|
+
* @param request DeletePolicyInstanceRequest
|
|
14929
|
+
* @param headers map
|
|
14930
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14931
|
+
* @return DeletePolicyInstanceResponse
|
|
14932
|
+
*/
|
|
14629
14933
|
async deletePolicyInstanceWithOptions(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeletePolicyInstanceResponse> {
|
|
14630
14934
|
Util.validateModel(request);
|
|
14631
14935
|
let query : {[key: string ]: any} = { };
|
|
@@ -14651,12 +14955,25 @@ export default class Client extends OpenApi {
|
|
|
14651
14955
|
return $tea.cast<DeletePolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
14652
14956
|
}
|
|
14653
14957
|
|
|
14958
|
+
/**
|
|
14959
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14960
|
+
*
|
|
14961
|
+
* @param request DeletePolicyInstanceRequest
|
|
14962
|
+
* @return DeletePolicyInstanceResponse
|
|
14963
|
+
*/
|
|
14654
14964
|
async deletePolicyInstance(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest): Promise<DeletePolicyInstanceResponse> {
|
|
14655
14965
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14656
14966
|
let headers : {[key: string ]: string} = { };
|
|
14657
14967
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
14658
14968
|
}
|
|
14659
14969
|
|
|
14970
|
+
/**
|
|
14971
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
14972
|
+
*
|
|
14973
|
+
* @param headers map
|
|
14974
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14975
|
+
* @return DeleteTemplateResponse
|
|
14976
|
+
*/
|
|
14660
14977
|
async deleteTemplateWithOptions(TemplateId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteTemplateResponse> {
|
|
14661
14978
|
let req = new $OpenApi.OpenApiRequest({
|
|
14662
14979
|
headers: headers,
|
|
@@ -14675,12 +14992,24 @@ export default class Client extends OpenApi {
|
|
|
14675
14992
|
return $tea.cast<DeleteTemplateResponse>(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
14676
14993
|
}
|
|
14677
14994
|
|
|
14995
|
+
/**
|
|
14996
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
14997
|
+
*
|
|
14998
|
+
* @return DeleteTemplateResponse
|
|
14999
|
+
*/
|
|
14678
15000
|
async deleteTemplate(TemplateId: string): Promise<DeleteTemplateResponse> {
|
|
14679
15001
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14680
15002
|
let headers : {[key: string ]: string} = { };
|
|
14681
15003
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
14682
15004
|
}
|
|
14683
15005
|
|
|
15006
|
+
/**
|
|
15007
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
15008
|
+
*
|
|
15009
|
+
* @param headers map
|
|
15010
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15011
|
+
* @return DeleteTriggerResponse
|
|
15012
|
+
*/
|
|
14684
15013
|
async deleteTriggerWithOptions(clusterId: string, Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteTriggerResponse> {
|
|
14685
15014
|
let req = new $OpenApi.OpenApiRequest({
|
|
14686
15015
|
headers: headers,
|
|
@@ -14699,12 +15028,25 @@ export default class Client extends OpenApi {
|
|
|
14699
15028
|
return $tea.cast<DeleteTriggerResponse>(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
14700
15029
|
}
|
|
14701
15030
|
|
|
15031
|
+
/**
|
|
15032
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
15033
|
+
*
|
|
15034
|
+
* @return DeleteTriggerResponse
|
|
15035
|
+
*/
|
|
14702
15036
|
async deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse> {
|
|
14703
15037
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14704
15038
|
let headers : {[key: string ]: string} = { };
|
|
14705
15039
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
14706
15040
|
}
|
|
14707
15041
|
|
|
15042
|
+
/**
|
|
15043
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
15044
|
+
*
|
|
15045
|
+
* @param request DeployPolicyInstanceRequest
|
|
15046
|
+
* @param headers map
|
|
15047
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15048
|
+
* @return DeployPolicyInstanceResponse
|
|
15049
|
+
*/
|
|
14708
15050
|
async deployPolicyInstanceWithOptions(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeployPolicyInstanceResponse> {
|
|
14709
15051
|
Util.validateModel(request);
|
|
14710
15052
|
let body : {[key: string ]: any} = { };
|
|
@@ -14738,12 +15080,25 @@ export default class Client extends OpenApi {
|
|
|
14738
15080
|
return $tea.cast<DeployPolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
14739
15081
|
}
|
|
14740
15082
|
|
|
15083
|
+
/**
|
|
15084
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
15085
|
+
*
|
|
15086
|
+
* @param request DeployPolicyInstanceRequest
|
|
15087
|
+
* @return DeployPolicyInstanceResponse
|
|
15088
|
+
*/
|
|
14741
15089
|
async deployPolicyInstance(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest): Promise<DeployPolicyInstanceResponse> {
|
|
14742
15090
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14743
15091
|
let headers : {[key: string ]: string} = { };
|
|
14744
15092
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
14745
15093
|
}
|
|
14746
15094
|
|
|
15095
|
+
/**
|
|
15096
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
15097
|
+
*
|
|
15098
|
+
* @param headers map
|
|
15099
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15100
|
+
* @return DescirbeWorkflowResponse
|
|
15101
|
+
*/
|
|
14747
15102
|
async descirbeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse> {
|
|
14748
15103
|
let req = new $OpenApi.OpenApiRequest({
|
|
14749
15104
|
headers: headers,
|
|
@@ -14762,12 +15117,25 @@ export default class Client extends OpenApi {
|
|
|
14762
15117
|
return $tea.cast<DescirbeWorkflowResponse>(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
|
|
14763
15118
|
}
|
|
14764
15119
|
|
|
15120
|
+
/**
|
|
15121
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
15122
|
+
*
|
|
15123
|
+
* @return DescirbeWorkflowResponse
|
|
15124
|
+
*/
|
|
14765
15125
|
async descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse> {
|
|
14766
15126
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14767
15127
|
let headers : {[key: string ]: string} = { };
|
|
14768
15128
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
14769
15129
|
}
|
|
14770
15130
|
|
|
15131
|
+
/**
|
|
15132
|
+
* @summary 查询指定集群组件
|
|
15133
|
+
*
|
|
15134
|
+
* @param request DescribeAddonRequest
|
|
15135
|
+
* @param headers map
|
|
15136
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15137
|
+
* @return DescribeAddonResponse
|
|
15138
|
+
*/
|
|
14771
15139
|
async describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse> {
|
|
14772
15140
|
Util.validateModel(request);
|
|
14773
15141
|
let query : {[key: string ]: any} = { };
|
|
@@ -14817,6 +15185,12 @@ export default class Client extends OpenApi {
|
|
|
14817
15185
|
return $tea.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
14818
15186
|
}
|
|
14819
15187
|
|
|
15188
|
+
/**
|
|
15189
|
+
* @summary 查询指定集群组件
|
|
15190
|
+
*
|
|
15191
|
+
* @param request DescribeAddonRequest
|
|
15192
|
+
* @return DescribeAddonResponse
|
|
15193
|
+
*/
|
|
14820
15194
|
async describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse> {
|
|
14821
15195
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14822
15196
|
let headers : {[key: string ]: string} = { };
|
|
@@ -14824,12 +15198,14 @@ export default class Client extends OpenApi {
|
|
|
14824
15198
|
}
|
|
14825
15199
|
|
|
14826
15200
|
/**
|
|
14827
|
-
|
|
14828
|
-
|
|
14829
|
-
|
|
14830
|
-
|
|
14831
|
-
|
|
14832
|
-
|
|
15201
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
15202
|
+
*
|
|
15203
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
15204
|
+
*
|
|
15205
|
+
* @param request DescribeAddonsRequest
|
|
15206
|
+
* @param headers map
|
|
15207
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15208
|
+
* @return DescribeAddonsResponse
|
|
14833
15209
|
*/
|
|
14834
15210
|
// Deprecated
|
|
14835
15211
|
async describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse> {
|
|
@@ -14874,10 +15250,12 @@ export default class Client extends OpenApi {
|
|
|
14874
15250
|
}
|
|
14875
15251
|
|
|
14876
15252
|
/**
|
|
14877
|
-
|
|
14878
|
-
|
|
14879
|
-
|
|
14880
|
-
|
|
15253
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
15254
|
+
*
|
|
15255
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
15256
|
+
*
|
|
15257
|
+
* @param request DescribeAddonsRequest
|
|
15258
|
+
* @return DescribeAddonsResponse
|
|
14881
15259
|
*/
|
|
14882
15260
|
// Deprecated
|
|
14883
15261
|
async describeAddons(request: DescribeAddonsRequest): Promise<DescribeAddonsResponse> {
|
|
@@ -14887,11 +15265,13 @@ export default class Client extends OpenApi {
|
|
|
14887
15265
|
}
|
|
14888
15266
|
|
|
14889
15267
|
/**
|
|
14890
|
-
|
|
14891
|
-
|
|
14892
|
-
|
|
14893
|
-
|
|
14894
|
-
|
|
15268
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
15269
|
+
*
|
|
15270
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
15271
|
+
*
|
|
15272
|
+
* @param headers map
|
|
15273
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15274
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
14895
15275
|
*/
|
|
14896
15276
|
// Deprecated
|
|
14897
15277
|
async describeClusterAddonInstanceWithOptions(ClusterID: string, AddonName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonInstanceResponse> {
|
|
@@ -14913,9 +15293,11 @@ export default class Client extends OpenApi {
|
|
|
14913
15293
|
}
|
|
14914
15294
|
|
|
14915
15295
|
/**
|
|
14916
|
-
|
|
14917
|
-
|
|
14918
|
-
|
|
15296
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
15297
|
+
*
|
|
15298
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
15299
|
+
*
|
|
15300
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
14919
15301
|
*/
|
|
14920
15302
|
// Deprecated
|
|
14921
15303
|
async describeClusterAddonInstance(ClusterID: string, AddonName: string): Promise<DescribeClusterAddonInstanceResponse> {
|
|
@@ -14925,12 +15307,14 @@ export default class Client extends OpenApi {
|
|
|
14925
15307
|
}
|
|
14926
15308
|
|
|
14927
15309
|
/**
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
15310
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
15311
|
+
*
|
|
15312
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
15313
|
+
*
|
|
15314
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
15315
|
+
* @param headers map
|
|
15316
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15317
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
14934
15318
|
*/
|
|
14935
15319
|
// Deprecated
|
|
14936
15320
|
async describeClusterAddonMetadataWithOptions(clusterId: string, componentId: string, request: DescribeClusterAddonMetadataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonMetadataResponse> {
|
|
@@ -14959,10 +15343,12 @@ export default class Client extends OpenApi {
|
|
|
14959
15343
|
}
|
|
14960
15344
|
|
|
14961
15345
|
/**
|
|
14962
|
-
|
|
14963
|
-
|
|
14964
|
-
|
|
14965
|
-
|
|
15346
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
15347
|
+
*
|
|
15348
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
15349
|
+
*
|
|
15350
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
15351
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
14966
15352
|
*/
|
|
14967
15353
|
// Deprecated
|
|
14968
15354
|
async describeClusterAddonMetadata(clusterId: string, componentId: string, request: DescribeClusterAddonMetadataRequest): Promise<DescribeClusterAddonMetadataResponse> {
|
|
@@ -14972,11 +15358,13 @@ export default class Client extends OpenApi {
|
|
|
14972
15358
|
}
|
|
14973
15359
|
|
|
14974
15360
|
/**
|
|
14975
|
-
|
|
14976
|
-
|
|
14977
|
-
|
|
14978
|
-
|
|
14979
|
-
|
|
15361
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
15362
|
+
*
|
|
15363
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
15364
|
+
*
|
|
15365
|
+
* @param headers map
|
|
15366
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15367
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
14980
15368
|
*/
|
|
14981
15369
|
// Deprecated
|
|
14982
15370
|
async describeClusterAddonUpgradeStatusWithOptions(ClusterId: string, ComponentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonUpgradeStatusResponse> {
|
|
@@ -14998,9 +15386,11 @@ export default class Client extends OpenApi {
|
|
|
14998
15386
|
}
|
|
14999
15387
|
|
|
15000
15388
|
/**
|
|
15001
|
-
|
|
15002
|
-
|
|
15003
|
-
|
|
15389
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
15390
|
+
*
|
|
15391
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
15392
|
+
*
|
|
15393
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
15004
15394
|
*/
|
|
15005
15395
|
// Deprecated
|
|
15006
15396
|
async describeClusterAddonUpgradeStatus(ClusterId: string, ComponentId: string): Promise<DescribeClusterAddonUpgradeStatusResponse> {
|
|
@@ -15010,12 +15400,14 @@ export default class Client extends OpenApi {
|
|
|
15010
15400
|
}
|
|
15011
15401
|
|
|
15012
15402
|
/**
|
|
15013
|
-
|
|
15014
|
-
|
|
15015
|
-
|
|
15016
|
-
|
|
15017
|
-
|
|
15018
|
-
|
|
15403
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
15404
|
+
*
|
|
15405
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
15406
|
+
*
|
|
15407
|
+
* @param tmpReq DescribeClusterAddonsUpgradeStatusRequest
|
|
15408
|
+
* @param headers map
|
|
15409
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15410
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
15019
15411
|
*/
|
|
15020
15412
|
// Deprecated
|
|
15021
15413
|
async describeClusterAddonsUpgradeStatusWithOptions(ClusterId: string, tmpReq: DescribeClusterAddonsUpgradeStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonsUpgradeStatusResponse> {
|
|
@@ -15050,10 +15442,12 @@ export default class Client extends OpenApi {
|
|
|
15050
15442
|
}
|
|
15051
15443
|
|
|
15052
15444
|
/**
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
|
|
15056
|
-
|
|
15445
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
15446
|
+
*
|
|
15447
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
15448
|
+
*
|
|
15449
|
+
* @param request DescribeClusterAddonsUpgradeStatusRequest
|
|
15450
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
15057
15451
|
*/
|
|
15058
15452
|
// Deprecated
|
|
15059
15453
|
async describeClusterAddonsUpgradeStatus(ClusterId: string, request: DescribeClusterAddonsUpgradeStatusRequest): Promise<DescribeClusterAddonsUpgradeStatusResponse> {
|
|
@@ -15063,11 +15457,13 @@ export default class Client extends OpenApi {
|
|
|
15063
15457
|
}
|
|
15064
15458
|
|
|
15065
15459
|
/**
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15460
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
15461
|
+
*
|
|
15462
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
15463
|
+
*
|
|
15464
|
+
* @param headers map
|
|
15465
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15466
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
15071
15467
|
*/
|
|
15072
15468
|
// Deprecated
|
|
15073
15469
|
async describeClusterAddonsVersionWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonsVersionResponse> {
|
|
@@ -15089,9 +15485,11 @@ export default class Client extends OpenApi {
|
|
|
15089
15485
|
}
|
|
15090
15486
|
|
|
15091
15487
|
/**
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15488
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
15489
|
+
*
|
|
15490
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
15491
|
+
*
|
|
15492
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
15095
15493
|
*/
|
|
15096
15494
|
// Deprecated
|
|
15097
15495
|
async describeClusterAddonsVersion(ClusterId: string): Promise<DescribeClusterAddonsVersionResponse> {
|
|
@@ -15100,6 +15498,14 @@ export default class Client extends OpenApi {
|
|
|
15100
15498
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
15101
15499
|
}
|
|
15102
15500
|
|
|
15501
|
+
/**
|
|
15502
|
+
* @summary Queries the script that is used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. You can manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add the worker nodes that you have removed to a node pool.
|
|
15503
|
+
*
|
|
15504
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
15505
|
+
* @param headers map
|
|
15506
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15507
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
15508
|
+
*/
|
|
15103
15509
|
async describeClusterAttachScriptsWithOptions(ClusterId: string, request: DescribeClusterAttachScriptsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAttachScriptsResponse> {
|
|
15104
15510
|
Util.validateModel(request);
|
|
15105
15511
|
let body : {[key: string ]: any} = { };
|
|
@@ -15145,12 +15551,25 @@ export default class Client extends OpenApi {
|
|
|
15145
15551
|
return $tea.cast<DescribeClusterAttachScriptsResponse>(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
15146
15552
|
}
|
|
15147
15553
|
|
|
15554
|
+
/**
|
|
15555
|
+
* @summary Queries the script that is used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. You can manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add the worker nodes that you have removed to a node pool.
|
|
15556
|
+
*
|
|
15557
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
15558
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
15559
|
+
*/
|
|
15148
15560
|
async describeClusterAttachScripts(ClusterId: string, request: DescribeClusterAttachScriptsRequest): Promise<DescribeClusterAttachScriptsResponse> {
|
|
15149
15561
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15150
15562
|
let headers : {[key: string ]: string} = { };
|
|
15151
15563
|
return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
|
|
15152
15564
|
}
|
|
15153
15565
|
|
|
15566
|
+
/**
|
|
15567
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
15568
|
+
*
|
|
15569
|
+
* @param headers map
|
|
15570
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15571
|
+
* @return DescribeClusterDetailResponse
|
|
15572
|
+
*/
|
|
15154
15573
|
async describeClusterDetailWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterDetailResponse> {
|
|
15155
15574
|
let req = new $OpenApi.OpenApiRequest({
|
|
15156
15575
|
headers: headers,
|
|
@@ -15169,12 +15588,25 @@ export default class Client extends OpenApi {
|
|
|
15169
15588
|
return $tea.cast<DescribeClusterDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
15170
15589
|
}
|
|
15171
15590
|
|
|
15591
|
+
/**
|
|
15592
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
15593
|
+
*
|
|
15594
|
+
* @return DescribeClusterDetailResponse
|
|
15595
|
+
*/
|
|
15172
15596
|
async describeClusterDetail(ClusterId: string): Promise<DescribeClusterDetailResponse> {
|
|
15173
15597
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15174
15598
|
let headers : {[key: string ]: string} = { };
|
|
15175
15599
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
15176
15600
|
}
|
|
15177
15601
|
|
|
15602
|
+
/**
|
|
15603
|
+
* @summary Queries events and event details in a Container Service for Kubernetes (ACK) cluster, including the severity level, status, and start time of each event. Events are generated when clusters created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
15604
|
+
*
|
|
15605
|
+
* @param request DescribeClusterEventsRequest
|
|
15606
|
+
* @param headers map
|
|
15607
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15608
|
+
* @return DescribeClusterEventsResponse
|
|
15609
|
+
*/
|
|
15178
15610
|
async describeClusterEventsWithOptions(ClusterId: string, request: DescribeClusterEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterEventsResponse> {
|
|
15179
15611
|
Util.validateModel(request);
|
|
15180
15612
|
let query : {[key: string ]: any} = { };
|
|
@@ -15208,12 +15640,25 @@ export default class Client extends OpenApi {
|
|
|
15208
15640
|
return $tea.cast<DescribeClusterEventsResponse>(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
15209
15641
|
}
|
|
15210
15642
|
|
|
15643
|
+
/**
|
|
15644
|
+
* @summary Queries events and event details in a Container Service for Kubernetes (ACK) cluster, including the severity level, status, and start time of each event. Events are generated when clusters created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
15645
|
+
*
|
|
15646
|
+
* @param request DescribeClusterEventsRequest
|
|
15647
|
+
* @return DescribeClusterEventsResponse
|
|
15648
|
+
*/
|
|
15211
15649
|
async describeClusterEvents(ClusterId: string, request: DescribeClusterEventsRequest): Promise<DescribeClusterEventsResponse> {
|
|
15212
15650
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15213
15651
|
let headers : {[key: string ]: string} = { };
|
|
15214
15652
|
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
15215
15653
|
}
|
|
15216
15654
|
|
|
15655
|
+
/**
|
|
15656
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
15657
|
+
*
|
|
15658
|
+
* @param headers map
|
|
15659
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15660
|
+
* @return DescribeClusterLogsResponse
|
|
15661
|
+
*/
|
|
15217
15662
|
async describeClusterLogsWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterLogsResponse> {
|
|
15218
15663
|
let req = new $OpenApi.OpenApiRequest({
|
|
15219
15664
|
headers: headers,
|
|
@@ -15232,12 +15677,24 @@ export default class Client extends OpenApi {
|
|
|
15232
15677
|
return $tea.cast<DescribeClusterLogsResponse>(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
15233
15678
|
}
|
|
15234
15679
|
|
|
15680
|
+
/**
|
|
15681
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
15682
|
+
*
|
|
15683
|
+
* @return DescribeClusterLogsResponse
|
|
15684
|
+
*/
|
|
15235
15685
|
async describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse> {
|
|
15236
15686
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15237
15687
|
let headers : {[key: string ]: string} = { };
|
|
15238
15688
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
15239
15689
|
}
|
|
15240
15690
|
|
|
15691
|
+
/**
|
|
15692
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
15693
|
+
*
|
|
15694
|
+
* @param headers map
|
|
15695
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15696
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
15697
|
+
*/
|
|
15241
15698
|
async describeClusterNodePoolDetailWithOptions(ClusterId: string, NodepoolId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolDetailResponse> {
|
|
15242
15699
|
let req = new $OpenApi.OpenApiRequest({
|
|
15243
15700
|
headers: headers,
|
|
@@ -15256,12 +15713,25 @@ export default class Client extends OpenApi {
|
|
|
15256
15713
|
return $tea.cast<DescribeClusterNodePoolDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
15257
15714
|
}
|
|
15258
15715
|
|
|
15716
|
+
/**
|
|
15717
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
15718
|
+
*
|
|
15719
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
15720
|
+
*/
|
|
15259
15721
|
async describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse> {
|
|
15260
15722
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15261
15723
|
let headers : {[key: string ]: string} = { };
|
|
15262
15724
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
15263
15725
|
}
|
|
15264
15726
|
|
|
15727
|
+
/**
|
|
15728
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
15729
|
+
*
|
|
15730
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
15731
|
+
* @param headers map
|
|
15732
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15733
|
+
* @return DescribeClusterNodePoolsResponse
|
|
15734
|
+
*/
|
|
15265
15735
|
async describeClusterNodePoolsWithOptions(ClusterId: string, request: DescribeClusterNodePoolsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse> {
|
|
15266
15736
|
Util.validateModel(request);
|
|
15267
15737
|
let query : {[key: string ]: any} = { };
|
|
@@ -15287,12 +15757,26 @@ export default class Client extends OpenApi {
|
|
|
15287
15757
|
return $tea.cast<DescribeClusterNodePoolsResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
15288
15758
|
}
|
|
15289
15759
|
|
|
15760
|
+
/**
|
|
15761
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
15762
|
+
*
|
|
15763
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
15764
|
+
* @return DescribeClusterNodePoolsResponse
|
|
15765
|
+
*/
|
|
15290
15766
|
async describeClusterNodePools(ClusterId: string, request: DescribeClusterNodePoolsRequest): Promise<DescribeClusterNodePoolsResponse> {
|
|
15291
15767
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15292
15768
|
let headers : {[key: string ]: string} = { };
|
|
15293
15769
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
15294
15770
|
}
|
|
15295
15771
|
|
|
15772
|
+
/**
|
|
15773
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
15774
|
+
*
|
|
15775
|
+
* @param request DescribeClusterNodesRequest
|
|
15776
|
+
* @param headers map
|
|
15777
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15778
|
+
* @return DescribeClusterNodesResponse
|
|
15779
|
+
*/
|
|
15296
15780
|
async describeClusterNodesWithOptions(ClusterId: string, request: DescribeClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse> {
|
|
15297
15781
|
Util.validateModel(request);
|
|
15298
15782
|
let query : {[key: string ]: any} = { };
|
|
@@ -15334,12 +15818,26 @@ export default class Client extends OpenApi {
|
|
|
15334
15818
|
return $tea.cast<DescribeClusterNodesResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
15335
15819
|
}
|
|
15336
15820
|
|
|
15821
|
+
/**
|
|
15822
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
15823
|
+
*
|
|
15824
|
+
* @param request DescribeClusterNodesRequest
|
|
15825
|
+
* @return DescribeClusterNodesResponse
|
|
15826
|
+
*/
|
|
15337
15827
|
async describeClusterNodes(ClusterId: string, request: DescribeClusterNodesRequest): Promise<DescribeClusterNodesResponse> {
|
|
15338
15828
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15339
15829
|
let headers : {[key: string ]: string} = { };
|
|
15340
15830
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
15341
15831
|
}
|
|
15342
15832
|
|
|
15833
|
+
/**
|
|
15834
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
15835
|
+
*
|
|
15836
|
+
* @param request DescribeClusterResourcesRequest
|
|
15837
|
+
* @param headers map
|
|
15838
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15839
|
+
* @return DescribeClusterResourcesResponse
|
|
15840
|
+
*/
|
|
15343
15841
|
async describeClusterResourcesWithOptions(ClusterId: string, request: DescribeClusterResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterResourcesResponse> {
|
|
15344
15842
|
Util.validateModel(request);
|
|
15345
15843
|
let query : {[key: string ]: any} = { };
|
|
@@ -15365,12 +15863,26 @@ export default class Client extends OpenApi {
|
|
|
15365
15863
|
return $tea.cast<DescribeClusterResourcesResponse>(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
15366
15864
|
}
|
|
15367
15865
|
|
|
15866
|
+
/**
|
|
15867
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
15868
|
+
*
|
|
15869
|
+
* @param request DescribeClusterResourcesRequest
|
|
15870
|
+
* @return DescribeClusterResourcesResponse
|
|
15871
|
+
*/
|
|
15368
15872
|
async describeClusterResources(ClusterId: string, request: DescribeClusterResourcesRequest): Promise<DescribeClusterResourcesResponse> {
|
|
15369
15873
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15370
15874
|
let headers : {[key: string ]: string} = { };
|
|
15371
15875
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
15372
15876
|
}
|
|
15373
15877
|
|
|
15878
|
+
/**
|
|
15879
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
15880
|
+
*
|
|
15881
|
+
* @param request DescribeClusterTasksRequest
|
|
15882
|
+
* @param headers map
|
|
15883
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15884
|
+
* @return DescribeClusterTasksResponse
|
|
15885
|
+
*/
|
|
15374
15886
|
async describeClusterTasksWithOptions(clusterId: string, request: DescribeClusterTasksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse> {
|
|
15375
15887
|
Util.validateModel(request);
|
|
15376
15888
|
let query : {[key: string ]: any} = { };
|
|
@@ -15400,6 +15912,12 @@ export default class Client extends OpenApi {
|
|
|
15400
15912
|
return $tea.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
15401
15913
|
}
|
|
15402
15914
|
|
|
15915
|
+
/**
|
|
15916
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
15917
|
+
*
|
|
15918
|
+
* @param request DescribeClusterTasksRequest
|
|
15919
|
+
* @return DescribeClusterTasksResponse
|
|
15920
|
+
*/
|
|
15403
15921
|
async describeClusterTasks(clusterId: string, request: DescribeClusterTasksRequest): Promise<DescribeClusterTasksResponse> {
|
|
15404
15922
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15405
15923
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15407,13 +15925,15 @@ export default class Client extends OpenApi {
|
|
|
15407
15925
|
}
|
|
15408
15926
|
|
|
15409
15927
|
/**
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15413
|
-
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
|
|
15928
|
+
* @summary Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
15929
|
+
*
|
|
15930
|
+
* @description **
|
|
15931
|
+
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
15932
|
+
*
|
|
15933
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
15934
|
+
* @param headers map
|
|
15935
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15936
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
15417
15937
|
*/
|
|
15418
15938
|
async describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse> {
|
|
15419
15939
|
Util.validateModel(request);
|
|
@@ -15445,11 +15965,13 @@ export default class Client extends OpenApi {
|
|
|
15445
15965
|
}
|
|
15446
15966
|
|
|
15447
15967
|
/**
|
|
15448
|
-
|
|
15449
|
-
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
15968
|
+
* @summary Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
15969
|
+
*
|
|
15970
|
+
* @description **
|
|
15971
|
+
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
15972
|
+
*
|
|
15973
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
15974
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
15453
15975
|
*/
|
|
15454
15976
|
async describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse> {
|
|
15455
15977
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -15458,12 +15980,14 @@ export default class Client extends OpenApi {
|
|
|
15458
15980
|
}
|
|
15459
15981
|
|
|
15460
15982
|
/**
|
|
15461
|
-
|
|
15462
|
-
|
|
15463
|
-
|
|
15464
|
-
|
|
15465
|
-
|
|
15466
|
-
|
|
15983
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
15984
|
+
*
|
|
15985
|
+
* @summary 获取集群kubeconfig接口
|
|
15986
|
+
*
|
|
15987
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
15988
|
+
* @param headers map
|
|
15989
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15990
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
15467
15991
|
*/
|
|
15468
15992
|
// Deprecated
|
|
15469
15993
|
async describeClusterV2UserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterV2UserKubeconfigResponse> {
|
|
@@ -15492,10 +16016,12 @@ export default class Client extends OpenApi {
|
|
|
15492
16016
|
}
|
|
15493
16017
|
|
|
15494
16018
|
/**
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
|
|
16019
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
16020
|
+
*
|
|
16021
|
+
* @summary 获取集群kubeconfig接口
|
|
16022
|
+
*
|
|
16023
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
16024
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
15499
16025
|
*/
|
|
15500
16026
|
// Deprecated
|
|
15501
16027
|
async describeClusterV2UserKubeconfig(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest): Promise<DescribeClusterV2UserKubeconfigResponse> {
|
|
@@ -15504,6 +16030,13 @@ export default class Client extends OpenApi {
|
|
|
15504
16030
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
15505
16031
|
}
|
|
15506
16032
|
|
|
16033
|
+
/**
|
|
16034
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
16035
|
+
*
|
|
16036
|
+
* @param headers map
|
|
16037
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16038
|
+
* @return DescribeClusterVulsResponse
|
|
16039
|
+
*/
|
|
15507
16040
|
async describeClusterVulsWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterVulsResponse> {
|
|
15508
16041
|
let req = new $OpenApi.OpenApiRequest({
|
|
15509
16042
|
headers: headers,
|
|
@@ -15522,6 +16055,11 @@ export default class Client extends OpenApi {
|
|
|
15522
16055
|
return $tea.cast<DescribeClusterVulsResponse>(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
15523
16056
|
}
|
|
15524
16057
|
|
|
16058
|
+
/**
|
|
16059
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
16060
|
+
*
|
|
16061
|
+
* @return DescribeClusterVulsResponse
|
|
16062
|
+
*/
|
|
15525
16063
|
async describeClusterVuls(clusterId: string): Promise<DescribeClusterVulsResponse> {
|
|
15526
16064
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15527
16065
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15529,12 +16067,14 @@ export default class Client extends OpenApi {
|
|
|
15529
16067
|
}
|
|
15530
16068
|
|
|
15531
16069
|
/**
|
|
15532
|
-
|
|
15533
|
-
|
|
15534
|
-
|
|
15535
|
-
|
|
15536
|
-
|
|
15537
|
-
|
|
16070
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
16071
|
+
*
|
|
16072
|
+
* @summary You can call the DescribeClusters operation to query all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
16073
|
+
*
|
|
16074
|
+
* @param request DescribeClustersRequest
|
|
16075
|
+
* @param headers map
|
|
16076
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16077
|
+
* @return DescribeClustersResponse
|
|
15538
16078
|
*/
|
|
15539
16079
|
// Deprecated
|
|
15540
16080
|
async describeClustersWithOptions(request: DescribeClustersRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersResponse> {
|
|
@@ -15567,10 +16107,12 @@ export default class Client extends OpenApi {
|
|
|
15567
16107
|
}
|
|
15568
16108
|
|
|
15569
16109
|
/**
|
|
15570
|
-
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
|
|
16110
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
16111
|
+
*
|
|
16112
|
+
* @summary You can call the DescribeClusters operation to query all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
16113
|
+
*
|
|
16114
|
+
* @param request DescribeClustersRequest
|
|
16115
|
+
* @return DescribeClustersResponse
|
|
15574
16116
|
*/
|
|
15575
16117
|
// Deprecated
|
|
15576
16118
|
async describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse> {
|
|
@@ -15579,6 +16121,14 @@ export default class Client extends OpenApi {
|
|
|
15579
16121
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
15580
16122
|
}
|
|
15581
16123
|
|
|
16124
|
+
/**
|
|
16125
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
16126
|
+
*
|
|
16127
|
+
* @param request DescribeClustersV1Request
|
|
16128
|
+
* @param headers map
|
|
16129
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16130
|
+
* @return DescribeClustersV1Response
|
|
16131
|
+
*/
|
|
15582
16132
|
async describeClustersV1WithOptions(request: DescribeClustersV1Request, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersV1Response> {
|
|
15583
16133
|
Util.validateModel(request);
|
|
15584
16134
|
let query : {[key: string ]: any} = { };
|
|
@@ -15632,12 +16182,25 @@ export default class Client extends OpenApi {
|
|
|
15632
16182
|
return $tea.cast<DescribeClustersV1Response>(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
15633
16183
|
}
|
|
15634
16184
|
|
|
16185
|
+
/**
|
|
16186
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
16187
|
+
*
|
|
16188
|
+
* @param request DescribeClustersV1Request
|
|
16189
|
+
* @return DescribeClustersV1Response
|
|
16190
|
+
*/
|
|
15635
16191
|
async describeClustersV1(request: DescribeClustersV1Request): Promise<DescribeClustersV1Response> {
|
|
15636
16192
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15637
16193
|
let headers : {[key: string ]: string} = { };
|
|
15638
16194
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
15639
16195
|
}
|
|
15640
16196
|
|
|
16197
|
+
/**
|
|
16198
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
16199
|
+
*
|
|
16200
|
+
* @param headers map
|
|
16201
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16202
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
16203
|
+
*/
|
|
15641
16204
|
async describeEdgeMachineActiveProcessWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
15642
16205
|
let req = new $OpenApi.OpenApiRequest({
|
|
15643
16206
|
headers: headers,
|
|
@@ -15656,12 +16219,24 @@ export default class Client extends OpenApi {
|
|
|
15656
16219
|
return $tea.cast<DescribeEdgeMachineActiveProcessResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
15657
16220
|
}
|
|
15658
16221
|
|
|
16222
|
+
/**
|
|
16223
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
16224
|
+
*
|
|
16225
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
16226
|
+
*/
|
|
15659
16227
|
async describeEdgeMachineActiveProcess(edgeMachineid: string): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
15660
16228
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15661
16229
|
let headers : {[key: string ]: string} = { };
|
|
15662
16230
|
return await this.describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime);
|
|
15663
16231
|
}
|
|
15664
16232
|
|
|
16233
|
+
/**
|
|
16234
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
16235
|
+
*
|
|
16236
|
+
* @param headers map
|
|
16237
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16238
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
16239
|
+
*/
|
|
15665
16240
|
async describeEdgeMachineModelsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineModelsResponse> {
|
|
15666
16241
|
let req = new $OpenApi.OpenApiRequest({
|
|
15667
16242
|
headers: headers,
|
|
@@ -15680,12 +16255,24 @@ export default class Client extends OpenApi {
|
|
|
15680
16255
|
return $tea.cast<DescribeEdgeMachineModelsResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
15681
16256
|
}
|
|
15682
16257
|
|
|
16258
|
+
/**
|
|
16259
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
16260
|
+
*
|
|
16261
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
16262
|
+
*/
|
|
15683
16263
|
async describeEdgeMachineModels(): Promise<DescribeEdgeMachineModelsResponse> {
|
|
15684
16264
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15685
16265
|
let headers : {[key: string ]: string} = { };
|
|
15686
16266
|
return await this.describeEdgeMachineModelsWithOptions(headers, runtime);
|
|
15687
16267
|
}
|
|
15688
16268
|
|
|
16269
|
+
/**
|
|
16270
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
16271
|
+
*
|
|
16272
|
+
* @param headers map
|
|
16273
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16274
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
16275
|
+
*/
|
|
15689
16276
|
async describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineTunnelConfigDetailResponse> {
|
|
15690
16277
|
let req = new $OpenApi.OpenApiRequest({
|
|
15691
16278
|
headers: headers,
|
|
@@ -15704,12 +16291,25 @@ export default class Client extends OpenApi {
|
|
|
15704
16291
|
return $tea.cast<DescribeEdgeMachineTunnelConfigDetailResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
15705
16292
|
}
|
|
15706
16293
|
|
|
16294
|
+
/**
|
|
16295
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
16296
|
+
*
|
|
16297
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
16298
|
+
*/
|
|
15707
16299
|
async describeEdgeMachineTunnelConfigDetail(edgeMachineid: string): Promise<DescribeEdgeMachineTunnelConfigDetailResponse> {
|
|
15708
16300
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15709
16301
|
let headers : {[key: string ]: string} = { };
|
|
15710
16302
|
return await this.describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime);
|
|
15711
16303
|
}
|
|
15712
16304
|
|
|
16305
|
+
/**
|
|
16306
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
16307
|
+
*
|
|
16308
|
+
* @param request DescribeEdgeMachinesRequest
|
|
16309
|
+
* @param headers map
|
|
16310
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16311
|
+
* @return DescribeEdgeMachinesResponse
|
|
16312
|
+
*/
|
|
15713
16313
|
async describeEdgeMachinesWithOptions(request: DescribeEdgeMachinesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachinesResponse> {
|
|
15714
16314
|
Util.validateModel(request);
|
|
15715
16315
|
let query : {[key: string ]: any} = { };
|
|
@@ -15755,12 +16355,26 @@ export default class Client extends OpenApi {
|
|
|
15755
16355
|
return $tea.cast<DescribeEdgeMachinesResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
15756
16356
|
}
|
|
15757
16357
|
|
|
16358
|
+
/**
|
|
16359
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
16360
|
+
*
|
|
16361
|
+
* @param request DescribeEdgeMachinesRequest
|
|
16362
|
+
* @return DescribeEdgeMachinesResponse
|
|
16363
|
+
*/
|
|
15758
16364
|
async describeEdgeMachines(request: DescribeEdgeMachinesRequest): Promise<DescribeEdgeMachinesResponse> {
|
|
15759
16365
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15760
16366
|
let headers : {[key: string ]: string} = { };
|
|
15761
16367
|
return await this.describeEdgeMachinesWithOptions(request, headers, runtime);
|
|
15762
16368
|
}
|
|
15763
16369
|
|
|
16370
|
+
/**
|
|
16371
|
+
* @summary Queries detailed information about a type of events, including the severity level, status, and start time of each event. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
16372
|
+
*
|
|
16373
|
+
* @param request DescribeEventsRequest
|
|
16374
|
+
* @param headers map
|
|
16375
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16376
|
+
* @return DescribeEventsResponse
|
|
16377
|
+
*/
|
|
15764
16378
|
async describeEventsWithOptions(request: DescribeEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsResponse> {
|
|
15765
16379
|
Util.validateModel(request);
|
|
15766
16380
|
let query : {[key: string ]: any} = { };
|
|
@@ -15798,6 +16412,12 @@ export default class Client extends OpenApi {
|
|
|
15798
16412
|
return $tea.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
15799
16413
|
}
|
|
15800
16414
|
|
|
16415
|
+
/**
|
|
16416
|
+
* @summary Queries detailed information about a type of events, including the severity level, status, and start time of each event. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
16417
|
+
*
|
|
16418
|
+
* @param request DescribeEventsRequest
|
|
16419
|
+
* @return DescribeEventsResponse
|
|
16420
|
+
*/
|
|
15801
16421
|
async describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse> {
|
|
15802
16422
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15803
16423
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15805,12 +16425,14 @@ export default class Client extends OpenApi {
|
|
|
15805
16425
|
}
|
|
15806
16426
|
|
|
15807
16427
|
/**
|
|
15808
|
-
|
|
15809
|
-
|
|
15810
|
-
|
|
15811
|
-
|
|
15812
|
-
|
|
15813
|
-
|
|
16428
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
16429
|
+
*
|
|
16430
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
16431
|
+
*
|
|
16432
|
+
* @param request DescribeExternalAgentRequest
|
|
16433
|
+
* @param headers map
|
|
16434
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16435
|
+
* @return DescribeExternalAgentResponse
|
|
15814
16436
|
*/
|
|
15815
16437
|
async describeExternalAgentWithOptions(ClusterId: string, request: DescribeExternalAgentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse> {
|
|
15816
16438
|
Util.validateModel(request);
|
|
@@ -15842,10 +16464,12 @@ export default class Client extends OpenApi {
|
|
|
15842
16464
|
}
|
|
15843
16465
|
|
|
15844
16466
|
/**
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
|
|
16467
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
16468
|
+
*
|
|
16469
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
16470
|
+
*
|
|
16471
|
+
* @param request DescribeExternalAgentRequest
|
|
16472
|
+
* @return DescribeExternalAgentResponse
|
|
15849
16473
|
*/
|
|
15850
16474
|
async describeExternalAgent(ClusterId: string, request: DescribeExternalAgentRequest): Promise<DescribeExternalAgentResponse> {
|
|
15851
16475
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -15853,6 +16477,14 @@ export default class Client extends OpenApi {
|
|
|
15853
16477
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
15854
16478
|
}
|
|
15855
16479
|
|
|
16480
|
+
/**
|
|
16481
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
16482
|
+
*
|
|
16483
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
16484
|
+
* @param headers map
|
|
16485
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16486
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
16487
|
+
*/
|
|
15856
16488
|
async describeKubernetesVersionMetadataWithOptions(request: DescribeKubernetesVersionMetadataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeKubernetesVersionMetadataResponse> {
|
|
15857
16489
|
Util.validateModel(request);
|
|
15858
16490
|
let query : {[key: string ]: any} = { };
|
|
@@ -15898,12 +16530,26 @@ export default class Client extends OpenApi {
|
|
|
15898
16530
|
return $tea.cast<DescribeKubernetesVersionMetadataResponse>(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
15899
16531
|
}
|
|
15900
16532
|
|
|
16533
|
+
/**
|
|
16534
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
16535
|
+
*
|
|
16536
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
16537
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
16538
|
+
*/
|
|
15901
16539
|
async describeKubernetesVersionMetadata(request: DescribeKubernetesVersionMetadataRequest): Promise<DescribeKubernetesVersionMetadataResponse> {
|
|
15902
16540
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15903
16541
|
let headers : {[key: string ]: string} = { };
|
|
15904
16542
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
15905
16543
|
}
|
|
15906
16544
|
|
|
16545
|
+
/**
|
|
16546
|
+
* @summary Queries the vulnerability information of a node pool, such as vulnerability names and severity levels, by specifying the ID of the node pool. We recommend that you periodically scan node pools for vulnerabilities to enhance cluster security.
|
|
16547
|
+
*
|
|
16548
|
+
* @param request DescribeNodePoolVulsRequest
|
|
16549
|
+
* @param headers map
|
|
16550
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16551
|
+
* @return DescribeNodePoolVulsResponse
|
|
16552
|
+
*/
|
|
15907
16553
|
async describeNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeNodePoolVulsResponse> {
|
|
15908
16554
|
Util.validateModel(request);
|
|
15909
16555
|
let query : {[key: string ]: any} = { };
|
|
@@ -15929,12 +16575,25 @@ export default class Client extends OpenApi {
|
|
|
15929
16575
|
return $tea.cast<DescribeNodePoolVulsResponse>(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
15930
16576
|
}
|
|
15931
16577
|
|
|
16578
|
+
/**
|
|
16579
|
+
* @summary Queries the vulnerability information of a node pool, such as vulnerability names and severity levels, by specifying the ID of the node pool. We recommend that you periodically scan node pools for vulnerabilities to enhance cluster security.
|
|
16580
|
+
*
|
|
16581
|
+
* @param request DescribeNodePoolVulsRequest
|
|
16582
|
+
* @return DescribeNodePoolVulsResponse
|
|
16583
|
+
*/
|
|
15932
16584
|
async describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse> {
|
|
15933
16585
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15934
16586
|
let headers : {[key: string ]: string} = { };
|
|
15935
16587
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
15936
16588
|
}
|
|
15937
16589
|
|
|
16590
|
+
/**
|
|
16591
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
16592
|
+
*
|
|
16593
|
+
* @param headers map
|
|
16594
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16595
|
+
* @return DescribePoliciesResponse
|
|
16596
|
+
*/
|
|
15938
16597
|
async describePoliciesWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse> {
|
|
15939
16598
|
let req = new $OpenApi.OpenApiRequest({
|
|
15940
16599
|
headers: headers,
|
|
@@ -15953,12 +16612,24 @@ export default class Client extends OpenApi {
|
|
|
15953
16612
|
return $tea.cast<DescribePoliciesResponse>(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
15954
16613
|
}
|
|
15955
16614
|
|
|
16615
|
+
/**
|
|
16616
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
16617
|
+
*
|
|
16618
|
+
* @return DescribePoliciesResponse
|
|
16619
|
+
*/
|
|
15956
16620
|
async describePolicies(): Promise<DescribePoliciesResponse> {
|
|
15957
16621
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15958
16622
|
let headers : {[key: string ]: string} = { };
|
|
15959
16623
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
15960
16624
|
}
|
|
15961
16625
|
|
|
16626
|
+
/**
|
|
16627
|
+
* @summary Container security policies for Container Service for Kubernetes (ACK) clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyDetails operation to query information about a policy, such as the content, action, and severity level of the policy.
|
|
16628
|
+
*
|
|
16629
|
+
* @param headers map
|
|
16630
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16631
|
+
* @return DescribePolicyDetailsResponse
|
|
16632
|
+
*/
|
|
15962
16633
|
async describePolicyDetailsWithOptions(policyName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyDetailsResponse> {
|
|
15963
16634
|
let req = new $OpenApi.OpenApiRequest({
|
|
15964
16635
|
headers: headers,
|
|
@@ -15977,12 +16648,24 @@ export default class Client extends OpenApi {
|
|
|
15977
16648
|
return $tea.cast<DescribePolicyDetailsResponse>(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
15978
16649
|
}
|
|
15979
16650
|
|
|
16651
|
+
/**
|
|
16652
|
+
* @summary Container security policies for Container Service for Kubernetes (ACK) clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyDetails operation to query information about a policy, such as the content, action, and severity level of the policy.
|
|
16653
|
+
*
|
|
16654
|
+
* @return DescribePolicyDetailsResponse
|
|
16655
|
+
*/
|
|
15980
16656
|
async describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse> {
|
|
15981
16657
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15982
16658
|
let headers : {[key: string ]: string} = { };
|
|
15983
16659
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
15984
16660
|
}
|
|
15985
16661
|
|
|
16662
|
+
/**
|
|
16663
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
16664
|
+
*
|
|
16665
|
+
* @param headers map
|
|
16666
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16667
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
16668
|
+
*/
|
|
15986
16669
|
async describePolicyGovernanceInClusterWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse> {
|
|
15987
16670
|
let req = new $OpenApi.OpenApiRequest({
|
|
15988
16671
|
headers: headers,
|
|
@@ -16001,12 +16684,25 @@ export default class Client extends OpenApi {
|
|
|
16001
16684
|
return $tea.cast<DescribePolicyGovernanceInClusterResponse>(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
16002
16685
|
}
|
|
16003
16686
|
|
|
16687
|
+
/**
|
|
16688
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
16689
|
+
*
|
|
16690
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
16691
|
+
*/
|
|
16004
16692
|
async describePolicyGovernanceInCluster(clusterId: string): Promise<DescribePolicyGovernanceInClusterResponse> {
|
|
16005
16693
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16006
16694
|
let headers : {[key: string ]: string} = { };
|
|
16007
16695
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
16008
16696
|
}
|
|
16009
16697
|
|
|
16698
|
+
/**
|
|
16699
|
+
* @summary Queries the detailed information about policy instances of the specified type in a Container Service for Kubernetes (ACK) cluster, such as the policy description and severity level. You can choose a type of security policy for an ACK cluster, specify the action and applicable scope of the policy, and then create and deploy a policy instance.
|
|
16700
|
+
*
|
|
16701
|
+
* @param request DescribePolicyInstancesRequest
|
|
16702
|
+
* @param headers map
|
|
16703
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16704
|
+
* @return DescribePolicyInstancesResponse
|
|
16705
|
+
*/
|
|
16010
16706
|
async describePolicyInstancesWithOptions(clusterId: string, request: DescribePolicyInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesResponse> {
|
|
16011
16707
|
Util.validateModel(request);
|
|
16012
16708
|
let query : {[key: string ]: any} = { };
|
|
@@ -16036,12 +16732,25 @@ export default class Client extends OpenApi {
|
|
|
16036
16732
|
return $tea.cast<DescribePolicyInstancesResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
16037
16733
|
}
|
|
16038
16734
|
|
|
16735
|
+
/**
|
|
16736
|
+
* @summary Queries the detailed information about policy instances of the specified type in a Container Service for Kubernetes (ACK) cluster, such as the policy description and severity level. You can choose a type of security policy for an ACK cluster, specify the action and applicable scope of the policy, and then create and deploy a policy instance.
|
|
16737
|
+
*
|
|
16738
|
+
* @param request DescribePolicyInstancesRequest
|
|
16739
|
+
* @return DescribePolicyInstancesResponse
|
|
16740
|
+
*/
|
|
16039
16741
|
async describePolicyInstances(clusterId: string, request: DescribePolicyInstancesRequest): Promise<DescribePolicyInstancesResponse> {
|
|
16040
16742
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16041
16743
|
let headers : {[key: string ]: string} = { };
|
|
16042
16744
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
16043
16745
|
}
|
|
16044
16746
|
|
|
16747
|
+
/**
|
|
16748
|
+
* @summary Queries the deployment of policy instances in the current Container Service for Kubernetes (ACK) cluster, including the number of policy instances of each type and the number of policy types of each severity level.
|
|
16749
|
+
*
|
|
16750
|
+
* @param headers map
|
|
16751
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16752
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
16753
|
+
*/
|
|
16045
16754
|
async describePolicyInstancesStatusWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesStatusResponse> {
|
|
16046
16755
|
let req = new $OpenApi.OpenApiRequest({
|
|
16047
16756
|
headers: headers,
|
|
@@ -16060,6 +16769,11 @@ export default class Client extends OpenApi {
|
|
|
16060
16769
|
return $tea.cast<DescribePolicyInstancesStatusResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
16061
16770
|
}
|
|
16062
16771
|
|
|
16772
|
+
/**
|
|
16773
|
+
* @summary Queries the deployment of policy instances in the current Container Service for Kubernetes (ACK) cluster, including the number of policy instances of each type and the number of policy types of each severity level.
|
|
16774
|
+
*
|
|
16775
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
16776
|
+
*/
|
|
16063
16777
|
async describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse> {
|
|
16064
16778
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16065
16779
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16067,13 +16781,15 @@ export default class Client extends OpenApi {
|
|
|
16067
16781
|
}
|
|
16068
16782
|
|
|
16069
16783
|
/**
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16784
|
+
* @summary You can use an Alibaba Cloud account to call the DescribeSubaccountK8sClusterUserConfig operation to obtain the cluster kubeconfig file of a RAM user or RAM role.
|
|
16785
|
+
*
|
|
16786
|
+
* @description **
|
|
16787
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
16788
|
+
*
|
|
16789
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
16790
|
+
* @param headers map
|
|
16791
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16792
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
16077
16793
|
*/
|
|
16078
16794
|
async describeSubaccountK8sClusterUserConfigWithOptions(ClusterId: string, Uid: string, request: DescribeSubaccountK8sClusterUserConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse> {
|
|
16079
16795
|
Util.validateModel(request);
|
|
@@ -16105,11 +16821,13 @@ export default class Client extends OpenApi {
|
|
|
16105
16821
|
}
|
|
16106
16822
|
|
|
16107
16823
|
/**
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16824
|
+
* @summary You can use an Alibaba Cloud account to call the DescribeSubaccountK8sClusterUserConfig operation to obtain the cluster kubeconfig file of a RAM user or RAM role.
|
|
16825
|
+
*
|
|
16826
|
+
* @description **
|
|
16827
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
16828
|
+
*
|
|
16829
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
16830
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
16113
16831
|
*/
|
|
16114
16832
|
async describeSubaccountK8sClusterUserConfig(ClusterId: string, Uid: string, request: DescribeSubaccountK8sClusterUserConfigRequest): Promise<DescribeSubaccountK8sClusterUserConfigResponse> {
|
|
16115
16833
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16117,6 +16835,13 @@ export default class Client extends OpenApi {
|
|
|
16117
16835
|
return await this.describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
16118
16836
|
}
|
|
16119
16837
|
|
|
16838
|
+
/**
|
|
16839
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
16840
|
+
*
|
|
16841
|
+
* @param headers map
|
|
16842
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16843
|
+
* @return DescribeTaskInfoResponse
|
|
16844
|
+
*/
|
|
16120
16845
|
async describeTaskInfoWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTaskInfoResponse> {
|
|
16121
16846
|
let req = new $OpenApi.OpenApiRequest({
|
|
16122
16847
|
headers: headers,
|
|
@@ -16135,12 +16860,25 @@ export default class Client extends OpenApi {
|
|
|
16135
16860
|
return $tea.cast<DescribeTaskInfoResponse>(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
16136
16861
|
}
|
|
16137
16862
|
|
|
16863
|
+
/**
|
|
16864
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
16865
|
+
*
|
|
16866
|
+
* @return DescribeTaskInfoResponse
|
|
16867
|
+
*/
|
|
16138
16868
|
async describeTaskInfo(taskId: string): Promise<DescribeTaskInfoResponse> {
|
|
16139
16869
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16140
16870
|
let headers : {[key: string ]: string} = { };
|
|
16141
16871
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
16142
16872
|
}
|
|
16143
16873
|
|
|
16874
|
+
/**
|
|
16875
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
16876
|
+
*
|
|
16877
|
+
* @param request DescribeTemplateAttributeRequest
|
|
16878
|
+
* @param headers map
|
|
16879
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16880
|
+
* @return DescribeTemplateAttributeResponse
|
|
16881
|
+
*/
|
|
16144
16882
|
async describeTemplateAttributeWithOptions(TemplateId: string, request: DescribeTemplateAttributeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTemplateAttributeResponse> {
|
|
16145
16883
|
Util.validateModel(request);
|
|
16146
16884
|
let query : {[key: string ]: any} = { };
|
|
@@ -16166,12 +16904,26 @@ export default class Client extends OpenApi {
|
|
|
16166
16904
|
return $tea.cast<DescribeTemplateAttributeResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
16167
16905
|
}
|
|
16168
16906
|
|
|
16907
|
+
/**
|
|
16908
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
16909
|
+
*
|
|
16910
|
+
* @param request DescribeTemplateAttributeRequest
|
|
16911
|
+
* @return DescribeTemplateAttributeResponse
|
|
16912
|
+
*/
|
|
16169
16913
|
async describeTemplateAttribute(TemplateId: string, request: DescribeTemplateAttributeRequest): Promise<DescribeTemplateAttributeResponse> {
|
|
16170
16914
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16171
16915
|
let headers : {[key: string ]: string} = { };
|
|
16172
16916
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
16173
16917
|
}
|
|
16174
16918
|
|
|
16919
|
+
/**
|
|
16920
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
16921
|
+
*
|
|
16922
|
+
* @param request DescribeTemplatesRequest
|
|
16923
|
+
* @param headers map
|
|
16924
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16925
|
+
* @return DescribeTemplatesResponse
|
|
16926
|
+
*/
|
|
16175
16927
|
async describeTemplatesWithOptions(request: DescribeTemplatesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTemplatesResponse> {
|
|
16176
16928
|
Util.validateModel(request);
|
|
16177
16929
|
let query : {[key: string ]: any} = { };
|
|
@@ -16205,12 +16957,26 @@ export default class Client extends OpenApi {
|
|
|
16205
16957
|
return $tea.cast<DescribeTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
16206
16958
|
}
|
|
16207
16959
|
|
|
16960
|
+
/**
|
|
16961
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
16962
|
+
*
|
|
16963
|
+
* @param request DescribeTemplatesRequest
|
|
16964
|
+
* @return DescribeTemplatesResponse
|
|
16965
|
+
*/
|
|
16208
16966
|
async describeTemplates(request: DescribeTemplatesRequest): Promise<DescribeTemplatesResponse> {
|
|
16209
16967
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16210
16968
|
let headers : {[key: string ]: string} = { };
|
|
16211
16969
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
16212
16970
|
}
|
|
16213
16971
|
|
|
16972
|
+
/**
|
|
16973
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
16974
|
+
*
|
|
16975
|
+
* @param request DescribeTriggerRequest
|
|
16976
|
+
* @param headers map
|
|
16977
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16978
|
+
* @return DescribeTriggerResponse
|
|
16979
|
+
*/
|
|
16214
16980
|
async describeTriggerWithOptions(clusterId: string, request: DescribeTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTriggerResponse> {
|
|
16215
16981
|
Util.validateModel(request);
|
|
16216
16982
|
let query : {[key: string ]: any} = { };
|
|
@@ -16248,12 +17014,25 @@ export default class Client extends OpenApi {
|
|
|
16248
17014
|
return $tea.cast<DescribeTriggerResponse>(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
16249
17015
|
}
|
|
16250
17016
|
|
|
17017
|
+
/**
|
|
17018
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
17019
|
+
*
|
|
17020
|
+
* @param request DescribeTriggerRequest
|
|
17021
|
+
* @return DescribeTriggerResponse
|
|
17022
|
+
*/
|
|
16251
17023
|
async describeTrigger(clusterId: string, request: DescribeTriggerRequest): Promise<DescribeTriggerResponse> {
|
|
16252
17024
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16253
17025
|
let headers : {[key: string ]: string} = { };
|
|
16254
17026
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
16255
17027
|
}
|
|
16256
17028
|
|
|
17029
|
+
/**
|
|
17030
|
+
* @summary Queries the Role-Based Access Control (RBAC) permissions that are granted to the current Resource Access Management (RAM) user or RAM role on a Container Service for Kubernetes (ACK) cluster. You can use Kubernetes namespaces to limit users from accessing resources in an ACK cluster. Users that are granted RBAC permissions only on one namespace cannot access resources in other namespaces.
|
|
17031
|
+
*
|
|
17032
|
+
* @param headers map
|
|
17033
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17034
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
17035
|
+
*/
|
|
16257
17036
|
async describeUserClusterNamespacesWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserClusterNamespacesResponse> {
|
|
16258
17037
|
let req = new $OpenApi.OpenApiRequest({
|
|
16259
17038
|
headers: headers,
|
|
@@ -16272,12 +17051,24 @@ export default class Client extends OpenApi {
|
|
|
16272
17051
|
return $tea.cast<DescribeUserClusterNamespacesResponse>(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
16273
17052
|
}
|
|
16274
17053
|
|
|
17054
|
+
/**
|
|
17055
|
+
* @summary Queries the Role-Based Access Control (RBAC) permissions that are granted to the current Resource Access Management (RAM) user or RAM role on a Container Service for Kubernetes (ACK) cluster. You can use Kubernetes namespaces to limit users from accessing resources in an ACK cluster. Users that are granted RBAC permissions only on one namespace cannot access resources in other namespaces.
|
|
17056
|
+
*
|
|
17057
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
17058
|
+
*/
|
|
16275
17059
|
async describeUserClusterNamespaces(ClusterId: string): Promise<DescribeUserClusterNamespacesResponse> {
|
|
16276
17060
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16277
17061
|
let headers : {[key: string ]: string} = { };
|
|
16278
17062
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
16279
17063
|
}
|
|
16280
17064
|
|
|
17065
|
+
/**
|
|
17066
|
+
* @summary In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
17067
|
+
*
|
|
17068
|
+
* @param headers map
|
|
17069
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17070
|
+
* @return DescribeUserPermissionResponse
|
|
17071
|
+
*/
|
|
16281
17072
|
async describeUserPermissionWithOptions(uid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserPermissionResponse> {
|
|
16282
17073
|
let req = new $OpenApi.OpenApiRequest({
|
|
16283
17074
|
headers: headers,
|
|
@@ -16296,12 +17087,24 @@ export default class Client extends OpenApi {
|
|
|
16296
17087
|
return $tea.cast<DescribeUserPermissionResponse>(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
16297
17088
|
}
|
|
16298
17089
|
|
|
17090
|
+
/**
|
|
17091
|
+
* @summary In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
17092
|
+
*
|
|
17093
|
+
* @return DescribeUserPermissionResponse
|
|
17094
|
+
*/
|
|
16299
17095
|
async describeUserPermission(uid: string): Promise<DescribeUserPermissionResponse> {
|
|
16300
17096
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16301
17097
|
let headers : {[key: string ]: string} = { };
|
|
16302
17098
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
16303
17099
|
}
|
|
16304
17100
|
|
|
17101
|
+
/**
|
|
17102
|
+
* @summary Queries quotas related to Container Service for Kubernetes (ACK) clusters, node pools, and nodes. To increase a quota, submit an application in the Quota Center console.
|
|
17103
|
+
*
|
|
17104
|
+
* @param headers map
|
|
17105
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17106
|
+
* @return DescribeUserQuotaResponse
|
|
17107
|
+
*/
|
|
16305
17108
|
async describeUserQuotaWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserQuotaResponse> {
|
|
16306
17109
|
let req = new $OpenApi.OpenApiRequest({
|
|
16307
17110
|
headers: headers,
|
|
@@ -16320,12 +17123,24 @@ export default class Client extends OpenApi {
|
|
|
16320
17123
|
return $tea.cast<DescribeUserQuotaResponse>(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
16321
17124
|
}
|
|
16322
17125
|
|
|
17126
|
+
/**
|
|
17127
|
+
* @summary Queries quotas related to Container Service for Kubernetes (ACK) clusters, node pools, and nodes. To increase a quota, submit an application in the Quota Center console.
|
|
17128
|
+
*
|
|
17129
|
+
* @return DescribeUserQuotaResponse
|
|
17130
|
+
*/
|
|
16323
17131
|
async describeUserQuota(): Promise<DescribeUserQuotaResponse> {
|
|
16324
17132
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16325
17133
|
let headers : {[key: string ]: string} = { };
|
|
16326
17134
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
16327
17135
|
}
|
|
16328
17136
|
|
|
17137
|
+
/**
|
|
17138
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
17139
|
+
*
|
|
17140
|
+
* @param headers map
|
|
17141
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17142
|
+
* @return DescribeWorkflowsResponse
|
|
17143
|
+
*/
|
|
16329
17144
|
async describeWorkflowsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse> {
|
|
16330
17145
|
let req = new $OpenApi.OpenApiRequest({
|
|
16331
17146
|
headers: headers,
|
|
@@ -16344,12 +17159,25 @@ export default class Client extends OpenApi {
|
|
|
16344
17159
|
return $tea.cast<DescribeWorkflowsResponse>(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
|
|
16345
17160
|
}
|
|
16346
17161
|
|
|
17162
|
+
/**
|
|
17163
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
17164
|
+
*
|
|
17165
|
+
* @return DescribeWorkflowsResponse
|
|
17166
|
+
*/
|
|
16347
17167
|
async describeWorkflows(): Promise<DescribeWorkflowsResponse> {
|
|
16348
17168
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16349
17169
|
let headers : {[key: string ]: string} = { };
|
|
16350
17170
|
return await this.describeWorkflowsWithOptions(headers, runtime);
|
|
16351
17171
|
}
|
|
16352
17172
|
|
|
17173
|
+
/**
|
|
17174
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
17175
|
+
*
|
|
17176
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
17177
|
+
* @param headers map
|
|
17178
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17179
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
17180
|
+
*/
|
|
16353
17181
|
async edgeClusterAddEdgeMachineWithOptions(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
16354
17182
|
Util.validateModel(request);
|
|
16355
17183
|
let body : {[key: string ]: any} = { };
|
|
@@ -16383,6 +17211,12 @@ export default class Client extends OpenApi {
|
|
|
16383
17211
|
return $tea.cast<EdgeClusterAddEdgeMachineResponse>(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
16384
17212
|
}
|
|
16385
17213
|
|
|
17214
|
+
/**
|
|
17215
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
17216
|
+
*
|
|
17217
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
17218
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
17219
|
+
*/
|
|
16386
17220
|
async edgeClusterAddEdgeMachine(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
16387
17221
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16388
17222
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16390,15 +17224,17 @@ export default class Client extends OpenApi {
|
|
|
16390
17224
|
}
|
|
16391
17225
|
|
|
16392
17226
|
/**
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16397
|
-
|
|
16398
|
-
|
|
16399
|
-
|
|
16400
|
-
|
|
16401
|
-
|
|
17227
|
+
* @summary Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.
|
|
17228
|
+
*
|
|
17229
|
+
* @description 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
|
|
17230
|
+
* 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
|
|
17231
|
+
* 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
|
|
17232
|
+
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
17233
|
+
*
|
|
17234
|
+
* @param request FixNodePoolVulsRequest
|
|
17235
|
+
* @param headers map
|
|
17236
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17237
|
+
* @return FixNodePoolVulsResponse
|
|
16402
17238
|
*/
|
|
16403
17239
|
async fixNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<FixNodePoolVulsResponse> {
|
|
16404
17240
|
Util.validateModel(request);
|
|
@@ -16438,13 +17274,15 @@ export default class Client extends OpenApi {
|
|
|
16438
17274
|
}
|
|
16439
17275
|
|
|
16440
17276
|
/**
|
|
16441
|
-
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
|
|
16446
|
-
|
|
16447
|
-
|
|
17277
|
+
* @summary Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.
|
|
17278
|
+
*
|
|
17279
|
+
* @description 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
|
|
17280
|
+
* 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
|
|
17281
|
+
* 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
|
|
17282
|
+
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
17283
|
+
*
|
|
17284
|
+
* @param request FixNodePoolVulsRequest
|
|
17285
|
+
* @return FixNodePoolVulsResponse
|
|
16448
17286
|
*/
|
|
16449
17287
|
async fixNodePoolVuls(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest): Promise<FixNodePoolVulsResponse> {
|
|
16450
17288
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16452,6 +17290,13 @@ export default class Client extends OpenApi {
|
|
|
16452
17290
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
16453
17291
|
}
|
|
16454
17292
|
|
|
17293
|
+
/**
|
|
17294
|
+
* @summary You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
|
|
17295
|
+
*
|
|
17296
|
+
* @param headers map
|
|
17297
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17298
|
+
* @return GetClusterAddonInstanceResponse
|
|
17299
|
+
*/
|
|
16455
17300
|
async getClusterAddonInstanceWithOptions(clusterId: string, instanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterAddonInstanceResponse> {
|
|
16456
17301
|
let req = new $OpenApi.OpenApiRequest({
|
|
16457
17302
|
headers: headers,
|
|
@@ -16470,12 +17315,24 @@ export default class Client extends OpenApi {
|
|
|
16470
17315
|
return $tea.cast<GetClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
16471
17316
|
}
|
|
16472
17317
|
|
|
17318
|
+
/**
|
|
17319
|
+
* @summary You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
|
|
17320
|
+
*
|
|
17321
|
+
* @return GetClusterAddonInstanceResponse
|
|
17322
|
+
*/
|
|
16473
17323
|
async getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse> {
|
|
16474
17324
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16475
17325
|
let headers : {[key: string ]: string} = { };
|
|
16476
17326
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
16477
17327
|
}
|
|
16478
17328
|
|
|
17329
|
+
/**
|
|
17330
|
+
* @summary Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
|
|
17331
|
+
*
|
|
17332
|
+
* @param headers map
|
|
17333
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17334
|
+
* @return GetClusterCheckResponse
|
|
17335
|
+
*/
|
|
16479
17336
|
async getClusterCheckWithOptions(clusterId: string, checkId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckResponse> {
|
|
16480
17337
|
let req = new $OpenApi.OpenApiRequest({
|
|
16481
17338
|
headers: headers,
|
|
@@ -16494,12 +17351,25 @@ export default class Client extends OpenApi {
|
|
|
16494
17351
|
return $tea.cast<GetClusterCheckResponse>(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
16495
17352
|
}
|
|
16496
17353
|
|
|
17354
|
+
/**
|
|
17355
|
+
* @summary Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
|
|
17356
|
+
*
|
|
17357
|
+
* @return GetClusterCheckResponse
|
|
17358
|
+
*/
|
|
16497
17359
|
async getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse> {
|
|
16498
17360
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16499
17361
|
let headers : {[key: string ]: string} = { };
|
|
16500
17362
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
16501
17363
|
}
|
|
16502
17364
|
|
|
17365
|
+
/**
|
|
17366
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
17367
|
+
*
|
|
17368
|
+
* @param request GetKubernetesTriggerRequest
|
|
17369
|
+
* @param headers map
|
|
17370
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17371
|
+
* @return GetKubernetesTriggerResponse
|
|
17372
|
+
*/
|
|
16503
17373
|
async getKubernetesTriggerWithOptions(ClusterId: string, request: GetKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetKubernetesTriggerResponse> {
|
|
16504
17374
|
Util.validateModel(request);
|
|
16505
17375
|
let query : {[key: string ]: any} = { };
|
|
@@ -16537,12 +17407,25 @@ export default class Client extends OpenApi {
|
|
|
16537
17407
|
return $tea.cast<GetKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
16538
17408
|
}
|
|
16539
17409
|
|
|
17410
|
+
/**
|
|
17411
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
17412
|
+
*
|
|
17413
|
+
* @param request GetKubernetesTriggerRequest
|
|
17414
|
+
* @return GetKubernetesTriggerResponse
|
|
17415
|
+
*/
|
|
16540
17416
|
async getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse> {
|
|
16541
17417
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16542
17418
|
let headers : {[key: string ]: string} = { };
|
|
16543
17419
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
16544
17420
|
}
|
|
16545
17421
|
|
|
17422
|
+
/**
|
|
17423
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
17424
|
+
*
|
|
17425
|
+
* @param headers map
|
|
17426
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17427
|
+
* @return GetUpgradeStatusResponse
|
|
17428
|
+
*/
|
|
16546
17429
|
async getUpgradeStatusWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse> {
|
|
16547
17430
|
let req = new $OpenApi.OpenApiRequest({
|
|
16548
17431
|
headers: headers,
|
|
@@ -16561,6 +17444,11 @@ export default class Client extends OpenApi {
|
|
|
16561
17444
|
return $tea.cast<GetUpgradeStatusResponse>(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
16562
17445
|
}
|
|
16563
17446
|
|
|
17447
|
+
/**
|
|
17448
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
17449
|
+
*
|
|
17450
|
+
* @return GetUpgradeStatusResponse
|
|
17451
|
+
*/
|
|
16564
17452
|
async getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse> {
|
|
16565
17453
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16566
17454
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16568,15 +17456,17 @@ export default class Client extends OpenApi {
|
|
|
16568
17456
|
}
|
|
16569
17457
|
|
|
16570
17458
|
/**
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
|
|
17459
|
+
* @summary You can call the GrantPermissions operation to grant a Resource Access Management (RAM) user the permissions to manage Container Service for Kubernetes (ACK) clusters.
|
|
17460
|
+
*
|
|
17461
|
+
* @description ****
|
|
17462
|
+
* * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
|
|
17463
|
+
* * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
17464
|
+
* * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
|
|
17465
|
+
*
|
|
17466
|
+
* @param request GrantPermissionsRequest
|
|
17467
|
+
* @param headers map
|
|
17468
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17469
|
+
* @return GrantPermissionsResponse
|
|
16580
17470
|
*/
|
|
16581
17471
|
async grantPermissionsWithOptions(uid: string, request: GrantPermissionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse> {
|
|
16582
17472
|
Util.validateModel(request);
|
|
@@ -16599,13 +17489,15 @@ export default class Client extends OpenApi {
|
|
|
16599
17489
|
}
|
|
16600
17490
|
|
|
16601
17491
|
/**
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
17492
|
+
* @summary You can call the GrantPermissions operation to grant a Resource Access Management (RAM) user the permissions to manage Container Service for Kubernetes (ACK) clusters.
|
|
17493
|
+
*
|
|
17494
|
+
* @description ****
|
|
17495
|
+
* * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
|
|
17496
|
+
* * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
17497
|
+
* * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
|
|
17498
|
+
*
|
|
17499
|
+
* @param request GrantPermissionsRequest
|
|
17500
|
+
* @return GrantPermissionsResponse
|
|
16609
17501
|
*/
|
|
16610
17502
|
async grantPermissions(uid: string, request: GrantPermissionsRequest): Promise<GrantPermissionsResponse> {
|
|
16611
17503
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16613,6 +17505,14 @@ export default class Client extends OpenApi {
|
|
|
16613
17505
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
16614
17506
|
}
|
|
16615
17507
|
|
|
17508
|
+
/**
|
|
17509
|
+
* @summary Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
17510
|
+
*
|
|
17511
|
+
* @param request InstallClusterAddonsRequest
|
|
17512
|
+
* @param headers map
|
|
17513
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17514
|
+
* @return InstallClusterAddonsResponse
|
|
17515
|
+
*/
|
|
16616
17516
|
async installClusterAddonsWithOptions(ClusterId: string, request: InstallClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<InstallClusterAddonsResponse> {
|
|
16617
17517
|
Util.validateModel(request);
|
|
16618
17518
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -16633,12 +17533,26 @@ export default class Client extends OpenApi {
|
|
|
16633
17533
|
return $tea.cast<InstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
16634
17534
|
}
|
|
16635
17535
|
|
|
17536
|
+
/**
|
|
17537
|
+
* @summary Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
17538
|
+
*
|
|
17539
|
+
* @param request InstallClusterAddonsRequest
|
|
17540
|
+
* @return InstallClusterAddonsResponse
|
|
17541
|
+
*/
|
|
16636
17542
|
async installClusterAddons(ClusterId: string, request: InstallClusterAddonsRequest): Promise<InstallClusterAddonsResponse> {
|
|
16637
17543
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16638
17544
|
let headers : {[key: string ]: string} = { };
|
|
16639
17545
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
16640
17546
|
}
|
|
16641
17547
|
|
|
17548
|
+
/**
|
|
17549
|
+
* @summary You can call the ListAddons operation to query all available components in a cluster. You can query all available components in a cluster by specifying the ID of the cluster. You can also specify parameters such as the region, cluster type, cluster subtype (profile), cluster specification, and cluster version to get a list of available components in clusters that meet the conditions.
|
|
17550
|
+
*
|
|
17551
|
+
* @param request ListAddonsRequest
|
|
17552
|
+
* @param headers map
|
|
17553
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17554
|
+
* @return ListAddonsResponse
|
|
17555
|
+
*/
|
|
16642
17556
|
async listAddonsWithOptions(request: ListAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListAddonsResponse> {
|
|
16643
17557
|
Util.validateModel(request);
|
|
16644
17558
|
let query : {[key: string ]: any} = { };
|
|
@@ -16684,12 +17598,25 @@ export default class Client extends OpenApi {
|
|
|
16684
17598
|
return $tea.cast<ListAddonsResponse>(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
16685
17599
|
}
|
|
16686
17600
|
|
|
17601
|
+
/**
|
|
17602
|
+
* @summary You can call the ListAddons operation to query all available components in a cluster. You can query all available components in a cluster by specifying the ID of the cluster. You can also specify parameters such as the region, cluster type, cluster subtype (profile), cluster specification, and cluster version to get a list of available components in clusters that meet the conditions.
|
|
17603
|
+
*
|
|
17604
|
+
* @param request ListAddonsRequest
|
|
17605
|
+
* @return ListAddonsResponse
|
|
17606
|
+
*/
|
|
16687
17607
|
async listAddons(request: ListAddonsRequest): Promise<ListAddonsResponse> {
|
|
16688
17608
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16689
17609
|
let headers : {[key: string ]: string} = { };
|
|
16690
17610
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
16691
17611
|
}
|
|
16692
17612
|
|
|
17613
|
+
/**
|
|
17614
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
17615
|
+
*
|
|
17616
|
+
* @param headers map
|
|
17617
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17618
|
+
* @return ListClusterAddonInstancesResponse
|
|
17619
|
+
*/
|
|
16693
17620
|
async listClusterAddonInstancesWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterAddonInstancesResponse> {
|
|
16694
17621
|
let req = new $OpenApi.OpenApiRequest({
|
|
16695
17622
|
headers: headers,
|
|
@@ -16708,12 +17635,25 @@ export default class Client extends OpenApi {
|
|
|
16708
17635
|
return $tea.cast<ListClusterAddonInstancesResponse>(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
16709
17636
|
}
|
|
16710
17637
|
|
|
17638
|
+
/**
|
|
17639
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
17640
|
+
*
|
|
17641
|
+
* @return ListClusterAddonInstancesResponse
|
|
17642
|
+
*/
|
|
16711
17643
|
async listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse> {
|
|
16712
17644
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16713
17645
|
let headers : {[key: string ]: string} = { };
|
|
16714
17646
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
16715
17647
|
}
|
|
16716
17648
|
|
|
17649
|
+
/**
|
|
17650
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
17651
|
+
*
|
|
17652
|
+
* @param request ListClusterChecksRequest
|
|
17653
|
+
* @param headers map
|
|
17654
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17655
|
+
* @return ListClusterChecksResponse
|
|
17656
|
+
*/
|
|
16717
17657
|
async listClusterChecksWithOptions(clusterId: string, request: ListClusterChecksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse> {
|
|
16718
17658
|
Util.validateModel(request);
|
|
16719
17659
|
let query : {[key: string ]: any} = { };
|
|
@@ -16743,12 +17683,26 @@ export default class Client extends OpenApi {
|
|
|
16743
17683
|
return $tea.cast<ListClusterChecksResponse>(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
16744
17684
|
}
|
|
16745
17685
|
|
|
17686
|
+
/**
|
|
17687
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
17688
|
+
*
|
|
17689
|
+
* @param request ListClusterChecksRequest
|
|
17690
|
+
* @return ListClusterChecksResponse
|
|
17691
|
+
*/
|
|
16746
17692
|
async listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse> {
|
|
16747
17693
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16748
17694
|
let headers : {[key: string ]: string} = { };
|
|
16749
17695
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
16750
17696
|
}
|
|
16751
17697
|
|
|
17698
|
+
/**
|
|
17699
|
+
* @summary 获取自动运维执行计划列表
|
|
17700
|
+
*
|
|
17701
|
+
* @param request ListOperationPlansRequest
|
|
17702
|
+
* @param headers map
|
|
17703
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17704
|
+
* @return ListOperationPlansResponse
|
|
17705
|
+
*/
|
|
16752
17706
|
async listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse> {
|
|
16753
17707
|
Util.validateModel(request);
|
|
16754
17708
|
let query : {[key: string ]: any} = { };
|
|
@@ -16778,12 +17732,26 @@ export default class Client extends OpenApi {
|
|
|
16778
17732
|
return $tea.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
16779
17733
|
}
|
|
16780
17734
|
|
|
17735
|
+
/**
|
|
17736
|
+
* @summary 获取自动运维执行计划列表
|
|
17737
|
+
*
|
|
17738
|
+
* @param request ListOperationPlansRequest
|
|
17739
|
+
* @return ListOperationPlansResponse
|
|
17740
|
+
*/
|
|
16781
17741
|
async listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse> {
|
|
16782
17742
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16783
17743
|
let headers : {[key: string ]: string} = { };
|
|
16784
17744
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
16785
17745
|
}
|
|
16786
17746
|
|
|
17747
|
+
/**
|
|
17748
|
+
* @summary Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
17749
|
+
*
|
|
17750
|
+
* @param tmpReq ListTagResourcesRequest
|
|
17751
|
+
* @param headers map
|
|
17752
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17753
|
+
* @return ListTagResourcesResponse
|
|
17754
|
+
*/
|
|
16787
17755
|
async listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
16788
17756
|
Util.validateModel(tmpReq);
|
|
16789
17757
|
let request = new ListTagResourcesShrinkRequest({ });
|
|
@@ -16835,12 +17803,26 @@ export default class Client extends OpenApi {
|
|
|
16835
17803
|
return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
16836
17804
|
}
|
|
16837
17805
|
|
|
17806
|
+
/**
|
|
17807
|
+
* @summary Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
17808
|
+
*
|
|
17809
|
+
* @param request ListTagResourcesRequest
|
|
17810
|
+
* @return ListTagResourcesResponse
|
|
17811
|
+
*/
|
|
16838
17812
|
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
16839
17813
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16840
17814
|
let headers : {[key: string ]: string} = { };
|
|
16841
17815
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
16842
17816
|
}
|
|
16843
17817
|
|
|
17818
|
+
/**
|
|
17819
|
+
* @summary Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
|
|
17820
|
+
*
|
|
17821
|
+
* @param request MigrateClusterRequest
|
|
17822
|
+
* @param headers map
|
|
17823
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17824
|
+
* @return MigrateClusterResponse
|
|
17825
|
+
*/
|
|
16844
17826
|
async migrateClusterWithOptions(clusterId: string, request: MigrateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse> {
|
|
16845
17827
|
Util.validateModel(request);
|
|
16846
17828
|
let body : {[key: string ]: any} = { };
|
|
@@ -16870,12 +17852,26 @@ export default class Client extends OpenApi {
|
|
|
16870
17852
|
return $tea.cast<MigrateClusterResponse>(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
16871
17853
|
}
|
|
16872
17854
|
|
|
17855
|
+
/**
|
|
17856
|
+
* @summary Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
|
|
17857
|
+
*
|
|
17858
|
+
* @param request MigrateClusterRequest
|
|
17859
|
+
* @return MigrateClusterResponse
|
|
17860
|
+
*/
|
|
16873
17861
|
async migrateCluster(clusterId: string, request: MigrateClusterRequest): Promise<MigrateClusterResponse> {
|
|
16874
17862
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16875
17863
|
let headers : {[key: string ]: string} = { };
|
|
16876
17864
|
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
16877
17865
|
}
|
|
16878
17866
|
|
|
17867
|
+
/**
|
|
17868
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
17869
|
+
*
|
|
17870
|
+
* @param request ModifyClusterRequest
|
|
17871
|
+
* @param headers map
|
|
17872
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17873
|
+
* @return ModifyClusterResponse
|
|
17874
|
+
*/
|
|
16879
17875
|
async modifyClusterWithOptions(ClusterId: string, request: ModifyClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterResponse> {
|
|
16880
17876
|
Util.validateModel(request);
|
|
16881
17877
|
let body : {[key: string ]: any} = { };
|
|
@@ -16953,6 +17949,12 @@ export default class Client extends OpenApi {
|
|
|
16953
17949
|
return $tea.cast<ModifyClusterResponse>(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
16954
17950
|
}
|
|
16955
17951
|
|
|
17952
|
+
/**
|
|
17953
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
17954
|
+
*
|
|
17955
|
+
* @param request ModifyClusterRequest
|
|
17956
|
+
* @return ModifyClusterResponse
|
|
17957
|
+
*/
|
|
16956
17958
|
async modifyCluster(ClusterId: string, request: ModifyClusterRequest): Promise<ModifyClusterResponse> {
|
|
16957
17959
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16958
17960
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16960,15 +17962,17 @@ export default class Client extends OpenApi {
|
|
|
16960
17962
|
}
|
|
16961
17963
|
|
|
16962
17964
|
/**
|
|
16963
|
-
|
|
16964
|
-
|
|
16965
|
-
|
|
16966
|
-
|
|
16967
|
-
|
|
16968
|
-
|
|
16969
|
-
|
|
16970
|
-
|
|
16971
|
-
|
|
17965
|
+
* @summary 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.
|
|
17966
|
+
*
|
|
17967
|
+
* @description You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
17968
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
|
|
17969
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
|
|
17970
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
17971
|
+
*
|
|
17972
|
+
* @param request ModifyClusterAddonRequest
|
|
17973
|
+
* @param headers map
|
|
17974
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17975
|
+
* @return ModifyClusterAddonResponse
|
|
16972
17976
|
*/
|
|
16973
17977
|
async modifyClusterAddonWithOptions(clusterId: string, componentId: string, request: ModifyClusterAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterAddonResponse> {
|
|
16974
17978
|
Util.validateModel(request);
|
|
@@ -16996,13 +18000,15 @@ export default class Client extends OpenApi {
|
|
|
16996
18000
|
}
|
|
16997
18001
|
|
|
16998
18002
|
/**
|
|
16999
|
-
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
18003
|
+
* @summary 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.
|
|
18004
|
+
*
|
|
18005
|
+
* @description You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
18006
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
|
|
18007
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
|
|
18008
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
18009
|
+
*
|
|
18010
|
+
* @param request ModifyClusterAddonRequest
|
|
18011
|
+
* @return ModifyClusterAddonResponse
|
|
17006
18012
|
*/
|
|
17007
18013
|
async modifyClusterAddon(clusterId: string, componentId: string, request: ModifyClusterAddonRequest): Promise<ModifyClusterAddonResponse> {
|
|
17008
18014
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17010,6 +18016,14 @@ export default class Client extends OpenApi {
|
|
|
17010
18016
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
17011
18017
|
}
|
|
17012
18018
|
|
|
18019
|
+
/**
|
|
18020
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
18021
|
+
*
|
|
18022
|
+
* @param request ModifyClusterConfigurationRequest
|
|
18023
|
+
* @param headers map
|
|
18024
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18025
|
+
* @return ModifyClusterConfigurationResponse
|
|
18026
|
+
*/
|
|
17013
18027
|
async modifyClusterConfigurationWithOptions(ClusterId: string, request: ModifyClusterConfigurationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterConfigurationResponse> {
|
|
17014
18028
|
Util.validateModel(request);
|
|
17015
18029
|
let body : {[key: string ]: any} = { };
|
|
@@ -17035,12 +18049,26 @@ export default class Client extends OpenApi {
|
|
|
17035
18049
|
return $tea.cast<ModifyClusterConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
17036
18050
|
}
|
|
17037
18051
|
|
|
18052
|
+
/**
|
|
18053
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
18054
|
+
*
|
|
18055
|
+
* @param request ModifyClusterConfigurationRequest
|
|
18056
|
+
* @return ModifyClusterConfigurationResponse
|
|
18057
|
+
*/
|
|
17038
18058
|
async modifyClusterConfiguration(ClusterId: string, request: ModifyClusterConfigurationRequest): Promise<ModifyClusterConfigurationResponse> {
|
|
17039
18059
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17040
18060
|
let headers : {[key: string ]: string} = { };
|
|
17041
18061
|
return await this.modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime);
|
|
17042
18062
|
}
|
|
17043
18063
|
|
|
18064
|
+
/**
|
|
18065
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
18066
|
+
*
|
|
18067
|
+
* @param request ModifyClusterNodePoolRequest
|
|
18068
|
+
* @param headers map
|
|
18069
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18070
|
+
* @return ModifyClusterNodePoolResponse
|
|
18071
|
+
*/
|
|
17044
18072
|
async modifyClusterNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterNodePoolResponse> {
|
|
17045
18073
|
Util.validateModel(request);
|
|
17046
18074
|
let body : {[key: string ]: any} = { };
|
|
@@ -17094,12 +18122,26 @@ export default class Client extends OpenApi {
|
|
|
17094
18122
|
return $tea.cast<ModifyClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
17095
18123
|
}
|
|
17096
18124
|
|
|
18125
|
+
/**
|
|
18126
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
18127
|
+
*
|
|
18128
|
+
* @param request ModifyClusterNodePoolRequest
|
|
18129
|
+
* @return ModifyClusterNodePoolResponse
|
|
18130
|
+
*/
|
|
17097
18131
|
async modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest): Promise<ModifyClusterNodePoolResponse> {
|
|
17098
18132
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17099
18133
|
let headers : {[key: string ]: string} = { };
|
|
17100
18134
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17101
18135
|
}
|
|
17102
18136
|
|
|
18137
|
+
/**
|
|
18138
|
+
* @summary Modifies the labels of a Container Service for Kubernetes (ACK) cluster. You can use labels (key-value pairs) to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
18139
|
+
*
|
|
18140
|
+
* @param request ModifyClusterTagsRequest
|
|
18141
|
+
* @param headers map
|
|
18142
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18143
|
+
* @return ModifyClusterTagsResponse
|
|
18144
|
+
*/
|
|
17103
18145
|
async modifyClusterTagsWithOptions(ClusterId: string, request: ModifyClusterTagsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse> {
|
|
17104
18146
|
Util.validateModel(request);
|
|
17105
18147
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -17120,6 +18162,12 @@ export default class Client extends OpenApi {
|
|
|
17120
18162
|
return $tea.cast<ModifyClusterTagsResponse>(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
17121
18163
|
}
|
|
17122
18164
|
|
|
18165
|
+
/**
|
|
18166
|
+
* @summary Modifies the labels of a Container Service for Kubernetes (ACK) cluster. You can use labels (key-value pairs) to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
18167
|
+
*
|
|
18168
|
+
* @param request ModifyClusterTagsRequest
|
|
18169
|
+
* @return ModifyClusterTagsResponse
|
|
18170
|
+
*/
|
|
17123
18171
|
async modifyClusterTags(ClusterId: string, request: ModifyClusterTagsRequest): Promise<ModifyClusterTagsResponse> {
|
|
17124
18172
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17125
18173
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17127,12 +18175,14 @@ export default class Client extends OpenApi {
|
|
|
17127
18175
|
}
|
|
17128
18176
|
|
|
17129
18177
|
/**
|
|
17130
|
-
|
|
17131
|
-
|
|
17132
|
-
|
|
17133
|
-
|
|
17134
|
-
|
|
17135
|
-
|
|
18178
|
+
* @summary Modifies the configuration of a node pool, such as the kubelet configuration and node rolling update configuration. After you modify the node pool configuration, nodes are batch updated and the kubelet on each node is restarted. This may adversely affect the nodes and workloads. We recommend that you perform this operation during off-peak hours.
|
|
18179
|
+
*
|
|
18180
|
+
* @description > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
|
|
18181
|
+
*
|
|
18182
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
18183
|
+
* @param headers map
|
|
18184
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18185
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
17136
18186
|
*/
|
|
17137
18187
|
async modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse> {
|
|
17138
18188
|
Util.validateModel(request);
|
|
@@ -17168,10 +18218,12 @@ export default class Client extends OpenApi {
|
|
|
17168
18218
|
}
|
|
17169
18219
|
|
|
17170
18220
|
/**
|
|
17171
|
-
|
|
17172
|
-
|
|
17173
|
-
|
|
17174
|
-
|
|
18221
|
+
* @summary Modifies the configuration of a node pool, such as the kubelet configuration and node rolling update configuration. After you modify the node pool configuration, nodes are batch updated and the kubelet on each node is restarted. This may adversely affect the nodes and workloads. We recommend that you perform this operation during off-peak hours.
|
|
18222
|
+
*
|
|
18223
|
+
* @description > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
|
|
18224
|
+
*
|
|
18225
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
18226
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
17175
18227
|
*/
|
|
17176
18228
|
async modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse> {
|
|
17177
18229
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17179,6 +18231,14 @@ export default class Client extends OpenApi {
|
|
|
17179
18231
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17180
18232
|
}
|
|
17181
18233
|
|
|
18234
|
+
/**
|
|
18235
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
18236
|
+
*
|
|
18237
|
+
* @param request ModifyPolicyInstanceRequest
|
|
18238
|
+
* @param headers map
|
|
18239
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18240
|
+
* @return ModifyPolicyInstanceResponse
|
|
18241
|
+
*/
|
|
17182
18242
|
async modifyPolicyInstanceWithOptions(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse> {
|
|
17183
18243
|
Util.validateModel(request);
|
|
17184
18244
|
let body : {[key: string ]: any} = { };
|
|
@@ -17216,6 +18276,12 @@ export default class Client extends OpenApi {
|
|
|
17216
18276
|
return $tea.cast<ModifyPolicyInstanceResponse>(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
17217
18277
|
}
|
|
17218
18278
|
|
|
18279
|
+
/**
|
|
18280
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
18281
|
+
*
|
|
18282
|
+
* @param request ModifyPolicyInstanceRequest
|
|
18283
|
+
* @return ModifyPolicyInstanceResponse
|
|
18284
|
+
*/
|
|
17219
18285
|
async modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse> {
|
|
17220
18286
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17221
18287
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17223,13 +18289,15 @@ export default class Client extends OpenApi {
|
|
|
17223
18289
|
}
|
|
17224
18290
|
|
|
17225
18291
|
/**
|
|
17226
|
-
|
|
17227
|
-
|
|
17228
|
-
|
|
17229
|
-
|
|
17230
|
-
|
|
17231
|
-
|
|
17232
|
-
|
|
18292
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
18293
|
+
*
|
|
18294
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
18295
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
18296
|
+
*
|
|
18297
|
+
* @param request OpenAckServiceRequest
|
|
18298
|
+
* @param headers map
|
|
18299
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18300
|
+
* @return OpenAckServiceResponse
|
|
17233
18301
|
*/
|
|
17234
18302
|
async openAckServiceWithOptions(request: OpenAckServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<OpenAckServiceResponse> {
|
|
17235
18303
|
Util.validateModel(request);
|
|
@@ -17257,11 +18325,13 @@ export default class Client extends OpenApi {
|
|
|
17257
18325
|
}
|
|
17258
18326
|
|
|
17259
18327
|
/**
|
|
17260
|
-
|
|
17261
|
-
|
|
17262
|
-
|
|
17263
|
-
|
|
17264
|
-
|
|
18328
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
18329
|
+
*
|
|
18330
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
18331
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
18332
|
+
*
|
|
18333
|
+
* @param request OpenAckServiceRequest
|
|
18334
|
+
* @return OpenAckServiceResponse
|
|
17265
18335
|
*/
|
|
17266
18336
|
async openAckService(request: OpenAckServiceRequest): Promise<OpenAckServiceResponse> {
|
|
17267
18337
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17270,11 +18340,13 @@ export default class Client extends OpenApi {
|
|
|
17270
18340
|
}
|
|
17271
18341
|
|
|
17272
18342
|
/**
|
|
17273
|
-
|
|
17274
|
-
|
|
17275
|
-
|
|
17276
|
-
|
|
17277
|
-
|
|
18343
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
18344
|
+
*
|
|
18345
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
18346
|
+
*
|
|
18347
|
+
* @param headers map
|
|
18348
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18349
|
+
* @return PauseClusterUpgradeResponse
|
|
17278
18350
|
*/
|
|
17279
18351
|
// Deprecated
|
|
17280
18352
|
async pauseClusterUpgradeWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseClusterUpgradeResponse> {
|
|
@@ -17296,9 +18368,11 @@ export default class Client extends OpenApi {
|
|
|
17296
18368
|
}
|
|
17297
18369
|
|
|
17298
18370
|
/**
|
|
17299
|
-
|
|
17300
|
-
|
|
17301
|
-
|
|
18371
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
18372
|
+
*
|
|
18373
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
18374
|
+
*
|
|
18375
|
+
* @return PauseClusterUpgradeResponse
|
|
17302
18376
|
*/
|
|
17303
18377
|
// Deprecated
|
|
17304
18378
|
async pauseClusterUpgrade(ClusterId: string): Promise<PauseClusterUpgradeResponse> {
|
|
@@ -17307,6 +18381,13 @@ export default class Client extends OpenApi {
|
|
|
17307
18381
|
return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
17308
18382
|
}
|
|
17309
18383
|
|
|
18384
|
+
/**
|
|
18385
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
18386
|
+
*
|
|
18387
|
+
* @param headers map
|
|
18388
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18389
|
+
* @return PauseComponentUpgradeResponse
|
|
18390
|
+
*/
|
|
17310
18391
|
async pauseComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseComponentUpgradeResponse> {
|
|
17311
18392
|
let req = new $OpenApi.OpenApiRequest({
|
|
17312
18393
|
headers: headers,
|
|
@@ -17325,12 +18406,24 @@ export default class Client extends OpenApi {
|
|
|
17325
18406
|
return $tea.cast<PauseComponentUpgradeResponse>(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
17326
18407
|
}
|
|
17327
18408
|
|
|
18409
|
+
/**
|
|
18410
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
18411
|
+
*
|
|
18412
|
+
* @return PauseComponentUpgradeResponse
|
|
18413
|
+
*/
|
|
17328
18414
|
async pauseComponentUpgrade(clusterid: string, componentid: string): Promise<PauseComponentUpgradeResponse> {
|
|
17329
18415
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17330
18416
|
let headers : {[key: string ]: string} = { };
|
|
17331
18417
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
17332
18418
|
}
|
|
17333
18419
|
|
|
18420
|
+
/**
|
|
18421
|
+
* @summary Pauses an on-going task.
|
|
18422
|
+
*
|
|
18423
|
+
* @param headers map
|
|
18424
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18425
|
+
* @return PauseTaskResponse
|
|
18426
|
+
*/
|
|
17334
18427
|
async pauseTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseTaskResponse> {
|
|
17335
18428
|
let req = new $OpenApi.OpenApiRequest({
|
|
17336
18429
|
headers: headers,
|
|
@@ -17349,6 +18442,11 @@ export default class Client extends OpenApi {
|
|
|
17349
18442
|
return $tea.cast<PauseTaskResponse>(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
17350
18443
|
}
|
|
17351
18444
|
|
|
18445
|
+
/**
|
|
18446
|
+
* @summary Pauses an on-going task.
|
|
18447
|
+
*
|
|
18448
|
+
* @return PauseTaskResponse
|
|
18449
|
+
*/
|
|
17352
18450
|
async pauseTask(taskId: string): Promise<PauseTaskResponse> {
|
|
17353
18451
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17354
18452
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17356,17 +18454,20 @@ export default class Client extends OpenApi {
|
|
|
17356
18454
|
}
|
|
17357
18455
|
|
|
17358
18456
|
/**
|
|
17359
|
-
|
|
17360
|
-
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
|
|
17366
|
-
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
|
|
18457
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
18458
|
+
*
|
|
18459
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
18460
|
+
*
|
|
18461
|
+
* @description ****
|
|
18462
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
18463
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
18464
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
18465
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
18466
|
+
*
|
|
18467
|
+
* @param request RemoveClusterNodesRequest
|
|
18468
|
+
* @param headers map
|
|
18469
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18470
|
+
* @return RemoveClusterNodesResponse
|
|
17370
18471
|
*/
|
|
17371
18472
|
// Deprecated
|
|
17372
18473
|
async removeClusterNodesWithOptions(ClusterId: string, request: RemoveClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveClusterNodesResponse> {
|
|
@@ -17403,15 +18504,18 @@ export default class Client extends OpenApi {
|
|
|
17403
18504
|
}
|
|
17404
18505
|
|
|
17405
18506
|
/**
|
|
17406
|
-
|
|
17407
|
-
|
|
17408
|
-
|
|
17409
|
-
|
|
17410
|
-
|
|
17411
|
-
|
|
17412
|
-
|
|
17413
|
-
|
|
17414
|
-
|
|
18507
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
18508
|
+
*
|
|
18509
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
18510
|
+
*
|
|
18511
|
+
* @description ****
|
|
18512
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
18513
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
18514
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
18515
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
18516
|
+
*
|
|
18517
|
+
* @param request RemoveClusterNodesRequest
|
|
18518
|
+
* @return RemoveClusterNodesResponse
|
|
17415
18519
|
*/
|
|
17416
18520
|
// Deprecated
|
|
17417
18521
|
async removeClusterNodes(ClusterId: string, request: RemoveClusterNodesRequest): Promise<RemoveClusterNodesResponse> {
|
|
@@ -17421,14 +18525,16 @@ export default class Client extends OpenApi {
|
|
|
17421
18525
|
}
|
|
17422
18526
|
|
|
17423
18527
|
/**
|
|
17424
|
-
|
|
17425
|
-
|
|
17426
|
-
|
|
17427
|
-
|
|
17428
|
-
|
|
17429
|
-
|
|
17430
|
-
|
|
17431
|
-
|
|
18528
|
+
* @summary Removes nodes from a node pool.
|
|
18529
|
+
*
|
|
18530
|
+
* @description **
|
|
18531
|
+
* ****
|
|
18532
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
18533
|
+
*
|
|
18534
|
+
* @param tmpReq RemoveNodePoolNodesRequest
|
|
18535
|
+
* @param headers map
|
|
18536
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18537
|
+
* @return RemoveNodePoolNodesResponse
|
|
17432
18538
|
*/
|
|
17433
18539
|
async removeNodePoolNodesWithOptions(ClusterId: string, NodepoolId: string, tmpReq: RemoveNodePoolNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveNodePoolNodesResponse> {
|
|
17434
18540
|
Util.validateModel(tmpReq);
|
|
@@ -17482,12 +18588,14 @@ export default class Client extends OpenApi {
|
|
|
17482
18588
|
}
|
|
17483
18589
|
|
|
17484
18590
|
/**
|
|
17485
|
-
|
|
17486
|
-
|
|
17487
|
-
|
|
17488
|
-
|
|
17489
|
-
|
|
17490
|
-
|
|
18591
|
+
* @summary Removes nodes from a node pool.
|
|
18592
|
+
*
|
|
18593
|
+
* @description **
|
|
18594
|
+
* ****
|
|
18595
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
18596
|
+
*
|
|
18597
|
+
* @param request RemoveNodePoolNodesRequest
|
|
18598
|
+
* @return RemoveNodePoolNodesResponse
|
|
17491
18599
|
*/
|
|
17492
18600
|
async removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse> {
|
|
17493
18601
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17495,6 +18603,13 @@ export default class Client extends OpenApi {
|
|
|
17495
18603
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17496
18604
|
}
|
|
17497
18605
|
|
|
18606
|
+
/**
|
|
18607
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
18608
|
+
*
|
|
18609
|
+
* @param headers map
|
|
18610
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18611
|
+
* @return RemoveWorkflowResponse
|
|
18612
|
+
*/
|
|
17498
18613
|
async removeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse> {
|
|
17499
18614
|
let req = new $OpenApi.OpenApiRequest({
|
|
17500
18615
|
headers: headers,
|
|
@@ -17513,12 +18628,25 @@ export default class Client extends OpenApi {
|
|
|
17513
18628
|
return $tea.cast<RemoveWorkflowResponse>(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
|
|
17514
18629
|
}
|
|
17515
18630
|
|
|
18631
|
+
/**
|
|
18632
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
18633
|
+
*
|
|
18634
|
+
* @return RemoveWorkflowResponse
|
|
18635
|
+
*/
|
|
17516
18636
|
async removeWorkflow(workflowName: string): Promise<RemoveWorkflowResponse> {
|
|
17517
18637
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17518
18638
|
let headers : {[key: string ]: string} = { };
|
|
17519
18639
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
17520
18640
|
}
|
|
17521
18641
|
|
|
18642
|
+
/**
|
|
18643
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
18644
|
+
*
|
|
18645
|
+
* @param request RepairClusterNodePoolRequest
|
|
18646
|
+
* @param headers map
|
|
18647
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18648
|
+
* @return RepairClusterNodePoolResponse
|
|
18649
|
+
*/
|
|
17522
18650
|
async repairClusterNodePoolWithOptions(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse> {
|
|
17523
18651
|
Util.validateModel(request);
|
|
17524
18652
|
let body : {[key: string ]: any} = { };
|
|
@@ -17548,12 +18676,25 @@ export default class Client extends OpenApi {
|
|
|
17548
18676
|
return $tea.cast<RepairClusterNodePoolResponse>(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
17549
18677
|
}
|
|
17550
18678
|
|
|
18679
|
+
/**
|
|
18680
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
18681
|
+
*
|
|
18682
|
+
* @param request RepairClusterNodePoolRequest
|
|
18683
|
+
* @return RepairClusterNodePoolResponse
|
|
18684
|
+
*/
|
|
17551
18685
|
async repairClusterNodePool(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest): Promise<RepairClusterNodePoolResponse> {
|
|
17552
18686
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17553
18687
|
let headers : {[key: string ]: string} = { };
|
|
17554
18688
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
17555
18689
|
}
|
|
17556
18690
|
|
|
18691
|
+
/**
|
|
18692
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
18693
|
+
*
|
|
18694
|
+
* @param headers map
|
|
18695
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18696
|
+
* @return ResumeComponentUpgradeResponse
|
|
18697
|
+
*/
|
|
17557
18698
|
async resumeComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeComponentUpgradeResponse> {
|
|
17558
18699
|
let req = new $OpenApi.OpenApiRequest({
|
|
17559
18700
|
headers: headers,
|
|
@@ -17572,12 +18713,24 @@ export default class Client extends OpenApi {
|
|
|
17572
18713
|
return $tea.cast<ResumeComponentUpgradeResponse>(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
17573
18714
|
}
|
|
17574
18715
|
|
|
18716
|
+
/**
|
|
18717
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
18718
|
+
*
|
|
18719
|
+
* @return ResumeComponentUpgradeResponse
|
|
18720
|
+
*/
|
|
17575
18721
|
async resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse> {
|
|
17576
18722
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17577
18723
|
let headers : {[key: string ]: string} = { };
|
|
17578
18724
|
return await this.resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
17579
18725
|
}
|
|
17580
18726
|
|
|
18727
|
+
/**
|
|
18728
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
18729
|
+
*
|
|
18730
|
+
* @param headers map
|
|
18731
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18732
|
+
* @return ResumeTaskResponse
|
|
18733
|
+
*/
|
|
17581
18734
|
async resumeTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeTaskResponse> {
|
|
17582
18735
|
let req = new $OpenApi.OpenApiRequest({
|
|
17583
18736
|
headers: headers,
|
|
@@ -17596,6 +18749,11 @@ export default class Client extends OpenApi {
|
|
|
17596
18749
|
return $tea.cast<ResumeTaskResponse>(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
17597
18750
|
}
|
|
17598
18751
|
|
|
18752
|
+
/**
|
|
18753
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
18754
|
+
*
|
|
18755
|
+
* @return ResumeTaskResponse
|
|
18756
|
+
*/
|
|
17599
18757
|
async resumeTask(taskId: string): Promise<ResumeTaskResponse> {
|
|
17600
18758
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17601
18759
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17603,11 +18761,13 @@ export default class Client extends OpenApi {
|
|
|
17603
18761
|
}
|
|
17604
18762
|
|
|
17605
18763
|
/**
|
|
17606
|
-
|
|
17607
|
-
|
|
17608
|
-
|
|
17609
|
-
|
|
17610
|
-
|
|
18764
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
18765
|
+
*
|
|
18766
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
18767
|
+
*
|
|
18768
|
+
* @param headers map
|
|
18769
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18770
|
+
* @return ResumeUpgradeClusterResponse
|
|
17611
18771
|
*/
|
|
17612
18772
|
// Deprecated
|
|
17613
18773
|
async resumeUpgradeClusterWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeUpgradeClusterResponse> {
|
|
@@ -17629,9 +18789,11 @@ export default class Client extends OpenApi {
|
|
|
17629
18789
|
}
|
|
17630
18790
|
|
|
17631
18791
|
/**
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
|
|
18792
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
18793
|
+
*
|
|
18794
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
18795
|
+
*
|
|
18796
|
+
* @return ResumeUpgradeClusterResponse
|
|
17635
18797
|
*/
|
|
17636
18798
|
// Deprecated
|
|
17637
18799
|
async resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse> {
|
|
@@ -17640,6 +18802,14 @@ export default class Client extends OpenApi {
|
|
|
17640
18802
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
17641
18803
|
}
|
|
17642
18804
|
|
|
18805
|
+
/**
|
|
18806
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
18807
|
+
*
|
|
18808
|
+
* @param request RunClusterCheckRequest
|
|
18809
|
+
* @param headers map
|
|
18810
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18811
|
+
* @return RunClusterCheckResponse
|
|
18812
|
+
*/
|
|
17643
18813
|
async runClusterCheckWithOptions(clusterId: string, request: RunClusterCheckRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse> {
|
|
17644
18814
|
Util.validateModel(request);
|
|
17645
18815
|
let body : {[key: string ]: any} = { };
|
|
@@ -17673,6 +18843,12 @@ export default class Client extends OpenApi {
|
|
|
17673
18843
|
return $tea.cast<RunClusterCheckResponse>(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
17674
18844
|
}
|
|
17675
18845
|
|
|
18846
|
+
/**
|
|
18847
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
18848
|
+
*
|
|
18849
|
+
* @param request RunClusterCheckRequest
|
|
18850
|
+
* @return RunClusterCheckResponse
|
|
18851
|
+
*/
|
|
17676
18852
|
async runClusterCheck(clusterId: string, request: RunClusterCheckRequest): Promise<RunClusterCheckResponse> {
|
|
17677
18853
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17678
18854
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17680,12 +18856,14 @@ export default class Client extends OpenApi {
|
|
|
17680
18856
|
}
|
|
17681
18857
|
|
|
17682
18858
|
/**
|
|
17683
|
-
|
|
17684
|
-
|
|
17685
|
-
|
|
17686
|
-
|
|
17687
|
-
|
|
17688
|
-
|
|
18859
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
18860
|
+
*
|
|
18861
|
+
* @summary 扩容Kubernetes集群
|
|
18862
|
+
*
|
|
18863
|
+
* @param request ScaleClusterRequest
|
|
18864
|
+
* @param headers map
|
|
18865
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18866
|
+
* @return ScaleClusterResponse
|
|
17689
18867
|
*/
|
|
17690
18868
|
// Deprecated
|
|
17691
18869
|
async scaleClusterWithOptions(ClusterId: string, request: ScaleClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterResponse> {
|
|
@@ -17786,10 +18964,12 @@ export default class Client extends OpenApi {
|
|
|
17786
18964
|
}
|
|
17787
18965
|
|
|
17788
18966
|
/**
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
18967
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
18968
|
+
*
|
|
18969
|
+
* @summary 扩容Kubernetes集群
|
|
18970
|
+
*
|
|
18971
|
+
* @param request ScaleClusterRequest
|
|
18972
|
+
* @return ScaleClusterResponse
|
|
17793
18973
|
*/
|
|
17794
18974
|
// Deprecated
|
|
17795
18975
|
async scaleCluster(ClusterId: string, request: ScaleClusterRequest): Promise<ScaleClusterResponse> {
|
|
@@ -17798,6 +18978,14 @@ export default class Client extends OpenApi {
|
|
|
17798
18978
|
return await this.scaleClusterWithOptions(ClusterId, request, headers, runtime);
|
|
17799
18979
|
}
|
|
17800
18980
|
|
|
18981
|
+
/**
|
|
18982
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
18983
|
+
*
|
|
18984
|
+
* @param request ScaleClusterNodePoolRequest
|
|
18985
|
+
* @param headers map
|
|
18986
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18987
|
+
* @return ScaleClusterNodePoolResponse
|
|
18988
|
+
*/
|
|
17801
18989
|
async scaleClusterNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterNodePoolResponse> {
|
|
17802
18990
|
Util.validateModel(request);
|
|
17803
18991
|
let body : {[key: string ]: any} = { };
|
|
@@ -17823,6 +19011,12 @@ export default class Client extends OpenApi {
|
|
|
17823
19011
|
return $tea.cast<ScaleClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
17824
19012
|
}
|
|
17825
19013
|
|
|
19014
|
+
/**
|
|
19015
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
19016
|
+
*
|
|
19017
|
+
* @param request ScaleClusterNodePoolRequest
|
|
19018
|
+
* @return ScaleClusterNodePoolResponse
|
|
19019
|
+
*/
|
|
17826
19020
|
async scaleClusterNodePool(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest): Promise<ScaleClusterNodePoolResponse> {
|
|
17827
19021
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17828
19022
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17830,13 +19024,15 @@ export default class Client extends OpenApi {
|
|
|
17830
19024
|
}
|
|
17831
19025
|
|
|
17832
19026
|
/**
|
|
17833
|
-
|
|
17834
|
-
|
|
17835
|
-
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
-
|
|
19027
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
19028
|
+
*
|
|
19029
|
+
* @description **
|
|
19030
|
+
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](https://help.aliyun.com/document_detail/184928.html).
|
|
19031
|
+
*
|
|
19032
|
+
* @param request ScaleOutClusterRequest
|
|
19033
|
+
* @param headers map
|
|
19034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19035
|
+
* @return ScaleOutClusterResponse
|
|
17840
19036
|
*/
|
|
17841
19037
|
async scaleOutClusterWithOptions(ClusterId: string, request: ScaleOutClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleOutClusterResponse> {
|
|
17842
19038
|
Util.validateModel(request);
|
|
@@ -17944,11 +19140,13 @@ export default class Client extends OpenApi {
|
|
|
17944
19140
|
}
|
|
17945
19141
|
|
|
17946
19142
|
/**
|
|
17947
|
-
|
|
17948
|
-
|
|
17949
|
-
|
|
17950
|
-
|
|
17951
|
-
|
|
19143
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
19144
|
+
*
|
|
19145
|
+
* @description **
|
|
19146
|
+
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](https://help.aliyun.com/document_detail/184928.html).
|
|
19147
|
+
*
|
|
19148
|
+
* @param request ScaleOutClusterRequest
|
|
19149
|
+
* @return ScaleOutClusterResponse
|
|
17952
19150
|
*/
|
|
17953
19151
|
async scaleOutCluster(ClusterId: string, request: ScaleOutClusterRequest): Promise<ScaleOutClusterResponse> {
|
|
17954
19152
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17956,6 +19154,13 @@ export default class Client extends OpenApi {
|
|
|
17956
19154
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
17957
19155
|
}
|
|
17958
19156
|
|
|
19157
|
+
/**
|
|
19158
|
+
* @summary The cluster ID.
|
|
19159
|
+
*
|
|
19160
|
+
* @param headers map
|
|
19161
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19162
|
+
* @return ScanClusterVulsResponse
|
|
19163
|
+
*/
|
|
17959
19164
|
async scanClusterVulsWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScanClusterVulsResponse> {
|
|
17960
19165
|
let req = new $OpenApi.OpenApiRequest({
|
|
17961
19166
|
headers: headers,
|
|
@@ -17974,12 +19179,23 @@ export default class Client extends OpenApi {
|
|
|
17974
19179
|
return $tea.cast<ScanClusterVulsResponse>(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
17975
19180
|
}
|
|
17976
19181
|
|
|
19182
|
+
/**
|
|
19183
|
+
* @summary The cluster ID.
|
|
19184
|
+
*
|
|
19185
|
+
* @return ScanClusterVulsResponse
|
|
19186
|
+
*/
|
|
17977
19187
|
async scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse> {
|
|
17978
19188
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17979
19189
|
let headers : {[key: string ]: string} = { };
|
|
17980
19190
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
17981
19191
|
}
|
|
17982
19192
|
|
|
19193
|
+
/**
|
|
19194
|
+
* @param request StartAlertRequest
|
|
19195
|
+
* @param headers map
|
|
19196
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19197
|
+
* @return StartAlertResponse
|
|
19198
|
+
*/
|
|
17983
19199
|
async startAlertWithOptions(ClusterId: string, request: StartAlertRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartAlertResponse> {
|
|
17984
19200
|
Util.validateModel(request);
|
|
17985
19201
|
let body : {[key: string ]: any} = { };
|
|
@@ -18009,12 +19225,24 @@ export default class Client extends OpenApi {
|
|
|
18009
19225
|
return $tea.cast<StartAlertResponse>(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
18010
19226
|
}
|
|
18011
19227
|
|
|
19228
|
+
/**
|
|
19229
|
+
* @param request StartAlertRequest
|
|
19230
|
+
* @return StartAlertResponse
|
|
19231
|
+
*/
|
|
18012
19232
|
async startAlert(ClusterId: string, request: StartAlertRequest): Promise<StartAlertResponse> {
|
|
18013
19233
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18014
19234
|
let headers : {[key: string ]: string} = { };
|
|
18015
19235
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
18016
19236
|
}
|
|
18017
19237
|
|
|
19238
|
+
/**
|
|
19239
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
19240
|
+
*
|
|
19241
|
+
* @param request StartWorkflowRequest
|
|
19242
|
+
* @param headers map
|
|
19243
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19244
|
+
* @return StartWorkflowResponse
|
|
19245
|
+
*/
|
|
18018
19246
|
async startWorkflowWithOptions(request: StartWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse> {
|
|
18019
19247
|
Util.validateModel(request);
|
|
18020
19248
|
let body : {[key: string ]: any} = { };
|
|
@@ -18112,12 +19340,26 @@ export default class Client extends OpenApi {
|
|
|
18112
19340
|
return $tea.cast<StartWorkflowResponse>(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
18113
19341
|
}
|
|
18114
19342
|
|
|
19343
|
+
/**
|
|
19344
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
19345
|
+
*
|
|
19346
|
+
* @param request StartWorkflowRequest
|
|
19347
|
+
* @return StartWorkflowResponse
|
|
19348
|
+
*/
|
|
18115
19349
|
async startWorkflow(request: StartWorkflowRequest): Promise<StartWorkflowResponse> {
|
|
18116
19350
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18117
19351
|
let headers : {[key: string ]: string} = { };
|
|
18118
19352
|
return await this.startWorkflowWithOptions(request, headers, runtime);
|
|
18119
19353
|
}
|
|
18120
19354
|
|
|
19355
|
+
/**
|
|
19356
|
+
* @summary You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
|
|
19357
|
+
*
|
|
19358
|
+
* @param request StopAlertRequest
|
|
19359
|
+
* @param headers map
|
|
19360
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19361
|
+
* @return StopAlertResponse
|
|
19362
|
+
*/
|
|
18121
19363
|
async stopAlertWithOptions(ClusterId: string, request: StopAlertRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopAlertResponse> {
|
|
18122
19364
|
Util.validateModel(request);
|
|
18123
19365
|
let body : {[key: string ]: any} = { };
|
|
@@ -18147,12 +19389,25 @@ export default class Client extends OpenApi {
|
|
|
18147
19389
|
return $tea.cast<StopAlertResponse>(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
18148
19390
|
}
|
|
18149
19391
|
|
|
19392
|
+
/**
|
|
19393
|
+
* @summary You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
|
|
19394
|
+
*
|
|
19395
|
+
* @param request StopAlertRequest
|
|
19396
|
+
* @return StopAlertResponse
|
|
19397
|
+
*/
|
|
18150
19398
|
async stopAlert(ClusterId: string, request: StopAlertRequest): Promise<StopAlertResponse> {
|
|
18151
19399
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18152
19400
|
let headers : {[key: string ]: string} = { };
|
|
18153
19401
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
18154
19402
|
}
|
|
18155
19403
|
|
|
19404
|
+
/**
|
|
19405
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
19406
|
+
*
|
|
19407
|
+
* @param headers map
|
|
19408
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19409
|
+
* @return SyncClusterNodePoolResponse
|
|
19410
|
+
*/
|
|
18156
19411
|
async syncClusterNodePoolWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncClusterNodePoolResponse> {
|
|
18157
19412
|
let req = new $OpenApi.OpenApiRequest({
|
|
18158
19413
|
headers: headers,
|
|
@@ -18171,12 +19426,25 @@ export default class Client extends OpenApi {
|
|
|
18171
19426
|
return $tea.cast<SyncClusterNodePoolResponse>(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
18172
19427
|
}
|
|
18173
19428
|
|
|
19429
|
+
/**
|
|
19430
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
19431
|
+
*
|
|
19432
|
+
* @return SyncClusterNodePoolResponse
|
|
19433
|
+
*/
|
|
18174
19434
|
async syncClusterNodePool(ClusterId: string): Promise<SyncClusterNodePoolResponse> {
|
|
18175
19435
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18176
19436
|
let headers : {[key: string ]: string} = { };
|
|
18177
19437
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
18178
19438
|
}
|
|
18179
19439
|
|
|
19440
|
+
/**
|
|
19441
|
+
* @summary Adds labels to a Container Service for Kubernetes (ACK) cluster. You can use labels to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
19442
|
+
*
|
|
19443
|
+
* @param request TagResourcesRequest
|
|
19444
|
+
* @param headers map
|
|
19445
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19446
|
+
* @return TagResourcesResponse
|
|
19447
|
+
*/
|
|
18180
19448
|
async tagResourcesWithOptions(request: TagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
18181
19449
|
Util.validateModel(request);
|
|
18182
19450
|
let body : {[key: string ]: any} = { };
|
|
@@ -18214,12 +19482,26 @@ export default class Client extends OpenApi {
|
|
|
18214
19482
|
return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
18215
19483
|
}
|
|
18216
19484
|
|
|
19485
|
+
/**
|
|
19486
|
+
* @summary Adds labels to a Container Service for Kubernetes (ACK) cluster. You can use labels to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
19487
|
+
*
|
|
19488
|
+
* @param request TagResourcesRequest
|
|
19489
|
+
* @return TagResourcesResponse
|
|
19490
|
+
*/
|
|
18217
19491
|
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
18218
19492
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18219
19493
|
let headers : {[key: string ]: string} = { };
|
|
18220
19494
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
18221
19495
|
}
|
|
18222
19496
|
|
|
19497
|
+
/**
|
|
19498
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
19499
|
+
*
|
|
19500
|
+
* @param request UnInstallClusterAddonsRequest
|
|
19501
|
+
* @param headers map
|
|
19502
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19503
|
+
* @return UnInstallClusterAddonsResponse
|
|
19504
|
+
*/
|
|
18223
19505
|
async unInstallClusterAddonsWithOptions(ClusterId: string, request: UnInstallClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UnInstallClusterAddonsResponse> {
|
|
18224
19506
|
Util.validateModel(request);
|
|
18225
19507
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -18240,12 +19522,26 @@ export default class Client extends OpenApi {
|
|
|
18240
19522
|
return $tea.cast<UnInstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
18241
19523
|
}
|
|
18242
19524
|
|
|
19525
|
+
/**
|
|
19526
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
19527
|
+
*
|
|
19528
|
+
* @param request UnInstallClusterAddonsRequest
|
|
19529
|
+
* @return UnInstallClusterAddonsResponse
|
|
19530
|
+
*/
|
|
18243
19531
|
async unInstallClusterAddons(ClusterId: string, request: UnInstallClusterAddonsRequest): Promise<UnInstallClusterAddonsResponse> {
|
|
18244
19532
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18245
19533
|
let headers : {[key: string ]: string} = { };
|
|
18246
19534
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
18247
19535
|
}
|
|
18248
19536
|
|
|
19537
|
+
/**
|
|
19538
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
19539
|
+
*
|
|
19540
|
+
* @param tmpReq UntagResourcesRequest
|
|
19541
|
+
* @param headers map
|
|
19542
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19543
|
+
* @return UntagResourcesResponse
|
|
19544
|
+
*/
|
|
18249
19545
|
async untagResourcesWithOptions(tmpReq: UntagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
18250
19546
|
Util.validateModel(tmpReq);
|
|
18251
19547
|
let request = new UntagResourcesShrinkRequest({ });
|
|
@@ -18297,12 +19593,23 @@ export default class Client extends OpenApi {
|
|
|
18297
19593
|
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
18298
19594
|
}
|
|
18299
19595
|
|
|
19596
|
+
/**
|
|
19597
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
19598
|
+
*
|
|
19599
|
+
* @param request UntagResourcesRequest
|
|
19600
|
+
* @return UntagResourcesResponse
|
|
19601
|
+
*/
|
|
18300
19602
|
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|
|
18301
19603
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18302
19604
|
let headers : {[key: string ]: string} = { };
|
|
18303
19605
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
18304
19606
|
}
|
|
18305
19607
|
|
|
19608
|
+
/**
|
|
19609
|
+
* @param headers map
|
|
19610
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19611
|
+
* @return UpdateContactGroupForAlertResponse
|
|
19612
|
+
*/
|
|
18306
19613
|
async updateContactGroupForAlertWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateContactGroupForAlertResponse> {
|
|
18307
19614
|
let req = new $OpenApi.OpenApiRequest({
|
|
18308
19615
|
headers: headers,
|
|
@@ -18321,12 +19628,23 @@ export default class Client extends OpenApi {
|
|
|
18321
19628
|
return $tea.cast<UpdateContactGroupForAlertResponse>(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
18322
19629
|
}
|
|
18323
19630
|
|
|
19631
|
+
/**
|
|
19632
|
+
* @return UpdateContactGroupForAlertResponse
|
|
19633
|
+
*/
|
|
18324
19634
|
async updateContactGroupForAlert(ClusterId: string): Promise<UpdateContactGroupForAlertResponse> {
|
|
18325
19635
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18326
19636
|
let headers : {[key: string ]: string} = { };
|
|
18327
19637
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, headers, runtime);
|
|
18328
19638
|
}
|
|
18329
19639
|
|
|
19640
|
+
/**
|
|
19641
|
+
* @summary You can call the UpdateControlPlaneLog operation to modify the log collection configurations for control plane components in a Container Service for Kubernetes (ACK) managed cluster.
|
|
19642
|
+
*
|
|
19643
|
+
* @param request UpdateControlPlaneLogRequest
|
|
19644
|
+
* @param headers map
|
|
19645
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19646
|
+
* @return UpdateControlPlaneLogResponse
|
|
19647
|
+
*/
|
|
18330
19648
|
async updateControlPlaneLogWithOptions(ClusterId: string, request: UpdateControlPlaneLogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateControlPlaneLogResponse> {
|
|
18331
19649
|
Util.validateModel(request);
|
|
18332
19650
|
let body : {[key: string ]: any} = { };
|
|
@@ -18364,6 +19682,12 @@ export default class Client extends OpenApi {
|
|
|
18364
19682
|
return $tea.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
18365
19683
|
}
|
|
18366
19684
|
|
|
19685
|
+
/**
|
|
19686
|
+
* @summary You can call the UpdateControlPlaneLog operation to modify the log collection configurations for control plane components in a Container Service for Kubernetes (ACK) managed cluster.
|
|
19687
|
+
*
|
|
19688
|
+
* @param request UpdateControlPlaneLogRequest
|
|
19689
|
+
* @return UpdateControlPlaneLogResponse
|
|
19690
|
+
*/
|
|
18367
19691
|
async updateControlPlaneLog(ClusterId: string, request: UpdateControlPlaneLogRequest): Promise<UpdateControlPlaneLogResponse> {
|
|
18368
19692
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18369
19693
|
let headers : {[key: string ]: string} = { };
|
|
@@ -18371,14 +19695,16 @@ export default class Client extends OpenApi {
|
|
|
18371
19695
|
}
|
|
18372
19696
|
|
|
18373
19697
|
/**
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
|
|
18377
|
-
|
|
18378
|
-
|
|
18379
|
-
|
|
18380
|
-
|
|
18381
|
-
|
|
19698
|
+
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
19699
|
+
*
|
|
19700
|
+
* @description **
|
|
19701
|
+
* ****
|
|
19702
|
+
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
19703
|
+
*
|
|
19704
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
19705
|
+
* @param headers map
|
|
19706
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19707
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
18382
19708
|
*/
|
|
18383
19709
|
async updateK8sClusterUserConfigExpireWithOptions(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateK8sClusterUserConfigExpireResponse> {
|
|
18384
19710
|
Util.validateModel(request);
|
|
@@ -18410,12 +19736,14 @@ export default class Client extends OpenApi {
|
|
|
18410
19736
|
}
|
|
18411
19737
|
|
|
18412
19738
|
/**
|
|
18413
|
-
|
|
18414
|
-
|
|
18415
|
-
|
|
18416
|
-
|
|
18417
|
-
|
|
18418
|
-
|
|
19739
|
+
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
19740
|
+
*
|
|
19741
|
+
* @description **
|
|
19742
|
+
* ****
|
|
19743
|
+
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
19744
|
+
*
|
|
19745
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
19746
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
18419
19747
|
*/
|
|
18420
19748
|
async updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse> {
|
|
18421
19749
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -18423,6 +19751,14 @@ export default class Client extends OpenApi {
|
|
|
18423
19751
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
18424
19752
|
}
|
|
18425
19753
|
|
|
19754
|
+
/**
|
|
19755
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
19756
|
+
*
|
|
19757
|
+
* @param request UpdateTemplateRequest
|
|
19758
|
+
* @param headers map
|
|
19759
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19760
|
+
* @return UpdateTemplateResponse
|
|
19761
|
+
*/
|
|
18426
19762
|
async updateTemplateWithOptions(TemplateId: string, request: UpdateTemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateTemplateResponse> {
|
|
18427
19763
|
Util.validateModel(request);
|
|
18428
19764
|
let body : {[key: string ]: any} = { };
|
|
@@ -18464,12 +19800,26 @@ export default class Client extends OpenApi {
|
|
|
18464
19800
|
return $tea.cast<UpdateTemplateResponse>(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
18465
19801
|
}
|
|
18466
19802
|
|
|
19803
|
+
/**
|
|
19804
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
19805
|
+
*
|
|
19806
|
+
* @param request UpdateTemplateRequest
|
|
19807
|
+
* @return UpdateTemplateResponse
|
|
19808
|
+
*/
|
|
18467
19809
|
async updateTemplate(TemplateId: string, request: UpdateTemplateRequest): Promise<UpdateTemplateResponse> {
|
|
18468
19810
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18469
19811
|
let headers : {[key: string ]: string} = { };
|
|
18470
19812
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
18471
19813
|
}
|
|
18472
19814
|
|
|
19815
|
+
/**
|
|
19816
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
19817
|
+
*
|
|
19818
|
+
* @param request UpdateUserPermissionsRequest
|
|
19819
|
+
* @param headers map
|
|
19820
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19821
|
+
* @return UpdateUserPermissionsResponse
|
|
19822
|
+
*/
|
|
18473
19823
|
async updateUserPermissionsWithOptions(uid: string, request: UpdateUserPermissionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateUserPermissionsResponse> {
|
|
18474
19824
|
Util.validateModel(request);
|
|
18475
19825
|
let query : {[key: string ]: any} = { };
|
|
@@ -18496,12 +19846,26 @@ export default class Client extends OpenApi {
|
|
|
18496
19846
|
return $tea.cast<UpdateUserPermissionsResponse>(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
18497
19847
|
}
|
|
18498
19848
|
|
|
19849
|
+
/**
|
|
19850
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
19851
|
+
*
|
|
19852
|
+
* @param request UpdateUserPermissionsRequest
|
|
19853
|
+
* @return UpdateUserPermissionsResponse
|
|
19854
|
+
*/
|
|
18499
19855
|
async updateUserPermissions(uid: string, request: UpdateUserPermissionsRequest): Promise<UpdateUserPermissionsResponse> {
|
|
18500
19856
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18501
19857
|
let headers : {[key: string ]: string} = { };
|
|
18502
19858
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
18503
19859
|
}
|
|
18504
19860
|
|
|
19861
|
+
/**
|
|
19862
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
19863
|
+
*
|
|
19864
|
+
* @param request UpgradeClusterRequest
|
|
19865
|
+
* @param headers map
|
|
19866
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19867
|
+
* @return UpgradeClusterResponse
|
|
19868
|
+
*/
|
|
18505
19869
|
async upgradeClusterWithOptions(ClusterId: string, request: UpgradeClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterResponse> {
|
|
18506
19870
|
Util.validateModel(request);
|
|
18507
19871
|
let body : {[key: string ]: any} = { };
|
|
@@ -18539,12 +19903,26 @@ export default class Client extends OpenApi {
|
|
|
18539
19903
|
return $tea.cast<UpgradeClusterResponse>(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
18540
19904
|
}
|
|
18541
19905
|
|
|
19906
|
+
/**
|
|
19907
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
19908
|
+
*
|
|
19909
|
+
* @param request UpgradeClusterRequest
|
|
19910
|
+
* @return UpgradeClusterResponse
|
|
19911
|
+
*/
|
|
18542
19912
|
async upgradeCluster(ClusterId: string, request: UpgradeClusterRequest): Promise<UpgradeClusterResponse> {
|
|
18543
19913
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18544
19914
|
let headers : {[key: string ]: string} = { };
|
|
18545
19915
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
18546
19916
|
}
|
|
18547
19917
|
|
|
19918
|
+
/**
|
|
19919
|
+
* @summary Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
19920
|
+
*
|
|
19921
|
+
* @param request UpgradeClusterAddonsRequest
|
|
19922
|
+
* @param headers map
|
|
19923
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19924
|
+
* @return UpgradeClusterAddonsResponse
|
|
19925
|
+
*/
|
|
18548
19926
|
async upgradeClusterAddonsWithOptions(ClusterId: string, request: UpgradeClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterAddonsResponse> {
|
|
18549
19927
|
Util.validateModel(request);
|
|
18550
19928
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -18565,6 +19943,12 @@ export default class Client extends OpenApi {
|
|
|
18565
19943
|
return $tea.cast<UpgradeClusterAddonsResponse>(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
18566
19944
|
}
|
|
18567
19945
|
|
|
19946
|
+
/**
|
|
19947
|
+
* @summary Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
19948
|
+
*
|
|
19949
|
+
* @param request UpgradeClusterAddonsRequest
|
|
19950
|
+
* @return UpgradeClusterAddonsResponse
|
|
19951
|
+
*/
|
|
18568
19952
|
async upgradeClusterAddons(ClusterId: string, request: UpgradeClusterAddonsRequest): Promise<UpgradeClusterAddonsResponse> {
|
|
18569
19953
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18570
19954
|
let headers : {[key: string ]: string} = { };
|
|
@@ -18572,12 +19956,14 @@ export default class Client extends OpenApi {
|
|
|
18572
19956
|
}
|
|
18573
19957
|
|
|
18574
19958
|
/**
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
19959
|
+
* @summary You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
19960
|
+
*
|
|
19961
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
19962
|
+
*
|
|
19963
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
19964
|
+
* @param headers map
|
|
19965
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19966
|
+
* @return UpgradeClusterNodepoolResponse
|
|
18581
19967
|
*/
|
|
18582
19968
|
async upgradeClusterNodepoolWithOptions(ClusterId: string, NodepoolId: string, request: UpgradeClusterNodepoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterNodepoolResponse> {
|
|
18583
19969
|
Util.validateModel(request);
|
|
@@ -18629,10 +20015,12 @@ export default class Client extends OpenApi {
|
|
|
18629
20015
|
}
|
|
18630
20016
|
|
|
18631
20017
|
/**
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
20018
|
+
* @summary You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
20019
|
+
*
|
|
20020
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
20021
|
+
*
|
|
20022
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
20023
|
+
* @return UpgradeClusterNodepoolResponse
|
|
18636
20024
|
*/
|
|
18637
20025
|
async upgradeClusterNodepool(ClusterId: string, NodepoolId: string, request: UpgradeClusterNodepoolRequest): Promise<UpgradeClusterNodepoolResponse> {
|
|
18638
20026
|
let runtime = new $Util.RuntimeOptions({ });
|