@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/src/client.ts
CHANGED
|
@@ -4007,6 +4007,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
4007
4007
|
kubernetesVersion?: string;
|
|
4008
4008
|
mode?: string;
|
|
4009
4009
|
profile?: string;
|
|
4010
|
+
queryUpgradableVersion?: boolean;
|
|
4010
4011
|
region?: string;
|
|
4011
4012
|
runtime?: string;
|
|
4012
4013
|
static names(): { [key: string]: string } {
|
|
@@ -4015,6 +4016,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
4015
4016
|
kubernetesVersion: 'KubernetesVersion',
|
|
4016
4017
|
mode: 'Mode',
|
|
4017
4018
|
profile: 'Profile',
|
|
4019
|
+
queryUpgradableVersion: 'QueryUpgradableVersion',
|
|
4018
4020
|
region: 'Region',
|
|
4019
4021
|
runtime: 'runtime',
|
|
4020
4022
|
};
|
|
@@ -4026,6 +4028,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
4026
4028
|
kubernetesVersion: 'string',
|
|
4027
4029
|
mode: 'string',
|
|
4028
4030
|
profile: 'string',
|
|
4031
|
+
queryUpgradableVersion: 'boolean',
|
|
4029
4032
|
region: 'string',
|
|
4030
4033
|
runtime: 'string',
|
|
4031
4034
|
};
|
|
@@ -11397,6 +11400,7 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
11397
11400
|
releaseDate?: string;
|
|
11398
11401
|
expirationDate?: string;
|
|
11399
11402
|
creatable?: boolean;
|
|
11403
|
+
upgradableVersions?: string[];
|
|
11400
11404
|
static names(): { [key: string]: string } {
|
|
11401
11405
|
return {
|
|
11402
11406
|
capabilities: 'capabilities',
|
|
@@ -11407,6 +11411,7 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
11407
11411
|
releaseDate: 'release_date',
|
|
11408
11412
|
expirationDate: 'expiration_date',
|
|
11409
11413
|
creatable: 'creatable',
|
|
11414
|
+
upgradableVersions: 'upgradable_versions',
|
|
11410
11415
|
};
|
|
11411
11416
|
}
|
|
11412
11417
|
|
|
@@ -11420,6 +11425,7 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $tea.Model {
|
|
|
11420
11425
|
releaseDate: 'string',
|
|
11421
11426
|
expirationDate: 'string',
|
|
11422
11427
|
creatable: 'boolean',
|
|
11428
|
+
upgradableVersions: { 'type': 'array', 'itemType': 'string' },
|
|
11423
11429
|
};
|
|
11424
11430
|
}
|
|
11425
11431
|
|
|
@@ -13364,6 +13370,14 @@ export default class Client extends OpenApi {
|
|
|
13364
13370
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
13365
13371
|
}
|
|
13366
13372
|
|
|
13373
|
+
/**
|
|
13374
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
13375
|
+
*
|
|
13376
|
+
* @param request AttachInstancesRequest
|
|
13377
|
+
* @param headers map
|
|
13378
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13379
|
+
* @return AttachInstancesResponse
|
|
13380
|
+
*/
|
|
13367
13381
|
async attachInstancesWithOptions(ClusterId: string, request: AttachInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse> {
|
|
13368
13382
|
Util.validateModel(request);
|
|
13369
13383
|
let body : {[key: string ]: any} = { };
|
|
@@ -13437,12 +13451,26 @@ export default class Client extends OpenApi {
|
|
|
13437
13451
|
return $tea.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
13438
13452
|
}
|
|
13439
13453
|
|
|
13454
|
+
/**
|
|
13455
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
13456
|
+
*
|
|
13457
|
+
* @param request AttachInstancesRequest
|
|
13458
|
+
* @return AttachInstancesResponse
|
|
13459
|
+
*/
|
|
13440
13460
|
async attachInstances(ClusterId: string, request: AttachInstancesRequest): Promise<AttachInstancesResponse> {
|
|
13441
13461
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13442
13462
|
let headers : {[key: string ]: string} = { };
|
|
13443
13463
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
13444
13464
|
}
|
|
13445
13465
|
|
|
13466
|
+
/**
|
|
13467
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
13468
|
+
*
|
|
13469
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
13470
|
+
* @param headers map
|
|
13471
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13472
|
+
* @return AttachInstancesToNodePoolResponse
|
|
13473
|
+
*/
|
|
13446
13474
|
async attachInstancesToNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: AttachInstancesToNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesToNodePoolResponse> {
|
|
13447
13475
|
Util.validateModel(request);
|
|
13448
13476
|
let body : {[key: string ]: any} = { };
|
|
@@ -13480,6 +13508,12 @@ export default class Client extends OpenApi {
|
|
|
13480
13508
|
return $tea.cast<AttachInstancesToNodePoolResponse>(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
13481
13509
|
}
|
|
13482
13510
|
|
|
13511
|
+
/**
|
|
13512
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
13513
|
+
*
|
|
13514
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
13515
|
+
* @return AttachInstancesToNodePoolResponse
|
|
13516
|
+
*/
|
|
13483
13517
|
async attachInstancesToNodePool(ClusterId: string, NodepoolId: string, request: AttachInstancesToNodePoolRequest): Promise<AttachInstancesToNodePoolResponse> {
|
|
13484
13518
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13485
13519
|
let headers : {[key: string ]: string} = { };
|
|
@@ -13487,11 +13521,13 @@ export default class Client extends OpenApi {
|
|
|
13487
13521
|
}
|
|
13488
13522
|
|
|
13489
13523
|
/**
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
13524
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
13525
|
+
*
|
|
13526
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
13527
|
+
*
|
|
13528
|
+
* @param headers map
|
|
13529
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13530
|
+
* @return CancelClusterUpgradeResponse
|
|
13495
13531
|
*/
|
|
13496
13532
|
// Deprecated
|
|
13497
13533
|
async cancelClusterUpgradeWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelClusterUpgradeResponse> {
|
|
@@ -13513,9 +13549,11 @@ export default class Client extends OpenApi {
|
|
|
13513
13549
|
}
|
|
13514
13550
|
|
|
13515
13551
|
/**
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13552
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
13553
|
+
*
|
|
13554
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
13555
|
+
*
|
|
13556
|
+
* @return CancelClusterUpgradeResponse
|
|
13519
13557
|
*/
|
|
13520
13558
|
// Deprecated
|
|
13521
13559
|
async cancelClusterUpgrade(ClusterId: string): Promise<CancelClusterUpgradeResponse> {
|
|
@@ -13524,6 +13562,13 @@ export default class Client extends OpenApi {
|
|
|
13524
13562
|
return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
13525
13563
|
}
|
|
13526
13564
|
|
|
13565
|
+
/**
|
|
13566
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
13567
|
+
*
|
|
13568
|
+
* @param headers map
|
|
13569
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13570
|
+
* @return CancelComponentUpgradeResponse
|
|
13571
|
+
*/
|
|
13527
13572
|
async cancelComponentUpgradeWithOptions(clusterId: string, componentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelComponentUpgradeResponse> {
|
|
13528
13573
|
let req = new $OpenApi.OpenApiRequest({
|
|
13529
13574
|
headers: headers,
|
|
@@ -13542,12 +13587,24 @@ export default class Client extends OpenApi {
|
|
|
13542
13587
|
return $tea.cast<CancelComponentUpgradeResponse>(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
13543
13588
|
}
|
|
13544
13589
|
|
|
13590
|
+
/**
|
|
13591
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
13592
|
+
*
|
|
13593
|
+
* @return CancelComponentUpgradeResponse
|
|
13594
|
+
*/
|
|
13545
13595
|
async cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse> {
|
|
13546
13596
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13547
13597
|
let headers : {[key: string ]: string} = { };
|
|
13548
13598
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
13549
13599
|
}
|
|
13550
13600
|
|
|
13601
|
+
/**
|
|
13602
|
+
* @summary 取消自动运维执行计划
|
|
13603
|
+
*
|
|
13604
|
+
* @param headers map
|
|
13605
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13606
|
+
* @return CancelOperationPlanResponse
|
|
13607
|
+
*/
|
|
13551
13608
|
async cancelOperationPlanWithOptions(planId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse> {
|
|
13552
13609
|
let req = new $OpenApi.OpenApiRequest({
|
|
13553
13610
|
headers: headers,
|
|
@@ -13566,12 +13623,24 @@ export default class Client extends OpenApi {
|
|
|
13566
13623
|
return $tea.cast<CancelOperationPlanResponse>(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
13567
13624
|
}
|
|
13568
13625
|
|
|
13626
|
+
/**
|
|
13627
|
+
* @summary 取消自动运维执行计划
|
|
13628
|
+
*
|
|
13629
|
+
* @return CancelOperationPlanResponse
|
|
13630
|
+
*/
|
|
13569
13631
|
async cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse> {
|
|
13570
13632
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13571
13633
|
let headers : {[key: string ]: string} = { };
|
|
13572
13634
|
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
13573
13635
|
}
|
|
13574
13636
|
|
|
13637
|
+
/**
|
|
13638
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
13639
|
+
*
|
|
13640
|
+
* @param headers map
|
|
13641
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13642
|
+
* @return CancelTaskResponse
|
|
13643
|
+
*/
|
|
13575
13644
|
async cancelTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse> {
|
|
13576
13645
|
let req = new $OpenApi.OpenApiRequest({
|
|
13577
13646
|
headers: headers,
|
|
@@ -13590,12 +13659,25 @@ export default class Client extends OpenApi {
|
|
|
13590
13659
|
return $tea.cast<CancelTaskResponse>(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
13591
13660
|
}
|
|
13592
13661
|
|
|
13662
|
+
/**
|
|
13663
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
13664
|
+
*
|
|
13665
|
+
* @return CancelTaskResponse
|
|
13666
|
+
*/
|
|
13593
13667
|
async cancelTask(taskId: string): Promise<CancelTaskResponse> {
|
|
13594
13668
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13595
13669
|
let headers : {[key: string ]: string} = { };
|
|
13596
13670
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
13597
13671
|
}
|
|
13598
13672
|
|
|
13673
|
+
/**
|
|
13674
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
13675
|
+
*
|
|
13676
|
+
* @param request CancelWorkflowRequest
|
|
13677
|
+
* @param headers map
|
|
13678
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13679
|
+
* @return CancelWorkflowResponse
|
|
13680
|
+
*/
|
|
13599
13681
|
async cancelWorkflowWithOptions(workflowName: string, request: CancelWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse> {
|
|
13600
13682
|
Util.validateModel(request);
|
|
13601
13683
|
let body : {[key: string ]: any} = { };
|
|
@@ -13621,12 +13703,25 @@ export default class Client extends OpenApi {
|
|
|
13621
13703
|
return $tea.cast<CancelWorkflowResponse>(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
|
|
13622
13704
|
}
|
|
13623
13705
|
|
|
13706
|
+
/**
|
|
13707
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
13708
|
+
*
|
|
13709
|
+
* @param request CancelWorkflowRequest
|
|
13710
|
+
* @return CancelWorkflowResponse
|
|
13711
|
+
*/
|
|
13624
13712
|
async cancelWorkflow(workflowName: string, request: CancelWorkflowRequest): Promise<CancelWorkflowResponse> {
|
|
13625
13713
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13626
13714
|
let headers : {[key: string ]: string} = { };
|
|
13627
13715
|
return await this.cancelWorkflowWithOptions(workflowName, request, headers, runtime);
|
|
13628
13716
|
}
|
|
13629
13717
|
|
|
13718
|
+
/**
|
|
13719
|
+
* @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.
|
|
13720
|
+
*
|
|
13721
|
+
* @param headers map
|
|
13722
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13723
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
13724
|
+
*/
|
|
13630
13725
|
async checkControlPlaneLogEnableWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CheckControlPlaneLogEnableResponse> {
|
|
13631
13726
|
let req = new $OpenApi.OpenApiRequest({
|
|
13632
13727
|
headers: headers,
|
|
@@ -13645,12 +13740,25 @@ export default class Client extends OpenApi {
|
|
|
13645
13740
|
return $tea.cast<CheckControlPlaneLogEnableResponse>(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
13646
13741
|
}
|
|
13647
13742
|
|
|
13743
|
+
/**
|
|
13744
|
+
* @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.
|
|
13745
|
+
*
|
|
13746
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
13747
|
+
*/
|
|
13648
13748
|
async checkControlPlaneLogEnable(ClusterId: string): Promise<CheckControlPlaneLogEnableResponse> {
|
|
13649
13749
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13650
13750
|
let headers : {[key: string ]: string} = { };
|
|
13651
13751
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
13652
13752
|
}
|
|
13653
13753
|
|
|
13754
|
+
/**
|
|
13755
|
+
* @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.
|
|
13756
|
+
*
|
|
13757
|
+
* @param request CreateAutoscalingConfigRequest
|
|
13758
|
+
* @param headers map
|
|
13759
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13760
|
+
* @return CreateAutoscalingConfigResponse
|
|
13761
|
+
*/
|
|
13654
13762
|
async createAutoscalingConfigWithOptions(ClusterId: string, request: CreateAutoscalingConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAutoscalingConfigResponse> {
|
|
13655
13763
|
Util.validateModel(request);
|
|
13656
13764
|
let body : {[key: string ]: any} = { };
|
|
@@ -13728,6 +13836,12 @@ export default class Client extends OpenApi {
|
|
|
13728
13836
|
return $tea.cast<CreateAutoscalingConfigResponse>(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
13729
13837
|
}
|
|
13730
13838
|
|
|
13839
|
+
/**
|
|
13840
|
+
* @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.
|
|
13841
|
+
*
|
|
13842
|
+
* @param request CreateAutoscalingConfigRequest
|
|
13843
|
+
* @return CreateAutoscalingConfigResponse
|
|
13844
|
+
*/
|
|
13731
13845
|
async createAutoscalingConfig(ClusterId: string, request: CreateAutoscalingConfigRequest): Promise<CreateAutoscalingConfigResponse> {
|
|
13732
13846
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13733
13847
|
let headers : {[key: string ]: string} = { };
|
|
@@ -13735,18 +13849,20 @@ export default class Client extends OpenApi {
|
|
|
13735
13849
|
}
|
|
13736
13850
|
|
|
13737
13851
|
/**
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
13852
|
+
* @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.
|
|
13853
|
+
*
|
|
13854
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
13855
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
13856
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
13857
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
13858
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
13859
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
13860
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
13861
|
+
*
|
|
13862
|
+
* @param request CreateClusterRequest
|
|
13863
|
+
* @param headers map
|
|
13864
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13865
|
+
* @return CreateClusterResponse
|
|
13750
13866
|
*/
|
|
13751
13867
|
async createClusterWithOptions(request: CreateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse> {
|
|
13752
13868
|
Util.validateModel(request);
|
|
@@ -14134,16 +14250,18 @@ export default class Client extends OpenApi {
|
|
|
14134
14250
|
}
|
|
14135
14251
|
|
|
14136
14252
|
/**
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14253
|
+
* @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.
|
|
14254
|
+
*
|
|
14255
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
14256
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
14257
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
14258
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
14259
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
14260
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
14261
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
14262
|
+
*
|
|
14263
|
+
* @param request CreateClusterRequest
|
|
14264
|
+
* @return CreateClusterResponse
|
|
14147
14265
|
*/
|
|
14148
14266
|
async createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse> {
|
|
14149
14267
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -14151,6 +14269,14 @@ export default class Client extends OpenApi {
|
|
|
14151
14269
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
14152
14270
|
}
|
|
14153
14271
|
|
|
14272
|
+
/**
|
|
14273
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
14274
|
+
*
|
|
14275
|
+
* @param request CreateClusterNodePoolRequest
|
|
14276
|
+
* @param headers map
|
|
14277
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14278
|
+
* @return CreateClusterNodePoolResponse
|
|
14279
|
+
*/
|
|
14154
14280
|
async createClusterNodePoolWithOptions(ClusterId: string, request: CreateClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse> {
|
|
14155
14281
|
Util.validateModel(request);
|
|
14156
14282
|
let body : {[key: string ]: any} = { };
|
|
@@ -14216,12 +14342,26 @@ export default class Client extends OpenApi {
|
|
|
14216
14342
|
return $tea.cast<CreateClusterNodePoolResponse>(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
14217
14343
|
}
|
|
14218
14344
|
|
|
14345
|
+
/**
|
|
14346
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
14347
|
+
*
|
|
14348
|
+
* @param request CreateClusterNodePoolRequest
|
|
14349
|
+
* @return CreateClusterNodePoolResponse
|
|
14350
|
+
*/
|
|
14219
14351
|
async createClusterNodePool(ClusterId: string, request: CreateClusterNodePoolRequest): Promise<CreateClusterNodePoolResponse> {
|
|
14220
14352
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14221
14353
|
let headers : {[key: string ]: string} = { };
|
|
14222
14354
|
return await this.createClusterNodePoolWithOptions(ClusterId, request, headers, runtime);
|
|
14223
14355
|
}
|
|
14224
14356
|
|
|
14357
|
+
/**
|
|
14358
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
14359
|
+
*
|
|
14360
|
+
* @param request CreateEdgeMachineRequest
|
|
14361
|
+
* @param headers map
|
|
14362
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14363
|
+
* @return CreateEdgeMachineResponse
|
|
14364
|
+
*/
|
|
14225
14365
|
async createEdgeMachineWithOptions(request: CreateEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateEdgeMachineResponse> {
|
|
14226
14366
|
Util.validateModel(request);
|
|
14227
14367
|
let body : {[key: string ]: any} = { };
|
|
@@ -14255,12 +14395,26 @@ export default class Client extends OpenApi {
|
|
|
14255
14395
|
return $tea.cast<CreateEdgeMachineResponse>(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
14256
14396
|
}
|
|
14257
14397
|
|
|
14398
|
+
/**
|
|
14399
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
14400
|
+
*
|
|
14401
|
+
* @param request CreateEdgeMachineRequest
|
|
14402
|
+
* @return CreateEdgeMachineResponse
|
|
14403
|
+
*/
|
|
14258
14404
|
async createEdgeMachine(request: CreateEdgeMachineRequest): Promise<CreateEdgeMachineResponse> {
|
|
14259
14405
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14260
14406
|
let headers : {[key: string ]: string} = { };
|
|
14261
14407
|
return await this.createEdgeMachineWithOptions(request, headers, runtime);
|
|
14262
14408
|
}
|
|
14263
14409
|
|
|
14410
|
+
/**
|
|
14411
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
14412
|
+
*
|
|
14413
|
+
* @param request CreateKubernetesTriggerRequest
|
|
14414
|
+
* @param headers map
|
|
14415
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14416
|
+
* @return CreateKubernetesTriggerResponse
|
|
14417
|
+
*/
|
|
14264
14418
|
async createKubernetesTriggerWithOptions(request: CreateKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateKubernetesTriggerResponse> {
|
|
14265
14419
|
Util.validateModel(request);
|
|
14266
14420
|
let body : {[key: string ]: any} = { };
|
|
@@ -14298,12 +14452,26 @@ export default class Client extends OpenApi {
|
|
|
14298
14452
|
return $tea.cast<CreateKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
14299
14453
|
}
|
|
14300
14454
|
|
|
14455
|
+
/**
|
|
14456
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
14457
|
+
*
|
|
14458
|
+
* @param request CreateKubernetesTriggerRequest
|
|
14459
|
+
* @return CreateKubernetesTriggerResponse
|
|
14460
|
+
*/
|
|
14301
14461
|
async createKubernetesTrigger(request: CreateKubernetesTriggerRequest): Promise<CreateKubernetesTriggerResponse> {
|
|
14302
14462
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14303
14463
|
let headers : {[key: string ]: string} = { };
|
|
14304
14464
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
14305
14465
|
}
|
|
14306
14466
|
|
|
14467
|
+
/**
|
|
14468
|
+
* @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).
|
|
14469
|
+
*
|
|
14470
|
+
* @param request CreateTemplateRequest
|
|
14471
|
+
* @param headers map
|
|
14472
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14473
|
+
* @return CreateTemplateResponse
|
|
14474
|
+
*/
|
|
14307
14475
|
async createTemplateWithOptions(request: CreateTemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateTemplateResponse> {
|
|
14308
14476
|
Util.validateModel(request);
|
|
14309
14477
|
let body : {[key: string ]: any} = { };
|
|
@@ -14345,12 +14513,26 @@ export default class Client extends OpenApi {
|
|
|
14345
14513
|
return $tea.cast<CreateTemplateResponse>(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
14346
14514
|
}
|
|
14347
14515
|
|
|
14516
|
+
/**
|
|
14517
|
+
* @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).
|
|
14518
|
+
*
|
|
14519
|
+
* @param request CreateTemplateRequest
|
|
14520
|
+
* @return CreateTemplateResponse
|
|
14521
|
+
*/
|
|
14348
14522
|
async createTemplate(request: CreateTemplateRequest): Promise<CreateTemplateResponse> {
|
|
14349
14523
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14350
14524
|
let headers : {[key: string ]: string} = { };
|
|
14351
14525
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
14352
14526
|
}
|
|
14353
14527
|
|
|
14528
|
+
/**
|
|
14529
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
14530
|
+
*
|
|
14531
|
+
* @param request CreateTriggerRequest
|
|
14532
|
+
* @param headers map
|
|
14533
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14534
|
+
* @return CreateTriggerResponse
|
|
14535
|
+
*/
|
|
14354
14536
|
async createTriggerWithOptions(clusterId: string, request: CreateTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateTriggerResponse> {
|
|
14355
14537
|
Util.validateModel(request);
|
|
14356
14538
|
let body : {[key: string ]: any} = { };
|
|
@@ -14388,12 +14570,24 @@ export default class Client extends OpenApi {
|
|
|
14388
14570
|
return $tea.cast<CreateTriggerResponse>(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
14389
14571
|
}
|
|
14390
14572
|
|
|
14573
|
+
/**
|
|
14574
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
14575
|
+
*
|
|
14576
|
+
* @param request CreateTriggerRequest
|
|
14577
|
+
* @return CreateTriggerResponse
|
|
14578
|
+
*/
|
|
14391
14579
|
async createTrigger(clusterId: string, request: CreateTriggerRequest): Promise<CreateTriggerResponse> {
|
|
14392
14580
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14393
14581
|
let headers : {[key: string ]: string} = { };
|
|
14394
14582
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
14395
14583
|
}
|
|
14396
14584
|
|
|
14585
|
+
/**
|
|
14586
|
+
* @param tmpReq DeleteAlertContactRequest
|
|
14587
|
+
* @param headers map
|
|
14588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14589
|
+
* @return DeleteAlertContactResponse
|
|
14590
|
+
*/
|
|
14397
14591
|
async deleteAlertContactWithOptions(tmpReq: DeleteAlertContactRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse> {
|
|
14398
14592
|
Util.validateModel(tmpReq);
|
|
14399
14593
|
let request = new DeleteAlertContactShrinkRequest({ });
|
|
@@ -14425,12 +14619,22 @@ export default class Client extends OpenApi {
|
|
|
14425
14619
|
return $tea.cast<DeleteAlertContactResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
14426
14620
|
}
|
|
14427
14621
|
|
|
14622
|
+
/**
|
|
14623
|
+
* @param request DeleteAlertContactRequest
|
|
14624
|
+
* @return DeleteAlertContactResponse
|
|
14625
|
+
*/
|
|
14428
14626
|
async deleteAlertContact(request: DeleteAlertContactRequest): Promise<DeleteAlertContactResponse> {
|
|
14429
14627
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14430
14628
|
let headers : {[key: string ]: string} = { };
|
|
14431
14629
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
14432
14630
|
}
|
|
14433
14631
|
|
|
14632
|
+
/**
|
|
14633
|
+
* @param tmpReq DeleteAlertContactGroupRequest
|
|
14634
|
+
* @param headers map
|
|
14635
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14636
|
+
* @return DeleteAlertContactGroupResponse
|
|
14637
|
+
*/
|
|
14434
14638
|
async deleteAlertContactGroupWithOptions(tmpReq: DeleteAlertContactGroupRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse> {
|
|
14435
14639
|
Util.validateModel(tmpReq);
|
|
14436
14640
|
let request = new DeleteAlertContactGroupShrinkRequest({ });
|
|
@@ -14462,12 +14666,24 @@ export default class Client extends OpenApi {
|
|
|
14462
14666
|
return $tea.cast<DeleteAlertContactGroupResponse>(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
14463
14667
|
}
|
|
14464
14668
|
|
|
14669
|
+
/**
|
|
14670
|
+
* @param request DeleteAlertContactGroupRequest
|
|
14671
|
+
* @return DeleteAlertContactGroupResponse
|
|
14672
|
+
*/
|
|
14465
14673
|
async deleteAlertContactGroup(request: DeleteAlertContactGroupRequest): Promise<DeleteAlertContactGroupResponse> {
|
|
14466
14674
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14467
14675
|
let headers : {[key: string ]: string} = { };
|
|
14468
14676
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
14469
14677
|
}
|
|
14470
14678
|
|
|
14679
|
+
/**
|
|
14680
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
14681
|
+
*
|
|
14682
|
+
* @param tmpReq DeleteClusterRequest
|
|
14683
|
+
* @param headers map
|
|
14684
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14685
|
+
* @return DeleteClusterResponse
|
|
14686
|
+
*/
|
|
14471
14687
|
async deleteClusterWithOptions(ClusterId: string, tmpReq: DeleteClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterResponse> {
|
|
14472
14688
|
Util.validateModel(tmpReq);
|
|
14473
14689
|
let request = new DeleteClusterShrinkRequest({ });
|
|
@@ -14515,12 +14731,26 @@ export default class Client extends OpenApi {
|
|
|
14515
14731
|
return $tea.cast<DeleteClusterResponse>(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
14516
14732
|
}
|
|
14517
14733
|
|
|
14734
|
+
/**
|
|
14735
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
14736
|
+
*
|
|
14737
|
+
* @param request DeleteClusterRequest
|
|
14738
|
+
* @return DeleteClusterResponse
|
|
14739
|
+
*/
|
|
14518
14740
|
async deleteCluster(ClusterId: string, request: DeleteClusterRequest): Promise<DeleteClusterResponse> {
|
|
14519
14741
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14520
14742
|
let headers : {[key: string ]: string} = { };
|
|
14521
14743
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14522
14744
|
}
|
|
14523
14745
|
|
|
14746
|
+
/**
|
|
14747
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
14748
|
+
*
|
|
14749
|
+
* @param request DeleteClusterNodepoolRequest
|
|
14750
|
+
* @param headers map
|
|
14751
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14752
|
+
* @return DeleteClusterNodepoolResponse
|
|
14753
|
+
*/
|
|
14524
14754
|
async deleteClusterNodepoolWithOptions(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodepoolResponse> {
|
|
14525
14755
|
Util.validateModel(request);
|
|
14526
14756
|
let query : {[key: string ]: any} = { };
|
|
@@ -14546,6 +14776,12 @@ export default class Client extends OpenApi {
|
|
|
14546
14776
|
return $tea.cast<DeleteClusterNodepoolResponse>(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
14547
14777
|
}
|
|
14548
14778
|
|
|
14779
|
+
/**
|
|
14780
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
14781
|
+
*
|
|
14782
|
+
* @param request DeleteClusterNodepoolRequest
|
|
14783
|
+
* @return DeleteClusterNodepoolResponse
|
|
14784
|
+
*/
|
|
14549
14785
|
async deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest): Promise<DeleteClusterNodepoolResponse> {
|
|
14550
14786
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14551
14787
|
let headers : {[key: string ]: string} = { };
|
|
@@ -14553,13 +14789,15 @@ export default class Client extends OpenApi {
|
|
|
14553
14789
|
}
|
|
14554
14790
|
|
|
14555
14791
|
/**
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
14792
|
+
* @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.
|
|
14793
|
+
*
|
|
14794
|
+
* @description >
|
|
14795
|
+
* * 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.
|
|
14796
|
+
*
|
|
14797
|
+
* @param request DeleteClusterNodesRequest
|
|
14798
|
+
* @param headers map
|
|
14799
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14800
|
+
* @return DeleteClusterNodesResponse
|
|
14563
14801
|
*/
|
|
14564
14802
|
async deleteClusterNodesWithOptions(ClusterId: string, request: DeleteClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodesResponse> {
|
|
14565
14803
|
Util.validateModel(request);
|
|
@@ -14595,11 +14833,13 @@ export default class Client extends OpenApi {
|
|
|
14595
14833
|
}
|
|
14596
14834
|
|
|
14597
14835
|
/**
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
14836
|
+
* @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.
|
|
14837
|
+
*
|
|
14838
|
+
* @description >
|
|
14839
|
+
* * 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.
|
|
14840
|
+
*
|
|
14841
|
+
* @param request DeleteClusterNodesRequest
|
|
14842
|
+
* @return DeleteClusterNodesResponse
|
|
14603
14843
|
*/
|
|
14604
14844
|
async deleteClusterNodes(ClusterId: string, request: DeleteClusterNodesRequest): Promise<DeleteClusterNodesResponse> {
|
|
14605
14845
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -14607,6 +14847,14 @@ export default class Client extends OpenApi {
|
|
|
14607
14847
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
14608
14848
|
}
|
|
14609
14849
|
|
|
14850
|
+
/**
|
|
14851
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
14852
|
+
*
|
|
14853
|
+
* @param request DeleteEdgeMachineRequest
|
|
14854
|
+
* @param headers map
|
|
14855
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14856
|
+
* @return DeleteEdgeMachineResponse
|
|
14857
|
+
*/
|
|
14610
14858
|
async deleteEdgeMachineWithOptions(edgeMachineid: string, request: DeleteEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteEdgeMachineResponse> {
|
|
14611
14859
|
Util.validateModel(request);
|
|
14612
14860
|
let query : {[key: string ]: any} = { };
|
|
@@ -14632,12 +14880,25 @@ export default class Client extends OpenApi {
|
|
|
14632
14880
|
return $tea.cast<DeleteEdgeMachineResponse>(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
14633
14881
|
}
|
|
14634
14882
|
|
|
14883
|
+
/**
|
|
14884
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
14885
|
+
*
|
|
14886
|
+
* @param request DeleteEdgeMachineRequest
|
|
14887
|
+
* @return DeleteEdgeMachineResponse
|
|
14888
|
+
*/
|
|
14635
14889
|
async deleteEdgeMachine(edgeMachineid: string, request: DeleteEdgeMachineRequest): Promise<DeleteEdgeMachineResponse> {
|
|
14636
14890
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14637
14891
|
let headers : {[key: string ]: string} = { };
|
|
14638
14892
|
return await this.deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime);
|
|
14639
14893
|
}
|
|
14640
14894
|
|
|
14895
|
+
/**
|
|
14896
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
14897
|
+
*
|
|
14898
|
+
* @param headers map
|
|
14899
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14900
|
+
* @return DeleteKubernetesTriggerResponse
|
|
14901
|
+
*/
|
|
14641
14902
|
async deleteKubernetesTriggerWithOptions(Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse> {
|
|
14642
14903
|
let req = new $OpenApi.OpenApiRequest({
|
|
14643
14904
|
headers: headers,
|
|
@@ -14656,12 +14917,25 @@ export default class Client extends OpenApi {
|
|
|
14656
14917
|
return $tea.cast<DeleteKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
14657
14918
|
}
|
|
14658
14919
|
|
|
14920
|
+
/**
|
|
14921
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
14922
|
+
*
|
|
14923
|
+
* @return DeleteKubernetesTriggerResponse
|
|
14924
|
+
*/
|
|
14659
14925
|
async deleteKubernetesTrigger(Id: string): Promise<DeleteKubernetesTriggerResponse> {
|
|
14660
14926
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14661
14927
|
let headers : {[key: string ]: string} = { };
|
|
14662
14928
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
14663
14929
|
}
|
|
14664
14930
|
|
|
14931
|
+
/**
|
|
14932
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14933
|
+
*
|
|
14934
|
+
* @param request DeletePolicyInstanceRequest
|
|
14935
|
+
* @param headers map
|
|
14936
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14937
|
+
* @return DeletePolicyInstanceResponse
|
|
14938
|
+
*/
|
|
14665
14939
|
async deletePolicyInstanceWithOptions(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeletePolicyInstanceResponse> {
|
|
14666
14940
|
Util.validateModel(request);
|
|
14667
14941
|
let query : {[key: string ]: any} = { };
|
|
@@ -14687,12 +14961,25 @@ export default class Client extends OpenApi {
|
|
|
14687
14961
|
return $tea.cast<DeletePolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
14688
14962
|
}
|
|
14689
14963
|
|
|
14964
|
+
/**
|
|
14965
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14966
|
+
*
|
|
14967
|
+
* @param request DeletePolicyInstanceRequest
|
|
14968
|
+
* @return DeletePolicyInstanceResponse
|
|
14969
|
+
*/
|
|
14690
14970
|
async deletePolicyInstance(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest): Promise<DeletePolicyInstanceResponse> {
|
|
14691
14971
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14692
14972
|
let headers : {[key: string ]: string} = { };
|
|
14693
14973
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
14694
14974
|
}
|
|
14695
14975
|
|
|
14976
|
+
/**
|
|
14977
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
14978
|
+
*
|
|
14979
|
+
* @param headers map
|
|
14980
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14981
|
+
* @return DeleteTemplateResponse
|
|
14982
|
+
*/
|
|
14696
14983
|
async deleteTemplateWithOptions(TemplateId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteTemplateResponse> {
|
|
14697
14984
|
let req = new $OpenApi.OpenApiRequest({
|
|
14698
14985
|
headers: headers,
|
|
@@ -14711,12 +14998,24 @@ export default class Client extends OpenApi {
|
|
|
14711
14998
|
return $tea.cast<DeleteTemplateResponse>(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
14712
14999
|
}
|
|
14713
15000
|
|
|
15001
|
+
/**
|
|
15002
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
15003
|
+
*
|
|
15004
|
+
* @return DeleteTemplateResponse
|
|
15005
|
+
*/
|
|
14714
15006
|
async deleteTemplate(TemplateId: string): Promise<DeleteTemplateResponse> {
|
|
14715
15007
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14716
15008
|
let headers : {[key: string ]: string} = { };
|
|
14717
15009
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
14718
15010
|
}
|
|
14719
15011
|
|
|
15012
|
+
/**
|
|
15013
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
15014
|
+
*
|
|
15015
|
+
* @param headers map
|
|
15016
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15017
|
+
* @return DeleteTriggerResponse
|
|
15018
|
+
*/
|
|
14720
15019
|
async deleteTriggerWithOptions(clusterId: string, Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteTriggerResponse> {
|
|
14721
15020
|
let req = new $OpenApi.OpenApiRequest({
|
|
14722
15021
|
headers: headers,
|
|
@@ -14735,12 +15034,25 @@ export default class Client extends OpenApi {
|
|
|
14735
15034
|
return $tea.cast<DeleteTriggerResponse>(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
14736
15035
|
}
|
|
14737
15036
|
|
|
15037
|
+
/**
|
|
15038
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
15039
|
+
*
|
|
15040
|
+
* @return DeleteTriggerResponse
|
|
15041
|
+
*/
|
|
14738
15042
|
async deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse> {
|
|
14739
15043
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14740
15044
|
let headers : {[key: string ]: string} = { };
|
|
14741
15045
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
14742
15046
|
}
|
|
14743
15047
|
|
|
15048
|
+
/**
|
|
15049
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
15050
|
+
*
|
|
15051
|
+
* @param request DeployPolicyInstanceRequest
|
|
15052
|
+
* @param headers map
|
|
15053
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15054
|
+
* @return DeployPolicyInstanceResponse
|
|
15055
|
+
*/
|
|
14744
15056
|
async deployPolicyInstanceWithOptions(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeployPolicyInstanceResponse> {
|
|
14745
15057
|
Util.validateModel(request);
|
|
14746
15058
|
let body : {[key: string ]: any} = { };
|
|
@@ -14774,12 +15086,25 @@ export default class Client extends OpenApi {
|
|
|
14774
15086
|
return $tea.cast<DeployPolicyInstanceResponse>(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
14775
15087
|
}
|
|
14776
15088
|
|
|
15089
|
+
/**
|
|
15090
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
15091
|
+
*
|
|
15092
|
+
* @param request DeployPolicyInstanceRequest
|
|
15093
|
+
* @return DeployPolicyInstanceResponse
|
|
15094
|
+
*/
|
|
14777
15095
|
async deployPolicyInstance(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest): Promise<DeployPolicyInstanceResponse> {
|
|
14778
15096
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14779
15097
|
let headers : {[key: string ]: string} = { };
|
|
14780
15098
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
14781
15099
|
}
|
|
14782
15100
|
|
|
15101
|
+
/**
|
|
15102
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
15103
|
+
*
|
|
15104
|
+
* @param headers map
|
|
15105
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15106
|
+
* @return DescirbeWorkflowResponse
|
|
15107
|
+
*/
|
|
14783
15108
|
async descirbeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse> {
|
|
14784
15109
|
let req = new $OpenApi.OpenApiRequest({
|
|
14785
15110
|
headers: headers,
|
|
@@ -14798,12 +15123,25 @@ export default class Client extends OpenApi {
|
|
|
14798
15123
|
return $tea.cast<DescirbeWorkflowResponse>(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
|
|
14799
15124
|
}
|
|
14800
15125
|
|
|
15126
|
+
/**
|
|
15127
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
15128
|
+
*
|
|
15129
|
+
* @return DescirbeWorkflowResponse
|
|
15130
|
+
*/
|
|
14801
15131
|
async descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse> {
|
|
14802
15132
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14803
15133
|
let headers : {[key: string ]: string} = { };
|
|
14804
15134
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
14805
15135
|
}
|
|
14806
15136
|
|
|
15137
|
+
/**
|
|
15138
|
+
* @summary 查询指定集群组件
|
|
15139
|
+
*
|
|
15140
|
+
* @param request DescribeAddonRequest
|
|
15141
|
+
* @param headers map
|
|
15142
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15143
|
+
* @return DescribeAddonResponse
|
|
15144
|
+
*/
|
|
14807
15145
|
async describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse> {
|
|
14808
15146
|
Util.validateModel(request);
|
|
14809
15147
|
let query : {[key: string ]: any} = { };
|
|
@@ -14853,6 +15191,12 @@ export default class Client extends OpenApi {
|
|
|
14853
15191
|
return $tea.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
14854
15192
|
}
|
|
14855
15193
|
|
|
15194
|
+
/**
|
|
15195
|
+
* @summary 查询指定集群组件
|
|
15196
|
+
*
|
|
15197
|
+
* @param request DescribeAddonRequest
|
|
15198
|
+
* @return DescribeAddonResponse
|
|
15199
|
+
*/
|
|
14856
15200
|
async describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse> {
|
|
14857
15201
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14858
15202
|
let headers : {[key: string ]: string} = { };
|
|
@@ -14860,12 +15204,14 @@ export default class Client extends OpenApi {
|
|
|
14860
15204
|
}
|
|
14861
15205
|
|
|
14862
15206
|
/**
|
|
14863
|
-
|
|
14864
|
-
|
|
14865
|
-
|
|
14866
|
-
|
|
14867
|
-
|
|
14868
|
-
|
|
15207
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
15208
|
+
*
|
|
15209
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
15210
|
+
*
|
|
15211
|
+
* @param request DescribeAddonsRequest
|
|
15212
|
+
* @param headers map
|
|
15213
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15214
|
+
* @return DescribeAddonsResponse
|
|
14869
15215
|
*/
|
|
14870
15216
|
// Deprecated
|
|
14871
15217
|
async describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse> {
|
|
@@ -14910,10 +15256,12 @@ export default class Client extends OpenApi {
|
|
|
14910
15256
|
}
|
|
14911
15257
|
|
|
14912
15258
|
/**
|
|
14913
|
-
|
|
14914
|
-
|
|
14915
|
-
|
|
14916
|
-
|
|
15259
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
15260
|
+
*
|
|
15261
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
15262
|
+
*
|
|
15263
|
+
* @param request DescribeAddonsRequest
|
|
15264
|
+
* @return DescribeAddonsResponse
|
|
14917
15265
|
*/
|
|
14918
15266
|
// Deprecated
|
|
14919
15267
|
async describeAddons(request: DescribeAddonsRequest): Promise<DescribeAddonsResponse> {
|
|
@@ -14923,11 +15271,13 @@ export default class Client extends OpenApi {
|
|
|
14923
15271
|
}
|
|
14924
15272
|
|
|
14925
15273
|
/**
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
|
|
15274
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
15275
|
+
*
|
|
15276
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
15277
|
+
*
|
|
15278
|
+
* @param headers map
|
|
15279
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15280
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
14931
15281
|
*/
|
|
14932
15282
|
// Deprecated
|
|
14933
15283
|
async describeClusterAddonInstanceWithOptions(ClusterID: string, AddonName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonInstanceResponse> {
|
|
@@ -14949,9 +15299,11 @@ export default class Client extends OpenApi {
|
|
|
14949
15299
|
}
|
|
14950
15300
|
|
|
14951
15301
|
/**
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
15302
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
15303
|
+
*
|
|
15304
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
15305
|
+
*
|
|
15306
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
14955
15307
|
*/
|
|
14956
15308
|
// Deprecated
|
|
14957
15309
|
async describeClusterAddonInstance(ClusterID: string, AddonName: string): Promise<DescribeClusterAddonInstanceResponse> {
|
|
@@ -14961,12 +15313,14 @@ export default class Client extends OpenApi {
|
|
|
14961
15313
|
}
|
|
14962
15314
|
|
|
14963
15315
|
/**
|
|
14964
|
-
|
|
14965
|
-
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
15316
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
15317
|
+
*
|
|
15318
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
15319
|
+
*
|
|
15320
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
15321
|
+
* @param headers map
|
|
15322
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15323
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
14970
15324
|
*/
|
|
14971
15325
|
// Deprecated
|
|
14972
15326
|
async describeClusterAddonMetadataWithOptions(clusterId: string, componentId: string, request: DescribeClusterAddonMetadataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonMetadataResponse> {
|
|
@@ -14995,10 +15349,12 @@ export default class Client extends OpenApi {
|
|
|
14995
15349
|
}
|
|
14996
15350
|
|
|
14997
15351
|
/**
|
|
14998
|
-
|
|
14999
|
-
|
|
15000
|
-
|
|
15001
|
-
|
|
15352
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
15353
|
+
*
|
|
15354
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
15355
|
+
*
|
|
15356
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
15357
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
15002
15358
|
*/
|
|
15003
15359
|
// Deprecated
|
|
15004
15360
|
async describeClusterAddonMetadata(clusterId: string, componentId: string, request: DescribeClusterAddonMetadataRequest): Promise<DescribeClusterAddonMetadataResponse> {
|
|
@@ -15008,11 +15364,13 @@ export default class Client extends OpenApi {
|
|
|
15008
15364
|
}
|
|
15009
15365
|
|
|
15010
15366
|
/**
|
|
15011
|
-
|
|
15012
|
-
|
|
15013
|
-
|
|
15014
|
-
|
|
15015
|
-
|
|
15367
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
15368
|
+
*
|
|
15369
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
15370
|
+
*
|
|
15371
|
+
* @param headers map
|
|
15372
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15373
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
15016
15374
|
*/
|
|
15017
15375
|
// Deprecated
|
|
15018
15376
|
async describeClusterAddonUpgradeStatusWithOptions(ClusterId: string, ComponentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonUpgradeStatusResponse> {
|
|
@@ -15034,9 +15392,11 @@ export default class Client extends OpenApi {
|
|
|
15034
15392
|
}
|
|
15035
15393
|
|
|
15036
15394
|
/**
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15395
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
15396
|
+
*
|
|
15397
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
15398
|
+
*
|
|
15399
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
15040
15400
|
*/
|
|
15041
15401
|
// Deprecated
|
|
15042
15402
|
async describeClusterAddonUpgradeStatus(ClusterId: string, ComponentId: string): Promise<DescribeClusterAddonUpgradeStatusResponse> {
|
|
@@ -15046,12 +15406,14 @@ export default class Client extends OpenApi {
|
|
|
15046
15406
|
}
|
|
15047
15407
|
|
|
15048
15408
|
/**
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
15409
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
15410
|
+
*
|
|
15411
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
15412
|
+
*
|
|
15413
|
+
* @param tmpReq DescribeClusterAddonsUpgradeStatusRequest
|
|
15414
|
+
* @param headers map
|
|
15415
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15416
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
15055
15417
|
*/
|
|
15056
15418
|
// Deprecated
|
|
15057
15419
|
async describeClusterAddonsUpgradeStatusWithOptions(ClusterId: string, tmpReq: DescribeClusterAddonsUpgradeStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonsUpgradeStatusResponse> {
|
|
@@ -15086,10 +15448,12 @@ export default class Client extends OpenApi {
|
|
|
15086
15448
|
}
|
|
15087
15449
|
|
|
15088
15450
|
/**
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15451
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
15452
|
+
*
|
|
15453
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
15454
|
+
*
|
|
15455
|
+
* @param request DescribeClusterAddonsUpgradeStatusRequest
|
|
15456
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
15093
15457
|
*/
|
|
15094
15458
|
// Deprecated
|
|
15095
15459
|
async describeClusterAddonsUpgradeStatus(ClusterId: string, request: DescribeClusterAddonsUpgradeStatusRequest): Promise<DescribeClusterAddonsUpgradeStatusResponse> {
|
|
@@ -15099,11 +15463,13 @@ export default class Client extends OpenApi {
|
|
|
15099
15463
|
}
|
|
15100
15464
|
|
|
15101
15465
|
/**
|
|
15102
|
-
|
|
15103
|
-
|
|
15104
|
-
|
|
15105
|
-
|
|
15106
|
-
|
|
15466
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
15467
|
+
*
|
|
15468
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
15469
|
+
*
|
|
15470
|
+
* @param headers map
|
|
15471
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15472
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
15107
15473
|
*/
|
|
15108
15474
|
// Deprecated
|
|
15109
15475
|
async describeClusterAddonsVersionWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAddonsVersionResponse> {
|
|
@@ -15125,9 +15491,11 @@ export default class Client extends OpenApi {
|
|
|
15125
15491
|
}
|
|
15126
15492
|
|
|
15127
15493
|
/**
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
|
|
15494
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
15495
|
+
*
|
|
15496
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
15497
|
+
*
|
|
15498
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
15131
15499
|
*/
|
|
15132
15500
|
// Deprecated
|
|
15133
15501
|
async describeClusterAddonsVersion(ClusterId: string): Promise<DescribeClusterAddonsVersionResponse> {
|
|
@@ -15136,6 +15504,14 @@ export default class Client extends OpenApi {
|
|
|
15136
15504
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
15137
15505
|
}
|
|
15138
15506
|
|
|
15507
|
+
/**
|
|
15508
|
+
* @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.
|
|
15509
|
+
*
|
|
15510
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
15511
|
+
* @param headers map
|
|
15512
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15513
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
15514
|
+
*/
|
|
15139
15515
|
async describeClusterAttachScriptsWithOptions(ClusterId: string, request: DescribeClusterAttachScriptsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterAttachScriptsResponse> {
|
|
15140
15516
|
Util.validateModel(request);
|
|
15141
15517
|
let body : {[key: string ]: any} = { };
|
|
@@ -15181,12 +15557,25 @@ export default class Client extends OpenApi {
|
|
|
15181
15557
|
return $tea.cast<DescribeClusterAttachScriptsResponse>(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
15182
15558
|
}
|
|
15183
15559
|
|
|
15560
|
+
/**
|
|
15561
|
+
* @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.
|
|
15562
|
+
*
|
|
15563
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
15564
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
15565
|
+
*/
|
|
15184
15566
|
async describeClusterAttachScripts(ClusterId: string, request: DescribeClusterAttachScriptsRequest): Promise<DescribeClusterAttachScriptsResponse> {
|
|
15185
15567
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15186
15568
|
let headers : {[key: string ]: string} = { };
|
|
15187
15569
|
return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
|
|
15188
15570
|
}
|
|
15189
15571
|
|
|
15572
|
+
/**
|
|
15573
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
15574
|
+
*
|
|
15575
|
+
* @param headers map
|
|
15576
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15577
|
+
* @return DescribeClusterDetailResponse
|
|
15578
|
+
*/
|
|
15190
15579
|
async describeClusterDetailWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterDetailResponse> {
|
|
15191
15580
|
let req = new $OpenApi.OpenApiRequest({
|
|
15192
15581
|
headers: headers,
|
|
@@ -15205,12 +15594,25 @@ export default class Client extends OpenApi {
|
|
|
15205
15594
|
return $tea.cast<DescribeClusterDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
15206
15595
|
}
|
|
15207
15596
|
|
|
15597
|
+
/**
|
|
15598
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
15599
|
+
*
|
|
15600
|
+
* @return DescribeClusterDetailResponse
|
|
15601
|
+
*/
|
|
15208
15602
|
async describeClusterDetail(ClusterId: string): Promise<DescribeClusterDetailResponse> {
|
|
15209
15603
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15210
15604
|
let headers : {[key: string ]: string} = { };
|
|
15211
15605
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
15212
15606
|
}
|
|
15213
15607
|
|
|
15608
|
+
/**
|
|
15609
|
+
* @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.
|
|
15610
|
+
*
|
|
15611
|
+
* @param request DescribeClusterEventsRequest
|
|
15612
|
+
* @param headers map
|
|
15613
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15614
|
+
* @return DescribeClusterEventsResponse
|
|
15615
|
+
*/
|
|
15214
15616
|
async describeClusterEventsWithOptions(ClusterId: string, request: DescribeClusterEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterEventsResponse> {
|
|
15215
15617
|
Util.validateModel(request);
|
|
15216
15618
|
let query : {[key: string ]: any} = { };
|
|
@@ -15244,12 +15646,25 @@ export default class Client extends OpenApi {
|
|
|
15244
15646
|
return $tea.cast<DescribeClusterEventsResponse>(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
15245
15647
|
}
|
|
15246
15648
|
|
|
15649
|
+
/**
|
|
15650
|
+
* @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.
|
|
15651
|
+
*
|
|
15652
|
+
* @param request DescribeClusterEventsRequest
|
|
15653
|
+
* @return DescribeClusterEventsResponse
|
|
15654
|
+
*/
|
|
15247
15655
|
async describeClusterEvents(ClusterId: string, request: DescribeClusterEventsRequest): Promise<DescribeClusterEventsResponse> {
|
|
15248
15656
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15249
15657
|
let headers : {[key: string ]: string} = { };
|
|
15250
15658
|
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
15251
15659
|
}
|
|
15252
15660
|
|
|
15661
|
+
/**
|
|
15662
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
15663
|
+
*
|
|
15664
|
+
* @param headers map
|
|
15665
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15666
|
+
* @return DescribeClusterLogsResponse
|
|
15667
|
+
*/
|
|
15253
15668
|
async describeClusterLogsWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterLogsResponse> {
|
|
15254
15669
|
let req = new $OpenApi.OpenApiRequest({
|
|
15255
15670
|
headers: headers,
|
|
@@ -15268,12 +15683,24 @@ export default class Client extends OpenApi {
|
|
|
15268
15683
|
return $tea.cast<DescribeClusterLogsResponse>(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
15269
15684
|
}
|
|
15270
15685
|
|
|
15686
|
+
/**
|
|
15687
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
15688
|
+
*
|
|
15689
|
+
* @return DescribeClusterLogsResponse
|
|
15690
|
+
*/
|
|
15271
15691
|
async describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse> {
|
|
15272
15692
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15273
15693
|
let headers : {[key: string ]: string} = { };
|
|
15274
15694
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
15275
15695
|
}
|
|
15276
15696
|
|
|
15697
|
+
/**
|
|
15698
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
15699
|
+
*
|
|
15700
|
+
* @param headers map
|
|
15701
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15702
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
15703
|
+
*/
|
|
15277
15704
|
async describeClusterNodePoolDetailWithOptions(ClusterId: string, NodepoolId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolDetailResponse> {
|
|
15278
15705
|
let req = new $OpenApi.OpenApiRequest({
|
|
15279
15706
|
headers: headers,
|
|
@@ -15292,12 +15719,25 @@ export default class Client extends OpenApi {
|
|
|
15292
15719
|
return $tea.cast<DescribeClusterNodePoolDetailResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
15293
15720
|
}
|
|
15294
15721
|
|
|
15722
|
+
/**
|
|
15723
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
15724
|
+
*
|
|
15725
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
15726
|
+
*/
|
|
15295
15727
|
async describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse> {
|
|
15296
15728
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15297
15729
|
let headers : {[key: string ]: string} = { };
|
|
15298
15730
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
15299
15731
|
}
|
|
15300
15732
|
|
|
15733
|
+
/**
|
|
15734
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
15735
|
+
*
|
|
15736
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
15737
|
+
* @param headers map
|
|
15738
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15739
|
+
* @return DescribeClusterNodePoolsResponse
|
|
15740
|
+
*/
|
|
15301
15741
|
async describeClusterNodePoolsWithOptions(ClusterId: string, request: DescribeClusterNodePoolsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse> {
|
|
15302
15742
|
Util.validateModel(request);
|
|
15303
15743
|
let query : {[key: string ]: any} = { };
|
|
@@ -15323,12 +15763,26 @@ export default class Client extends OpenApi {
|
|
|
15323
15763
|
return $tea.cast<DescribeClusterNodePoolsResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
15324
15764
|
}
|
|
15325
15765
|
|
|
15766
|
+
/**
|
|
15767
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
15768
|
+
*
|
|
15769
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
15770
|
+
* @return DescribeClusterNodePoolsResponse
|
|
15771
|
+
*/
|
|
15326
15772
|
async describeClusterNodePools(ClusterId: string, request: DescribeClusterNodePoolsRequest): Promise<DescribeClusterNodePoolsResponse> {
|
|
15327
15773
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15328
15774
|
let headers : {[key: string ]: string} = { };
|
|
15329
15775
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
15330
15776
|
}
|
|
15331
15777
|
|
|
15778
|
+
/**
|
|
15779
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
15780
|
+
*
|
|
15781
|
+
* @param request DescribeClusterNodesRequest
|
|
15782
|
+
* @param headers map
|
|
15783
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15784
|
+
* @return DescribeClusterNodesResponse
|
|
15785
|
+
*/
|
|
15332
15786
|
async describeClusterNodesWithOptions(ClusterId: string, request: DescribeClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse> {
|
|
15333
15787
|
Util.validateModel(request);
|
|
15334
15788
|
let query : {[key: string ]: any} = { };
|
|
@@ -15370,12 +15824,26 @@ export default class Client extends OpenApi {
|
|
|
15370
15824
|
return $tea.cast<DescribeClusterNodesResponse>(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
15371
15825
|
}
|
|
15372
15826
|
|
|
15827
|
+
/**
|
|
15828
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
15829
|
+
*
|
|
15830
|
+
* @param request DescribeClusterNodesRequest
|
|
15831
|
+
* @return DescribeClusterNodesResponse
|
|
15832
|
+
*/
|
|
15373
15833
|
async describeClusterNodes(ClusterId: string, request: DescribeClusterNodesRequest): Promise<DescribeClusterNodesResponse> {
|
|
15374
15834
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15375
15835
|
let headers : {[key: string ]: string} = { };
|
|
15376
15836
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
15377
15837
|
}
|
|
15378
15838
|
|
|
15839
|
+
/**
|
|
15840
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
15841
|
+
*
|
|
15842
|
+
* @param request DescribeClusterResourcesRequest
|
|
15843
|
+
* @param headers map
|
|
15844
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15845
|
+
* @return DescribeClusterResourcesResponse
|
|
15846
|
+
*/
|
|
15379
15847
|
async describeClusterResourcesWithOptions(ClusterId: string, request: DescribeClusterResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterResourcesResponse> {
|
|
15380
15848
|
Util.validateModel(request);
|
|
15381
15849
|
let query : {[key: string ]: any} = { };
|
|
@@ -15401,12 +15869,26 @@ export default class Client extends OpenApi {
|
|
|
15401
15869
|
return $tea.cast<DescribeClusterResourcesResponse>(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
15402
15870
|
}
|
|
15403
15871
|
|
|
15872
|
+
/**
|
|
15873
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
15874
|
+
*
|
|
15875
|
+
* @param request DescribeClusterResourcesRequest
|
|
15876
|
+
* @return DescribeClusterResourcesResponse
|
|
15877
|
+
*/
|
|
15404
15878
|
async describeClusterResources(ClusterId: string, request: DescribeClusterResourcesRequest): Promise<DescribeClusterResourcesResponse> {
|
|
15405
15879
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15406
15880
|
let headers : {[key: string ]: string} = { };
|
|
15407
15881
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
15408
15882
|
}
|
|
15409
15883
|
|
|
15884
|
+
/**
|
|
15885
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
15886
|
+
*
|
|
15887
|
+
* @param request DescribeClusterTasksRequest
|
|
15888
|
+
* @param headers map
|
|
15889
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15890
|
+
* @return DescribeClusterTasksResponse
|
|
15891
|
+
*/
|
|
15410
15892
|
async describeClusterTasksWithOptions(clusterId: string, request: DescribeClusterTasksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse> {
|
|
15411
15893
|
Util.validateModel(request);
|
|
15412
15894
|
let query : {[key: string ]: any} = { };
|
|
@@ -15436,6 +15918,12 @@ export default class Client extends OpenApi {
|
|
|
15436
15918
|
return $tea.cast<DescribeClusterTasksResponse>(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
15437
15919
|
}
|
|
15438
15920
|
|
|
15921
|
+
/**
|
|
15922
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
15923
|
+
*
|
|
15924
|
+
* @param request DescribeClusterTasksRequest
|
|
15925
|
+
* @return DescribeClusterTasksResponse
|
|
15926
|
+
*/
|
|
15439
15927
|
async describeClusterTasks(clusterId: string, request: DescribeClusterTasksRequest): Promise<DescribeClusterTasksResponse> {
|
|
15440
15928
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15441
15929
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15443,13 +15931,15 @@ export default class Client extends OpenApi {
|
|
|
15443
15931
|
}
|
|
15444
15932
|
|
|
15445
15933
|
/**
|
|
15446
|
-
|
|
15447
|
-
|
|
15448
|
-
|
|
15449
|
-
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
15934
|
+
* @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.
|
|
15935
|
+
*
|
|
15936
|
+
* @description **
|
|
15937
|
+
* ****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.
|
|
15938
|
+
*
|
|
15939
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
15940
|
+
* @param headers map
|
|
15941
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15942
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
15453
15943
|
*/
|
|
15454
15944
|
async describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterUserKubeconfigResponse> {
|
|
15455
15945
|
Util.validateModel(request);
|
|
@@ -15481,11 +15971,13 @@ export default class Client extends OpenApi {
|
|
|
15481
15971
|
}
|
|
15482
15972
|
|
|
15483
15973
|
/**
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15974
|
+
* @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.
|
|
15975
|
+
*
|
|
15976
|
+
* @description **
|
|
15977
|
+
* ****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.
|
|
15978
|
+
*
|
|
15979
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
15980
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
15489
15981
|
*/
|
|
15490
15982
|
async describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse> {
|
|
15491
15983
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -15494,12 +15986,14 @@ export default class Client extends OpenApi {
|
|
|
15494
15986
|
}
|
|
15495
15987
|
|
|
15496
15988
|
/**
|
|
15497
|
-
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
15989
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
15990
|
+
*
|
|
15991
|
+
* @summary 获取集群kubeconfig接口
|
|
15992
|
+
*
|
|
15993
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
15994
|
+
* @param headers map
|
|
15995
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15996
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
15503
15997
|
*/
|
|
15504
15998
|
// Deprecated
|
|
15505
15999
|
async describeClusterV2UserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterV2UserKubeconfigResponse> {
|
|
@@ -15528,10 +16022,12 @@ export default class Client extends OpenApi {
|
|
|
15528
16022
|
}
|
|
15529
16023
|
|
|
15530
16024
|
/**
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
|
|
15534
|
-
|
|
16025
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
16026
|
+
*
|
|
16027
|
+
* @summary 获取集群kubeconfig接口
|
|
16028
|
+
*
|
|
16029
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
16030
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
15535
16031
|
*/
|
|
15536
16032
|
// Deprecated
|
|
15537
16033
|
async describeClusterV2UserKubeconfig(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest): Promise<DescribeClusterV2UserKubeconfigResponse> {
|
|
@@ -15540,6 +16036,13 @@ export default class Client extends OpenApi {
|
|
|
15540
16036
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
15541
16037
|
}
|
|
15542
16038
|
|
|
16039
|
+
/**
|
|
16040
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
16041
|
+
*
|
|
16042
|
+
* @param headers map
|
|
16043
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16044
|
+
* @return DescribeClusterVulsResponse
|
|
16045
|
+
*/
|
|
15543
16046
|
async describeClusterVulsWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterVulsResponse> {
|
|
15544
16047
|
let req = new $OpenApi.OpenApiRequest({
|
|
15545
16048
|
headers: headers,
|
|
@@ -15558,6 +16061,11 @@ export default class Client extends OpenApi {
|
|
|
15558
16061
|
return $tea.cast<DescribeClusterVulsResponse>(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
15559
16062
|
}
|
|
15560
16063
|
|
|
16064
|
+
/**
|
|
16065
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
16066
|
+
*
|
|
16067
|
+
* @return DescribeClusterVulsResponse
|
|
16068
|
+
*/
|
|
15561
16069
|
async describeClusterVuls(clusterId: string): Promise<DescribeClusterVulsResponse> {
|
|
15562
16070
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15563
16071
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15565,12 +16073,14 @@ export default class Client extends OpenApi {
|
|
|
15565
16073
|
}
|
|
15566
16074
|
|
|
15567
16075
|
/**
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
|
|
16076
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
16077
|
+
*
|
|
16078
|
+
* @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.
|
|
16079
|
+
*
|
|
16080
|
+
* @param request DescribeClustersRequest
|
|
16081
|
+
* @param headers map
|
|
16082
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16083
|
+
* @return DescribeClustersResponse
|
|
15574
16084
|
*/
|
|
15575
16085
|
// Deprecated
|
|
15576
16086
|
async describeClustersWithOptions(request: DescribeClustersRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersResponse> {
|
|
@@ -15603,10 +16113,12 @@ export default class Client extends OpenApi {
|
|
|
15603
16113
|
}
|
|
15604
16114
|
|
|
15605
16115
|
/**
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
16116
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
16117
|
+
*
|
|
16118
|
+
* @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.
|
|
16119
|
+
*
|
|
16120
|
+
* @param request DescribeClustersRequest
|
|
16121
|
+
* @return DescribeClustersResponse
|
|
15610
16122
|
*/
|
|
15611
16123
|
// Deprecated
|
|
15612
16124
|
async describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse> {
|
|
@@ -15615,6 +16127,14 @@ export default class Client extends OpenApi {
|
|
|
15615
16127
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
15616
16128
|
}
|
|
15617
16129
|
|
|
16130
|
+
/**
|
|
16131
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
16132
|
+
*
|
|
16133
|
+
* @param request DescribeClustersV1Request
|
|
16134
|
+
* @param headers map
|
|
16135
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16136
|
+
* @return DescribeClustersV1Response
|
|
16137
|
+
*/
|
|
15618
16138
|
async describeClustersV1WithOptions(request: DescribeClustersV1Request, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersV1Response> {
|
|
15619
16139
|
Util.validateModel(request);
|
|
15620
16140
|
let query : {[key: string ]: any} = { };
|
|
@@ -15668,12 +16188,25 @@ export default class Client extends OpenApi {
|
|
|
15668
16188
|
return $tea.cast<DescribeClustersV1Response>(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
15669
16189
|
}
|
|
15670
16190
|
|
|
16191
|
+
/**
|
|
16192
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
16193
|
+
*
|
|
16194
|
+
* @param request DescribeClustersV1Request
|
|
16195
|
+
* @return DescribeClustersV1Response
|
|
16196
|
+
*/
|
|
15671
16197
|
async describeClustersV1(request: DescribeClustersV1Request): Promise<DescribeClustersV1Response> {
|
|
15672
16198
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15673
16199
|
let headers : {[key: string ]: string} = { };
|
|
15674
16200
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
15675
16201
|
}
|
|
15676
16202
|
|
|
16203
|
+
/**
|
|
16204
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
16205
|
+
*
|
|
16206
|
+
* @param headers map
|
|
16207
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16208
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
16209
|
+
*/
|
|
15677
16210
|
async describeEdgeMachineActiveProcessWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
15678
16211
|
let req = new $OpenApi.OpenApiRequest({
|
|
15679
16212
|
headers: headers,
|
|
@@ -15692,12 +16225,24 @@ export default class Client extends OpenApi {
|
|
|
15692
16225
|
return $tea.cast<DescribeEdgeMachineActiveProcessResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
15693
16226
|
}
|
|
15694
16227
|
|
|
16228
|
+
/**
|
|
16229
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
16230
|
+
*
|
|
16231
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
16232
|
+
*/
|
|
15695
16233
|
async describeEdgeMachineActiveProcess(edgeMachineid: string): Promise<DescribeEdgeMachineActiveProcessResponse> {
|
|
15696
16234
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15697
16235
|
let headers : {[key: string ]: string} = { };
|
|
15698
16236
|
return await this.describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime);
|
|
15699
16237
|
}
|
|
15700
16238
|
|
|
16239
|
+
/**
|
|
16240
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
16241
|
+
*
|
|
16242
|
+
* @param headers map
|
|
16243
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16244
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
16245
|
+
*/
|
|
15701
16246
|
async describeEdgeMachineModelsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineModelsResponse> {
|
|
15702
16247
|
let req = new $OpenApi.OpenApiRequest({
|
|
15703
16248
|
headers: headers,
|
|
@@ -15716,12 +16261,24 @@ export default class Client extends OpenApi {
|
|
|
15716
16261
|
return $tea.cast<DescribeEdgeMachineModelsResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
15717
16262
|
}
|
|
15718
16263
|
|
|
16264
|
+
/**
|
|
16265
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
16266
|
+
*
|
|
16267
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
16268
|
+
*/
|
|
15719
16269
|
async describeEdgeMachineModels(): Promise<DescribeEdgeMachineModelsResponse> {
|
|
15720
16270
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15721
16271
|
let headers : {[key: string ]: string} = { };
|
|
15722
16272
|
return await this.describeEdgeMachineModelsWithOptions(headers, runtime);
|
|
15723
16273
|
}
|
|
15724
16274
|
|
|
16275
|
+
/**
|
|
16276
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
16277
|
+
*
|
|
16278
|
+
* @param headers map
|
|
16279
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16280
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
16281
|
+
*/
|
|
15725
16282
|
async describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineTunnelConfigDetailResponse> {
|
|
15726
16283
|
let req = new $OpenApi.OpenApiRequest({
|
|
15727
16284
|
headers: headers,
|
|
@@ -15740,12 +16297,25 @@ export default class Client extends OpenApi {
|
|
|
15740
16297
|
return $tea.cast<DescribeEdgeMachineTunnelConfigDetailResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
15741
16298
|
}
|
|
15742
16299
|
|
|
16300
|
+
/**
|
|
16301
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
16302
|
+
*
|
|
16303
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
16304
|
+
*/
|
|
15743
16305
|
async describeEdgeMachineTunnelConfigDetail(edgeMachineid: string): Promise<DescribeEdgeMachineTunnelConfigDetailResponse> {
|
|
15744
16306
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15745
16307
|
let headers : {[key: string ]: string} = { };
|
|
15746
16308
|
return await this.describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime);
|
|
15747
16309
|
}
|
|
15748
16310
|
|
|
16311
|
+
/**
|
|
16312
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
16313
|
+
*
|
|
16314
|
+
* @param request DescribeEdgeMachinesRequest
|
|
16315
|
+
* @param headers map
|
|
16316
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16317
|
+
* @return DescribeEdgeMachinesResponse
|
|
16318
|
+
*/
|
|
15749
16319
|
async describeEdgeMachinesWithOptions(request: DescribeEdgeMachinesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachinesResponse> {
|
|
15750
16320
|
Util.validateModel(request);
|
|
15751
16321
|
let query : {[key: string ]: any} = { };
|
|
@@ -15791,12 +16361,26 @@ export default class Client extends OpenApi {
|
|
|
15791
16361
|
return $tea.cast<DescribeEdgeMachinesResponse>(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
15792
16362
|
}
|
|
15793
16363
|
|
|
16364
|
+
/**
|
|
16365
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
16366
|
+
*
|
|
16367
|
+
* @param request DescribeEdgeMachinesRequest
|
|
16368
|
+
* @return DescribeEdgeMachinesResponse
|
|
16369
|
+
*/
|
|
15794
16370
|
async describeEdgeMachines(request: DescribeEdgeMachinesRequest): Promise<DescribeEdgeMachinesResponse> {
|
|
15795
16371
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15796
16372
|
let headers : {[key: string ]: string} = { };
|
|
15797
16373
|
return await this.describeEdgeMachinesWithOptions(request, headers, runtime);
|
|
15798
16374
|
}
|
|
15799
16375
|
|
|
16376
|
+
/**
|
|
16377
|
+
* @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.
|
|
16378
|
+
*
|
|
16379
|
+
* @param request DescribeEventsRequest
|
|
16380
|
+
* @param headers map
|
|
16381
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16382
|
+
* @return DescribeEventsResponse
|
|
16383
|
+
*/
|
|
15800
16384
|
async describeEventsWithOptions(request: DescribeEventsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsResponse> {
|
|
15801
16385
|
Util.validateModel(request);
|
|
15802
16386
|
let query : {[key: string ]: any} = { };
|
|
@@ -15834,6 +16418,12 @@ export default class Client extends OpenApi {
|
|
|
15834
16418
|
return $tea.cast<DescribeEventsResponse>(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
15835
16419
|
}
|
|
15836
16420
|
|
|
16421
|
+
/**
|
|
16422
|
+
* @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.
|
|
16423
|
+
*
|
|
16424
|
+
* @param request DescribeEventsRequest
|
|
16425
|
+
* @return DescribeEventsResponse
|
|
16426
|
+
*/
|
|
15837
16427
|
async describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse> {
|
|
15838
16428
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15839
16429
|
let headers : {[key: string ]: string} = { };
|
|
@@ -15841,12 +16431,14 @@ export default class Client extends OpenApi {
|
|
|
15841
16431
|
}
|
|
15842
16432
|
|
|
15843
16433
|
/**
|
|
15844
|
-
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
|
|
15849
|
-
|
|
16434
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
16435
|
+
*
|
|
16436
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
16437
|
+
*
|
|
16438
|
+
* @param request DescribeExternalAgentRequest
|
|
16439
|
+
* @param headers map
|
|
16440
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16441
|
+
* @return DescribeExternalAgentResponse
|
|
15850
16442
|
*/
|
|
15851
16443
|
async describeExternalAgentWithOptions(ClusterId: string, request: DescribeExternalAgentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse> {
|
|
15852
16444
|
Util.validateModel(request);
|
|
@@ -15878,10 +16470,12 @@ export default class Client extends OpenApi {
|
|
|
15878
16470
|
}
|
|
15879
16471
|
|
|
15880
16472
|
/**
|
|
15881
|
-
|
|
15882
|
-
|
|
15883
|
-
|
|
15884
|
-
|
|
16473
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
16474
|
+
*
|
|
16475
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
16476
|
+
*
|
|
16477
|
+
* @param request DescribeExternalAgentRequest
|
|
16478
|
+
* @return DescribeExternalAgentResponse
|
|
15885
16479
|
*/
|
|
15886
16480
|
async describeExternalAgent(ClusterId: string, request: DescribeExternalAgentRequest): Promise<DescribeExternalAgentResponse> {
|
|
15887
16481
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -15889,6 +16483,14 @@ export default class Client extends OpenApi {
|
|
|
15889
16483
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
15890
16484
|
}
|
|
15891
16485
|
|
|
16486
|
+
/**
|
|
16487
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
16488
|
+
*
|
|
16489
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
16490
|
+
* @param headers map
|
|
16491
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16492
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
16493
|
+
*/
|
|
15892
16494
|
async describeKubernetesVersionMetadataWithOptions(request: DescribeKubernetesVersionMetadataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeKubernetesVersionMetadataResponse> {
|
|
15893
16495
|
Util.validateModel(request);
|
|
15894
16496
|
let query : {[key: string ]: any} = { };
|
|
@@ -15908,6 +16510,10 @@ export default class Client extends OpenApi {
|
|
|
15908
16510
|
query["Profile"] = request.profile;
|
|
15909
16511
|
}
|
|
15910
16512
|
|
|
16513
|
+
if (!Util.isUnset(request.queryUpgradableVersion)) {
|
|
16514
|
+
query["QueryUpgradableVersion"] = request.queryUpgradableVersion;
|
|
16515
|
+
}
|
|
16516
|
+
|
|
15911
16517
|
if (!Util.isUnset(request.region)) {
|
|
15912
16518
|
query["Region"] = request.region;
|
|
15913
16519
|
}
|
|
@@ -15934,12 +16540,26 @@ export default class Client extends OpenApi {
|
|
|
15934
16540
|
return $tea.cast<DescribeKubernetesVersionMetadataResponse>(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
15935
16541
|
}
|
|
15936
16542
|
|
|
16543
|
+
/**
|
|
16544
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
16545
|
+
*
|
|
16546
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
16547
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
16548
|
+
*/
|
|
15937
16549
|
async describeKubernetesVersionMetadata(request: DescribeKubernetesVersionMetadataRequest): Promise<DescribeKubernetesVersionMetadataResponse> {
|
|
15938
16550
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15939
16551
|
let headers : {[key: string ]: string} = { };
|
|
15940
16552
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
15941
16553
|
}
|
|
15942
16554
|
|
|
16555
|
+
/**
|
|
16556
|
+
* @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.
|
|
16557
|
+
*
|
|
16558
|
+
* @param request DescribeNodePoolVulsRequest
|
|
16559
|
+
* @param headers map
|
|
16560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16561
|
+
* @return DescribeNodePoolVulsResponse
|
|
16562
|
+
*/
|
|
15943
16563
|
async describeNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeNodePoolVulsResponse> {
|
|
15944
16564
|
Util.validateModel(request);
|
|
15945
16565
|
let query : {[key: string ]: any} = { };
|
|
@@ -15965,12 +16585,25 @@ export default class Client extends OpenApi {
|
|
|
15965
16585
|
return $tea.cast<DescribeNodePoolVulsResponse>(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
15966
16586
|
}
|
|
15967
16587
|
|
|
16588
|
+
/**
|
|
16589
|
+
* @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.
|
|
16590
|
+
*
|
|
16591
|
+
* @param request DescribeNodePoolVulsRequest
|
|
16592
|
+
* @return DescribeNodePoolVulsResponse
|
|
16593
|
+
*/
|
|
15968
16594
|
async describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse> {
|
|
15969
16595
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15970
16596
|
let headers : {[key: string ]: string} = { };
|
|
15971
16597
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
15972
16598
|
}
|
|
15973
16599
|
|
|
16600
|
+
/**
|
|
16601
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
16602
|
+
*
|
|
16603
|
+
* @param headers map
|
|
16604
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16605
|
+
* @return DescribePoliciesResponse
|
|
16606
|
+
*/
|
|
15974
16607
|
async describePoliciesWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse> {
|
|
15975
16608
|
let req = new $OpenApi.OpenApiRequest({
|
|
15976
16609
|
headers: headers,
|
|
@@ -15989,12 +16622,24 @@ export default class Client extends OpenApi {
|
|
|
15989
16622
|
return $tea.cast<DescribePoliciesResponse>(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
15990
16623
|
}
|
|
15991
16624
|
|
|
16625
|
+
/**
|
|
16626
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
16627
|
+
*
|
|
16628
|
+
* @return DescribePoliciesResponse
|
|
16629
|
+
*/
|
|
15992
16630
|
async describePolicies(): Promise<DescribePoliciesResponse> {
|
|
15993
16631
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15994
16632
|
let headers : {[key: string ]: string} = { };
|
|
15995
16633
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
15996
16634
|
}
|
|
15997
16635
|
|
|
16636
|
+
/**
|
|
16637
|
+
* @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.
|
|
16638
|
+
*
|
|
16639
|
+
* @param headers map
|
|
16640
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16641
|
+
* @return DescribePolicyDetailsResponse
|
|
16642
|
+
*/
|
|
15998
16643
|
async describePolicyDetailsWithOptions(policyName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyDetailsResponse> {
|
|
15999
16644
|
let req = new $OpenApi.OpenApiRequest({
|
|
16000
16645
|
headers: headers,
|
|
@@ -16013,12 +16658,24 @@ export default class Client extends OpenApi {
|
|
|
16013
16658
|
return $tea.cast<DescribePolicyDetailsResponse>(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
16014
16659
|
}
|
|
16015
16660
|
|
|
16661
|
+
/**
|
|
16662
|
+
* @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.
|
|
16663
|
+
*
|
|
16664
|
+
* @return DescribePolicyDetailsResponse
|
|
16665
|
+
*/
|
|
16016
16666
|
async describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse> {
|
|
16017
16667
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16018
16668
|
let headers : {[key: string ]: string} = { };
|
|
16019
16669
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
16020
16670
|
}
|
|
16021
16671
|
|
|
16672
|
+
/**
|
|
16673
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
16674
|
+
*
|
|
16675
|
+
* @param headers map
|
|
16676
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16677
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
16678
|
+
*/
|
|
16022
16679
|
async describePolicyGovernanceInClusterWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse> {
|
|
16023
16680
|
let req = new $OpenApi.OpenApiRequest({
|
|
16024
16681
|
headers: headers,
|
|
@@ -16037,12 +16694,25 @@ export default class Client extends OpenApi {
|
|
|
16037
16694
|
return $tea.cast<DescribePolicyGovernanceInClusterResponse>(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
16038
16695
|
}
|
|
16039
16696
|
|
|
16697
|
+
/**
|
|
16698
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
16699
|
+
*
|
|
16700
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
16701
|
+
*/
|
|
16040
16702
|
async describePolicyGovernanceInCluster(clusterId: string): Promise<DescribePolicyGovernanceInClusterResponse> {
|
|
16041
16703
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16042
16704
|
let headers : {[key: string ]: string} = { };
|
|
16043
16705
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
16044
16706
|
}
|
|
16045
16707
|
|
|
16708
|
+
/**
|
|
16709
|
+
* @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.
|
|
16710
|
+
*
|
|
16711
|
+
* @param request DescribePolicyInstancesRequest
|
|
16712
|
+
* @param headers map
|
|
16713
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16714
|
+
* @return DescribePolicyInstancesResponse
|
|
16715
|
+
*/
|
|
16046
16716
|
async describePolicyInstancesWithOptions(clusterId: string, request: DescribePolicyInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesResponse> {
|
|
16047
16717
|
Util.validateModel(request);
|
|
16048
16718
|
let query : {[key: string ]: any} = { };
|
|
@@ -16072,12 +16742,25 @@ export default class Client extends OpenApi {
|
|
|
16072
16742
|
return $tea.cast<DescribePolicyInstancesResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
16073
16743
|
}
|
|
16074
16744
|
|
|
16745
|
+
/**
|
|
16746
|
+
* @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.
|
|
16747
|
+
*
|
|
16748
|
+
* @param request DescribePolicyInstancesRequest
|
|
16749
|
+
* @return DescribePolicyInstancesResponse
|
|
16750
|
+
*/
|
|
16075
16751
|
async describePolicyInstances(clusterId: string, request: DescribePolicyInstancesRequest): Promise<DescribePolicyInstancesResponse> {
|
|
16076
16752
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16077
16753
|
let headers : {[key: string ]: string} = { };
|
|
16078
16754
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
16079
16755
|
}
|
|
16080
16756
|
|
|
16757
|
+
/**
|
|
16758
|
+
* @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.
|
|
16759
|
+
*
|
|
16760
|
+
* @param headers map
|
|
16761
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16762
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
16763
|
+
*/
|
|
16081
16764
|
async describePolicyInstancesStatusWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesStatusResponse> {
|
|
16082
16765
|
let req = new $OpenApi.OpenApiRequest({
|
|
16083
16766
|
headers: headers,
|
|
@@ -16096,6 +16779,11 @@ export default class Client extends OpenApi {
|
|
|
16096
16779
|
return $tea.cast<DescribePolicyInstancesStatusResponse>(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
16097
16780
|
}
|
|
16098
16781
|
|
|
16782
|
+
/**
|
|
16783
|
+
* @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.
|
|
16784
|
+
*
|
|
16785
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
16786
|
+
*/
|
|
16099
16787
|
async describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse> {
|
|
16100
16788
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16101
16789
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16103,13 +16791,15 @@ export default class Client extends OpenApi {
|
|
|
16103
16791
|
}
|
|
16104
16792
|
|
|
16105
16793
|
/**
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16794
|
+
* @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.
|
|
16795
|
+
*
|
|
16796
|
+
* @description **
|
|
16797
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
16798
|
+
*
|
|
16799
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
16800
|
+
* @param headers map
|
|
16801
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16802
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
16113
16803
|
*/
|
|
16114
16804
|
async describeSubaccountK8sClusterUserConfigWithOptions(ClusterId: string, Uid: string, request: DescribeSubaccountK8sClusterUserConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse> {
|
|
16115
16805
|
Util.validateModel(request);
|
|
@@ -16141,11 +16831,13 @@ export default class Client extends OpenApi {
|
|
|
16141
16831
|
}
|
|
16142
16832
|
|
|
16143
16833
|
/**
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16834
|
+
* @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.
|
|
16835
|
+
*
|
|
16836
|
+
* @description **
|
|
16837
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
16838
|
+
*
|
|
16839
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
16840
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
16149
16841
|
*/
|
|
16150
16842
|
async describeSubaccountK8sClusterUserConfig(ClusterId: string, Uid: string, request: DescribeSubaccountK8sClusterUserConfigRequest): Promise<DescribeSubaccountK8sClusterUserConfigResponse> {
|
|
16151
16843
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16153,6 +16845,13 @@ export default class Client extends OpenApi {
|
|
|
16153
16845
|
return await this.describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
16154
16846
|
}
|
|
16155
16847
|
|
|
16848
|
+
/**
|
|
16849
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
16850
|
+
*
|
|
16851
|
+
* @param headers map
|
|
16852
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16853
|
+
* @return DescribeTaskInfoResponse
|
|
16854
|
+
*/
|
|
16156
16855
|
async describeTaskInfoWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTaskInfoResponse> {
|
|
16157
16856
|
let req = new $OpenApi.OpenApiRequest({
|
|
16158
16857
|
headers: headers,
|
|
@@ -16171,12 +16870,25 @@ export default class Client extends OpenApi {
|
|
|
16171
16870
|
return $tea.cast<DescribeTaskInfoResponse>(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
16172
16871
|
}
|
|
16173
16872
|
|
|
16873
|
+
/**
|
|
16874
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
16875
|
+
*
|
|
16876
|
+
* @return DescribeTaskInfoResponse
|
|
16877
|
+
*/
|
|
16174
16878
|
async describeTaskInfo(taskId: string): Promise<DescribeTaskInfoResponse> {
|
|
16175
16879
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16176
16880
|
let headers : {[key: string ]: string} = { };
|
|
16177
16881
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
16178
16882
|
}
|
|
16179
16883
|
|
|
16884
|
+
/**
|
|
16885
|
+
* @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.
|
|
16886
|
+
*
|
|
16887
|
+
* @param request DescribeTemplateAttributeRequest
|
|
16888
|
+
* @param headers map
|
|
16889
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16890
|
+
* @return DescribeTemplateAttributeResponse
|
|
16891
|
+
*/
|
|
16180
16892
|
async describeTemplateAttributeWithOptions(TemplateId: string, request: DescribeTemplateAttributeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTemplateAttributeResponse> {
|
|
16181
16893
|
Util.validateModel(request);
|
|
16182
16894
|
let query : {[key: string ]: any} = { };
|
|
@@ -16202,12 +16914,26 @@ export default class Client extends OpenApi {
|
|
|
16202
16914
|
return $tea.cast<DescribeTemplateAttributeResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
16203
16915
|
}
|
|
16204
16916
|
|
|
16917
|
+
/**
|
|
16918
|
+
* @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.
|
|
16919
|
+
*
|
|
16920
|
+
* @param request DescribeTemplateAttributeRequest
|
|
16921
|
+
* @return DescribeTemplateAttributeResponse
|
|
16922
|
+
*/
|
|
16205
16923
|
async describeTemplateAttribute(TemplateId: string, request: DescribeTemplateAttributeRequest): Promise<DescribeTemplateAttributeResponse> {
|
|
16206
16924
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16207
16925
|
let headers : {[key: string ]: string} = { };
|
|
16208
16926
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
16209
16927
|
}
|
|
16210
16928
|
|
|
16929
|
+
/**
|
|
16930
|
+
* @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.
|
|
16931
|
+
*
|
|
16932
|
+
* @param request DescribeTemplatesRequest
|
|
16933
|
+
* @param headers map
|
|
16934
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16935
|
+
* @return DescribeTemplatesResponse
|
|
16936
|
+
*/
|
|
16211
16937
|
async describeTemplatesWithOptions(request: DescribeTemplatesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTemplatesResponse> {
|
|
16212
16938
|
Util.validateModel(request);
|
|
16213
16939
|
let query : {[key: string ]: any} = { };
|
|
@@ -16241,12 +16967,26 @@ export default class Client extends OpenApi {
|
|
|
16241
16967
|
return $tea.cast<DescribeTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
16242
16968
|
}
|
|
16243
16969
|
|
|
16970
|
+
/**
|
|
16971
|
+
* @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.
|
|
16972
|
+
*
|
|
16973
|
+
* @param request DescribeTemplatesRequest
|
|
16974
|
+
* @return DescribeTemplatesResponse
|
|
16975
|
+
*/
|
|
16244
16976
|
async describeTemplates(request: DescribeTemplatesRequest): Promise<DescribeTemplatesResponse> {
|
|
16245
16977
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16246
16978
|
let headers : {[key: string ]: string} = { };
|
|
16247
16979
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
16248
16980
|
}
|
|
16249
16981
|
|
|
16982
|
+
/**
|
|
16983
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
16984
|
+
*
|
|
16985
|
+
* @param request DescribeTriggerRequest
|
|
16986
|
+
* @param headers map
|
|
16987
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16988
|
+
* @return DescribeTriggerResponse
|
|
16989
|
+
*/
|
|
16250
16990
|
async describeTriggerWithOptions(clusterId: string, request: DescribeTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeTriggerResponse> {
|
|
16251
16991
|
Util.validateModel(request);
|
|
16252
16992
|
let query : {[key: string ]: any} = { };
|
|
@@ -16284,12 +17024,25 @@ export default class Client extends OpenApi {
|
|
|
16284
17024
|
return $tea.cast<DescribeTriggerResponse>(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
16285
17025
|
}
|
|
16286
17026
|
|
|
17027
|
+
/**
|
|
17028
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
17029
|
+
*
|
|
17030
|
+
* @param request DescribeTriggerRequest
|
|
17031
|
+
* @return DescribeTriggerResponse
|
|
17032
|
+
*/
|
|
16287
17033
|
async describeTrigger(clusterId: string, request: DescribeTriggerRequest): Promise<DescribeTriggerResponse> {
|
|
16288
17034
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16289
17035
|
let headers : {[key: string ]: string} = { };
|
|
16290
17036
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
16291
17037
|
}
|
|
16292
17038
|
|
|
17039
|
+
/**
|
|
17040
|
+
* @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.
|
|
17041
|
+
*
|
|
17042
|
+
* @param headers map
|
|
17043
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17044
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
17045
|
+
*/
|
|
16293
17046
|
async describeUserClusterNamespacesWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserClusterNamespacesResponse> {
|
|
16294
17047
|
let req = new $OpenApi.OpenApiRequest({
|
|
16295
17048
|
headers: headers,
|
|
@@ -16308,12 +17061,24 @@ export default class Client extends OpenApi {
|
|
|
16308
17061
|
return $tea.cast<DescribeUserClusterNamespacesResponse>(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
16309
17062
|
}
|
|
16310
17063
|
|
|
17064
|
+
/**
|
|
17065
|
+
* @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.
|
|
17066
|
+
*
|
|
17067
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
17068
|
+
*/
|
|
16311
17069
|
async describeUserClusterNamespaces(ClusterId: string): Promise<DescribeUserClusterNamespacesResponse> {
|
|
16312
17070
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16313
17071
|
let headers : {[key: string ]: string} = { };
|
|
16314
17072
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
16315
17073
|
}
|
|
16316
17074
|
|
|
17075
|
+
/**
|
|
17076
|
+
* @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.
|
|
17077
|
+
*
|
|
17078
|
+
* @param headers map
|
|
17079
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17080
|
+
* @return DescribeUserPermissionResponse
|
|
17081
|
+
*/
|
|
16317
17082
|
async describeUserPermissionWithOptions(uid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserPermissionResponse> {
|
|
16318
17083
|
let req = new $OpenApi.OpenApiRequest({
|
|
16319
17084
|
headers: headers,
|
|
@@ -16332,12 +17097,24 @@ export default class Client extends OpenApi {
|
|
|
16332
17097
|
return $tea.cast<DescribeUserPermissionResponse>(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
16333
17098
|
}
|
|
16334
17099
|
|
|
17100
|
+
/**
|
|
17101
|
+
* @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.
|
|
17102
|
+
*
|
|
17103
|
+
* @return DescribeUserPermissionResponse
|
|
17104
|
+
*/
|
|
16335
17105
|
async describeUserPermission(uid: string): Promise<DescribeUserPermissionResponse> {
|
|
16336
17106
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16337
17107
|
let headers : {[key: string ]: string} = { };
|
|
16338
17108
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
16339
17109
|
}
|
|
16340
17110
|
|
|
17111
|
+
/**
|
|
17112
|
+
* @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.
|
|
17113
|
+
*
|
|
17114
|
+
* @param headers map
|
|
17115
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17116
|
+
* @return DescribeUserQuotaResponse
|
|
17117
|
+
*/
|
|
16341
17118
|
async describeUserQuotaWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeUserQuotaResponse> {
|
|
16342
17119
|
let req = new $OpenApi.OpenApiRequest({
|
|
16343
17120
|
headers: headers,
|
|
@@ -16356,12 +17133,24 @@ export default class Client extends OpenApi {
|
|
|
16356
17133
|
return $tea.cast<DescribeUserQuotaResponse>(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
16357
17134
|
}
|
|
16358
17135
|
|
|
17136
|
+
/**
|
|
17137
|
+
* @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.
|
|
17138
|
+
*
|
|
17139
|
+
* @return DescribeUserQuotaResponse
|
|
17140
|
+
*/
|
|
16359
17141
|
async describeUserQuota(): Promise<DescribeUserQuotaResponse> {
|
|
16360
17142
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16361
17143
|
let headers : {[key: string ]: string} = { };
|
|
16362
17144
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
16363
17145
|
}
|
|
16364
17146
|
|
|
17147
|
+
/**
|
|
17148
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
17149
|
+
*
|
|
17150
|
+
* @param headers map
|
|
17151
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17152
|
+
* @return DescribeWorkflowsResponse
|
|
17153
|
+
*/
|
|
16365
17154
|
async describeWorkflowsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse> {
|
|
16366
17155
|
let req = new $OpenApi.OpenApiRequest({
|
|
16367
17156
|
headers: headers,
|
|
@@ -16380,12 +17169,25 @@ export default class Client extends OpenApi {
|
|
|
16380
17169
|
return $tea.cast<DescribeWorkflowsResponse>(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
|
|
16381
17170
|
}
|
|
16382
17171
|
|
|
17172
|
+
/**
|
|
17173
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
17174
|
+
*
|
|
17175
|
+
* @return DescribeWorkflowsResponse
|
|
17176
|
+
*/
|
|
16383
17177
|
async describeWorkflows(): Promise<DescribeWorkflowsResponse> {
|
|
16384
17178
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16385
17179
|
let headers : {[key: string ]: string} = { };
|
|
16386
17180
|
return await this.describeWorkflowsWithOptions(headers, runtime);
|
|
16387
17181
|
}
|
|
16388
17182
|
|
|
17183
|
+
/**
|
|
17184
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
17185
|
+
*
|
|
17186
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
17187
|
+
* @param headers map
|
|
17188
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17189
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
17190
|
+
*/
|
|
16389
17191
|
async edgeClusterAddEdgeMachineWithOptions(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
16390
17192
|
Util.validateModel(request);
|
|
16391
17193
|
let body : {[key: string ]: any} = { };
|
|
@@ -16419,6 +17221,12 @@ export default class Client extends OpenApi {
|
|
|
16419
17221
|
return $tea.cast<EdgeClusterAddEdgeMachineResponse>(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
16420
17222
|
}
|
|
16421
17223
|
|
|
17224
|
+
/**
|
|
17225
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
17226
|
+
*
|
|
17227
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
17228
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
17229
|
+
*/
|
|
16422
17230
|
async edgeClusterAddEdgeMachine(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest): Promise<EdgeClusterAddEdgeMachineResponse> {
|
|
16423
17231
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16424
17232
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16426,15 +17234,17 @@ export default class Client extends OpenApi {
|
|
|
16426
17234
|
}
|
|
16427
17235
|
|
|
16428
17236
|
/**
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
17237
|
+
* @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.
|
|
17238
|
+
*
|
|
17239
|
+
* @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).
|
|
17240
|
+
* 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.
|
|
17241
|
+
* 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.
|
|
17242
|
+
* 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.
|
|
17243
|
+
*
|
|
17244
|
+
* @param request FixNodePoolVulsRequest
|
|
17245
|
+
* @param headers map
|
|
17246
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17247
|
+
* @return FixNodePoolVulsResponse
|
|
16438
17248
|
*/
|
|
16439
17249
|
async fixNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<FixNodePoolVulsResponse> {
|
|
16440
17250
|
Util.validateModel(request);
|
|
@@ -16474,13 +17284,15 @@ export default class Client extends OpenApi {
|
|
|
16474
17284
|
}
|
|
16475
17285
|
|
|
16476
17286
|
/**
|
|
16477
|
-
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
17287
|
+
* @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.
|
|
17288
|
+
*
|
|
17289
|
+
* @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).
|
|
17290
|
+
* 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.
|
|
17291
|
+
* 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.
|
|
17292
|
+
* 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.
|
|
17293
|
+
*
|
|
17294
|
+
* @param request FixNodePoolVulsRequest
|
|
17295
|
+
* @return FixNodePoolVulsResponse
|
|
16484
17296
|
*/
|
|
16485
17297
|
async fixNodePoolVuls(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest): Promise<FixNodePoolVulsResponse> {
|
|
16486
17298
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16488,6 +17300,13 @@ export default class Client extends OpenApi {
|
|
|
16488
17300
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
16489
17301
|
}
|
|
16490
17302
|
|
|
17303
|
+
/**
|
|
17304
|
+
* @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.
|
|
17305
|
+
*
|
|
17306
|
+
* @param headers map
|
|
17307
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17308
|
+
* @return GetClusterAddonInstanceResponse
|
|
17309
|
+
*/
|
|
16491
17310
|
async getClusterAddonInstanceWithOptions(clusterId: string, instanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterAddonInstanceResponse> {
|
|
16492
17311
|
let req = new $OpenApi.OpenApiRequest({
|
|
16493
17312
|
headers: headers,
|
|
@@ -16506,12 +17325,24 @@ export default class Client extends OpenApi {
|
|
|
16506
17325
|
return $tea.cast<GetClusterAddonInstanceResponse>(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
16507
17326
|
}
|
|
16508
17327
|
|
|
17328
|
+
/**
|
|
17329
|
+
* @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.
|
|
17330
|
+
*
|
|
17331
|
+
* @return GetClusterAddonInstanceResponse
|
|
17332
|
+
*/
|
|
16509
17333
|
async getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse> {
|
|
16510
17334
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16511
17335
|
let headers : {[key: string ]: string} = { };
|
|
16512
17336
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
16513
17337
|
}
|
|
16514
17338
|
|
|
17339
|
+
/**
|
|
17340
|
+
* @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.
|
|
17341
|
+
*
|
|
17342
|
+
* @param headers map
|
|
17343
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17344
|
+
* @return GetClusterCheckResponse
|
|
17345
|
+
*/
|
|
16515
17346
|
async getClusterCheckWithOptions(clusterId: string, checkId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckResponse> {
|
|
16516
17347
|
let req = new $OpenApi.OpenApiRequest({
|
|
16517
17348
|
headers: headers,
|
|
@@ -16530,12 +17361,25 @@ export default class Client extends OpenApi {
|
|
|
16530
17361
|
return $tea.cast<GetClusterCheckResponse>(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
16531
17362
|
}
|
|
16532
17363
|
|
|
17364
|
+
/**
|
|
17365
|
+
* @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.
|
|
17366
|
+
*
|
|
17367
|
+
* @return GetClusterCheckResponse
|
|
17368
|
+
*/
|
|
16533
17369
|
async getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse> {
|
|
16534
17370
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16535
17371
|
let headers : {[key: string ]: string} = { };
|
|
16536
17372
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
16537
17373
|
}
|
|
16538
17374
|
|
|
17375
|
+
/**
|
|
17376
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
17377
|
+
*
|
|
17378
|
+
* @param request GetKubernetesTriggerRequest
|
|
17379
|
+
* @param headers map
|
|
17380
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17381
|
+
* @return GetKubernetesTriggerResponse
|
|
17382
|
+
*/
|
|
16539
17383
|
async getKubernetesTriggerWithOptions(ClusterId: string, request: GetKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetKubernetesTriggerResponse> {
|
|
16540
17384
|
Util.validateModel(request);
|
|
16541
17385
|
let query : {[key: string ]: any} = { };
|
|
@@ -16573,12 +17417,25 @@ export default class Client extends OpenApi {
|
|
|
16573
17417
|
return $tea.cast<GetKubernetesTriggerResponse>(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
16574
17418
|
}
|
|
16575
17419
|
|
|
17420
|
+
/**
|
|
17421
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
17422
|
+
*
|
|
17423
|
+
* @param request GetKubernetesTriggerRequest
|
|
17424
|
+
* @return GetKubernetesTriggerResponse
|
|
17425
|
+
*/
|
|
16576
17426
|
async getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse> {
|
|
16577
17427
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16578
17428
|
let headers : {[key: string ]: string} = { };
|
|
16579
17429
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
16580
17430
|
}
|
|
16581
17431
|
|
|
17432
|
+
/**
|
|
17433
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
17434
|
+
*
|
|
17435
|
+
* @param headers map
|
|
17436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17437
|
+
* @return GetUpgradeStatusResponse
|
|
17438
|
+
*/
|
|
16582
17439
|
async getUpgradeStatusWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse> {
|
|
16583
17440
|
let req = new $OpenApi.OpenApiRequest({
|
|
16584
17441
|
headers: headers,
|
|
@@ -16597,6 +17454,11 @@ export default class Client extends OpenApi {
|
|
|
16597
17454
|
return $tea.cast<GetUpgradeStatusResponse>(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
16598
17455
|
}
|
|
16599
17456
|
|
|
17457
|
+
/**
|
|
17458
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
17459
|
+
*
|
|
17460
|
+
* @return GetUpgradeStatusResponse
|
|
17461
|
+
*/
|
|
16600
17462
|
async getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse> {
|
|
16601
17463
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16602
17464
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16604,15 +17466,17 @@ export default class Client extends OpenApi {
|
|
|
16604
17466
|
}
|
|
16605
17467
|
|
|
16606
17468
|
/**
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
17469
|
+
* @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.
|
|
17470
|
+
*
|
|
17471
|
+
* @description ****
|
|
17472
|
+
* * 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).
|
|
17473
|
+
* * 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).
|
|
17474
|
+
* * 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.
|
|
17475
|
+
*
|
|
17476
|
+
* @param request GrantPermissionsRequest
|
|
17477
|
+
* @param headers map
|
|
17478
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17479
|
+
* @return GrantPermissionsResponse
|
|
16616
17480
|
*/
|
|
16617
17481
|
async grantPermissionsWithOptions(uid: string, request: GrantPermissionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse> {
|
|
16618
17482
|
Util.validateModel(request);
|
|
@@ -16635,13 +17499,15 @@ export default class Client extends OpenApi {
|
|
|
16635
17499
|
}
|
|
16636
17500
|
|
|
16637
17501
|
/**
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
17502
|
+
* @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.
|
|
17503
|
+
*
|
|
17504
|
+
* @description ****
|
|
17505
|
+
* * 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).
|
|
17506
|
+
* * 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).
|
|
17507
|
+
* * 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.
|
|
17508
|
+
*
|
|
17509
|
+
* @param request GrantPermissionsRequest
|
|
17510
|
+
* @return GrantPermissionsResponse
|
|
16645
17511
|
*/
|
|
16646
17512
|
async grantPermissions(uid: string, request: GrantPermissionsRequest): Promise<GrantPermissionsResponse> {
|
|
16647
17513
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -16649,6 +17515,14 @@ export default class Client extends OpenApi {
|
|
|
16649
17515
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
16650
17516
|
}
|
|
16651
17517
|
|
|
17518
|
+
/**
|
|
17519
|
+
* @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.
|
|
17520
|
+
*
|
|
17521
|
+
* @param request InstallClusterAddonsRequest
|
|
17522
|
+
* @param headers map
|
|
17523
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17524
|
+
* @return InstallClusterAddonsResponse
|
|
17525
|
+
*/
|
|
16652
17526
|
async installClusterAddonsWithOptions(ClusterId: string, request: InstallClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<InstallClusterAddonsResponse> {
|
|
16653
17527
|
Util.validateModel(request);
|
|
16654
17528
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -16669,12 +17543,26 @@ export default class Client extends OpenApi {
|
|
|
16669
17543
|
return $tea.cast<InstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
16670
17544
|
}
|
|
16671
17545
|
|
|
17546
|
+
/**
|
|
17547
|
+
* @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.
|
|
17548
|
+
*
|
|
17549
|
+
* @param request InstallClusterAddonsRequest
|
|
17550
|
+
* @return InstallClusterAddonsResponse
|
|
17551
|
+
*/
|
|
16672
17552
|
async installClusterAddons(ClusterId: string, request: InstallClusterAddonsRequest): Promise<InstallClusterAddonsResponse> {
|
|
16673
17553
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16674
17554
|
let headers : {[key: string ]: string} = { };
|
|
16675
17555
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
16676
17556
|
}
|
|
16677
17557
|
|
|
17558
|
+
/**
|
|
17559
|
+
* @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.
|
|
17560
|
+
*
|
|
17561
|
+
* @param request ListAddonsRequest
|
|
17562
|
+
* @param headers map
|
|
17563
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17564
|
+
* @return ListAddonsResponse
|
|
17565
|
+
*/
|
|
16678
17566
|
async listAddonsWithOptions(request: ListAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListAddonsResponse> {
|
|
16679
17567
|
Util.validateModel(request);
|
|
16680
17568
|
let query : {[key: string ]: any} = { };
|
|
@@ -16720,12 +17608,25 @@ export default class Client extends OpenApi {
|
|
|
16720
17608
|
return $tea.cast<ListAddonsResponse>(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
16721
17609
|
}
|
|
16722
17610
|
|
|
17611
|
+
/**
|
|
17612
|
+
* @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.
|
|
17613
|
+
*
|
|
17614
|
+
* @param request ListAddonsRequest
|
|
17615
|
+
* @return ListAddonsResponse
|
|
17616
|
+
*/
|
|
16723
17617
|
async listAddons(request: ListAddonsRequest): Promise<ListAddonsResponse> {
|
|
16724
17618
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16725
17619
|
let headers : {[key: string ]: string} = { };
|
|
16726
17620
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
16727
17621
|
}
|
|
16728
17622
|
|
|
17623
|
+
/**
|
|
17624
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
17625
|
+
*
|
|
17626
|
+
* @param headers map
|
|
17627
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17628
|
+
* @return ListClusterAddonInstancesResponse
|
|
17629
|
+
*/
|
|
16729
17630
|
async listClusterAddonInstancesWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterAddonInstancesResponse> {
|
|
16730
17631
|
let req = new $OpenApi.OpenApiRequest({
|
|
16731
17632
|
headers: headers,
|
|
@@ -16744,12 +17645,25 @@ export default class Client extends OpenApi {
|
|
|
16744
17645
|
return $tea.cast<ListClusterAddonInstancesResponse>(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
16745
17646
|
}
|
|
16746
17647
|
|
|
17648
|
+
/**
|
|
17649
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
17650
|
+
*
|
|
17651
|
+
* @return ListClusterAddonInstancesResponse
|
|
17652
|
+
*/
|
|
16747
17653
|
async listClusterAddonInstances(clusterId: string): Promise<ListClusterAddonInstancesResponse> {
|
|
16748
17654
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16749
17655
|
let headers : {[key: string ]: string} = { };
|
|
16750
17656
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
16751
17657
|
}
|
|
16752
17658
|
|
|
17659
|
+
/**
|
|
17660
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
17661
|
+
*
|
|
17662
|
+
* @param request ListClusterChecksRequest
|
|
17663
|
+
* @param headers map
|
|
17664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17665
|
+
* @return ListClusterChecksResponse
|
|
17666
|
+
*/
|
|
16753
17667
|
async listClusterChecksWithOptions(clusterId: string, request: ListClusterChecksRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse> {
|
|
16754
17668
|
Util.validateModel(request);
|
|
16755
17669
|
let query : {[key: string ]: any} = { };
|
|
@@ -16779,12 +17693,26 @@ export default class Client extends OpenApi {
|
|
|
16779
17693
|
return $tea.cast<ListClusterChecksResponse>(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
16780
17694
|
}
|
|
16781
17695
|
|
|
17696
|
+
/**
|
|
17697
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
17698
|
+
*
|
|
17699
|
+
* @param request ListClusterChecksRequest
|
|
17700
|
+
* @return ListClusterChecksResponse
|
|
17701
|
+
*/
|
|
16782
17702
|
async listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse> {
|
|
16783
17703
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16784
17704
|
let headers : {[key: string ]: string} = { };
|
|
16785
17705
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
16786
17706
|
}
|
|
16787
17707
|
|
|
17708
|
+
/**
|
|
17709
|
+
* @summary 获取自动运维执行计划列表
|
|
17710
|
+
*
|
|
17711
|
+
* @param request ListOperationPlansRequest
|
|
17712
|
+
* @param headers map
|
|
17713
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17714
|
+
* @return ListOperationPlansResponse
|
|
17715
|
+
*/
|
|
16788
17716
|
async listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse> {
|
|
16789
17717
|
Util.validateModel(request);
|
|
16790
17718
|
let query : {[key: string ]: any} = { };
|
|
@@ -16814,12 +17742,26 @@ export default class Client extends OpenApi {
|
|
|
16814
17742
|
return $tea.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
16815
17743
|
}
|
|
16816
17744
|
|
|
17745
|
+
/**
|
|
17746
|
+
* @summary 获取自动运维执行计划列表
|
|
17747
|
+
*
|
|
17748
|
+
* @param request ListOperationPlansRequest
|
|
17749
|
+
* @return ListOperationPlansResponse
|
|
17750
|
+
*/
|
|
16817
17751
|
async listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse> {
|
|
16818
17752
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16819
17753
|
let headers : {[key: string ]: string} = { };
|
|
16820
17754
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
16821
17755
|
}
|
|
16822
17756
|
|
|
17757
|
+
/**
|
|
17758
|
+
* @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.
|
|
17759
|
+
*
|
|
17760
|
+
* @param tmpReq ListTagResourcesRequest
|
|
17761
|
+
* @param headers map
|
|
17762
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17763
|
+
* @return ListTagResourcesResponse
|
|
17764
|
+
*/
|
|
16823
17765
|
async listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
16824
17766
|
Util.validateModel(tmpReq);
|
|
16825
17767
|
let request = new ListTagResourcesShrinkRequest({ });
|
|
@@ -16871,12 +17813,26 @@ export default class Client extends OpenApi {
|
|
|
16871
17813
|
return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
16872
17814
|
}
|
|
16873
17815
|
|
|
17816
|
+
/**
|
|
17817
|
+
* @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.
|
|
17818
|
+
*
|
|
17819
|
+
* @param request ListTagResourcesRequest
|
|
17820
|
+
* @return ListTagResourcesResponse
|
|
17821
|
+
*/
|
|
16874
17822
|
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
16875
17823
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16876
17824
|
let headers : {[key: string ]: string} = { };
|
|
16877
17825
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
16878
17826
|
}
|
|
16879
17827
|
|
|
17828
|
+
/**
|
|
17829
|
+
* @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.
|
|
17830
|
+
*
|
|
17831
|
+
* @param request MigrateClusterRequest
|
|
17832
|
+
* @param headers map
|
|
17833
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17834
|
+
* @return MigrateClusterResponse
|
|
17835
|
+
*/
|
|
16880
17836
|
async migrateClusterWithOptions(clusterId: string, request: MigrateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse> {
|
|
16881
17837
|
Util.validateModel(request);
|
|
16882
17838
|
let body : {[key: string ]: any} = { };
|
|
@@ -16906,12 +17862,26 @@ export default class Client extends OpenApi {
|
|
|
16906
17862
|
return $tea.cast<MigrateClusterResponse>(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
16907
17863
|
}
|
|
16908
17864
|
|
|
17865
|
+
/**
|
|
17866
|
+
* @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.
|
|
17867
|
+
*
|
|
17868
|
+
* @param request MigrateClusterRequest
|
|
17869
|
+
* @return MigrateClusterResponse
|
|
17870
|
+
*/
|
|
16909
17871
|
async migrateCluster(clusterId: string, request: MigrateClusterRequest): Promise<MigrateClusterResponse> {
|
|
16910
17872
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16911
17873
|
let headers : {[key: string ]: string} = { };
|
|
16912
17874
|
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
16913
17875
|
}
|
|
16914
17876
|
|
|
17877
|
+
/**
|
|
17878
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
17879
|
+
*
|
|
17880
|
+
* @param request ModifyClusterRequest
|
|
17881
|
+
* @param headers map
|
|
17882
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17883
|
+
* @return ModifyClusterResponse
|
|
17884
|
+
*/
|
|
16915
17885
|
async modifyClusterWithOptions(ClusterId: string, request: ModifyClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterResponse> {
|
|
16916
17886
|
Util.validateModel(request);
|
|
16917
17887
|
let body : {[key: string ]: any} = { };
|
|
@@ -16989,6 +17959,12 @@ export default class Client extends OpenApi {
|
|
|
16989
17959
|
return $tea.cast<ModifyClusterResponse>(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
16990
17960
|
}
|
|
16991
17961
|
|
|
17962
|
+
/**
|
|
17963
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
17964
|
+
*
|
|
17965
|
+
* @param request ModifyClusterRequest
|
|
17966
|
+
* @return ModifyClusterResponse
|
|
17967
|
+
*/
|
|
16992
17968
|
async modifyCluster(ClusterId: string, request: ModifyClusterRequest): Promise<ModifyClusterResponse> {
|
|
16993
17969
|
let runtime = new $Util.RuntimeOptions({ });
|
|
16994
17970
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16996,15 +17972,17 @@ export default class Client extends OpenApi {
|
|
|
16996
17972
|
}
|
|
16997
17973
|
|
|
16998
17974
|
/**
|
|
16999
|
-
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17975
|
+
* @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.
|
|
17976
|
+
*
|
|
17977
|
+
* @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.
|
|
17978
|
+
* * 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).
|
|
17979
|
+
* * 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).
|
|
17980
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
17981
|
+
*
|
|
17982
|
+
* @param request ModifyClusterAddonRequest
|
|
17983
|
+
* @param headers map
|
|
17984
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17985
|
+
* @return ModifyClusterAddonResponse
|
|
17008
17986
|
*/
|
|
17009
17987
|
async modifyClusterAddonWithOptions(clusterId: string, componentId: string, request: ModifyClusterAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterAddonResponse> {
|
|
17010
17988
|
Util.validateModel(request);
|
|
@@ -17032,13 +18010,15 @@ export default class Client extends OpenApi {
|
|
|
17032
18010
|
}
|
|
17033
18011
|
|
|
17034
18012
|
/**
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17041
|
-
|
|
18013
|
+
* @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.
|
|
18014
|
+
*
|
|
18015
|
+
* @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.
|
|
18016
|
+
* * 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).
|
|
18017
|
+
* * 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).
|
|
18018
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
18019
|
+
*
|
|
18020
|
+
* @param request ModifyClusterAddonRequest
|
|
18021
|
+
* @return ModifyClusterAddonResponse
|
|
17042
18022
|
*/
|
|
17043
18023
|
async modifyClusterAddon(clusterId: string, componentId: string, request: ModifyClusterAddonRequest): Promise<ModifyClusterAddonResponse> {
|
|
17044
18024
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17046,6 +18026,14 @@ export default class Client extends OpenApi {
|
|
|
17046
18026
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
17047
18027
|
}
|
|
17048
18028
|
|
|
18029
|
+
/**
|
|
18030
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
18031
|
+
*
|
|
18032
|
+
* @param request ModifyClusterConfigurationRequest
|
|
18033
|
+
* @param headers map
|
|
18034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18035
|
+
* @return ModifyClusterConfigurationResponse
|
|
18036
|
+
*/
|
|
17049
18037
|
async modifyClusterConfigurationWithOptions(ClusterId: string, request: ModifyClusterConfigurationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterConfigurationResponse> {
|
|
17050
18038
|
Util.validateModel(request);
|
|
17051
18039
|
let body : {[key: string ]: any} = { };
|
|
@@ -17071,12 +18059,26 @@ export default class Client extends OpenApi {
|
|
|
17071
18059
|
return $tea.cast<ModifyClusterConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
17072
18060
|
}
|
|
17073
18061
|
|
|
18062
|
+
/**
|
|
18063
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
18064
|
+
*
|
|
18065
|
+
* @param request ModifyClusterConfigurationRequest
|
|
18066
|
+
* @return ModifyClusterConfigurationResponse
|
|
18067
|
+
*/
|
|
17074
18068
|
async modifyClusterConfiguration(ClusterId: string, request: ModifyClusterConfigurationRequest): Promise<ModifyClusterConfigurationResponse> {
|
|
17075
18069
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17076
18070
|
let headers : {[key: string ]: string} = { };
|
|
17077
18071
|
return await this.modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime);
|
|
17078
18072
|
}
|
|
17079
18073
|
|
|
18074
|
+
/**
|
|
18075
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
18076
|
+
*
|
|
18077
|
+
* @param request ModifyClusterNodePoolRequest
|
|
18078
|
+
* @param headers map
|
|
18079
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18080
|
+
* @return ModifyClusterNodePoolResponse
|
|
18081
|
+
*/
|
|
17080
18082
|
async modifyClusterNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterNodePoolResponse> {
|
|
17081
18083
|
Util.validateModel(request);
|
|
17082
18084
|
let body : {[key: string ]: any} = { };
|
|
@@ -17130,12 +18132,26 @@ export default class Client extends OpenApi {
|
|
|
17130
18132
|
return $tea.cast<ModifyClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
17131
18133
|
}
|
|
17132
18134
|
|
|
18135
|
+
/**
|
|
18136
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
18137
|
+
*
|
|
18138
|
+
* @param request ModifyClusterNodePoolRequest
|
|
18139
|
+
* @return ModifyClusterNodePoolResponse
|
|
18140
|
+
*/
|
|
17133
18141
|
async modifyClusterNodePool(ClusterId: string, NodepoolId: string, request: ModifyClusterNodePoolRequest): Promise<ModifyClusterNodePoolResponse> {
|
|
17134
18142
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17135
18143
|
let headers : {[key: string ]: string} = { };
|
|
17136
18144
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17137
18145
|
}
|
|
17138
18146
|
|
|
18147
|
+
/**
|
|
18148
|
+
* @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.
|
|
18149
|
+
*
|
|
18150
|
+
* @param request ModifyClusterTagsRequest
|
|
18151
|
+
* @param headers map
|
|
18152
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18153
|
+
* @return ModifyClusterTagsResponse
|
|
18154
|
+
*/
|
|
17139
18155
|
async modifyClusterTagsWithOptions(ClusterId: string, request: ModifyClusterTagsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse> {
|
|
17140
18156
|
Util.validateModel(request);
|
|
17141
18157
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -17156,6 +18172,12 @@ export default class Client extends OpenApi {
|
|
|
17156
18172
|
return $tea.cast<ModifyClusterTagsResponse>(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
17157
18173
|
}
|
|
17158
18174
|
|
|
18175
|
+
/**
|
|
18176
|
+
* @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.
|
|
18177
|
+
*
|
|
18178
|
+
* @param request ModifyClusterTagsRequest
|
|
18179
|
+
* @return ModifyClusterTagsResponse
|
|
18180
|
+
*/
|
|
17159
18181
|
async modifyClusterTags(ClusterId: string, request: ModifyClusterTagsRequest): Promise<ModifyClusterTagsResponse> {
|
|
17160
18182
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17161
18183
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17163,12 +18185,14 @@ export default class Client extends OpenApi {
|
|
|
17163
18185
|
}
|
|
17164
18186
|
|
|
17165
18187
|
/**
|
|
17166
|
-
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
|
|
17170
|
-
|
|
17171
|
-
|
|
18188
|
+
* @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.
|
|
18189
|
+
*
|
|
18190
|
+
* @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.
|
|
18191
|
+
*
|
|
18192
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
18193
|
+
* @param headers map
|
|
18194
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18195
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
17172
18196
|
*/
|
|
17173
18197
|
async modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse> {
|
|
17174
18198
|
Util.validateModel(request);
|
|
@@ -17204,10 +18228,12 @@ export default class Client extends OpenApi {
|
|
|
17204
18228
|
}
|
|
17205
18229
|
|
|
17206
18230
|
/**
|
|
17207
|
-
|
|
17208
|
-
|
|
17209
|
-
|
|
17210
|
-
|
|
18231
|
+
* @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.
|
|
18232
|
+
*
|
|
18233
|
+
* @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.
|
|
18234
|
+
*
|
|
18235
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
18236
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
17211
18237
|
*/
|
|
17212
18238
|
async modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse> {
|
|
17213
18239
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17215,6 +18241,14 @@ export default class Client extends OpenApi {
|
|
|
17215
18241
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17216
18242
|
}
|
|
17217
18243
|
|
|
18244
|
+
/**
|
|
18245
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
18246
|
+
*
|
|
18247
|
+
* @param request ModifyPolicyInstanceRequest
|
|
18248
|
+
* @param headers map
|
|
18249
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18250
|
+
* @return ModifyPolicyInstanceResponse
|
|
18251
|
+
*/
|
|
17218
18252
|
async modifyPolicyInstanceWithOptions(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse> {
|
|
17219
18253
|
Util.validateModel(request);
|
|
17220
18254
|
let body : {[key: string ]: any} = { };
|
|
@@ -17252,6 +18286,12 @@ export default class Client extends OpenApi {
|
|
|
17252
18286
|
return $tea.cast<ModifyPolicyInstanceResponse>(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
17253
18287
|
}
|
|
17254
18288
|
|
|
18289
|
+
/**
|
|
18290
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
18291
|
+
*
|
|
18292
|
+
* @param request ModifyPolicyInstanceRequest
|
|
18293
|
+
* @return ModifyPolicyInstanceResponse
|
|
18294
|
+
*/
|
|
17255
18295
|
async modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse> {
|
|
17256
18296
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17257
18297
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17259,13 +18299,15 @@ export default class Client extends OpenApi {
|
|
|
17259
18299
|
}
|
|
17260
18300
|
|
|
17261
18301
|
/**
|
|
17262
|
-
|
|
17263
|
-
|
|
17264
|
-
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
|
|
17268
|
-
|
|
18302
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
18303
|
+
*
|
|
18304
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
18305
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
18306
|
+
*
|
|
18307
|
+
* @param request OpenAckServiceRequest
|
|
18308
|
+
* @param headers map
|
|
18309
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18310
|
+
* @return OpenAckServiceResponse
|
|
17269
18311
|
*/
|
|
17270
18312
|
async openAckServiceWithOptions(request: OpenAckServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<OpenAckServiceResponse> {
|
|
17271
18313
|
Util.validateModel(request);
|
|
@@ -17293,11 +18335,13 @@ export default class Client extends OpenApi {
|
|
|
17293
18335
|
}
|
|
17294
18336
|
|
|
17295
18337
|
/**
|
|
17296
|
-
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
18338
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
18339
|
+
*
|
|
18340
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
18341
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
18342
|
+
*
|
|
18343
|
+
* @param request OpenAckServiceRequest
|
|
18344
|
+
* @return OpenAckServiceResponse
|
|
17301
18345
|
*/
|
|
17302
18346
|
async openAckService(request: OpenAckServiceRequest): Promise<OpenAckServiceResponse> {
|
|
17303
18347
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17306,11 +18350,13 @@ export default class Client extends OpenApi {
|
|
|
17306
18350
|
}
|
|
17307
18351
|
|
|
17308
18352
|
/**
|
|
17309
|
-
|
|
17310
|
-
|
|
17311
|
-
|
|
17312
|
-
|
|
17313
|
-
|
|
18353
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
18354
|
+
*
|
|
18355
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
18356
|
+
*
|
|
18357
|
+
* @param headers map
|
|
18358
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18359
|
+
* @return PauseClusterUpgradeResponse
|
|
17314
18360
|
*/
|
|
17315
18361
|
// Deprecated
|
|
17316
18362
|
async pauseClusterUpgradeWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseClusterUpgradeResponse> {
|
|
@@ -17332,9 +18378,11 @@ export default class Client extends OpenApi {
|
|
|
17332
18378
|
}
|
|
17333
18379
|
|
|
17334
18380
|
/**
|
|
17335
|
-
|
|
17336
|
-
|
|
17337
|
-
|
|
18381
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
18382
|
+
*
|
|
18383
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
18384
|
+
*
|
|
18385
|
+
* @return PauseClusterUpgradeResponse
|
|
17338
18386
|
*/
|
|
17339
18387
|
// Deprecated
|
|
17340
18388
|
async pauseClusterUpgrade(ClusterId: string): Promise<PauseClusterUpgradeResponse> {
|
|
@@ -17343,6 +18391,13 @@ export default class Client extends OpenApi {
|
|
|
17343
18391
|
return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
17344
18392
|
}
|
|
17345
18393
|
|
|
18394
|
+
/**
|
|
18395
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
18396
|
+
*
|
|
18397
|
+
* @param headers map
|
|
18398
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18399
|
+
* @return PauseComponentUpgradeResponse
|
|
18400
|
+
*/
|
|
17346
18401
|
async pauseComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseComponentUpgradeResponse> {
|
|
17347
18402
|
let req = new $OpenApi.OpenApiRequest({
|
|
17348
18403
|
headers: headers,
|
|
@@ -17361,12 +18416,24 @@ export default class Client extends OpenApi {
|
|
|
17361
18416
|
return $tea.cast<PauseComponentUpgradeResponse>(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
17362
18417
|
}
|
|
17363
18418
|
|
|
18419
|
+
/**
|
|
18420
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
18421
|
+
*
|
|
18422
|
+
* @return PauseComponentUpgradeResponse
|
|
18423
|
+
*/
|
|
17364
18424
|
async pauseComponentUpgrade(clusterid: string, componentid: string): Promise<PauseComponentUpgradeResponse> {
|
|
17365
18425
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17366
18426
|
let headers : {[key: string ]: string} = { };
|
|
17367
18427
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
17368
18428
|
}
|
|
17369
18429
|
|
|
18430
|
+
/**
|
|
18431
|
+
* @summary Pauses an on-going task.
|
|
18432
|
+
*
|
|
18433
|
+
* @param headers map
|
|
18434
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18435
|
+
* @return PauseTaskResponse
|
|
18436
|
+
*/
|
|
17370
18437
|
async pauseTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseTaskResponse> {
|
|
17371
18438
|
let req = new $OpenApi.OpenApiRequest({
|
|
17372
18439
|
headers: headers,
|
|
@@ -17385,6 +18452,11 @@ export default class Client extends OpenApi {
|
|
|
17385
18452
|
return $tea.cast<PauseTaskResponse>(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
17386
18453
|
}
|
|
17387
18454
|
|
|
18455
|
+
/**
|
|
18456
|
+
* @summary Pauses an on-going task.
|
|
18457
|
+
*
|
|
18458
|
+
* @return PauseTaskResponse
|
|
18459
|
+
*/
|
|
17388
18460
|
async pauseTask(taskId: string): Promise<PauseTaskResponse> {
|
|
17389
18461
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17390
18462
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17392,17 +18464,20 @@ export default class Client extends OpenApi {
|
|
|
17392
18464
|
}
|
|
17393
18465
|
|
|
17394
18466
|
/**
|
|
17395
|
-
|
|
17396
|
-
|
|
17397
|
-
|
|
17398
|
-
|
|
17399
|
-
|
|
17400
|
-
|
|
17401
|
-
|
|
17402
|
-
|
|
17403
|
-
|
|
17404
|
-
|
|
17405
|
-
|
|
18467
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
18468
|
+
*
|
|
18469
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
18470
|
+
*
|
|
18471
|
+
* @description ****
|
|
18472
|
+
* * 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.
|
|
18473
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
18474
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
18475
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
18476
|
+
*
|
|
18477
|
+
* @param request RemoveClusterNodesRequest
|
|
18478
|
+
* @param headers map
|
|
18479
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18480
|
+
* @return RemoveClusterNodesResponse
|
|
17406
18481
|
*/
|
|
17407
18482
|
// Deprecated
|
|
17408
18483
|
async removeClusterNodesWithOptions(ClusterId: string, request: RemoveClusterNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveClusterNodesResponse> {
|
|
@@ -17439,15 +18514,18 @@ export default class Client extends OpenApi {
|
|
|
17439
18514
|
}
|
|
17440
18515
|
|
|
17441
18516
|
/**
|
|
17442
|
-
|
|
17443
|
-
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
|
|
17449
|
-
|
|
17450
|
-
|
|
18517
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
18518
|
+
*
|
|
18519
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
18520
|
+
*
|
|
18521
|
+
* @description ****
|
|
18522
|
+
* * 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.
|
|
18523
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
18524
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
18525
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
18526
|
+
*
|
|
18527
|
+
* @param request RemoveClusterNodesRequest
|
|
18528
|
+
* @return RemoveClusterNodesResponse
|
|
17451
18529
|
*/
|
|
17452
18530
|
// Deprecated
|
|
17453
18531
|
async removeClusterNodes(ClusterId: string, request: RemoveClusterNodesRequest): Promise<RemoveClusterNodesResponse> {
|
|
@@ -17457,14 +18535,16 @@ export default class Client extends OpenApi {
|
|
|
17457
18535
|
}
|
|
17458
18536
|
|
|
17459
18537
|
/**
|
|
17460
|
-
|
|
17461
|
-
|
|
17462
|
-
|
|
17463
|
-
|
|
17464
|
-
|
|
17465
|
-
|
|
17466
|
-
|
|
17467
|
-
|
|
18538
|
+
* @summary Removes nodes from a node pool.
|
|
18539
|
+
*
|
|
18540
|
+
* @description **
|
|
18541
|
+
* ****
|
|
18542
|
+
* * 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.
|
|
18543
|
+
*
|
|
18544
|
+
* @param tmpReq RemoveNodePoolNodesRequest
|
|
18545
|
+
* @param headers map
|
|
18546
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18547
|
+
* @return RemoveNodePoolNodesResponse
|
|
17468
18548
|
*/
|
|
17469
18549
|
async removeNodePoolNodesWithOptions(ClusterId: string, NodepoolId: string, tmpReq: RemoveNodePoolNodesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveNodePoolNodesResponse> {
|
|
17470
18550
|
Util.validateModel(tmpReq);
|
|
@@ -17518,12 +18598,14 @@ export default class Client extends OpenApi {
|
|
|
17518
18598
|
}
|
|
17519
18599
|
|
|
17520
18600
|
/**
|
|
17521
|
-
|
|
17522
|
-
|
|
17523
|
-
|
|
17524
|
-
|
|
17525
|
-
|
|
17526
|
-
|
|
18601
|
+
* @summary Removes nodes from a node pool.
|
|
18602
|
+
*
|
|
18603
|
+
* @description **
|
|
18604
|
+
* ****
|
|
18605
|
+
* * 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.
|
|
18606
|
+
*
|
|
18607
|
+
* @param request RemoveNodePoolNodesRequest
|
|
18608
|
+
* @return RemoveNodePoolNodesResponse
|
|
17527
18609
|
*/
|
|
17528
18610
|
async removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse> {
|
|
17529
18611
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17531,6 +18613,13 @@ export default class Client extends OpenApi {
|
|
|
17531
18613
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
17532
18614
|
}
|
|
17533
18615
|
|
|
18616
|
+
/**
|
|
18617
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
18618
|
+
*
|
|
18619
|
+
* @param headers map
|
|
18620
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18621
|
+
* @return RemoveWorkflowResponse
|
|
18622
|
+
*/
|
|
17534
18623
|
async removeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse> {
|
|
17535
18624
|
let req = new $OpenApi.OpenApiRequest({
|
|
17536
18625
|
headers: headers,
|
|
@@ -17549,12 +18638,25 @@ export default class Client extends OpenApi {
|
|
|
17549
18638
|
return $tea.cast<RemoveWorkflowResponse>(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
|
|
17550
18639
|
}
|
|
17551
18640
|
|
|
18641
|
+
/**
|
|
18642
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
18643
|
+
*
|
|
18644
|
+
* @return RemoveWorkflowResponse
|
|
18645
|
+
*/
|
|
17552
18646
|
async removeWorkflow(workflowName: string): Promise<RemoveWorkflowResponse> {
|
|
17553
18647
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17554
18648
|
let headers : {[key: string ]: string} = { };
|
|
17555
18649
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
17556
18650
|
}
|
|
17557
18651
|
|
|
18652
|
+
/**
|
|
18653
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
18654
|
+
*
|
|
18655
|
+
* @param request RepairClusterNodePoolRequest
|
|
18656
|
+
* @param headers map
|
|
18657
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18658
|
+
* @return RepairClusterNodePoolResponse
|
|
18659
|
+
*/
|
|
17558
18660
|
async repairClusterNodePoolWithOptions(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse> {
|
|
17559
18661
|
Util.validateModel(request);
|
|
17560
18662
|
let body : {[key: string ]: any} = { };
|
|
@@ -17584,12 +18686,25 @@ export default class Client extends OpenApi {
|
|
|
17584
18686
|
return $tea.cast<RepairClusterNodePoolResponse>(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
17585
18687
|
}
|
|
17586
18688
|
|
|
18689
|
+
/**
|
|
18690
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
18691
|
+
*
|
|
18692
|
+
* @param request RepairClusterNodePoolRequest
|
|
18693
|
+
* @return RepairClusterNodePoolResponse
|
|
18694
|
+
*/
|
|
17587
18695
|
async repairClusterNodePool(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest): Promise<RepairClusterNodePoolResponse> {
|
|
17588
18696
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17589
18697
|
let headers : {[key: string ]: string} = { };
|
|
17590
18698
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
17591
18699
|
}
|
|
17592
18700
|
|
|
18701
|
+
/**
|
|
18702
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
18703
|
+
*
|
|
18704
|
+
* @param headers map
|
|
18705
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18706
|
+
* @return ResumeComponentUpgradeResponse
|
|
18707
|
+
*/
|
|
17593
18708
|
async resumeComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeComponentUpgradeResponse> {
|
|
17594
18709
|
let req = new $OpenApi.OpenApiRequest({
|
|
17595
18710
|
headers: headers,
|
|
@@ -17608,12 +18723,24 @@ export default class Client extends OpenApi {
|
|
|
17608
18723
|
return $tea.cast<ResumeComponentUpgradeResponse>(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
17609
18724
|
}
|
|
17610
18725
|
|
|
18726
|
+
/**
|
|
18727
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
18728
|
+
*
|
|
18729
|
+
* @return ResumeComponentUpgradeResponse
|
|
18730
|
+
*/
|
|
17611
18731
|
async resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse> {
|
|
17612
18732
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17613
18733
|
let headers : {[key: string ]: string} = { };
|
|
17614
18734
|
return await this.resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
17615
18735
|
}
|
|
17616
18736
|
|
|
18737
|
+
/**
|
|
18738
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
18739
|
+
*
|
|
18740
|
+
* @param headers map
|
|
18741
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18742
|
+
* @return ResumeTaskResponse
|
|
18743
|
+
*/
|
|
17617
18744
|
async resumeTaskWithOptions(taskId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeTaskResponse> {
|
|
17618
18745
|
let req = new $OpenApi.OpenApiRequest({
|
|
17619
18746
|
headers: headers,
|
|
@@ -17632,6 +18759,11 @@ export default class Client extends OpenApi {
|
|
|
17632
18759
|
return $tea.cast<ResumeTaskResponse>(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
17633
18760
|
}
|
|
17634
18761
|
|
|
18762
|
+
/**
|
|
18763
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
18764
|
+
*
|
|
18765
|
+
* @return ResumeTaskResponse
|
|
18766
|
+
*/
|
|
17635
18767
|
async resumeTask(taskId: string): Promise<ResumeTaskResponse> {
|
|
17636
18768
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17637
18769
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17639,11 +18771,13 @@ export default class Client extends OpenApi {
|
|
|
17639
18771
|
}
|
|
17640
18772
|
|
|
17641
18773
|
/**
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
|
|
17645
|
-
|
|
17646
|
-
|
|
18774
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
18775
|
+
*
|
|
18776
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
18777
|
+
*
|
|
18778
|
+
* @param headers map
|
|
18779
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18780
|
+
* @return ResumeUpgradeClusterResponse
|
|
17647
18781
|
*/
|
|
17648
18782
|
// Deprecated
|
|
17649
18783
|
async resumeUpgradeClusterWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeUpgradeClusterResponse> {
|
|
@@ -17665,9 +18799,11 @@ export default class Client extends OpenApi {
|
|
|
17665
18799
|
}
|
|
17666
18800
|
|
|
17667
18801
|
/**
|
|
17668
|
-
|
|
17669
|
-
|
|
17670
|
-
|
|
18802
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
18803
|
+
*
|
|
18804
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
18805
|
+
*
|
|
18806
|
+
* @return ResumeUpgradeClusterResponse
|
|
17671
18807
|
*/
|
|
17672
18808
|
// Deprecated
|
|
17673
18809
|
async resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse> {
|
|
@@ -17676,6 +18812,14 @@ export default class Client extends OpenApi {
|
|
|
17676
18812
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
17677
18813
|
}
|
|
17678
18814
|
|
|
18815
|
+
/**
|
|
18816
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
18817
|
+
*
|
|
18818
|
+
* @param request RunClusterCheckRequest
|
|
18819
|
+
* @param headers map
|
|
18820
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18821
|
+
* @return RunClusterCheckResponse
|
|
18822
|
+
*/
|
|
17679
18823
|
async runClusterCheckWithOptions(clusterId: string, request: RunClusterCheckRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse> {
|
|
17680
18824
|
Util.validateModel(request);
|
|
17681
18825
|
let body : {[key: string ]: any} = { };
|
|
@@ -17709,6 +18853,12 @@ export default class Client extends OpenApi {
|
|
|
17709
18853
|
return $tea.cast<RunClusterCheckResponse>(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
17710
18854
|
}
|
|
17711
18855
|
|
|
18856
|
+
/**
|
|
18857
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
18858
|
+
*
|
|
18859
|
+
* @param request RunClusterCheckRequest
|
|
18860
|
+
* @return RunClusterCheckResponse
|
|
18861
|
+
*/
|
|
17712
18862
|
async runClusterCheck(clusterId: string, request: RunClusterCheckRequest): Promise<RunClusterCheckResponse> {
|
|
17713
18863
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17714
18864
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17716,12 +18866,14 @@ export default class Client extends OpenApi {
|
|
|
17716
18866
|
}
|
|
17717
18867
|
|
|
17718
18868
|
/**
|
|
17719
|
-
|
|
17720
|
-
|
|
17721
|
-
|
|
17722
|
-
|
|
17723
|
-
|
|
17724
|
-
|
|
18869
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
18870
|
+
*
|
|
18871
|
+
* @summary 扩容Kubernetes集群
|
|
18872
|
+
*
|
|
18873
|
+
* @param request ScaleClusterRequest
|
|
18874
|
+
* @param headers map
|
|
18875
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18876
|
+
* @return ScaleClusterResponse
|
|
17725
18877
|
*/
|
|
17726
18878
|
// Deprecated
|
|
17727
18879
|
async scaleClusterWithOptions(ClusterId: string, request: ScaleClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterResponse> {
|
|
@@ -17822,10 +18974,12 @@ export default class Client extends OpenApi {
|
|
|
17822
18974
|
}
|
|
17823
18975
|
|
|
17824
18976
|
/**
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
|
|
17828
|
-
|
|
18977
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
18978
|
+
*
|
|
18979
|
+
* @summary 扩容Kubernetes集群
|
|
18980
|
+
*
|
|
18981
|
+
* @param request ScaleClusterRequest
|
|
18982
|
+
* @return ScaleClusterResponse
|
|
17829
18983
|
*/
|
|
17830
18984
|
// Deprecated
|
|
17831
18985
|
async scaleCluster(ClusterId: string, request: ScaleClusterRequest): Promise<ScaleClusterResponse> {
|
|
@@ -17834,6 +18988,14 @@ export default class Client extends OpenApi {
|
|
|
17834
18988
|
return await this.scaleClusterWithOptions(ClusterId, request, headers, runtime);
|
|
17835
18989
|
}
|
|
17836
18990
|
|
|
18991
|
+
/**
|
|
18992
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
18993
|
+
*
|
|
18994
|
+
* @param request ScaleClusterNodePoolRequest
|
|
18995
|
+
* @param headers map
|
|
18996
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18997
|
+
* @return ScaleClusterNodePoolResponse
|
|
18998
|
+
*/
|
|
17837
18999
|
async scaleClusterNodePoolWithOptions(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterNodePoolResponse> {
|
|
17838
19000
|
Util.validateModel(request);
|
|
17839
19001
|
let body : {[key: string ]: any} = { };
|
|
@@ -17859,6 +19021,12 @@ export default class Client extends OpenApi {
|
|
|
17859
19021
|
return $tea.cast<ScaleClusterNodePoolResponse>(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
17860
19022
|
}
|
|
17861
19023
|
|
|
19024
|
+
/**
|
|
19025
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
19026
|
+
*
|
|
19027
|
+
* @param request ScaleClusterNodePoolRequest
|
|
19028
|
+
* @return ScaleClusterNodePoolResponse
|
|
19029
|
+
*/
|
|
17862
19030
|
async scaleClusterNodePool(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest): Promise<ScaleClusterNodePoolResponse> {
|
|
17863
19031
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17864
19032
|
let headers : {[key: string ]: string} = { };
|
|
@@ -17866,13 +19034,15 @@ export default class Client extends OpenApi {
|
|
|
17866
19034
|
}
|
|
17867
19035
|
|
|
17868
19036
|
/**
|
|
17869
|
-
|
|
17870
|
-
|
|
17871
|
-
|
|
17872
|
-
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
|
|
19037
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
19038
|
+
*
|
|
19039
|
+
* @description **
|
|
19040
|
+
* ****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).
|
|
19041
|
+
*
|
|
19042
|
+
* @param request ScaleOutClusterRequest
|
|
19043
|
+
* @param headers map
|
|
19044
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19045
|
+
* @return ScaleOutClusterResponse
|
|
17876
19046
|
*/
|
|
17877
19047
|
async scaleOutClusterWithOptions(ClusterId: string, request: ScaleOutClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScaleOutClusterResponse> {
|
|
17878
19048
|
Util.validateModel(request);
|
|
@@ -17980,11 +19150,13 @@ export default class Client extends OpenApi {
|
|
|
17980
19150
|
}
|
|
17981
19151
|
|
|
17982
19152
|
/**
|
|
17983
|
-
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
|
|
17987
|
-
|
|
19153
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
19154
|
+
*
|
|
19155
|
+
* @description **
|
|
19156
|
+
* ****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).
|
|
19157
|
+
*
|
|
19158
|
+
* @param request ScaleOutClusterRequest
|
|
19159
|
+
* @return ScaleOutClusterResponse
|
|
17988
19160
|
*/
|
|
17989
19161
|
async scaleOutCluster(ClusterId: string, request: ScaleOutClusterRequest): Promise<ScaleOutClusterResponse> {
|
|
17990
19162
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -17992,6 +19164,13 @@ export default class Client extends OpenApi {
|
|
|
17992
19164
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
17993
19165
|
}
|
|
17994
19166
|
|
|
19167
|
+
/**
|
|
19168
|
+
* @summary The cluster ID.
|
|
19169
|
+
*
|
|
19170
|
+
* @param headers map
|
|
19171
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19172
|
+
* @return ScanClusterVulsResponse
|
|
19173
|
+
*/
|
|
17995
19174
|
async scanClusterVulsWithOptions(clusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ScanClusterVulsResponse> {
|
|
17996
19175
|
let req = new $OpenApi.OpenApiRequest({
|
|
17997
19176
|
headers: headers,
|
|
@@ -18010,12 +19189,23 @@ export default class Client extends OpenApi {
|
|
|
18010
19189
|
return $tea.cast<ScanClusterVulsResponse>(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
18011
19190
|
}
|
|
18012
19191
|
|
|
19192
|
+
/**
|
|
19193
|
+
* @summary The cluster ID.
|
|
19194
|
+
*
|
|
19195
|
+
* @return ScanClusterVulsResponse
|
|
19196
|
+
*/
|
|
18013
19197
|
async scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse> {
|
|
18014
19198
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18015
19199
|
let headers : {[key: string ]: string} = { };
|
|
18016
19200
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
18017
19201
|
}
|
|
18018
19202
|
|
|
19203
|
+
/**
|
|
19204
|
+
* @param request StartAlertRequest
|
|
19205
|
+
* @param headers map
|
|
19206
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19207
|
+
* @return StartAlertResponse
|
|
19208
|
+
*/
|
|
18019
19209
|
async startAlertWithOptions(ClusterId: string, request: StartAlertRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartAlertResponse> {
|
|
18020
19210
|
Util.validateModel(request);
|
|
18021
19211
|
let body : {[key: string ]: any} = { };
|
|
@@ -18045,12 +19235,24 @@ export default class Client extends OpenApi {
|
|
|
18045
19235
|
return $tea.cast<StartAlertResponse>(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
18046
19236
|
}
|
|
18047
19237
|
|
|
19238
|
+
/**
|
|
19239
|
+
* @param request StartAlertRequest
|
|
19240
|
+
* @return StartAlertResponse
|
|
19241
|
+
*/
|
|
18048
19242
|
async startAlert(ClusterId: string, request: StartAlertRequest): Promise<StartAlertResponse> {
|
|
18049
19243
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18050
19244
|
let headers : {[key: string ]: string} = { };
|
|
18051
19245
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
18052
19246
|
}
|
|
18053
19247
|
|
|
19248
|
+
/**
|
|
19249
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
19250
|
+
*
|
|
19251
|
+
* @param request StartWorkflowRequest
|
|
19252
|
+
* @param headers map
|
|
19253
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19254
|
+
* @return StartWorkflowResponse
|
|
19255
|
+
*/
|
|
18054
19256
|
async startWorkflowWithOptions(request: StartWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse> {
|
|
18055
19257
|
Util.validateModel(request);
|
|
18056
19258
|
let body : {[key: string ]: any} = { };
|
|
@@ -18148,12 +19350,26 @@ export default class Client extends OpenApi {
|
|
|
18148
19350
|
return $tea.cast<StartWorkflowResponse>(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
18149
19351
|
}
|
|
18150
19352
|
|
|
19353
|
+
/**
|
|
19354
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
19355
|
+
*
|
|
19356
|
+
* @param request StartWorkflowRequest
|
|
19357
|
+
* @return StartWorkflowResponse
|
|
19358
|
+
*/
|
|
18151
19359
|
async startWorkflow(request: StartWorkflowRequest): Promise<StartWorkflowResponse> {
|
|
18152
19360
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18153
19361
|
let headers : {[key: string ]: string} = { };
|
|
18154
19362
|
return await this.startWorkflowWithOptions(request, headers, runtime);
|
|
18155
19363
|
}
|
|
18156
19364
|
|
|
19365
|
+
/**
|
|
19366
|
+
* @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).
|
|
19367
|
+
*
|
|
19368
|
+
* @param request StopAlertRequest
|
|
19369
|
+
* @param headers map
|
|
19370
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19371
|
+
* @return StopAlertResponse
|
|
19372
|
+
*/
|
|
18157
19373
|
async stopAlertWithOptions(ClusterId: string, request: StopAlertRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopAlertResponse> {
|
|
18158
19374
|
Util.validateModel(request);
|
|
18159
19375
|
let body : {[key: string ]: any} = { };
|
|
@@ -18183,12 +19399,25 @@ export default class Client extends OpenApi {
|
|
|
18183
19399
|
return $tea.cast<StopAlertResponse>(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
18184
19400
|
}
|
|
18185
19401
|
|
|
19402
|
+
/**
|
|
19403
|
+
* @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).
|
|
19404
|
+
*
|
|
19405
|
+
* @param request StopAlertRequest
|
|
19406
|
+
* @return StopAlertResponse
|
|
19407
|
+
*/
|
|
18186
19408
|
async stopAlert(ClusterId: string, request: StopAlertRequest): Promise<StopAlertResponse> {
|
|
18187
19409
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18188
19410
|
let headers : {[key: string ]: string} = { };
|
|
18189
19411
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
18190
19412
|
}
|
|
18191
19413
|
|
|
19414
|
+
/**
|
|
19415
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
19416
|
+
*
|
|
19417
|
+
* @param headers map
|
|
19418
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19419
|
+
* @return SyncClusterNodePoolResponse
|
|
19420
|
+
*/
|
|
18192
19421
|
async syncClusterNodePoolWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncClusterNodePoolResponse> {
|
|
18193
19422
|
let req = new $OpenApi.OpenApiRequest({
|
|
18194
19423
|
headers: headers,
|
|
@@ -18207,12 +19436,25 @@ export default class Client extends OpenApi {
|
|
|
18207
19436
|
return $tea.cast<SyncClusterNodePoolResponse>(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
18208
19437
|
}
|
|
18209
19438
|
|
|
19439
|
+
/**
|
|
19440
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
19441
|
+
*
|
|
19442
|
+
* @return SyncClusterNodePoolResponse
|
|
19443
|
+
*/
|
|
18210
19444
|
async syncClusterNodePool(ClusterId: string): Promise<SyncClusterNodePoolResponse> {
|
|
18211
19445
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18212
19446
|
let headers : {[key: string ]: string} = { };
|
|
18213
19447
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
18214
19448
|
}
|
|
18215
19449
|
|
|
19450
|
+
/**
|
|
19451
|
+
* @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.
|
|
19452
|
+
*
|
|
19453
|
+
* @param request TagResourcesRequest
|
|
19454
|
+
* @param headers map
|
|
19455
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19456
|
+
* @return TagResourcesResponse
|
|
19457
|
+
*/
|
|
18216
19458
|
async tagResourcesWithOptions(request: TagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
18217
19459
|
Util.validateModel(request);
|
|
18218
19460
|
let body : {[key: string ]: any} = { };
|
|
@@ -18250,12 +19492,26 @@ export default class Client extends OpenApi {
|
|
|
18250
19492
|
return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
18251
19493
|
}
|
|
18252
19494
|
|
|
19495
|
+
/**
|
|
19496
|
+
* @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.
|
|
19497
|
+
*
|
|
19498
|
+
* @param request TagResourcesRequest
|
|
19499
|
+
* @return TagResourcesResponse
|
|
19500
|
+
*/
|
|
18253
19501
|
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
18254
19502
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18255
19503
|
let headers : {[key: string ]: string} = { };
|
|
18256
19504
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
18257
19505
|
}
|
|
18258
19506
|
|
|
19507
|
+
/**
|
|
19508
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
19509
|
+
*
|
|
19510
|
+
* @param request UnInstallClusterAddonsRequest
|
|
19511
|
+
* @param headers map
|
|
19512
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19513
|
+
* @return UnInstallClusterAddonsResponse
|
|
19514
|
+
*/
|
|
18259
19515
|
async unInstallClusterAddonsWithOptions(ClusterId: string, request: UnInstallClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UnInstallClusterAddonsResponse> {
|
|
18260
19516
|
Util.validateModel(request);
|
|
18261
19517
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -18276,12 +19532,26 @@ export default class Client extends OpenApi {
|
|
|
18276
19532
|
return $tea.cast<UnInstallClusterAddonsResponse>(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
18277
19533
|
}
|
|
18278
19534
|
|
|
19535
|
+
/**
|
|
19536
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
19537
|
+
*
|
|
19538
|
+
* @param request UnInstallClusterAddonsRequest
|
|
19539
|
+
* @return UnInstallClusterAddonsResponse
|
|
19540
|
+
*/
|
|
18279
19541
|
async unInstallClusterAddons(ClusterId: string, request: UnInstallClusterAddonsRequest): Promise<UnInstallClusterAddonsResponse> {
|
|
18280
19542
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18281
19543
|
let headers : {[key: string ]: string} = { };
|
|
18282
19544
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
18283
19545
|
}
|
|
18284
19546
|
|
|
19547
|
+
/**
|
|
19548
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
19549
|
+
*
|
|
19550
|
+
* @param tmpReq UntagResourcesRequest
|
|
19551
|
+
* @param headers map
|
|
19552
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19553
|
+
* @return UntagResourcesResponse
|
|
19554
|
+
*/
|
|
18285
19555
|
async untagResourcesWithOptions(tmpReq: UntagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
18286
19556
|
Util.validateModel(tmpReq);
|
|
18287
19557
|
let request = new UntagResourcesShrinkRequest({ });
|
|
@@ -18333,12 +19603,23 @@ export default class Client extends OpenApi {
|
|
|
18333
19603
|
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
18334
19604
|
}
|
|
18335
19605
|
|
|
19606
|
+
/**
|
|
19607
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
19608
|
+
*
|
|
19609
|
+
* @param request UntagResourcesRequest
|
|
19610
|
+
* @return UntagResourcesResponse
|
|
19611
|
+
*/
|
|
18336
19612
|
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|
|
18337
19613
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18338
19614
|
let headers : {[key: string ]: string} = { };
|
|
18339
19615
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
18340
19616
|
}
|
|
18341
19617
|
|
|
19618
|
+
/**
|
|
19619
|
+
* @param headers map
|
|
19620
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19621
|
+
* @return UpdateContactGroupForAlertResponse
|
|
19622
|
+
*/
|
|
18342
19623
|
async updateContactGroupForAlertWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateContactGroupForAlertResponse> {
|
|
18343
19624
|
let req = new $OpenApi.OpenApiRequest({
|
|
18344
19625
|
headers: headers,
|
|
@@ -18357,12 +19638,23 @@ export default class Client extends OpenApi {
|
|
|
18357
19638
|
return $tea.cast<UpdateContactGroupForAlertResponse>(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
18358
19639
|
}
|
|
18359
19640
|
|
|
19641
|
+
/**
|
|
19642
|
+
* @return UpdateContactGroupForAlertResponse
|
|
19643
|
+
*/
|
|
18360
19644
|
async updateContactGroupForAlert(ClusterId: string): Promise<UpdateContactGroupForAlertResponse> {
|
|
18361
19645
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18362
19646
|
let headers : {[key: string ]: string} = { };
|
|
18363
19647
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, headers, runtime);
|
|
18364
19648
|
}
|
|
18365
19649
|
|
|
19650
|
+
/**
|
|
19651
|
+
* @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.
|
|
19652
|
+
*
|
|
19653
|
+
* @param request UpdateControlPlaneLogRequest
|
|
19654
|
+
* @param headers map
|
|
19655
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19656
|
+
* @return UpdateControlPlaneLogResponse
|
|
19657
|
+
*/
|
|
18366
19658
|
async updateControlPlaneLogWithOptions(ClusterId: string, request: UpdateControlPlaneLogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateControlPlaneLogResponse> {
|
|
18367
19659
|
Util.validateModel(request);
|
|
18368
19660
|
let body : {[key: string ]: any} = { };
|
|
@@ -18400,6 +19692,12 @@ export default class Client extends OpenApi {
|
|
|
18400
19692
|
return $tea.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
18401
19693
|
}
|
|
18402
19694
|
|
|
19695
|
+
/**
|
|
19696
|
+
* @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.
|
|
19697
|
+
*
|
|
19698
|
+
* @param request UpdateControlPlaneLogRequest
|
|
19699
|
+
* @return UpdateControlPlaneLogResponse
|
|
19700
|
+
*/
|
|
18403
19701
|
async updateControlPlaneLog(ClusterId: string, request: UpdateControlPlaneLogRequest): Promise<UpdateControlPlaneLogResponse> {
|
|
18404
19702
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18405
19703
|
let headers : {[key: string ]: string} = { };
|
|
@@ -18407,14 +19705,16 @@ export default class Client extends OpenApi {
|
|
|
18407
19705
|
}
|
|
18408
19706
|
|
|
18409
19707
|
/**
|
|
18410
|
-
|
|
18411
|
-
|
|
18412
|
-
|
|
18413
|
-
|
|
18414
|
-
|
|
18415
|
-
|
|
18416
|
-
|
|
18417
|
-
|
|
19708
|
+
* @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.
|
|
19709
|
+
*
|
|
19710
|
+
* @description **
|
|
19711
|
+
* ****
|
|
19712
|
+
* * 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.
|
|
19713
|
+
*
|
|
19714
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
19715
|
+
* @param headers map
|
|
19716
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19717
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
18418
19718
|
*/
|
|
18419
19719
|
async updateK8sClusterUserConfigExpireWithOptions(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateK8sClusterUserConfigExpireResponse> {
|
|
18420
19720
|
Util.validateModel(request);
|
|
@@ -18446,12 +19746,14 @@ export default class Client extends OpenApi {
|
|
|
18446
19746
|
}
|
|
18447
19747
|
|
|
18448
19748
|
/**
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
|
|
19749
|
+
* @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.
|
|
19750
|
+
*
|
|
19751
|
+
* @description **
|
|
19752
|
+
* ****
|
|
19753
|
+
* * 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.
|
|
19754
|
+
*
|
|
19755
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
19756
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
18455
19757
|
*/
|
|
18456
19758
|
async updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse> {
|
|
18457
19759
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -18459,6 +19761,14 @@ export default class Client extends OpenApi {
|
|
|
18459
19761
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
18460
19762
|
}
|
|
18461
19763
|
|
|
19764
|
+
/**
|
|
19765
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
19766
|
+
*
|
|
19767
|
+
* @param request UpdateTemplateRequest
|
|
19768
|
+
* @param headers map
|
|
19769
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19770
|
+
* @return UpdateTemplateResponse
|
|
19771
|
+
*/
|
|
18462
19772
|
async updateTemplateWithOptions(TemplateId: string, request: UpdateTemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateTemplateResponse> {
|
|
18463
19773
|
Util.validateModel(request);
|
|
18464
19774
|
let body : {[key: string ]: any} = { };
|
|
@@ -18500,12 +19810,26 @@ export default class Client extends OpenApi {
|
|
|
18500
19810
|
return $tea.cast<UpdateTemplateResponse>(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
18501
19811
|
}
|
|
18502
19812
|
|
|
19813
|
+
/**
|
|
19814
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
19815
|
+
*
|
|
19816
|
+
* @param request UpdateTemplateRequest
|
|
19817
|
+
* @return UpdateTemplateResponse
|
|
19818
|
+
*/
|
|
18503
19819
|
async updateTemplate(TemplateId: string, request: UpdateTemplateRequest): Promise<UpdateTemplateResponse> {
|
|
18504
19820
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18505
19821
|
let headers : {[key: string ]: string} = { };
|
|
18506
19822
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
18507
19823
|
}
|
|
18508
19824
|
|
|
19825
|
+
/**
|
|
19826
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
19827
|
+
*
|
|
19828
|
+
* @param request UpdateUserPermissionsRequest
|
|
19829
|
+
* @param headers map
|
|
19830
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19831
|
+
* @return UpdateUserPermissionsResponse
|
|
19832
|
+
*/
|
|
18509
19833
|
async updateUserPermissionsWithOptions(uid: string, request: UpdateUserPermissionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateUserPermissionsResponse> {
|
|
18510
19834
|
Util.validateModel(request);
|
|
18511
19835
|
let query : {[key: string ]: any} = { };
|
|
@@ -18532,12 +19856,26 @@ export default class Client extends OpenApi {
|
|
|
18532
19856
|
return $tea.cast<UpdateUserPermissionsResponse>(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
18533
19857
|
}
|
|
18534
19858
|
|
|
19859
|
+
/**
|
|
19860
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
19861
|
+
*
|
|
19862
|
+
* @param request UpdateUserPermissionsRequest
|
|
19863
|
+
* @return UpdateUserPermissionsResponse
|
|
19864
|
+
*/
|
|
18535
19865
|
async updateUserPermissions(uid: string, request: UpdateUserPermissionsRequest): Promise<UpdateUserPermissionsResponse> {
|
|
18536
19866
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18537
19867
|
let headers : {[key: string ]: string} = { };
|
|
18538
19868
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
18539
19869
|
}
|
|
18540
19870
|
|
|
19871
|
+
/**
|
|
19872
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
19873
|
+
*
|
|
19874
|
+
* @param request UpgradeClusterRequest
|
|
19875
|
+
* @param headers map
|
|
19876
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19877
|
+
* @return UpgradeClusterResponse
|
|
19878
|
+
*/
|
|
18541
19879
|
async upgradeClusterWithOptions(ClusterId: string, request: UpgradeClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterResponse> {
|
|
18542
19880
|
Util.validateModel(request);
|
|
18543
19881
|
let body : {[key: string ]: any} = { };
|
|
@@ -18575,12 +19913,26 @@ export default class Client extends OpenApi {
|
|
|
18575
19913
|
return $tea.cast<UpgradeClusterResponse>(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
18576
19914
|
}
|
|
18577
19915
|
|
|
19916
|
+
/**
|
|
19917
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
19918
|
+
*
|
|
19919
|
+
* @param request UpgradeClusterRequest
|
|
19920
|
+
* @return UpgradeClusterResponse
|
|
19921
|
+
*/
|
|
18578
19922
|
async upgradeCluster(ClusterId: string, request: UpgradeClusterRequest): Promise<UpgradeClusterResponse> {
|
|
18579
19923
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18580
19924
|
let headers : {[key: string ]: string} = { };
|
|
18581
19925
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
18582
19926
|
}
|
|
18583
19927
|
|
|
19928
|
+
/**
|
|
19929
|
+
* @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.
|
|
19930
|
+
*
|
|
19931
|
+
* @param request UpgradeClusterAddonsRequest
|
|
19932
|
+
* @param headers map
|
|
19933
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19934
|
+
* @return UpgradeClusterAddonsResponse
|
|
19935
|
+
*/
|
|
18584
19936
|
async upgradeClusterAddonsWithOptions(ClusterId: string, request: UpgradeClusterAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterAddonsResponse> {
|
|
18585
19937
|
Util.validateModel(request);
|
|
18586
19938
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -18601,6 +19953,12 @@ export default class Client extends OpenApi {
|
|
|
18601
19953
|
return $tea.cast<UpgradeClusterAddonsResponse>(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
18602
19954
|
}
|
|
18603
19955
|
|
|
19956
|
+
/**
|
|
19957
|
+
* @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.
|
|
19958
|
+
*
|
|
19959
|
+
* @param request UpgradeClusterAddonsRequest
|
|
19960
|
+
* @return UpgradeClusterAddonsResponse
|
|
19961
|
+
*/
|
|
18604
19962
|
async upgradeClusterAddons(ClusterId: string, request: UpgradeClusterAddonsRequest): Promise<UpgradeClusterAddonsResponse> {
|
|
18605
19963
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18606
19964
|
let headers : {[key: string ]: string} = { };
|
|
@@ -18608,12 +19966,14 @@ export default class Client extends OpenApi {
|
|
|
18608
19966
|
}
|
|
18609
19967
|
|
|
18610
19968
|
/**
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
19969
|
+
* @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.
|
|
19970
|
+
*
|
|
19971
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
19972
|
+
*
|
|
19973
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
19974
|
+
* @param headers map
|
|
19975
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19976
|
+
* @return UpgradeClusterNodepoolResponse
|
|
18617
19977
|
*/
|
|
18618
19978
|
async upgradeClusterNodepoolWithOptions(ClusterId: string, NodepoolId: string, request: UpgradeClusterNodepoolRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterNodepoolResponse> {
|
|
18619
19979
|
Util.validateModel(request);
|
|
@@ -18665,10 +20025,12 @@ export default class Client extends OpenApi {
|
|
|
18665
20025
|
}
|
|
18666
20026
|
|
|
18667
20027
|
/**
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
20028
|
+
* @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.
|
|
20029
|
+
*
|
|
20030
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
20031
|
+
*
|
|
20032
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
20033
|
+
* @return UpgradeClusterNodepoolResponse
|
|
18672
20034
|
*/
|
|
18673
20035
|
async upgradeClusterNodepool(ClusterId: string, NodepoolId: string, request: UpgradeClusterNodepoolRequest): Promise<UpgradeClusterNodepoolResponse> {
|
|
18674
20036
|
let runtime = new $Util.RuntimeOptions({ });
|