@alicloud/cs20151215 4.0.7 → 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 +1668 -316
- package/dist/client.js +1668 -316
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1668 -316
package/src/client.ts
CHANGED
|
@@ -13364,6 +13364,14 @@ export default class Client extends OpenApi {
|
|
|
13364
13364
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
13365
13365
|
}
|
|
13366
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
|
+
*/
|
|
13367
13375
|
async attachInstancesWithOptions(ClusterId: string, request: AttachInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse> {
|
|
13368
13376
|
Util.validateModel(request);
|
|
13369
13377
|
let body : {[key: string ]: any} = { };
|
|
@@ -13437,12 +13445,26 @@ export default class Client extends OpenApi {
|
|
|
13437
13445
|
return $tea.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
13438
13446
|
}
|
|
13439
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
|
+
*/
|
|
13440
13454
|
async attachInstances(ClusterId: string, request: AttachInstancesRequest): Promise<AttachInstancesResponse> {
|
|
13441
13455
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13442
13456
|
let headers : {[key: string ]: string} = { };
|
|
13443
13457
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
13444
13458
|
}
|
|
13445
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
|
+
*/
|
|
13446
13468
|
async attachInstancesToNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: AttachInstancesToNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesToNodePoolResponse> {
|
|
13447
13469
|
Util.validateModel(request);
|
|
13448
13470
|
let body : {[key: string ]: any} = { };
|
|
@@ -13480,6 +13502,12 @@ export default class Client extends OpenApi {
|
|
|
13480
13502
|
return $tea.cast<AttachInstancesToNodePoolResponse>(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
13481
13503
|
}
|
|
13482
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
|
+
*/
|
|
13483
13511
|
async attachInstancesToNodePool(ClusterId: string, NodepoolId: string, request: AttachInstancesToNodePoolRequest): Promise<AttachInstancesToNodePoolResponse> {
|
|
13484
13512
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13485
13513
|
let headers : {[key: string ]: string} = { };
|
|
@@ -13487,11 +13515,13 @@ export default class Client extends OpenApi {
|
|
|
13487
13515
|
}
|
|
13488
13516
|
|
|
13489
13517
|
/**
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
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
|
|
13495
13525
|
*/
|
|
13496
13526
|
// Deprecated
|
|
13497
13527
|
async cancelClusterUpgradeWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelClusterUpgradeResponse> {
|
|
@@ -13513,9 +13543,11 @@ export default class Client extends OpenApi {
|
|
|
13513
13543
|
}
|
|
13514
13544
|
|
|
13515
13545
|
/**
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
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
|
|
13519
13551
|
*/
|
|
13520
13552
|
// Deprecated
|
|
13521
13553
|
async cancelClusterUpgrade(ClusterId: string): Promise<CancelClusterUpgradeResponse> {
|
|
@@ -13524,6 +13556,13 @@ export default class Client extends OpenApi {
|
|
|
13524
13556
|
return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
13525
13557
|
}
|
|
13526
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
|
+
*/
|
|
13527
13566
|
async cancelComponentUpgradeWithOptions(clusterId: string, componentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelComponentUpgradeResponse> {
|
|
13528
13567
|
let req = new $OpenApi.OpenApiRequest({
|
|
13529
13568
|
headers: headers,
|
|
@@ -13542,12 +13581,24 @@ export default class Client extends OpenApi {
|
|
|
13542
13581
|
return $tea.cast<CancelComponentUpgradeResponse>(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
13543
13582
|
}
|
|
13544
13583
|
|
|
13584
|
+
/**
|
|
13585
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
13586
|
+
*
|
|
13587
|
+
* @return CancelComponentUpgradeResponse
|
|
13588
|
+
*/
|
|
13545
13589
|
async cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse> {
|
|
13546
13590
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13547
13591
|
let headers : {[key: string ]: string} = { };
|
|
13548
13592
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
13549
13593
|
}
|
|
13550
13594
|
|
|
13595
|
+
/**
|
|
13596
|
+
* @summary 取消自动运维执行计划
|
|
13597
|
+
*
|
|
13598
|
+
* @param headers map
|
|
13599
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13600
|
+
* @return CancelOperationPlanResponse
|
|
13601
|
+
*/
|
|
13551
13602
|
async cancelOperationPlanWithOptions(planId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse> {
|
|
13552
13603
|
let req = new $OpenApi.OpenApiRequest({
|
|
13553
13604
|
headers: headers,
|
|
@@ -13566,12 +13617,24 @@ export default class Client extends OpenApi {
|
|
|
13566
13617
|
return $tea.cast<CancelOperationPlanResponse>(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
13567
13618
|
}
|
|
13568
13619
|
|
|
13620
|
+
/**
|
|
13621
|
+
* @summary 取消自动运维执行计划
|
|
13622
|
+
*
|
|
13623
|
+
* @return CancelOperationPlanResponse
|
|
13624
|
+
*/
|
|
13569
13625
|
async cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse> {
|
|
13570
13626
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13571
13627
|
let headers : {[key: string ]: string} = { };
|
|
13572
13628
|
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
13573
13629
|
}
|
|
13574
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
|
+
*/
|
|
13575
13638
|
async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
|
|
13576
13639
|
let req = new $OpenApi.OpenApiRequest({
|
|
13577
13640
|
headers: headers,
|
|
@@ -13590,12 +13653,25 @@ export default class Client extends OpenApi {
|
|
|
13590
13653
|
return $tea.cast<CancelTaskResponse>(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
13591
13654
|
}
|
|
13592
13655
|
|
|
13656
|
+
/**
|
|
13657
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
13658
|
+
*
|
|
13659
|
+
* @return CancelTaskResponse
|
|
13660
|
+
*/
|
|
13593
13661
|
async cancelTask(taskId: string): Promise<CancelTaskResponse> {
|
|
13594
13662
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13595
13663
|
let headers : {[key: string ]: string} = { };
|
|
13596
13664
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
13597
13665
|
}
|
|
13598
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
|
+
*/
|
|
13599
13675
|
async cancelWorkflowWithOptions(workflowName: string, request: CancelWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse> {
|
|
13600
13676
|
Util.validateModel(request);
|
|
13601
13677
|
let body : {[key: string ]: any} = { };
|
|
@@ -13621,12 +13697,25 @@ export default class Client extends OpenApi {
|
|
|
13621
13697
|
return $tea.cast<CancelWorkflowResponse>(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
|
|
13622
13698
|
}
|
|
13623
13699
|
|
|
13700
|
+
/**
|
|
13701
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
13702
|
+
*
|
|
13703
|
+
* @param request CancelWorkflowRequest
|
|
13704
|
+
* @return CancelWorkflowResponse
|
|
13705
|
+
*/
|
|
13624
13706
|
async cancelWorkflow(workflowName: string, request: CancelWorkflowRequest): Promise<CancelWorkflowResponse> {
|
|
13625
13707
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13626
13708
|
let headers : {[key: string ]: string} = { };
|
|
13627
13709
|
return await this.cancelWorkflowWithOptions(workflowName, request, headers, runtime);
|
|
13628
13710
|
}
|
|
13629
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
|
+
*/
|
|
13630
13719
|
async checkControlPlaneLogEnableWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CheckControlPlaneLogEnableResponse> {
|
|
13631
13720
|
let req = new $OpenApi.OpenApiRequest({
|
|
13632
13721
|
headers: headers,
|
|
@@ -13645,12 +13734,25 @@ export default class Client extends OpenApi {
|
|
|
13645
13734
|
return $tea.cast<CheckControlPlaneLogEnableResponse>(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
13646
13735
|
}
|
|
13647
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
|
+
*/
|
|
13648
13742
|
async checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse> {
|
|
13649
13743
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13650
13744
|
let headers : {[key: string ]: string} = { };
|
|
13651
13745
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
13652
13746
|
}
|
|
13653
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
|
+
*/
|
|
13654
13756
|
async createAutoscalingConfigWithOptions(ClusterId: string, request: CreateAutoscalingConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAutoscalingConfigResponse> {
|
|
13655
13757
|
Util.validateModel(request);
|
|
13656
13758
|
let body : {[key: string ]: any} = { };
|
|
@@ -13728,6 +13830,12 @@ export default class Client extends OpenApi {
|
|
|
13728
13830
|
return $tea.cast<CreateAutoscalingConfigResponse>(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
13729
13831
|
}
|
|
13730
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
|
+
*/
|
|
13731
13839
|
async createAutoscalingConfig(ClusterId: string, request: CreateAutoscalingConfigRequest): Promise<CreateAutoscalingConfigResponse> {
|
|
13732
13840
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13733
13841
|
let headers : {[key: string ]: string} = { };
|
|
@@ -13735,18 +13843,20 @@ export default class Client extends OpenApi {
|
|
|
13735
13843
|
}
|
|
13736
13844
|
|
|
13737
13845
|
/**
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
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
|
|
13750
13860
|
*/
|
|
13751
13861
|
async createClusterWithOptions(request: CreateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse> {
|
|
13752
13862
|
Util.validateModel(request);
|
|
@@ -14134,16 +14244,18 @@ export default class Client extends OpenApi {
|
|
|
14134
14244
|
}
|
|
14135
14245
|
|
|
14136
14246
|
/**
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
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
|
|
14147
14259
|
*/
|
|
14148
14260
|
async createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse> {
|
|
14149
14261
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -14151,6 +14263,14 @@ export default class Client extends OpenApi {
|
|
|
14151
14263
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
14152
14264
|
}
|
|
14153
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
|
+
*/
|
|
14154
14274
|
async createClusterNodePoolWithOptions(ClusterId: string, request: CreateClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse> {
|
|
14155
14275
|
Util.validateModel(request);
|
|
14156
14276
|
let body : {[key: string ]: any} = { };
|
|
@@ -14216,12 +14336,26 @@ export default class Client extends OpenApi {
|
|
|
14216
14336
|
return $tea.cast<CreateClusterNodePoolResponse>(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
14217
14337
|
}
|
|
14218
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
|
+
*/
|
|
14219
14345
|
async createClusterNodePool(ClusterId: string, request: CreateClusterNodePoolRequest): Promise<CreateClusterNodePoolResponse> {
|
|
14220
14346
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14221
14347
|
let headers : {[key: string ]: string} = { };
|
|
14222
14348
|
return await this.createClusterNodePoolWithOptions(ClusterId, request, headers, runtime);
|
|
14223
14349
|
}
|
|
14224
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
|
+
*/
|
|
14225
14359
|
async createEdgeMachineWithOptions(request: CreateEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateEdgeMachineResponse> {
|
|
14226
14360
|
Util.validateModel(request);
|
|
14227
14361
|
let body : {[key: string ]: any} = { };
|
|
@@ -14255,12 +14389,26 @@ export default class Client extends OpenApi {
|
|
|
14255
14389
|
return $tea.cast<CreateEdgeMachineResponse>(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
14256
14390
|
}
|
|
14257
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
|
+
*/
|
|
14258
14398
|
async createEdgeMachine(request: CreateEdgeMachineRequest): Promise<CreateEdgeMachineResponse> {
|
|
14259
14399
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14260
14400
|
let headers : {[key: string ]: string} = { };
|
|
14261
14401
|
return await this.createEdgeMachineWithOptions(request, headers, runtime);
|
|
14262
14402
|
}
|
|
14263
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
|
+
*/
|
|
14264
14412
|
async createKubernetesTriggerWithOptions(request: CreateKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateKubernetesTriggerResponse> {
|
|
14265
14413
|
Util.validateModel(request);
|
|
14266
14414
|
let body : {[key: string ]: any} = { };
|
|
@@ -14298,12 +14446,26 @@ export default class Client extends OpenApi {
|
|
|
14298
14446
|
return $tea.cast<CreateKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
14299
14447
|
}
|
|
14300
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
|
+
*/
|
|
14301
14455
|
async createKubernetesTrigger(request: CreateKubernetesTriggerRequest): Promise<CreateKubernetesTriggerResponse> {
|
|
14302
14456
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14303
14457
|
let headers : {[key: string ]: string} = { };
|
|
14304
14458
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
14305
14459
|
}
|
|
14306
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
|
+
*/
|
|
14307
14469
|
async createTemplateWithOptions(request: CreateTemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateTemplateResponse> {
|
|
14308
14470
|
Util.validateModel(request);
|
|
14309
14471
|
let body : {[key: string ]: any} = { };
|
|
@@ -14345,12 +14507,26 @@ export default class Client extends OpenApi {
|
|
|
14345
14507
|
return $tea.cast<CreateTemplateResponse>(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
14346
14508
|
}
|
|
14347
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
|
+
*/
|
|
14348
14516
|
async createTemplate(request: CreateTemplateRequest): Promise<CreateTemplateResponse> {
|
|
14349
14517
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14350
14518
|
let headers : {[key: string ]: string} = { };
|
|
14351
14519
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
14352
14520
|
}
|
|
14353
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
|
+
*/
|
|
14354
14530
|
async createTriggerWithOptions(clusterId: string, request: CreateTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateTriggerResponse> {
|
|
14355
14531
|
Util.validateModel(request);
|
|
14356
14532
|
let body : {[key: string ]: any} = { };
|
|
@@ -14388,12 +14564,24 @@ export default class Client extends OpenApi {
|
|
|
14388
14564
|
return $tea.cast<CreateTriggerResponse>(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
14389
14565
|
}
|
|
14390
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
|
+
*/
|
|
14391
14573
|
async createTrigger(clusterId: string, request: CreateTriggerRequest): Promise<CreateTriggerResponse> {
|
|
14392
14574
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14393
14575
|
let headers : {[key: string ]: string} = { };
|
|
14394
14576
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
14395
14577
|
}
|
|
14396
14578
|
|
|
14579
|
+
/**
|
|
14580
|
+
* @param tmpReq DeleteAlertContactRequest
|
|
14581
|
+
* @param headers map
|
|
14582
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14583
|
+
* @return DeleteAlertContactResponse
|
|
14584
|
+
*/
|
|
14397
14585
|
async deleteAlertContactWithOptions(tmpReq: DeleteAlertContactRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse> {
|
|
14398
14586
|
Util.validateModel(tmpReq);
|
|
14399
14587
|
let request = new DeleteAlertContactShrinkRequest({ });
|
|
@@ -14425,12 +14613,22 @@ export default class Client extends OpenApi {
|
|
|
14425
14613
|
return $tea.cast<DeleteAlertContactResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
14426
14614
|
}
|
|
14427
14615
|
|
|
14616
|
+
/**
|
|
14617
|
+
* @param request DeleteAlertContactRequest
|
|
14618
|
+
* @return DeleteAlertContactResponse
|
|
14619
|
+
*/
|
|
14428
14620
|
async deleteAlertContact(request: DeleteAlertContactRequest): Promise<DeleteAlertContactResponse> {
|
|
14429
14621
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14430
14622
|
let headers : {[key: string ]: string} = { };
|
|
14431
14623
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
14432
14624
|
}
|
|
14433
14625
|
|
|
14626
|
+
/**
|
|
14627
|
+
* @param tmpReq DeleteAlertContactGroupRequest
|
|
14628
|
+
* @param headers map
|
|
14629
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14630
|
+
* @return DeleteAlertContactGroupResponse
|
|
14631
|
+
*/
|
|
14434
14632
|
async deleteAlertContactGroupWithOptions(tmpReq: DeleteAlertContactGroupRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse> {
|
|
14435
14633
|
Util.validateModel(tmpReq);
|
|
14436
14634
|
let request = new DeleteAlertContactGroupShrinkRequest({ });
|
|
@@ -14462,12 +14660,24 @@ export default class Client extends OpenApi {
|
|
|
14462
14660
|
return $tea.cast<DeleteAlertContactGroupResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
14463
14661
|
}
|
|
14464
14662
|
|
|
14663
|
+
/**
|
|
14664
|
+
* @param request DeleteAlertContactGroupRequest
|
|
14665
|
+
* @return DeleteAlertContactGroupResponse
|
|
14666
|
+
*/
|
|
14465
14667
|
async deleteAlertContactGroup(request: DeleteAlertContactGroupRequest): Promise<DeleteAlertContactGroupResponse> {
|
|
14466
14668
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14467
14669
|
let headers : {[key: string ]: string} = { };
|
|
14468
14670
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
14469
14671
|
}
|
|
14470
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
|
+
*/
|
|
14471
14681
|
async deleteClusterWithOptions(ClusterId: string, tmpReq: DeleteClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterResponse> {
|
|
14472
14682
|
Util.validateModel(tmpReq);
|
|
14473
14683
|
let request = new DeleteClusterShrinkRequest({ });
|
|
@@ -14515,12 +14725,26 @@ export default class Client extends OpenApi {
|
|
|
14515
14725
|
return $tea.cast<DeleteClusterResponse>(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
14516
14726
|
}
|
|
14517
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
|
+
*/
|
|
14518
14734
|
async deleteCluster(ClusterId: string, request: DeleteClusterRequest): Promise<DeleteClusterResponse> {
|
|
14519
14735
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14520
14736
|
let headers : {[key: string ]: string} = { };
|
|
14521
14737
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14522
14738
|
}
|
|
14523
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
|
+
*/
|
|
14524
14748
|
async deleteClusterNodepoolWithOptions(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodepoolResponse> {
|
|
14525
14749
|
Util.validateModel(request);
|
|
14526
14750
|
let query : {[key: string ]: any} = { };
|
|
@@ -14546,6 +14770,12 @@ export default class Client extends OpenApi {
|
|
|
14546
14770
|
return $tea.cast<DeleteClusterNodepoolResponse>(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
14547
14771
|
}
|
|
14548
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
|
+
*/
|
|
14549
14779
|
async deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest): Promise<DeleteClusterNodepoolResponse> {
|
|
14550
14780
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14551
14781
|
let headers : {[key: string ]: string} = { };
|
|
@@ -14553,13 +14783,15 @@ export default class Client extends OpenApi {
|
|
|
14553
14783
|
}
|
|
14554
14784
|
|
|
14555
14785
|
/**
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
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
|
|
14563
14795
|
*/
|
|
14564
14796
|
async deleteClusterNodesWithOptions(ClusterId: string, request: DeleteClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodesResponse> {
|
|
14565
14797
|
Util.validateModel(request);
|
|
@@ -14595,11 +14827,13 @@ export default class Client extends OpenApi {
|
|
|
14595
14827
|
}
|
|
14596
14828
|
|
|
14597
14829
|
/**
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
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
|
|
14603
14837
|
*/
|
|
14604
14838
|
async deleteClusterNodes(ClusterId: string, request: DeleteClusterNodesRequest): Promise<DeleteClusterNodesResponse> {
|
|
14605
14839
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -14607,6 +14841,14 @@ export default class Client extends OpenApi {
|
|
|
14607
14841
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
14608
14842
|
}
|
|
14609
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
|
+
*/
|
|
14610
14852
|
async deleteEdgeMachineWithOptions(edgeMachineid: string, request: DeleteEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteEdgeMachineResponse> {
|
|
14611
14853
|
Util.validateModel(request);
|
|
14612
14854
|
let query : {[key: string ]: any} = { };
|
|
@@ -14632,12 +14874,25 @@ export default class Client extends OpenApi {
|
|
|
14632
14874
|
return $tea.cast<DeleteEdgeMachineResponse>(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
14633
14875
|
}
|
|
14634
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
|
+
*/
|
|
14635
14883
|
async deleteEdgeMachine(edgeMachineid: string, request: DeleteEdgeMachineRequest): Promise<DeleteEdgeMachineResponse> {
|
|
14636
14884
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14637
14885
|
let headers : {[key: string ]: string} = { };
|
|
14638
14886
|
return await this.deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime);
|
|
14639
14887
|
}
|
|
14640
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
|
+
*/
|
|
14641
14896
|
async deleteKubernetesTriggerWithOptions(Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse> {
|
|
14642
14897
|
let req = new $OpenApi.OpenApiRequest({
|
|
14643
14898
|
headers: headers,
|
|
@@ -14656,12 +14911,25 @@ export default class Client extends OpenApi {
|
|
|
14656
14911
|
return $tea.cast<DeleteKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
14657
14912
|
}
|
|
14658
14913
|
|
|
14914
|
+
/**
|
|
14915
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
14916
|
+
*
|
|
14917
|
+
* @return DeleteKubernetesTriggerResponse
|
|
14918
|
+
*/
|
|
14659
14919
|
async deleteKubernetesTrigger(Id: string): Promise<DeleteKubernetesTriggerResponse> {
|
|
14660
14920
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14661
14921
|
let headers : {[key: string ]: string} = { };
|
|
14662
14922
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
14663
14923
|
}
|
|
14664
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
|
+
*/
|
|
14665
14933
|
async deletePolicyInstanceWithOptions(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeletePolicyInstanceResponse> {
|
|
14666
14934
|
Util.validateModel(request);
|
|
14667
14935
|
let query : {[key: string ]: any} = { };
|
|
@@ -14687,12 +14955,25 @@ export default class Client extends OpenApi {
|
|
|
14687
14955
|
return $tea.cast<DeletePolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
14688
14956
|
}
|
|
14689
14957
|
|
|
14958
|
+
/**
|
|
14959
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14960
|
+
*
|
|
14961
|
+
* @param request DeletePolicyInstanceRequest
|
|
14962
|
+
* @return DeletePolicyInstanceResponse
|
|
14963
|
+
*/
|
|
14690
14964
|
async deletePolicyInstance(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest): Promise<DeletePolicyInstanceResponse> {
|
|
14691
14965
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14692
14966
|
let headers : {[key: string ]: string} = { };
|
|
14693
14967
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
14694
14968
|
}
|
|
14695
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
|
+
*/
|
|
14696
14977
|
async deleteTemplateWithOptions(TemplateId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteTemplateResponse> {
|
|
14697
14978
|
let req = new $OpenApi.OpenApiRequest({
|
|
14698
14979
|
headers: headers,
|
|
@@ -14711,12 +14992,24 @@ export default class Client extends OpenApi {
|
|
|
14711
14992
|
return $tea.cast<DeleteTemplateResponse>(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
14712
14993
|
}
|
|
14713
14994
|
|
|
14995
|
+
/**
|
|
14996
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
14997
|
+
*
|
|
14998
|
+
* @return DeleteTemplateResponse
|
|
14999
|
+
*/
|
|
14714
15000
|
async deleteTemplate(TemplateId: string): Promise<DeleteTemplateResponse> {
|
|
14715
15001
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14716
15002
|
let headers : {[key: string ]: string} = { };
|
|
14717
15003
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
14718
15004
|
}
|
|
14719
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
|
+
*/
|
|
14720
15013
|
async deleteTriggerWithOptions(clusterId: string, Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteTriggerResponse> {
|
|
14721
15014
|
let req = new $OpenApi.OpenApiRequest({
|
|
14722
15015
|
headers: headers,
|
|
@@ -14735,12 +15028,25 @@ export default class Client extends OpenApi {
|
|
|
14735
15028
|
return $tea.cast<DeleteTriggerResponse>(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
14736
15029
|
}
|
|
14737
15030
|
|
|
15031
|
+
/**
|
|
15032
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
15033
|
+
*
|
|
15034
|
+
* @return DeleteTriggerResponse
|
|
15035
|
+
*/
|
|
14738
15036
|
async deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse> {
|
|
14739
15037
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14740
15038
|
let headers : {[key: string ]: string} = { };
|
|
14741
15039
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
14742
15040
|
}
|
|
14743
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
|
+
*/
|
|
14744
15050
|
async deployPolicyInstanceWithOptions(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeployPolicyInstanceResponse> {
|
|
14745
15051
|
Util.validateModel(request);
|
|
14746
15052
|
let body : {[key: string ]: any} = { };
|
|
@@ -14774,12 +15080,25 @@ export default class Client extends OpenApi {
|
|
|
14774
15080
|
return $tea.cast<DeployPolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
14775
15081
|
}
|
|
14776
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
|
+
*/
|
|
14777
15089
|
async deployPolicyInstance(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest): Promise<DeployPolicyInstanceResponse> {
|
|
14778
15090
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14779
15091
|
let headers : {[key: string ]: string} = { };
|
|
14780
15092
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
14781
15093
|
}
|
|
14782
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
|
+
*/
|
|
14783
15102
|
async descirbeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse> {
|
|
14784
15103
|
let req = new $OpenApi.OpenApiRequest({
|
|
14785
15104
|
headers: headers,
|
|
@@ -14798,12 +15117,25 @@ export default class Client extends OpenApi {
|
|
|
14798
15117
|
return $tea.cast<DescirbeWorkflowResponse>(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
|
|
14799
15118
|
}
|
|
14800
15119
|
|
|
15120
|
+
/**
|
|
15121
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
15122
|
+
*
|
|
15123
|
+
* @return DescirbeWorkflowResponse
|
|
15124
|
+
*/
|
|
14801
15125
|
async descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse> {
|
|
14802
15126
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14803
15127
|
let headers : {[key: string ]: string} = { };
|
|
14804
15128
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
14805
15129
|
}
|
|
14806
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
|
+
*/
|
|
14807
15139
|
async describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse> {
|
|
14808
15140
|
Util.validateModel(request);
|
|
14809
15141
|
let query : {[key: string ]: any} = { };
|
|
@@ -14853,6 +15185,12 @@ export default class Client extends OpenApi {
|
|
|
14853
15185
|
return $tea.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
14854
15186
|
}
|
|
14855
15187
|
|
|
15188
|
+
/**
|
|
15189
|
+
* @summary 查询指定集群组件
|
|
15190
|
+
*
|
|
15191
|
+
* @param request DescribeAddonRequest
|
|
15192
|
+
* @return DescribeAddonResponse
|
|
15193
|
+
*/
|
|
14856
15194
|
async describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse> {
|
|
14857
15195
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14858
15196
|
let headers : {[key: string ]: string} = { };
|
|
@@ -14860,12 +15198,14 @@ export default class Client extends OpenApi {
|
|
|
14860
15198
|
}
|
|
14861
15199
|
|
|
14862
15200
|
/**
|
|
14863
|
-
|
|
14864
|
-
|
|
14865
|
-
|
|
14866
|
-
|
|
14867
|
-
|
|
14868
|
-
|
|
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
|
|
14869
15209
|
*/
|
|
14870
15210
|
// Deprecated
|
|
14871
15211
|
async describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse> {
|
|
@@ -14910,10 +15250,12 @@ export default class Client extends OpenApi {
|
|
|
14910
15250
|
}
|
|
14911
15251
|
|
|
14912
15252
|
/**
|
|
14913
|
-
|
|
14914
|
-
|
|
14915
|
-
|
|
14916
|
-
|
|
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
|
|
14917
15259
|
*/
|
|
14918
15260
|
// Deprecated
|
|
14919
15261
|
async describeAddons(request: DescribeAddonsRequest): Promise<DescribeAddonsResponse> {
|
|
@@ -14923,11 +15265,13 @@ export default class Client extends OpenApi {
|
|
|
14923
15265
|
}
|
|
14924
15266
|
|
|
14925
15267
|
/**
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
|
|
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
|
|
14931
15275
|
*/
|
|
14932
15276
|
// Deprecated
|
|
14933
15277
|
async describeClusterAddonInstanceWithOptions(ClusterID: string, AddonName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonInstanceResponse> {
|
|
@@ -14949,9 +15293,11 @@ export default class Client extends OpenApi {
|
|
|
14949
15293
|
}
|
|
14950
15294
|
|
|
14951
15295
|
/**
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
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
|
|
14955
15301
|
*/
|
|
14956
15302
|
// Deprecated
|
|
14957
15303
|
async describeClusterAddonInstance(ClusterID: string, AddonName: string): Promise<DescribeClusterAddonInstanceResponse> {
|
|
@@ -14961,12 +15307,14 @@ export default class Client extends OpenApi {
|
|
|
14961
15307
|
}
|
|
14962
15308
|
|
|
14963
15309
|
/**
|
|
14964
|
-
|
|
14965
|
-
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
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
|
|
14970
15318
|
*/
|
|
14971
15319
|
// Deprecated
|
|
14972
15320
|
async describeClusterAddonMetadataWithOptions(clusterId: string, componentId: string, request: DescribeClusterAddonMetadataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonMetadataResponse> {
|
|
@@ -14995,10 +15343,12 @@ export default class Client extends OpenApi {
|
|
|
14995
15343
|
}
|
|
14996
15344
|
|
|
14997
15345
|
/**
|
|
14998
|
-
|
|
14999
|
-
|
|
15000
|
-
|
|
15001
|
-
|
|
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
|
|
15002
15352
|
*/
|
|
15003
15353
|
// Deprecated
|
|
15004
15354
|
async describeClusterAddonMetadata(clusterId: string, componentId: string, request: DescribeClusterAddonMetadataRequest): Promise<DescribeClusterAddonMetadataResponse> {
|
|
@@ -15008,11 +15358,13 @@ export default class Client extends OpenApi {
|
|
|
15008
15358
|
}
|
|
15009
15359
|
|
|
15010
15360
|
/**
|
|
15011
|
-
|
|
15012
|
-
|
|
15013
|
-
|
|
15014
|
-
|
|
15015
|
-
|
|
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
|
|
15016
15368
|
*/
|
|
15017
15369
|
// Deprecated
|
|
15018
15370
|
async describeClusterAddonUpgradeStatusWithOptions(ClusterId: string, ComponentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonUpgradeStatusResponse> {
|
|
@@ -15034,9 +15386,11 @@ export default class Client extends OpenApi {
|
|
|
15034
15386
|
}
|
|
15035
15387
|
|
|
15036
15388
|
/**
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
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
|
|
15040
15394
|
*/
|
|
15041
15395
|
// Deprecated
|
|
15042
15396
|
async describeClusterAddonUpgradeStatus(ClusterId: string, ComponentId: string): Promise<DescribeClusterAddonUpgradeStatusResponse> {
|
|
@@ -15046,12 +15400,14 @@ export default class Client extends OpenApi {
|
|
|
15046
15400
|
}
|
|
15047
15401
|
|
|
15048
15402
|
/**
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
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
|
|
15055
15411
|
*/
|
|
15056
15412
|
// Deprecated
|
|
15057
15413
|
async describeClusterAddonsUpgradeStatusWithOptions(ClusterId: string, tmpReq: DescribeClusterAddonsUpgradeStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonsUpgradeStatusResponse> {
|
|
@@ -15086,10 +15442,12 @@ export default class Client extends OpenApi {
|
|
|
15086
15442
|
}
|
|
15087
15443
|
|
|
15088
15444
|
/**
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
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
|
|
15093
15451
|
*/
|
|
15094
15452
|
// Deprecated
|
|
15095
15453
|
async describeClusterAddonsUpgradeStatus(ClusterId: string, request: DescribeClusterAddonsUpgradeStatusRequest): Promise<DescribeClusterAddonsUpgradeStatusResponse> {
|
|
@@ -15099,11 +15457,13 @@ export default class Client extends OpenApi {
|
|
|
15099
15457
|
}
|
|
15100
15458
|
|
|
15101
15459
|
/**
|
|
15102
|
-
|
|
15103
|
-
|
|
15104
|
-
|
|
15105
|
-
|
|
15106
|
-
|
|
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
|
|
15107
15467
|
*/
|
|
15108
15468
|
// Deprecated
|
|
15109
15469
|
async describeClusterAddonsVersionWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonsVersionResponse> {
|
|
@@ -15125,9 +15485,11 @@ export default class Client extends OpenApi {
|
|
|
15125
15485
|
}
|
|
15126
15486
|
|
|
15127
15487
|
/**
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
|
|
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
|
|
15131
15493
|
*/
|
|
15132
15494
|
// Deprecated
|
|
15133
15495
|
async describeClusterAddonsVersion(ClusterId: string): Promise<DescribeClusterAddonsVersionResponse> {
|
|
@@ -15136,6 +15498,14 @@ export default class Client extends OpenApi {
|
|
|
15136
15498
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
15137
15499
|
}
|
|
15138
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
|
+
*/
|
|
15139
15509
|
async describeClusterAttachScriptsWithOptions(ClusterId: string, request: DescribeClusterAttachScriptsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAttachScriptsResponse> {
|
|
15140
15510
|
Util.validateModel(request);
|
|
15141
15511
|
let body : {[key: string ]: any} = { };
|
|
@@ -15181,12 +15551,25 @@ export default class Client extends OpenApi {
|
|
|
15181
15551
|
return $tea.cast<DescribeClusterAttachScriptsResponse>(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
15182
15552
|
}
|
|
15183
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
|
+
*/
|
|
15184
15560
|
async describeClusterAttachScripts(ClusterId: string, request: DescribeClusterAttachScriptsRequest): Promise<DescribeClusterAttachScriptsResponse> {
|
|
15185
15561
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15186
15562
|
let headers : {[key: string ]: string} = { };
|
|
15187
15563
|
return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
|
|
15188
15564
|
}
|
|
15189
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
|
+
*/
|
|
15190
15573
|
async describeClusterDetailWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterDetailResponse> {
|
|
15191
15574
|
let req = new $OpenApi.OpenApiRequest({
|
|
15192
15575
|
headers: headers,
|
|
@@ -15205,12 +15588,25 @@ export default class Client extends OpenApi {
|
|
|
15205
15588
|
return $tea.cast<DescribeClusterDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
15206
15589
|
}
|
|
15207
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
|
+
*/
|
|
15208
15596
|
async describeClusterDetail(ClusterId: string): Promise<DescribeClusterDetailResponse> {
|
|
15209
15597
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15210
15598
|
let headers : {[key: string ]: string} = { };
|
|
15211
15599
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
15212
15600
|
}
|
|
15213
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
|
+
*/
|
|
15214
15610
|
async describeClusterEventsWithOptions(ClusterId: string, request: DescribeClusterEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterEventsResponse> {
|
|
15215
15611
|
Util.validateModel(request);
|
|
15216
15612
|
let query : {[key: string ]: any} = { };
|
|
@@ -15244,12 +15640,25 @@ export default class Client extends OpenApi {
|
|
|
15244
15640
|
return $tea.cast<DescribeClusterEventsResponse>(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
15245
15641
|
}
|
|
15246
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
|
+
*/
|
|
15247
15649
|
async describeClusterEvents(ClusterId: string, request: DescribeClusterEventsRequest): Promise<DescribeClusterEventsResponse> {
|
|
15248
15650
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15249
15651
|
let headers : {[key: string ]: string} = { };
|
|
15250
15652
|
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
15251
15653
|
}
|
|
15252
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
|
+
*/
|
|
15253
15662
|
async describeClusterLogsWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterLogsResponse> {
|
|
15254
15663
|
let req = new $OpenApi.OpenApiRequest({
|
|
15255
15664
|
headers: headers,
|
|
@@ -15268,12 +15677,24 @@ export default class Client extends OpenApi {
|
|
|
15268
15677
|
return $tea.cast<DescribeClusterLogsResponse>(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
15269
15678
|
}
|
|
15270
15679
|
|
|
15680
|
+
/**
|
|
15681
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
15682
|
+
*
|
|
15683
|
+
* @return DescribeClusterLogsResponse
|
|
15684
|
+
*/
|
|
15271
15685
|
async describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse> {
|
|
15272
15686
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15273
15687
|
let headers : {[key: string ]: string} = { };
|
|
15274
15688
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
15275
15689
|
}
|
|
15276
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
|
+
*/
|
|
15277
15698
|
async describeClusterNodePoolDetailWithOptions(ClusterId: string, NodepoolId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolDetailResponse> {
|
|
15278
15699
|
let req = new $OpenApi.OpenApiRequest({
|
|
15279
15700
|
headers: headers,
|
|
@@ -15292,12 +15713,25 @@ export default class Client extends OpenApi {
|
|
|
15292
15713
|
return $tea.cast<DescribeClusterNodePoolDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
15293
15714
|
}
|
|
15294
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
|
+
*/
|
|
15295
15721
|
async describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse> {
|
|
15296
15722
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15297
15723
|
let headers : {[key: string ]: string} = { };
|
|
15298
15724
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
15299
15725
|
}
|
|
15300
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
|
+
*/
|
|
15301
15735
|
async describeClusterNodePoolsWithOptions(ClusterId: string, request: DescribeClusterNodePoolsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse> {
|
|
15302
15736
|
Util.validateModel(request);
|
|
15303
15737
|
let query : {[key: string ]: any} = { };
|
|
@@ -15323,12 +15757,26 @@ export default class Client extends OpenApi {
|
|
|
15323
15757
|
return $tea.cast<DescribeClusterNodePoolsResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
15324
15758
|
}
|
|
15325
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
|
+
*/
|
|
15326
15766
|
async describeClusterNodePools(ClusterId: string, request: DescribeClusterNodePoolsRequest): Promise<DescribeClusterNodePoolsResponse> {
|
|
15327
15767
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15328
15768
|
let headers : {[key: string ]: string} = { };
|
|
15329
15769
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
15330
15770
|
}
|
|
15331
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
|
+
*/
|
|
15332
15780
|
async describeClusterNodesWithOptions(ClusterId: string, request: DescribeClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse> {
|
|
15333
15781
|
Util.validateModel(request);
|
|
15334
15782
|
let query : {[key: string ]: any} = { };
|
|
@@ -15370,12 +15818,26 @@ export default class Client extends OpenApi {
|
|
|
15370
15818
|
return $tea.cast<DescribeClusterNodesResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
15371
15819
|
}
|
|
15372
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
|
+
*/
|
|
15373
15827
|
async describeClusterNodes(ClusterId: string, request: DescribeClusterNodesRequest): Promise<DescribeClusterNodesResponse> {
|
|
15374
15828
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15375
15829
|
let headers : {[key: string ]: string} = { };
|
|
15376
15830
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
15377
15831
|
}
|
|
15378
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
|
+
*/
|
|
15379
15841
|
async describeClusterResourcesWithOptions(ClusterId: string, request: DescribeClusterResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterResourcesResponse> {
|
|
15380
15842
|
Util.validateModel(request);
|
|
15381
15843
|
let query : {[key: string ]: any} = { };
|
|
@@ -15401,12 +15863,26 @@ export default class Client extends OpenApi {
|
|
|
15401
15863
|
return $tea.cast<DescribeClusterResourcesResponse>(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
15402
15864
|
}
|
|
15403
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
|
+
*/
|
|
15404
15872
|
async describeClusterResources(ClusterId: string, request: DescribeClusterResourcesRequest): Promise<DescribeClusterResourcesResponse> {
|
|
15405
15873
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15406
15874
|
let headers : {[key: string ]: string} = { };
|
|
15407
15875
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
15408
15876
|
}
|
|
15409
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
|
+
*/
|
|
15410
15886
|
async describeClusterTasksWithOptions(clusterId: string, request: DescribeClusterTasksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse> {
|
|
15411
15887
|
Util.validateModel(request);
|
|
15412
15888
|
let query : {[key: string ]: any} = { };
|
|
@@ -15436,6 +15912,12 @@ export default class Client extends OpenApi {
|
|
|
15436
15912
|
return $tea.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
15437
15913
|
}
|
|
15438
15914
|
|
|
15915
|
+
/**
|
|
15916
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
15917
|
+
*
|
|
15918
|
+
* @param request DescribeClusterTasksRequest
|
|
15919
|
+
* @return DescribeClusterTasksResponse
|
|
15920
|
+
*/
|
|
15439
15921
|
async describeClusterTasks(clusterId: string, request: DescribeClusterTasksRequest): Promise<DescribeClusterTasksResponse> {
|
|
15440
15922
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15441
15923
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15443,13 +15925,15 @@ export default class Client extends OpenApi {
|
|
|
15443
15925
|
}
|
|
15444
15926
|
|
|
15445
15927
|
/**
|
|
15446
|
-
|
|
15447
|
-
|
|
15448
|
-
|
|
15449
|
-
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
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
|
|
15453
15937
|
*/
|
|
15454
15938
|
async describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse> {
|
|
15455
15939
|
Util.validateModel(request);
|
|
@@ -15481,11 +15965,13 @@ export default class Client extends OpenApi {
|
|
|
15481
15965
|
}
|
|
15482
15966
|
|
|
15483
15967
|
/**
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
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
|
|
15489
15975
|
*/
|
|
15490
15976
|
async describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse> {
|
|
15491
15977
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -15494,12 +15980,14 @@ export default class Client extends OpenApi {
|
|
|
15494
15980
|
}
|
|
15495
15981
|
|
|
15496
15982
|
/**
|
|
15497
|
-
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
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
|
|
15503
15991
|
*/
|
|
15504
15992
|
// Deprecated
|
|
15505
15993
|
async describeClusterV2UserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterV2UserKubeconfigResponse> {
|
|
@@ -15528,10 +16016,12 @@ export default class Client extends OpenApi {
|
|
|
15528
16016
|
}
|
|
15529
16017
|
|
|
15530
16018
|
/**
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
|
|
15534
|
-
|
|
16019
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
16020
|
+
*
|
|
16021
|
+
* @summary 获取集群kubeconfig接口
|
|
16022
|
+
*
|
|
16023
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
16024
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
15535
16025
|
*/
|
|
15536
16026
|
// Deprecated
|
|
15537
16027
|
async describeClusterV2UserKubeconfig(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest): Promise<DescribeClusterV2UserKubeconfigResponse> {
|
|
@@ -15540,6 +16030,13 @@ export default class Client extends OpenApi {
|
|
|
15540
16030
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
15541
16031
|
}
|
|
15542
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
|
+
*/
|
|
15543
16040
|
async describeClusterVulsWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterVulsResponse> {
|
|
15544
16041
|
let req = new $OpenApi.OpenApiRequest({
|
|
15545
16042
|
headers: headers,
|
|
@@ -15558,6 +16055,11 @@ export default class Client extends OpenApi {
|
|
|
15558
16055
|
return $tea.cast<DescribeClusterVulsResponse>(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
15559
16056
|
}
|
|
15560
16057
|
|
|
16058
|
+
/**
|
|
16059
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
16060
|
+
*
|
|
16061
|
+
* @return DescribeClusterVulsResponse
|
|
16062
|
+
*/
|
|
15561
16063
|
async describeClusterVuls(clusterId: string): Promise<DescribeClusterVulsResponse> {
|
|
15562
16064
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15563
16065
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15565,12 +16067,14 @@ export default class Client extends OpenApi {
|
|
|
15565
16067
|
}
|
|
15566
16068
|
|
|
15567
16069
|
/**
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
|
|
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
|
|
15574
16078
|
*/
|
|
15575
16079
|
// Deprecated
|
|
15576
16080
|
async describeClustersWithOptions(request: DescribeClustersRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersResponse> {
|
|
@@ -15603,10 +16107,12 @@ export default class Client extends OpenApi {
|
|
|
15603
16107
|
}
|
|
15604
16108
|
|
|
15605
16109
|
/**
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
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
|
|
15610
16116
|
*/
|
|
15611
16117
|
// Deprecated
|
|
15612
16118
|
async describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse> {
|
|
@@ -15615,6 +16121,14 @@ export default class Client extends OpenApi {
|
|
|
15615
16121
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
15616
16122
|
}
|
|
15617
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
|
+
*/
|
|
15618
16132
|
async describeClustersV1WithOptions(request: DescribeClustersV1Request, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersV1Response> {
|
|
15619
16133
|
Util.validateModel(request);
|
|
15620
16134
|
let query : {[key: string ]: any} = { };
|
|
@@ -15668,12 +16182,25 @@ export default class Client extends OpenApi {
|
|
|
15668
16182
|
return $tea.cast<DescribeClustersV1Response>(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
15669
16183
|
}
|
|
15670
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
|
+
*/
|
|
15671
16191
|
async describeClustersV1(request: DescribeClustersV1Request): Promise<DescribeClustersV1Response> {
|
|
15672
16192
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15673
16193
|
let headers : {[key: string ]: string} = { };
|
|
15674
16194
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
15675
16195
|
}
|
|
15676
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
|
+
*/
|
|
15677
16204
|
async describeEdgeMachineActiveProcessWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
15678
16205
|
let req = new $OpenApi.OpenApiRequest({
|
|
15679
16206
|
headers: headers,
|
|
@@ -15692,12 +16219,24 @@ export default class Client extends OpenApi {
|
|
|
15692
16219
|
return $tea.cast<DescribeEdgeMachineActiveProcessResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
15693
16220
|
}
|
|
15694
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
|
+
*/
|
|
15695
16227
|
async describeEdgeMachineActiveProcess(edgeMachineid: string): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
15696
16228
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15697
16229
|
let headers : {[key: string ]: string} = { };
|
|
15698
16230
|
return await this.describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime);
|
|
15699
16231
|
}
|
|
15700
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
|
+
*/
|
|
15701
16240
|
async describeEdgeMachineModelsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineModelsResponse> {
|
|
15702
16241
|
let req = new $OpenApi.OpenApiRequest({
|
|
15703
16242
|
headers: headers,
|
|
@@ -15716,12 +16255,24 @@ export default class Client extends OpenApi {
|
|
|
15716
16255
|
return $tea.cast<DescribeEdgeMachineModelsResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
15717
16256
|
}
|
|
15718
16257
|
|
|
16258
|
+
/**
|
|
16259
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
16260
|
+
*
|
|
16261
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
16262
|
+
*/
|
|
15719
16263
|
async describeEdgeMachineModels(): Promise<DescribeEdgeMachineModelsResponse> {
|
|
15720
16264
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15721
16265
|
let headers : {[key: string ]: string} = { };
|
|
15722
16266
|
return await this.describeEdgeMachineModelsWithOptions(headers, runtime);
|
|
15723
16267
|
}
|
|
15724
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
|
+
*/
|
|
15725
16276
|
async describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineTunnelConfigDetailResponse> {
|
|
15726
16277
|
let req = new $OpenApi.OpenApiRequest({
|
|
15727
16278
|
headers: headers,
|
|
@@ -15740,12 +16291,25 @@ export default class Client extends OpenApi {
|
|
|
15740
16291
|
return $tea.cast<DescribeEdgeMachineTunnelConfigDetailResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
15741
16292
|
}
|
|
15742
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
|
+
*/
|
|
15743
16299
|
async describeEdgeMachineTunnelConfigDetail(edgeMachineid: string): Promise<DescribeEdgeMachineTunnelConfigDetailResponse> {
|
|
15744
16300
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15745
16301
|
let headers : {[key: string ]: string} = { };
|
|
15746
16302
|
return await this.describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime);
|
|
15747
16303
|
}
|
|
15748
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
|
+
*/
|
|
15749
16313
|
async describeEdgeMachinesWithOptions(request: DescribeEdgeMachinesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachinesResponse> {
|
|
15750
16314
|
Util.validateModel(request);
|
|
15751
16315
|
let query : {[key: string ]: any} = { };
|
|
@@ -15791,12 +16355,26 @@ export default class Client extends OpenApi {
|
|
|
15791
16355
|
return $tea.cast<DescribeEdgeMachinesResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
15792
16356
|
}
|
|
15793
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
|
+
*/
|
|
15794
16364
|
async describeEdgeMachines(request: DescribeEdgeMachinesRequest): Promise<DescribeEdgeMachinesResponse> {
|
|
15795
16365
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15796
16366
|
let headers : {[key: string ]: string} = { };
|
|
15797
16367
|
return await this.describeEdgeMachinesWithOptions(request, headers, runtime);
|
|
15798
16368
|
}
|
|
15799
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
|
+
*/
|
|
15800
16378
|
async describeEventsWithOptions(request: DescribeEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsResponse> {
|
|
15801
16379
|
Util.validateModel(request);
|
|
15802
16380
|
let query : {[key: string ]: any} = { };
|
|
@@ -15834,6 +16412,12 @@ export default class Client extends OpenApi {
|
|
|
15834
16412
|
return $tea.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
15835
16413
|
}
|
|
15836
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
|
+
*/
|
|
15837
16421
|
async describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse> {
|
|
15838
16422
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15839
16423
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15841,12 +16425,14 @@ export default class Client extends OpenApi {
|
|
|
15841
16425
|
}
|
|
15842
16426
|
|
|
15843
16427
|
/**
|
|
15844
|
-
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
|
|
15849
|
-
|
|
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
|
|
15850
16436
|
*/
|
|
15851
16437
|
async describeExternalAgentWithOptions(ClusterId: string, request: DescribeExternalAgentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse> {
|
|
15852
16438
|
Util.validateModel(request);
|
|
@@ -15878,10 +16464,12 @@ export default class Client extends OpenApi {
|
|
|
15878
16464
|
}
|
|
15879
16465
|
|
|
15880
16466
|
/**
|
|
15881
|
-
|
|
15882
|
-
|
|
15883
|
-
|
|
15884
|
-
|
|
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
|
|
15885
16473
|
*/
|
|
15886
16474
|
async describeExternalAgent(ClusterId: string, request: DescribeExternalAgentRequest): Promise<DescribeExternalAgentResponse> {
|
|
15887
16475
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -15889,6 +16477,14 @@ export default class Client extends OpenApi {
|
|
|
15889
16477
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
15890
16478
|
}
|
|
15891
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
|
+
*/
|
|
15892
16488
|
async describeKubernetesVersionMetadataWithOptions(request: DescribeKubernetesVersionMetadataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeKubernetesVersionMetadataResponse> {
|
|
15893
16489
|
Util.validateModel(request);
|
|
15894
16490
|
let query : {[key: string ]: any} = { };
|
|
@@ -15934,12 +16530,26 @@ export default class Client extends OpenApi {
|
|
|
15934
16530
|
return $tea.cast<DescribeKubernetesVersionMetadataResponse>(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
15935
16531
|
}
|
|
15936
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
|
+
*/
|
|
15937
16539
|
async describeKubernetesVersionMetadata(request: DescribeKubernetesVersionMetadataRequest): Promise<DescribeKubernetesVersionMetadataResponse> {
|
|
15938
16540
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15939
16541
|
let headers : {[key: string ]: string} = { };
|
|
15940
16542
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
15941
16543
|
}
|
|
15942
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
|
+
*/
|
|
15943
16553
|
async describeNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeNodePoolVulsResponse> {
|
|
15944
16554
|
Util.validateModel(request);
|
|
15945
16555
|
let query : {[key: string ]: any} = { };
|
|
@@ -15965,12 +16575,25 @@ export default class Client extends OpenApi {
|
|
|
15965
16575
|
return $tea.cast<DescribeNodePoolVulsResponse>(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
15966
16576
|
}
|
|
15967
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
|
+
*/
|
|
15968
16584
|
async describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse> {
|
|
15969
16585
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15970
16586
|
let headers : {[key: string ]: string} = { };
|
|
15971
16587
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
15972
16588
|
}
|
|
15973
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
|
+
*/
|
|
15974
16597
|
async describePoliciesWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse> {
|
|
15975
16598
|
let req = new $OpenApi.OpenApiRequest({
|
|
15976
16599
|
headers: headers,
|
|
@@ -15989,12 +16612,24 @@ export default class Client extends OpenApi {
|
|
|
15989
16612
|
return $tea.cast<DescribePoliciesResponse>(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
15990
16613
|
}
|
|
15991
16614
|
|
|
16615
|
+
/**
|
|
16616
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
16617
|
+
*
|
|
16618
|
+
* @return DescribePoliciesResponse
|
|
16619
|
+
*/
|
|
15992
16620
|
async describePolicies(): Promise<DescribePoliciesResponse> {
|
|
15993
16621
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15994
16622
|
let headers : {[key: string ]: string} = { };
|
|
15995
16623
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
15996
16624
|
}
|
|
15997
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
|
+
*/
|
|
15998
16633
|
async describePolicyDetailsWithOptions(policyName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyDetailsResponse> {
|
|
15999
16634
|
let req = new $OpenApi.OpenApiRequest({
|
|
16000
16635
|
headers: headers,
|
|
@@ -16013,12 +16648,24 @@ export default class Client extends OpenApi {
|
|
|
16013
16648
|
return $tea.cast<DescribePolicyDetailsResponse>(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
16014
16649
|
}
|
|
16015
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
|
+
*/
|
|
16016
16656
|
async describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse> {
|
|
16017
16657
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16018
16658
|
let headers : {[key: string ]: string} = { };
|
|
16019
16659
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
16020
16660
|
}
|
|
16021
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
|
+
*/
|
|
16022
16669
|
async describePolicyGovernanceInClusterWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse> {
|
|
16023
16670
|
let req = new $OpenApi.OpenApiRequest({
|
|
16024
16671
|
headers: headers,
|
|
@@ -16037,12 +16684,25 @@ export default class Client extends OpenApi {
|
|
|
16037
16684
|
return $tea.cast<DescribePolicyGovernanceInClusterResponse>(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
16038
16685
|
}
|
|
16039
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
|
+
*/
|
|
16040
16692
|
async describePolicyGovernanceInCluster(clusterId: string): Promise<DescribePolicyGovernanceInClusterResponse> {
|
|
16041
16693
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16042
16694
|
let headers : {[key: string ]: string} = { };
|
|
16043
16695
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
16044
16696
|
}
|
|
16045
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
|
+
*/
|
|
16046
16706
|
async describePolicyInstancesWithOptions(clusterId: string, request: DescribePolicyInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesResponse> {
|
|
16047
16707
|
Util.validateModel(request);
|
|
16048
16708
|
let query : {[key: string ]: any} = { };
|
|
@@ -16072,12 +16732,25 @@ export default class Client extends OpenApi {
|
|
|
16072
16732
|
return $tea.cast<DescribePolicyInstancesResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
16073
16733
|
}
|
|
16074
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
|
+
*/
|
|
16075
16741
|
async describePolicyInstances(clusterId: string, request: DescribePolicyInstancesRequest): Promise<DescribePolicyInstancesResponse> {
|
|
16076
16742
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16077
16743
|
let headers : {[key: string ]: string} = { };
|
|
16078
16744
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
16079
16745
|
}
|
|
16080
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
|
+
*/
|
|
16081
16754
|
async describePolicyInstancesStatusWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesStatusResponse> {
|
|
16082
16755
|
let req = new $OpenApi.OpenApiRequest({
|
|
16083
16756
|
headers: headers,
|
|
@@ -16096,6 +16769,11 @@ export default class Client extends OpenApi {
|
|
|
16096
16769
|
return $tea.cast<DescribePolicyInstancesStatusResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
16097
16770
|
}
|
|
16098
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
|
+
*/
|
|
16099
16777
|
async describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse> {
|
|
16100
16778
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16101
16779
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16103,13 +16781,15 @@ export default class Client extends OpenApi {
|
|
|
16103
16781
|
}
|
|
16104
16782
|
|
|
16105
16783
|
/**
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
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
|
|
16113
16793
|
*/
|
|
16114
16794
|
async describeSubaccountK8sClusterUserConfigWithOptions(ClusterId: string, Uid: string, request: DescribeSubaccountK8sClusterUserConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse> {
|
|
16115
16795
|
Util.validateModel(request);
|
|
@@ -16141,11 +16821,13 @@ export default class Client extends OpenApi {
|
|
|
16141
16821
|
}
|
|
16142
16822
|
|
|
16143
16823
|
/**
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
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
|
|
16149
16831
|
*/
|
|
16150
16832
|
async describeSubaccountK8sClusterUserConfig(ClusterId: string, Uid: string, request: DescribeSubaccountK8sClusterUserConfigRequest): Promise<DescribeSubaccountK8sClusterUserConfigResponse> {
|
|
16151
16833
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16153,6 +16835,13 @@ export default class Client extends OpenApi {
|
|
|
16153
16835
|
return await this.describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
16154
16836
|
}
|
|
16155
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
|
+
*/
|
|
16156
16845
|
async describeTaskInfoWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTaskInfoResponse> {
|
|
16157
16846
|
let req = new $OpenApi.OpenApiRequest({
|
|
16158
16847
|
headers: headers,
|
|
@@ -16171,12 +16860,25 @@ export default class Client extends OpenApi {
|
|
|
16171
16860
|
return $tea.cast<DescribeTaskInfoResponse>(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
16172
16861
|
}
|
|
16173
16862
|
|
|
16863
|
+
/**
|
|
16864
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
16865
|
+
*
|
|
16866
|
+
* @return DescribeTaskInfoResponse
|
|
16867
|
+
*/
|
|
16174
16868
|
async describeTaskInfo(taskId: string): Promise<DescribeTaskInfoResponse> {
|
|
16175
16869
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16176
16870
|
let headers : {[key: string ]: string} = { };
|
|
16177
16871
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
16178
16872
|
}
|
|
16179
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
|
+
*/
|
|
16180
16882
|
async describeTemplateAttributeWithOptions(TemplateId: string, request: DescribeTemplateAttributeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTemplateAttributeResponse> {
|
|
16181
16883
|
Util.validateModel(request);
|
|
16182
16884
|
let query : {[key: string ]: any} = { };
|
|
@@ -16202,12 +16904,26 @@ export default class Client extends OpenApi {
|
|
|
16202
16904
|
return $tea.cast<DescribeTemplateAttributeResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
16203
16905
|
}
|
|
16204
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
|
+
*/
|
|
16205
16913
|
async describeTemplateAttribute(TemplateId: string, request: DescribeTemplateAttributeRequest): Promise<DescribeTemplateAttributeResponse> {
|
|
16206
16914
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16207
16915
|
let headers : {[key: string ]: string} = { };
|
|
16208
16916
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
16209
16917
|
}
|
|
16210
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
|
+
*/
|
|
16211
16927
|
async describeTemplatesWithOptions(request: DescribeTemplatesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTemplatesResponse> {
|
|
16212
16928
|
Util.validateModel(request);
|
|
16213
16929
|
let query : {[key: string ]: any} = { };
|
|
@@ -16241,12 +16957,26 @@ export default class Client extends OpenApi {
|
|
|
16241
16957
|
return $tea.cast<DescribeTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
16242
16958
|
}
|
|
16243
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
|
+
*/
|
|
16244
16966
|
async describeTemplates(request: DescribeTemplatesRequest): Promise<DescribeTemplatesResponse> {
|
|
16245
16967
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16246
16968
|
let headers : {[key: string ]: string} = { };
|
|
16247
16969
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
16248
16970
|
}
|
|
16249
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
|
+
*/
|
|
16250
16980
|
async describeTriggerWithOptions(clusterId: string, request: DescribeTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTriggerResponse> {
|
|
16251
16981
|
Util.validateModel(request);
|
|
16252
16982
|
let query : {[key: string ]: any} = { };
|
|
@@ -16284,12 +17014,25 @@ export default class Client extends OpenApi {
|
|
|
16284
17014
|
return $tea.cast<DescribeTriggerResponse>(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
16285
17015
|
}
|
|
16286
17016
|
|
|
17017
|
+
/**
|
|
17018
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
17019
|
+
*
|
|
17020
|
+
* @param request DescribeTriggerRequest
|
|
17021
|
+
* @return DescribeTriggerResponse
|
|
17022
|
+
*/
|
|
16287
17023
|
async describeTrigger(clusterId: string, request: DescribeTriggerRequest): Promise<DescribeTriggerResponse> {
|
|
16288
17024
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16289
17025
|
let headers : {[key: string ]: string} = { };
|
|
16290
17026
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
16291
17027
|
}
|
|
16292
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
|
+
*/
|
|
16293
17036
|
async describeUserClusterNamespacesWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserClusterNamespacesResponse> {
|
|
16294
17037
|
let req = new $OpenApi.OpenApiRequest({
|
|
16295
17038
|
headers: headers,
|
|
@@ -16308,12 +17051,24 @@ export default class Client extends OpenApi {
|
|
|
16308
17051
|
return $tea.cast<DescribeUserClusterNamespacesResponse>(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
16309
17052
|
}
|
|
16310
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
|
+
*/
|
|
16311
17059
|
async describeUserClusterNamespaces(ClusterId: string): Promise<DescribeUserClusterNamespacesResponse> {
|
|
16312
17060
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16313
17061
|
let headers : {[key: string ]: string} = { };
|
|
16314
17062
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
16315
17063
|
}
|
|
16316
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
|
+
*/
|
|
16317
17072
|
async describeUserPermissionWithOptions(uid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserPermissionResponse> {
|
|
16318
17073
|
let req = new $OpenApi.OpenApiRequest({
|
|
16319
17074
|
headers: headers,
|
|
@@ -16332,12 +17087,24 @@ export default class Client extends OpenApi {
|
|
|
16332
17087
|
return $tea.cast<DescribeUserPermissionResponse>(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
16333
17088
|
}
|
|
16334
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
|
+
*/
|
|
16335
17095
|
async describeUserPermission(uid: string): Promise<DescribeUserPermissionResponse> {
|
|
16336
17096
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16337
17097
|
let headers : {[key: string ]: string} = { };
|
|
16338
17098
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
16339
17099
|
}
|
|
16340
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
|
+
*/
|
|
16341
17108
|
async describeUserQuotaWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserQuotaResponse> {
|
|
16342
17109
|
let req = new $OpenApi.OpenApiRequest({
|
|
16343
17110
|
headers: headers,
|
|
@@ -16356,12 +17123,24 @@ export default class Client extends OpenApi {
|
|
|
16356
17123
|
return $tea.cast<DescribeUserQuotaResponse>(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
16357
17124
|
}
|
|
16358
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
|
+
*/
|
|
16359
17131
|
async describeUserQuota(): Promise<DescribeUserQuotaResponse> {
|
|
16360
17132
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16361
17133
|
let headers : {[key: string ]: string} = { };
|
|
16362
17134
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
16363
17135
|
}
|
|
16364
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
|
+
*/
|
|
16365
17144
|
async describeWorkflowsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse> {
|
|
16366
17145
|
let req = new $OpenApi.OpenApiRequest({
|
|
16367
17146
|
headers: headers,
|
|
@@ -16380,12 +17159,25 @@ export default class Client extends OpenApi {
|
|
|
16380
17159
|
return $tea.cast<DescribeWorkflowsResponse>(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
|
|
16381
17160
|
}
|
|
16382
17161
|
|
|
17162
|
+
/**
|
|
17163
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
17164
|
+
*
|
|
17165
|
+
* @return DescribeWorkflowsResponse
|
|
17166
|
+
*/
|
|
16383
17167
|
async describeWorkflows(): Promise<DescribeWorkflowsResponse> {
|
|
16384
17168
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16385
17169
|
let headers : {[key: string ]: string} = { };
|
|
16386
17170
|
return await this.describeWorkflowsWithOptions(headers, runtime);
|
|
16387
17171
|
}
|
|
16388
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
|
+
*/
|
|
16389
17181
|
async edgeClusterAddEdgeMachineWithOptions(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
16390
17182
|
Util.validateModel(request);
|
|
16391
17183
|
let body : {[key: string ]: any} = { };
|
|
@@ -16419,6 +17211,12 @@ export default class Client extends OpenApi {
|
|
|
16419
17211
|
return $tea.cast<EdgeClusterAddEdgeMachineResponse>(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
16420
17212
|
}
|
|
16421
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
|
+
*/
|
|
16422
17220
|
async edgeClusterAddEdgeMachine(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
16423
17221
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16424
17222
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16426,15 +17224,17 @@ export default class Client extends OpenApi {
|
|
|
16426
17224
|
}
|
|
16427
17225
|
|
|
16428
17226
|
/**
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
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
|
|
16438
17238
|
*/
|
|
16439
17239
|
async fixNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<FixNodePoolVulsResponse> {
|
|
16440
17240
|
Util.validateModel(request);
|
|
@@ -16474,13 +17274,15 @@ export default class Client extends OpenApi {
|
|
|
16474
17274
|
}
|
|
16475
17275
|
|
|
16476
17276
|
/**
|
|
16477
|
-
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
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
|
|
16484
17286
|
*/
|
|
16485
17287
|
async fixNodePoolVuls(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest): Promise<FixNodePoolVulsResponse> {
|
|
16486
17288
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16488,6 +17290,13 @@ export default class Client extends OpenApi {
|
|
|
16488
17290
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
16489
17291
|
}
|
|
16490
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
|
+
*/
|
|
16491
17300
|
async getClusterAddonInstanceWithOptions(clusterId: string, instanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterAddonInstanceResponse> {
|
|
16492
17301
|
let req = new $OpenApi.OpenApiRequest({
|
|
16493
17302
|
headers: headers,
|
|
@@ -16506,12 +17315,24 @@ export default class Client extends OpenApi {
|
|
|
16506
17315
|
return $tea.cast<GetClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
16507
17316
|
}
|
|
16508
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
|
+
*/
|
|
16509
17323
|
async getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse> {
|
|
16510
17324
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16511
17325
|
let headers : {[key: string ]: string} = { };
|
|
16512
17326
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
16513
17327
|
}
|
|
16514
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
|
+
*/
|
|
16515
17336
|
async getClusterCheckWithOptions(clusterId: string, checkId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckResponse> {
|
|
16516
17337
|
let req = new $OpenApi.OpenApiRequest({
|
|
16517
17338
|
headers: headers,
|
|
@@ -16530,12 +17351,25 @@ export default class Client extends OpenApi {
|
|
|
16530
17351
|
return $tea.cast<GetClusterCheckResponse>(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
16531
17352
|
}
|
|
16532
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
|
+
*/
|
|
16533
17359
|
async getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse> {
|
|
16534
17360
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16535
17361
|
let headers : {[key: string ]: string} = { };
|
|
16536
17362
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
16537
17363
|
}
|
|
16538
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
|
+
*/
|
|
16539
17373
|
async getKubernetesTriggerWithOptions(ClusterId: string, request: GetKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetKubernetesTriggerResponse> {
|
|
16540
17374
|
Util.validateModel(request);
|
|
16541
17375
|
let query : {[key: string ]: any} = { };
|
|
@@ -16573,12 +17407,25 @@ export default class Client extends OpenApi {
|
|
|
16573
17407
|
return $tea.cast<GetKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
16574
17408
|
}
|
|
16575
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
|
+
*/
|
|
16576
17416
|
async getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse> {
|
|
16577
17417
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16578
17418
|
let headers : {[key: string ]: string} = { };
|
|
16579
17419
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
16580
17420
|
}
|
|
16581
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
|
+
*/
|
|
16582
17429
|
async getUpgradeStatusWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse> {
|
|
16583
17430
|
let req = new $OpenApi.OpenApiRequest({
|
|
16584
17431
|
headers: headers,
|
|
@@ -16597,6 +17444,11 @@ export default class Client extends OpenApi {
|
|
|
16597
17444
|
return $tea.cast<GetUpgradeStatusResponse>(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
16598
17445
|
}
|
|
16599
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
|
+
*/
|
|
16600
17452
|
async getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse> {
|
|
16601
17453
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16602
17454
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16604,15 +17456,17 @@ export default class Client extends OpenApi {
|
|
|
16604
17456
|
}
|
|
16605
17457
|
|
|
16606
17458
|
/**
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
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
|
|
16616
17470
|
*/
|
|
16617
17471
|
async grantPermissionsWithOptions(uid: string, request: GrantPermissionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse> {
|
|
16618
17472
|
Util.validateModel(request);
|
|
@@ -16635,13 +17489,15 @@ export default class Client extends OpenApi {
|
|
|
16635
17489
|
}
|
|
16636
17490
|
|
|
16637
17491
|
/**
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
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
|
|
16645
17501
|
*/
|
|
16646
17502
|
async grantPermissions(uid: string, request: GrantPermissionsRequest): Promise<GrantPermissionsResponse> {
|
|
16647
17503
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16649,6 +17505,14 @@ export default class Client extends OpenApi {
|
|
|
16649
17505
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
16650
17506
|
}
|
|
16651
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
|
+
*/
|
|
16652
17516
|
async installClusterAddonsWithOptions(ClusterId: string, request: InstallClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<InstallClusterAddonsResponse> {
|
|
16653
17517
|
Util.validateModel(request);
|
|
16654
17518
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -16669,12 +17533,26 @@ export default class Client extends OpenApi {
|
|
|
16669
17533
|
return $tea.cast<InstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
16670
17534
|
}
|
|
16671
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
|
+
*/
|
|
16672
17542
|
async installClusterAddons(ClusterId: string, request: InstallClusterAddonsRequest): Promise<InstallClusterAddonsResponse> {
|
|
16673
17543
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16674
17544
|
let headers : {[key: string ]: string} = { };
|
|
16675
17545
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
16676
17546
|
}
|
|
16677
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
|
+
*/
|
|
16678
17556
|
async listAddonsWithOptions(request: ListAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListAddonsResponse> {
|
|
16679
17557
|
Util.validateModel(request);
|
|
16680
17558
|
let query : {[key: string ]: any} = { };
|
|
@@ -16720,12 +17598,25 @@ export default class Client extends OpenApi {
|
|
|
16720
17598
|
return $tea.cast<ListAddonsResponse>(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
16721
17599
|
}
|
|
16722
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
|
+
*/
|
|
16723
17607
|
async listAddons(request: ListAddonsRequest): Promise<ListAddonsResponse> {
|
|
16724
17608
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16725
17609
|
let headers : {[key: string ]: string} = { };
|
|
16726
17610
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
16727
17611
|
}
|
|
16728
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
|
+
*/
|
|
16729
17620
|
async listClusterAddonInstancesWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterAddonInstancesResponse> {
|
|
16730
17621
|
let req = new $OpenApi.OpenApiRequest({
|
|
16731
17622
|
headers: headers,
|
|
@@ -16744,12 +17635,25 @@ export default class Client extends OpenApi {
|
|
|
16744
17635
|
return $tea.cast<ListClusterAddonInstancesResponse>(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
16745
17636
|
}
|
|
16746
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
|
+
*/
|
|
16747
17643
|
async listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse> {
|
|
16748
17644
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16749
17645
|
let headers : {[key: string ]: string} = { };
|
|
16750
17646
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
16751
17647
|
}
|
|
16752
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
|
+
*/
|
|
16753
17657
|
async listClusterChecksWithOptions(clusterId: string, request: ListClusterChecksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse> {
|
|
16754
17658
|
Util.validateModel(request);
|
|
16755
17659
|
let query : {[key: string ]: any} = { };
|
|
@@ -16779,12 +17683,26 @@ export default class Client extends OpenApi {
|
|
|
16779
17683
|
return $tea.cast<ListClusterChecksResponse>(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
16780
17684
|
}
|
|
16781
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
|
+
*/
|
|
16782
17692
|
async listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse> {
|
|
16783
17693
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16784
17694
|
let headers : {[key: string ]: string} = { };
|
|
16785
17695
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
16786
17696
|
}
|
|
16787
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
|
+
*/
|
|
16788
17706
|
async listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse> {
|
|
16789
17707
|
Util.validateModel(request);
|
|
16790
17708
|
let query : {[key: string ]: any} = { };
|
|
@@ -16814,12 +17732,26 @@ export default class Client extends OpenApi {
|
|
|
16814
17732
|
return $tea.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
16815
17733
|
}
|
|
16816
17734
|
|
|
17735
|
+
/**
|
|
17736
|
+
* @summary 获取自动运维执行计划列表
|
|
17737
|
+
*
|
|
17738
|
+
* @param request ListOperationPlansRequest
|
|
17739
|
+
* @return ListOperationPlansResponse
|
|
17740
|
+
*/
|
|
16817
17741
|
async listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse> {
|
|
16818
17742
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16819
17743
|
let headers : {[key: string ]: string} = { };
|
|
16820
17744
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
16821
17745
|
}
|
|
16822
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
|
+
*/
|
|
16823
17755
|
async listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
16824
17756
|
Util.validateModel(tmpReq);
|
|
16825
17757
|
let request = new ListTagResourcesShrinkRequest({ });
|
|
@@ -16871,12 +17803,26 @@ export default class Client extends OpenApi {
|
|
|
16871
17803
|
return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
16872
17804
|
}
|
|
16873
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
|
+
*/
|
|
16874
17812
|
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
16875
17813
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16876
17814
|
let headers : {[key: string ]: string} = { };
|
|
16877
17815
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
16878
17816
|
}
|
|
16879
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
|
+
*/
|
|
16880
17826
|
async migrateClusterWithOptions(clusterId: string, request: MigrateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse> {
|
|
16881
17827
|
Util.validateModel(request);
|
|
16882
17828
|
let body : {[key: string ]: any} = { };
|
|
@@ -16906,12 +17852,26 @@ export default class Client extends OpenApi {
|
|
|
16906
17852
|
return $tea.cast<MigrateClusterResponse>(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
16907
17853
|
}
|
|
16908
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
|
+
*/
|
|
16909
17861
|
async migrateCluster(clusterId: string, request: MigrateClusterRequest): Promise<MigrateClusterResponse> {
|
|
16910
17862
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16911
17863
|
let headers : {[key: string ]: string} = { };
|
|
16912
17864
|
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
16913
17865
|
}
|
|
16914
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
|
+
*/
|
|
16915
17875
|
async modifyClusterWithOptions(ClusterId: string, request: ModifyClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterResponse> {
|
|
16916
17876
|
Util.validateModel(request);
|
|
16917
17877
|
let body : {[key: string ]: any} = { };
|
|
@@ -16989,6 +17949,12 @@ export default class Client extends OpenApi {
|
|
|
16989
17949
|
return $tea.cast<ModifyClusterResponse>(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
16990
17950
|
}
|
|
16991
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
|
+
*/
|
|
16992
17958
|
async modifyCluster(ClusterId: string, request: ModifyClusterRequest): Promise<ModifyClusterResponse> {
|
|
16993
17959
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16994
17960
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16996,15 +17962,17 @@ export default class Client extends OpenApi {
|
|
|
16996
17962
|
}
|
|
16997
17963
|
|
|
16998
17964
|
/**
|
|
16999
|
-
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
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
|
|
17008
17976
|
*/
|
|
17009
17977
|
async modifyClusterAddonWithOptions(clusterId: string, componentId: string, request: ModifyClusterAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterAddonResponse> {
|
|
17010
17978
|
Util.validateModel(request);
|
|
@@ -17032,13 +18000,15 @@ export default class Client extends OpenApi {
|
|
|
17032
18000
|
}
|
|
17033
18001
|
|
|
17034
18002
|
/**
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17041
|
-
|
|
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
|
|
17042
18012
|
*/
|
|
17043
18013
|
async modifyClusterAddon(clusterId: string, componentId: string, request: ModifyClusterAddonRequest): Promise<ModifyClusterAddonResponse> {
|
|
17044
18014
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17046,6 +18016,14 @@ export default class Client extends OpenApi {
|
|
|
17046
18016
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
17047
18017
|
}
|
|
17048
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
|
+
*/
|
|
17049
18027
|
async modifyClusterConfigurationWithOptions(ClusterId: string, request: ModifyClusterConfigurationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterConfigurationResponse> {
|
|
17050
18028
|
Util.validateModel(request);
|
|
17051
18029
|
let body : {[key: string ]: any} = { };
|
|
@@ -17071,12 +18049,26 @@ export default class Client extends OpenApi {
|
|
|
17071
18049
|
return $tea.cast<ModifyClusterConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
17072
18050
|
}
|
|
17073
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
|
+
*/
|
|
17074
18058
|
async modifyClusterConfiguration(ClusterId: string, request: ModifyClusterConfigurationRequest): Promise<ModifyClusterConfigurationResponse> {
|
|
17075
18059
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17076
18060
|
let headers : {[key: string ]: string} = { };
|
|
17077
18061
|
return await this.modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime);
|
|
17078
18062
|
}
|
|
17079
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
|
+
*/
|
|
17080
18072
|
async modifyClusterNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterNodePoolResponse> {
|
|
17081
18073
|
Util.validateModel(request);
|
|
17082
18074
|
let body : {[key: string ]: any} = { };
|
|
@@ -17130,12 +18122,26 @@ export default class Client extends OpenApi {
|
|
|
17130
18122
|
return $tea.cast<ModifyClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
17131
18123
|
}
|
|
17132
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
|
+
*/
|
|
17133
18131
|
async modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest): Promise<ModifyClusterNodePoolResponse> {
|
|
17134
18132
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17135
18133
|
let headers : {[key: string ]: string} = { };
|
|
17136
18134
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17137
18135
|
}
|
|
17138
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
|
+
*/
|
|
17139
18145
|
async modifyClusterTagsWithOptions(ClusterId: string, request: ModifyClusterTagsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse> {
|
|
17140
18146
|
Util.validateModel(request);
|
|
17141
18147
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -17156,6 +18162,12 @@ export default class Client extends OpenApi {
|
|
|
17156
18162
|
return $tea.cast<ModifyClusterTagsResponse>(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
17157
18163
|
}
|
|
17158
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
|
+
*/
|
|
17159
18171
|
async modifyClusterTags(ClusterId: string, request: ModifyClusterTagsRequest): Promise<ModifyClusterTagsResponse> {
|
|
17160
18172
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17161
18173
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17163,12 +18175,14 @@ export default class Client extends OpenApi {
|
|
|
17163
18175
|
}
|
|
17164
18176
|
|
|
17165
18177
|
/**
|
|
17166
|
-
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
|
|
17170
|
-
|
|
17171
|
-
|
|
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
|
|
17172
18186
|
*/
|
|
17173
18187
|
async modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse> {
|
|
17174
18188
|
Util.validateModel(request);
|
|
@@ -17204,10 +18218,12 @@ export default class Client extends OpenApi {
|
|
|
17204
18218
|
}
|
|
17205
18219
|
|
|
17206
18220
|
/**
|
|
17207
|
-
|
|
17208
|
-
|
|
17209
|
-
|
|
17210
|
-
|
|
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
|
|
17211
18227
|
*/
|
|
17212
18228
|
async modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse> {
|
|
17213
18229
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17215,6 +18231,14 @@ export default class Client extends OpenApi {
|
|
|
17215
18231
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17216
18232
|
}
|
|
17217
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
|
+
*/
|
|
17218
18242
|
async modifyPolicyInstanceWithOptions(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse> {
|
|
17219
18243
|
Util.validateModel(request);
|
|
17220
18244
|
let body : {[key: string ]: any} = { };
|
|
@@ -17252,6 +18276,12 @@ export default class Client extends OpenApi {
|
|
|
17252
18276
|
return $tea.cast<ModifyPolicyInstanceResponse>(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
17253
18277
|
}
|
|
17254
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
|
+
*/
|
|
17255
18285
|
async modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse> {
|
|
17256
18286
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17257
18287
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17259,13 +18289,15 @@ export default class Client extends OpenApi {
|
|
|
17259
18289
|
}
|
|
17260
18290
|
|
|
17261
18291
|
/**
|
|
17262
|
-
|
|
17263
|
-
|
|
17264
|
-
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
|
|
17268
|
-
|
|
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
|
|
17269
18301
|
*/
|
|
17270
18302
|
async openAckServiceWithOptions(request: OpenAckServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<OpenAckServiceResponse> {
|
|
17271
18303
|
Util.validateModel(request);
|
|
@@ -17293,11 +18325,13 @@ export default class Client extends OpenApi {
|
|
|
17293
18325
|
}
|
|
17294
18326
|
|
|
17295
18327
|
/**
|
|
17296
|
-
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
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
|
|
17301
18335
|
*/
|
|
17302
18336
|
async openAckService(request: OpenAckServiceRequest): Promise<OpenAckServiceResponse> {
|
|
17303
18337
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17306,11 +18340,13 @@ export default class Client extends OpenApi {
|
|
|
17306
18340
|
}
|
|
17307
18341
|
|
|
17308
18342
|
/**
|
|
17309
|
-
|
|
17310
|
-
|
|
17311
|
-
|
|
17312
|
-
|
|
17313
|
-
|
|
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
|
|
17314
18350
|
*/
|
|
17315
18351
|
// Deprecated
|
|
17316
18352
|
async pauseClusterUpgradeWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseClusterUpgradeResponse> {
|
|
@@ -17332,9 +18368,11 @@ export default class Client extends OpenApi {
|
|
|
17332
18368
|
}
|
|
17333
18369
|
|
|
17334
18370
|
/**
|
|
17335
|
-
|
|
17336
|
-
|
|
17337
|
-
|
|
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
|
|
17338
18376
|
*/
|
|
17339
18377
|
// Deprecated
|
|
17340
18378
|
async pauseClusterUpgrade(ClusterId: string): Promise<PauseClusterUpgradeResponse> {
|
|
@@ -17343,6 +18381,13 @@ export default class Client extends OpenApi {
|
|
|
17343
18381
|
return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
17344
18382
|
}
|
|
17345
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
|
+
*/
|
|
17346
18391
|
async pauseComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseComponentUpgradeResponse> {
|
|
17347
18392
|
let req = new $OpenApi.OpenApiRequest({
|
|
17348
18393
|
headers: headers,
|
|
@@ -17361,12 +18406,24 @@ export default class Client extends OpenApi {
|
|
|
17361
18406
|
return $tea.cast<PauseComponentUpgradeResponse>(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
17362
18407
|
}
|
|
17363
18408
|
|
|
18409
|
+
/**
|
|
18410
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
18411
|
+
*
|
|
18412
|
+
* @return PauseComponentUpgradeResponse
|
|
18413
|
+
*/
|
|
17364
18414
|
async pauseComponentUpgrade(clusterid: string, componentid: string): Promise<PauseComponentUpgradeResponse> {
|
|
17365
18415
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17366
18416
|
let headers : {[key: string ]: string} = { };
|
|
17367
18417
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
17368
18418
|
}
|
|
17369
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
|
+
*/
|
|
17370
18427
|
async pauseTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseTaskResponse> {
|
|
17371
18428
|
let req = new $OpenApi.OpenApiRequest({
|
|
17372
18429
|
headers: headers,
|
|
@@ -17385,6 +18442,11 @@ export default class Client extends OpenApi {
|
|
|
17385
18442
|
return $tea.cast<PauseTaskResponse>(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
17386
18443
|
}
|
|
17387
18444
|
|
|
18445
|
+
/**
|
|
18446
|
+
* @summary Pauses an on-going task.
|
|
18447
|
+
*
|
|
18448
|
+
* @return PauseTaskResponse
|
|
18449
|
+
*/
|
|
17388
18450
|
async pauseTask(taskId: string): Promise<PauseTaskResponse> {
|
|
17389
18451
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17390
18452
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17392,17 +18454,20 @@ export default class Client extends OpenApi {
|
|
|
17392
18454
|
}
|
|
17393
18455
|
|
|
17394
18456
|
/**
|
|
17395
|
-
|
|
17396
|
-
|
|
17397
|
-
|
|
17398
|
-
|
|
17399
|
-
|
|
17400
|
-
|
|
17401
|
-
|
|
17402
|
-
|
|
17403
|
-
|
|
17404
|
-
|
|
17405
|
-
|
|
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
|
|
17406
18471
|
*/
|
|
17407
18472
|
// Deprecated
|
|
17408
18473
|
async removeClusterNodesWithOptions(ClusterId: string, request: RemoveClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveClusterNodesResponse> {
|
|
@@ -17439,15 +18504,18 @@ export default class Client extends OpenApi {
|
|
|
17439
18504
|
}
|
|
17440
18505
|
|
|
17441
18506
|
/**
|
|
17442
|
-
|
|
17443
|
-
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
|
|
17449
|
-
|
|
17450
|
-
|
|
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
|
|
17451
18519
|
*/
|
|
17452
18520
|
// Deprecated
|
|
17453
18521
|
async removeClusterNodes(ClusterId: string, request: RemoveClusterNodesRequest): Promise<RemoveClusterNodesResponse> {
|
|
@@ -17457,14 +18525,16 @@ export default class Client extends OpenApi {
|
|
|
17457
18525
|
}
|
|
17458
18526
|
|
|
17459
18527
|
/**
|
|
17460
|
-
|
|
17461
|
-
|
|
17462
|
-
|
|
17463
|
-
|
|
17464
|
-
|
|
17465
|
-
|
|
17466
|
-
|
|
17467
|
-
|
|
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
|
|
17468
18538
|
*/
|
|
17469
18539
|
async removeNodePoolNodesWithOptions(ClusterId: string, NodepoolId: string, tmpReq: RemoveNodePoolNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveNodePoolNodesResponse> {
|
|
17470
18540
|
Util.validateModel(tmpReq);
|
|
@@ -17518,12 +18588,14 @@ export default class Client extends OpenApi {
|
|
|
17518
18588
|
}
|
|
17519
18589
|
|
|
17520
18590
|
/**
|
|
17521
|
-
|
|
17522
|
-
|
|
17523
|
-
|
|
17524
|
-
|
|
17525
|
-
|
|
17526
|
-
|
|
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
|
|
17527
18599
|
*/
|
|
17528
18600
|
async removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse> {
|
|
17529
18601
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17531,6 +18603,13 @@ export default class Client extends OpenApi {
|
|
|
17531
18603
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17532
18604
|
}
|
|
17533
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
|
+
*/
|
|
17534
18613
|
async removeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse> {
|
|
17535
18614
|
let req = new $OpenApi.OpenApiRequest({
|
|
17536
18615
|
headers: headers,
|
|
@@ -17549,12 +18628,25 @@ export default class Client extends OpenApi {
|
|
|
17549
18628
|
return $tea.cast<RemoveWorkflowResponse>(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
|
|
17550
18629
|
}
|
|
17551
18630
|
|
|
18631
|
+
/**
|
|
18632
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
18633
|
+
*
|
|
18634
|
+
* @return RemoveWorkflowResponse
|
|
18635
|
+
*/
|
|
17552
18636
|
async removeWorkflow(workflowName: string): Promise<RemoveWorkflowResponse> {
|
|
17553
18637
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17554
18638
|
let headers : {[key: string ]: string} = { };
|
|
17555
18639
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
17556
18640
|
}
|
|
17557
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
|
+
*/
|
|
17558
18650
|
async repairClusterNodePoolWithOptions(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse> {
|
|
17559
18651
|
Util.validateModel(request);
|
|
17560
18652
|
let body : {[key: string ]: any} = { };
|
|
@@ -17584,12 +18676,25 @@ export default class Client extends OpenApi {
|
|
|
17584
18676
|
return $tea.cast<RepairClusterNodePoolResponse>(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
17585
18677
|
}
|
|
17586
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
|
+
*/
|
|
17587
18685
|
async repairClusterNodePool(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest): Promise<RepairClusterNodePoolResponse> {
|
|
17588
18686
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17589
18687
|
let headers : {[key: string ]: string} = { };
|
|
17590
18688
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
17591
18689
|
}
|
|
17592
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
|
+
*/
|
|
17593
18698
|
async resumeComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeComponentUpgradeResponse> {
|
|
17594
18699
|
let req = new $OpenApi.OpenApiRequest({
|
|
17595
18700
|
headers: headers,
|
|
@@ -17608,12 +18713,24 @@ export default class Client extends OpenApi {
|
|
|
17608
18713
|
return $tea.cast<ResumeComponentUpgradeResponse>(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
17609
18714
|
}
|
|
17610
18715
|
|
|
18716
|
+
/**
|
|
18717
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
18718
|
+
*
|
|
18719
|
+
* @return ResumeComponentUpgradeResponse
|
|
18720
|
+
*/
|
|
17611
18721
|
async resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse> {
|
|
17612
18722
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17613
18723
|
let headers : {[key: string ]: string} = { };
|
|
17614
18724
|
return await this.resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
17615
18725
|
}
|
|
17616
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
|
+
*/
|
|
17617
18734
|
async resumeTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeTaskResponse> {
|
|
17618
18735
|
let req = new $OpenApi.OpenApiRequest({
|
|
17619
18736
|
headers: headers,
|
|
@@ -17632,6 +18749,11 @@ export default class Client extends OpenApi {
|
|
|
17632
18749
|
return $tea.cast<ResumeTaskResponse>(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
17633
18750
|
}
|
|
17634
18751
|
|
|
18752
|
+
/**
|
|
18753
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
18754
|
+
*
|
|
18755
|
+
* @return ResumeTaskResponse
|
|
18756
|
+
*/
|
|
17635
18757
|
async resumeTask(taskId: string): Promise<ResumeTaskResponse> {
|
|
17636
18758
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17637
18759
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17639,11 +18761,13 @@ export default class Client extends OpenApi {
|
|
|
17639
18761
|
}
|
|
17640
18762
|
|
|
17641
18763
|
/**
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
|
|
17645
|
-
|
|
17646
|
-
|
|
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
|
|
17647
18771
|
*/
|
|
17648
18772
|
// Deprecated
|
|
17649
18773
|
async resumeUpgradeClusterWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeUpgradeClusterResponse> {
|
|
@@ -17665,9 +18789,11 @@ export default class Client extends OpenApi {
|
|
|
17665
18789
|
}
|
|
17666
18790
|
|
|
17667
18791
|
/**
|
|
17668
|
-
|
|
17669
|
-
|
|
17670
|
-
|
|
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
|
|
17671
18797
|
*/
|
|
17672
18798
|
// Deprecated
|
|
17673
18799
|
async resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse> {
|
|
@@ -17676,6 +18802,14 @@ export default class Client extends OpenApi {
|
|
|
17676
18802
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
17677
18803
|
}
|
|
17678
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
|
+
*/
|
|
17679
18813
|
async runClusterCheckWithOptions(clusterId: string, request: RunClusterCheckRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse> {
|
|
17680
18814
|
Util.validateModel(request);
|
|
17681
18815
|
let body : {[key: string ]: any} = { };
|
|
@@ -17709,6 +18843,12 @@ export default class Client extends OpenApi {
|
|
|
17709
18843
|
return $tea.cast<RunClusterCheckResponse>(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
17710
18844
|
}
|
|
17711
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
|
+
*/
|
|
17712
18852
|
async runClusterCheck(clusterId: string, request: RunClusterCheckRequest): Promise<RunClusterCheckResponse> {
|
|
17713
18853
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17714
18854
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17716,12 +18856,14 @@ export default class Client extends OpenApi {
|
|
|
17716
18856
|
}
|
|
17717
18857
|
|
|
17718
18858
|
/**
|
|
17719
|
-
|
|
17720
|
-
|
|
17721
|
-
|
|
17722
|
-
|
|
17723
|
-
|
|
17724
|
-
|
|
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
|
|
17725
18867
|
*/
|
|
17726
18868
|
// Deprecated
|
|
17727
18869
|
async scaleClusterWithOptions(ClusterId: string, request: ScaleClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterResponse> {
|
|
@@ -17822,10 +18964,12 @@ export default class Client extends OpenApi {
|
|
|
17822
18964
|
}
|
|
17823
18965
|
|
|
17824
18966
|
/**
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
|
|
17828
|
-
|
|
18967
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
18968
|
+
*
|
|
18969
|
+
* @summary 扩容Kubernetes集群
|
|
18970
|
+
*
|
|
18971
|
+
* @param request ScaleClusterRequest
|
|
18972
|
+
* @return ScaleClusterResponse
|
|
17829
18973
|
*/
|
|
17830
18974
|
// Deprecated
|
|
17831
18975
|
async scaleCluster(ClusterId: string, request: ScaleClusterRequest): Promise<ScaleClusterResponse> {
|
|
@@ -17834,6 +18978,14 @@ export default class Client extends OpenApi {
|
|
|
17834
18978
|
return await this.scaleClusterWithOptions(ClusterId, request, headers, runtime);
|
|
17835
18979
|
}
|
|
17836
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
|
+
*/
|
|
17837
18989
|
async scaleClusterNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterNodePoolResponse> {
|
|
17838
18990
|
Util.validateModel(request);
|
|
17839
18991
|
let body : {[key: string ]: any} = { };
|
|
@@ -17859,6 +19011,12 @@ export default class Client extends OpenApi {
|
|
|
17859
19011
|
return $tea.cast<ScaleClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
17860
19012
|
}
|
|
17861
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
|
+
*/
|
|
17862
19020
|
async scaleClusterNodePool(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest): Promise<ScaleClusterNodePoolResponse> {
|
|
17863
19021
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17864
19022
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17866,13 +19024,15 @@ export default class Client extends OpenApi {
|
|
|
17866
19024
|
}
|
|
17867
19025
|
|
|
17868
19026
|
/**
|
|
17869
|
-
|
|
17870
|
-
|
|
17871
|
-
|
|
17872
|
-
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
|
|
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
|
|
17876
19036
|
*/
|
|
17877
19037
|
async scaleOutClusterWithOptions(ClusterId: string, request: ScaleOutClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleOutClusterResponse> {
|
|
17878
19038
|
Util.validateModel(request);
|
|
@@ -17980,11 +19140,13 @@ export default class Client extends OpenApi {
|
|
|
17980
19140
|
}
|
|
17981
19141
|
|
|
17982
19142
|
/**
|
|
17983
|
-
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
|
|
17987
|
-
|
|
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
|
|
17988
19150
|
*/
|
|
17989
19151
|
async scaleOutCluster(ClusterId: string, request: ScaleOutClusterRequest): Promise<ScaleOutClusterResponse> {
|
|
17990
19152
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17992,6 +19154,13 @@ export default class Client extends OpenApi {
|
|
|
17992
19154
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
17993
19155
|
}
|
|
17994
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
|
+
*/
|
|
17995
19164
|
async scanClusterVulsWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScanClusterVulsResponse> {
|
|
17996
19165
|
let req = new $OpenApi.OpenApiRequest({
|
|
17997
19166
|
headers: headers,
|
|
@@ -18010,12 +19179,23 @@ export default class Client extends OpenApi {
|
|
|
18010
19179
|
return $tea.cast<ScanClusterVulsResponse>(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
18011
19180
|
}
|
|
18012
19181
|
|
|
19182
|
+
/**
|
|
19183
|
+
* @summary The cluster ID.
|
|
19184
|
+
*
|
|
19185
|
+
* @return ScanClusterVulsResponse
|
|
19186
|
+
*/
|
|
18013
19187
|
async scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse> {
|
|
18014
19188
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18015
19189
|
let headers : {[key: string ]: string} = { };
|
|
18016
19190
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
18017
19191
|
}
|
|
18018
19192
|
|
|
19193
|
+
/**
|
|
19194
|
+
* @param request StartAlertRequest
|
|
19195
|
+
* @param headers map
|
|
19196
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19197
|
+
* @return StartAlertResponse
|
|
19198
|
+
*/
|
|
18019
19199
|
async startAlertWithOptions(ClusterId: string, request: StartAlertRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartAlertResponse> {
|
|
18020
19200
|
Util.validateModel(request);
|
|
18021
19201
|
let body : {[key: string ]: any} = { };
|
|
@@ -18045,12 +19225,24 @@ export default class Client extends OpenApi {
|
|
|
18045
19225
|
return $tea.cast<StartAlertResponse>(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
18046
19226
|
}
|
|
18047
19227
|
|
|
19228
|
+
/**
|
|
19229
|
+
* @param request StartAlertRequest
|
|
19230
|
+
* @return StartAlertResponse
|
|
19231
|
+
*/
|
|
18048
19232
|
async startAlert(ClusterId: string, request: StartAlertRequest): Promise<StartAlertResponse> {
|
|
18049
19233
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18050
19234
|
let headers : {[key: string ]: string} = { };
|
|
18051
19235
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
18052
19236
|
}
|
|
18053
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
|
+
*/
|
|
18054
19246
|
async startWorkflowWithOptions(request: StartWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse> {
|
|
18055
19247
|
Util.validateModel(request);
|
|
18056
19248
|
let body : {[key: string ]: any} = { };
|
|
@@ -18148,12 +19340,26 @@ export default class Client extends OpenApi {
|
|
|
18148
19340
|
return $tea.cast<StartWorkflowResponse>(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
18149
19341
|
}
|
|
18150
19342
|
|
|
19343
|
+
/**
|
|
19344
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
19345
|
+
*
|
|
19346
|
+
* @param request StartWorkflowRequest
|
|
19347
|
+
* @return StartWorkflowResponse
|
|
19348
|
+
*/
|
|
18151
19349
|
async startWorkflow(request: StartWorkflowRequest): Promise<StartWorkflowResponse> {
|
|
18152
19350
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18153
19351
|
let headers : {[key: string ]: string} = { };
|
|
18154
19352
|
return await this.startWorkflowWithOptions(request, headers, runtime);
|
|
18155
19353
|
}
|
|
18156
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
|
+
*/
|
|
18157
19363
|
async stopAlertWithOptions(ClusterId: string, request: StopAlertRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopAlertResponse> {
|
|
18158
19364
|
Util.validateModel(request);
|
|
18159
19365
|
let body : {[key: string ]: any} = { };
|
|
@@ -18183,12 +19389,25 @@ export default class Client extends OpenApi {
|
|
|
18183
19389
|
return $tea.cast<StopAlertResponse>(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
18184
19390
|
}
|
|
18185
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
|
+
*/
|
|
18186
19398
|
async stopAlert(ClusterId: string, request: StopAlertRequest): Promise<StopAlertResponse> {
|
|
18187
19399
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18188
19400
|
let headers : {[key: string ]: string} = { };
|
|
18189
19401
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
18190
19402
|
}
|
|
18191
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
|
+
*/
|
|
18192
19411
|
async syncClusterNodePoolWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncClusterNodePoolResponse> {
|
|
18193
19412
|
let req = new $OpenApi.OpenApiRequest({
|
|
18194
19413
|
headers: headers,
|
|
@@ -18207,12 +19426,25 @@ export default class Client extends OpenApi {
|
|
|
18207
19426
|
return $tea.cast<SyncClusterNodePoolResponse>(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
18208
19427
|
}
|
|
18209
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
|
+
*/
|
|
18210
19434
|
async syncClusterNodePool(ClusterId: string): Promise<SyncClusterNodePoolResponse> {
|
|
18211
19435
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18212
19436
|
let headers : {[key: string ]: string} = { };
|
|
18213
19437
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
18214
19438
|
}
|
|
18215
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
|
+
*/
|
|
18216
19448
|
async tagResourcesWithOptions(request: TagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
18217
19449
|
Util.validateModel(request);
|
|
18218
19450
|
let body : {[key: string ]: any} = { };
|
|
@@ -18250,12 +19482,26 @@ export default class Client extends OpenApi {
|
|
|
18250
19482
|
return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
18251
19483
|
}
|
|
18252
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
|
+
*/
|
|
18253
19491
|
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
18254
19492
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18255
19493
|
let headers : {[key: string ]: string} = { };
|
|
18256
19494
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
18257
19495
|
}
|
|
18258
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
|
+
*/
|
|
18259
19505
|
async unInstallClusterAddonsWithOptions(ClusterId: string, request: UnInstallClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UnInstallClusterAddonsResponse> {
|
|
18260
19506
|
Util.validateModel(request);
|
|
18261
19507
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -18276,12 +19522,26 @@ export default class Client extends OpenApi {
|
|
|
18276
19522
|
return $tea.cast<UnInstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
18277
19523
|
}
|
|
18278
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
|
+
*/
|
|
18279
19531
|
async unInstallClusterAddons(ClusterId: string, request: UnInstallClusterAddonsRequest): Promise<UnInstallClusterAddonsResponse> {
|
|
18280
19532
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18281
19533
|
let headers : {[key: string ]: string} = { };
|
|
18282
19534
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
18283
19535
|
}
|
|
18284
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
|
+
*/
|
|
18285
19545
|
async untagResourcesWithOptions(tmpReq: UntagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
18286
19546
|
Util.validateModel(tmpReq);
|
|
18287
19547
|
let request = new UntagResourcesShrinkRequest({ });
|
|
@@ -18333,12 +19593,23 @@ export default class Client extends OpenApi {
|
|
|
18333
19593
|
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
18334
19594
|
}
|
|
18335
19595
|
|
|
19596
|
+
/**
|
|
19597
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
19598
|
+
*
|
|
19599
|
+
* @param request UntagResourcesRequest
|
|
19600
|
+
* @return UntagResourcesResponse
|
|
19601
|
+
*/
|
|
18336
19602
|
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|
|
18337
19603
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18338
19604
|
let headers : {[key: string ]: string} = { };
|
|
18339
19605
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
18340
19606
|
}
|
|
18341
19607
|
|
|
19608
|
+
/**
|
|
19609
|
+
* @param headers map
|
|
19610
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19611
|
+
* @return UpdateContactGroupForAlertResponse
|
|
19612
|
+
*/
|
|
18342
19613
|
async updateContactGroupForAlertWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateContactGroupForAlertResponse> {
|
|
18343
19614
|
let req = new $OpenApi.OpenApiRequest({
|
|
18344
19615
|
headers: headers,
|
|
@@ -18357,12 +19628,23 @@ export default class Client extends OpenApi {
|
|
|
18357
19628
|
return $tea.cast<UpdateContactGroupForAlertResponse>(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
18358
19629
|
}
|
|
18359
19630
|
|
|
19631
|
+
/**
|
|
19632
|
+
* @return UpdateContactGroupForAlertResponse
|
|
19633
|
+
*/
|
|
18360
19634
|
async updateContactGroupForAlert(ClusterId: string): Promise<UpdateContactGroupForAlertResponse> {
|
|
18361
19635
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18362
19636
|
let headers : {[key: string ]: string} = { };
|
|
18363
19637
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, headers, runtime);
|
|
18364
19638
|
}
|
|
18365
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
|
+
*/
|
|
18366
19648
|
async updateControlPlaneLogWithOptions(ClusterId: string, request: UpdateControlPlaneLogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateControlPlaneLogResponse> {
|
|
18367
19649
|
Util.validateModel(request);
|
|
18368
19650
|
let body : {[key: string ]: any} = { };
|
|
@@ -18400,6 +19682,12 @@ export default class Client extends OpenApi {
|
|
|
18400
19682
|
return $tea.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
18401
19683
|
}
|
|
18402
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
|
+
*/
|
|
18403
19691
|
async updateControlPlaneLog(ClusterId: string, request: UpdateControlPlaneLogRequest): Promise<UpdateControlPlaneLogResponse> {
|
|
18404
19692
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18405
19693
|
let headers : {[key: string ]: string} = { };
|
|
@@ -18407,14 +19695,16 @@ export default class Client extends OpenApi {
|
|
|
18407
19695
|
}
|
|
18408
19696
|
|
|
18409
19697
|
/**
|
|
18410
|
-
|
|
18411
|
-
|
|
18412
|
-
|
|
18413
|
-
|
|
18414
|
-
|
|
18415
|
-
|
|
18416
|
-
|
|
18417
|
-
|
|
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
|
|
18418
19708
|
*/
|
|
18419
19709
|
async updateK8sClusterUserConfigExpireWithOptions(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateK8sClusterUserConfigExpireResponse> {
|
|
18420
19710
|
Util.validateModel(request);
|
|
@@ -18446,12 +19736,14 @@ export default class Client extends OpenApi {
|
|
|
18446
19736
|
}
|
|
18447
19737
|
|
|
18448
19738
|
/**
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
|
|
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
|
|
18455
19747
|
*/
|
|
18456
19748
|
async updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse> {
|
|
18457
19749
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -18459,6 +19751,14 @@ export default class Client extends OpenApi {
|
|
|
18459
19751
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
18460
19752
|
}
|
|
18461
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
|
+
*/
|
|
18462
19762
|
async updateTemplateWithOptions(TemplateId: string, request: UpdateTemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateTemplateResponse> {
|
|
18463
19763
|
Util.validateModel(request);
|
|
18464
19764
|
let body : {[key: string ]: any} = { };
|
|
@@ -18500,12 +19800,26 @@ export default class Client extends OpenApi {
|
|
|
18500
19800
|
return $tea.cast<UpdateTemplateResponse>(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
18501
19801
|
}
|
|
18502
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
|
+
*/
|
|
18503
19809
|
async updateTemplate(TemplateId: string, request: UpdateTemplateRequest): Promise<UpdateTemplateResponse> {
|
|
18504
19810
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18505
19811
|
let headers : {[key: string ]: string} = { };
|
|
18506
19812
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
18507
19813
|
}
|
|
18508
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
|
+
*/
|
|
18509
19823
|
async updateUserPermissionsWithOptions(uid: string, request: UpdateUserPermissionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateUserPermissionsResponse> {
|
|
18510
19824
|
Util.validateModel(request);
|
|
18511
19825
|
let query : {[key: string ]: any} = { };
|
|
@@ -18532,12 +19846,26 @@ export default class Client extends OpenApi {
|
|
|
18532
19846
|
return $tea.cast<UpdateUserPermissionsResponse>(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
18533
19847
|
}
|
|
18534
19848
|
|
|
19849
|
+
/**
|
|
19850
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
19851
|
+
*
|
|
19852
|
+
* @param request UpdateUserPermissionsRequest
|
|
19853
|
+
* @return UpdateUserPermissionsResponse
|
|
19854
|
+
*/
|
|
18535
19855
|
async updateUserPermissions(uid: string, request: UpdateUserPermissionsRequest): Promise<UpdateUserPermissionsResponse> {
|
|
18536
19856
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18537
19857
|
let headers : {[key: string ]: string} = { };
|
|
18538
19858
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
18539
19859
|
}
|
|
18540
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
|
+
*/
|
|
18541
19869
|
async upgradeClusterWithOptions(ClusterId: string, request: UpgradeClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterResponse> {
|
|
18542
19870
|
Util.validateModel(request);
|
|
18543
19871
|
let body : {[key: string ]: any} = { };
|
|
@@ -18575,12 +19903,26 @@ export default class Client extends OpenApi {
|
|
|
18575
19903
|
return $tea.cast<UpgradeClusterResponse>(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
18576
19904
|
}
|
|
18577
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
|
+
*/
|
|
18578
19912
|
async upgradeCluster(ClusterId: string, request: UpgradeClusterRequest): Promise<UpgradeClusterResponse> {
|
|
18579
19913
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18580
19914
|
let headers : {[key: string ]: string} = { };
|
|
18581
19915
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
18582
19916
|
}
|
|
18583
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
|
+
*/
|
|
18584
19926
|
async upgradeClusterAddonsWithOptions(ClusterId: string, request: UpgradeClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterAddonsResponse> {
|
|
18585
19927
|
Util.validateModel(request);
|
|
18586
19928
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -18601,6 +19943,12 @@ export default class Client extends OpenApi {
|
|
|
18601
19943
|
return $tea.cast<UpgradeClusterAddonsResponse>(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
18602
19944
|
}
|
|
18603
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
|
+
*/
|
|
18604
19952
|
async upgradeClusterAddons(ClusterId: string, request: UpgradeClusterAddonsRequest): Promise<UpgradeClusterAddonsResponse> {
|
|
18605
19953
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18606
19954
|
let headers : {[key: string ]: string} = { };
|
|
@@ -18608,12 +19956,14 @@ export default class Client extends OpenApi {
|
|
|
18608
19956
|
}
|
|
18609
19957
|
|
|
18610
19958
|
/**
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
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
|
|
18617
19967
|
*/
|
|
18618
19968
|
async upgradeClusterNodepoolWithOptions(ClusterId: string, NodepoolId: string, request: UpgradeClusterNodepoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterNodepoolResponse> {
|
|
18619
19969
|
Util.validateModel(request);
|
|
@@ -18665,10 +20015,12 @@ export default class Client extends OpenApi {
|
|
|
18665
20015
|
}
|
|
18666
20016
|
|
|
18667
20017
|
/**
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
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
|
|
18672
20024
|
*/
|
|
18673
20025
|
async upgradeClusterNodepool(ClusterId: string, NodepoolId: string, request: UpgradeClusterNodepoolRequest): Promise<UpgradeClusterNodepoolResponse> {
|
|
18674
20026
|
let runtime = new $Util.RuntimeOptions({ });
|