@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/dist/client.js
CHANGED
|
@@ -10484,6 +10484,14 @@ class Client extends openapi_client_1.default {
|
|
|
10484
10484
|
}
|
|
10485
10485
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
10486
10486
|
}
|
|
10487
|
+
/**
|
|
10488
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
10489
|
+
*
|
|
10490
|
+
* @param request AttachInstancesRequest
|
|
10491
|
+
* @param headers map
|
|
10492
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10493
|
+
* @return AttachInstancesResponse
|
|
10494
|
+
*/
|
|
10487
10495
|
async attachInstancesWithOptions(ClusterId, request, headers, runtime) {
|
|
10488
10496
|
tea_util_1.default.validateModel(request);
|
|
10489
10497
|
let body = {};
|
|
@@ -10543,11 +10551,25 @@ class Client extends openapi_client_1.default {
|
|
|
10543
10551
|
});
|
|
10544
10552
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
10545
10553
|
}
|
|
10554
|
+
/**
|
|
10555
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
10556
|
+
*
|
|
10557
|
+
* @param request AttachInstancesRequest
|
|
10558
|
+
* @return AttachInstancesResponse
|
|
10559
|
+
*/
|
|
10546
10560
|
async attachInstances(ClusterId, request) {
|
|
10547
10561
|
let runtime = new $Util.RuntimeOptions({});
|
|
10548
10562
|
let headers = {};
|
|
10549
10563
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
10550
10564
|
}
|
|
10565
|
+
/**
|
|
10566
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
10567
|
+
*
|
|
10568
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
10569
|
+
* @param headers map
|
|
10570
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10571
|
+
* @return AttachInstancesToNodePoolResponse
|
|
10572
|
+
*/
|
|
10551
10573
|
async attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
10552
10574
|
tea_util_1.default.validateModel(request);
|
|
10553
10575
|
let body = {};
|
|
@@ -10580,17 +10602,25 @@ class Client extends openapi_client_1.default {
|
|
|
10580
10602
|
});
|
|
10581
10603
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
10582
10604
|
}
|
|
10605
|
+
/**
|
|
10606
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
10607
|
+
*
|
|
10608
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
10609
|
+
* @return AttachInstancesToNodePoolResponse
|
|
10610
|
+
*/
|
|
10583
10611
|
async attachInstancesToNodePool(ClusterId, NodepoolId, request) {
|
|
10584
10612
|
let runtime = new $Util.RuntimeOptions({});
|
|
10585
10613
|
let headers = {};
|
|
10586
10614
|
return await this.attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
10587
10615
|
}
|
|
10588
10616
|
/**
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10617
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
10618
|
+
*
|
|
10619
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
10620
|
+
*
|
|
10621
|
+
* @param headers map
|
|
10622
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10623
|
+
* @return CancelClusterUpgradeResponse
|
|
10594
10624
|
*/
|
|
10595
10625
|
// Deprecated
|
|
10596
10626
|
async cancelClusterUpgradeWithOptions(ClusterId, headers, runtime) {
|
|
@@ -10611,9 +10641,11 @@ class Client extends openapi_client_1.default {
|
|
|
10611
10641
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelClusterUpgradeResponse({}));
|
|
10612
10642
|
}
|
|
10613
10643
|
/**
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10644
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
10645
|
+
*
|
|
10646
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
10647
|
+
*
|
|
10648
|
+
* @return CancelClusterUpgradeResponse
|
|
10617
10649
|
*/
|
|
10618
10650
|
// Deprecated
|
|
10619
10651
|
async cancelClusterUpgrade(ClusterId) {
|
|
@@ -10621,6 +10653,13 @@ class Client extends openapi_client_1.default {
|
|
|
10621
10653
|
let headers = {};
|
|
10622
10654
|
return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
10623
10655
|
}
|
|
10656
|
+
/**
|
|
10657
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
10658
|
+
*
|
|
10659
|
+
* @param headers map
|
|
10660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10661
|
+
* @return CancelComponentUpgradeResponse
|
|
10662
|
+
*/
|
|
10624
10663
|
async cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime) {
|
|
10625
10664
|
let req = new $OpenApi.OpenApiRequest({
|
|
10626
10665
|
headers: headers,
|
|
@@ -10638,11 +10677,23 @@ class Client extends openapi_client_1.default {
|
|
|
10638
10677
|
});
|
|
10639
10678
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
10640
10679
|
}
|
|
10680
|
+
/**
|
|
10681
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
10682
|
+
*
|
|
10683
|
+
* @return CancelComponentUpgradeResponse
|
|
10684
|
+
*/
|
|
10641
10685
|
async cancelComponentUpgrade(clusterId, componentId) {
|
|
10642
10686
|
let runtime = new $Util.RuntimeOptions({});
|
|
10643
10687
|
let headers = {};
|
|
10644
10688
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
10645
10689
|
}
|
|
10690
|
+
/**
|
|
10691
|
+
* @summary 取消自动运维执行计划
|
|
10692
|
+
*
|
|
10693
|
+
* @param headers map
|
|
10694
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10695
|
+
* @return CancelOperationPlanResponse
|
|
10696
|
+
*/
|
|
10646
10697
|
async cancelOperationPlanWithOptions(planId, headers, runtime) {
|
|
10647
10698
|
let req = new $OpenApi.OpenApiRequest({
|
|
10648
10699
|
headers: headers,
|
|
@@ -10660,11 +10711,23 @@ class Client extends openapi_client_1.default {
|
|
|
10660
10711
|
});
|
|
10661
10712
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
10662
10713
|
}
|
|
10714
|
+
/**
|
|
10715
|
+
* @summary 取消自动运维执行计划
|
|
10716
|
+
*
|
|
10717
|
+
* @return CancelOperationPlanResponse
|
|
10718
|
+
*/
|
|
10663
10719
|
async cancelOperationPlan(planId) {
|
|
10664
10720
|
let runtime = new $Util.RuntimeOptions({});
|
|
10665
10721
|
let headers = {};
|
|
10666
10722
|
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
10667
10723
|
}
|
|
10724
|
+
/**
|
|
10725
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
10726
|
+
*
|
|
10727
|
+
* @param headers map
|
|
10728
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10729
|
+
* @return CancelTaskResponse
|
|
10730
|
+
*/
|
|
10668
10731
|
async cancelTaskWithOptions(taskId, headers, runtime) {
|
|
10669
10732
|
let req = new $OpenApi.OpenApiRequest({
|
|
10670
10733
|
headers: headers,
|
|
@@ -10682,11 +10745,24 @@ class Client extends openapi_client_1.default {
|
|
|
10682
10745
|
});
|
|
10683
10746
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
10684
10747
|
}
|
|
10748
|
+
/**
|
|
10749
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
10750
|
+
*
|
|
10751
|
+
* @return CancelTaskResponse
|
|
10752
|
+
*/
|
|
10685
10753
|
async cancelTask(taskId) {
|
|
10686
10754
|
let runtime = new $Util.RuntimeOptions({});
|
|
10687
10755
|
let headers = {};
|
|
10688
10756
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
10689
10757
|
}
|
|
10758
|
+
/**
|
|
10759
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
10760
|
+
*
|
|
10761
|
+
* @param request CancelWorkflowRequest
|
|
10762
|
+
* @param headers map
|
|
10763
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10764
|
+
* @return CancelWorkflowResponse
|
|
10765
|
+
*/
|
|
10690
10766
|
async cancelWorkflowWithOptions(workflowName, request, headers, runtime) {
|
|
10691
10767
|
tea_util_1.default.validateModel(request);
|
|
10692
10768
|
let body = {};
|
|
@@ -10710,11 +10786,24 @@ class Client extends openapi_client_1.default {
|
|
|
10710
10786
|
});
|
|
10711
10787
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
|
|
10712
10788
|
}
|
|
10789
|
+
/**
|
|
10790
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
10791
|
+
*
|
|
10792
|
+
* @param request CancelWorkflowRequest
|
|
10793
|
+
* @return CancelWorkflowResponse
|
|
10794
|
+
*/
|
|
10713
10795
|
async cancelWorkflow(workflowName, request) {
|
|
10714
10796
|
let runtime = new $Util.RuntimeOptions({});
|
|
10715
10797
|
let headers = {};
|
|
10716
10798
|
return await this.cancelWorkflowWithOptions(workflowName, request, headers, runtime);
|
|
10717
10799
|
}
|
|
10800
|
+
/**
|
|
10801
|
+
* @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.
|
|
10802
|
+
*
|
|
10803
|
+
* @param headers map
|
|
10804
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10805
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
10806
|
+
*/
|
|
10718
10807
|
async checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime) {
|
|
10719
10808
|
let req = new $OpenApi.OpenApiRequest({
|
|
10720
10809
|
headers: headers,
|
|
@@ -10732,11 +10821,24 @@ class Client extends openapi_client_1.default {
|
|
|
10732
10821
|
});
|
|
10733
10822
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
10734
10823
|
}
|
|
10824
|
+
/**
|
|
10825
|
+
* @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.
|
|
10826
|
+
*
|
|
10827
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
10828
|
+
*/
|
|
10735
10829
|
async checkControlPlaneLogEnable(ClusterId) {
|
|
10736
10830
|
let runtime = new $Util.RuntimeOptions({});
|
|
10737
10831
|
let headers = {};
|
|
10738
10832
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
10739
10833
|
}
|
|
10834
|
+
/**
|
|
10835
|
+
* @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.
|
|
10836
|
+
*
|
|
10837
|
+
* @param request CreateAutoscalingConfigRequest
|
|
10838
|
+
* @param headers map
|
|
10839
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10840
|
+
* @return CreateAutoscalingConfigResponse
|
|
10841
|
+
*/
|
|
10740
10842
|
async createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime) {
|
|
10741
10843
|
tea_util_1.default.validateModel(request);
|
|
10742
10844
|
let body = {};
|
|
@@ -10799,24 +10901,32 @@ class Client extends openapi_client_1.default {
|
|
|
10799
10901
|
});
|
|
10800
10902
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
10801
10903
|
}
|
|
10904
|
+
/**
|
|
10905
|
+
* @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.
|
|
10906
|
+
*
|
|
10907
|
+
* @param request CreateAutoscalingConfigRequest
|
|
10908
|
+
* @return CreateAutoscalingConfigResponse
|
|
10909
|
+
*/
|
|
10802
10910
|
async createAutoscalingConfig(ClusterId, request) {
|
|
10803
10911
|
let runtime = new $Util.RuntimeOptions({});
|
|
10804
10912
|
let headers = {};
|
|
10805
10913
|
return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
|
|
10806
10914
|
}
|
|
10807
10915
|
/**
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10916
|
+
* @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.
|
|
10917
|
+
*
|
|
10918
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
10919
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
10920
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
10921
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
10922
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
10923
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
10924
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
10925
|
+
*
|
|
10926
|
+
* @param request CreateClusterRequest
|
|
10927
|
+
* @param headers map
|
|
10928
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10929
|
+
* @return CreateClusterResponse
|
|
10820
10930
|
*/
|
|
10821
10931
|
async createClusterWithOptions(request, headers, runtime) {
|
|
10822
10932
|
tea_util_1.default.validateModel(request);
|
|
@@ -11112,22 +11222,32 @@ class Client extends openapi_client_1.default {
|
|
|
11112
11222
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
|
|
11113
11223
|
}
|
|
11114
11224
|
/**
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11225
|
+
* @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.
|
|
11226
|
+
*
|
|
11227
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
11228
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
11229
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
11230
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
11231
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
11232
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
11233
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
11234
|
+
*
|
|
11235
|
+
* @param request CreateClusterRequest
|
|
11236
|
+
* @return CreateClusterResponse
|
|
11125
11237
|
*/
|
|
11126
11238
|
async createCluster(request) {
|
|
11127
11239
|
let runtime = new $Util.RuntimeOptions({});
|
|
11128
11240
|
let headers = {};
|
|
11129
11241
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
11130
11242
|
}
|
|
11243
|
+
/**
|
|
11244
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
11245
|
+
*
|
|
11246
|
+
* @param request CreateClusterNodePoolRequest
|
|
11247
|
+
* @param headers map
|
|
11248
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11249
|
+
* @return CreateClusterNodePoolResponse
|
|
11250
|
+
*/
|
|
11131
11251
|
async createClusterNodePoolWithOptions(ClusterId, request, headers, runtime) {
|
|
11132
11252
|
tea_util_1.default.validateModel(request);
|
|
11133
11253
|
let body = {};
|
|
@@ -11181,11 +11301,25 @@ class Client extends openapi_client_1.default {
|
|
|
11181
11301
|
});
|
|
11182
11302
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
11183
11303
|
}
|
|
11304
|
+
/**
|
|
11305
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
11306
|
+
*
|
|
11307
|
+
* @param request CreateClusterNodePoolRequest
|
|
11308
|
+
* @return CreateClusterNodePoolResponse
|
|
11309
|
+
*/
|
|
11184
11310
|
async createClusterNodePool(ClusterId, request) {
|
|
11185
11311
|
let runtime = new $Util.RuntimeOptions({});
|
|
11186
11312
|
let headers = {};
|
|
11187
11313
|
return await this.createClusterNodePoolWithOptions(ClusterId, request, headers, runtime);
|
|
11188
11314
|
}
|
|
11315
|
+
/**
|
|
11316
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
11317
|
+
*
|
|
11318
|
+
* @param request CreateEdgeMachineRequest
|
|
11319
|
+
* @param headers map
|
|
11320
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11321
|
+
* @return CreateEdgeMachineResponse
|
|
11322
|
+
*/
|
|
11189
11323
|
async createEdgeMachineWithOptions(request, headers, runtime) {
|
|
11190
11324
|
tea_util_1.default.validateModel(request);
|
|
11191
11325
|
let body = {};
|
|
@@ -11215,11 +11349,25 @@ class Client extends openapi_client_1.default {
|
|
|
11215
11349
|
});
|
|
11216
11350
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
11217
11351
|
}
|
|
11352
|
+
/**
|
|
11353
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
11354
|
+
*
|
|
11355
|
+
* @param request CreateEdgeMachineRequest
|
|
11356
|
+
* @return CreateEdgeMachineResponse
|
|
11357
|
+
*/
|
|
11218
11358
|
async createEdgeMachine(request) {
|
|
11219
11359
|
let runtime = new $Util.RuntimeOptions({});
|
|
11220
11360
|
let headers = {};
|
|
11221
11361
|
return await this.createEdgeMachineWithOptions(request, headers, runtime);
|
|
11222
11362
|
}
|
|
11363
|
+
/**
|
|
11364
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
11365
|
+
*
|
|
11366
|
+
* @param request CreateKubernetesTriggerRequest
|
|
11367
|
+
* @param headers map
|
|
11368
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11369
|
+
* @return CreateKubernetesTriggerResponse
|
|
11370
|
+
*/
|
|
11223
11371
|
async createKubernetesTriggerWithOptions(request, headers, runtime) {
|
|
11224
11372
|
tea_util_1.default.validateModel(request);
|
|
11225
11373
|
let body = {};
|
|
@@ -11252,11 +11400,25 @@ class Client extends openapi_client_1.default {
|
|
|
11252
11400
|
});
|
|
11253
11401
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
11254
11402
|
}
|
|
11403
|
+
/**
|
|
11404
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
11405
|
+
*
|
|
11406
|
+
* @param request CreateKubernetesTriggerRequest
|
|
11407
|
+
* @return CreateKubernetesTriggerResponse
|
|
11408
|
+
*/
|
|
11255
11409
|
async createKubernetesTrigger(request) {
|
|
11256
11410
|
let runtime = new $Util.RuntimeOptions({});
|
|
11257
11411
|
let headers = {};
|
|
11258
11412
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
11259
11413
|
}
|
|
11414
|
+
/**
|
|
11415
|
+
* @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).
|
|
11416
|
+
*
|
|
11417
|
+
* @param request CreateTemplateRequest
|
|
11418
|
+
* @param headers map
|
|
11419
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11420
|
+
* @return CreateTemplateResponse
|
|
11421
|
+
*/
|
|
11260
11422
|
async createTemplateWithOptions(request, headers, runtime) {
|
|
11261
11423
|
tea_util_1.default.validateModel(request);
|
|
11262
11424
|
let body = {};
|
|
@@ -11292,11 +11454,25 @@ class Client extends openapi_client_1.default {
|
|
|
11292
11454
|
});
|
|
11293
11455
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
11294
11456
|
}
|
|
11457
|
+
/**
|
|
11458
|
+
* @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).
|
|
11459
|
+
*
|
|
11460
|
+
* @param request CreateTemplateRequest
|
|
11461
|
+
* @return CreateTemplateResponse
|
|
11462
|
+
*/
|
|
11295
11463
|
async createTemplate(request) {
|
|
11296
11464
|
let runtime = new $Util.RuntimeOptions({});
|
|
11297
11465
|
let headers = {};
|
|
11298
11466
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
11299
11467
|
}
|
|
11468
|
+
/**
|
|
11469
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
11470
|
+
*
|
|
11471
|
+
* @param request CreateTriggerRequest
|
|
11472
|
+
* @param headers map
|
|
11473
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11474
|
+
* @return CreateTriggerResponse
|
|
11475
|
+
*/
|
|
11300
11476
|
async createTriggerWithOptions(clusterId, request, headers, runtime) {
|
|
11301
11477
|
tea_util_1.default.validateModel(request);
|
|
11302
11478
|
let body = {};
|
|
@@ -11329,11 +11505,23 @@ class Client extends openapi_client_1.default {
|
|
|
11329
11505
|
});
|
|
11330
11506
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
11331
11507
|
}
|
|
11508
|
+
/**
|
|
11509
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
11510
|
+
*
|
|
11511
|
+
* @param request CreateTriggerRequest
|
|
11512
|
+
* @return CreateTriggerResponse
|
|
11513
|
+
*/
|
|
11332
11514
|
async createTrigger(clusterId, request) {
|
|
11333
11515
|
let runtime = new $Util.RuntimeOptions({});
|
|
11334
11516
|
let headers = {};
|
|
11335
11517
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
11336
11518
|
}
|
|
11519
|
+
/**
|
|
11520
|
+
* @param tmpReq DeleteAlertContactRequest
|
|
11521
|
+
* @param headers map
|
|
11522
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11523
|
+
* @return DeleteAlertContactResponse
|
|
11524
|
+
*/
|
|
11337
11525
|
async deleteAlertContactWithOptions(tmpReq, headers, runtime) {
|
|
11338
11526
|
tea_util_1.default.validateModel(tmpReq);
|
|
11339
11527
|
let request = new DeleteAlertContactShrinkRequest({});
|
|
@@ -11362,11 +11550,21 @@ class Client extends openapi_client_1.default {
|
|
|
11362
11550
|
});
|
|
11363
11551
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
11364
11552
|
}
|
|
11553
|
+
/**
|
|
11554
|
+
* @param request DeleteAlertContactRequest
|
|
11555
|
+
* @return DeleteAlertContactResponse
|
|
11556
|
+
*/
|
|
11365
11557
|
async deleteAlertContact(request) {
|
|
11366
11558
|
let runtime = new $Util.RuntimeOptions({});
|
|
11367
11559
|
let headers = {};
|
|
11368
11560
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
11369
11561
|
}
|
|
11562
|
+
/**
|
|
11563
|
+
* @param tmpReq DeleteAlertContactGroupRequest
|
|
11564
|
+
* @param headers map
|
|
11565
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11566
|
+
* @return DeleteAlertContactGroupResponse
|
|
11567
|
+
*/
|
|
11370
11568
|
async deleteAlertContactGroupWithOptions(tmpReq, headers, runtime) {
|
|
11371
11569
|
tea_util_1.default.validateModel(tmpReq);
|
|
11372
11570
|
let request = new DeleteAlertContactGroupShrinkRequest({});
|
|
@@ -11395,11 +11593,23 @@ class Client extends openapi_client_1.default {
|
|
|
11395
11593
|
});
|
|
11396
11594
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
11397
11595
|
}
|
|
11596
|
+
/**
|
|
11597
|
+
* @param request DeleteAlertContactGroupRequest
|
|
11598
|
+
* @return DeleteAlertContactGroupResponse
|
|
11599
|
+
*/
|
|
11398
11600
|
async deleteAlertContactGroup(request) {
|
|
11399
11601
|
let runtime = new $Util.RuntimeOptions({});
|
|
11400
11602
|
let headers = {};
|
|
11401
11603
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
11402
11604
|
}
|
|
11605
|
+
/**
|
|
11606
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
11607
|
+
*
|
|
11608
|
+
* @param tmpReq DeleteClusterRequest
|
|
11609
|
+
* @param headers map
|
|
11610
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11611
|
+
* @return DeleteClusterResponse
|
|
11612
|
+
*/
|
|
11403
11613
|
async deleteClusterWithOptions(ClusterId, tmpReq, headers, runtime) {
|
|
11404
11614
|
tea_util_1.default.validateModel(tmpReq);
|
|
11405
11615
|
let request = new DeleteClusterShrinkRequest({});
|
|
@@ -11440,11 +11650,25 @@ class Client extends openapi_client_1.default {
|
|
|
11440
11650
|
});
|
|
11441
11651
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
11442
11652
|
}
|
|
11653
|
+
/**
|
|
11654
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
11655
|
+
*
|
|
11656
|
+
* @param request DeleteClusterRequest
|
|
11657
|
+
* @return DeleteClusterResponse
|
|
11658
|
+
*/
|
|
11443
11659
|
async deleteCluster(ClusterId, request) {
|
|
11444
11660
|
let runtime = new $Util.RuntimeOptions({});
|
|
11445
11661
|
let headers = {};
|
|
11446
11662
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
11447
11663
|
}
|
|
11664
|
+
/**
|
|
11665
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
11666
|
+
*
|
|
11667
|
+
* @param request DeleteClusterNodepoolRequest
|
|
11668
|
+
* @param headers map
|
|
11669
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11670
|
+
* @return DeleteClusterNodepoolResponse
|
|
11671
|
+
*/
|
|
11448
11672
|
async deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
11449
11673
|
tea_util_1.default.validateModel(request);
|
|
11450
11674
|
let query = {};
|
|
@@ -11468,19 +11692,27 @@ class Client extends openapi_client_1.default {
|
|
|
11468
11692
|
});
|
|
11469
11693
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
11470
11694
|
}
|
|
11695
|
+
/**
|
|
11696
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
11697
|
+
*
|
|
11698
|
+
* @param request DeleteClusterNodepoolRequest
|
|
11699
|
+
* @return DeleteClusterNodepoolResponse
|
|
11700
|
+
*/
|
|
11471
11701
|
async deleteClusterNodepool(ClusterId, NodepoolId, request) {
|
|
11472
11702
|
let runtime = new $Util.RuntimeOptions({});
|
|
11473
11703
|
let headers = {};
|
|
11474
11704
|
return await this.deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
11475
11705
|
}
|
|
11476
11706
|
/**
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
|
|
11482
|
-
|
|
11483
|
-
|
|
11707
|
+
* @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.
|
|
11708
|
+
*
|
|
11709
|
+
* @description >
|
|
11710
|
+
* * 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.
|
|
11711
|
+
*
|
|
11712
|
+
* @param request DeleteClusterNodesRequest
|
|
11713
|
+
* @param headers map
|
|
11714
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11715
|
+
* @return DeleteClusterNodesResponse
|
|
11484
11716
|
*/
|
|
11485
11717
|
async deleteClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
11486
11718
|
tea_util_1.default.validateModel(request);
|
|
@@ -11512,17 +11744,27 @@ class Client extends openapi_client_1.default {
|
|
|
11512
11744
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterNodesResponse({}));
|
|
11513
11745
|
}
|
|
11514
11746
|
/**
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11747
|
+
* @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.
|
|
11748
|
+
*
|
|
11749
|
+
* @description >
|
|
11750
|
+
* * 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.
|
|
11751
|
+
*
|
|
11752
|
+
* @param request DeleteClusterNodesRequest
|
|
11753
|
+
* @return DeleteClusterNodesResponse
|
|
11520
11754
|
*/
|
|
11521
11755
|
async deleteClusterNodes(ClusterId, request) {
|
|
11522
11756
|
let runtime = new $Util.RuntimeOptions({});
|
|
11523
11757
|
let headers = {};
|
|
11524
11758
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
11525
11759
|
}
|
|
11760
|
+
/**
|
|
11761
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
11762
|
+
*
|
|
11763
|
+
* @param request DeleteEdgeMachineRequest
|
|
11764
|
+
* @param headers map
|
|
11765
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11766
|
+
* @return DeleteEdgeMachineResponse
|
|
11767
|
+
*/
|
|
11526
11768
|
async deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime) {
|
|
11527
11769
|
tea_util_1.default.validateModel(request);
|
|
11528
11770
|
let query = {};
|
|
@@ -11546,11 +11788,24 @@ class Client extends openapi_client_1.default {
|
|
|
11546
11788
|
});
|
|
11547
11789
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
11548
11790
|
}
|
|
11791
|
+
/**
|
|
11792
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
11793
|
+
*
|
|
11794
|
+
* @param request DeleteEdgeMachineRequest
|
|
11795
|
+
* @return DeleteEdgeMachineResponse
|
|
11796
|
+
*/
|
|
11549
11797
|
async deleteEdgeMachine(edgeMachineid, request) {
|
|
11550
11798
|
let runtime = new $Util.RuntimeOptions({});
|
|
11551
11799
|
let headers = {};
|
|
11552
11800
|
return await this.deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime);
|
|
11553
11801
|
}
|
|
11802
|
+
/**
|
|
11803
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
11804
|
+
*
|
|
11805
|
+
* @param headers map
|
|
11806
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11807
|
+
* @return DeleteKubernetesTriggerResponse
|
|
11808
|
+
*/
|
|
11554
11809
|
async deleteKubernetesTriggerWithOptions(Id, headers, runtime) {
|
|
11555
11810
|
let req = new $OpenApi.OpenApiRequest({
|
|
11556
11811
|
headers: headers,
|
|
@@ -11568,11 +11823,24 @@ class Client extends openapi_client_1.default {
|
|
|
11568
11823
|
});
|
|
11569
11824
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
11570
11825
|
}
|
|
11826
|
+
/**
|
|
11827
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
11828
|
+
*
|
|
11829
|
+
* @return DeleteKubernetesTriggerResponse
|
|
11830
|
+
*/
|
|
11571
11831
|
async deleteKubernetesTrigger(Id) {
|
|
11572
11832
|
let runtime = new $Util.RuntimeOptions({});
|
|
11573
11833
|
let headers = {};
|
|
11574
11834
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
11575
11835
|
}
|
|
11836
|
+
/**
|
|
11837
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
11838
|
+
*
|
|
11839
|
+
* @param request DeletePolicyInstanceRequest
|
|
11840
|
+
* @param headers map
|
|
11841
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11842
|
+
* @return DeletePolicyInstanceResponse
|
|
11843
|
+
*/
|
|
11576
11844
|
async deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
11577
11845
|
tea_util_1.default.validateModel(request);
|
|
11578
11846
|
let query = {};
|
|
@@ -11596,11 +11864,24 @@ class Client extends openapi_client_1.default {
|
|
|
11596
11864
|
});
|
|
11597
11865
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
11598
11866
|
}
|
|
11867
|
+
/**
|
|
11868
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
11869
|
+
*
|
|
11870
|
+
* @param request DeletePolicyInstanceRequest
|
|
11871
|
+
* @return DeletePolicyInstanceResponse
|
|
11872
|
+
*/
|
|
11599
11873
|
async deletePolicyInstance(clusterId, policyName, request) {
|
|
11600
11874
|
let runtime = new $Util.RuntimeOptions({});
|
|
11601
11875
|
let headers = {};
|
|
11602
11876
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
11603
11877
|
}
|
|
11878
|
+
/**
|
|
11879
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
11880
|
+
*
|
|
11881
|
+
* @param headers map
|
|
11882
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11883
|
+
* @return DeleteTemplateResponse
|
|
11884
|
+
*/
|
|
11604
11885
|
async deleteTemplateWithOptions(TemplateId, headers, runtime) {
|
|
11605
11886
|
let req = new $OpenApi.OpenApiRequest({
|
|
11606
11887
|
headers: headers,
|
|
@@ -11618,11 +11899,23 @@ class Client extends openapi_client_1.default {
|
|
|
11618
11899
|
});
|
|
11619
11900
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
11620
11901
|
}
|
|
11902
|
+
/**
|
|
11903
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
11904
|
+
*
|
|
11905
|
+
* @return DeleteTemplateResponse
|
|
11906
|
+
*/
|
|
11621
11907
|
async deleteTemplate(TemplateId) {
|
|
11622
11908
|
let runtime = new $Util.RuntimeOptions({});
|
|
11623
11909
|
let headers = {};
|
|
11624
11910
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
11625
11911
|
}
|
|
11912
|
+
/**
|
|
11913
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
11914
|
+
*
|
|
11915
|
+
* @param headers map
|
|
11916
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11917
|
+
* @return DeleteTriggerResponse
|
|
11918
|
+
*/
|
|
11626
11919
|
async deleteTriggerWithOptions(clusterId, Id, headers, runtime) {
|
|
11627
11920
|
let req = new $OpenApi.OpenApiRequest({
|
|
11628
11921
|
headers: headers,
|
|
@@ -11640,11 +11933,24 @@ class Client extends openapi_client_1.default {
|
|
|
11640
11933
|
});
|
|
11641
11934
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
11642
11935
|
}
|
|
11936
|
+
/**
|
|
11937
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
11938
|
+
*
|
|
11939
|
+
* @return DeleteTriggerResponse
|
|
11940
|
+
*/
|
|
11643
11941
|
async deleteTrigger(clusterId, Id) {
|
|
11644
11942
|
let runtime = new $Util.RuntimeOptions({});
|
|
11645
11943
|
let headers = {};
|
|
11646
11944
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
11647
11945
|
}
|
|
11946
|
+
/**
|
|
11947
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
11948
|
+
*
|
|
11949
|
+
* @param request DeployPolicyInstanceRequest
|
|
11950
|
+
* @param headers map
|
|
11951
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11952
|
+
* @return DeployPolicyInstanceResponse
|
|
11953
|
+
*/
|
|
11648
11954
|
async deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
11649
11955
|
tea_util_1.default.validateModel(request);
|
|
11650
11956
|
let body = {};
|
|
@@ -11674,11 +11980,24 @@ class Client extends openapi_client_1.default {
|
|
|
11674
11980
|
});
|
|
11675
11981
|
return $tea.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
11676
11982
|
}
|
|
11983
|
+
/**
|
|
11984
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
11985
|
+
*
|
|
11986
|
+
* @param request DeployPolicyInstanceRequest
|
|
11987
|
+
* @return DeployPolicyInstanceResponse
|
|
11988
|
+
*/
|
|
11677
11989
|
async deployPolicyInstance(clusterId, policyName, request) {
|
|
11678
11990
|
let runtime = new $Util.RuntimeOptions({});
|
|
11679
11991
|
let headers = {};
|
|
11680
11992
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
11681
11993
|
}
|
|
11994
|
+
/**
|
|
11995
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
11996
|
+
*
|
|
11997
|
+
* @param headers map
|
|
11998
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11999
|
+
* @return DescirbeWorkflowResponse
|
|
12000
|
+
*/
|
|
11682
12001
|
async descirbeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
11683
12002
|
let req = new $OpenApi.OpenApiRequest({
|
|
11684
12003
|
headers: headers,
|
|
@@ -11696,11 +12015,24 @@ class Client extends openapi_client_1.default {
|
|
|
11696
12015
|
});
|
|
11697
12016
|
return $tea.cast(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
|
|
11698
12017
|
}
|
|
12018
|
+
/**
|
|
12019
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
12020
|
+
*
|
|
12021
|
+
* @return DescirbeWorkflowResponse
|
|
12022
|
+
*/
|
|
11699
12023
|
async descirbeWorkflow(workflowName) {
|
|
11700
12024
|
let runtime = new $Util.RuntimeOptions({});
|
|
11701
12025
|
let headers = {};
|
|
11702
12026
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
11703
12027
|
}
|
|
12028
|
+
/**
|
|
12029
|
+
* @summary 查询指定集群组件
|
|
12030
|
+
*
|
|
12031
|
+
* @param request DescribeAddonRequest
|
|
12032
|
+
* @param headers map
|
|
12033
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12034
|
+
* @return DescribeAddonResponse
|
|
12035
|
+
*/
|
|
11704
12036
|
async describeAddonWithOptions(addonName, request, headers, runtime) {
|
|
11705
12037
|
tea_util_1.default.validateModel(request);
|
|
11706
12038
|
let query = {};
|
|
@@ -11742,18 +12074,26 @@ class Client extends openapi_client_1.default {
|
|
|
11742
12074
|
});
|
|
11743
12075
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
11744
12076
|
}
|
|
12077
|
+
/**
|
|
12078
|
+
* @summary 查询指定集群组件
|
|
12079
|
+
*
|
|
12080
|
+
* @param request DescribeAddonRequest
|
|
12081
|
+
* @return DescribeAddonResponse
|
|
12082
|
+
*/
|
|
11745
12083
|
async describeAddon(addonName, request) {
|
|
11746
12084
|
let runtime = new $Util.RuntimeOptions({});
|
|
11747
12085
|
let headers = {};
|
|
11748
12086
|
return await this.describeAddonWithOptions(addonName, request, headers, runtime);
|
|
11749
12087
|
}
|
|
11750
12088
|
/**
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
12089
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
12090
|
+
*
|
|
12091
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
12092
|
+
*
|
|
12093
|
+
* @param request DescribeAddonsRequest
|
|
12094
|
+
* @param headers map
|
|
12095
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12096
|
+
* @return DescribeAddonsResponse
|
|
11757
12097
|
*/
|
|
11758
12098
|
// Deprecated
|
|
11759
12099
|
async describeAddonsWithOptions(request, headers, runtime) {
|
|
@@ -11792,10 +12132,12 @@ class Client extends openapi_client_1.default {
|
|
|
11792
12132
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonsResponse({}));
|
|
11793
12133
|
}
|
|
11794
12134
|
/**
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
12135
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
12136
|
+
*
|
|
12137
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
12138
|
+
*
|
|
12139
|
+
* @param request DescribeAddonsRequest
|
|
12140
|
+
* @return DescribeAddonsResponse
|
|
11799
12141
|
*/
|
|
11800
12142
|
// Deprecated
|
|
11801
12143
|
async describeAddons(request) {
|
|
@@ -11804,11 +12146,13 @@ class Client extends openapi_client_1.default {
|
|
|
11804
12146
|
return await this.describeAddonsWithOptions(request, headers, runtime);
|
|
11805
12147
|
}
|
|
11806
12148
|
/**
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
12149
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
12150
|
+
*
|
|
12151
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
12152
|
+
*
|
|
12153
|
+
* @param headers map
|
|
12154
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12155
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
11812
12156
|
*/
|
|
11813
12157
|
// Deprecated
|
|
11814
12158
|
async describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime) {
|
|
@@ -11829,9 +12173,11 @@ class Client extends openapi_client_1.default {
|
|
|
11829
12173
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
|
|
11830
12174
|
}
|
|
11831
12175
|
/**
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
12176
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
12177
|
+
*
|
|
12178
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
12179
|
+
*
|
|
12180
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
11835
12181
|
*/
|
|
11836
12182
|
// Deprecated
|
|
11837
12183
|
async describeClusterAddonInstance(ClusterID, AddonName) {
|
|
@@ -11840,12 +12186,14 @@ class Client extends openapi_client_1.default {
|
|
|
11840
12186
|
return await this.describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime);
|
|
11841
12187
|
}
|
|
11842
12188
|
/**
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
12189
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
12190
|
+
*
|
|
12191
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
12192
|
+
*
|
|
12193
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
12194
|
+
* @param headers map
|
|
12195
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12196
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
11849
12197
|
*/
|
|
11850
12198
|
// Deprecated
|
|
11851
12199
|
async describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime) {
|
|
@@ -11872,10 +12220,12 @@ class Client extends openapi_client_1.default {
|
|
|
11872
12220
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
|
|
11873
12221
|
}
|
|
11874
12222
|
/**
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
|
|
12223
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
12224
|
+
*
|
|
12225
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
12226
|
+
*
|
|
12227
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
12228
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
11879
12229
|
*/
|
|
11880
12230
|
// Deprecated
|
|
11881
12231
|
async describeClusterAddonMetadata(clusterId, componentId, request) {
|
|
@@ -11884,11 +12234,13 @@ class Client extends openapi_client_1.default {
|
|
|
11884
12234
|
return await this.describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime);
|
|
11885
12235
|
}
|
|
11886
12236
|
/**
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
12237
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
12238
|
+
*
|
|
12239
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
12240
|
+
*
|
|
12241
|
+
* @param headers map
|
|
12242
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12243
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
11892
12244
|
*/
|
|
11893
12245
|
// Deprecated
|
|
11894
12246
|
async describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime) {
|
|
@@ -11909,9 +12261,11 @@ class Client extends openapi_client_1.default {
|
|
|
11909
12261
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
|
|
11910
12262
|
}
|
|
11911
12263
|
/**
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
12264
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
12265
|
+
*
|
|
12266
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
12267
|
+
*
|
|
12268
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
11915
12269
|
*/
|
|
11916
12270
|
// Deprecated
|
|
11917
12271
|
async describeClusterAddonUpgradeStatus(ClusterId, ComponentId) {
|
|
@@ -11920,12 +12274,14 @@ class Client extends openapi_client_1.default {
|
|
|
11920
12274
|
return await this.describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime);
|
|
11921
12275
|
}
|
|
11922
12276
|
/**
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
12277
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
12278
|
+
*
|
|
12279
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
12280
|
+
*
|
|
12281
|
+
* @param tmpReq DescribeClusterAddonsUpgradeStatusRequest
|
|
12282
|
+
* @param headers map
|
|
12283
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12284
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
11929
12285
|
*/
|
|
11930
12286
|
// Deprecated
|
|
11931
12287
|
async describeClusterAddonsUpgradeStatusWithOptions(ClusterId, tmpReq, headers, runtime) {
|
|
@@ -11957,10 +12313,12 @@ class Client extends openapi_client_1.default {
|
|
|
11957
12313
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
11958
12314
|
}
|
|
11959
12315
|
/**
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
|
|
12316
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
12317
|
+
*
|
|
12318
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
12319
|
+
*
|
|
12320
|
+
* @param request DescribeClusterAddonsUpgradeStatusRequest
|
|
12321
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
11964
12322
|
*/
|
|
11965
12323
|
// Deprecated
|
|
11966
12324
|
async describeClusterAddonsUpgradeStatus(ClusterId, request) {
|
|
@@ -11969,11 +12327,13 @@ class Client extends openapi_client_1.default {
|
|
|
11969
12327
|
return await this.describeClusterAddonsUpgradeStatusWithOptions(ClusterId, request, headers, runtime);
|
|
11970
12328
|
}
|
|
11971
12329
|
/**
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
12330
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
12331
|
+
*
|
|
12332
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
12333
|
+
*
|
|
12334
|
+
* @param headers map
|
|
12335
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12336
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
11977
12337
|
*/
|
|
11978
12338
|
// Deprecated
|
|
11979
12339
|
async describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime) {
|
|
@@ -11994,9 +12354,11 @@ class Client extends openapi_client_1.default {
|
|
|
11994
12354
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
|
|
11995
12355
|
}
|
|
11996
12356
|
/**
|
|
11997
|
-
|
|
11998
|
-
|
|
11999
|
-
|
|
12357
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
12358
|
+
*
|
|
12359
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
12360
|
+
*
|
|
12361
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
12000
12362
|
*/
|
|
12001
12363
|
// Deprecated
|
|
12002
12364
|
async describeClusterAddonsVersion(ClusterId) {
|
|
@@ -12004,6 +12366,14 @@ class Client extends openapi_client_1.default {
|
|
|
12004
12366
|
let headers = {};
|
|
12005
12367
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
12006
12368
|
}
|
|
12369
|
+
/**
|
|
12370
|
+
* @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.
|
|
12371
|
+
*
|
|
12372
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
12373
|
+
* @param headers map
|
|
12374
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12375
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
12376
|
+
*/
|
|
12007
12377
|
async describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime) {
|
|
12008
12378
|
tea_util_1.default.validateModel(request);
|
|
12009
12379
|
let body = {};
|
|
@@ -12042,11 +12412,24 @@ class Client extends openapi_client_1.default {
|
|
|
12042
12412
|
});
|
|
12043
12413
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
12044
12414
|
}
|
|
12415
|
+
/**
|
|
12416
|
+
* @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.
|
|
12417
|
+
*
|
|
12418
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
12419
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
12420
|
+
*/
|
|
12045
12421
|
async describeClusterAttachScripts(ClusterId, request) {
|
|
12046
12422
|
let runtime = new $Util.RuntimeOptions({});
|
|
12047
12423
|
let headers = {};
|
|
12048
12424
|
return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
|
|
12049
12425
|
}
|
|
12426
|
+
/**
|
|
12427
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
12428
|
+
*
|
|
12429
|
+
* @param headers map
|
|
12430
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12431
|
+
* @return DescribeClusterDetailResponse
|
|
12432
|
+
*/
|
|
12050
12433
|
async describeClusterDetailWithOptions(ClusterId, headers, runtime) {
|
|
12051
12434
|
let req = new $OpenApi.OpenApiRequest({
|
|
12052
12435
|
headers: headers,
|
|
@@ -12064,11 +12447,24 @@ class Client extends openapi_client_1.default {
|
|
|
12064
12447
|
});
|
|
12065
12448
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
12066
12449
|
}
|
|
12450
|
+
/**
|
|
12451
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
12452
|
+
*
|
|
12453
|
+
* @return DescribeClusterDetailResponse
|
|
12454
|
+
*/
|
|
12067
12455
|
async describeClusterDetail(ClusterId) {
|
|
12068
12456
|
let runtime = new $Util.RuntimeOptions({});
|
|
12069
12457
|
let headers = {};
|
|
12070
12458
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
12071
12459
|
}
|
|
12460
|
+
/**
|
|
12461
|
+
* @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.
|
|
12462
|
+
*
|
|
12463
|
+
* @param request DescribeClusterEventsRequest
|
|
12464
|
+
* @param headers map
|
|
12465
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12466
|
+
* @return DescribeClusterEventsResponse
|
|
12467
|
+
*/
|
|
12072
12468
|
async describeClusterEventsWithOptions(ClusterId, request, headers, runtime) {
|
|
12073
12469
|
tea_util_1.default.validateModel(request);
|
|
12074
12470
|
let query = {};
|
|
@@ -12098,11 +12494,24 @@ class Client extends openapi_client_1.default {
|
|
|
12098
12494
|
});
|
|
12099
12495
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
12100
12496
|
}
|
|
12497
|
+
/**
|
|
12498
|
+
* @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.
|
|
12499
|
+
*
|
|
12500
|
+
* @param request DescribeClusterEventsRequest
|
|
12501
|
+
* @return DescribeClusterEventsResponse
|
|
12502
|
+
*/
|
|
12101
12503
|
async describeClusterEvents(ClusterId, request) {
|
|
12102
12504
|
let runtime = new $Util.RuntimeOptions({});
|
|
12103
12505
|
let headers = {};
|
|
12104
12506
|
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
12105
12507
|
}
|
|
12508
|
+
/**
|
|
12509
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
12510
|
+
*
|
|
12511
|
+
* @param headers map
|
|
12512
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12513
|
+
* @return DescribeClusterLogsResponse
|
|
12514
|
+
*/
|
|
12106
12515
|
async describeClusterLogsWithOptions(ClusterId, headers, runtime) {
|
|
12107
12516
|
let req = new $OpenApi.OpenApiRequest({
|
|
12108
12517
|
headers: headers,
|
|
@@ -12120,11 +12529,23 @@ class Client extends openapi_client_1.default {
|
|
|
12120
12529
|
});
|
|
12121
12530
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
12122
12531
|
}
|
|
12532
|
+
/**
|
|
12533
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
12534
|
+
*
|
|
12535
|
+
* @return DescribeClusterLogsResponse
|
|
12536
|
+
*/
|
|
12123
12537
|
async describeClusterLogs(ClusterId) {
|
|
12124
12538
|
let runtime = new $Util.RuntimeOptions({});
|
|
12125
12539
|
let headers = {};
|
|
12126
12540
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
12127
12541
|
}
|
|
12542
|
+
/**
|
|
12543
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
12544
|
+
*
|
|
12545
|
+
* @param headers map
|
|
12546
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12547
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
12548
|
+
*/
|
|
12128
12549
|
async describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime) {
|
|
12129
12550
|
let req = new $OpenApi.OpenApiRequest({
|
|
12130
12551
|
headers: headers,
|
|
@@ -12142,11 +12563,24 @@ class Client extends openapi_client_1.default {
|
|
|
12142
12563
|
});
|
|
12143
12564
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
12144
12565
|
}
|
|
12566
|
+
/**
|
|
12567
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
12568
|
+
*
|
|
12569
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
12570
|
+
*/
|
|
12145
12571
|
async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
|
|
12146
12572
|
let runtime = new $Util.RuntimeOptions({});
|
|
12147
12573
|
let headers = {};
|
|
12148
12574
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
12149
12575
|
}
|
|
12576
|
+
/**
|
|
12577
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
12578
|
+
*
|
|
12579
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
12580
|
+
* @param headers map
|
|
12581
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12582
|
+
* @return DescribeClusterNodePoolsResponse
|
|
12583
|
+
*/
|
|
12150
12584
|
async describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime) {
|
|
12151
12585
|
tea_util_1.default.validateModel(request);
|
|
12152
12586
|
let query = {};
|
|
@@ -12170,11 +12604,25 @@ class Client extends openapi_client_1.default {
|
|
|
12170
12604
|
});
|
|
12171
12605
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
12172
12606
|
}
|
|
12607
|
+
/**
|
|
12608
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
12609
|
+
*
|
|
12610
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
12611
|
+
* @return DescribeClusterNodePoolsResponse
|
|
12612
|
+
*/
|
|
12173
12613
|
async describeClusterNodePools(ClusterId, request) {
|
|
12174
12614
|
let runtime = new $Util.RuntimeOptions({});
|
|
12175
12615
|
let headers = {};
|
|
12176
12616
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
12177
12617
|
}
|
|
12618
|
+
/**
|
|
12619
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
12620
|
+
*
|
|
12621
|
+
* @param request DescribeClusterNodesRequest
|
|
12622
|
+
* @param headers map
|
|
12623
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12624
|
+
* @return DescribeClusterNodesResponse
|
|
12625
|
+
*/
|
|
12178
12626
|
async describeClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
12179
12627
|
tea_util_1.default.validateModel(request);
|
|
12180
12628
|
let query = {};
|
|
@@ -12210,11 +12658,25 @@ class Client extends openapi_client_1.default {
|
|
|
12210
12658
|
});
|
|
12211
12659
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
12212
12660
|
}
|
|
12661
|
+
/**
|
|
12662
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
12663
|
+
*
|
|
12664
|
+
* @param request DescribeClusterNodesRequest
|
|
12665
|
+
* @return DescribeClusterNodesResponse
|
|
12666
|
+
*/
|
|
12213
12667
|
async describeClusterNodes(ClusterId, request) {
|
|
12214
12668
|
let runtime = new $Util.RuntimeOptions({});
|
|
12215
12669
|
let headers = {};
|
|
12216
12670
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
12217
12671
|
}
|
|
12672
|
+
/**
|
|
12673
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
12674
|
+
*
|
|
12675
|
+
* @param request DescribeClusterResourcesRequest
|
|
12676
|
+
* @param headers map
|
|
12677
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12678
|
+
* @return DescribeClusterResourcesResponse
|
|
12679
|
+
*/
|
|
12218
12680
|
async describeClusterResourcesWithOptions(ClusterId, request, headers, runtime) {
|
|
12219
12681
|
tea_util_1.default.validateModel(request);
|
|
12220
12682
|
let query = {};
|
|
@@ -12238,11 +12700,25 @@ class Client extends openapi_client_1.default {
|
|
|
12238
12700
|
});
|
|
12239
12701
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
12240
12702
|
}
|
|
12703
|
+
/**
|
|
12704
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
12705
|
+
*
|
|
12706
|
+
* @param request DescribeClusterResourcesRequest
|
|
12707
|
+
* @return DescribeClusterResourcesResponse
|
|
12708
|
+
*/
|
|
12241
12709
|
async describeClusterResources(ClusterId, request) {
|
|
12242
12710
|
let runtime = new $Util.RuntimeOptions({});
|
|
12243
12711
|
let headers = {};
|
|
12244
12712
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
12245
12713
|
}
|
|
12714
|
+
/**
|
|
12715
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
12716
|
+
*
|
|
12717
|
+
* @param request DescribeClusterTasksRequest
|
|
12718
|
+
* @param headers map
|
|
12719
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12720
|
+
* @return DescribeClusterTasksResponse
|
|
12721
|
+
*/
|
|
12246
12722
|
async describeClusterTasksWithOptions(clusterId, request, headers, runtime) {
|
|
12247
12723
|
tea_util_1.default.validateModel(request);
|
|
12248
12724
|
let query = {};
|
|
@@ -12269,19 +12745,27 @@ class Client extends openapi_client_1.default {
|
|
|
12269
12745
|
});
|
|
12270
12746
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
12271
12747
|
}
|
|
12748
|
+
/**
|
|
12749
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
12750
|
+
*
|
|
12751
|
+
* @param request DescribeClusterTasksRequest
|
|
12752
|
+
* @return DescribeClusterTasksResponse
|
|
12753
|
+
*/
|
|
12272
12754
|
async describeClusterTasks(clusterId, request) {
|
|
12273
12755
|
let runtime = new $Util.RuntimeOptions({});
|
|
12274
12756
|
let headers = {};
|
|
12275
12757
|
return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
|
|
12276
12758
|
}
|
|
12277
12759
|
/**
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12760
|
+
* @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.
|
|
12761
|
+
*
|
|
12762
|
+
* @description **
|
|
12763
|
+
* ****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.
|
|
12764
|
+
*
|
|
12765
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
12766
|
+
* @param headers map
|
|
12767
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12768
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
12285
12769
|
*/
|
|
12286
12770
|
async describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime) {
|
|
12287
12771
|
tea_util_1.default.validateModel(request);
|
|
@@ -12310,11 +12794,13 @@ class Client extends openapi_client_1.default {
|
|
|
12310
12794
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
|
|
12311
12795
|
}
|
|
12312
12796
|
/**
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12797
|
+
* @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.
|
|
12798
|
+
*
|
|
12799
|
+
* @description **
|
|
12800
|
+
* ****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.
|
|
12801
|
+
*
|
|
12802
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
12803
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
12318
12804
|
*/
|
|
12319
12805
|
async describeClusterUserKubeconfig(ClusterId, request) {
|
|
12320
12806
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -12322,12 +12808,14 @@ class Client extends openapi_client_1.default {
|
|
|
12322
12808
|
return await this.describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
12323
12809
|
}
|
|
12324
12810
|
/**
|
|
12325
|
-
|
|
12326
|
-
|
|
12327
|
-
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
|
|
12811
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
12812
|
+
*
|
|
12813
|
+
* @summary 获取集群kubeconfig接口
|
|
12814
|
+
*
|
|
12815
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
12816
|
+
* @param headers map
|
|
12817
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12818
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
12331
12819
|
*/
|
|
12332
12820
|
// Deprecated
|
|
12333
12821
|
async describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -12354,10 +12842,12 @@ class Client extends openapi_client_1.default {
|
|
|
12354
12842
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
|
|
12355
12843
|
}
|
|
12356
12844
|
/**
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12845
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
12846
|
+
*
|
|
12847
|
+
* @summary 获取集群kubeconfig接口
|
|
12848
|
+
*
|
|
12849
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
12850
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
12361
12851
|
*/
|
|
12362
12852
|
// Deprecated
|
|
12363
12853
|
async describeClusterV2UserKubeconfig(ClusterId, request) {
|
|
@@ -12365,6 +12855,13 @@ class Client extends openapi_client_1.default {
|
|
|
12365
12855
|
let headers = {};
|
|
12366
12856
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
12367
12857
|
}
|
|
12858
|
+
/**
|
|
12859
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
12860
|
+
*
|
|
12861
|
+
* @param headers map
|
|
12862
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12863
|
+
* @return DescribeClusterVulsResponse
|
|
12864
|
+
*/
|
|
12368
12865
|
async describeClusterVulsWithOptions(clusterId, headers, runtime) {
|
|
12369
12866
|
let req = new $OpenApi.OpenApiRequest({
|
|
12370
12867
|
headers: headers,
|
|
@@ -12382,18 +12879,25 @@ class Client extends openapi_client_1.default {
|
|
|
12382
12879
|
});
|
|
12383
12880
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
12384
12881
|
}
|
|
12882
|
+
/**
|
|
12883
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
12884
|
+
*
|
|
12885
|
+
* @return DescribeClusterVulsResponse
|
|
12886
|
+
*/
|
|
12385
12887
|
async describeClusterVuls(clusterId) {
|
|
12386
12888
|
let runtime = new $Util.RuntimeOptions({});
|
|
12387
12889
|
let headers = {};
|
|
12388
12890
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
12389
12891
|
}
|
|
12390
12892
|
/**
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12893
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
12894
|
+
*
|
|
12895
|
+
* @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.
|
|
12896
|
+
*
|
|
12897
|
+
* @param request DescribeClustersRequest
|
|
12898
|
+
* @param headers map
|
|
12899
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12900
|
+
* @return DescribeClustersResponse
|
|
12397
12901
|
*/
|
|
12398
12902
|
// Deprecated
|
|
12399
12903
|
async describeClustersWithOptions(request, headers, runtime) {
|
|
@@ -12423,10 +12927,12 @@ class Client extends openapi_client_1.default {
|
|
|
12423
12927
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
|
|
12424
12928
|
}
|
|
12425
12929
|
/**
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12930
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
12931
|
+
*
|
|
12932
|
+
* @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.
|
|
12933
|
+
*
|
|
12934
|
+
* @param request DescribeClustersRequest
|
|
12935
|
+
* @return DescribeClustersResponse
|
|
12430
12936
|
*/
|
|
12431
12937
|
// Deprecated
|
|
12432
12938
|
async describeClusters(request) {
|
|
@@ -12434,6 +12940,14 @@ class Client extends openapi_client_1.default {
|
|
|
12434
12940
|
let headers = {};
|
|
12435
12941
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
12436
12942
|
}
|
|
12943
|
+
/**
|
|
12944
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
12945
|
+
*
|
|
12946
|
+
* @param request DescribeClustersV1Request
|
|
12947
|
+
* @param headers map
|
|
12948
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12949
|
+
* @return DescribeClustersV1Response
|
|
12950
|
+
*/
|
|
12437
12951
|
async describeClustersV1WithOptions(request, headers, runtime) {
|
|
12438
12952
|
tea_util_1.default.validateModel(request);
|
|
12439
12953
|
let query = {};
|
|
@@ -12478,11 +12992,24 @@ class Client extends openapi_client_1.default {
|
|
|
12478
12992
|
});
|
|
12479
12993
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
12480
12994
|
}
|
|
12995
|
+
/**
|
|
12996
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
12997
|
+
*
|
|
12998
|
+
* @param request DescribeClustersV1Request
|
|
12999
|
+
* @return DescribeClustersV1Response
|
|
13000
|
+
*/
|
|
12481
13001
|
async describeClustersV1(request) {
|
|
12482
13002
|
let runtime = new $Util.RuntimeOptions({});
|
|
12483
13003
|
let headers = {};
|
|
12484
13004
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
12485
13005
|
}
|
|
13006
|
+
/**
|
|
13007
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
13008
|
+
*
|
|
13009
|
+
* @param headers map
|
|
13010
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13011
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
13012
|
+
*/
|
|
12486
13013
|
async describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime) {
|
|
12487
13014
|
let req = new $OpenApi.OpenApiRequest({
|
|
12488
13015
|
headers: headers,
|
|
@@ -12500,11 +13027,23 @@ class Client extends openapi_client_1.default {
|
|
|
12500
13027
|
});
|
|
12501
13028
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
12502
13029
|
}
|
|
13030
|
+
/**
|
|
13031
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
13032
|
+
*
|
|
13033
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
13034
|
+
*/
|
|
12503
13035
|
async describeEdgeMachineActiveProcess(edgeMachineid) {
|
|
12504
13036
|
let runtime = new $Util.RuntimeOptions({});
|
|
12505
13037
|
let headers = {};
|
|
12506
13038
|
return await this.describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime);
|
|
12507
13039
|
}
|
|
13040
|
+
/**
|
|
13041
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
13042
|
+
*
|
|
13043
|
+
* @param headers map
|
|
13044
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13045
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
13046
|
+
*/
|
|
12508
13047
|
async describeEdgeMachineModelsWithOptions(headers, runtime) {
|
|
12509
13048
|
let req = new $OpenApi.OpenApiRequest({
|
|
12510
13049
|
headers: headers,
|
|
@@ -12522,11 +13061,23 @@ class Client extends openapi_client_1.default {
|
|
|
12522
13061
|
});
|
|
12523
13062
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
12524
13063
|
}
|
|
13064
|
+
/**
|
|
13065
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
13066
|
+
*
|
|
13067
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
13068
|
+
*/
|
|
12525
13069
|
async describeEdgeMachineModels() {
|
|
12526
13070
|
let runtime = new $Util.RuntimeOptions({});
|
|
12527
13071
|
let headers = {};
|
|
12528
13072
|
return await this.describeEdgeMachineModelsWithOptions(headers, runtime);
|
|
12529
13073
|
}
|
|
13074
|
+
/**
|
|
13075
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
13076
|
+
*
|
|
13077
|
+
* @param headers map
|
|
13078
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13079
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
13080
|
+
*/
|
|
12530
13081
|
async describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime) {
|
|
12531
13082
|
let req = new $OpenApi.OpenApiRequest({
|
|
12532
13083
|
headers: headers,
|
|
@@ -12544,11 +13095,24 @@ class Client extends openapi_client_1.default {
|
|
|
12544
13095
|
});
|
|
12545
13096
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
12546
13097
|
}
|
|
13098
|
+
/**
|
|
13099
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
13100
|
+
*
|
|
13101
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
13102
|
+
*/
|
|
12547
13103
|
async describeEdgeMachineTunnelConfigDetail(edgeMachineid) {
|
|
12548
13104
|
let runtime = new $Util.RuntimeOptions({});
|
|
12549
13105
|
let headers = {};
|
|
12550
13106
|
return await this.describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime);
|
|
12551
13107
|
}
|
|
13108
|
+
/**
|
|
13109
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
13110
|
+
*
|
|
13111
|
+
* @param request DescribeEdgeMachinesRequest
|
|
13112
|
+
* @param headers map
|
|
13113
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13114
|
+
* @return DescribeEdgeMachinesResponse
|
|
13115
|
+
*/
|
|
12552
13116
|
async describeEdgeMachinesWithOptions(request, headers, runtime) {
|
|
12553
13117
|
tea_util_1.default.validateModel(request);
|
|
12554
13118
|
let query = {};
|
|
@@ -12587,11 +13151,25 @@ class Client extends openapi_client_1.default {
|
|
|
12587
13151
|
});
|
|
12588
13152
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
12589
13153
|
}
|
|
13154
|
+
/**
|
|
13155
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
13156
|
+
*
|
|
13157
|
+
* @param request DescribeEdgeMachinesRequest
|
|
13158
|
+
* @return DescribeEdgeMachinesResponse
|
|
13159
|
+
*/
|
|
12590
13160
|
async describeEdgeMachines(request) {
|
|
12591
13161
|
let runtime = new $Util.RuntimeOptions({});
|
|
12592
13162
|
let headers = {};
|
|
12593
13163
|
return await this.describeEdgeMachinesWithOptions(request, headers, runtime);
|
|
12594
13164
|
}
|
|
13165
|
+
/**
|
|
13166
|
+
* @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.
|
|
13167
|
+
*
|
|
13168
|
+
* @param request DescribeEventsRequest
|
|
13169
|
+
* @param headers map
|
|
13170
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13171
|
+
* @return DescribeEventsResponse
|
|
13172
|
+
*/
|
|
12595
13173
|
async describeEventsWithOptions(request, headers, runtime) {
|
|
12596
13174
|
tea_util_1.default.validateModel(request);
|
|
12597
13175
|
let query = {};
|
|
@@ -12624,18 +13202,26 @@ class Client extends openapi_client_1.default {
|
|
|
12624
13202
|
});
|
|
12625
13203
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
12626
13204
|
}
|
|
13205
|
+
/**
|
|
13206
|
+
* @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.
|
|
13207
|
+
*
|
|
13208
|
+
* @param request DescribeEventsRequest
|
|
13209
|
+
* @return DescribeEventsResponse
|
|
13210
|
+
*/
|
|
12627
13211
|
async describeEvents(request) {
|
|
12628
13212
|
let runtime = new $Util.RuntimeOptions({});
|
|
12629
13213
|
let headers = {};
|
|
12630
13214
|
return await this.describeEventsWithOptions(request, headers, runtime);
|
|
12631
13215
|
}
|
|
12632
13216
|
/**
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
13217
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
13218
|
+
*
|
|
13219
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
13220
|
+
*
|
|
13221
|
+
* @param request DescribeExternalAgentRequest
|
|
13222
|
+
* @param headers map
|
|
13223
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13224
|
+
* @return DescribeExternalAgentResponse
|
|
12639
13225
|
*/
|
|
12640
13226
|
async describeExternalAgentWithOptions(ClusterId, request, headers, runtime) {
|
|
12641
13227
|
tea_util_1.default.validateModel(request);
|
|
@@ -12664,16 +13250,26 @@ class Client extends openapi_client_1.default {
|
|
|
12664
13250
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
12665
13251
|
}
|
|
12666
13252
|
/**
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
13253
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
13254
|
+
*
|
|
13255
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
13256
|
+
*
|
|
13257
|
+
* @param request DescribeExternalAgentRequest
|
|
13258
|
+
* @return DescribeExternalAgentResponse
|
|
12671
13259
|
*/
|
|
12672
13260
|
async describeExternalAgent(ClusterId, request) {
|
|
12673
13261
|
let runtime = new $Util.RuntimeOptions({});
|
|
12674
13262
|
let headers = {};
|
|
12675
13263
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
12676
13264
|
}
|
|
13265
|
+
/**
|
|
13266
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
13267
|
+
*
|
|
13268
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
13269
|
+
* @param headers map
|
|
13270
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13271
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
13272
|
+
*/
|
|
12677
13273
|
async describeKubernetesVersionMetadataWithOptions(request, headers, runtime) {
|
|
12678
13274
|
tea_util_1.default.validateModel(request);
|
|
12679
13275
|
let query = {};
|
|
@@ -12712,11 +13308,25 @@ class Client extends openapi_client_1.default {
|
|
|
12712
13308
|
});
|
|
12713
13309
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
12714
13310
|
}
|
|
13311
|
+
/**
|
|
13312
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
13313
|
+
*
|
|
13314
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
13315
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
13316
|
+
*/
|
|
12715
13317
|
async describeKubernetesVersionMetadata(request) {
|
|
12716
13318
|
let runtime = new $Util.RuntimeOptions({});
|
|
12717
13319
|
let headers = {};
|
|
12718
13320
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
12719
13321
|
}
|
|
13322
|
+
/**
|
|
13323
|
+
* @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.
|
|
13324
|
+
*
|
|
13325
|
+
* @param request DescribeNodePoolVulsRequest
|
|
13326
|
+
* @param headers map
|
|
13327
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13328
|
+
* @return DescribeNodePoolVulsResponse
|
|
13329
|
+
*/
|
|
12720
13330
|
async describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
12721
13331
|
tea_util_1.default.validateModel(request);
|
|
12722
13332
|
let query = {};
|
|
@@ -12740,11 +13350,24 @@ class Client extends openapi_client_1.default {
|
|
|
12740
13350
|
});
|
|
12741
13351
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
12742
13352
|
}
|
|
13353
|
+
/**
|
|
13354
|
+
* @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.
|
|
13355
|
+
*
|
|
13356
|
+
* @param request DescribeNodePoolVulsRequest
|
|
13357
|
+
* @return DescribeNodePoolVulsResponse
|
|
13358
|
+
*/
|
|
12743
13359
|
async describeNodePoolVuls(clusterId, nodepoolId, request) {
|
|
12744
13360
|
let runtime = new $Util.RuntimeOptions({});
|
|
12745
13361
|
let headers = {};
|
|
12746
13362
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
12747
13363
|
}
|
|
13364
|
+
/**
|
|
13365
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
13366
|
+
*
|
|
13367
|
+
* @param headers map
|
|
13368
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13369
|
+
* @return DescribePoliciesResponse
|
|
13370
|
+
*/
|
|
12748
13371
|
async describePoliciesWithOptions(headers, runtime) {
|
|
12749
13372
|
let req = new $OpenApi.OpenApiRequest({
|
|
12750
13373
|
headers: headers,
|
|
@@ -12762,11 +13385,23 @@ class Client extends openapi_client_1.default {
|
|
|
12762
13385
|
});
|
|
12763
13386
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
12764
13387
|
}
|
|
13388
|
+
/**
|
|
13389
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
13390
|
+
*
|
|
13391
|
+
* @return DescribePoliciesResponse
|
|
13392
|
+
*/
|
|
12765
13393
|
async describePolicies() {
|
|
12766
13394
|
let runtime = new $Util.RuntimeOptions({});
|
|
12767
13395
|
let headers = {};
|
|
12768
13396
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
12769
13397
|
}
|
|
13398
|
+
/**
|
|
13399
|
+
* @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.
|
|
13400
|
+
*
|
|
13401
|
+
* @param headers map
|
|
13402
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13403
|
+
* @return DescribePolicyDetailsResponse
|
|
13404
|
+
*/
|
|
12770
13405
|
async describePolicyDetailsWithOptions(policyName, headers, runtime) {
|
|
12771
13406
|
let req = new $OpenApi.OpenApiRequest({
|
|
12772
13407
|
headers: headers,
|
|
@@ -12784,11 +13419,23 @@ class Client extends openapi_client_1.default {
|
|
|
12784
13419
|
});
|
|
12785
13420
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
12786
13421
|
}
|
|
13422
|
+
/**
|
|
13423
|
+
* @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.
|
|
13424
|
+
*
|
|
13425
|
+
* @return DescribePolicyDetailsResponse
|
|
13426
|
+
*/
|
|
12787
13427
|
async describePolicyDetails(policyName) {
|
|
12788
13428
|
let runtime = new $Util.RuntimeOptions({});
|
|
12789
13429
|
let headers = {};
|
|
12790
13430
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
12791
13431
|
}
|
|
13432
|
+
/**
|
|
13433
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
13434
|
+
*
|
|
13435
|
+
* @param headers map
|
|
13436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13437
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
13438
|
+
*/
|
|
12792
13439
|
async describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime) {
|
|
12793
13440
|
let req = new $OpenApi.OpenApiRequest({
|
|
12794
13441
|
headers: headers,
|
|
@@ -12806,11 +13453,24 @@ class Client extends openapi_client_1.default {
|
|
|
12806
13453
|
});
|
|
12807
13454
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
12808
13455
|
}
|
|
13456
|
+
/**
|
|
13457
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
13458
|
+
*
|
|
13459
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
13460
|
+
*/
|
|
12809
13461
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
12810
13462
|
let runtime = new $Util.RuntimeOptions({});
|
|
12811
13463
|
let headers = {};
|
|
12812
13464
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
12813
13465
|
}
|
|
13466
|
+
/**
|
|
13467
|
+
* @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.
|
|
13468
|
+
*
|
|
13469
|
+
* @param request DescribePolicyInstancesRequest
|
|
13470
|
+
* @param headers map
|
|
13471
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13472
|
+
* @return DescribePolicyInstancesResponse
|
|
13473
|
+
*/
|
|
12814
13474
|
async describePolicyInstancesWithOptions(clusterId, request, headers, runtime) {
|
|
12815
13475
|
tea_util_1.default.validateModel(request);
|
|
12816
13476
|
let query = {};
|
|
@@ -12837,11 +13497,24 @@ class Client extends openapi_client_1.default {
|
|
|
12837
13497
|
});
|
|
12838
13498
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
12839
13499
|
}
|
|
13500
|
+
/**
|
|
13501
|
+
* @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.
|
|
13502
|
+
*
|
|
13503
|
+
* @param request DescribePolicyInstancesRequest
|
|
13504
|
+
* @return DescribePolicyInstancesResponse
|
|
13505
|
+
*/
|
|
12840
13506
|
async describePolicyInstances(clusterId, request) {
|
|
12841
13507
|
let runtime = new $Util.RuntimeOptions({});
|
|
12842
13508
|
let headers = {};
|
|
12843
13509
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
12844
13510
|
}
|
|
13511
|
+
/**
|
|
13512
|
+
* @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.
|
|
13513
|
+
*
|
|
13514
|
+
* @param headers map
|
|
13515
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13516
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
13517
|
+
*/
|
|
12845
13518
|
async describePolicyInstancesStatusWithOptions(clusterId, headers, runtime) {
|
|
12846
13519
|
let req = new $OpenApi.OpenApiRequest({
|
|
12847
13520
|
headers: headers,
|
|
@@ -12859,19 +13532,26 @@ class Client extends openapi_client_1.default {
|
|
|
12859
13532
|
});
|
|
12860
13533
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
12861
13534
|
}
|
|
13535
|
+
/**
|
|
13536
|
+
* @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.
|
|
13537
|
+
*
|
|
13538
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
13539
|
+
*/
|
|
12862
13540
|
async describePolicyInstancesStatus(clusterId) {
|
|
12863
13541
|
let runtime = new $Util.RuntimeOptions({});
|
|
12864
13542
|
let headers = {};
|
|
12865
13543
|
return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
|
|
12866
13544
|
}
|
|
12867
13545
|
/**
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
13546
|
+
* @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.
|
|
13547
|
+
*
|
|
13548
|
+
* @description **
|
|
13549
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
13550
|
+
*
|
|
13551
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
13552
|
+
* @param headers map
|
|
13553
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13554
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
12875
13555
|
*/
|
|
12876
13556
|
async describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime) {
|
|
12877
13557
|
tea_util_1.default.validateModel(request);
|
|
@@ -12900,17 +13580,26 @@ class Client extends openapi_client_1.default {
|
|
|
12900
13580
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
12901
13581
|
}
|
|
12902
13582
|
/**
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
12907
|
-
|
|
13583
|
+
* @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.
|
|
13584
|
+
*
|
|
13585
|
+
* @description **
|
|
13586
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
13587
|
+
*
|
|
13588
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
13589
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
12908
13590
|
*/
|
|
12909
13591
|
async describeSubaccountK8sClusterUserConfig(ClusterId, Uid, request) {
|
|
12910
13592
|
let runtime = new $Util.RuntimeOptions({});
|
|
12911
13593
|
let headers = {};
|
|
12912
13594
|
return await this.describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
12913
13595
|
}
|
|
13596
|
+
/**
|
|
13597
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
13598
|
+
*
|
|
13599
|
+
* @param headers map
|
|
13600
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13601
|
+
* @return DescribeTaskInfoResponse
|
|
13602
|
+
*/
|
|
12914
13603
|
async describeTaskInfoWithOptions(taskId, headers, runtime) {
|
|
12915
13604
|
let req = new $OpenApi.OpenApiRequest({
|
|
12916
13605
|
headers: headers,
|
|
@@ -12928,11 +13617,24 @@ class Client extends openapi_client_1.default {
|
|
|
12928
13617
|
});
|
|
12929
13618
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
12930
13619
|
}
|
|
13620
|
+
/**
|
|
13621
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
13622
|
+
*
|
|
13623
|
+
* @return DescribeTaskInfoResponse
|
|
13624
|
+
*/
|
|
12931
13625
|
async describeTaskInfo(taskId) {
|
|
12932
13626
|
let runtime = new $Util.RuntimeOptions({});
|
|
12933
13627
|
let headers = {};
|
|
12934
13628
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
12935
13629
|
}
|
|
13630
|
+
/**
|
|
13631
|
+
* @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.
|
|
13632
|
+
*
|
|
13633
|
+
* @param request DescribeTemplateAttributeRequest
|
|
13634
|
+
* @param headers map
|
|
13635
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13636
|
+
* @return DescribeTemplateAttributeResponse
|
|
13637
|
+
*/
|
|
12936
13638
|
async describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime) {
|
|
12937
13639
|
tea_util_1.default.validateModel(request);
|
|
12938
13640
|
let query = {};
|
|
@@ -12956,11 +13658,25 @@ class Client extends openapi_client_1.default {
|
|
|
12956
13658
|
});
|
|
12957
13659
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
12958
13660
|
}
|
|
13661
|
+
/**
|
|
13662
|
+
* @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.
|
|
13663
|
+
*
|
|
13664
|
+
* @param request DescribeTemplateAttributeRequest
|
|
13665
|
+
* @return DescribeTemplateAttributeResponse
|
|
13666
|
+
*/
|
|
12959
13667
|
async describeTemplateAttribute(TemplateId, request) {
|
|
12960
13668
|
let runtime = new $Util.RuntimeOptions({});
|
|
12961
13669
|
let headers = {};
|
|
12962
13670
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
12963
13671
|
}
|
|
13672
|
+
/**
|
|
13673
|
+
* @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.
|
|
13674
|
+
*
|
|
13675
|
+
* @param request DescribeTemplatesRequest
|
|
13676
|
+
* @param headers map
|
|
13677
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13678
|
+
* @return DescribeTemplatesResponse
|
|
13679
|
+
*/
|
|
12964
13680
|
async describeTemplatesWithOptions(request, headers, runtime) {
|
|
12965
13681
|
tea_util_1.default.validateModel(request);
|
|
12966
13682
|
let query = {};
|
|
@@ -12990,11 +13706,25 @@ class Client extends openapi_client_1.default {
|
|
|
12990
13706
|
});
|
|
12991
13707
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
12992
13708
|
}
|
|
13709
|
+
/**
|
|
13710
|
+
* @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.
|
|
13711
|
+
*
|
|
13712
|
+
* @param request DescribeTemplatesRequest
|
|
13713
|
+
* @return DescribeTemplatesResponse
|
|
13714
|
+
*/
|
|
12993
13715
|
async describeTemplates(request) {
|
|
12994
13716
|
let runtime = new $Util.RuntimeOptions({});
|
|
12995
13717
|
let headers = {};
|
|
12996
13718
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
12997
13719
|
}
|
|
13720
|
+
/**
|
|
13721
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
13722
|
+
*
|
|
13723
|
+
* @param request DescribeTriggerRequest
|
|
13724
|
+
* @param headers map
|
|
13725
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13726
|
+
* @return DescribeTriggerResponse
|
|
13727
|
+
*/
|
|
12998
13728
|
async describeTriggerWithOptions(clusterId, request, headers, runtime) {
|
|
12999
13729
|
tea_util_1.default.validateModel(request);
|
|
13000
13730
|
let query = {};
|
|
@@ -13027,11 +13757,24 @@ class Client extends openapi_client_1.default {
|
|
|
13027
13757
|
});
|
|
13028
13758
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
13029
13759
|
}
|
|
13760
|
+
/**
|
|
13761
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
13762
|
+
*
|
|
13763
|
+
* @param request DescribeTriggerRequest
|
|
13764
|
+
* @return DescribeTriggerResponse
|
|
13765
|
+
*/
|
|
13030
13766
|
async describeTrigger(clusterId, request) {
|
|
13031
13767
|
let runtime = new $Util.RuntimeOptions({});
|
|
13032
13768
|
let headers = {};
|
|
13033
13769
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
13034
13770
|
}
|
|
13771
|
+
/**
|
|
13772
|
+
* @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.
|
|
13773
|
+
*
|
|
13774
|
+
* @param headers map
|
|
13775
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13776
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
13777
|
+
*/
|
|
13035
13778
|
async describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime) {
|
|
13036
13779
|
let req = new $OpenApi.OpenApiRequest({
|
|
13037
13780
|
headers: headers,
|
|
@@ -13049,11 +13792,23 @@ class Client extends openapi_client_1.default {
|
|
|
13049
13792
|
});
|
|
13050
13793
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
13051
13794
|
}
|
|
13795
|
+
/**
|
|
13796
|
+
* @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.
|
|
13797
|
+
*
|
|
13798
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
13799
|
+
*/
|
|
13052
13800
|
async describeUserClusterNamespaces(ClusterId) {
|
|
13053
13801
|
let runtime = new $Util.RuntimeOptions({});
|
|
13054
13802
|
let headers = {};
|
|
13055
13803
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
13056
13804
|
}
|
|
13805
|
+
/**
|
|
13806
|
+
* @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.
|
|
13807
|
+
*
|
|
13808
|
+
* @param headers map
|
|
13809
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13810
|
+
* @return DescribeUserPermissionResponse
|
|
13811
|
+
*/
|
|
13057
13812
|
async describeUserPermissionWithOptions(uid, headers, runtime) {
|
|
13058
13813
|
let req = new $OpenApi.OpenApiRequest({
|
|
13059
13814
|
headers: headers,
|
|
@@ -13071,11 +13826,23 @@ class Client extends openapi_client_1.default {
|
|
|
13071
13826
|
});
|
|
13072
13827
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
13073
13828
|
}
|
|
13829
|
+
/**
|
|
13830
|
+
* @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.
|
|
13831
|
+
*
|
|
13832
|
+
* @return DescribeUserPermissionResponse
|
|
13833
|
+
*/
|
|
13074
13834
|
async describeUserPermission(uid) {
|
|
13075
13835
|
let runtime = new $Util.RuntimeOptions({});
|
|
13076
13836
|
let headers = {};
|
|
13077
13837
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
13078
13838
|
}
|
|
13839
|
+
/**
|
|
13840
|
+
* @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.
|
|
13841
|
+
*
|
|
13842
|
+
* @param headers map
|
|
13843
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13844
|
+
* @return DescribeUserQuotaResponse
|
|
13845
|
+
*/
|
|
13079
13846
|
async describeUserQuotaWithOptions(headers, runtime) {
|
|
13080
13847
|
let req = new $OpenApi.OpenApiRequest({
|
|
13081
13848
|
headers: headers,
|
|
@@ -13093,11 +13860,23 @@ class Client extends openapi_client_1.default {
|
|
|
13093
13860
|
});
|
|
13094
13861
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
13095
13862
|
}
|
|
13863
|
+
/**
|
|
13864
|
+
* @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.
|
|
13865
|
+
*
|
|
13866
|
+
* @return DescribeUserQuotaResponse
|
|
13867
|
+
*/
|
|
13096
13868
|
async describeUserQuota() {
|
|
13097
13869
|
let runtime = new $Util.RuntimeOptions({});
|
|
13098
13870
|
let headers = {};
|
|
13099
13871
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
13100
13872
|
}
|
|
13873
|
+
/**
|
|
13874
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
13875
|
+
*
|
|
13876
|
+
* @param headers map
|
|
13877
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13878
|
+
* @return DescribeWorkflowsResponse
|
|
13879
|
+
*/
|
|
13101
13880
|
async describeWorkflowsWithOptions(headers, runtime) {
|
|
13102
13881
|
let req = new $OpenApi.OpenApiRequest({
|
|
13103
13882
|
headers: headers,
|
|
@@ -13115,11 +13894,24 @@ class Client extends openapi_client_1.default {
|
|
|
13115
13894
|
});
|
|
13116
13895
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
|
|
13117
13896
|
}
|
|
13897
|
+
/**
|
|
13898
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
13899
|
+
*
|
|
13900
|
+
* @return DescribeWorkflowsResponse
|
|
13901
|
+
*/
|
|
13118
13902
|
async describeWorkflows() {
|
|
13119
13903
|
let runtime = new $Util.RuntimeOptions({});
|
|
13120
13904
|
let headers = {};
|
|
13121
13905
|
return await this.describeWorkflowsWithOptions(headers, runtime);
|
|
13122
13906
|
}
|
|
13907
|
+
/**
|
|
13908
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
13909
|
+
*
|
|
13910
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
13911
|
+
* @param headers map
|
|
13912
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13913
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
13914
|
+
*/
|
|
13123
13915
|
async edgeClusterAddEdgeMachineWithOptions(clusterid, edgeMachineid, request, headers, runtime) {
|
|
13124
13916
|
tea_util_1.default.validateModel(request);
|
|
13125
13917
|
let body = {};
|
|
@@ -13149,21 +13941,29 @@ class Client extends openapi_client_1.default {
|
|
|
13149
13941
|
});
|
|
13150
13942
|
return $tea.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
13151
13943
|
}
|
|
13944
|
+
/**
|
|
13945
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
13946
|
+
*
|
|
13947
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
13948
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
13949
|
+
*/
|
|
13152
13950
|
async edgeClusterAddEdgeMachine(clusterid, edgeMachineid, request) {
|
|
13153
13951
|
let runtime = new $Util.RuntimeOptions({});
|
|
13154
13952
|
let headers = {};
|
|
13155
13953
|
return await this.edgeClusterAddEdgeMachineWithOptions(clusterid, edgeMachineid, request, headers, runtime);
|
|
13156
13954
|
}
|
|
13157
13955
|
/**
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13956
|
+
* @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.
|
|
13957
|
+
*
|
|
13958
|
+
* @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).
|
|
13959
|
+
* 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.
|
|
13960
|
+
* 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.
|
|
13961
|
+
* 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.
|
|
13962
|
+
*
|
|
13963
|
+
* @param request FixNodePoolVulsRequest
|
|
13964
|
+
* @param headers map
|
|
13965
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13966
|
+
* @return FixNodePoolVulsResponse
|
|
13167
13967
|
*/
|
|
13168
13968
|
async fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
13169
13969
|
tea_util_1.default.validateModel(request);
|
|
@@ -13198,19 +13998,28 @@ class Client extends openapi_client_1.default {
|
|
|
13198
13998
|
return $tea.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
13199
13999
|
}
|
|
13200
14000
|
/**
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13206
|
-
|
|
13207
|
-
|
|
14001
|
+
* @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.
|
|
14002
|
+
*
|
|
14003
|
+
* @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).
|
|
14004
|
+
* 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.
|
|
14005
|
+
* 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.
|
|
14006
|
+
* 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.
|
|
14007
|
+
*
|
|
14008
|
+
* @param request FixNodePoolVulsRequest
|
|
14009
|
+
* @return FixNodePoolVulsResponse
|
|
13208
14010
|
*/
|
|
13209
14011
|
async fixNodePoolVuls(clusterId, nodepoolId, request) {
|
|
13210
14012
|
let runtime = new $Util.RuntimeOptions({});
|
|
13211
14013
|
let headers = {};
|
|
13212
14014
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
13213
14015
|
}
|
|
14016
|
+
/**
|
|
14017
|
+
* @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.
|
|
14018
|
+
*
|
|
14019
|
+
* @param headers map
|
|
14020
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14021
|
+
* @return GetClusterAddonInstanceResponse
|
|
14022
|
+
*/
|
|
13214
14023
|
async getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime) {
|
|
13215
14024
|
let req = new $OpenApi.OpenApiRequest({
|
|
13216
14025
|
headers: headers,
|
|
@@ -13228,11 +14037,23 @@ class Client extends openapi_client_1.default {
|
|
|
13228
14037
|
});
|
|
13229
14038
|
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
13230
14039
|
}
|
|
14040
|
+
/**
|
|
14041
|
+
* @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.
|
|
14042
|
+
*
|
|
14043
|
+
* @return GetClusterAddonInstanceResponse
|
|
14044
|
+
*/
|
|
13231
14045
|
async getClusterAddonInstance(clusterId, instanceName) {
|
|
13232
14046
|
let runtime = new $Util.RuntimeOptions({});
|
|
13233
14047
|
let headers = {};
|
|
13234
14048
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
13235
14049
|
}
|
|
14050
|
+
/**
|
|
14051
|
+
* @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.
|
|
14052
|
+
*
|
|
14053
|
+
* @param headers map
|
|
14054
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14055
|
+
* @return GetClusterCheckResponse
|
|
14056
|
+
*/
|
|
13236
14057
|
async getClusterCheckWithOptions(clusterId, checkId, headers, runtime) {
|
|
13237
14058
|
let req = new $OpenApi.OpenApiRequest({
|
|
13238
14059
|
headers: headers,
|
|
@@ -13250,11 +14071,24 @@ class Client extends openapi_client_1.default {
|
|
|
13250
14071
|
});
|
|
13251
14072
|
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
13252
14073
|
}
|
|
14074
|
+
/**
|
|
14075
|
+
* @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.
|
|
14076
|
+
*
|
|
14077
|
+
* @return GetClusterCheckResponse
|
|
14078
|
+
*/
|
|
13253
14079
|
async getClusterCheck(clusterId, checkId) {
|
|
13254
14080
|
let runtime = new $Util.RuntimeOptions({});
|
|
13255
14081
|
let headers = {};
|
|
13256
14082
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
13257
14083
|
}
|
|
14084
|
+
/**
|
|
14085
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
14086
|
+
*
|
|
14087
|
+
* @param request GetKubernetesTriggerRequest
|
|
14088
|
+
* @param headers map
|
|
14089
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14090
|
+
* @return GetKubernetesTriggerResponse
|
|
14091
|
+
*/
|
|
13258
14092
|
async getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime) {
|
|
13259
14093
|
tea_util_1.default.validateModel(request);
|
|
13260
14094
|
let query = {};
|
|
@@ -13287,11 +14121,24 @@ class Client extends openapi_client_1.default {
|
|
|
13287
14121
|
});
|
|
13288
14122
|
return $tea.cast(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
13289
14123
|
}
|
|
14124
|
+
/**
|
|
14125
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
14126
|
+
*
|
|
14127
|
+
* @param request GetKubernetesTriggerRequest
|
|
14128
|
+
* @return GetKubernetesTriggerResponse
|
|
14129
|
+
*/
|
|
13290
14130
|
async getKubernetesTrigger(ClusterId, request) {
|
|
13291
14131
|
let runtime = new $Util.RuntimeOptions({});
|
|
13292
14132
|
let headers = {};
|
|
13293
14133
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
13294
14134
|
}
|
|
14135
|
+
/**
|
|
14136
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
14137
|
+
*
|
|
14138
|
+
* @param headers map
|
|
14139
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14140
|
+
* @return GetUpgradeStatusResponse
|
|
14141
|
+
*/
|
|
13295
14142
|
async getUpgradeStatusWithOptions(ClusterId, headers, runtime) {
|
|
13296
14143
|
let req = new $OpenApi.OpenApiRequest({
|
|
13297
14144
|
headers: headers,
|
|
@@ -13309,21 +14156,28 @@ class Client extends openapi_client_1.default {
|
|
|
13309
14156
|
});
|
|
13310
14157
|
return $tea.cast(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
13311
14158
|
}
|
|
14159
|
+
/**
|
|
14160
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
14161
|
+
*
|
|
14162
|
+
* @return GetUpgradeStatusResponse
|
|
14163
|
+
*/
|
|
13312
14164
|
async getUpgradeStatus(ClusterId) {
|
|
13313
14165
|
let runtime = new $Util.RuntimeOptions({});
|
|
13314
14166
|
let headers = {};
|
|
13315
14167
|
return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
|
|
13316
14168
|
}
|
|
13317
14169
|
/**
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
14170
|
+
* @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.
|
|
14171
|
+
*
|
|
14172
|
+
* @description ****
|
|
14173
|
+
* * 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).
|
|
14174
|
+
* * 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).
|
|
14175
|
+
* * 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.
|
|
14176
|
+
*
|
|
14177
|
+
* @param request GrantPermissionsRequest
|
|
14178
|
+
* @param headers map
|
|
14179
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14180
|
+
* @return GrantPermissionsResponse
|
|
13327
14181
|
*/
|
|
13328
14182
|
async grantPermissionsWithOptions(uid, request, headers, runtime) {
|
|
13329
14183
|
tea_util_1.default.validateModel(request);
|
|
@@ -13345,19 +14199,29 @@ class Client extends openapi_client_1.default {
|
|
|
13345
14199
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
|
|
13346
14200
|
}
|
|
13347
14201
|
/**
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
|
|
13353
|
-
|
|
13354
|
-
|
|
14202
|
+
* @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.
|
|
14203
|
+
*
|
|
14204
|
+
* @description ****
|
|
14205
|
+
* * 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).
|
|
14206
|
+
* * 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).
|
|
14207
|
+
* * 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.
|
|
14208
|
+
*
|
|
14209
|
+
* @param request GrantPermissionsRequest
|
|
14210
|
+
* @return GrantPermissionsResponse
|
|
13355
14211
|
*/
|
|
13356
14212
|
async grantPermissions(uid, request) {
|
|
13357
14213
|
let runtime = new $Util.RuntimeOptions({});
|
|
13358
14214
|
let headers = {};
|
|
13359
14215
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
13360
14216
|
}
|
|
14217
|
+
/**
|
|
14218
|
+
* @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.
|
|
14219
|
+
*
|
|
14220
|
+
* @param request InstallClusterAddonsRequest
|
|
14221
|
+
* @param headers map
|
|
14222
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14223
|
+
* @return InstallClusterAddonsResponse
|
|
14224
|
+
*/
|
|
13361
14225
|
async installClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
13362
14226
|
tea_util_1.default.validateModel(request);
|
|
13363
14227
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -13377,11 +14241,25 @@ class Client extends openapi_client_1.default {
|
|
|
13377
14241
|
});
|
|
13378
14242
|
return $tea.cast(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
13379
14243
|
}
|
|
14244
|
+
/**
|
|
14245
|
+
* @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.
|
|
14246
|
+
*
|
|
14247
|
+
* @param request InstallClusterAddonsRequest
|
|
14248
|
+
* @return InstallClusterAddonsResponse
|
|
14249
|
+
*/
|
|
13380
14250
|
async installClusterAddons(ClusterId, request) {
|
|
13381
14251
|
let runtime = new $Util.RuntimeOptions({});
|
|
13382
14252
|
let headers = {};
|
|
13383
14253
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
13384
14254
|
}
|
|
14255
|
+
/**
|
|
14256
|
+
* @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.
|
|
14257
|
+
*
|
|
14258
|
+
* @param request ListAddonsRequest
|
|
14259
|
+
* @param headers map
|
|
14260
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14261
|
+
* @return ListAddonsResponse
|
|
14262
|
+
*/
|
|
13385
14263
|
async listAddonsWithOptions(request, headers, runtime) {
|
|
13386
14264
|
tea_util_1.default.validateModel(request);
|
|
13387
14265
|
let query = {};
|
|
@@ -13420,11 +14298,24 @@ class Client extends openapi_client_1.default {
|
|
|
13420
14298
|
});
|
|
13421
14299
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
13422
14300
|
}
|
|
14301
|
+
/**
|
|
14302
|
+
* @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.
|
|
14303
|
+
*
|
|
14304
|
+
* @param request ListAddonsRequest
|
|
14305
|
+
* @return ListAddonsResponse
|
|
14306
|
+
*/
|
|
13423
14307
|
async listAddons(request) {
|
|
13424
14308
|
let runtime = new $Util.RuntimeOptions({});
|
|
13425
14309
|
let headers = {};
|
|
13426
14310
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
13427
14311
|
}
|
|
14312
|
+
/**
|
|
14313
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
14314
|
+
*
|
|
14315
|
+
* @param headers map
|
|
14316
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14317
|
+
* @return ListClusterAddonInstancesResponse
|
|
14318
|
+
*/
|
|
13428
14319
|
async listClusterAddonInstancesWithOptions(clusterId, headers, runtime) {
|
|
13429
14320
|
let req = new $OpenApi.OpenApiRequest({
|
|
13430
14321
|
headers: headers,
|
|
@@ -13442,11 +14333,24 @@ class Client extends openapi_client_1.default {
|
|
|
13442
14333
|
});
|
|
13443
14334
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
13444
14335
|
}
|
|
14336
|
+
/**
|
|
14337
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
14338
|
+
*
|
|
14339
|
+
* @return ListClusterAddonInstancesResponse
|
|
14340
|
+
*/
|
|
13445
14341
|
async listClusterAddonInstances(clusterId) {
|
|
13446
14342
|
let runtime = new $Util.RuntimeOptions({});
|
|
13447
14343
|
let headers = {};
|
|
13448
14344
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
13449
14345
|
}
|
|
14346
|
+
/**
|
|
14347
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
14348
|
+
*
|
|
14349
|
+
* @param request ListClusterChecksRequest
|
|
14350
|
+
* @param headers map
|
|
14351
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14352
|
+
* @return ListClusterChecksResponse
|
|
14353
|
+
*/
|
|
13450
14354
|
async listClusterChecksWithOptions(clusterId, request, headers, runtime) {
|
|
13451
14355
|
tea_util_1.default.validateModel(request);
|
|
13452
14356
|
let query = {};
|
|
@@ -13473,11 +14377,25 @@ class Client extends openapi_client_1.default {
|
|
|
13473
14377
|
});
|
|
13474
14378
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
13475
14379
|
}
|
|
14380
|
+
/**
|
|
14381
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
14382
|
+
*
|
|
14383
|
+
* @param request ListClusterChecksRequest
|
|
14384
|
+
* @return ListClusterChecksResponse
|
|
14385
|
+
*/
|
|
13476
14386
|
async listClusterChecks(clusterId, request) {
|
|
13477
14387
|
let runtime = new $Util.RuntimeOptions({});
|
|
13478
14388
|
let headers = {};
|
|
13479
14389
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
13480
14390
|
}
|
|
14391
|
+
/**
|
|
14392
|
+
* @summary 获取自动运维执行计划列表
|
|
14393
|
+
*
|
|
14394
|
+
* @param request ListOperationPlansRequest
|
|
14395
|
+
* @param headers map
|
|
14396
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14397
|
+
* @return ListOperationPlansResponse
|
|
14398
|
+
*/
|
|
13481
14399
|
async listOperationPlansWithOptions(request, headers, runtime) {
|
|
13482
14400
|
tea_util_1.default.validateModel(request);
|
|
13483
14401
|
let query = {};
|
|
@@ -13504,11 +14422,25 @@ class Client extends openapi_client_1.default {
|
|
|
13504
14422
|
});
|
|
13505
14423
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
13506
14424
|
}
|
|
14425
|
+
/**
|
|
14426
|
+
* @summary 获取自动运维执行计划列表
|
|
14427
|
+
*
|
|
14428
|
+
* @param request ListOperationPlansRequest
|
|
14429
|
+
* @return ListOperationPlansResponse
|
|
14430
|
+
*/
|
|
13507
14431
|
async listOperationPlans(request) {
|
|
13508
14432
|
let runtime = new $Util.RuntimeOptions({});
|
|
13509
14433
|
let headers = {};
|
|
13510
14434
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
13511
14435
|
}
|
|
14436
|
+
/**
|
|
14437
|
+
* @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.
|
|
14438
|
+
*
|
|
14439
|
+
* @param tmpReq ListTagResourcesRequest
|
|
14440
|
+
* @param headers map
|
|
14441
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14442
|
+
* @return ListTagResourcesResponse
|
|
14443
|
+
*/
|
|
13512
14444
|
async listTagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
13513
14445
|
tea_util_1.default.validateModel(tmpReq);
|
|
13514
14446
|
let request = new ListTagResourcesShrinkRequest({});
|
|
@@ -13552,11 +14484,25 @@ class Client extends openapi_client_1.default {
|
|
|
13552
14484
|
});
|
|
13553
14485
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
13554
14486
|
}
|
|
14487
|
+
/**
|
|
14488
|
+
* @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.
|
|
14489
|
+
*
|
|
14490
|
+
* @param request ListTagResourcesRequest
|
|
14491
|
+
* @return ListTagResourcesResponse
|
|
14492
|
+
*/
|
|
13555
14493
|
async listTagResources(request) {
|
|
13556
14494
|
let runtime = new $Util.RuntimeOptions({});
|
|
13557
14495
|
let headers = {};
|
|
13558
14496
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
13559
14497
|
}
|
|
14498
|
+
/**
|
|
14499
|
+
* @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.
|
|
14500
|
+
*
|
|
14501
|
+
* @param request MigrateClusterRequest
|
|
14502
|
+
* @param headers map
|
|
14503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14504
|
+
* @return MigrateClusterResponse
|
|
14505
|
+
*/
|
|
13560
14506
|
async migrateClusterWithOptions(clusterId, request, headers, runtime) {
|
|
13561
14507
|
tea_util_1.default.validateModel(request);
|
|
13562
14508
|
let body = {};
|
|
@@ -13583,11 +14529,25 @@ class Client extends openapi_client_1.default {
|
|
|
13583
14529
|
});
|
|
13584
14530
|
return $tea.cast(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
13585
14531
|
}
|
|
14532
|
+
/**
|
|
14533
|
+
* @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.
|
|
14534
|
+
*
|
|
14535
|
+
* @param request MigrateClusterRequest
|
|
14536
|
+
* @return MigrateClusterResponse
|
|
14537
|
+
*/
|
|
13586
14538
|
async migrateCluster(clusterId, request) {
|
|
13587
14539
|
let runtime = new $Util.RuntimeOptions({});
|
|
13588
14540
|
let headers = {};
|
|
13589
14541
|
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
13590
14542
|
}
|
|
14543
|
+
/**
|
|
14544
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
14545
|
+
*
|
|
14546
|
+
* @param request ModifyClusterRequest
|
|
14547
|
+
* @param headers map
|
|
14548
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14549
|
+
* @return ModifyClusterResponse
|
|
14550
|
+
*/
|
|
13591
14551
|
async modifyClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
13592
14552
|
tea_util_1.default.validateModel(request);
|
|
13593
14553
|
let body = {};
|
|
@@ -13650,21 +14610,29 @@ class Client extends openapi_client_1.default {
|
|
|
13650
14610
|
});
|
|
13651
14611
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
13652
14612
|
}
|
|
14613
|
+
/**
|
|
14614
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
14615
|
+
*
|
|
14616
|
+
* @param request ModifyClusterRequest
|
|
14617
|
+
* @return ModifyClusterResponse
|
|
14618
|
+
*/
|
|
13653
14619
|
async modifyCluster(ClusterId, request) {
|
|
13654
14620
|
let runtime = new $Util.RuntimeOptions({});
|
|
13655
14621
|
let headers = {};
|
|
13656
14622
|
return await this.modifyClusterWithOptions(ClusterId, request, headers, runtime);
|
|
13657
14623
|
}
|
|
13658
14624
|
/**
|
|
13659
|
-
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
14625
|
+
* @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.
|
|
14626
|
+
*
|
|
14627
|
+
* @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.
|
|
14628
|
+
* * 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).
|
|
14629
|
+
* * 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).
|
|
14630
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
14631
|
+
*
|
|
14632
|
+
* @param request ModifyClusterAddonRequest
|
|
14633
|
+
* @param headers map
|
|
14634
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14635
|
+
* @return ModifyClusterAddonResponse
|
|
13668
14636
|
*/
|
|
13669
14637
|
async modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime) {
|
|
13670
14638
|
tea_util_1.default.validateModel(request);
|
|
@@ -13690,19 +14658,29 @@ class Client extends openapi_client_1.default {
|
|
|
13690
14658
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterAddonResponse({}));
|
|
13691
14659
|
}
|
|
13692
14660
|
/**
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
14661
|
+
* @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.
|
|
14662
|
+
*
|
|
14663
|
+
* @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.
|
|
14664
|
+
* * 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).
|
|
14665
|
+
* * 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).
|
|
14666
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
14667
|
+
*
|
|
14668
|
+
* @param request ModifyClusterAddonRequest
|
|
14669
|
+
* @return ModifyClusterAddonResponse
|
|
13700
14670
|
*/
|
|
13701
14671
|
async modifyClusterAddon(clusterId, componentId, request) {
|
|
13702
14672
|
let runtime = new $Util.RuntimeOptions({});
|
|
13703
14673
|
let headers = {};
|
|
13704
14674
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
13705
14675
|
}
|
|
14676
|
+
/**
|
|
14677
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
14678
|
+
*
|
|
14679
|
+
* @param request ModifyClusterConfigurationRequest
|
|
14680
|
+
* @param headers map
|
|
14681
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14682
|
+
* @return ModifyClusterConfigurationResponse
|
|
14683
|
+
*/
|
|
13706
14684
|
async modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime) {
|
|
13707
14685
|
tea_util_1.default.validateModel(request);
|
|
13708
14686
|
let body = {};
|
|
@@ -13726,11 +14704,25 @@ class Client extends openapi_client_1.default {
|
|
|
13726
14704
|
});
|
|
13727
14705
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
13728
14706
|
}
|
|
14707
|
+
/**
|
|
14708
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
14709
|
+
*
|
|
14710
|
+
* @param request ModifyClusterConfigurationRequest
|
|
14711
|
+
* @return ModifyClusterConfigurationResponse
|
|
14712
|
+
*/
|
|
13729
14713
|
async modifyClusterConfiguration(ClusterId, request) {
|
|
13730
14714
|
let runtime = new $Util.RuntimeOptions({});
|
|
13731
14715
|
let headers = {};
|
|
13732
14716
|
return await this.modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime);
|
|
13733
14717
|
}
|
|
14718
|
+
/**
|
|
14719
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
14720
|
+
*
|
|
14721
|
+
* @param request ModifyClusterNodePoolRequest
|
|
14722
|
+
* @param headers map
|
|
14723
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14724
|
+
* @return ModifyClusterNodePoolResponse
|
|
14725
|
+
*/
|
|
13734
14726
|
async modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
13735
14727
|
tea_util_1.default.validateModel(request);
|
|
13736
14728
|
let body = {};
|
|
@@ -13775,11 +14767,25 @@ class Client extends openapi_client_1.default {
|
|
|
13775
14767
|
});
|
|
13776
14768
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
13777
14769
|
}
|
|
14770
|
+
/**
|
|
14771
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
14772
|
+
*
|
|
14773
|
+
* @param request ModifyClusterNodePoolRequest
|
|
14774
|
+
* @return ModifyClusterNodePoolResponse
|
|
14775
|
+
*/
|
|
13778
14776
|
async modifyClusterNodePool(ClusterId, NodepoolId, request) {
|
|
13779
14777
|
let runtime = new $Util.RuntimeOptions({});
|
|
13780
14778
|
let headers = {};
|
|
13781
14779
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
13782
14780
|
}
|
|
14781
|
+
/**
|
|
14782
|
+
* @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.
|
|
14783
|
+
*
|
|
14784
|
+
* @param request ModifyClusterTagsRequest
|
|
14785
|
+
* @param headers map
|
|
14786
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14787
|
+
* @return ModifyClusterTagsResponse
|
|
14788
|
+
*/
|
|
13783
14789
|
async modifyClusterTagsWithOptions(ClusterId, request, headers, runtime) {
|
|
13784
14790
|
tea_util_1.default.validateModel(request);
|
|
13785
14791
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -13799,18 +14805,26 @@ class Client extends openapi_client_1.default {
|
|
|
13799
14805
|
});
|
|
13800
14806
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
13801
14807
|
}
|
|
14808
|
+
/**
|
|
14809
|
+
* @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.
|
|
14810
|
+
*
|
|
14811
|
+
* @param request ModifyClusterTagsRequest
|
|
14812
|
+
* @return ModifyClusterTagsResponse
|
|
14813
|
+
*/
|
|
13802
14814
|
async modifyClusterTags(ClusterId, request) {
|
|
13803
14815
|
let runtime = new $Util.RuntimeOptions({});
|
|
13804
14816
|
let headers = {};
|
|
13805
14817
|
return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
|
|
13806
14818
|
}
|
|
13807
14819
|
/**
|
|
13808
|
-
|
|
13809
|
-
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
14820
|
+
* @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.
|
|
14821
|
+
*
|
|
14822
|
+
* @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.
|
|
14823
|
+
*
|
|
14824
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
14825
|
+
* @param headers map
|
|
14826
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14827
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
13814
14828
|
*/
|
|
13815
14829
|
async modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
13816
14830
|
tea_util_1.default.validateModel(request);
|
|
@@ -13842,16 +14856,26 @@ class Client extends openapi_client_1.default {
|
|
|
13842
14856
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
13843
14857
|
}
|
|
13844
14858
|
/**
|
|
13845
|
-
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
|
-
|
|
14859
|
+
* @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.
|
|
14860
|
+
*
|
|
14861
|
+
* @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.
|
|
14862
|
+
*
|
|
14863
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
14864
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
13849
14865
|
*/
|
|
13850
14866
|
async modifyNodePoolNodeConfig(ClusterId, NodepoolId, request) {
|
|
13851
14867
|
let runtime = new $Util.RuntimeOptions({});
|
|
13852
14868
|
let headers = {};
|
|
13853
14869
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
13854
14870
|
}
|
|
14871
|
+
/**
|
|
14872
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14873
|
+
*
|
|
14874
|
+
* @param request ModifyPolicyInstanceRequest
|
|
14875
|
+
* @param headers map
|
|
14876
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14877
|
+
* @return ModifyPolicyInstanceResponse
|
|
14878
|
+
*/
|
|
13855
14879
|
async modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
13856
14880
|
tea_util_1.default.validateModel(request);
|
|
13857
14881
|
let body = {};
|
|
@@ -13884,19 +14908,27 @@ class Client extends openapi_client_1.default {
|
|
|
13884
14908
|
});
|
|
13885
14909
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
13886
14910
|
}
|
|
14911
|
+
/**
|
|
14912
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14913
|
+
*
|
|
14914
|
+
* @param request ModifyPolicyInstanceRequest
|
|
14915
|
+
* @return ModifyPolicyInstanceResponse
|
|
14916
|
+
*/
|
|
13887
14917
|
async modifyPolicyInstance(clusterId, policyName, request) {
|
|
13888
14918
|
let runtime = new $Util.RuntimeOptions({});
|
|
13889
14919
|
let headers = {};
|
|
13890
14920
|
return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
13891
14921
|
}
|
|
13892
14922
|
/**
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
14923
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
14924
|
+
*
|
|
14925
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
14926
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
14927
|
+
*
|
|
14928
|
+
* @param request OpenAckServiceRequest
|
|
14929
|
+
* @param headers map
|
|
14930
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14931
|
+
* @return OpenAckServiceResponse
|
|
13900
14932
|
*/
|
|
13901
14933
|
async openAckServiceWithOptions(request, headers, runtime) {
|
|
13902
14934
|
tea_util_1.default.validateModel(request);
|
|
@@ -13922,11 +14954,13 @@ class Client extends openapi_client_1.default {
|
|
|
13922
14954
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
|
|
13923
14955
|
}
|
|
13924
14956
|
/**
|
|
13925
|
-
|
|
13926
|
-
|
|
13927
|
-
|
|
13928
|
-
|
|
13929
|
-
|
|
14957
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
14958
|
+
*
|
|
14959
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
14960
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
14961
|
+
*
|
|
14962
|
+
* @param request OpenAckServiceRequest
|
|
14963
|
+
* @return OpenAckServiceResponse
|
|
13930
14964
|
*/
|
|
13931
14965
|
async openAckService(request) {
|
|
13932
14966
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -13934,11 +14968,13 @@ class Client extends openapi_client_1.default {
|
|
|
13934
14968
|
return await this.openAckServiceWithOptions(request, headers, runtime);
|
|
13935
14969
|
}
|
|
13936
14970
|
/**
|
|
13937
|
-
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13941
|
-
|
|
14971
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
14972
|
+
*
|
|
14973
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
14974
|
+
*
|
|
14975
|
+
* @param headers map
|
|
14976
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14977
|
+
* @return PauseClusterUpgradeResponse
|
|
13942
14978
|
*/
|
|
13943
14979
|
// Deprecated
|
|
13944
14980
|
async pauseClusterUpgradeWithOptions(ClusterId, headers, runtime) {
|
|
@@ -13959,9 +14995,11 @@ class Client extends openapi_client_1.default {
|
|
|
13959
14995
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseClusterUpgradeResponse({}));
|
|
13960
14996
|
}
|
|
13961
14997
|
/**
|
|
13962
|
-
|
|
13963
|
-
|
|
13964
|
-
|
|
14998
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
14999
|
+
*
|
|
15000
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
15001
|
+
*
|
|
15002
|
+
* @return PauseClusterUpgradeResponse
|
|
13965
15003
|
*/
|
|
13966
15004
|
// Deprecated
|
|
13967
15005
|
async pauseClusterUpgrade(ClusterId) {
|
|
@@ -13969,6 +15007,13 @@ class Client extends openapi_client_1.default {
|
|
|
13969
15007
|
let headers = {};
|
|
13970
15008
|
return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
13971
15009
|
}
|
|
15010
|
+
/**
|
|
15011
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
15012
|
+
*
|
|
15013
|
+
* @param headers map
|
|
15014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15015
|
+
* @return PauseComponentUpgradeResponse
|
|
15016
|
+
*/
|
|
13972
15017
|
async pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
|
|
13973
15018
|
let req = new $OpenApi.OpenApiRequest({
|
|
13974
15019
|
headers: headers,
|
|
@@ -13986,11 +15031,23 @@ class Client extends openapi_client_1.default {
|
|
|
13986
15031
|
});
|
|
13987
15032
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
13988
15033
|
}
|
|
15034
|
+
/**
|
|
15035
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
15036
|
+
*
|
|
15037
|
+
* @return PauseComponentUpgradeResponse
|
|
15038
|
+
*/
|
|
13989
15039
|
async pauseComponentUpgrade(clusterid, componentid) {
|
|
13990
15040
|
let runtime = new $Util.RuntimeOptions({});
|
|
13991
15041
|
let headers = {};
|
|
13992
15042
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
13993
15043
|
}
|
|
15044
|
+
/**
|
|
15045
|
+
* @summary Pauses an on-going task.
|
|
15046
|
+
*
|
|
15047
|
+
* @param headers map
|
|
15048
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15049
|
+
* @return PauseTaskResponse
|
|
15050
|
+
*/
|
|
13994
15051
|
async pauseTaskWithOptions(taskId, headers, runtime) {
|
|
13995
15052
|
let req = new $OpenApi.OpenApiRequest({
|
|
13996
15053
|
headers: headers,
|
|
@@ -14008,23 +15065,31 @@ class Client extends openapi_client_1.default {
|
|
|
14008
15065
|
});
|
|
14009
15066
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
14010
15067
|
}
|
|
15068
|
+
/**
|
|
15069
|
+
* @summary Pauses an on-going task.
|
|
15070
|
+
*
|
|
15071
|
+
* @return PauseTaskResponse
|
|
15072
|
+
*/
|
|
14011
15073
|
async pauseTask(taskId) {
|
|
14012
15074
|
let runtime = new $Util.RuntimeOptions({});
|
|
14013
15075
|
let headers = {};
|
|
14014
15076
|
return await this.pauseTaskWithOptions(taskId, headers, runtime);
|
|
14015
15077
|
}
|
|
14016
15078
|
/**
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
15079
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
15080
|
+
*
|
|
15081
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
15082
|
+
*
|
|
15083
|
+
* @description ****
|
|
15084
|
+
* * 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.
|
|
15085
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15086
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15087
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
15088
|
+
*
|
|
15089
|
+
* @param request RemoveClusterNodesRequest
|
|
15090
|
+
* @param headers map
|
|
15091
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15092
|
+
* @return RemoveClusterNodesResponse
|
|
14028
15093
|
*/
|
|
14029
15094
|
// Deprecated
|
|
14030
15095
|
async removeClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -14057,15 +15122,18 @@ class Client extends openapi_client_1.default {
|
|
|
14057
15122
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveClusterNodesResponse({}));
|
|
14058
15123
|
}
|
|
14059
15124
|
/**
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
15125
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
15126
|
+
*
|
|
15127
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
15128
|
+
*
|
|
15129
|
+
* @description ****
|
|
15130
|
+
* * 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.
|
|
15131
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15132
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15133
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
15134
|
+
*
|
|
15135
|
+
* @param request RemoveClusterNodesRequest
|
|
15136
|
+
* @return RemoveClusterNodesResponse
|
|
14069
15137
|
*/
|
|
14070
15138
|
// Deprecated
|
|
14071
15139
|
async removeClusterNodes(ClusterId, request) {
|
|
@@ -14074,14 +15142,16 @@ class Client extends openapi_client_1.default {
|
|
|
14074
15142
|
return await this.removeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
14075
15143
|
}
|
|
14076
15144
|
/**
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
15145
|
+
* @summary Removes nodes from a node pool.
|
|
15146
|
+
*
|
|
15147
|
+
* @description **
|
|
15148
|
+
* ****
|
|
15149
|
+
* * 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.
|
|
15150
|
+
*
|
|
15151
|
+
* @param tmpReq RemoveNodePoolNodesRequest
|
|
15152
|
+
* @param headers map
|
|
15153
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15154
|
+
* @return RemoveNodePoolNodesResponse
|
|
14085
15155
|
*/
|
|
14086
15156
|
async removeNodePoolNodesWithOptions(ClusterId, NodepoolId, tmpReq, headers, runtime) {
|
|
14087
15157
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -14127,18 +15197,27 @@ class Client extends openapi_client_1.default {
|
|
|
14127
15197
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
|
|
14128
15198
|
}
|
|
14129
15199
|
/**
|
|
14130
|
-
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
15200
|
+
* @summary Removes nodes from a node pool.
|
|
15201
|
+
*
|
|
15202
|
+
* @description **
|
|
15203
|
+
* ****
|
|
15204
|
+
* * 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.
|
|
15205
|
+
*
|
|
15206
|
+
* @param request RemoveNodePoolNodesRequest
|
|
15207
|
+
* @return RemoveNodePoolNodesResponse
|
|
14136
15208
|
*/
|
|
14137
15209
|
async removeNodePoolNodes(ClusterId, NodepoolId, request) {
|
|
14138
15210
|
let runtime = new $Util.RuntimeOptions({});
|
|
14139
15211
|
let headers = {};
|
|
14140
15212
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
14141
15213
|
}
|
|
15214
|
+
/**
|
|
15215
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15216
|
+
*
|
|
15217
|
+
* @param headers map
|
|
15218
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15219
|
+
* @return RemoveWorkflowResponse
|
|
15220
|
+
*/
|
|
14142
15221
|
async removeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
14143
15222
|
let req = new $OpenApi.OpenApiRequest({
|
|
14144
15223
|
headers: headers,
|
|
@@ -14156,11 +15235,24 @@ class Client extends openapi_client_1.default {
|
|
|
14156
15235
|
});
|
|
14157
15236
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
|
|
14158
15237
|
}
|
|
15238
|
+
/**
|
|
15239
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15240
|
+
*
|
|
15241
|
+
* @return RemoveWorkflowResponse
|
|
15242
|
+
*/
|
|
14159
15243
|
async removeWorkflow(workflowName) {
|
|
14160
15244
|
let runtime = new $Util.RuntimeOptions({});
|
|
14161
15245
|
let headers = {};
|
|
14162
15246
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
14163
15247
|
}
|
|
15248
|
+
/**
|
|
15249
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
15250
|
+
*
|
|
15251
|
+
* @param request RepairClusterNodePoolRequest
|
|
15252
|
+
* @param headers map
|
|
15253
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15254
|
+
* @return RepairClusterNodePoolResponse
|
|
15255
|
+
*/
|
|
14164
15256
|
async repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
14165
15257
|
tea_util_1.default.validateModel(request);
|
|
14166
15258
|
let body = {};
|
|
@@ -14187,11 +15279,24 @@ class Client extends openapi_client_1.default {
|
|
|
14187
15279
|
});
|
|
14188
15280
|
return $tea.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
14189
15281
|
}
|
|
15282
|
+
/**
|
|
15283
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
15284
|
+
*
|
|
15285
|
+
* @param request RepairClusterNodePoolRequest
|
|
15286
|
+
* @return RepairClusterNodePoolResponse
|
|
15287
|
+
*/
|
|
14190
15288
|
async repairClusterNodePool(clusterId, nodepoolId, request) {
|
|
14191
15289
|
let runtime = new $Util.RuntimeOptions({});
|
|
14192
15290
|
let headers = {};
|
|
14193
15291
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
14194
15292
|
}
|
|
15293
|
+
/**
|
|
15294
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
15295
|
+
*
|
|
15296
|
+
* @param headers map
|
|
15297
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15298
|
+
* @return ResumeComponentUpgradeResponse
|
|
15299
|
+
*/
|
|
14195
15300
|
async resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
|
|
14196
15301
|
let req = new $OpenApi.OpenApiRequest({
|
|
14197
15302
|
headers: headers,
|
|
@@ -14209,11 +15314,23 @@ class Client extends openapi_client_1.default {
|
|
|
14209
15314
|
});
|
|
14210
15315
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
14211
15316
|
}
|
|
15317
|
+
/**
|
|
15318
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
15319
|
+
*
|
|
15320
|
+
* @return ResumeComponentUpgradeResponse
|
|
15321
|
+
*/
|
|
14212
15322
|
async resumeComponentUpgrade(clusterid, componentid) {
|
|
14213
15323
|
let runtime = new $Util.RuntimeOptions({});
|
|
14214
15324
|
let headers = {};
|
|
14215
15325
|
return await this.resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
14216
15326
|
}
|
|
15327
|
+
/**
|
|
15328
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
15329
|
+
*
|
|
15330
|
+
* @param headers map
|
|
15331
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15332
|
+
* @return ResumeTaskResponse
|
|
15333
|
+
*/
|
|
14217
15334
|
async resumeTaskWithOptions(taskId, headers, runtime) {
|
|
14218
15335
|
let req = new $OpenApi.OpenApiRequest({
|
|
14219
15336
|
headers: headers,
|
|
@@ -14231,17 +15348,24 @@ class Client extends openapi_client_1.default {
|
|
|
14231
15348
|
});
|
|
14232
15349
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
14233
15350
|
}
|
|
15351
|
+
/**
|
|
15352
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
15353
|
+
*
|
|
15354
|
+
* @return ResumeTaskResponse
|
|
15355
|
+
*/
|
|
14234
15356
|
async resumeTask(taskId) {
|
|
14235
15357
|
let runtime = new $Util.RuntimeOptions({});
|
|
14236
15358
|
let headers = {};
|
|
14237
15359
|
return await this.resumeTaskWithOptions(taskId, headers, runtime);
|
|
14238
15360
|
}
|
|
14239
15361
|
/**
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
15362
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
15363
|
+
*
|
|
15364
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
15365
|
+
*
|
|
15366
|
+
* @param headers map
|
|
15367
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15368
|
+
* @return ResumeUpgradeClusterResponse
|
|
14245
15369
|
*/
|
|
14246
15370
|
// Deprecated
|
|
14247
15371
|
async resumeUpgradeClusterWithOptions(ClusterId, headers, runtime) {
|
|
@@ -14262,9 +15386,11 @@ class Client extends openapi_client_1.default {
|
|
|
14262
15386
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeUpgradeClusterResponse({}));
|
|
14263
15387
|
}
|
|
14264
15388
|
/**
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
15389
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
15390
|
+
*
|
|
15391
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
15392
|
+
*
|
|
15393
|
+
* @return ResumeUpgradeClusterResponse
|
|
14268
15394
|
*/
|
|
14269
15395
|
// Deprecated
|
|
14270
15396
|
async resumeUpgradeCluster(ClusterId) {
|
|
@@ -14272,6 +15398,14 @@ class Client extends openapi_client_1.default {
|
|
|
14272
15398
|
let headers = {};
|
|
14273
15399
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
14274
15400
|
}
|
|
15401
|
+
/**
|
|
15402
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
15403
|
+
*
|
|
15404
|
+
* @param request RunClusterCheckRequest
|
|
15405
|
+
* @param headers map
|
|
15406
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15407
|
+
* @return RunClusterCheckResponse
|
|
15408
|
+
*/
|
|
14275
15409
|
async runClusterCheckWithOptions(clusterId, request, headers, runtime) {
|
|
14276
15410
|
tea_util_1.default.validateModel(request);
|
|
14277
15411
|
let body = {};
|
|
@@ -14301,18 +15435,26 @@ class Client extends openapi_client_1.default {
|
|
|
14301
15435
|
});
|
|
14302
15436
|
return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
14303
15437
|
}
|
|
15438
|
+
/**
|
|
15439
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
15440
|
+
*
|
|
15441
|
+
* @param request RunClusterCheckRequest
|
|
15442
|
+
* @return RunClusterCheckResponse
|
|
15443
|
+
*/
|
|
14304
15444
|
async runClusterCheck(clusterId, request) {
|
|
14305
15445
|
let runtime = new $Util.RuntimeOptions({});
|
|
14306
15446
|
let headers = {};
|
|
14307
15447
|
return await this.runClusterCheckWithOptions(clusterId, request, headers, runtime);
|
|
14308
15448
|
}
|
|
14309
15449
|
/**
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
15450
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
15451
|
+
*
|
|
15452
|
+
* @summary 扩容Kubernetes集群
|
|
15453
|
+
*
|
|
15454
|
+
* @param request ScaleClusterRequest
|
|
15455
|
+
* @param headers map
|
|
15456
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15457
|
+
* @return ScaleClusterResponse
|
|
14316
15458
|
*/
|
|
14317
15459
|
// Deprecated
|
|
14318
15460
|
async scaleClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -14393,10 +15535,12 @@ class Client extends openapi_client_1.default {
|
|
|
14393
15535
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleClusterResponse({}));
|
|
14394
15536
|
}
|
|
14395
15537
|
/**
|
|
14396
|
-
|
|
14397
|
-
|
|
14398
|
-
|
|
14399
|
-
|
|
15538
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
15539
|
+
*
|
|
15540
|
+
* @summary 扩容Kubernetes集群
|
|
15541
|
+
*
|
|
15542
|
+
* @param request ScaleClusterRequest
|
|
15543
|
+
* @return ScaleClusterResponse
|
|
14400
15544
|
*/
|
|
14401
15545
|
// Deprecated
|
|
14402
15546
|
async scaleCluster(ClusterId, request) {
|
|
@@ -14404,6 +15548,14 @@ class Client extends openapi_client_1.default {
|
|
|
14404
15548
|
let headers = {};
|
|
14405
15549
|
return await this.scaleClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14406
15550
|
}
|
|
15551
|
+
/**
|
|
15552
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
15553
|
+
*
|
|
15554
|
+
* @param request ScaleClusterNodePoolRequest
|
|
15555
|
+
* @param headers map
|
|
15556
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15557
|
+
* @return ScaleClusterNodePoolResponse
|
|
15558
|
+
*/
|
|
14407
15559
|
async scaleClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
14408
15560
|
tea_util_1.default.validateModel(request);
|
|
14409
15561
|
let body = {};
|
|
@@ -14427,19 +15579,27 @@ class Client extends openapi_client_1.default {
|
|
|
14427
15579
|
});
|
|
14428
15580
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
14429
15581
|
}
|
|
15582
|
+
/**
|
|
15583
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
15584
|
+
*
|
|
15585
|
+
* @param request ScaleClusterNodePoolRequest
|
|
15586
|
+
* @return ScaleClusterNodePoolResponse
|
|
15587
|
+
*/
|
|
14430
15588
|
async scaleClusterNodePool(ClusterId, NodepoolId, request) {
|
|
14431
15589
|
let runtime = new $Util.RuntimeOptions({});
|
|
14432
15590
|
let headers = {};
|
|
14433
15591
|
return await this.scaleClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
14434
15592
|
}
|
|
14435
15593
|
/**
|
|
14436
|
-
|
|
14437
|
-
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
|
|
15594
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
15595
|
+
*
|
|
15596
|
+
* @description **
|
|
15597
|
+
* ****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).
|
|
15598
|
+
*
|
|
15599
|
+
* @param request ScaleOutClusterRequest
|
|
15600
|
+
* @param headers map
|
|
15601
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15602
|
+
* @return ScaleOutClusterResponse
|
|
14443
15603
|
*/
|
|
14444
15604
|
async scaleOutClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
14445
15605
|
tea_util_1.default.validateModel(request);
|
|
@@ -14525,17 +15685,26 @@ class Client extends openapi_client_1.default {
|
|
|
14525
15685
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
14526
15686
|
}
|
|
14527
15687
|
/**
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
|
|
14532
|
-
|
|
15688
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
15689
|
+
*
|
|
15690
|
+
* @description **
|
|
15691
|
+
* ****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).
|
|
15692
|
+
*
|
|
15693
|
+
* @param request ScaleOutClusterRequest
|
|
15694
|
+
* @return ScaleOutClusterResponse
|
|
14533
15695
|
*/
|
|
14534
15696
|
async scaleOutCluster(ClusterId, request) {
|
|
14535
15697
|
let runtime = new $Util.RuntimeOptions({});
|
|
14536
15698
|
let headers = {};
|
|
14537
15699
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14538
15700
|
}
|
|
15701
|
+
/**
|
|
15702
|
+
* @summary The cluster ID.
|
|
15703
|
+
*
|
|
15704
|
+
* @param headers map
|
|
15705
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15706
|
+
* @return ScanClusterVulsResponse
|
|
15707
|
+
*/
|
|
14539
15708
|
async scanClusterVulsWithOptions(clusterId, headers, runtime) {
|
|
14540
15709
|
let req = new $OpenApi.OpenApiRequest({
|
|
14541
15710
|
headers: headers,
|
|
@@ -14553,11 +15722,22 @@ class Client extends openapi_client_1.default {
|
|
|
14553
15722
|
});
|
|
14554
15723
|
return $tea.cast(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
14555
15724
|
}
|
|
15725
|
+
/**
|
|
15726
|
+
* @summary The cluster ID.
|
|
15727
|
+
*
|
|
15728
|
+
* @return ScanClusterVulsResponse
|
|
15729
|
+
*/
|
|
14556
15730
|
async scanClusterVuls(clusterId) {
|
|
14557
15731
|
let runtime = new $Util.RuntimeOptions({});
|
|
14558
15732
|
let headers = {};
|
|
14559
15733
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
14560
15734
|
}
|
|
15735
|
+
/**
|
|
15736
|
+
* @param request StartAlertRequest
|
|
15737
|
+
* @param headers map
|
|
15738
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15739
|
+
* @return StartAlertResponse
|
|
15740
|
+
*/
|
|
14561
15741
|
async startAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14562
15742
|
tea_util_1.default.validateModel(request);
|
|
14563
15743
|
let body = {};
|
|
@@ -14584,11 +15764,23 @@ class Client extends openapi_client_1.default {
|
|
|
14584
15764
|
});
|
|
14585
15765
|
return $tea.cast(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
14586
15766
|
}
|
|
15767
|
+
/**
|
|
15768
|
+
* @param request StartAlertRequest
|
|
15769
|
+
* @return StartAlertResponse
|
|
15770
|
+
*/
|
|
14587
15771
|
async startAlert(ClusterId, request) {
|
|
14588
15772
|
let runtime = new $Util.RuntimeOptions({});
|
|
14589
15773
|
let headers = {};
|
|
14590
15774
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14591
15775
|
}
|
|
15776
|
+
/**
|
|
15777
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
15778
|
+
*
|
|
15779
|
+
* @param request StartWorkflowRequest
|
|
15780
|
+
* @param headers map
|
|
15781
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15782
|
+
* @return StartWorkflowResponse
|
|
15783
|
+
*/
|
|
14592
15784
|
async startWorkflowWithOptions(request, headers, runtime) {
|
|
14593
15785
|
tea_util_1.default.validateModel(request);
|
|
14594
15786
|
let body = {};
|
|
@@ -14666,11 +15858,25 @@ class Client extends openapi_client_1.default {
|
|
|
14666
15858
|
});
|
|
14667
15859
|
return $tea.cast(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
14668
15860
|
}
|
|
15861
|
+
/**
|
|
15862
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
15863
|
+
*
|
|
15864
|
+
* @param request StartWorkflowRequest
|
|
15865
|
+
* @return StartWorkflowResponse
|
|
15866
|
+
*/
|
|
14669
15867
|
async startWorkflow(request) {
|
|
14670
15868
|
let runtime = new $Util.RuntimeOptions({});
|
|
14671
15869
|
let headers = {};
|
|
14672
15870
|
return await this.startWorkflowWithOptions(request, headers, runtime);
|
|
14673
15871
|
}
|
|
15872
|
+
/**
|
|
15873
|
+
* @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).
|
|
15874
|
+
*
|
|
15875
|
+
* @param request StopAlertRequest
|
|
15876
|
+
* @param headers map
|
|
15877
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15878
|
+
* @return StopAlertResponse
|
|
15879
|
+
*/
|
|
14674
15880
|
async stopAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14675
15881
|
tea_util_1.default.validateModel(request);
|
|
14676
15882
|
let body = {};
|
|
@@ -14697,11 +15903,24 @@ class Client extends openapi_client_1.default {
|
|
|
14697
15903
|
});
|
|
14698
15904
|
return $tea.cast(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
14699
15905
|
}
|
|
15906
|
+
/**
|
|
15907
|
+
* @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).
|
|
15908
|
+
*
|
|
15909
|
+
* @param request StopAlertRequest
|
|
15910
|
+
* @return StopAlertResponse
|
|
15911
|
+
*/
|
|
14700
15912
|
async stopAlert(ClusterId, request) {
|
|
14701
15913
|
let runtime = new $Util.RuntimeOptions({});
|
|
14702
15914
|
let headers = {};
|
|
14703
15915
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14704
15916
|
}
|
|
15917
|
+
/**
|
|
15918
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
15919
|
+
*
|
|
15920
|
+
* @param headers map
|
|
15921
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15922
|
+
* @return SyncClusterNodePoolResponse
|
|
15923
|
+
*/
|
|
14705
15924
|
async syncClusterNodePoolWithOptions(ClusterId, headers, runtime) {
|
|
14706
15925
|
let req = new $OpenApi.OpenApiRequest({
|
|
14707
15926
|
headers: headers,
|
|
@@ -14719,11 +15938,24 @@ class Client extends openapi_client_1.default {
|
|
|
14719
15938
|
});
|
|
14720
15939
|
return $tea.cast(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
14721
15940
|
}
|
|
15941
|
+
/**
|
|
15942
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
15943
|
+
*
|
|
15944
|
+
* @return SyncClusterNodePoolResponse
|
|
15945
|
+
*/
|
|
14722
15946
|
async syncClusterNodePool(ClusterId) {
|
|
14723
15947
|
let runtime = new $Util.RuntimeOptions({});
|
|
14724
15948
|
let headers = {};
|
|
14725
15949
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
14726
15950
|
}
|
|
15951
|
+
/**
|
|
15952
|
+
* @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.
|
|
15953
|
+
*
|
|
15954
|
+
* @param request TagResourcesRequest
|
|
15955
|
+
* @param headers map
|
|
15956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15957
|
+
* @return TagResourcesResponse
|
|
15958
|
+
*/
|
|
14727
15959
|
async tagResourcesWithOptions(request, headers, runtime) {
|
|
14728
15960
|
tea_util_1.default.validateModel(request);
|
|
14729
15961
|
let body = {};
|
|
@@ -14756,11 +15988,25 @@ class Client extends openapi_client_1.default {
|
|
|
14756
15988
|
});
|
|
14757
15989
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
14758
15990
|
}
|
|
15991
|
+
/**
|
|
15992
|
+
* @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.
|
|
15993
|
+
*
|
|
15994
|
+
* @param request TagResourcesRequest
|
|
15995
|
+
* @return TagResourcesResponse
|
|
15996
|
+
*/
|
|
14759
15997
|
async tagResources(request) {
|
|
14760
15998
|
let runtime = new $Util.RuntimeOptions({});
|
|
14761
15999
|
let headers = {};
|
|
14762
16000
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
14763
16001
|
}
|
|
16002
|
+
/**
|
|
16003
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
16004
|
+
*
|
|
16005
|
+
* @param request UnInstallClusterAddonsRequest
|
|
16006
|
+
* @param headers map
|
|
16007
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16008
|
+
* @return UnInstallClusterAddonsResponse
|
|
16009
|
+
*/
|
|
14764
16010
|
async unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
14765
16011
|
tea_util_1.default.validateModel(request);
|
|
14766
16012
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -14780,11 +16026,25 @@ class Client extends openapi_client_1.default {
|
|
|
14780
16026
|
});
|
|
14781
16027
|
return $tea.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
14782
16028
|
}
|
|
16029
|
+
/**
|
|
16030
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
16031
|
+
*
|
|
16032
|
+
* @param request UnInstallClusterAddonsRequest
|
|
16033
|
+
* @return UnInstallClusterAddonsResponse
|
|
16034
|
+
*/
|
|
14783
16035
|
async unInstallClusterAddons(ClusterId, request) {
|
|
14784
16036
|
let runtime = new $Util.RuntimeOptions({});
|
|
14785
16037
|
let headers = {};
|
|
14786
16038
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
14787
16039
|
}
|
|
16040
|
+
/**
|
|
16041
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
16042
|
+
*
|
|
16043
|
+
* @param tmpReq UntagResourcesRequest
|
|
16044
|
+
* @param headers map
|
|
16045
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16046
|
+
* @return UntagResourcesResponse
|
|
16047
|
+
*/
|
|
14788
16048
|
async untagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
14789
16049
|
tea_util_1.default.validateModel(tmpReq);
|
|
14790
16050
|
let request = new UntagResourcesShrinkRequest({});
|
|
@@ -14828,11 +16088,22 @@ class Client extends openapi_client_1.default {
|
|
|
14828
16088
|
});
|
|
14829
16089
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
14830
16090
|
}
|
|
16091
|
+
/**
|
|
16092
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
16093
|
+
*
|
|
16094
|
+
* @param request UntagResourcesRequest
|
|
16095
|
+
* @return UntagResourcesResponse
|
|
16096
|
+
*/
|
|
14831
16097
|
async untagResources(request) {
|
|
14832
16098
|
let runtime = new $Util.RuntimeOptions({});
|
|
14833
16099
|
let headers = {};
|
|
14834
16100
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
14835
16101
|
}
|
|
16102
|
+
/**
|
|
16103
|
+
* @param headers map
|
|
16104
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16105
|
+
* @return UpdateContactGroupForAlertResponse
|
|
16106
|
+
*/
|
|
14836
16107
|
async updateContactGroupForAlertWithOptions(ClusterId, headers, runtime) {
|
|
14837
16108
|
let req = new $OpenApi.OpenApiRequest({
|
|
14838
16109
|
headers: headers,
|
|
@@ -14850,11 +16121,22 @@ class Client extends openapi_client_1.default {
|
|
|
14850
16121
|
});
|
|
14851
16122
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
14852
16123
|
}
|
|
16124
|
+
/**
|
|
16125
|
+
* @return UpdateContactGroupForAlertResponse
|
|
16126
|
+
*/
|
|
14853
16127
|
async updateContactGroupForAlert(ClusterId) {
|
|
14854
16128
|
let runtime = new $Util.RuntimeOptions({});
|
|
14855
16129
|
let headers = {};
|
|
14856
16130
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, headers, runtime);
|
|
14857
16131
|
}
|
|
16132
|
+
/**
|
|
16133
|
+
* @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.
|
|
16134
|
+
*
|
|
16135
|
+
* @param request UpdateControlPlaneLogRequest
|
|
16136
|
+
* @param headers map
|
|
16137
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16138
|
+
* @return UpdateControlPlaneLogResponse
|
|
16139
|
+
*/
|
|
14858
16140
|
async updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime) {
|
|
14859
16141
|
tea_util_1.default.validateModel(request);
|
|
14860
16142
|
let body = {};
|
|
@@ -14887,20 +16169,28 @@ class Client extends openapi_client_1.default {
|
|
|
14887
16169
|
});
|
|
14888
16170
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
14889
16171
|
}
|
|
16172
|
+
/**
|
|
16173
|
+
* @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.
|
|
16174
|
+
*
|
|
16175
|
+
* @param request UpdateControlPlaneLogRequest
|
|
16176
|
+
* @return UpdateControlPlaneLogResponse
|
|
16177
|
+
*/
|
|
14890
16178
|
async updateControlPlaneLog(ClusterId, request) {
|
|
14891
16179
|
let runtime = new $Util.RuntimeOptions({});
|
|
14892
16180
|
let headers = {};
|
|
14893
16181
|
return await this.updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime);
|
|
14894
16182
|
}
|
|
14895
16183
|
/**
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
16184
|
+
* @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.
|
|
16185
|
+
*
|
|
16186
|
+
* @description **
|
|
16187
|
+
* ****
|
|
16188
|
+
* * 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.
|
|
16189
|
+
*
|
|
16190
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16191
|
+
* @param headers map
|
|
16192
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16193
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
14904
16194
|
*/
|
|
14905
16195
|
async updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime) {
|
|
14906
16196
|
tea_util_1.default.validateModel(request);
|
|
@@ -14929,18 +16219,28 @@ class Client extends openapi_client_1.default {
|
|
|
14929
16219
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
|
|
14930
16220
|
}
|
|
14931
16221
|
/**
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
16222
|
+
* @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.
|
|
16223
|
+
*
|
|
16224
|
+
* @description **
|
|
16225
|
+
* ****
|
|
16226
|
+
* * 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.
|
|
16227
|
+
*
|
|
16228
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16229
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
14938
16230
|
*/
|
|
14939
16231
|
async updateK8sClusterUserConfigExpire(ClusterId, request) {
|
|
14940
16232
|
let runtime = new $Util.RuntimeOptions({});
|
|
14941
16233
|
let headers = {};
|
|
14942
16234
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
14943
16235
|
}
|
|
16236
|
+
/**
|
|
16237
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
16238
|
+
*
|
|
16239
|
+
* @param request UpdateTemplateRequest
|
|
16240
|
+
* @param headers map
|
|
16241
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16242
|
+
* @return UpdateTemplateResponse
|
|
16243
|
+
*/
|
|
14944
16244
|
async updateTemplateWithOptions(TemplateId, request, headers, runtime) {
|
|
14945
16245
|
tea_util_1.default.validateModel(request);
|
|
14946
16246
|
let body = {};
|
|
@@ -14976,11 +16276,25 @@ class Client extends openapi_client_1.default {
|
|
|
14976
16276
|
});
|
|
14977
16277
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
14978
16278
|
}
|
|
16279
|
+
/**
|
|
16280
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
16281
|
+
*
|
|
16282
|
+
* @param request UpdateTemplateRequest
|
|
16283
|
+
* @return UpdateTemplateResponse
|
|
16284
|
+
*/
|
|
14979
16285
|
async updateTemplate(TemplateId, request) {
|
|
14980
16286
|
let runtime = new $Util.RuntimeOptions({});
|
|
14981
16287
|
let headers = {};
|
|
14982
16288
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
14983
16289
|
}
|
|
16290
|
+
/**
|
|
16291
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
16292
|
+
*
|
|
16293
|
+
* @param request UpdateUserPermissionsRequest
|
|
16294
|
+
* @param headers map
|
|
16295
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16296
|
+
* @return UpdateUserPermissionsResponse
|
|
16297
|
+
*/
|
|
14984
16298
|
async updateUserPermissionsWithOptions(uid, request, headers, runtime) {
|
|
14985
16299
|
tea_util_1.default.validateModel(request);
|
|
14986
16300
|
let query = {};
|
|
@@ -15005,11 +16319,25 @@ class Client extends openapi_client_1.default {
|
|
|
15005
16319
|
});
|
|
15006
16320
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
15007
16321
|
}
|
|
16322
|
+
/**
|
|
16323
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
16324
|
+
*
|
|
16325
|
+
* @param request UpdateUserPermissionsRequest
|
|
16326
|
+
* @return UpdateUserPermissionsResponse
|
|
16327
|
+
*/
|
|
15008
16328
|
async updateUserPermissions(uid, request) {
|
|
15009
16329
|
let runtime = new $Util.RuntimeOptions({});
|
|
15010
16330
|
let headers = {};
|
|
15011
16331
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
15012
16332
|
}
|
|
16333
|
+
/**
|
|
16334
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
16335
|
+
*
|
|
16336
|
+
* @param request UpgradeClusterRequest
|
|
16337
|
+
* @param headers map
|
|
16338
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16339
|
+
* @return UpgradeClusterResponse
|
|
16340
|
+
*/
|
|
15013
16341
|
async upgradeClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
15014
16342
|
tea_util_1.default.validateModel(request);
|
|
15015
16343
|
let body = {};
|
|
@@ -15042,11 +16370,25 @@ class Client extends openapi_client_1.default {
|
|
|
15042
16370
|
});
|
|
15043
16371
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
15044
16372
|
}
|
|
16373
|
+
/**
|
|
16374
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
16375
|
+
*
|
|
16376
|
+
* @param request UpgradeClusterRequest
|
|
16377
|
+
* @return UpgradeClusterResponse
|
|
16378
|
+
*/
|
|
15045
16379
|
async upgradeCluster(ClusterId, request) {
|
|
15046
16380
|
let runtime = new $Util.RuntimeOptions({});
|
|
15047
16381
|
let headers = {};
|
|
15048
16382
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
15049
16383
|
}
|
|
16384
|
+
/**
|
|
16385
|
+
* @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.
|
|
16386
|
+
*
|
|
16387
|
+
* @param request UpgradeClusterAddonsRequest
|
|
16388
|
+
* @param headers map
|
|
16389
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16390
|
+
* @return UpgradeClusterAddonsResponse
|
|
16391
|
+
*/
|
|
15050
16392
|
async upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
15051
16393
|
tea_util_1.default.validateModel(request);
|
|
15052
16394
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -15066,18 +16408,26 @@ class Client extends openapi_client_1.default {
|
|
|
15066
16408
|
});
|
|
15067
16409
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
15068
16410
|
}
|
|
16411
|
+
/**
|
|
16412
|
+
* @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.
|
|
16413
|
+
*
|
|
16414
|
+
* @param request UpgradeClusterAddonsRequest
|
|
16415
|
+
* @return UpgradeClusterAddonsResponse
|
|
16416
|
+
*/
|
|
15069
16417
|
async upgradeClusterAddons(ClusterId, request) {
|
|
15070
16418
|
let runtime = new $Util.RuntimeOptions({});
|
|
15071
16419
|
let headers = {};
|
|
15072
16420
|
return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
15073
16421
|
}
|
|
15074
16422
|
/**
|
|
15075
|
-
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
|
|
16423
|
+
* @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.
|
|
16424
|
+
*
|
|
16425
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16426
|
+
*
|
|
16427
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
16428
|
+
* @param headers map
|
|
16429
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16430
|
+
* @return UpgradeClusterNodepoolResponse
|
|
15081
16431
|
*/
|
|
15082
16432
|
async upgradeClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
15083
16433
|
tea_util_1.default.validateModel(request);
|
|
@@ -15121,10 +16471,12 @@ class Client extends openapi_client_1.default {
|
|
|
15121
16471
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
|
|
15122
16472
|
}
|
|
15123
16473
|
/**
|
|
15124
|
-
|
|
15125
|
-
|
|
15126
|
-
|
|
15127
|
-
|
|
16474
|
+
* @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.
|
|
16475
|
+
*
|
|
16476
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16477
|
+
*
|
|
16478
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
16479
|
+
* @return UpgradeClusterNodepoolResponse
|
|
15128
16480
|
*/
|
|
15129
16481
|
async upgradeClusterNodepool(ClusterId, NodepoolId, request) {
|
|
15130
16482
|
let runtime = new $Util.RuntimeOptions({});
|