@alicloud/cs20151215 4.0.7 → 4.0.9
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 +1670 -316
- package/dist/client.js +1675 -316
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1678 -316
package/dist/client.js
CHANGED
|
@@ -3178,6 +3178,7 @@ class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
3178
3178
|
kubernetesVersion: 'KubernetesVersion',
|
|
3179
3179
|
mode: 'Mode',
|
|
3180
3180
|
profile: 'Profile',
|
|
3181
|
+
queryUpgradableVersion: 'QueryUpgradableVersion',
|
|
3181
3182
|
region: 'Region',
|
|
3182
3183
|
runtime: 'runtime',
|
|
3183
3184
|
};
|
|
@@ -3188,6 +3189,7 @@ class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
3188
3189
|
kubernetesVersion: 'string',
|
|
3189
3190
|
mode: 'string',
|
|
3190
3191
|
profile: 'string',
|
|
3192
|
+
queryUpgradableVersion: 'boolean',
|
|
3191
3193
|
region: 'string',
|
|
3192
3194
|
runtime: 'string',
|
|
3193
3195
|
};
|
|
@@ -8946,6 +8948,7 @@ class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
8946
8948
|
releaseDate: 'release_date',
|
|
8947
8949
|
expirationDate: 'expiration_date',
|
|
8948
8950
|
creatable: 'creatable',
|
|
8951
|
+
upgradableVersions: 'upgradable_versions',
|
|
8949
8952
|
};
|
|
8950
8953
|
}
|
|
8951
8954
|
static types() {
|
|
@@ -8958,6 +8961,7 @@ class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
8958
8961
|
releaseDate: 'string',
|
|
8959
8962
|
expirationDate: 'string',
|
|
8960
8963
|
creatable: 'boolean',
|
|
8964
|
+
upgradableVersions: { 'type': 'array', 'itemType': 'string' },
|
|
8961
8965
|
};
|
|
8962
8966
|
}
|
|
8963
8967
|
constructor(map) {
|
|
@@ -10484,6 +10488,14 @@ class Client extends openapi_client_1.default {
|
|
|
10484
10488
|
}
|
|
10485
10489
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
10486
10490
|
}
|
|
10491
|
+
/**
|
|
10492
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
10493
|
+
*
|
|
10494
|
+
* @param request AttachInstancesRequest
|
|
10495
|
+
* @param headers map
|
|
10496
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10497
|
+
* @return AttachInstancesResponse
|
|
10498
|
+
*/
|
|
10487
10499
|
async attachInstancesWithOptions(ClusterId, request, headers, runtime) {
|
|
10488
10500
|
tea_util_1.default.validateModel(request);
|
|
10489
10501
|
let body = {};
|
|
@@ -10543,11 +10555,25 @@ class Client extends openapi_client_1.default {
|
|
|
10543
10555
|
});
|
|
10544
10556
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
10545
10557
|
}
|
|
10558
|
+
/**
|
|
10559
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
10560
|
+
*
|
|
10561
|
+
* @param request AttachInstancesRequest
|
|
10562
|
+
* @return AttachInstancesResponse
|
|
10563
|
+
*/
|
|
10546
10564
|
async attachInstances(ClusterId, request) {
|
|
10547
10565
|
let runtime = new $Util.RuntimeOptions({});
|
|
10548
10566
|
let headers = {};
|
|
10549
10567
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
10550
10568
|
}
|
|
10569
|
+
/**
|
|
10570
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
10571
|
+
*
|
|
10572
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
10573
|
+
* @param headers map
|
|
10574
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10575
|
+
* @return AttachInstancesToNodePoolResponse
|
|
10576
|
+
*/
|
|
10551
10577
|
async attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
10552
10578
|
tea_util_1.default.validateModel(request);
|
|
10553
10579
|
let body = {};
|
|
@@ -10580,17 +10606,25 @@ class Client extends openapi_client_1.default {
|
|
|
10580
10606
|
});
|
|
10581
10607
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
10582
10608
|
}
|
|
10609
|
+
/**
|
|
10610
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
10611
|
+
*
|
|
10612
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
10613
|
+
* @return AttachInstancesToNodePoolResponse
|
|
10614
|
+
*/
|
|
10583
10615
|
async attachInstancesToNodePool(ClusterId, NodepoolId, request) {
|
|
10584
10616
|
let runtime = new $Util.RuntimeOptions({});
|
|
10585
10617
|
let headers = {};
|
|
10586
10618
|
return await this.attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
10587
10619
|
}
|
|
10588
10620
|
/**
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10621
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
10622
|
+
*
|
|
10623
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
10624
|
+
*
|
|
10625
|
+
* @param headers map
|
|
10626
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10627
|
+
* @return CancelClusterUpgradeResponse
|
|
10594
10628
|
*/
|
|
10595
10629
|
// Deprecated
|
|
10596
10630
|
async cancelClusterUpgradeWithOptions(ClusterId, headers, runtime) {
|
|
@@ -10611,9 +10645,11 @@ class Client extends openapi_client_1.default {
|
|
|
10611
10645
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelClusterUpgradeResponse({}));
|
|
10612
10646
|
}
|
|
10613
10647
|
/**
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10648
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
10649
|
+
*
|
|
10650
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
10651
|
+
*
|
|
10652
|
+
* @return CancelClusterUpgradeResponse
|
|
10617
10653
|
*/
|
|
10618
10654
|
// Deprecated
|
|
10619
10655
|
async cancelClusterUpgrade(ClusterId) {
|
|
@@ -10621,6 +10657,13 @@ class Client extends openapi_client_1.default {
|
|
|
10621
10657
|
let headers = {};
|
|
10622
10658
|
return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
10623
10659
|
}
|
|
10660
|
+
/**
|
|
10661
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
10662
|
+
*
|
|
10663
|
+
* @param headers map
|
|
10664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10665
|
+
* @return CancelComponentUpgradeResponse
|
|
10666
|
+
*/
|
|
10624
10667
|
async cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime) {
|
|
10625
10668
|
let req = new $OpenApi.OpenApiRequest({
|
|
10626
10669
|
headers: headers,
|
|
@@ -10638,11 +10681,23 @@ class Client extends openapi_client_1.default {
|
|
|
10638
10681
|
});
|
|
10639
10682
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
10640
10683
|
}
|
|
10684
|
+
/**
|
|
10685
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
10686
|
+
*
|
|
10687
|
+
* @return CancelComponentUpgradeResponse
|
|
10688
|
+
*/
|
|
10641
10689
|
async cancelComponentUpgrade(clusterId, componentId) {
|
|
10642
10690
|
let runtime = new $Util.RuntimeOptions({});
|
|
10643
10691
|
let headers = {};
|
|
10644
10692
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
10645
10693
|
}
|
|
10694
|
+
/**
|
|
10695
|
+
* @summary 取消自动运维执行计划
|
|
10696
|
+
*
|
|
10697
|
+
* @param headers map
|
|
10698
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10699
|
+
* @return CancelOperationPlanResponse
|
|
10700
|
+
*/
|
|
10646
10701
|
async cancelOperationPlanWithOptions(planId, headers, runtime) {
|
|
10647
10702
|
let req = new $OpenApi.OpenApiRequest({
|
|
10648
10703
|
headers: headers,
|
|
@@ -10660,11 +10715,23 @@ class Client extends openapi_client_1.default {
|
|
|
10660
10715
|
});
|
|
10661
10716
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
10662
10717
|
}
|
|
10718
|
+
/**
|
|
10719
|
+
* @summary 取消自动运维执行计划
|
|
10720
|
+
*
|
|
10721
|
+
* @return CancelOperationPlanResponse
|
|
10722
|
+
*/
|
|
10663
10723
|
async cancelOperationPlan(planId) {
|
|
10664
10724
|
let runtime = new $Util.RuntimeOptions({});
|
|
10665
10725
|
let headers = {};
|
|
10666
10726
|
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
10667
10727
|
}
|
|
10728
|
+
/**
|
|
10729
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
10730
|
+
*
|
|
10731
|
+
* @param headers map
|
|
10732
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10733
|
+
* @return CancelTaskResponse
|
|
10734
|
+
*/
|
|
10668
10735
|
async cancelTaskWithOptions(taskId, headers, runtime) {
|
|
10669
10736
|
let req = new $OpenApi.OpenApiRequest({
|
|
10670
10737
|
headers: headers,
|
|
@@ -10682,11 +10749,24 @@ class Client extends openapi_client_1.default {
|
|
|
10682
10749
|
});
|
|
10683
10750
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
10684
10751
|
}
|
|
10752
|
+
/**
|
|
10753
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
10754
|
+
*
|
|
10755
|
+
* @return CancelTaskResponse
|
|
10756
|
+
*/
|
|
10685
10757
|
async cancelTask(taskId) {
|
|
10686
10758
|
let runtime = new $Util.RuntimeOptions({});
|
|
10687
10759
|
let headers = {};
|
|
10688
10760
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
10689
10761
|
}
|
|
10762
|
+
/**
|
|
10763
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
10764
|
+
*
|
|
10765
|
+
* @param request CancelWorkflowRequest
|
|
10766
|
+
* @param headers map
|
|
10767
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10768
|
+
* @return CancelWorkflowResponse
|
|
10769
|
+
*/
|
|
10690
10770
|
async cancelWorkflowWithOptions(workflowName, request, headers, runtime) {
|
|
10691
10771
|
tea_util_1.default.validateModel(request);
|
|
10692
10772
|
let body = {};
|
|
@@ -10710,11 +10790,24 @@ class Client extends openapi_client_1.default {
|
|
|
10710
10790
|
});
|
|
10711
10791
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
|
|
10712
10792
|
}
|
|
10793
|
+
/**
|
|
10794
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
10795
|
+
*
|
|
10796
|
+
* @param request CancelWorkflowRequest
|
|
10797
|
+
* @return CancelWorkflowResponse
|
|
10798
|
+
*/
|
|
10713
10799
|
async cancelWorkflow(workflowName, request) {
|
|
10714
10800
|
let runtime = new $Util.RuntimeOptions({});
|
|
10715
10801
|
let headers = {};
|
|
10716
10802
|
return await this.cancelWorkflowWithOptions(workflowName, request, headers, runtime);
|
|
10717
10803
|
}
|
|
10804
|
+
/**
|
|
10805
|
+
* @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.
|
|
10806
|
+
*
|
|
10807
|
+
* @param headers map
|
|
10808
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10809
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
10810
|
+
*/
|
|
10718
10811
|
async checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime) {
|
|
10719
10812
|
let req = new $OpenApi.OpenApiRequest({
|
|
10720
10813
|
headers: headers,
|
|
@@ -10732,11 +10825,24 @@ class Client extends openapi_client_1.default {
|
|
|
10732
10825
|
});
|
|
10733
10826
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
10734
10827
|
}
|
|
10828
|
+
/**
|
|
10829
|
+
* @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.
|
|
10830
|
+
*
|
|
10831
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
10832
|
+
*/
|
|
10735
10833
|
async checkControlPlaneLogEnable(ClusterId) {
|
|
10736
10834
|
let runtime = new $Util.RuntimeOptions({});
|
|
10737
10835
|
let headers = {};
|
|
10738
10836
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
10739
10837
|
}
|
|
10838
|
+
/**
|
|
10839
|
+
* @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.
|
|
10840
|
+
*
|
|
10841
|
+
* @param request CreateAutoscalingConfigRequest
|
|
10842
|
+
* @param headers map
|
|
10843
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10844
|
+
* @return CreateAutoscalingConfigResponse
|
|
10845
|
+
*/
|
|
10740
10846
|
async createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime) {
|
|
10741
10847
|
tea_util_1.default.validateModel(request);
|
|
10742
10848
|
let body = {};
|
|
@@ -10799,24 +10905,32 @@ class Client extends openapi_client_1.default {
|
|
|
10799
10905
|
});
|
|
10800
10906
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
10801
10907
|
}
|
|
10908
|
+
/**
|
|
10909
|
+
* @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.
|
|
10910
|
+
*
|
|
10911
|
+
* @param request CreateAutoscalingConfigRequest
|
|
10912
|
+
* @return CreateAutoscalingConfigResponse
|
|
10913
|
+
*/
|
|
10802
10914
|
async createAutoscalingConfig(ClusterId, request) {
|
|
10803
10915
|
let runtime = new $Util.RuntimeOptions({});
|
|
10804
10916
|
let headers = {};
|
|
10805
10917
|
return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
|
|
10806
10918
|
}
|
|
10807
10919
|
/**
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10920
|
+
* @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.
|
|
10921
|
+
*
|
|
10922
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
10923
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
10924
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
10925
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
10926
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
10927
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
10928
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
10929
|
+
*
|
|
10930
|
+
* @param request CreateClusterRequest
|
|
10931
|
+
* @param headers map
|
|
10932
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10933
|
+
* @return CreateClusterResponse
|
|
10820
10934
|
*/
|
|
10821
10935
|
async createClusterWithOptions(request, headers, runtime) {
|
|
10822
10936
|
tea_util_1.default.validateModel(request);
|
|
@@ -11112,22 +11226,32 @@ class Client extends openapi_client_1.default {
|
|
|
11112
11226
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
|
|
11113
11227
|
}
|
|
11114
11228
|
/**
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11229
|
+
* @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.
|
|
11230
|
+
*
|
|
11231
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
11232
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
11233
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
11234
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
11235
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
11236
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
11237
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
11238
|
+
*
|
|
11239
|
+
* @param request CreateClusterRequest
|
|
11240
|
+
* @return CreateClusterResponse
|
|
11125
11241
|
*/
|
|
11126
11242
|
async createCluster(request) {
|
|
11127
11243
|
let runtime = new $Util.RuntimeOptions({});
|
|
11128
11244
|
let headers = {};
|
|
11129
11245
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
11130
11246
|
}
|
|
11247
|
+
/**
|
|
11248
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
11249
|
+
*
|
|
11250
|
+
* @param request CreateClusterNodePoolRequest
|
|
11251
|
+
* @param headers map
|
|
11252
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11253
|
+
* @return CreateClusterNodePoolResponse
|
|
11254
|
+
*/
|
|
11131
11255
|
async createClusterNodePoolWithOptions(ClusterId, request, headers, runtime) {
|
|
11132
11256
|
tea_util_1.default.validateModel(request);
|
|
11133
11257
|
let body = {};
|
|
@@ -11181,11 +11305,25 @@ class Client extends openapi_client_1.default {
|
|
|
11181
11305
|
});
|
|
11182
11306
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
11183
11307
|
}
|
|
11308
|
+
/**
|
|
11309
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
11310
|
+
*
|
|
11311
|
+
* @param request CreateClusterNodePoolRequest
|
|
11312
|
+
* @return CreateClusterNodePoolResponse
|
|
11313
|
+
*/
|
|
11184
11314
|
async createClusterNodePool(ClusterId, request) {
|
|
11185
11315
|
let runtime = new $Util.RuntimeOptions({});
|
|
11186
11316
|
let headers = {};
|
|
11187
11317
|
return await this.createClusterNodePoolWithOptions(ClusterId, request, headers, runtime);
|
|
11188
11318
|
}
|
|
11319
|
+
/**
|
|
11320
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
11321
|
+
*
|
|
11322
|
+
* @param request CreateEdgeMachineRequest
|
|
11323
|
+
* @param headers map
|
|
11324
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11325
|
+
* @return CreateEdgeMachineResponse
|
|
11326
|
+
*/
|
|
11189
11327
|
async createEdgeMachineWithOptions(request, headers, runtime) {
|
|
11190
11328
|
tea_util_1.default.validateModel(request);
|
|
11191
11329
|
let body = {};
|
|
@@ -11215,11 +11353,25 @@ class Client extends openapi_client_1.default {
|
|
|
11215
11353
|
});
|
|
11216
11354
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
11217
11355
|
}
|
|
11356
|
+
/**
|
|
11357
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
11358
|
+
*
|
|
11359
|
+
* @param request CreateEdgeMachineRequest
|
|
11360
|
+
* @return CreateEdgeMachineResponse
|
|
11361
|
+
*/
|
|
11218
11362
|
async createEdgeMachine(request) {
|
|
11219
11363
|
let runtime = new $Util.RuntimeOptions({});
|
|
11220
11364
|
let headers = {};
|
|
11221
11365
|
return await this.createEdgeMachineWithOptions(request, headers, runtime);
|
|
11222
11366
|
}
|
|
11367
|
+
/**
|
|
11368
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
11369
|
+
*
|
|
11370
|
+
* @param request CreateKubernetesTriggerRequest
|
|
11371
|
+
* @param headers map
|
|
11372
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11373
|
+
* @return CreateKubernetesTriggerResponse
|
|
11374
|
+
*/
|
|
11223
11375
|
async createKubernetesTriggerWithOptions(request, headers, runtime) {
|
|
11224
11376
|
tea_util_1.default.validateModel(request);
|
|
11225
11377
|
let body = {};
|
|
@@ -11252,11 +11404,25 @@ class Client extends openapi_client_1.default {
|
|
|
11252
11404
|
});
|
|
11253
11405
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
11254
11406
|
}
|
|
11407
|
+
/**
|
|
11408
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
11409
|
+
*
|
|
11410
|
+
* @param request CreateKubernetesTriggerRequest
|
|
11411
|
+
* @return CreateKubernetesTriggerResponse
|
|
11412
|
+
*/
|
|
11255
11413
|
async createKubernetesTrigger(request) {
|
|
11256
11414
|
let runtime = new $Util.RuntimeOptions({});
|
|
11257
11415
|
let headers = {};
|
|
11258
11416
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
11259
11417
|
}
|
|
11418
|
+
/**
|
|
11419
|
+
* @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).
|
|
11420
|
+
*
|
|
11421
|
+
* @param request CreateTemplateRequest
|
|
11422
|
+
* @param headers map
|
|
11423
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11424
|
+
* @return CreateTemplateResponse
|
|
11425
|
+
*/
|
|
11260
11426
|
async createTemplateWithOptions(request, headers, runtime) {
|
|
11261
11427
|
tea_util_1.default.validateModel(request);
|
|
11262
11428
|
let body = {};
|
|
@@ -11292,11 +11458,25 @@ class Client extends openapi_client_1.default {
|
|
|
11292
11458
|
});
|
|
11293
11459
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
11294
11460
|
}
|
|
11461
|
+
/**
|
|
11462
|
+
* @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).
|
|
11463
|
+
*
|
|
11464
|
+
* @param request CreateTemplateRequest
|
|
11465
|
+
* @return CreateTemplateResponse
|
|
11466
|
+
*/
|
|
11295
11467
|
async createTemplate(request) {
|
|
11296
11468
|
let runtime = new $Util.RuntimeOptions({});
|
|
11297
11469
|
let headers = {};
|
|
11298
11470
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
11299
11471
|
}
|
|
11472
|
+
/**
|
|
11473
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
11474
|
+
*
|
|
11475
|
+
* @param request CreateTriggerRequest
|
|
11476
|
+
* @param headers map
|
|
11477
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11478
|
+
* @return CreateTriggerResponse
|
|
11479
|
+
*/
|
|
11300
11480
|
async createTriggerWithOptions(clusterId, request, headers, runtime) {
|
|
11301
11481
|
tea_util_1.default.validateModel(request);
|
|
11302
11482
|
let body = {};
|
|
@@ -11329,11 +11509,23 @@ class Client extends openapi_client_1.default {
|
|
|
11329
11509
|
});
|
|
11330
11510
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
11331
11511
|
}
|
|
11512
|
+
/**
|
|
11513
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
11514
|
+
*
|
|
11515
|
+
* @param request CreateTriggerRequest
|
|
11516
|
+
* @return CreateTriggerResponse
|
|
11517
|
+
*/
|
|
11332
11518
|
async createTrigger(clusterId, request) {
|
|
11333
11519
|
let runtime = new $Util.RuntimeOptions({});
|
|
11334
11520
|
let headers = {};
|
|
11335
11521
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
11336
11522
|
}
|
|
11523
|
+
/**
|
|
11524
|
+
* @param tmpReq DeleteAlertContactRequest
|
|
11525
|
+
* @param headers map
|
|
11526
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11527
|
+
* @return DeleteAlertContactResponse
|
|
11528
|
+
*/
|
|
11337
11529
|
async deleteAlertContactWithOptions(tmpReq, headers, runtime) {
|
|
11338
11530
|
tea_util_1.default.validateModel(tmpReq);
|
|
11339
11531
|
let request = new DeleteAlertContactShrinkRequest({});
|
|
@@ -11362,11 +11554,21 @@ class Client extends openapi_client_1.default {
|
|
|
11362
11554
|
});
|
|
11363
11555
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
11364
11556
|
}
|
|
11557
|
+
/**
|
|
11558
|
+
* @param request DeleteAlertContactRequest
|
|
11559
|
+
* @return DeleteAlertContactResponse
|
|
11560
|
+
*/
|
|
11365
11561
|
async deleteAlertContact(request) {
|
|
11366
11562
|
let runtime = new $Util.RuntimeOptions({});
|
|
11367
11563
|
let headers = {};
|
|
11368
11564
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
11369
11565
|
}
|
|
11566
|
+
/**
|
|
11567
|
+
* @param tmpReq DeleteAlertContactGroupRequest
|
|
11568
|
+
* @param headers map
|
|
11569
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11570
|
+
* @return DeleteAlertContactGroupResponse
|
|
11571
|
+
*/
|
|
11370
11572
|
async deleteAlertContactGroupWithOptions(tmpReq, headers, runtime) {
|
|
11371
11573
|
tea_util_1.default.validateModel(tmpReq);
|
|
11372
11574
|
let request = new DeleteAlertContactGroupShrinkRequest({});
|
|
@@ -11395,11 +11597,23 @@ class Client extends openapi_client_1.default {
|
|
|
11395
11597
|
});
|
|
11396
11598
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
11397
11599
|
}
|
|
11600
|
+
/**
|
|
11601
|
+
* @param request DeleteAlertContactGroupRequest
|
|
11602
|
+
* @return DeleteAlertContactGroupResponse
|
|
11603
|
+
*/
|
|
11398
11604
|
async deleteAlertContactGroup(request) {
|
|
11399
11605
|
let runtime = new $Util.RuntimeOptions({});
|
|
11400
11606
|
let headers = {};
|
|
11401
11607
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
11402
11608
|
}
|
|
11609
|
+
/**
|
|
11610
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
11611
|
+
*
|
|
11612
|
+
* @param tmpReq DeleteClusterRequest
|
|
11613
|
+
* @param headers map
|
|
11614
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11615
|
+
* @return DeleteClusterResponse
|
|
11616
|
+
*/
|
|
11403
11617
|
async deleteClusterWithOptions(ClusterId, tmpReq, headers, runtime) {
|
|
11404
11618
|
tea_util_1.default.validateModel(tmpReq);
|
|
11405
11619
|
let request = new DeleteClusterShrinkRequest({});
|
|
@@ -11440,11 +11654,25 @@ class Client extends openapi_client_1.default {
|
|
|
11440
11654
|
});
|
|
11441
11655
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
11442
11656
|
}
|
|
11657
|
+
/**
|
|
11658
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
11659
|
+
*
|
|
11660
|
+
* @param request DeleteClusterRequest
|
|
11661
|
+
* @return DeleteClusterResponse
|
|
11662
|
+
*/
|
|
11443
11663
|
async deleteCluster(ClusterId, request) {
|
|
11444
11664
|
let runtime = new $Util.RuntimeOptions({});
|
|
11445
11665
|
let headers = {};
|
|
11446
11666
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
11447
11667
|
}
|
|
11668
|
+
/**
|
|
11669
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
11670
|
+
*
|
|
11671
|
+
* @param request DeleteClusterNodepoolRequest
|
|
11672
|
+
* @param headers map
|
|
11673
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11674
|
+
* @return DeleteClusterNodepoolResponse
|
|
11675
|
+
*/
|
|
11448
11676
|
async deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
11449
11677
|
tea_util_1.default.validateModel(request);
|
|
11450
11678
|
let query = {};
|
|
@@ -11468,19 +11696,27 @@ class Client extends openapi_client_1.default {
|
|
|
11468
11696
|
});
|
|
11469
11697
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
11470
11698
|
}
|
|
11699
|
+
/**
|
|
11700
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
11701
|
+
*
|
|
11702
|
+
* @param request DeleteClusterNodepoolRequest
|
|
11703
|
+
* @return DeleteClusterNodepoolResponse
|
|
11704
|
+
*/
|
|
11471
11705
|
async deleteClusterNodepool(ClusterId, NodepoolId, request) {
|
|
11472
11706
|
let runtime = new $Util.RuntimeOptions({});
|
|
11473
11707
|
let headers = {};
|
|
11474
11708
|
return await this.deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
11475
11709
|
}
|
|
11476
11710
|
/**
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
|
|
11482
|
-
|
|
11483
|
-
|
|
11711
|
+
* @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.
|
|
11712
|
+
*
|
|
11713
|
+
* @description >
|
|
11714
|
+
* * 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.
|
|
11715
|
+
*
|
|
11716
|
+
* @param request DeleteClusterNodesRequest
|
|
11717
|
+
* @param headers map
|
|
11718
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11719
|
+
* @return DeleteClusterNodesResponse
|
|
11484
11720
|
*/
|
|
11485
11721
|
async deleteClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
11486
11722
|
tea_util_1.default.validateModel(request);
|
|
@@ -11512,17 +11748,27 @@ class Client extends openapi_client_1.default {
|
|
|
11512
11748
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterNodesResponse({}));
|
|
11513
11749
|
}
|
|
11514
11750
|
/**
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11751
|
+
* @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.
|
|
11752
|
+
*
|
|
11753
|
+
* @description >
|
|
11754
|
+
* * 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.
|
|
11755
|
+
*
|
|
11756
|
+
* @param request DeleteClusterNodesRequest
|
|
11757
|
+
* @return DeleteClusterNodesResponse
|
|
11520
11758
|
*/
|
|
11521
11759
|
async deleteClusterNodes(ClusterId, request) {
|
|
11522
11760
|
let runtime = new $Util.RuntimeOptions({});
|
|
11523
11761
|
let headers = {};
|
|
11524
11762
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
11525
11763
|
}
|
|
11764
|
+
/**
|
|
11765
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
11766
|
+
*
|
|
11767
|
+
* @param request DeleteEdgeMachineRequest
|
|
11768
|
+
* @param headers map
|
|
11769
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11770
|
+
* @return DeleteEdgeMachineResponse
|
|
11771
|
+
*/
|
|
11526
11772
|
async deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime) {
|
|
11527
11773
|
tea_util_1.default.validateModel(request);
|
|
11528
11774
|
let query = {};
|
|
@@ -11546,11 +11792,24 @@ class Client extends openapi_client_1.default {
|
|
|
11546
11792
|
});
|
|
11547
11793
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
11548
11794
|
}
|
|
11795
|
+
/**
|
|
11796
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
11797
|
+
*
|
|
11798
|
+
* @param request DeleteEdgeMachineRequest
|
|
11799
|
+
* @return DeleteEdgeMachineResponse
|
|
11800
|
+
*/
|
|
11549
11801
|
async deleteEdgeMachine(edgeMachineid, request) {
|
|
11550
11802
|
let runtime = new $Util.RuntimeOptions({});
|
|
11551
11803
|
let headers = {};
|
|
11552
11804
|
return await this.deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime);
|
|
11553
11805
|
}
|
|
11806
|
+
/**
|
|
11807
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
11808
|
+
*
|
|
11809
|
+
* @param headers map
|
|
11810
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11811
|
+
* @return DeleteKubernetesTriggerResponse
|
|
11812
|
+
*/
|
|
11554
11813
|
async deleteKubernetesTriggerWithOptions(Id, headers, runtime) {
|
|
11555
11814
|
let req = new $OpenApi.OpenApiRequest({
|
|
11556
11815
|
headers: headers,
|
|
@@ -11568,11 +11827,24 @@ class Client extends openapi_client_1.default {
|
|
|
11568
11827
|
});
|
|
11569
11828
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
11570
11829
|
}
|
|
11830
|
+
/**
|
|
11831
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
11832
|
+
*
|
|
11833
|
+
* @return DeleteKubernetesTriggerResponse
|
|
11834
|
+
*/
|
|
11571
11835
|
async deleteKubernetesTrigger(Id) {
|
|
11572
11836
|
let runtime = new $Util.RuntimeOptions({});
|
|
11573
11837
|
let headers = {};
|
|
11574
11838
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
11575
11839
|
}
|
|
11840
|
+
/**
|
|
11841
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
11842
|
+
*
|
|
11843
|
+
* @param request DeletePolicyInstanceRequest
|
|
11844
|
+
* @param headers map
|
|
11845
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11846
|
+
* @return DeletePolicyInstanceResponse
|
|
11847
|
+
*/
|
|
11576
11848
|
async deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
11577
11849
|
tea_util_1.default.validateModel(request);
|
|
11578
11850
|
let query = {};
|
|
@@ -11596,11 +11868,24 @@ class Client extends openapi_client_1.default {
|
|
|
11596
11868
|
});
|
|
11597
11869
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
11598
11870
|
}
|
|
11871
|
+
/**
|
|
11872
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
11873
|
+
*
|
|
11874
|
+
* @param request DeletePolicyInstanceRequest
|
|
11875
|
+
* @return DeletePolicyInstanceResponse
|
|
11876
|
+
*/
|
|
11599
11877
|
async deletePolicyInstance(clusterId, policyName, request) {
|
|
11600
11878
|
let runtime = new $Util.RuntimeOptions({});
|
|
11601
11879
|
let headers = {};
|
|
11602
11880
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
11603
11881
|
}
|
|
11882
|
+
/**
|
|
11883
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
11884
|
+
*
|
|
11885
|
+
* @param headers map
|
|
11886
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11887
|
+
* @return DeleteTemplateResponse
|
|
11888
|
+
*/
|
|
11604
11889
|
async deleteTemplateWithOptions(TemplateId, headers, runtime) {
|
|
11605
11890
|
let req = new $OpenApi.OpenApiRequest({
|
|
11606
11891
|
headers: headers,
|
|
@@ -11618,11 +11903,23 @@ class Client extends openapi_client_1.default {
|
|
|
11618
11903
|
});
|
|
11619
11904
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
11620
11905
|
}
|
|
11906
|
+
/**
|
|
11907
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
11908
|
+
*
|
|
11909
|
+
* @return DeleteTemplateResponse
|
|
11910
|
+
*/
|
|
11621
11911
|
async deleteTemplate(TemplateId) {
|
|
11622
11912
|
let runtime = new $Util.RuntimeOptions({});
|
|
11623
11913
|
let headers = {};
|
|
11624
11914
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
11625
11915
|
}
|
|
11916
|
+
/**
|
|
11917
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
11918
|
+
*
|
|
11919
|
+
* @param headers map
|
|
11920
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11921
|
+
* @return DeleteTriggerResponse
|
|
11922
|
+
*/
|
|
11626
11923
|
async deleteTriggerWithOptions(clusterId, Id, headers, runtime) {
|
|
11627
11924
|
let req = new $OpenApi.OpenApiRequest({
|
|
11628
11925
|
headers: headers,
|
|
@@ -11640,11 +11937,24 @@ class Client extends openapi_client_1.default {
|
|
|
11640
11937
|
});
|
|
11641
11938
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
11642
11939
|
}
|
|
11940
|
+
/**
|
|
11941
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
11942
|
+
*
|
|
11943
|
+
* @return DeleteTriggerResponse
|
|
11944
|
+
*/
|
|
11643
11945
|
async deleteTrigger(clusterId, Id) {
|
|
11644
11946
|
let runtime = new $Util.RuntimeOptions({});
|
|
11645
11947
|
let headers = {};
|
|
11646
11948
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
11647
11949
|
}
|
|
11950
|
+
/**
|
|
11951
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
11952
|
+
*
|
|
11953
|
+
* @param request DeployPolicyInstanceRequest
|
|
11954
|
+
* @param headers map
|
|
11955
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11956
|
+
* @return DeployPolicyInstanceResponse
|
|
11957
|
+
*/
|
|
11648
11958
|
async deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
11649
11959
|
tea_util_1.default.validateModel(request);
|
|
11650
11960
|
let body = {};
|
|
@@ -11674,11 +11984,24 @@ class Client extends openapi_client_1.default {
|
|
|
11674
11984
|
});
|
|
11675
11985
|
return $tea.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
11676
11986
|
}
|
|
11987
|
+
/**
|
|
11988
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
11989
|
+
*
|
|
11990
|
+
* @param request DeployPolicyInstanceRequest
|
|
11991
|
+
* @return DeployPolicyInstanceResponse
|
|
11992
|
+
*/
|
|
11677
11993
|
async deployPolicyInstance(clusterId, policyName, request) {
|
|
11678
11994
|
let runtime = new $Util.RuntimeOptions({});
|
|
11679
11995
|
let headers = {};
|
|
11680
11996
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
11681
11997
|
}
|
|
11998
|
+
/**
|
|
11999
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
12000
|
+
*
|
|
12001
|
+
* @param headers map
|
|
12002
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12003
|
+
* @return DescirbeWorkflowResponse
|
|
12004
|
+
*/
|
|
11682
12005
|
async descirbeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
11683
12006
|
let req = new $OpenApi.OpenApiRequest({
|
|
11684
12007
|
headers: headers,
|
|
@@ -11696,11 +12019,24 @@ class Client extends openapi_client_1.default {
|
|
|
11696
12019
|
});
|
|
11697
12020
|
return $tea.cast(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
|
|
11698
12021
|
}
|
|
12022
|
+
/**
|
|
12023
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
12024
|
+
*
|
|
12025
|
+
* @return DescirbeWorkflowResponse
|
|
12026
|
+
*/
|
|
11699
12027
|
async descirbeWorkflow(workflowName) {
|
|
11700
12028
|
let runtime = new $Util.RuntimeOptions({});
|
|
11701
12029
|
let headers = {};
|
|
11702
12030
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
11703
12031
|
}
|
|
12032
|
+
/**
|
|
12033
|
+
* @summary 查询指定集群组件
|
|
12034
|
+
*
|
|
12035
|
+
* @param request DescribeAddonRequest
|
|
12036
|
+
* @param headers map
|
|
12037
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12038
|
+
* @return DescribeAddonResponse
|
|
12039
|
+
*/
|
|
11704
12040
|
async describeAddonWithOptions(addonName, request, headers, runtime) {
|
|
11705
12041
|
tea_util_1.default.validateModel(request);
|
|
11706
12042
|
let query = {};
|
|
@@ -11742,18 +12078,26 @@ class Client extends openapi_client_1.default {
|
|
|
11742
12078
|
});
|
|
11743
12079
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
11744
12080
|
}
|
|
12081
|
+
/**
|
|
12082
|
+
* @summary 查询指定集群组件
|
|
12083
|
+
*
|
|
12084
|
+
* @param request DescribeAddonRequest
|
|
12085
|
+
* @return DescribeAddonResponse
|
|
12086
|
+
*/
|
|
11745
12087
|
async describeAddon(addonName, request) {
|
|
11746
12088
|
let runtime = new $Util.RuntimeOptions({});
|
|
11747
12089
|
let headers = {};
|
|
11748
12090
|
return await this.describeAddonWithOptions(addonName, request, headers, runtime);
|
|
11749
12091
|
}
|
|
11750
12092
|
/**
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
12093
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
12094
|
+
*
|
|
12095
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
12096
|
+
*
|
|
12097
|
+
* @param request DescribeAddonsRequest
|
|
12098
|
+
* @param headers map
|
|
12099
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12100
|
+
* @return DescribeAddonsResponse
|
|
11757
12101
|
*/
|
|
11758
12102
|
// Deprecated
|
|
11759
12103
|
async describeAddonsWithOptions(request, headers, runtime) {
|
|
@@ -11792,10 +12136,12 @@ class Client extends openapi_client_1.default {
|
|
|
11792
12136
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonsResponse({}));
|
|
11793
12137
|
}
|
|
11794
12138
|
/**
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
12139
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
12140
|
+
*
|
|
12141
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
12142
|
+
*
|
|
12143
|
+
* @param request DescribeAddonsRequest
|
|
12144
|
+
* @return DescribeAddonsResponse
|
|
11799
12145
|
*/
|
|
11800
12146
|
// Deprecated
|
|
11801
12147
|
async describeAddons(request) {
|
|
@@ -11804,11 +12150,13 @@ class Client extends openapi_client_1.default {
|
|
|
11804
12150
|
return await this.describeAddonsWithOptions(request, headers, runtime);
|
|
11805
12151
|
}
|
|
11806
12152
|
/**
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
12153
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
12154
|
+
*
|
|
12155
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
12156
|
+
*
|
|
12157
|
+
* @param headers map
|
|
12158
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12159
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
11812
12160
|
*/
|
|
11813
12161
|
// Deprecated
|
|
11814
12162
|
async describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime) {
|
|
@@ -11829,9 +12177,11 @@ class Client extends openapi_client_1.default {
|
|
|
11829
12177
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
|
|
11830
12178
|
}
|
|
11831
12179
|
/**
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
12180
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
12181
|
+
*
|
|
12182
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
12183
|
+
*
|
|
12184
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
11835
12185
|
*/
|
|
11836
12186
|
// Deprecated
|
|
11837
12187
|
async describeClusterAddonInstance(ClusterID, AddonName) {
|
|
@@ -11840,12 +12190,14 @@ class Client extends openapi_client_1.default {
|
|
|
11840
12190
|
return await this.describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime);
|
|
11841
12191
|
}
|
|
11842
12192
|
/**
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
12193
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
12194
|
+
*
|
|
12195
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
12196
|
+
*
|
|
12197
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
12198
|
+
* @param headers map
|
|
12199
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12200
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
11849
12201
|
*/
|
|
11850
12202
|
// Deprecated
|
|
11851
12203
|
async describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime) {
|
|
@@ -11872,10 +12224,12 @@ class Client extends openapi_client_1.default {
|
|
|
11872
12224
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
|
|
11873
12225
|
}
|
|
11874
12226
|
/**
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
|
|
12227
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
12228
|
+
*
|
|
12229
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
12230
|
+
*
|
|
12231
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
12232
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
11879
12233
|
*/
|
|
11880
12234
|
// Deprecated
|
|
11881
12235
|
async describeClusterAddonMetadata(clusterId, componentId, request) {
|
|
@@ -11884,11 +12238,13 @@ class Client extends openapi_client_1.default {
|
|
|
11884
12238
|
return await this.describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime);
|
|
11885
12239
|
}
|
|
11886
12240
|
/**
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
12241
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
12242
|
+
*
|
|
12243
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
12244
|
+
*
|
|
12245
|
+
* @param headers map
|
|
12246
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12247
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
11892
12248
|
*/
|
|
11893
12249
|
// Deprecated
|
|
11894
12250
|
async describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime) {
|
|
@@ -11909,9 +12265,11 @@ class Client extends openapi_client_1.default {
|
|
|
11909
12265
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
|
|
11910
12266
|
}
|
|
11911
12267
|
/**
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
12268
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
12269
|
+
*
|
|
12270
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
12271
|
+
*
|
|
12272
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
11915
12273
|
*/
|
|
11916
12274
|
// Deprecated
|
|
11917
12275
|
async describeClusterAddonUpgradeStatus(ClusterId, ComponentId) {
|
|
@@ -11920,12 +12278,14 @@ class Client extends openapi_client_1.default {
|
|
|
11920
12278
|
return await this.describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime);
|
|
11921
12279
|
}
|
|
11922
12280
|
/**
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
12281
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
12282
|
+
*
|
|
12283
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
12284
|
+
*
|
|
12285
|
+
* @param tmpReq DescribeClusterAddonsUpgradeStatusRequest
|
|
12286
|
+
* @param headers map
|
|
12287
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12288
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
11929
12289
|
*/
|
|
11930
12290
|
// Deprecated
|
|
11931
12291
|
async describeClusterAddonsUpgradeStatusWithOptions(ClusterId, tmpReq, headers, runtime) {
|
|
@@ -11957,10 +12317,12 @@ class Client extends openapi_client_1.default {
|
|
|
11957
12317
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
11958
12318
|
}
|
|
11959
12319
|
/**
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
|
|
12320
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
12321
|
+
*
|
|
12322
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
12323
|
+
*
|
|
12324
|
+
* @param request DescribeClusterAddonsUpgradeStatusRequest
|
|
12325
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
11964
12326
|
*/
|
|
11965
12327
|
// Deprecated
|
|
11966
12328
|
async describeClusterAddonsUpgradeStatus(ClusterId, request) {
|
|
@@ -11969,11 +12331,13 @@ class Client extends openapi_client_1.default {
|
|
|
11969
12331
|
return await this.describeClusterAddonsUpgradeStatusWithOptions(ClusterId, request, headers, runtime);
|
|
11970
12332
|
}
|
|
11971
12333
|
/**
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
12334
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
12335
|
+
*
|
|
12336
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
12337
|
+
*
|
|
12338
|
+
* @param headers map
|
|
12339
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12340
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
11977
12341
|
*/
|
|
11978
12342
|
// Deprecated
|
|
11979
12343
|
async describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime) {
|
|
@@ -11994,9 +12358,11 @@ class Client extends openapi_client_1.default {
|
|
|
11994
12358
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
|
|
11995
12359
|
}
|
|
11996
12360
|
/**
|
|
11997
|
-
|
|
11998
|
-
|
|
11999
|
-
|
|
12361
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
12362
|
+
*
|
|
12363
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
12364
|
+
*
|
|
12365
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
12000
12366
|
*/
|
|
12001
12367
|
// Deprecated
|
|
12002
12368
|
async describeClusterAddonsVersion(ClusterId) {
|
|
@@ -12004,6 +12370,14 @@ class Client extends openapi_client_1.default {
|
|
|
12004
12370
|
let headers = {};
|
|
12005
12371
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
12006
12372
|
}
|
|
12373
|
+
/**
|
|
12374
|
+
* @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.
|
|
12375
|
+
*
|
|
12376
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
12377
|
+
* @param headers map
|
|
12378
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12379
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
12380
|
+
*/
|
|
12007
12381
|
async describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime) {
|
|
12008
12382
|
tea_util_1.default.validateModel(request);
|
|
12009
12383
|
let body = {};
|
|
@@ -12042,11 +12416,24 @@ class Client extends openapi_client_1.default {
|
|
|
12042
12416
|
});
|
|
12043
12417
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
12044
12418
|
}
|
|
12419
|
+
/**
|
|
12420
|
+
* @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.
|
|
12421
|
+
*
|
|
12422
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
12423
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
12424
|
+
*/
|
|
12045
12425
|
async describeClusterAttachScripts(ClusterId, request) {
|
|
12046
12426
|
let runtime = new $Util.RuntimeOptions({});
|
|
12047
12427
|
let headers = {};
|
|
12048
12428
|
return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
|
|
12049
12429
|
}
|
|
12430
|
+
/**
|
|
12431
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
12432
|
+
*
|
|
12433
|
+
* @param headers map
|
|
12434
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12435
|
+
* @return DescribeClusterDetailResponse
|
|
12436
|
+
*/
|
|
12050
12437
|
async describeClusterDetailWithOptions(ClusterId, headers, runtime) {
|
|
12051
12438
|
let req = new $OpenApi.OpenApiRequest({
|
|
12052
12439
|
headers: headers,
|
|
@@ -12064,11 +12451,24 @@ class Client extends openapi_client_1.default {
|
|
|
12064
12451
|
});
|
|
12065
12452
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
12066
12453
|
}
|
|
12454
|
+
/**
|
|
12455
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
12456
|
+
*
|
|
12457
|
+
* @return DescribeClusterDetailResponse
|
|
12458
|
+
*/
|
|
12067
12459
|
async describeClusterDetail(ClusterId) {
|
|
12068
12460
|
let runtime = new $Util.RuntimeOptions({});
|
|
12069
12461
|
let headers = {};
|
|
12070
12462
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
12071
12463
|
}
|
|
12464
|
+
/**
|
|
12465
|
+
* @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.
|
|
12466
|
+
*
|
|
12467
|
+
* @param request DescribeClusterEventsRequest
|
|
12468
|
+
* @param headers map
|
|
12469
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12470
|
+
* @return DescribeClusterEventsResponse
|
|
12471
|
+
*/
|
|
12072
12472
|
async describeClusterEventsWithOptions(ClusterId, request, headers, runtime) {
|
|
12073
12473
|
tea_util_1.default.validateModel(request);
|
|
12074
12474
|
let query = {};
|
|
@@ -12098,11 +12498,24 @@ class Client extends openapi_client_1.default {
|
|
|
12098
12498
|
});
|
|
12099
12499
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
12100
12500
|
}
|
|
12501
|
+
/**
|
|
12502
|
+
* @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.
|
|
12503
|
+
*
|
|
12504
|
+
* @param request DescribeClusterEventsRequest
|
|
12505
|
+
* @return DescribeClusterEventsResponse
|
|
12506
|
+
*/
|
|
12101
12507
|
async describeClusterEvents(ClusterId, request) {
|
|
12102
12508
|
let runtime = new $Util.RuntimeOptions({});
|
|
12103
12509
|
let headers = {};
|
|
12104
12510
|
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
12105
12511
|
}
|
|
12512
|
+
/**
|
|
12513
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
12514
|
+
*
|
|
12515
|
+
* @param headers map
|
|
12516
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12517
|
+
* @return DescribeClusterLogsResponse
|
|
12518
|
+
*/
|
|
12106
12519
|
async describeClusterLogsWithOptions(ClusterId, headers, runtime) {
|
|
12107
12520
|
let req = new $OpenApi.OpenApiRequest({
|
|
12108
12521
|
headers: headers,
|
|
@@ -12120,11 +12533,23 @@ class Client extends openapi_client_1.default {
|
|
|
12120
12533
|
});
|
|
12121
12534
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
12122
12535
|
}
|
|
12536
|
+
/**
|
|
12537
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
12538
|
+
*
|
|
12539
|
+
* @return DescribeClusterLogsResponse
|
|
12540
|
+
*/
|
|
12123
12541
|
async describeClusterLogs(ClusterId) {
|
|
12124
12542
|
let runtime = new $Util.RuntimeOptions({});
|
|
12125
12543
|
let headers = {};
|
|
12126
12544
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
12127
12545
|
}
|
|
12546
|
+
/**
|
|
12547
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
12548
|
+
*
|
|
12549
|
+
* @param headers map
|
|
12550
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12551
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
12552
|
+
*/
|
|
12128
12553
|
async describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime) {
|
|
12129
12554
|
let req = new $OpenApi.OpenApiRequest({
|
|
12130
12555
|
headers: headers,
|
|
@@ -12142,11 +12567,24 @@ class Client extends openapi_client_1.default {
|
|
|
12142
12567
|
});
|
|
12143
12568
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
12144
12569
|
}
|
|
12570
|
+
/**
|
|
12571
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
12572
|
+
*
|
|
12573
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
12574
|
+
*/
|
|
12145
12575
|
async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
|
|
12146
12576
|
let runtime = new $Util.RuntimeOptions({});
|
|
12147
12577
|
let headers = {};
|
|
12148
12578
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
12149
12579
|
}
|
|
12580
|
+
/**
|
|
12581
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
12582
|
+
*
|
|
12583
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
12584
|
+
* @param headers map
|
|
12585
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12586
|
+
* @return DescribeClusterNodePoolsResponse
|
|
12587
|
+
*/
|
|
12150
12588
|
async describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime) {
|
|
12151
12589
|
tea_util_1.default.validateModel(request);
|
|
12152
12590
|
let query = {};
|
|
@@ -12170,11 +12608,25 @@ class Client extends openapi_client_1.default {
|
|
|
12170
12608
|
});
|
|
12171
12609
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
12172
12610
|
}
|
|
12611
|
+
/**
|
|
12612
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
12613
|
+
*
|
|
12614
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
12615
|
+
* @return DescribeClusterNodePoolsResponse
|
|
12616
|
+
*/
|
|
12173
12617
|
async describeClusterNodePools(ClusterId, request) {
|
|
12174
12618
|
let runtime = new $Util.RuntimeOptions({});
|
|
12175
12619
|
let headers = {};
|
|
12176
12620
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
12177
12621
|
}
|
|
12622
|
+
/**
|
|
12623
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
12624
|
+
*
|
|
12625
|
+
* @param request DescribeClusterNodesRequest
|
|
12626
|
+
* @param headers map
|
|
12627
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12628
|
+
* @return DescribeClusterNodesResponse
|
|
12629
|
+
*/
|
|
12178
12630
|
async describeClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
12179
12631
|
tea_util_1.default.validateModel(request);
|
|
12180
12632
|
let query = {};
|
|
@@ -12210,11 +12662,25 @@ class Client extends openapi_client_1.default {
|
|
|
12210
12662
|
});
|
|
12211
12663
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
12212
12664
|
}
|
|
12665
|
+
/**
|
|
12666
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
12667
|
+
*
|
|
12668
|
+
* @param request DescribeClusterNodesRequest
|
|
12669
|
+
* @return DescribeClusterNodesResponse
|
|
12670
|
+
*/
|
|
12213
12671
|
async describeClusterNodes(ClusterId, request) {
|
|
12214
12672
|
let runtime = new $Util.RuntimeOptions({});
|
|
12215
12673
|
let headers = {};
|
|
12216
12674
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
12217
12675
|
}
|
|
12676
|
+
/**
|
|
12677
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
12678
|
+
*
|
|
12679
|
+
* @param request DescribeClusterResourcesRequest
|
|
12680
|
+
* @param headers map
|
|
12681
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12682
|
+
* @return DescribeClusterResourcesResponse
|
|
12683
|
+
*/
|
|
12218
12684
|
async describeClusterResourcesWithOptions(ClusterId, request, headers, runtime) {
|
|
12219
12685
|
tea_util_1.default.validateModel(request);
|
|
12220
12686
|
let query = {};
|
|
@@ -12238,11 +12704,25 @@ class Client extends openapi_client_1.default {
|
|
|
12238
12704
|
});
|
|
12239
12705
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
12240
12706
|
}
|
|
12707
|
+
/**
|
|
12708
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
12709
|
+
*
|
|
12710
|
+
* @param request DescribeClusterResourcesRequest
|
|
12711
|
+
* @return DescribeClusterResourcesResponse
|
|
12712
|
+
*/
|
|
12241
12713
|
async describeClusterResources(ClusterId, request) {
|
|
12242
12714
|
let runtime = new $Util.RuntimeOptions({});
|
|
12243
12715
|
let headers = {};
|
|
12244
12716
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
12245
12717
|
}
|
|
12718
|
+
/**
|
|
12719
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
12720
|
+
*
|
|
12721
|
+
* @param request DescribeClusterTasksRequest
|
|
12722
|
+
* @param headers map
|
|
12723
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12724
|
+
* @return DescribeClusterTasksResponse
|
|
12725
|
+
*/
|
|
12246
12726
|
async describeClusterTasksWithOptions(clusterId, request, headers, runtime) {
|
|
12247
12727
|
tea_util_1.default.validateModel(request);
|
|
12248
12728
|
let query = {};
|
|
@@ -12269,19 +12749,27 @@ class Client extends openapi_client_1.default {
|
|
|
12269
12749
|
});
|
|
12270
12750
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
12271
12751
|
}
|
|
12752
|
+
/**
|
|
12753
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
12754
|
+
*
|
|
12755
|
+
* @param request DescribeClusterTasksRequest
|
|
12756
|
+
* @return DescribeClusterTasksResponse
|
|
12757
|
+
*/
|
|
12272
12758
|
async describeClusterTasks(clusterId, request) {
|
|
12273
12759
|
let runtime = new $Util.RuntimeOptions({});
|
|
12274
12760
|
let headers = {};
|
|
12275
12761
|
return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
|
|
12276
12762
|
}
|
|
12277
12763
|
/**
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12764
|
+
* @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.
|
|
12765
|
+
*
|
|
12766
|
+
* @description **
|
|
12767
|
+
* ****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.
|
|
12768
|
+
*
|
|
12769
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
12770
|
+
* @param headers map
|
|
12771
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12772
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
12285
12773
|
*/
|
|
12286
12774
|
async describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime) {
|
|
12287
12775
|
tea_util_1.default.validateModel(request);
|
|
@@ -12310,11 +12798,13 @@ class Client extends openapi_client_1.default {
|
|
|
12310
12798
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
|
|
12311
12799
|
}
|
|
12312
12800
|
/**
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12801
|
+
* @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.
|
|
12802
|
+
*
|
|
12803
|
+
* @description **
|
|
12804
|
+
* ****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.
|
|
12805
|
+
*
|
|
12806
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
12807
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
12318
12808
|
*/
|
|
12319
12809
|
async describeClusterUserKubeconfig(ClusterId, request) {
|
|
12320
12810
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -12322,12 +12812,14 @@ class Client extends openapi_client_1.default {
|
|
|
12322
12812
|
return await this.describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
12323
12813
|
}
|
|
12324
12814
|
/**
|
|
12325
|
-
|
|
12326
|
-
|
|
12327
|
-
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
|
|
12815
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
12816
|
+
*
|
|
12817
|
+
* @summary 获取集群kubeconfig接口
|
|
12818
|
+
*
|
|
12819
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
12820
|
+
* @param headers map
|
|
12821
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12822
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
12331
12823
|
*/
|
|
12332
12824
|
// Deprecated
|
|
12333
12825
|
async describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -12354,10 +12846,12 @@ class Client extends openapi_client_1.default {
|
|
|
12354
12846
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
|
|
12355
12847
|
}
|
|
12356
12848
|
/**
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12849
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
12850
|
+
*
|
|
12851
|
+
* @summary 获取集群kubeconfig接口
|
|
12852
|
+
*
|
|
12853
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
12854
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
12361
12855
|
*/
|
|
12362
12856
|
// Deprecated
|
|
12363
12857
|
async describeClusterV2UserKubeconfig(ClusterId, request) {
|
|
@@ -12365,6 +12859,13 @@ class Client extends openapi_client_1.default {
|
|
|
12365
12859
|
let headers = {};
|
|
12366
12860
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
12367
12861
|
}
|
|
12862
|
+
/**
|
|
12863
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
12864
|
+
*
|
|
12865
|
+
* @param headers map
|
|
12866
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12867
|
+
* @return DescribeClusterVulsResponse
|
|
12868
|
+
*/
|
|
12368
12869
|
async describeClusterVulsWithOptions(clusterId, headers, runtime) {
|
|
12369
12870
|
let req = new $OpenApi.OpenApiRequest({
|
|
12370
12871
|
headers: headers,
|
|
@@ -12382,18 +12883,25 @@ class Client extends openapi_client_1.default {
|
|
|
12382
12883
|
});
|
|
12383
12884
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
12384
12885
|
}
|
|
12886
|
+
/**
|
|
12887
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
12888
|
+
*
|
|
12889
|
+
* @return DescribeClusterVulsResponse
|
|
12890
|
+
*/
|
|
12385
12891
|
async describeClusterVuls(clusterId) {
|
|
12386
12892
|
let runtime = new $Util.RuntimeOptions({});
|
|
12387
12893
|
let headers = {};
|
|
12388
12894
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
12389
12895
|
}
|
|
12390
12896
|
/**
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12897
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
12898
|
+
*
|
|
12899
|
+
* @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.
|
|
12900
|
+
*
|
|
12901
|
+
* @param request DescribeClustersRequest
|
|
12902
|
+
* @param headers map
|
|
12903
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12904
|
+
* @return DescribeClustersResponse
|
|
12397
12905
|
*/
|
|
12398
12906
|
// Deprecated
|
|
12399
12907
|
async describeClustersWithOptions(request, headers, runtime) {
|
|
@@ -12423,10 +12931,12 @@ class Client extends openapi_client_1.default {
|
|
|
12423
12931
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
|
|
12424
12932
|
}
|
|
12425
12933
|
/**
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12934
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
12935
|
+
*
|
|
12936
|
+
* @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.
|
|
12937
|
+
*
|
|
12938
|
+
* @param request DescribeClustersRequest
|
|
12939
|
+
* @return DescribeClustersResponse
|
|
12430
12940
|
*/
|
|
12431
12941
|
// Deprecated
|
|
12432
12942
|
async describeClusters(request) {
|
|
@@ -12434,6 +12944,14 @@ class Client extends openapi_client_1.default {
|
|
|
12434
12944
|
let headers = {};
|
|
12435
12945
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
12436
12946
|
}
|
|
12947
|
+
/**
|
|
12948
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
12949
|
+
*
|
|
12950
|
+
* @param request DescribeClustersV1Request
|
|
12951
|
+
* @param headers map
|
|
12952
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12953
|
+
* @return DescribeClustersV1Response
|
|
12954
|
+
*/
|
|
12437
12955
|
async describeClustersV1WithOptions(request, headers, runtime) {
|
|
12438
12956
|
tea_util_1.default.validateModel(request);
|
|
12439
12957
|
let query = {};
|
|
@@ -12478,11 +12996,24 @@ class Client extends openapi_client_1.default {
|
|
|
12478
12996
|
});
|
|
12479
12997
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
12480
12998
|
}
|
|
12999
|
+
/**
|
|
13000
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
13001
|
+
*
|
|
13002
|
+
* @param request DescribeClustersV1Request
|
|
13003
|
+
* @return DescribeClustersV1Response
|
|
13004
|
+
*/
|
|
12481
13005
|
async describeClustersV1(request) {
|
|
12482
13006
|
let runtime = new $Util.RuntimeOptions({});
|
|
12483
13007
|
let headers = {};
|
|
12484
13008
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
12485
13009
|
}
|
|
13010
|
+
/**
|
|
13011
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
13012
|
+
*
|
|
13013
|
+
* @param headers map
|
|
13014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13015
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
13016
|
+
*/
|
|
12486
13017
|
async describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime) {
|
|
12487
13018
|
let req = new $OpenApi.OpenApiRequest({
|
|
12488
13019
|
headers: headers,
|
|
@@ -12500,11 +13031,23 @@ class Client extends openapi_client_1.default {
|
|
|
12500
13031
|
});
|
|
12501
13032
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
12502
13033
|
}
|
|
13034
|
+
/**
|
|
13035
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
13036
|
+
*
|
|
13037
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
13038
|
+
*/
|
|
12503
13039
|
async describeEdgeMachineActiveProcess(edgeMachineid) {
|
|
12504
13040
|
let runtime = new $Util.RuntimeOptions({});
|
|
12505
13041
|
let headers = {};
|
|
12506
13042
|
return await this.describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime);
|
|
12507
13043
|
}
|
|
13044
|
+
/**
|
|
13045
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
13046
|
+
*
|
|
13047
|
+
* @param headers map
|
|
13048
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13049
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
13050
|
+
*/
|
|
12508
13051
|
async describeEdgeMachineModelsWithOptions(headers, runtime) {
|
|
12509
13052
|
let req = new $OpenApi.OpenApiRequest({
|
|
12510
13053
|
headers: headers,
|
|
@@ -12522,11 +13065,23 @@ class Client extends openapi_client_1.default {
|
|
|
12522
13065
|
});
|
|
12523
13066
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
12524
13067
|
}
|
|
13068
|
+
/**
|
|
13069
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
13070
|
+
*
|
|
13071
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
13072
|
+
*/
|
|
12525
13073
|
async describeEdgeMachineModels() {
|
|
12526
13074
|
let runtime = new $Util.RuntimeOptions({});
|
|
12527
13075
|
let headers = {};
|
|
12528
13076
|
return await this.describeEdgeMachineModelsWithOptions(headers, runtime);
|
|
12529
13077
|
}
|
|
13078
|
+
/**
|
|
13079
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
13080
|
+
*
|
|
13081
|
+
* @param headers map
|
|
13082
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13083
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
13084
|
+
*/
|
|
12530
13085
|
async describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime) {
|
|
12531
13086
|
let req = new $OpenApi.OpenApiRequest({
|
|
12532
13087
|
headers: headers,
|
|
@@ -12544,11 +13099,24 @@ class Client extends openapi_client_1.default {
|
|
|
12544
13099
|
});
|
|
12545
13100
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
12546
13101
|
}
|
|
13102
|
+
/**
|
|
13103
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
13104
|
+
*
|
|
13105
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
13106
|
+
*/
|
|
12547
13107
|
async describeEdgeMachineTunnelConfigDetail(edgeMachineid) {
|
|
12548
13108
|
let runtime = new $Util.RuntimeOptions({});
|
|
12549
13109
|
let headers = {};
|
|
12550
13110
|
return await this.describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime);
|
|
12551
13111
|
}
|
|
13112
|
+
/**
|
|
13113
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
13114
|
+
*
|
|
13115
|
+
* @param request DescribeEdgeMachinesRequest
|
|
13116
|
+
* @param headers map
|
|
13117
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13118
|
+
* @return DescribeEdgeMachinesResponse
|
|
13119
|
+
*/
|
|
12552
13120
|
async describeEdgeMachinesWithOptions(request, headers, runtime) {
|
|
12553
13121
|
tea_util_1.default.validateModel(request);
|
|
12554
13122
|
let query = {};
|
|
@@ -12587,11 +13155,25 @@ class Client extends openapi_client_1.default {
|
|
|
12587
13155
|
});
|
|
12588
13156
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
12589
13157
|
}
|
|
13158
|
+
/**
|
|
13159
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
13160
|
+
*
|
|
13161
|
+
* @param request DescribeEdgeMachinesRequest
|
|
13162
|
+
* @return DescribeEdgeMachinesResponse
|
|
13163
|
+
*/
|
|
12590
13164
|
async describeEdgeMachines(request) {
|
|
12591
13165
|
let runtime = new $Util.RuntimeOptions({});
|
|
12592
13166
|
let headers = {};
|
|
12593
13167
|
return await this.describeEdgeMachinesWithOptions(request, headers, runtime);
|
|
12594
13168
|
}
|
|
13169
|
+
/**
|
|
13170
|
+
* @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.
|
|
13171
|
+
*
|
|
13172
|
+
* @param request DescribeEventsRequest
|
|
13173
|
+
* @param headers map
|
|
13174
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13175
|
+
* @return DescribeEventsResponse
|
|
13176
|
+
*/
|
|
12595
13177
|
async describeEventsWithOptions(request, headers, runtime) {
|
|
12596
13178
|
tea_util_1.default.validateModel(request);
|
|
12597
13179
|
let query = {};
|
|
@@ -12624,18 +13206,26 @@ class Client extends openapi_client_1.default {
|
|
|
12624
13206
|
});
|
|
12625
13207
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
12626
13208
|
}
|
|
13209
|
+
/**
|
|
13210
|
+
* @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.
|
|
13211
|
+
*
|
|
13212
|
+
* @param request DescribeEventsRequest
|
|
13213
|
+
* @return DescribeEventsResponse
|
|
13214
|
+
*/
|
|
12627
13215
|
async describeEvents(request) {
|
|
12628
13216
|
let runtime = new $Util.RuntimeOptions({});
|
|
12629
13217
|
let headers = {};
|
|
12630
13218
|
return await this.describeEventsWithOptions(request, headers, runtime);
|
|
12631
13219
|
}
|
|
12632
13220
|
/**
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
13221
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
13222
|
+
*
|
|
13223
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
13224
|
+
*
|
|
13225
|
+
* @param request DescribeExternalAgentRequest
|
|
13226
|
+
* @param headers map
|
|
13227
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13228
|
+
* @return DescribeExternalAgentResponse
|
|
12639
13229
|
*/
|
|
12640
13230
|
async describeExternalAgentWithOptions(ClusterId, request, headers, runtime) {
|
|
12641
13231
|
tea_util_1.default.validateModel(request);
|
|
@@ -12664,16 +13254,26 @@ class Client extends openapi_client_1.default {
|
|
|
12664
13254
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
12665
13255
|
}
|
|
12666
13256
|
/**
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
13257
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
13258
|
+
*
|
|
13259
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
13260
|
+
*
|
|
13261
|
+
* @param request DescribeExternalAgentRequest
|
|
13262
|
+
* @return DescribeExternalAgentResponse
|
|
12671
13263
|
*/
|
|
12672
13264
|
async describeExternalAgent(ClusterId, request) {
|
|
12673
13265
|
let runtime = new $Util.RuntimeOptions({});
|
|
12674
13266
|
let headers = {};
|
|
12675
13267
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
12676
13268
|
}
|
|
13269
|
+
/**
|
|
13270
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
13271
|
+
*
|
|
13272
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
13273
|
+
* @param headers map
|
|
13274
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13275
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
13276
|
+
*/
|
|
12677
13277
|
async describeKubernetesVersionMetadataWithOptions(request, headers, runtime) {
|
|
12678
13278
|
tea_util_1.default.validateModel(request);
|
|
12679
13279
|
let query = {};
|
|
@@ -12689,6 +13289,9 @@ class Client extends openapi_client_1.default {
|
|
|
12689
13289
|
if (!tea_util_1.default.isUnset(request.profile)) {
|
|
12690
13290
|
query["Profile"] = request.profile;
|
|
12691
13291
|
}
|
|
13292
|
+
if (!tea_util_1.default.isUnset(request.queryUpgradableVersion)) {
|
|
13293
|
+
query["QueryUpgradableVersion"] = request.queryUpgradableVersion;
|
|
13294
|
+
}
|
|
12692
13295
|
if (!tea_util_1.default.isUnset(request.region)) {
|
|
12693
13296
|
query["Region"] = request.region;
|
|
12694
13297
|
}
|
|
@@ -12712,11 +13315,25 @@ class Client extends openapi_client_1.default {
|
|
|
12712
13315
|
});
|
|
12713
13316
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
12714
13317
|
}
|
|
13318
|
+
/**
|
|
13319
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
13320
|
+
*
|
|
13321
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
13322
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
13323
|
+
*/
|
|
12715
13324
|
async describeKubernetesVersionMetadata(request) {
|
|
12716
13325
|
let runtime = new $Util.RuntimeOptions({});
|
|
12717
13326
|
let headers = {};
|
|
12718
13327
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
12719
13328
|
}
|
|
13329
|
+
/**
|
|
13330
|
+
* @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.
|
|
13331
|
+
*
|
|
13332
|
+
* @param request DescribeNodePoolVulsRequest
|
|
13333
|
+
* @param headers map
|
|
13334
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13335
|
+
* @return DescribeNodePoolVulsResponse
|
|
13336
|
+
*/
|
|
12720
13337
|
async describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
12721
13338
|
tea_util_1.default.validateModel(request);
|
|
12722
13339
|
let query = {};
|
|
@@ -12740,11 +13357,24 @@ class Client extends openapi_client_1.default {
|
|
|
12740
13357
|
});
|
|
12741
13358
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
12742
13359
|
}
|
|
13360
|
+
/**
|
|
13361
|
+
* @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.
|
|
13362
|
+
*
|
|
13363
|
+
* @param request DescribeNodePoolVulsRequest
|
|
13364
|
+
* @return DescribeNodePoolVulsResponse
|
|
13365
|
+
*/
|
|
12743
13366
|
async describeNodePoolVuls(clusterId, nodepoolId, request) {
|
|
12744
13367
|
let runtime = new $Util.RuntimeOptions({});
|
|
12745
13368
|
let headers = {};
|
|
12746
13369
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
12747
13370
|
}
|
|
13371
|
+
/**
|
|
13372
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
13373
|
+
*
|
|
13374
|
+
* @param headers map
|
|
13375
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13376
|
+
* @return DescribePoliciesResponse
|
|
13377
|
+
*/
|
|
12748
13378
|
async describePoliciesWithOptions(headers, runtime) {
|
|
12749
13379
|
let req = new $OpenApi.OpenApiRequest({
|
|
12750
13380
|
headers: headers,
|
|
@@ -12762,11 +13392,23 @@ class Client extends openapi_client_1.default {
|
|
|
12762
13392
|
});
|
|
12763
13393
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
12764
13394
|
}
|
|
13395
|
+
/**
|
|
13396
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
13397
|
+
*
|
|
13398
|
+
* @return DescribePoliciesResponse
|
|
13399
|
+
*/
|
|
12765
13400
|
async describePolicies() {
|
|
12766
13401
|
let runtime = new $Util.RuntimeOptions({});
|
|
12767
13402
|
let headers = {};
|
|
12768
13403
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
12769
13404
|
}
|
|
13405
|
+
/**
|
|
13406
|
+
* @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.
|
|
13407
|
+
*
|
|
13408
|
+
* @param headers map
|
|
13409
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13410
|
+
* @return DescribePolicyDetailsResponse
|
|
13411
|
+
*/
|
|
12770
13412
|
async describePolicyDetailsWithOptions(policyName, headers, runtime) {
|
|
12771
13413
|
let req = new $OpenApi.OpenApiRequest({
|
|
12772
13414
|
headers: headers,
|
|
@@ -12784,11 +13426,23 @@ class Client extends openapi_client_1.default {
|
|
|
12784
13426
|
});
|
|
12785
13427
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
12786
13428
|
}
|
|
13429
|
+
/**
|
|
13430
|
+
* @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.
|
|
13431
|
+
*
|
|
13432
|
+
* @return DescribePolicyDetailsResponse
|
|
13433
|
+
*/
|
|
12787
13434
|
async describePolicyDetails(policyName) {
|
|
12788
13435
|
let runtime = new $Util.RuntimeOptions({});
|
|
12789
13436
|
let headers = {};
|
|
12790
13437
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
12791
13438
|
}
|
|
13439
|
+
/**
|
|
13440
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
13441
|
+
*
|
|
13442
|
+
* @param headers map
|
|
13443
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13444
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
13445
|
+
*/
|
|
12792
13446
|
async describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime) {
|
|
12793
13447
|
let req = new $OpenApi.OpenApiRequest({
|
|
12794
13448
|
headers: headers,
|
|
@@ -12806,11 +13460,24 @@ class Client extends openapi_client_1.default {
|
|
|
12806
13460
|
});
|
|
12807
13461
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
12808
13462
|
}
|
|
13463
|
+
/**
|
|
13464
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
13465
|
+
*
|
|
13466
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
13467
|
+
*/
|
|
12809
13468
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
12810
13469
|
let runtime = new $Util.RuntimeOptions({});
|
|
12811
13470
|
let headers = {};
|
|
12812
13471
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
12813
13472
|
}
|
|
13473
|
+
/**
|
|
13474
|
+
* @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.
|
|
13475
|
+
*
|
|
13476
|
+
* @param request DescribePolicyInstancesRequest
|
|
13477
|
+
* @param headers map
|
|
13478
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13479
|
+
* @return DescribePolicyInstancesResponse
|
|
13480
|
+
*/
|
|
12814
13481
|
async describePolicyInstancesWithOptions(clusterId, request, headers, runtime) {
|
|
12815
13482
|
tea_util_1.default.validateModel(request);
|
|
12816
13483
|
let query = {};
|
|
@@ -12837,11 +13504,24 @@ class Client extends openapi_client_1.default {
|
|
|
12837
13504
|
});
|
|
12838
13505
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
12839
13506
|
}
|
|
13507
|
+
/**
|
|
13508
|
+
* @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.
|
|
13509
|
+
*
|
|
13510
|
+
* @param request DescribePolicyInstancesRequest
|
|
13511
|
+
* @return DescribePolicyInstancesResponse
|
|
13512
|
+
*/
|
|
12840
13513
|
async describePolicyInstances(clusterId, request) {
|
|
12841
13514
|
let runtime = new $Util.RuntimeOptions({});
|
|
12842
13515
|
let headers = {};
|
|
12843
13516
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
12844
13517
|
}
|
|
13518
|
+
/**
|
|
13519
|
+
* @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.
|
|
13520
|
+
*
|
|
13521
|
+
* @param headers map
|
|
13522
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13523
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
13524
|
+
*/
|
|
12845
13525
|
async describePolicyInstancesStatusWithOptions(clusterId, headers, runtime) {
|
|
12846
13526
|
let req = new $OpenApi.OpenApiRequest({
|
|
12847
13527
|
headers: headers,
|
|
@@ -12859,19 +13539,26 @@ class Client extends openapi_client_1.default {
|
|
|
12859
13539
|
});
|
|
12860
13540
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
12861
13541
|
}
|
|
13542
|
+
/**
|
|
13543
|
+
* @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.
|
|
13544
|
+
*
|
|
13545
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
13546
|
+
*/
|
|
12862
13547
|
async describePolicyInstancesStatus(clusterId) {
|
|
12863
13548
|
let runtime = new $Util.RuntimeOptions({});
|
|
12864
13549
|
let headers = {};
|
|
12865
13550
|
return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
|
|
12866
13551
|
}
|
|
12867
13552
|
/**
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
13553
|
+
* @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.
|
|
13554
|
+
*
|
|
13555
|
+
* @description **
|
|
13556
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
13557
|
+
*
|
|
13558
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
13559
|
+
* @param headers map
|
|
13560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13561
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
12875
13562
|
*/
|
|
12876
13563
|
async describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime) {
|
|
12877
13564
|
tea_util_1.default.validateModel(request);
|
|
@@ -12900,17 +13587,26 @@ class Client extends openapi_client_1.default {
|
|
|
12900
13587
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
12901
13588
|
}
|
|
12902
13589
|
/**
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
12907
|
-
|
|
13590
|
+
* @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.
|
|
13591
|
+
*
|
|
13592
|
+
* @description **
|
|
13593
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
13594
|
+
*
|
|
13595
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
13596
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
12908
13597
|
*/
|
|
12909
13598
|
async describeSubaccountK8sClusterUserConfig(ClusterId, Uid, request) {
|
|
12910
13599
|
let runtime = new $Util.RuntimeOptions({});
|
|
12911
13600
|
let headers = {};
|
|
12912
13601
|
return await this.describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
12913
13602
|
}
|
|
13603
|
+
/**
|
|
13604
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
13605
|
+
*
|
|
13606
|
+
* @param headers map
|
|
13607
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13608
|
+
* @return DescribeTaskInfoResponse
|
|
13609
|
+
*/
|
|
12914
13610
|
async describeTaskInfoWithOptions(taskId, headers, runtime) {
|
|
12915
13611
|
let req = new $OpenApi.OpenApiRequest({
|
|
12916
13612
|
headers: headers,
|
|
@@ -12928,11 +13624,24 @@ class Client extends openapi_client_1.default {
|
|
|
12928
13624
|
});
|
|
12929
13625
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
12930
13626
|
}
|
|
13627
|
+
/**
|
|
13628
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
13629
|
+
*
|
|
13630
|
+
* @return DescribeTaskInfoResponse
|
|
13631
|
+
*/
|
|
12931
13632
|
async describeTaskInfo(taskId) {
|
|
12932
13633
|
let runtime = new $Util.RuntimeOptions({});
|
|
12933
13634
|
let headers = {};
|
|
12934
13635
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
12935
13636
|
}
|
|
13637
|
+
/**
|
|
13638
|
+
* @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.
|
|
13639
|
+
*
|
|
13640
|
+
* @param request DescribeTemplateAttributeRequest
|
|
13641
|
+
* @param headers map
|
|
13642
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13643
|
+
* @return DescribeTemplateAttributeResponse
|
|
13644
|
+
*/
|
|
12936
13645
|
async describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime) {
|
|
12937
13646
|
tea_util_1.default.validateModel(request);
|
|
12938
13647
|
let query = {};
|
|
@@ -12956,11 +13665,25 @@ class Client extends openapi_client_1.default {
|
|
|
12956
13665
|
});
|
|
12957
13666
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
12958
13667
|
}
|
|
13668
|
+
/**
|
|
13669
|
+
* @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.
|
|
13670
|
+
*
|
|
13671
|
+
* @param request DescribeTemplateAttributeRequest
|
|
13672
|
+
* @return DescribeTemplateAttributeResponse
|
|
13673
|
+
*/
|
|
12959
13674
|
async describeTemplateAttribute(TemplateId, request) {
|
|
12960
13675
|
let runtime = new $Util.RuntimeOptions({});
|
|
12961
13676
|
let headers = {};
|
|
12962
13677
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
12963
13678
|
}
|
|
13679
|
+
/**
|
|
13680
|
+
* @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.
|
|
13681
|
+
*
|
|
13682
|
+
* @param request DescribeTemplatesRequest
|
|
13683
|
+
* @param headers map
|
|
13684
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13685
|
+
* @return DescribeTemplatesResponse
|
|
13686
|
+
*/
|
|
12964
13687
|
async describeTemplatesWithOptions(request, headers, runtime) {
|
|
12965
13688
|
tea_util_1.default.validateModel(request);
|
|
12966
13689
|
let query = {};
|
|
@@ -12990,11 +13713,25 @@ class Client extends openapi_client_1.default {
|
|
|
12990
13713
|
});
|
|
12991
13714
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
12992
13715
|
}
|
|
13716
|
+
/**
|
|
13717
|
+
* @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.
|
|
13718
|
+
*
|
|
13719
|
+
* @param request DescribeTemplatesRequest
|
|
13720
|
+
* @return DescribeTemplatesResponse
|
|
13721
|
+
*/
|
|
12993
13722
|
async describeTemplates(request) {
|
|
12994
13723
|
let runtime = new $Util.RuntimeOptions({});
|
|
12995
13724
|
let headers = {};
|
|
12996
13725
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
12997
13726
|
}
|
|
13727
|
+
/**
|
|
13728
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
13729
|
+
*
|
|
13730
|
+
* @param request DescribeTriggerRequest
|
|
13731
|
+
* @param headers map
|
|
13732
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13733
|
+
* @return DescribeTriggerResponse
|
|
13734
|
+
*/
|
|
12998
13735
|
async describeTriggerWithOptions(clusterId, request, headers, runtime) {
|
|
12999
13736
|
tea_util_1.default.validateModel(request);
|
|
13000
13737
|
let query = {};
|
|
@@ -13027,11 +13764,24 @@ class Client extends openapi_client_1.default {
|
|
|
13027
13764
|
});
|
|
13028
13765
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
13029
13766
|
}
|
|
13767
|
+
/**
|
|
13768
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
13769
|
+
*
|
|
13770
|
+
* @param request DescribeTriggerRequest
|
|
13771
|
+
* @return DescribeTriggerResponse
|
|
13772
|
+
*/
|
|
13030
13773
|
async describeTrigger(clusterId, request) {
|
|
13031
13774
|
let runtime = new $Util.RuntimeOptions({});
|
|
13032
13775
|
let headers = {};
|
|
13033
13776
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
13034
13777
|
}
|
|
13778
|
+
/**
|
|
13779
|
+
* @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.
|
|
13780
|
+
*
|
|
13781
|
+
* @param headers map
|
|
13782
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13783
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
13784
|
+
*/
|
|
13035
13785
|
async describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime) {
|
|
13036
13786
|
let req = new $OpenApi.OpenApiRequest({
|
|
13037
13787
|
headers: headers,
|
|
@@ -13049,11 +13799,23 @@ class Client extends openapi_client_1.default {
|
|
|
13049
13799
|
});
|
|
13050
13800
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
13051
13801
|
}
|
|
13802
|
+
/**
|
|
13803
|
+
* @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.
|
|
13804
|
+
*
|
|
13805
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
13806
|
+
*/
|
|
13052
13807
|
async describeUserClusterNamespaces(ClusterId) {
|
|
13053
13808
|
let runtime = new $Util.RuntimeOptions({});
|
|
13054
13809
|
let headers = {};
|
|
13055
13810
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
13056
13811
|
}
|
|
13812
|
+
/**
|
|
13813
|
+
* @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.
|
|
13814
|
+
*
|
|
13815
|
+
* @param headers map
|
|
13816
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13817
|
+
* @return DescribeUserPermissionResponse
|
|
13818
|
+
*/
|
|
13057
13819
|
async describeUserPermissionWithOptions(uid, headers, runtime) {
|
|
13058
13820
|
let req = new $OpenApi.OpenApiRequest({
|
|
13059
13821
|
headers: headers,
|
|
@@ -13071,11 +13833,23 @@ class Client extends openapi_client_1.default {
|
|
|
13071
13833
|
});
|
|
13072
13834
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
13073
13835
|
}
|
|
13836
|
+
/**
|
|
13837
|
+
* @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.
|
|
13838
|
+
*
|
|
13839
|
+
* @return DescribeUserPermissionResponse
|
|
13840
|
+
*/
|
|
13074
13841
|
async describeUserPermission(uid) {
|
|
13075
13842
|
let runtime = new $Util.RuntimeOptions({});
|
|
13076
13843
|
let headers = {};
|
|
13077
13844
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
13078
13845
|
}
|
|
13846
|
+
/**
|
|
13847
|
+
* @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.
|
|
13848
|
+
*
|
|
13849
|
+
* @param headers map
|
|
13850
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13851
|
+
* @return DescribeUserQuotaResponse
|
|
13852
|
+
*/
|
|
13079
13853
|
async describeUserQuotaWithOptions(headers, runtime) {
|
|
13080
13854
|
let req = new $OpenApi.OpenApiRequest({
|
|
13081
13855
|
headers: headers,
|
|
@@ -13093,11 +13867,23 @@ class Client extends openapi_client_1.default {
|
|
|
13093
13867
|
});
|
|
13094
13868
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
13095
13869
|
}
|
|
13870
|
+
/**
|
|
13871
|
+
* @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.
|
|
13872
|
+
*
|
|
13873
|
+
* @return DescribeUserQuotaResponse
|
|
13874
|
+
*/
|
|
13096
13875
|
async describeUserQuota() {
|
|
13097
13876
|
let runtime = new $Util.RuntimeOptions({});
|
|
13098
13877
|
let headers = {};
|
|
13099
13878
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
13100
13879
|
}
|
|
13880
|
+
/**
|
|
13881
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
13882
|
+
*
|
|
13883
|
+
* @param headers map
|
|
13884
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13885
|
+
* @return DescribeWorkflowsResponse
|
|
13886
|
+
*/
|
|
13101
13887
|
async describeWorkflowsWithOptions(headers, runtime) {
|
|
13102
13888
|
let req = new $OpenApi.OpenApiRequest({
|
|
13103
13889
|
headers: headers,
|
|
@@ -13115,11 +13901,24 @@ class Client extends openapi_client_1.default {
|
|
|
13115
13901
|
});
|
|
13116
13902
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
|
|
13117
13903
|
}
|
|
13904
|
+
/**
|
|
13905
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
13906
|
+
*
|
|
13907
|
+
* @return DescribeWorkflowsResponse
|
|
13908
|
+
*/
|
|
13118
13909
|
async describeWorkflows() {
|
|
13119
13910
|
let runtime = new $Util.RuntimeOptions({});
|
|
13120
13911
|
let headers = {};
|
|
13121
13912
|
return await this.describeWorkflowsWithOptions(headers, runtime);
|
|
13122
13913
|
}
|
|
13914
|
+
/**
|
|
13915
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
13916
|
+
*
|
|
13917
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
13918
|
+
* @param headers map
|
|
13919
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13920
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
13921
|
+
*/
|
|
13123
13922
|
async edgeClusterAddEdgeMachineWithOptions(clusterid, edgeMachineid, request, headers, runtime) {
|
|
13124
13923
|
tea_util_1.default.validateModel(request);
|
|
13125
13924
|
let body = {};
|
|
@@ -13149,21 +13948,29 @@ class Client extends openapi_client_1.default {
|
|
|
13149
13948
|
});
|
|
13150
13949
|
return $tea.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
13151
13950
|
}
|
|
13951
|
+
/**
|
|
13952
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
13953
|
+
*
|
|
13954
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
13955
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
13956
|
+
*/
|
|
13152
13957
|
async edgeClusterAddEdgeMachine(clusterid, edgeMachineid, request) {
|
|
13153
13958
|
let runtime = new $Util.RuntimeOptions({});
|
|
13154
13959
|
let headers = {};
|
|
13155
13960
|
return await this.edgeClusterAddEdgeMachineWithOptions(clusterid, edgeMachineid, request, headers, runtime);
|
|
13156
13961
|
}
|
|
13157
13962
|
/**
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13963
|
+
* @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.
|
|
13964
|
+
*
|
|
13965
|
+
* @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).
|
|
13966
|
+
* 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.
|
|
13967
|
+
* 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.
|
|
13968
|
+
* 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.
|
|
13969
|
+
*
|
|
13970
|
+
* @param request FixNodePoolVulsRequest
|
|
13971
|
+
* @param headers map
|
|
13972
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13973
|
+
* @return FixNodePoolVulsResponse
|
|
13167
13974
|
*/
|
|
13168
13975
|
async fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
13169
13976
|
tea_util_1.default.validateModel(request);
|
|
@@ -13198,19 +14005,28 @@ class Client extends openapi_client_1.default {
|
|
|
13198
14005
|
return $tea.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
13199
14006
|
}
|
|
13200
14007
|
/**
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13206
|
-
|
|
13207
|
-
|
|
14008
|
+
* @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.
|
|
14009
|
+
*
|
|
14010
|
+
* @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).
|
|
14011
|
+
* 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.
|
|
14012
|
+
* 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.
|
|
14013
|
+
* 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.
|
|
14014
|
+
*
|
|
14015
|
+
* @param request FixNodePoolVulsRequest
|
|
14016
|
+
* @return FixNodePoolVulsResponse
|
|
13208
14017
|
*/
|
|
13209
14018
|
async fixNodePoolVuls(clusterId, nodepoolId, request) {
|
|
13210
14019
|
let runtime = new $Util.RuntimeOptions({});
|
|
13211
14020
|
let headers = {};
|
|
13212
14021
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
13213
14022
|
}
|
|
14023
|
+
/**
|
|
14024
|
+
* @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.
|
|
14025
|
+
*
|
|
14026
|
+
* @param headers map
|
|
14027
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14028
|
+
* @return GetClusterAddonInstanceResponse
|
|
14029
|
+
*/
|
|
13214
14030
|
async getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime) {
|
|
13215
14031
|
let req = new $OpenApi.OpenApiRequest({
|
|
13216
14032
|
headers: headers,
|
|
@@ -13228,11 +14044,23 @@ class Client extends openapi_client_1.default {
|
|
|
13228
14044
|
});
|
|
13229
14045
|
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
13230
14046
|
}
|
|
14047
|
+
/**
|
|
14048
|
+
* @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.
|
|
14049
|
+
*
|
|
14050
|
+
* @return GetClusterAddonInstanceResponse
|
|
14051
|
+
*/
|
|
13231
14052
|
async getClusterAddonInstance(clusterId, instanceName) {
|
|
13232
14053
|
let runtime = new $Util.RuntimeOptions({});
|
|
13233
14054
|
let headers = {};
|
|
13234
14055
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
13235
14056
|
}
|
|
14057
|
+
/**
|
|
14058
|
+
* @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.
|
|
14059
|
+
*
|
|
14060
|
+
* @param headers map
|
|
14061
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14062
|
+
* @return GetClusterCheckResponse
|
|
14063
|
+
*/
|
|
13236
14064
|
async getClusterCheckWithOptions(clusterId, checkId, headers, runtime) {
|
|
13237
14065
|
let req = new $OpenApi.OpenApiRequest({
|
|
13238
14066
|
headers: headers,
|
|
@@ -13250,11 +14078,24 @@ class Client extends openapi_client_1.default {
|
|
|
13250
14078
|
});
|
|
13251
14079
|
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
13252
14080
|
}
|
|
14081
|
+
/**
|
|
14082
|
+
* @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.
|
|
14083
|
+
*
|
|
14084
|
+
* @return GetClusterCheckResponse
|
|
14085
|
+
*/
|
|
13253
14086
|
async getClusterCheck(clusterId, checkId) {
|
|
13254
14087
|
let runtime = new $Util.RuntimeOptions({});
|
|
13255
14088
|
let headers = {};
|
|
13256
14089
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
13257
14090
|
}
|
|
14091
|
+
/**
|
|
14092
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
14093
|
+
*
|
|
14094
|
+
* @param request GetKubernetesTriggerRequest
|
|
14095
|
+
* @param headers map
|
|
14096
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14097
|
+
* @return GetKubernetesTriggerResponse
|
|
14098
|
+
*/
|
|
13258
14099
|
async getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime) {
|
|
13259
14100
|
tea_util_1.default.validateModel(request);
|
|
13260
14101
|
let query = {};
|
|
@@ -13287,11 +14128,24 @@ class Client extends openapi_client_1.default {
|
|
|
13287
14128
|
});
|
|
13288
14129
|
return $tea.cast(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
13289
14130
|
}
|
|
14131
|
+
/**
|
|
14132
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
14133
|
+
*
|
|
14134
|
+
* @param request GetKubernetesTriggerRequest
|
|
14135
|
+
* @return GetKubernetesTriggerResponse
|
|
14136
|
+
*/
|
|
13290
14137
|
async getKubernetesTrigger(ClusterId, request) {
|
|
13291
14138
|
let runtime = new $Util.RuntimeOptions({});
|
|
13292
14139
|
let headers = {};
|
|
13293
14140
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
13294
14141
|
}
|
|
14142
|
+
/**
|
|
14143
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
14144
|
+
*
|
|
14145
|
+
* @param headers map
|
|
14146
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14147
|
+
* @return GetUpgradeStatusResponse
|
|
14148
|
+
*/
|
|
13295
14149
|
async getUpgradeStatusWithOptions(ClusterId, headers, runtime) {
|
|
13296
14150
|
let req = new $OpenApi.OpenApiRequest({
|
|
13297
14151
|
headers: headers,
|
|
@@ -13309,21 +14163,28 @@ class Client extends openapi_client_1.default {
|
|
|
13309
14163
|
});
|
|
13310
14164
|
return $tea.cast(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
13311
14165
|
}
|
|
14166
|
+
/**
|
|
14167
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
14168
|
+
*
|
|
14169
|
+
* @return GetUpgradeStatusResponse
|
|
14170
|
+
*/
|
|
13312
14171
|
async getUpgradeStatus(ClusterId) {
|
|
13313
14172
|
let runtime = new $Util.RuntimeOptions({});
|
|
13314
14173
|
let headers = {};
|
|
13315
14174
|
return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
|
|
13316
14175
|
}
|
|
13317
14176
|
/**
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
14177
|
+
* @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.
|
|
14178
|
+
*
|
|
14179
|
+
* @description ****
|
|
14180
|
+
* * 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).
|
|
14181
|
+
* * 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).
|
|
14182
|
+
* * 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.
|
|
14183
|
+
*
|
|
14184
|
+
* @param request GrantPermissionsRequest
|
|
14185
|
+
* @param headers map
|
|
14186
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14187
|
+
* @return GrantPermissionsResponse
|
|
13327
14188
|
*/
|
|
13328
14189
|
async grantPermissionsWithOptions(uid, request, headers, runtime) {
|
|
13329
14190
|
tea_util_1.default.validateModel(request);
|
|
@@ -13345,19 +14206,29 @@ class Client extends openapi_client_1.default {
|
|
|
13345
14206
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
|
|
13346
14207
|
}
|
|
13347
14208
|
/**
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
|
|
13353
|
-
|
|
13354
|
-
|
|
14209
|
+
* @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.
|
|
14210
|
+
*
|
|
14211
|
+
* @description ****
|
|
14212
|
+
* * 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).
|
|
14213
|
+
* * 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).
|
|
14214
|
+
* * 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.
|
|
14215
|
+
*
|
|
14216
|
+
* @param request GrantPermissionsRequest
|
|
14217
|
+
* @return GrantPermissionsResponse
|
|
13355
14218
|
*/
|
|
13356
14219
|
async grantPermissions(uid, request) {
|
|
13357
14220
|
let runtime = new $Util.RuntimeOptions({});
|
|
13358
14221
|
let headers = {};
|
|
13359
14222
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
13360
14223
|
}
|
|
14224
|
+
/**
|
|
14225
|
+
* @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.
|
|
14226
|
+
*
|
|
14227
|
+
* @param request InstallClusterAddonsRequest
|
|
14228
|
+
* @param headers map
|
|
14229
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14230
|
+
* @return InstallClusterAddonsResponse
|
|
14231
|
+
*/
|
|
13361
14232
|
async installClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
13362
14233
|
tea_util_1.default.validateModel(request);
|
|
13363
14234
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -13377,11 +14248,25 @@ class Client extends openapi_client_1.default {
|
|
|
13377
14248
|
});
|
|
13378
14249
|
return $tea.cast(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
13379
14250
|
}
|
|
14251
|
+
/**
|
|
14252
|
+
* @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.
|
|
14253
|
+
*
|
|
14254
|
+
* @param request InstallClusterAddonsRequest
|
|
14255
|
+
* @return InstallClusterAddonsResponse
|
|
14256
|
+
*/
|
|
13380
14257
|
async installClusterAddons(ClusterId, request) {
|
|
13381
14258
|
let runtime = new $Util.RuntimeOptions({});
|
|
13382
14259
|
let headers = {};
|
|
13383
14260
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
13384
14261
|
}
|
|
14262
|
+
/**
|
|
14263
|
+
* @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.
|
|
14264
|
+
*
|
|
14265
|
+
* @param request ListAddonsRequest
|
|
14266
|
+
* @param headers map
|
|
14267
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14268
|
+
* @return ListAddonsResponse
|
|
14269
|
+
*/
|
|
13385
14270
|
async listAddonsWithOptions(request, headers, runtime) {
|
|
13386
14271
|
tea_util_1.default.validateModel(request);
|
|
13387
14272
|
let query = {};
|
|
@@ -13420,11 +14305,24 @@ class Client extends openapi_client_1.default {
|
|
|
13420
14305
|
});
|
|
13421
14306
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
13422
14307
|
}
|
|
14308
|
+
/**
|
|
14309
|
+
* @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.
|
|
14310
|
+
*
|
|
14311
|
+
* @param request ListAddonsRequest
|
|
14312
|
+
* @return ListAddonsResponse
|
|
14313
|
+
*/
|
|
13423
14314
|
async listAddons(request) {
|
|
13424
14315
|
let runtime = new $Util.RuntimeOptions({});
|
|
13425
14316
|
let headers = {};
|
|
13426
14317
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
13427
14318
|
}
|
|
14319
|
+
/**
|
|
14320
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
14321
|
+
*
|
|
14322
|
+
* @param headers map
|
|
14323
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14324
|
+
* @return ListClusterAddonInstancesResponse
|
|
14325
|
+
*/
|
|
13428
14326
|
async listClusterAddonInstancesWithOptions(clusterId, headers, runtime) {
|
|
13429
14327
|
let req = new $OpenApi.OpenApiRequest({
|
|
13430
14328
|
headers: headers,
|
|
@@ -13442,11 +14340,24 @@ class Client extends openapi_client_1.default {
|
|
|
13442
14340
|
});
|
|
13443
14341
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
13444
14342
|
}
|
|
14343
|
+
/**
|
|
14344
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
14345
|
+
*
|
|
14346
|
+
* @return ListClusterAddonInstancesResponse
|
|
14347
|
+
*/
|
|
13445
14348
|
async listClusterAddonInstances(clusterId) {
|
|
13446
14349
|
let runtime = new $Util.RuntimeOptions({});
|
|
13447
14350
|
let headers = {};
|
|
13448
14351
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
13449
14352
|
}
|
|
14353
|
+
/**
|
|
14354
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
14355
|
+
*
|
|
14356
|
+
* @param request ListClusterChecksRequest
|
|
14357
|
+
* @param headers map
|
|
14358
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14359
|
+
* @return ListClusterChecksResponse
|
|
14360
|
+
*/
|
|
13450
14361
|
async listClusterChecksWithOptions(clusterId, request, headers, runtime) {
|
|
13451
14362
|
tea_util_1.default.validateModel(request);
|
|
13452
14363
|
let query = {};
|
|
@@ -13473,11 +14384,25 @@ class Client extends openapi_client_1.default {
|
|
|
13473
14384
|
});
|
|
13474
14385
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
13475
14386
|
}
|
|
14387
|
+
/**
|
|
14388
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
14389
|
+
*
|
|
14390
|
+
* @param request ListClusterChecksRequest
|
|
14391
|
+
* @return ListClusterChecksResponse
|
|
14392
|
+
*/
|
|
13476
14393
|
async listClusterChecks(clusterId, request) {
|
|
13477
14394
|
let runtime = new $Util.RuntimeOptions({});
|
|
13478
14395
|
let headers = {};
|
|
13479
14396
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
13480
14397
|
}
|
|
14398
|
+
/**
|
|
14399
|
+
* @summary 获取自动运维执行计划列表
|
|
14400
|
+
*
|
|
14401
|
+
* @param request ListOperationPlansRequest
|
|
14402
|
+
* @param headers map
|
|
14403
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14404
|
+
* @return ListOperationPlansResponse
|
|
14405
|
+
*/
|
|
13481
14406
|
async listOperationPlansWithOptions(request, headers, runtime) {
|
|
13482
14407
|
tea_util_1.default.validateModel(request);
|
|
13483
14408
|
let query = {};
|
|
@@ -13504,11 +14429,25 @@ class Client extends openapi_client_1.default {
|
|
|
13504
14429
|
});
|
|
13505
14430
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
13506
14431
|
}
|
|
14432
|
+
/**
|
|
14433
|
+
* @summary 获取自动运维执行计划列表
|
|
14434
|
+
*
|
|
14435
|
+
* @param request ListOperationPlansRequest
|
|
14436
|
+
* @return ListOperationPlansResponse
|
|
14437
|
+
*/
|
|
13507
14438
|
async listOperationPlans(request) {
|
|
13508
14439
|
let runtime = new $Util.RuntimeOptions({});
|
|
13509
14440
|
let headers = {};
|
|
13510
14441
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
13511
14442
|
}
|
|
14443
|
+
/**
|
|
14444
|
+
* @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.
|
|
14445
|
+
*
|
|
14446
|
+
* @param tmpReq ListTagResourcesRequest
|
|
14447
|
+
* @param headers map
|
|
14448
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14449
|
+
* @return ListTagResourcesResponse
|
|
14450
|
+
*/
|
|
13512
14451
|
async listTagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
13513
14452
|
tea_util_1.default.validateModel(tmpReq);
|
|
13514
14453
|
let request = new ListTagResourcesShrinkRequest({});
|
|
@@ -13552,11 +14491,25 @@ class Client extends openapi_client_1.default {
|
|
|
13552
14491
|
});
|
|
13553
14492
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
13554
14493
|
}
|
|
14494
|
+
/**
|
|
14495
|
+
* @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.
|
|
14496
|
+
*
|
|
14497
|
+
* @param request ListTagResourcesRequest
|
|
14498
|
+
* @return ListTagResourcesResponse
|
|
14499
|
+
*/
|
|
13555
14500
|
async listTagResources(request) {
|
|
13556
14501
|
let runtime = new $Util.RuntimeOptions({});
|
|
13557
14502
|
let headers = {};
|
|
13558
14503
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
13559
14504
|
}
|
|
14505
|
+
/**
|
|
14506
|
+
* @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.
|
|
14507
|
+
*
|
|
14508
|
+
* @param request MigrateClusterRequest
|
|
14509
|
+
* @param headers map
|
|
14510
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14511
|
+
* @return MigrateClusterResponse
|
|
14512
|
+
*/
|
|
13560
14513
|
async migrateClusterWithOptions(clusterId, request, headers, runtime) {
|
|
13561
14514
|
tea_util_1.default.validateModel(request);
|
|
13562
14515
|
let body = {};
|
|
@@ -13583,11 +14536,25 @@ class Client extends openapi_client_1.default {
|
|
|
13583
14536
|
});
|
|
13584
14537
|
return $tea.cast(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
13585
14538
|
}
|
|
14539
|
+
/**
|
|
14540
|
+
* @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.
|
|
14541
|
+
*
|
|
14542
|
+
* @param request MigrateClusterRequest
|
|
14543
|
+
* @return MigrateClusterResponse
|
|
14544
|
+
*/
|
|
13586
14545
|
async migrateCluster(clusterId, request) {
|
|
13587
14546
|
let runtime = new $Util.RuntimeOptions({});
|
|
13588
14547
|
let headers = {};
|
|
13589
14548
|
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
13590
14549
|
}
|
|
14550
|
+
/**
|
|
14551
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
14552
|
+
*
|
|
14553
|
+
* @param request ModifyClusterRequest
|
|
14554
|
+
* @param headers map
|
|
14555
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14556
|
+
* @return ModifyClusterResponse
|
|
14557
|
+
*/
|
|
13591
14558
|
async modifyClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
13592
14559
|
tea_util_1.default.validateModel(request);
|
|
13593
14560
|
let body = {};
|
|
@@ -13650,21 +14617,29 @@ class Client extends openapi_client_1.default {
|
|
|
13650
14617
|
});
|
|
13651
14618
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
13652
14619
|
}
|
|
14620
|
+
/**
|
|
14621
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
14622
|
+
*
|
|
14623
|
+
* @param request ModifyClusterRequest
|
|
14624
|
+
* @return ModifyClusterResponse
|
|
14625
|
+
*/
|
|
13653
14626
|
async modifyCluster(ClusterId, request) {
|
|
13654
14627
|
let runtime = new $Util.RuntimeOptions({});
|
|
13655
14628
|
let headers = {};
|
|
13656
14629
|
return await this.modifyClusterWithOptions(ClusterId, request, headers, runtime);
|
|
13657
14630
|
}
|
|
13658
14631
|
/**
|
|
13659
|
-
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
14632
|
+
* @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.
|
|
14633
|
+
*
|
|
14634
|
+
* @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.
|
|
14635
|
+
* * 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).
|
|
14636
|
+
* * 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).
|
|
14637
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
14638
|
+
*
|
|
14639
|
+
* @param request ModifyClusterAddonRequest
|
|
14640
|
+
* @param headers map
|
|
14641
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14642
|
+
* @return ModifyClusterAddonResponse
|
|
13668
14643
|
*/
|
|
13669
14644
|
async modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime) {
|
|
13670
14645
|
tea_util_1.default.validateModel(request);
|
|
@@ -13690,19 +14665,29 @@ class Client extends openapi_client_1.default {
|
|
|
13690
14665
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterAddonResponse({}));
|
|
13691
14666
|
}
|
|
13692
14667
|
/**
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
14668
|
+
* @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.
|
|
14669
|
+
*
|
|
14670
|
+
* @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.
|
|
14671
|
+
* * 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).
|
|
14672
|
+
* * 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).
|
|
14673
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
14674
|
+
*
|
|
14675
|
+
* @param request ModifyClusterAddonRequest
|
|
14676
|
+
* @return ModifyClusterAddonResponse
|
|
13700
14677
|
*/
|
|
13701
14678
|
async modifyClusterAddon(clusterId, componentId, request) {
|
|
13702
14679
|
let runtime = new $Util.RuntimeOptions({});
|
|
13703
14680
|
let headers = {};
|
|
13704
14681
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
13705
14682
|
}
|
|
14683
|
+
/**
|
|
14684
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
14685
|
+
*
|
|
14686
|
+
* @param request ModifyClusterConfigurationRequest
|
|
14687
|
+
* @param headers map
|
|
14688
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14689
|
+
* @return ModifyClusterConfigurationResponse
|
|
14690
|
+
*/
|
|
13706
14691
|
async modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime) {
|
|
13707
14692
|
tea_util_1.default.validateModel(request);
|
|
13708
14693
|
let body = {};
|
|
@@ -13726,11 +14711,25 @@ class Client extends openapi_client_1.default {
|
|
|
13726
14711
|
});
|
|
13727
14712
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
13728
14713
|
}
|
|
14714
|
+
/**
|
|
14715
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
14716
|
+
*
|
|
14717
|
+
* @param request ModifyClusterConfigurationRequest
|
|
14718
|
+
* @return ModifyClusterConfigurationResponse
|
|
14719
|
+
*/
|
|
13729
14720
|
async modifyClusterConfiguration(ClusterId, request) {
|
|
13730
14721
|
let runtime = new $Util.RuntimeOptions({});
|
|
13731
14722
|
let headers = {};
|
|
13732
14723
|
return await this.modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime);
|
|
13733
14724
|
}
|
|
14725
|
+
/**
|
|
14726
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
14727
|
+
*
|
|
14728
|
+
* @param request ModifyClusterNodePoolRequest
|
|
14729
|
+
* @param headers map
|
|
14730
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14731
|
+
* @return ModifyClusterNodePoolResponse
|
|
14732
|
+
*/
|
|
13734
14733
|
async modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
13735
14734
|
tea_util_1.default.validateModel(request);
|
|
13736
14735
|
let body = {};
|
|
@@ -13775,11 +14774,25 @@ class Client extends openapi_client_1.default {
|
|
|
13775
14774
|
});
|
|
13776
14775
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
13777
14776
|
}
|
|
14777
|
+
/**
|
|
14778
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
14779
|
+
*
|
|
14780
|
+
* @param request ModifyClusterNodePoolRequest
|
|
14781
|
+
* @return ModifyClusterNodePoolResponse
|
|
14782
|
+
*/
|
|
13778
14783
|
async modifyClusterNodePool(ClusterId, NodepoolId, request) {
|
|
13779
14784
|
let runtime = new $Util.RuntimeOptions({});
|
|
13780
14785
|
let headers = {};
|
|
13781
14786
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
13782
14787
|
}
|
|
14788
|
+
/**
|
|
14789
|
+
* @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.
|
|
14790
|
+
*
|
|
14791
|
+
* @param request ModifyClusterTagsRequest
|
|
14792
|
+
* @param headers map
|
|
14793
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14794
|
+
* @return ModifyClusterTagsResponse
|
|
14795
|
+
*/
|
|
13783
14796
|
async modifyClusterTagsWithOptions(ClusterId, request, headers, runtime) {
|
|
13784
14797
|
tea_util_1.default.validateModel(request);
|
|
13785
14798
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -13799,18 +14812,26 @@ class Client extends openapi_client_1.default {
|
|
|
13799
14812
|
});
|
|
13800
14813
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
13801
14814
|
}
|
|
14815
|
+
/**
|
|
14816
|
+
* @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.
|
|
14817
|
+
*
|
|
14818
|
+
* @param request ModifyClusterTagsRequest
|
|
14819
|
+
* @return ModifyClusterTagsResponse
|
|
14820
|
+
*/
|
|
13802
14821
|
async modifyClusterTags(ClusterId, request) {
|
|
13803
14822
|
let runtime = new $Util.RuntimeOptions({});
|
|
13804
14823
|
let headers = {};
|
|
13805
14824
|
return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
|
|
13806
14825
|
}
|
|
13807
14826
|
/**
|
|
13808
|
-
|
|
13809
|
-
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
14827
|
+
* @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.
|
|
14828
|
+
*
|
|
14829
|
+
* @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.
|
|
14830
|
+
*
|
|
14831
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
14832
|
+
* @param headers map
|
|
14833
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14834
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
13814
14835
|
*/
|
|
13815
14836
|
async modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
13816
14837
|
tea_util_1.default.validateModel(request);
|
|
@@ -13842,16 +14863,26 @@ class Client extends openapi_client_1.default {
|
|
|
13842
14863
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
13843
14864
|
}
|
|
13844
14865
|
/**
|
|
13845
|
-
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
|
-
|
|
14866
|
+
* @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.
|
|
14867
|
+
*
|
|
14868
|
+
* @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.
|
|
14869
|
+
*
|
|
14870
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
14871
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
13849
14872
|
*/
|
|
13850
14873
|
async modifyNodePoolNodeConfig(ClusterId, NodepoolId, request) {
|
|
13851
14874
|
let runtime = new $Util.RuntimeOptions({});
|
|
13852
14875
|
let headers = {};
|
|
13853
14876
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
13854
14877
|
}
|
|
14878
|
+
/**
|
|
14879
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14880
|
+
*
|
|
14881
|
+
* @param request ModifyPolicyInstanceRequest
|
|
14882
|
+
* @param headers map
|
|
14883
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14884
|
+
* @return ModifyPolicyInstanceResponse
|
|
14885
|
+
*/
|
|
13855
14886
|
async modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
13856
14887
|
tea_util_1.default.validateModel(request);
|
|
13857
14888
|
let body = {};
|
|
@@ -13884,19 +14915,27 @@ class Client extends openapi_client_1.default {
|
|
|
13884
14915
|
});
|
|
13885
14916
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
13886
14917
|
}
|
|
14918
|
+
/**
|
|
14919
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14920
|
+
*
|
|
14921
|
+
* @param request ModifyPolicyInstanceRequest
|
|
14922
|
+
* @return ModifyPolicyInstanceResponse
|
|
14923
|
+
*/
|
|
13887
14924
|
async modifyPolicyInstance(clusterId, policyName, request) {
|
|
13888
14925
|
let runtime = new $Util.RuntimeOptions({});
|
|
13889
14926
|
let headers = {};
|
|
13890
14927
|
return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
13891
14928
|
}
|
|
13892
14929
|
/**
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
14930
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
14931
|
+
*
|
|
14932
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
14933
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
14934
|
+
*
|
|
14935
|
+
* @param request OpenAckServiceRequest
|
|
14936
|
+
* @param headers map
|
|
14937
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14938
|
+
* @return OpenAckServiceResponse
|
|
13900
14939
|
*/
|
|
13901
14940
|
async openAckServiceWithOptions(request, headers, runtime) {
|
|
13902
14941
|
tea_util_1.default.validateModel(request);
|
|
@@ -13922,11 +14961,13 @@ class Client extends openapi_client_1.default {
|
|
|
13922
14961
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
|
|
13923
14962
|
}
|
|
13924
14963
|
/**
|
|
13925
|
-
|
|
13926
|
-
|
|
13927
|
-
|
|
13928
|
-
|
|
13929
|
-
|
|
14964
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
14965
|
+
*
|
|
14966
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
14967
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
14968
|
+
*
|
|
14969
|
+
* @param request OpenAckServiceRequest
|
|
14970
|
+
* @return OpenAckServiceResponse
|
|
13930
14971
|
*/
|
|
13931
14972
|
async openAckService(request) {
|
|
13932
14973
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -13934,11 +14975,13 @@ class Client extends openapi_client_1.default {
|
|
|
13934
14975
|
return await this.openAckServiceWithOptions(request, headers, runtime);
|
|
13935
14976
|
}
|
|
13936
14977
|
/**
|
|
13937
|
-
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13941
|
-
|
|
14978
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
14979
|
+
*
|
|
14980
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
14981
|
+
*
|
|
14982
|
+
* @param headers map
|
|
14983
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14984
|
+
* @return PauseClusterUpgradeResponse
|
|
13942
14985
|
*/
|
|
13943
14986
|
// Deprecated
|
|
13944
14987
|
async pauseClusterUpgradeWithOptions(ClusterId, headers, runtime) {
|
|
@@ -13959,9 +15002,11 @@ class Client extends openapi_client_1.default {
|
|
|
13959
15002
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseClusterUpgradeResponse({}));
|
|
13960
15003
|
}
|
|
13961
15004
|
/**
|
|
13962
|
-
|
|
13963
|
-
|
|
13964
|
-
|
|
15005
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
15006
|
+
*
|
|
15007
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
15008
|
+
*
|
|
15009
|
+
* @return PauseClusterUpgradeResponse
|
|
13965
15010
|
*/
|
|
13966
15011
|
// Deprecated
|
|
13967
15012
|
async pauseClusterUpgrade(ClusterId) {
|
|
@@ -13969,6 +15014,13 @@ class Client extends openapi_client_1.default {
|
|
|
13969
15014
|
let headers = {};
|
|
13970
15015
|
return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
13971
15016
|
}
|
|
15017
|
+
/**
|
|
15018
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
15019
|
+
*
|
|
15020
|
+
* @param headers map
|
|
15021
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15022
|
+
* @return PauseComponentUpgradeResponse
|
|
15023
|
+
*/
|
|
13972
15024
|
async pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
|
|
13973
15025
|
let req = new $OpenApi.OpenApiRequest({
|
|
13974
15026
|
headers: headers,
|
|
@@ -13986,11 +15038,23 @@ class Client extends openapi_client_1.default {
|
|
|
13986
15038
|
});
|
|
13987
15039
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
13988
15040
|
}
|
|
15041
|
+
/**
|
|
15042
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
15043
|
+
*
|
|
15044
|
+
* @return PauseComponentUpgradeResponse
|
|
15045
|
+
*/
|
|
13989
15046
|
async pauseComponentUpgrade(clusterid, componentid) {
|
|
13990
15047
|
let runtime = new $Util.RuntimeOptions({});
|
|
13991
15048
|
let headers = {};
|
|
13992
15049
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
13993
15050
|
}
|
|
15051
|
+
/**
|
|
15052
|
+
* @summary Pauses an on-going task.
|
|
15053
|
+
*
|
|
15054
|
+
* @param headers map
|
|
15055
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15056
|
+
* @return PauseTaskResponse
|
|
15057
|
+
*/
|
|
13994
15058
|
async pauseTaskWithOptions(taskId, headers, runtime) {
|
|
13995
15059
|
let req = new $OpenApi.OpenApiRequest({
|
|
13996
15060
|
headers: headers,
|
|
@@ -14008,23 +15072,31 @@ class Client extends openapi_client_1.default {
|
|
|
14008
15072
|
});
|
|
14009
15073
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
14010
15074
|
}
|
|
15075
|
+
/**
|
|
15076
|
+
* @summary Pauses an on-going task.
|
|
15077
|
+
*
|
|
15078
|
+
* @return PauseTaskResponse
|
|
15079
|
+
*/
|
|
14011
15080
|
async pauseTask(taskId) {
|
|
14012
15081
|
let runtime = new $Util.RuntimeOptions({});
|
|
14013
15082
|
let headers = {};
|
|
14014
15083
|
return await this.pauseTaskWithOptions(taskId, headers, runtime);
|
|
14015
15084
|
}
|
|
14016
15085
|
/**
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
15086
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
15087
|
+
*
|
|
15088
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
15089
|
+
*
|
|
15090
|
+
* @description ****
|
|
15091
|
+
* * 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.
|
|
15092
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15093
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15094
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
15095
|
+
*
|
|
15096
|
+
* @param request RemoveClusterNodesRequest
|
|
15097
|
+
* @param headers map
|
|
15098
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15099
|
+
* @return RemoveClusterNodesResponse
|
|
14028
15100
|
*/
|
|
14029
15101
|
// Deprecated
|
|
14030
15102
|
async removeClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -14057,15 +15129,18 @@ class Client extends openapi_client_1.default {
|
|
|
14057
15129
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveClusterNodesResponse({}));
|
|
14058
15130
|
}
|
|
14059
15131
|
/**
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
15132
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
15133
|
+
*
|
|
15134
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
15135
|
+
*
|
|
15136
|
+
* @description ****
|
|
15137
|
+
* * 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.
|
|
15138
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15139
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15140
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
15141
|
+
*
|
|
15142
|
+
* @param request RemoveClusterNodesRequest
|
|
15143
|
+
* @return RemoveClusterNodesResponse
|
|
14069
15144
|
*/
|
|
14070
15145
|
// Deprecated
|
|
14071
15146
|
async removeClusterNodes(ClusterId, request) {
|
|
@@ -14074,14 +15149,16 @@ class Client extends openapi_client_1.default {
|
|
|
14074
15149
|
return await this.removeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
14075
15150
|
}
|
|
14076
15151
|
/**
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
15152
|
+
* @summary Removes nodes from a node pool.
|
|
15153
|
+
*
|
|
15154
|
+
* @description **
|
|
15155
|
+
* ****
|
|
15156
|
+
* * 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.
|
|
15157
|
+
*
|
|
15158
|
+
* @param tmpReq RemoveNodePoolNodesRequest
|
|
15159
|
+
* @param headers map
|
|
15160
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15161
|
+
* @return RemoveNodePoolNodesResponse
|
|
14085
15162
|
*/
|
|
14086
15163
|
async removeNodePoolNodesWithOptions(ClusterId, NodepoolId, tmpReq, headers, runtime) {
|
|
14087
15164
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -14127,18 +15204,27 @@ class Client extends openapi_client_1.default {
|
|
|
14127
15204
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
|
|
14128
15205
|
}
|
|
14129
15206
|
/**
|
|
14130
|
-
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
15207
|
+
* @summary Removes nodes from a node pool.
|
|
15208
|
+
*
|
|
15209
|
+
* @description **
|
|
15210
|
+
* ****
|
|
15211
|
+
* * 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.
|
|
15212
|
+
*
|
|
15213
|
+
* @param request RemoveNodePoolNodesRequest
|
|
15214
|
+
* @return RemoveNodePoolNodesResponse
|
|
14136
15215
|
*/
|
|
14137
15216
|
async removeNodePoolNodes(ClusterId, NodepoolId, request) {
|
|
14138
15217
|
let runtime = new $Util.RuntimeOptions({});
|
|
14139
15218
|
let headers = {};
|
|
14140
15219
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
14141
15220
|
}
|
|
15221
|
+
/**
|
|
15222
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15223
|
+
*
|
|
15224
|
+
* @param headers map
|
|
15225
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15226
|
+
* @return RemoveWorkflowResponse
|
|
15227
|
+
*/
|
|
14142
15228
|
async removeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
14143
15229
|
let req = new $OpenApi.OpenApiRequest({
|
|
14144
15230
|
headers: headers,
|
|
@@ -14156,11 +15242,24 @@ class Client extends openapi_client_1.default {
|
|
|
14156
15242
|
});
|
|
14157
15243
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
|
|
14158
15244
|
}
|
|
15245
|
+
/**
|
|
15246
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15247
|
+
*
|
|
15248
|
+
* @return RemoveWorkflowResponse
|
|
15249
|
+
*/
|
|
14159
15250
|
async removeWorkflow(workflowName) {
|
|
14160
15251
|
let runtime = new $Util.RuntimeOptions({});
|
|
14161
15252
|
let headers = {};
|
|
14162
15253
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
14163
15254
|
}
|
|
15255
|
+
/**
|
|
15256
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
15257
|
+
*
|
|
15258
|
+
* @param request RepairClusterNodePoolRequest
|
|
15259
|
+
* @param headers map
|
|
15260
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15261
|
+
* @return RepairClusterNodePoolResponse
|
|
15262
|
+
*/
|
|
14164
15263
|
async repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
14165
15264
|
tea_util_1.default.validateModel(request);
|
|
14166
15265
|
let body = {};
|
|
@@ -14187,11 +15286,24 @@ class Client extends openapi_client_1.default {
|
|
|
14187
15286
|
});
|
|
14188
15287
|
return $tea.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
14189
15288
|
}
|
|
15289
|
+
/**
|
|
15290
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
15291
|
+
*
|
|
15292
|
+
* @param request RepairClusterNodePoolRequest
|
|
15293
|
+
* @return RepairClusterNodePoolResponse
|
|
15294
|
+
*/
|
|
14190
15295
|
async repairClusterNodePool(clusterId, nodepoolId, request) {
|
|
14191
15296
|
let runtime = new $Util.RuntimeOptions({});
|
|
14192
15297
|
let headers = {};
|
|
14193
15298
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
14194
15299
|
}
|
|
15300
|
+
/**
|
|
15301
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
15302
|
+
*
|
|
15303
|
+
* @param headers map
|
|
15304
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15305
|
+
* @return ResumeComponentUpgradeResponse
|
|
15306
|
+
*/
|
|
14195
15307
|
async resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
|
|
14196
15308
|
let req = new $OpenApi.OpenApiRequest({
|
|
14197
15309
|
headers: headers,
|
|
@@ -14209,11 +15321,23 @@ class Client extends openapi_client_1.default {
|
|
|
14209
15321
|
});
|
|
14210
15322
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
14211
15323
|
}
|
|
15324
|
+
/**
|
|
15325
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
15326
|
+
*
|
|
15327
|
+
* @return ResumeComponentUpgradeResponse
|
|
15328
|
+
*/
|
|
14212
15329
|
async resumeComponentUpgrade(clusterid, componentid) {
|
|
14213
15330
|
let runtime = new $Util.RuntimeOptions({});
|
|
14214
15331
|
let headers = {};
|
|
14215
15332
|
return await this.resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
14216
15333
|
}
|
|
15334
|
+
/**
|
|
15335
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
15336
|
+
*
|
|
15337
|
+
* @param headers map
|
|
15338
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15339
|
+
* @return ResumeTaskResponse
|
|
15340
|
+
*/
|
|
14217
15341
|
async resumeTaskWithOptions(taskId, headers, runtime) {
|
|
14218
15342
|
let req = new $OpenApi.OpenApiRequest({
|
|
14219
15343
|
headers: headers,
|
|
@@ -14231,17 +15355,24 @@ class Client extends openapi_client_1.default {
|
|
|
14231
15355
|
});
|
|
14232
15356
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
14233
15357
|
}
|
|
15358
|
+
/**
|
|
15359
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
15360
|
+
*
|
|
15361
|
+
* @return ResumeTaskResponse
|
|
15362
|
+
*/
|
|
14234
15363
|
async resumeTask(taskId) {
|
|
14235
15364
|
let runtime = new $Util.RuntimeOptions({});
|
|
14236
15365
|
let headers = {};
|
|
14237
15366
|
return await this.resumeTaskWithOptions(taskId, headers, runtime);
|
|
14238
15367
|
}
|
|
14239
15368
|
/**
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
15369
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
15370
|
+
*
|
|
15371
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
15372
|
+
*
|
|
15373
|
+
* @param headers map
|
|
15374
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15375
|
+
* @return ResumeUpgradeClusterResponse
|
|
14245
15376
|
*/
|
|
14246
15377
|
// Deprecated
|
|
14247
15378
|
async resumeUpgradeClusterWithOptions(ClusterId, headers, runtime) {
|
|
@@ -14262,9 +15393,11 @@ class Client extends openapi_client_1.default {
|
|
|
14262
15393
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeUpgradeClusterResponse({}));
|
|
14263
15394
|
}
|
|
14264
15395
|
/**
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
15396
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
15397
|
+
*
|
|
15398
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
15399
|
+
*
|
|
15400
|
+
* @return ResumeUpgradeClusterResponse
|
|
14268
15401
|
*/
|
|
14269
15402
|
// Deprecated
|
|
14270
15403
|
async resumeUpgradeCluster(ClusterId) {
|
|
@@ -14272,6 +15405,14 @@ class Client extends openapi_client_1.default {
|
|
|
14272
15405
|
let headers = {};
|
|
14273
15406
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
14274
15407
|
}
|
|
15408
|
+
/**
|
|
15409
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
15410
|
+
*
|
|
15411
|
+
* @param request RunClusterCheckRequest
|
|
15412
|
+
* @param headers map
|
|
15413
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15414
|
+
* @return RunClusterCheckResponse
|
|
15415
|
+
*/
|
|
14275
15416
|
async runClusterCheckWithOptions(clusterId, request, headers, runtime) {
|
|
14276
15417
|
tea_util_1.default.validateModel(request);
|
|
14277
15418
|
let body = {};
|
|
@@ -14301,18 +15442,26 @@ class Client extends openapi_client_1.default {
|
|
|
14301
15442
|
});
|
|
14302
15443
|
return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
14303
15444
|
}
|
|
15445
|
+
/**
|
|
15446
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
15447
|
+
*
|
|
15448
|
+
* @param request RunClusterCheckRequest
|
|
15449
|
+
* @return RunClusterCheckResponse
|
|
15450
|
+
*/
|
|
14304
15451
|
async runClusterCheck(clusterId, request) {
|
|
14305
15452
|
let runtime = new $Util.RuntimeOptions({});
|
|
14306
15453
|
let headers = {};
|
|
14307
15454
|
return await this.runClusterCheckWithOptions(clusterId, request, headers, runtime);
|
|
14308
15455
|
}
|
|
14309
15456
|
/**
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
15457
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
15458
|
+
*
|
|
15459
|
+
* @summary 扩容Kubernetes集群
|
|
15460
|
+
*
|
|
15461
|
+
* @param request ScaleClusterRequest
|
|
15462
|
+
* @param headers map
|
|
15463
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15464
|
+
* @return ScaleClusterResponse
|
|
14316
15465
|
*/
|
|
14317
15466
|
// Deprecated
|
|
14318
15467
|
async scaleClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -14393,10 +15542,12 @@ class Client extends openapi_client_1.default {
|
|
|
14393
15542
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleClusterResponse({}));
|
|
14394
15543
|
}
|
|
14395
15544
|
/**
|
|
14396
|
-
|
|
14397
|
-
|
|
14398
|
-
|
|
14399
|
-
|
|
15545
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
15546
|
+
*
|
|
15547
|
+
* @summary 扩容Kubernetes集群
|
|
15548
|
+
*
|
|
15549
|
+
* @param request ScaleClusterRequest
|
|
15550
|
+
* @return ScaleClusterResponse
|
|
14400
15551
|
*/
|
|
14401
15552
|
// Deprecated
|
|
14402
15553
|
async scaleCluster(ClusterId, request) {
|
|
@@ -14404,6 +15555,14 @@ class Client extends openapi_client_1.default {
|
|
|
14404
15555
|
let headers = {};
|
|
14405
15556
|
return await this.scaleClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14406
15557
|
}
|
|
15558
|
+
/**
|
|
15559
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
15560
|
+
*
|
|
15561
|
+
* @param request ScaleClusterNodePoolRequest
|
|
15562
|
+
* @param headers map
|
|
15563
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15564
|
+
* @return ScaleClusterNodePoolResponse
|
|
15565
|
+
*/
|
|
14407
15566
|
async scaleClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
14408
15567
|
tea_util_1.default.validateModel(request);
|
|
14409
15568
|
let body = {};
|
|
@@ -14427,19 +15586,27 @@ class Client extends openapi_client_1.default {
|
|
|
14427
15586
|
});
|
|
14428
15587
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
14429
15588
|
}
|
|
15589
|
+
/**
|
|
15590
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
15591
|
+
*
|
|
15592
|
+
* @param request ScaleClusterNodePoolRequest
|
|
15593
|
+
* @return ScaleClusterNodePoolResponse
|
|
15594
|
+
*/
|
|
14430
15595
|
async scaleClusterNodePool(ClusterId, NodepoolId, request) {
|
|
14431
15596
|
let runtime = new $Util.RuntimeOptions({});
|
|
14432
15597
|
let headers = {};
|
|
14433
15598
|
return await this.scaleClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
14434
15599
|
}
|
|
14435
15600
|
/**
|
|
14436
|
-
|
|
14437
|
-
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
|
|
15601
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
15602
|
+
*
|
|
15603
|
+
* @description **
|
|
15604
|
+
* ****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).
|
|
15605
|
+
*
|
|
15606
|
+
* @param request ScaleOutClusterRequest
|
|
15607
|
+
* @param headers map
|
|
15608
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15609
|
+
* @return ScaleOutClusterResponse
|
|
14443
15610
|
*/
|
|
14444
15611
|
async scaleOutClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
14445
15612
|
tea_util_1.default.validateModel(request);
|
|
@@ -14525,17 +15692,26 @@ class Client extends openapi_client_1.default {
|
|
|
14525
15692
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
14526
15693
|
}
|
|
14527
15694
|
/**
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
|
|
14532
|
-
|
|
15695
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
15696
|
+
*
|
|
15697
|
+
* @description **
|
|
15698
|
+
* ****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).
|
|
15699
|
+
*
|
|
15700
|
+
* @param request ScaleOutClusterRequest
|
|
15701
|
+
* @return ScaleOutClusterResponse
|
|
14533
15702
|
*/
|
|
14534
15703
|
async scaleOutCluster(ClusterId, request) {
|
|
14535
15704
|
let runtime = new $Util.RuntimeOptions({});
|
|
14536
15705
|
let headers = {};
|
|
14537
15706
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14538
15707
|
}
|
|
15708
|
+
/**
|
|
15709
|
+
* @summary The cluster ID.
|
|
15710
|
+
*
|
|
15711
|
+
* @param headers map
|
|
15712
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15713
|
+
* @return ScanClusterVulsResponse
|
|
15714
|
+
*/
|
|
14539
15715
|
async scanClusterVulsWithOptions(clusterId, headers, runtime) {
|
|
14540
15716
|
let req = new $OpenApi.OpenApiRequest({
|
|
14541
15717
|
headers: headers,
|
|
@@ -14553,11 +15729,22 @@ class Client extends openapi_client_1.default {
|
|
|
14553
15729
|
});
|
|
14554
15730
|
return $tea.cast(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
14555
15731
|
}
|
|
15732
|
+
/**
|
|
15733
|
+
* @summary The cluster ID.
|
|
15734
|
+
*
|
|
15735
|
+
* @return ScanClusterVulsResponse
|
|
15736
|
+
*/
|
|
14556
15737
|
async scanClusterVuls(clusterId) {
|
|
14557
15738
|
let runtime = new $Util.RuntimeOptions({});
|
|
14558
15739
|
let headers = {};
|
|
14559
15740
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
14560
15741
|
}
|
|
15742
|
+
/**
|
|
15743
|
+
* @param request StartAlertRequest
|
|
15744
|
+
* @param headers map
|
|
15745
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15746
|
+
* @return StartAlertResponse
|
|
15747
|
+
*/
|
|
14561
15748
|
async startAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14562
15749
|
tea_util_1.default.validateModel(request);
|
|
14563
15750
|
let body = {};
|
|
@@ -14584,11 +15771,23 @@ class Client extends openapi_client_1.default {
|
|
|
14584
15771
|
});
|
|
14585
15772
|
return $tea.cast(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
14586
15773
|
}
|
|
15774
|
+
/**
|
|
15775
|
+
* @param request StartAlertRequest
|
|
15776
|
+
* @return StartAlertResponse
|
|
15777
|
+
*/
|
|
14587
15778
|
async startAlert(ClusterId, request) {
|
|
14588
15779
|
let runtime = new $Util.RuntimeOptions({});
|
|
14589
15780
|
let headers = {};
|
|
14590
15781
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14591
15782
|
}
|
|
15783
|
+
/**
|
|
15784
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
15785
|
+
*
|
|
15786
|
+
* @param request StartWorkflowRequest
|
|
15787
|
+
* @param headers map
|
|
15788
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15789
|
+
* @return StartWorkflowResponse
|
|
15790
|
+
*/
|
|
14592
15791
|
async startWorkflowWithOptions(request, headers, runtime) {
|
|
14593
15792
|
tea_util_1.default.validateModel(request);
|
|
14594
15793
|
let body = {};
|
|
@@ -14666,11 +15865,25 @@ class Client extends openapi_client_1.default {
|
|
|
14666
15865
|
});
|
|
14667
15866
|
return $tea.cast(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
14668
15867
|
}
|
|
15868
|
+
/**
|
|
15869
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
15870
|
+
*
|
|
15871
|
+
* @param request StartWorkflowRequest
|
|
15872
|
+
* @return StartWorkflowResponse
|
|
15873
|
+
*/
|
|
14669
15874
|
async startWorkflow(request) {
|
|
14670
15875
|
let runtime = new $Util.RuntimeOptions({});
|
|
14671
15876
|
let headers = {};
|
|
14672
15877
|
return await this.startWorkflowWithOptions(request, headers, runtime);
|
|
14673
15878
|
}
|
|
15879
|
+
/**
|
|
15880
|
+
* @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).
|
|
15881
|
+
*
|
|
15882
|
+
* @param request StopAlertRequest
|
|
15883
|
+
* @param headers map
|
|
15884
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15885
|
+
* @return StopAlertResponse
|
|
15886
|
+
*/
|
|
14674
15887
|
async stopAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14675
15888
|
tea_util_1.default.validateModel(request);
|
|
14676
15889
|
let body = {};
|
|
@@ -14697,11 +15910,24 @@ class Client extends openapi_client_1.default {
|
|
|
14697
15910
|
});
|
|
14698
15911
|
return $tea.cast(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
14699
15912
|
}
|
|
15913
|
+
/**
|
|
15914
|
+
* @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).
|
|
15915
|
+
*
|
|
15916
|
+
* @param request StopAlertRequest
|
|
15917
|
+
* @return StopAlertResponse
|
|
15918
|
+
*/
|
|
14700
15919
|
async stopAlert(ClusterId, request) {
|
|
14701
15920
|
let runtime = new $Util.RuntimeOptions({});
|
|
14702
15921
|
let headers = {};
|
|
14703
15922
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14704
15923
|
}
|
|
15924
|
+
/**
|
|
15925
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
15926
|
+
*
|
|
15927
|
+
* @param headers map
|
|
15928
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15929
|
+
* @return SyncClusterNodePoolResponse
|
|
15930
|
+
*/
|
|
14705
15931
|
async syncClusterNodePoolWithOptions(ClusterId, headers, runtime) {
|
|
14706
15932
|
let req = new $OpenApi.OpenApiRequest({
|
|
14707
15933
|
headers: headers,
|
|
@@ -14719,11 +15945,24 @@ class Client extends openapi_client_1.default {
|
|
|
14719
15945
|
});
|
|
14720
15946
|
return $tea.cast(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
14721
15947
|
}
|
|
15948
|
+
/**
|
|
15949
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
15950
|
+
*
|
|
15951
|
+
* @return SyncClusterNodePoolResponse
|
|
15952
|
+
*/
|
|
14722
15953
|
async syncClusterNodePool(ClusterId) {
|
|
14723
15954
|
let runtime = new $Util.RuntimeOptions({});
|
|
14724
15955
|
let headers = {};
|
|
14725
15956
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
14726
15957
|
}
|
|
15958
|
+
/**
|
|
15959
|
+
* @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.
|
|
15960
|
+
*
|
|
15961
|
+
* @param request TagResourcesRequest
|
|
15962
|
+
* @param headers map
|
|
15963
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15964
|
+
* @return TagResourcesResponse
|
|
15965
|
+
*/
|
|
14727
15966
|
async tagResourcesWithOptions(request, headers, runtime) {
|
|
14728
15967
|
tea_util_1.default.validateModel(request);
|
|
14729
15968
|
let body = {};
|
|
@@ -14756,11 +15995,25 @@ class Client extends openapi_client_1.default {
|
|
|
14756
15995
|
});
|
|
14757
15996
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
14758
15997
|
}
|
|
15998
|
+
/**
|
|
15999
|
+
* @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.
|
|
16000
|
+
*
|
|
16001
|
+
* @param request TagResourcesRequest
|
|
16002
|
+
* @return TagResourcesResponse
|
|
16003
|
+
*/
|
|
14759
16004
|
async tagResources(request) {
|
|
14760
16005
|
let runtime = new $Util.RuntimeOptions({});
|
|
14761
16006
|
let headers = {};
|
|
14762
16007
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
14763
16008
|
}
|
|
16009
|
+
/**
|
|
16010
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
16011
|
+
*
|
|
16012
|
+
* @param request UnInstallClusterAddonsRequest
|
|
16013
|
+
* @param headers map
|
|
16014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16015
|
+
* @return UnInstallClusterAddonsResponse
|
|
16016
|
+
*/
|
|
14764
16017
|
async unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
14765
16018
|
tea_util_1.default.validateModel(request);
|
|
14766
16019
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -14780,11 +16033,25 @@ class Client extends openapi_client_1.default {
|
|
|
14780
16033
|
});
|
|
14781
16034
|
return $tea.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
14782
16035
|
}
|
|
16036
|
+
/**
|
|
16037
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
16038
|
+
*
|
|
16039
|
+
* @param request UnInstallClusterAddonsRequest
|
|
16040
|
+
* @return UnInstallClusterAddonsResponse
|
|
16041
|
+
*/
|
|
14783
16042
|
async unInstallClusterAddons(ClusterId, request) {
|
|
14784
16043
|
let runtime = new $Util.RuntimeOptions({});
|
|
14785
16044
|
let headers = {};
|
|
14786
16045
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
14787
16046
|
}
|
|
16047
|
+
/**
|
|
16048
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
16049
|
+
*
|
|
16050
|
+
* @param tmpReq UntagResourcesRequest
|
|
16051
|
+
* @param headers map
|
|
16052
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16053
|
+
* @return UntagResourcesResponse
|
|
16054
|
+
*/
|
|
14788
16055
|
async untagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
14789
16056
|
tea_util_1.default.validateModel(tmpReq);
|
|
14790
16057
|
let request = new UntagResourcesShrinkRequest({});
|
|
@@ -14828,11 +16095,22 @@ class Client extends openapi_client_1.default {
|
|
|
14828
16095
|
});
|
|
14829
16096
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
14830
16097
|
}
|
|
16098
|
+
/**
|
|
16099
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
16100
|
+
*
|
|
16101
|
+
* @param request UntagResourcesRequest
|
|
16102
|
+
* @return UntagResourcesResponse
|
|
16103
|
+
*/
|
|
14831
16104
|
async untagResources(request) {
|
|
14832
16105
|
let runtime = new $Util.RuntimeOptions({});
|
|
14833
16106
|
let headers = {};
|
|
14834
16107
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
14835
16108
|
}
|
|
16109
|
+
/**
|
|
16110
|
+
* @param headers map
|
|
16111
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16112
|
+
* @return UpdateContactGroupForAlertResponse
|
|
16113
|
+
*/
|
|
14836
16114
|
async updateContactGroupForAlertWithOptions(ClusterId, headers, runtime) {
|
|
14837
16115
|
let req = new $OpenApi.OpenApiRequest({
|
|
14838
16116
|
headers: headers,
|
|
@@ -14850,11 +16128,22 @@ class Client extends openapi_client_1.default {
|
|
|
14850
16128
|
});
|
|
14851
16129
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
14852
16130
|
}
|
|
16131
|
+
/**
|
|
16132
|
+
* @return UpdateContactGroupForAlertResponse
|
|
16133
|
+
*/
|
|
14853
16134
|
async updateContactGroupForAlert(ClusterId) {
|
|
14854
16135
|
let runtime = new $Util.RuntimeOptions({});
|
|
14855
16136
|
let headers = {};
|
|
14856
16137
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, headers, runtime);
|
|
14857
16138
|
}
|
|
16139
|
+
/**
|
|
16140
|
+
* @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.
|
|
16141
|
+
*
|
|
16142
|
+
* @param request UpdateControlPlaneLogRequest
|
|
16143
|
+
* @param headers map
|
|
16144
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16145
|
+
* @return UpdateControlPlaneLogResponse
|
|
16146
|
+
*/
|
|
14858
16147
|
async updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime) {
|
|
14859
16148
|
tea_util_1.default.validateModel(request);
|
|
14860
16149
|
let body = {};
|
|
@@ -14887,20 +16176,28 @@ class Client extends openapi_client_1.default {
|
|
|
14887
16176
|
});
|
|
14888
16177
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
14889
16178
|
}
|
|
16179
|
+
/**
|
|
16180
|
+
* @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.
|
|
16181
|
+
*
|
|
16182
|
+
* @param request UpdateControlPlaneLogRequest
|
|
16183
|
+
* @return UpdateControlPlaneLogResponse
|
|
16184
|
+
*/
|
|
14890
16185
|
async updateControlPlaneLog(ClusterId, request) {
|
|
14891
16186
|
let runtime = new $Util.RuntimeOptions({});
|
|
14892
16187
|
let headers = {};
|
|
14893
16188
|
return await this.updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime);
|
|
14894
16189
|
}
|
|
14895
16190
|
/**
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
16191
|
+
* @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.
|
|
16192
|
+
*
|
|
16193
|
+
* @description **
|
|
16194
|
+
* ****
|
|
16195
|
+
* * 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.
|
|
16196
|
+
*
|
|
16197
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16198
|
+
* @param headers map
|
|
16199
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16200
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
14904
16201
|
*/
|
|
14905
16202
|
async updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime) {
|
|
14906
16203
|
tea_util_1.default.validateModel(request);
|
|
@@ -14929,18 +16226,28 @@ class Client extends openapi_client_1.default {
|
|
|
14929
16226
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
|
|
14930
16227
|
}
|
|
14931
16228
|
/**
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
16229
|
+
* @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.
|
|
16230
|
+
*
|
|
16231
|
+
* @description **
|
|
16232
|
+
* ****
|
|
16233
|
+
* * 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.
|
|
16234
|
+
*
|
|
16235
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16236
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
14938
16237
|
*/
|
|
14939
16238
|
async updateK8sClusterUserConfigExpire(ClusterId, request) {
|
|
14940
16239
|
let runtime = new $Util.RuntimeOptions({});
|
|
14941
16240
|
let headers = {};
|
|
14942
16241
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
14943
16242
|
}
|
|
16243
|
+
/**
|
|
16244
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
16245
|
+
*
|
|
16246
|
+
* @param request UpdateTemplateRequest
|
|
16247
|
+
* @param headers map
|
|
16248
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16249
|
+
* @return UpdateTemplateResponse
|
|
16250
|
+
*/
|
|
14944
16251
|
async updateTemplateWithOptions(TemplateId, request, headers, runtime) {
|
|
14945
16252
|
tea_util_1.default.validateModel(request);
|
|
14946
16253
|
let body = {};
|
|
@@ -14976,11 +16283,25 @@ class Client extends openapi_client_1.default {
|
|
|
14976
16283
|
});
|
|
14977
16284
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
14978
16285
|
}
|
|
16286
|
+
/**
|
|
16287
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
16288
|
+
*
|
|
16289
|
+
* @param request UpdateTemplateRequest
|
|
16290
|
+
* @return UpdateTemplateResponse
|
|
16291
|
+
*/
|
|
14979
16292
|
async updateTemplate(TemplateId, request) {
|
|
14980
16293
|
let runtime = new $Util.RuntimeOptions({});
|
|
14981
16294
|
let headers = {};
|
|
14982
16295
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
14983
16296
|
}
|
|
16297
|
+
/**
|
|
16298
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
16299
|
+
*
|
|
16300
|
+
* @param request UpdateUserPermissionsRequest
|
|
16301
|
+
* @param headers map
|
|
16302
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16303
|
+
* @return UpdateUserPermissionsResponse
|
|
16304
|
+
*/
|
|
14984
16305
|
async updateUserPermissionsWithOptions(uid, request, headers, runtime) {
|
|
14985
16306
|
tea_util_1.default.validateModel(request);
|
|
14986
16307
|
let query = {};
|
|
@@ -15005,11 +16326,25 @@ class Client extends openapi_client_1.default {
|
|
|
15005
16326
|
});
|
|
15006
16327
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
15007
16328
|
}
|
|
16329
|
+
/**
|
|
16330
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
16331
|
+
*
|
|
16332
|
+
* @param request UpdateUserPermissionsRequest
|
|
16333
|
+
* @return UpdateUserPermissionsResponse
|
|
16334
|
+
*/
|
|
15008
16335
|
async updateUserPermissions(uid, request) {
|
|
15009
16336
|
let runtime = new $Util.RuntimeOptions({});
|
|
15010
16337
|
let headers = {};
|
|
15011
16338
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
15012
16339
|
}
|
|
16340
|
+
/**
|
|
16341
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
16342
|
+
*
|
|
16343
|
+
* @param request UpgradeClusterRequest
|
|
16344
|
+
* @param headers map
|
|
16345
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16346
|
+
* @return UpgradeClusterResponse
|
|
16347
|
+
*/
|
|
15013
16348
|
async upgradeClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
15014
16349
|
tea_util_1.default.validateModel(request);
|
|
15015
16350
|
let body = {};
|
|
@@ -15042,11 +16377,25 @@ class Client extends openapi_client_1.default {
|
|
|
15042
16377
|
});
|
|
15043
16378
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
15044
16379
|
}
|
|
16380
|
+
/**
|
|
16381
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
16382
|
+
*
|
|
16383
|
+
* @param request UpgradeClusterRequest
|
|
16384
|
+
* @return UpgradeClusterResponse
|
|
16385
|
+
*/
|
|
15045
16386
|
async upgradeCluster(ClusterId, request) {
|
|
15046
16387
|
let runtime = new $Util.RuntimeOptions({});
|
|
15047
16388
|
let headers = {};
|
|
15048
16389
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
15049
16390
|
}
|
|
16391
|
+
/**
|
|
16392
|
+
* @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.
|
|
16393
|
+
*
|
|
16394
|
+
* @param request UpgradeClusterAddonsRequest
|
|
16395
|
+
* @param headers map
|
|
16396
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16397
|
+
* @return UpgradeClusterAddonsResponse
|
|
16398
|
+
*/
|
|
15050
16399
|
async upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
15051
16400
|
tea_util_1.default.validateModel(request);
|
|
15052
16401
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -15066,18 +16415,26 @@ class Client extends openapi_client_1.default {
|
|
|
15066
16415
|
});
|
|
15067
16416
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
15068
16417
|
}
|
|
16418
|
+
/**
|
|
16419
|
+
* @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.
|
|
16420
|
+
*
|
|
16421
|
+
* @param request UpgradeClusterAddonsRequest
|
|
16422
|
+
* @return UpgradeClusterAddonsResponse
|
|
16423
|
+
*/
|
|
15069
16424
|
async upgradeClusterAddons(ClusterId, request) {
|
|
15070
16425
|
let runtime = new $Util.RuntimeOptions({});
|
|
15071
16426
|
let headers = {};
|
|
15072
16427
|
return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
15073
16428
|
}
|
|
15074
16429
|
/**
|
|
15075
|
-
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
|
|
16430
|
+
* @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.
|
|
16431
|
+
*
|
|
16432
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16433
|
+
*
|
|
16434
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
16435
|
+
* @param headers map
|
|
16436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16437
|
+
* @return UpgradeClusterNodepoolResponse
|
|
15081
16438
|
*/
|
|
15082
16439
|
async upgradeClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
15083
16440
|
tea_util_1.default.validateModel(request);
|
|
@@ -15121,10 +16478,12 @@ class Client extends openapi_client_1.default {
|
|
|
15121
16478
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
|
|
15122
16479
|
}
|
|
15123
16480
|
/**
|
|
15124
|
-
|
|
15125
|
-
|
|
15126
|
-
|
|
15127
|
-
|
|
16481
|
+
* @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.
|
|
16482
|
+
*
|
|
16483
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16484
|
+
*
|
|
16485
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
16486
|
+
* @return UpgradeClusterNodepoolResponse
|
|
15128
16487
|
*/
|
|
15129
16488
|
async upgradeClusterNodepool(ClusterId, NodepoolId, request) {
|
|
15130
16489
|
let runtime = new $Util.RuntimeOptions({});
|