@alicloud/cs20151215 4.2.0 → 4.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -94,6 +94,43 @@ export class DataDisk extends $tea.Model {
94
94
  }
95
95
  }
96
96
 
97
+ export class InstancePatterns extends $tea.Model {
98
+ architectures?: string[];
99
+ burstPerformanceOption?: string;
100
+ core?: number;
101
+ excludedInstanceTypes?: string[];
102
+ instanceFamilyLevel?: string;
103
+ maxPrice?: number;
104
+ memory?: number;
105
+ static names(): { [key: string]: string } {
106
+ return {
107
+ architectures: 'architectures',
108
+ burstPerformanceOption: 'burst_performance_option',
109
+ core: 'core',
110
+ excludedInstanceTypes: 'excluded_instance_types',
111
+ instanceFamilyLevel: 'instance_family_level',
112
+ maxPrice: 'max_price',
113
+ memory: 'memory',
114
+ };
115
+ }
116
+
117
+ static types(): { [key: string]: any } {
118
+ return {
119
+ architectures: { 'type': 'array', 'itemType': 'string' },
120
+ burstPerformanceOption: 'string',
121
+ core: 'number',
122
+ excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
123
+ instanceFamilyLevel: 'string',
124
+ maxPrice: 'number',
125
+ memory: 'number',
126
+ };
127
+ }
128
+
129
+ constructor(map?: { [key: string]: any }) {
130
+ super(map);
131
+ }
132
+ }
133
+
97
134
  export class KubeletConfig extends $tea.Model {
98
135
  allowedUnsafeSysctls?: string[];
99
136
  containerLogMaxFiles?: number;
@@ -9267,6 +9304,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
9267
9304
  imageId?: string;
9268
9305
  imageType?: string;
9269
9306
  instanceChargeType?: string;
9307
+ instancePatterns?: InstancePatterns;
9270
9308
  instanceTypes?: string[];
9271
9309
  internetChargeType?: string;
9272
9310
  internetMaxBandwidthOut?: number;
@@ -9313,6 +9351,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
9313
9351
  imageId: 'image_id',
9314
9352
  imageType: 'image_type',
9315
9353
  instanceChargeType: 'instance_charge_type',
9354
+ instancePatterns: 'instance_patterns',
9316
9355
  instanceTypes: 'instance_types',
9317
9356
  internetChargeType: 'internet_charge_type',
9318
9357
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -9362,6 +9401,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
9362
9401
  imageId: 'string',
9363
9402
  imageType: 'string',
9364
9403
  instanceChargeType: 'string',
9404
+ instancePatterns: InstancePatterns,
9365
9405
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
9366
9406
  internetChargeType: 'string',
9367
9407
  internetMaxBandwidthOut: 'number',
@@ -10051,6 +10091,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
10051
10091
  imageId?: string;
10052
10092
  imageType?: string;
10053
10093
  instanceChargeType?: string;
10094
+ instancePatterns?: InstancePatterns;
10054
10095
  instanceTypes?: string[];
10055
10096
  internetChargeType?: string;
10056
10097
  internetMaxBandwidthOut?: number;
@@ -10099,6 +10140,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
10099
10140
  imageId: 'image_id',
10100
10141
  imageType: 'image_type',
10101
10142
  instanceChargeType: 'instance_charge_type',
10143
+ instancePatterns: 'instance_patterns',
10102
10144
  instanceTypes: 'instance_types',
10103
10145
  internetChargeType: 'internet_charge_type',
10104
10146
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -10150,6 +10192,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
10150
10192
  imageId: 'string',
10151
10193
  imageType: 'string',
10152
10194
  instanceChargeType: 'string',
10195
+ instancePatterns: InstancePatterns,
10153
10196
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
10154
10197
  internetChargeType: 'string',
10155
10198
  internetMaxBandwidthOut: 'number',
@@ -10606,6 +10649,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10606
10649
  imageId?: string;
10607
10650
  imageType?: string;
10608
10651
  instanceChargeType?: string;
10652
+ instancePatterns?: InstancePatterns;
10609
10653
  instanceTypes?: string[];
10610
10654
  internetChargeType?: string;
10611
10655
  internetMaxBandwidthOut?: number;
@@ -10654,6 +10698,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10654
10698
  imageId: 'image_id',
10655
10699
  imageType: 'image_type',
10656
10700
  instanceChargeType: 'instance_charge_type',
10701
+ instancePatterns: 'instance_patterns',
10657
10702
  instanceTypes: 'instance_types',
10658
10703
  internetChargeType: 'internet_charge_type',
10659
10704
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -10705,6 +10750,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10705
10750
  imageId: 'string',
10706
10751
  imageType: 'string',
10707
10752
  instanceChargeType: 'string',
10753
+ instancePatterns: InstancePatterns,
10708
10754
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
10709
10755
  internetChargeType: 'string',
10710
10756
  internetMaxBandwidthOut: 'number',
@@ -13273,6 +13319,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
13273
13319
  imageId?: string;
13274
13320
  imageType?: string;
13275
13321
  instanceChargeType?: string;
13322
+ instancePatterns?: InstancePatterns;
13276
13323
  instanceTypes?: string[];
13277
13324
  internetChargeType?: string;
13278
13325
  internetMaxBandwidthOut?: number;
@@ -13312,6 +13359,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
13312
13359
  imageId: 'image_id',
13313
13360
  imageType: 'image_type',
13314
13361
  instanceChargeType: 'instance_charge_type',
13362
+ instancePatterns: 'instance_patterns',
13315
13363
  instanceTypes: 'instance_types',
13316
13364
  internetChargeType: 'internet_charge_type',
13317
13365
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -13354,6 +13402,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
13354
13402
  imageId: 'string',
13355
13403
  imageType: 'string',
13356
13404
  instanceChargeType: 'string',
13405
+ instancePatterns: InstancePatterns,
13357
13406
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
13358
13407
  internetChargeType: 'string',
13359
13408
  internetMaxBandwidthOut: 'number',
@@ -13829,7 +13878,7 @@ export default class Client extends OpenApi {
13829
13878
  }
13830
13879
 
13831
13880
  /**
13832
- * @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
13881
+ * @summary Adds existing nodes to a specific node pool. You can add existing ECS instances to a specific node pool in a Container Service for Kubernetes (ACK) cluster as worker nodes. You can also add removed worker nodes back to the node pool.
13833
13882
  *
13834
13883
  * @param request AttachInstancesToNodePoolRequest
13835
13884
  * @param headers map
@@ -13874,7 +13923,7 @@ export default class Client extends OpenApi {
13874
13923
  }
13875
13924
 
13876
13925
  /**
13877
- * @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
13926
+ * @summary Adds existing nodes to a specific node pool. You can add existing ECS instances to a specific node pool in a Container Service for Kubernetes (ACK) cluster as worker nodes. You can also add removed worker nodes back to the node pool.
13878
13927
  *
13879
13928
  * @param request AttachInstancesToNodePoolRequest
13880
13929
  * @return AttachInstancesToNodePoolResponse
@@ -13964,7 +14013,7 @@ export default class Client extends OpenApi {
13964
14013
  }
13965
14014
 
13966
14015
  /**
13967
- * @summary 取消自动运维执行计划
14016
+ * @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
13968
14017
  *
13969
14018
  * @param headers map
13970
14019
  * @param runtime runtime options for this request RuntimeOptions
@@ -13989,7 +14038,7 @@ export default class Client extends OpenApi {
13989
14038
  }
13990
14039
 
13991
14040
  /**
13992
- * @summary 取消自动运维执行计划
14041
+ * @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
13993
14042
  *
13994
14043
  * @return CancelOperationPlanResponse
13995
14044
  */
@@ -14000,7 +14049,7 @@ export default class Client extends OpenApi {
14000
14049
  }
14001
14050
 
14002
14051
  /**
14003
- * @summary You can call the CancelTask operation to cancel a task.
14052
+ * @summary Cancels the execution of a cluster task.
14004
14053
  *
14005
14054
  * @param headers map
14006
14055
  * @param runtime runtime options for this request RuntimeOptions
@@ -14025,7 +14074,7 @@ export default class Client extends OpenApi {
14025
14074
  }
14026
14075
 
14027
14076
  /**
14028
- * @summary You can call the CancelTask operation to cancel a task.
14077
+ * @summary Cancels the execution of a cluster task.
14029
14078
  *
14030
14079
  * @return CancelTaskResponse
14031
14080
  */
@@ -14036,6 +14085,8 @@ export default class Client extends OpenApi {
14036
14085
  }
14037
14086
 
14038
14087
  /**
14088
+ * @deprecated OpenAPI CancelWorkflow is deprecated
14089
+ *
14039
14090
  * @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
14040
14091
  *
14041
14092
  * @param request CancelWorkflowRequest
@@ -14043,6 +14094,7 @@ export default class Client extends OpenApi {
14043
14094
  * @param runtime runtime options for this request RuntimeOptions
14044
14095
  * @return CancelWorkflowResponse
14045
14096
  */
14097
+ // Deprecated
14046
14098
  async cancelWorkflowWithOptions(workflowName: string, request: CancelWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse> {
14047
14099
  Util.validateModel(request);
14048
14100
  let body : {[key: string ]: any} = { };
@@ -14069,11 +14121,14 @@ export default class Client extends OpenApi {
14069
14121
  }
14070
14122
 
14071
14123
  /**
14124
+ * @deprecated OpenAPI CancelWorkflow is deprecated
14125
+ *
14072
14126
  * @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
14073
14127
  *
14074
14128
  * @param request CancelWorkflowRequest
14075
14129
  * @return CancelWorkflowResponse
14076
14130
  */
14131
+ // Deprecated
14077
14132
  async cancelWorkflow(workflowName: string, request: CancelWorkflowRequest): Promise<CancelWorkflowResponse> {
14078
14133
  let runtime = new $Util.RuntimeOptions({ });
14079
14134
  let headers : {[key: string ]: string} = { };
@@ -15136,7 +15191,7 @@ export default class Client extends OpenApi {
15136
15191
  }
15137
15192
 
15138
15193
  /**
15139
- * @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
15194
+ * @summary You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
15140
15195
  *
15141
15196
  * @param tmpReq DeleteClusterRequest
15142
15197
  * @param headers map
@@ -15191,7 +15246,7 @@ export default class Client extends OpenApi {
15191
15246
  }
15192
15247
 
15193
15248
  /**
15194
- * @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
15249
+ * @summary You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
15195
15250
  *
15196
15251
  * @param request DeleteClusterRequest
15197
15252
  * @return DeleteClusterResponse
@@ -15433,7 +15488,7 @@ export default class Client extends OpenApi {
15433
15488
  }
15434
15489
 
15435
15490
  /**
15436
- * @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
15491
+ * @summary Deletes the orchestration templates that you no longer need.
15437
15492
  *
15438
15493
  * @param headers map
15439
15494
  * @param runtime runtime options for this request RuntimeOptions
@@ -15458,7 +15513,7 @@ export default class Client extends OpenApi {
15458
15513
  }
15459
15514
 
15460
15515
  /**
15461
- * @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
15516
+ * @summary Deletes the orchestration templates that you no longer need.
15462
15517
  *
15463
15518
  * @return DeleteTemplateResponse
15464
15519
  */
@@ -15505,7 +15560,7 @@ export default class Client extends OpenApi {
15505
15560
  }
15506
15561
 
15507
15562
  /**
15508
- * @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
15563
+ * @summary Deploys a policy in the specified namespaces of a specific Container Service for Kubernetes (ACK) cluster. You can create and deploy a security policy by specifying the policy type, action of the policy such as alerting or denying, and namespaces to which the policy applies.
15509
15564
  *
15510
15565
  * @param request DeployPolicyInstanceRequest
15511
15566
  * @param headers map
@@ -15546,7 +15601,7 @@ export default class Client extends OpenApi {
15546
15601
  }
15547
15602
 
15548
15603
  /**
15549
- * @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
15604
+ * @summary Deploys a policy in the specified namespaces of a specific Container Service for Kubernetes (ACK) cluster. You can create and deploy a security policy by specifying the policy type, action of the policy such as alerting or denying, and namespaces to which the policy applies.
15550
15605
  *
15551
15606
  * @param request DeployPolicyInstanceRequest
15552
15607
  * @return DeployPolicyInstanceResponse
@@ -15558,12 +15613,15 @@ export default class Client extends OpenApi {
15558
15613
  }
15559
15614
 
15560
15615
  /**
15616
+ * @deprecated OpenAPI DescirbeWorkflow is deprecated
15617
+ *
15561
15618
  * @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
15562
15619
  *
15563
15620
  * @param headers map
15564
15621
  * @param runtime runtime options for this request RuntimeOptions
15565
15622
  * @return DescirbeWorkflowResponse
15566
15623
  */
15624
+ // Deprecated
15567
15625
  async descirbeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse> {
15568
15626
  let req = new $OpenApi.OpenApiRequest({
15569
15627
  headers: headers,
@@ -15583,10 +15641,13 @@ export default class Client extends OpenApi {
15583
15641
  }
15584
15642
 
15585
15643
  /**
15644
+ * @deprecated OpenAPI DescirbeWorkflow is deprecated
15645
+ *
15586
15646
  * @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
15587
15647
  *
15588
15648
  * @return DescirbeWorkflowResponse
15589
15649
  */
15650
+ // Deprecated
15590
15651
  async descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse> {
15591
15652
  let runtime = new $Util.RuntimeOptions({ });
15592
15653
  let headers : {[key: string ]: string} = { };
@@ -16496,7 +16557,7 @@ export default class Client extends OpenApi {
16496
16557
  }
16497
16558
 
16498
16559
  /**
16499
- * @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
16560
+ * @summary Queries the security vulnerability details of a cluster by cluster ID. The details include vulnerability name, vulnerability type, and vulnerability severity. We recommend that you scan your cluster on a regular basis to ensure cluster security.
16500
16561
  *
16501
16562
  * @param headers map
16502
16563
  * @param runtime runtime options for this request RuntimeOptions
@@ -16521,7 +16582,7 @@ export default class Client extends OpenApi {
16521
16582
  }
16522
16583
 
16523
16584
  /**
16524
- * @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
16585
+ * @summary Queries the security vulnerability details of a cluster by cluster ID. The details include vulnerability name, vulnerability type, and vulnerability severity. We recommend that you scan your cluster on a regular basis to ensure cluster security.
16525
16586
  *
16526
16587
  * @return DescribeClusterVulsResponse
16527
16588
  */
@@ -17057,7 +17118,7 @@ export default class Client extends OpenApi {
17057
17118
  }
17058
17119
 
17059
17120
  /**
17060
- * @summary You can call the DescribePolicies operation to query a list of policies.
17121
+ * @summary Queries the policies for a Container Service for Kubernetes (ACK) cluster. Container security policies for 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.
17061
17122
  *
17062
17123
  * @param headers map
17063
17124
  * @param runtime runtime options for this request RuntimeOptions
@@ -17082,7 +17143,7 @@ export default class Client extends OpenApi {
17082
17143
  }
17083
17144
 
17084
17145
  /**
17085
- * @summary You can call the DescribePolicies operation to query a list of policies.
17146
+ * @summary Queries the policies for a Container Service for Kubernetes (ACK) cluster. Container security policies for 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.
17086
17147
  *
17087
17148
  * @return DescribePoliciesResponse
17088
17149
  */
@@ -17129,7 +17190,7 @@ export default class Client extends OpenApi {
17129
17190
  }
17130
17191
 
17131
17192
  /**
17132
- * @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
17193
+ * @summary Queries the details of policies for a Container Service for Kubernetes (ACK) cluster. For example, you can query the number of multi-level policies that are enabled for the cluster, audit logs of the policies, and denying and alerting information. Container security policies for ACK clusters offer a variety of built-in policies, such as cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
17133
17194
  *
17134
17195
  * @param headers map
17135
17196
  * @param runtime runtime options for this request RuntimeOptions
@@ -17154,7 +17215,7 @@ export default class Client extends OpenApi {
17154
17215
  }
17155
17216
 
17156
17217
  /**
17157
- * @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
17218
+ * @summary Queries the details of policies for a Container Service for Kubernetes (ACK) cluster. For example, you can query the number of multi-level policies that are enabled for the cluster, audit logs of the policies, and denying and alerting information. Container security policies for ACK clusters offer a variety of built-in policies, such as cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
17158
17219
  *
17159
17220
  * @return DescribePolicyGovernanceInClusterResponse
17160
17221
  */
@@ -17250,7 +17311,7 @@ export default class Client extends OpenApi {
17250
17311
  }
17251
17312
 
17252
17313
  /**
17253
- * @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.
17314
+ * @summary Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
17254
17315
  *
17255
17316
  * @description **
17256
17317
  * ****Only Alibaba Cloud accounts can call this API operation.
@@ -17290,7 +17351,7 @@ export default class Client extends OpenApi {
17290
17351
  }
17291
17352
 
17292
17353
  /**
17293
- * @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.
17354
+ * @summary Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
17294
17355
  *
17295
17356
  * @description **
17296
17357
  * ****Only Alibaba Cloud accounts can call this API operation.
@@ -17604,12 +17665,15 @@ export default class Client extends OpenApi {
17604
17665
  }
17605
17666
 
17606
17667
  /**
17668
+ * @deprecated OpenAPI DescribeWorkflows is deprecated
17669
+ *
17607
17670
  * @summary You can call the DescribeWorkflows operation to query all workflows.
17608
17671
  *
17609
17672
  * @param headers map
17610
17673
  * @param runtime runtime options for this request RuntimeOptions
17611
17674
  * @return DescribeWorkflowsResponse
17612
17675
  */
17676
+ // Deprecated
17613
17677
  async describeWorkflowsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse> {
17614
17678
  let req = new $OpenApi.OpenApiRequest({
17615
17679
  headers: headers,
@@ -17629,10 +17693,13 @@ export default class Client extends OpenApi {
17629
17693
  }
17630
17694
 
17631
17695
  /**
17696
+ * @deprecated OpenAPI DescribeWorkflows is deprecated
17697
+ *
17632
17698
  * @summary You can call the DescribeWorkflows operation to query all workflows.
17633
17699
  *
17634
17700
  * @return DescribeWorkflowsResponse
17635
17701
  */
17702
+ // Deprecated
17636
17703
  async describeWorkflows(): Promise<DescribeWorkflowsResponse> {
17637
17704
  let runtime = new $Util.RuntimeOptions({ });
17638
17705
  let headers : {[key: string ]: string} = { };
@@ -17997,12 +18064,12 @@ export default class Client extends OpenApi {
17997
18064
  }
17998
18065
 
17999
18066
  /**
18000
- * @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.
18067
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
18001
18068
  *
18002
- * @description ****
18003
- * * 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).
18004
- * * 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).
18005
- * * 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.
18069
+ * @description **Precautions**:
18070
+ * * Make sure that you have attached a RAM policy that has at least the read-only permissions on the cluster to the RAM user or RAM role in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned when you call the operation. 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).
18071
+ * * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
18072
+ * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
18006
18073
  *
18007
18074
  * @param request GrantPermissionsRequest
18008
18075
  * @param headers map
@@ -18030,12 +18097,12 @@ export default class Client extends OpenApi {
18030
18097
  }
18031
18098
 
18032
18099
  /**
18033
- * @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.
18100
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
18034
18101
  *
18035
- * @description ****
18036
- * * 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).
18037
- * * 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).
18038
- * * 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.
18102
+ * @description **Precautions**:
18103
+ * * Make sure that you have attached a RAM policy that has at least the read-only permissions on the cluster to the RAM user or RAM role in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned when you call the operation. 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).
18104
+ * * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
18105
+ * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
18039
18106
  *
18040
18107
  * @param request GrantPermissionsRequest
18041
18108
  * @return GrantPermissionsResponse
@@ -18773,7 +18840,7 @@ export default class Client extends OpenApi {
18773
18840
  }
18774
18841
 
18775
18842
  /**
18776
- * @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
18843
+ * @summary Updates a policy in a specific Container Service for Kubernetes (ACK) cluster. You can modify the action of the policy such as alerting or denying and namespaces to which the policy applies.
18777
18844
  *
18778
18845
  * @param request ModifyPolicyInstanceRequest
18779
18846
  * @param headers map
@@ -18818,7 +18885,7 @@ export default class Client extends OpenApi {
18818
18885
  }
18819
18886
 
18820
18887
  /**
18821
- * @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
18888
+ * @summary Updates a policy in a specific Container Service for Kubernetes (ACK) cluster. You can modify the action of the policy such as alerting or denying and namespaces to which the policy applies.
18822
18889
  *
18823
18890
  * @param request ModifyPolicyInstanceRequest
18824
18891
  * @return ModifyPolicyInstanceResponse
@@ -19145,12 +19212,15 @@ export default class Client extends OpenApi {
19145
19212
  }
19146
19213
 
19147
19214
  /**
19215
+ * @deprecated OpenAPI RemoveWorkflow is deprecated
19216
+ *
19148
19217
  * @summary You can call the RemoveWorkflow operation to delete a workflow.
19149
19218
  *
19150
19219
  * @param headers map
19151
19220
  * @param runtime runtime options for this request RuntimeOptions
19152
19221
  * @return RemoveWorkflowResponse
19153
19222
  */
19223
+ // Deprecated
19154
19224
  async removeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse> {
19155
19225
  let req = new $OpenApi.OpenApiRequest({
19156
19226
  headers: headers,
@@ -19170,10 +19240,13 @@ export default class Client extends OpenApi {
19170
19240
  }
19171
19241
 
19172
19242
  /**
19243
+ * @deprecated OpenAPI RemoveWorkflow is deprecated
19244
+ *
19173
19245
  * @summary You can call the RemoveWorkflow operation to delete a workflow.
19174
19246
  *
19175
19247
  * @return RemoveWorkflowResponse
19176
19248
  */
19249
+ // Deprecated
19177
19250
  async removeWorkflow(workflowName: string): Promise<RemoveWorkflowResponse> {
19178
19251
  let runtime = new $Util.RuntimeOptions({ });
19179
19252
  let headers : {[key: string ]: string} = { };
@@ -19348,7 +19421,7 @@ export default class Client extends OpenApi {
19348
19421
  }
19349
19422
 
19350
19423
  /**
19351
- * @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
19424
+ * @summary Initiates cluster checks such as cluster update checks.
19352
19425
  *
19353
19426
  * @param request RunClusterCheckRequest
19354
19427
  * @param headers map
@@ -19389,7 +19462,7 @@ export default class Client extends OpenApi {
19389
19462
  }
19390
19463
 
19391
19464
  /**
19392
- * @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
19465
+ * @summary Initiates cluster checks such as cluster update checks.
19393
19466
  *
19394
19467
  * @param request RunClusterCheckRequest
19395
19468
  * @return RunClusterCheckResponse
@@ -19781,6 +19854,8 @@ export default class Client extends OpenApi {
19781
19854
  }
19782
19855
 
19783
19856
  /**
19857
+ * @deprecated OpenAPI StartWorkflow is deprecated
19858
+ *
19784
19859
  * @summary You can call the StartWorkflow operation to create a workflow.
19785
19860
  *
19786
19861
  * @param request StartWorkflowRequest
@@ -19788,6 +19863,7 @@ export default class Client extends OpenApi {
19788
19863
  * @param runtime runtime options for this request RuntimeOptions
19789
19864
  * @return StartWorkflowResponse
19790
19865
  */
19866
+ // Deprecated
19791
19867
  async startWorkflowWithOptions(request: StartWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse> {
19792
19868
  Util.validateModel(request);
19793
19869
  let body : {[key: string ]: any} = { };
@@ -19886,11 +19962,14 @@ export default class Client extends OpenApi {
19886
19962
  }
19887
19963
 
19888
19964
  /**
19965
+ * @deprecated OpenAPI StartWorkflow is deprecated
19966
+ *
19889
19967
  * @summary You can call the StartWorkflow operation to create a workflow.
19890
19968
  *
19891
19969
  * @param request StartWorkflowRequest
19892
19970
  * @return StartWorkflowResponse
19893
19971
  */
19972
+ // Deprecated
19894
19973
  async startWorkflow(request: StartWorkflowRequest): Promise<StartWorkflowResponse> {
19895
19974
  let runtime = new $Util.RuntimeOptions({ });
19896
19975
  let headers : {[key: string ]: string} = { };
@@ -20040,7 +20119,7 @@ export default class Client extends OpenApi {
20040
20119
  }
20041
20120
 
20042
20121
  /**
20043
- * @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
20122
+ * @summary Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
20044
20123
  *
20045
20124
  * @param request UnInstallClusterAddonsRequest
20046
20125
  * @param headers map
@@ -20068,7 +20147,7 @@ export default class Client extends OpenApi {
20068
20147
  }
20069
20148
 
20070
20149
  /**
20071
- * @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
20150
+ * @summary Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
20072
20151
  *
20073
20152
  * @param request UnInstallClusterAddonsRequest
20074
20153
  * @return UnInstallClusterAddonsResponse
@@ -20295,7 +20374,7 @@ export default class Client extends OpenApi {
20295
20374
  }
20296
20375
 
20297
20376
  /**
20298
- * @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
20377
+ * @summary Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
20299
20378
  *
20300
20379
  * @param request UpdateTemplateRequest
20301
20380
  * @param headers map
@@ -20344,7 +20423,7 @@ export default class Client extends OpenApi {
20344
20423
  }
20345
20424
 
20346
20425
  /**
20347
- * @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
20426
+ * @summary Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
20348
20427
  *
20349
20428
  * @param request UpdateTemplateRequest
20350
20429
  * @return UpdateTemplateResponse
@@ -20356,7 +20435,10 @@ export default class Client extends OpenApi {
20356
20435
  }
20357
20436
 
20358
20437
  /**
20359
- * @summary 更新指定RAM用户/角色的RBAC权限
20438
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
20439
+ *
20440
+ * @description **Precautions**:
20441
+ * * You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
20360
20442
  *
20361
20443
  * @param request UpdateUserPermissionsRequest
20362
20444
  * @param headers map
@@ -20390,7 +20472,10 @@ export default class Client extends OpenApi {
20390
20472
  }
20391
20473
 
20392
20474
  /**
20393
- * @summary 更新指定RAM用户/角色的RBAC权限
20475
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
20476
+ *
20477
+ * @description **Precautions**:
20478
+ * * You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
20394
20479
  *
20395
20480
  * @param request UpdateUserPermissionsRequest
20396
20481
  * @return UpdateUserPermissionsResponse