@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/dist/client.d.ts +88 -40
- package/dist/client.js +122 -50
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +125 -40
package/dist/client.d.ts
CHANGED
|
@@ -44,6 +44,24 @@ export declare class DataDisk extends $tea.Model {
|
|
|
44
44
|
[key: string]: any;
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
+
export declare class InstancePatterns extends $tea.Model {
|
|
48
|
+
architectures?: string[];
|
|
49
|
+
burstPerformanceOption?: string;
|
|
50
|
+
core?: number;
|
|
51
|
+
excludedInstanceTypes?: string[];
|
|
52
|
+
instanceFamilyLevel?: string;
|
|
53
|
+
maxPrice?: number;
|
|
54
|
+
memory?: number;
|
|
55
|
+
static names(): {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
static types(): {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
61
|
+
constructor(map?: {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
});
|
|
64
|
+
}
|
|
47
65
|
export declare class KubeletConfig extends $tea.Model {
|
|
48
66
|
allowedUnsafeSysctls?: string[];
|
|
49
67
|
containerLogMaxFiles?: number;
|
|
@@ -5307,6 +5325,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
5307
5325
|
imageId?: string;
|
|
5308
5326
|
imageType?: string;
|
|
5309
5327
|
instanceChargeType?: string;
|
|
5328
|
+
instancePatterns?: InstancePatterns;
|
|
5310
5329
|
instanceTypes?: string[];
|
|
5311
5330
|
internetChargeType?: string;
|
|
5312
5331
|
internetMaxBandwidthOut?: number;
|
|
@@ -5710,6 +5729,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
5710
5729
|
imageId?: string;
|
|
5711
5730
|
imageType?: string;
|
|
5712
5731
|
instanceChargeType?: string;
|
|
5732
|
+
instancePatterns?: InstancePatterns;
|
|
5713
5733
|
instanceTypes?: string[];
|
|
5714
5734
|
internetChargeType?: string;
|
|
5715
5735
|
internetMaxBandwidthOut?: number;
|
|
@@ -5980,6 +6000,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
5980
6000
|
imageId?: string;
|
|
5981
6001
|
imageType?: string;
|
|
5982
6002
|
instanceChargeType?: string;
|
|
6003
|
+
instancePatterns?: InstancePatterns;
|
|
5983
6004
|
instanceTypes?: string[];
|
|
5984
6005
|
internetChargeType?: string;
|
|
5985
6006
|
internetMaxBandwidthOut?: number;
|
|
@@ -7329,6 +7350,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
7329
7350
|
imageId?: string;
|
|
7330
7351
|
imageType?: string;
|
|
7331
7352
|
instanceChargeType?: string;
|
|
7353
|
+
instancePatterns?: InstancePatterns;
|
|
7332
7354
|
instanceTypes?: string[];
|
|
7333
7355
|
internetChargeType?: string;
|
|
7334
7356
|
internetMaxBandwidthOut?: number;
|
|
@@ -7558,7 +7580,7 @@ export default class Client extends OpenApi {
|
|
|
7558
7580
|
*/
|
|
7559
7581
|
attachInstances(ClusterId: string, request: AttachInstancesRequest): Promise<AttachInstancesResponse>;
|
|
7560
7582
|
/**
|
|
7561
|
-
* @summary You can
|
|
7583
|
+
* @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.
|
|
7562
7584
|
*
|
|
7563
7585
|
* @param request AttachInstancesToNodePoolRequest
|
|
7564
7586
|
* @param headers map
|
|
@@ -7569,7 +7591,7 @@ export default class Client extends OpenApi {
|
|
|
7569
7591
|
[key: string]: string;
|
|
7570
7592
|
}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesToNodePoolResponse>;
|
|
7571
7593
|
/**
|
|
7572
|
-
* @summary You can
|
|
7594
|
+
* @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.
|
|
7573
7595
|
*
|
|
7574
7596
|
* @param request AttachInstancesToNodePoolRequest
|
|
7575
7597
|
* @return AttachInstancesToNodePoolResponse
|
|
@@ -7612,7 +7634,7 @@ export default class Client extends OpenApi {
|
|
|
7612
7634
|
*/
|
|
7613
7635
|
cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse>;
|
|
7614
7636
|
/**
|
|
7615
|
-
* @summary
|
|
7637
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
7616
7638
|
*
|
|
7617
7639
|
* @param headers map
|
|
7618
7640
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7622,13 +7644,13 @@ export default class Client extends OpenApi {
|
|
|
7622
7644
|
[key: string]: string;
|
|
7623
7645
|
}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse>;
|
|
7624
7646
|
/**
|
|
7625
|
-
* @summary
|
|
7647
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
7626
7648
|
*
|
|
7627
7649
|
* @return CancelOperationPlanResponse
|
|
7628
7650
|
*/
|
|
7629
7651
|
cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse>;
|
|
7630
7652
|
/**
|
|
7631
|
-
* @summary
|
|
7653
|
+
* @summary Cancels the execution of a cluster task.
|
|
7632
7654
|
*
|
|
7633
7655
|
* @param headers map
|
|
7634
7656
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7638,12 +7660,14 @@ export default class Client extends OpenApi {
|
|
|
7638
7660
|
[key: string]: string;
|
|
7639
7661
|
}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse>;
|
|
7640
7662
|
/**
|
|
7641
|
-
* @summary
|
|
7663
|
+
* @summary Cancels the execution of a cluster task.
|
|
7642
7664
|
*
|
|
7643
7665
|
* @return CancelTaskResponse
|
|
7644
7666
|
*/
|
|
7645
7667
|
cancelTask(taskId: string): Promise<CancelTaskResponse>;
|
|
7646
7668
|
/**
|
|
7669
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
7670
|
+
*
|
|
7647
7671
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
7648
7672
|
*
|
|
7649
7673
|
* @param request CancelWorkflowRequest
|
|
@@ -7655,6 +7679,8 @@ export default class Client extends OpenApi {
|
|
|
7655
7679
|
[key: string]: string;
|
|
7656
7680
|
}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse>;
|
|
7657
7681
|
/**
|
|
7682
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
7683
|
+
*
|
|
7658
7684
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
7659
7685
|
*
|
|
7660
7686
|
* @param request CancelWorkflowRequest
|
|
@@ -7884,7 +7910,7 @@ export default class Client extends OpenApi {
|
|
|
7884
7910
|
*/
|
|
7885
7911
|
deleteAlertContactGroup(request: DeleteAlertContactGroupRequest): Promise<DeleteAlertContactGroupResponse>;
|
|
7886
7912
|
/**
|
|
7887
|
-
* @summary You can call the DeleteCluster operation to delete a cluster
|
|
7913
|
+
* @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.
|
|
7888
7914
|
*
|
|
7889
7915
|
* @param tmpReq DeleteClusterRequest
|
|
7890
7916
|
* @param headers map
|
|
@@ -7895,7 +7921,7 @@ export default class Client extends OpenApi {
|
|
|
7895
7921
|
[key: string]: string;
|
|
7896
7922
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterResponse>;
|
|
7897
7923
|
/**
|
|
7898
|
-
* @summary You can call the DeleteCluster operation to delete a cluster
|
|
7924
|
+
* @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.
|
|
7899
7925
|
*
|
|
7900
7926
|
* @param request DeleteClusterRequest
|
|
7901
7927
|
* @return DeleteClusterResponse
|
|
@@ -7996,7 +8022,7 @@ export default class Client extends OpenApi {
|
|
|
7996
8022
|
*/
|
|
7997
8023
|
deletePolicyInstance(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest): Promise<DeletePolicyInstanceResponse>;
|
|
7998
8024
|
/**
|
|
7999
|
-
* @summary
|
|
8025
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
8000
8026
|
*
|
|
8001
8027
|
* @param headers map
|
|
8002
8028
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8006,7 +8032,7 @@ export default class Client extends OpenApi {
|
|
|
8006
8032
|
[key: string]: string;
|
|
8007
8033
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTemplateResponse>;
|
|
8008
8034
|
/**
|
|
8009
|
-
* @summary
|
|
8035
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
8010
8036
|
*
|
|
8011
8037
|
* @return DeleteTemplateResponse
|
|
8012
8038
|
*/
|
|
@@ -8028,7 +8054,7 @@ export default class Client extends OpenApi {
|
|
|
8028
8054
|
*/
|
|
8029
8055
|
deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse>;
|
|
8030
8056
|
/**
|
|
8031
|
-
* @summary
|
|
8057
|
+
* @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.
|
|
8032
8058
|
*
|
|
8033
8059
|
* @param request DeployPolicyInstanceRequest
|
|
8034
8060
|
* @param headers map
|
|
@@ -8039,13 +8065,15 @@ export default class Client extends OpenApi {
|
|
|
8039
8065
|
[key: string]: string;
|
|
8040
8066
|
}, runtime: $Util.RuntimeOptions): Promise<DeployPolicyInstanceResponse>;
|
|
8041
8067
|
/**
|
|
8042
|
-
* @summary
|
|
8068
|
+
* @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.
|
|
8043
8069
|
*
|
|
8044
8070
|
* @param request DeployPolicyInstanceRequest
|
|
8045
8071
|
* @return DeployPolicyInstanceResponse
|
|
8046
8072
|
*/
|
|
8047
8073
|
deployPolicyInstance(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest): Promise<DeployPolicyInstanceResponse>;
|
|
8048
8074
|
/**
|
|
8075
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
8076
|
+
*
|
|
8049
8077
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
8050
8078
|
*
|
|
8051
8079
|
* @param headers map
|
|
@@ -8056,6 +8084,8 @@ export default class Client extends OpenApi {
|
|
|
8056
8084
|
[key: string]: string;
|
|
8057
8085
|
}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse>;
|
|
8058
8086
|
/**
|
|
8087
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
8088
|
+
*
|
|
8059
8089
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
8060
8090
|
*
|
|
8061
8091
|
* @return DescirbeWorkflowResponse
|
|
@@ -8408,7 +8438,7 @@ export default class Client extends OpenApi {
|
|
|
8408
8438
|
*/
|
|
8409
8439
|
describeClusterV2UserKubeconfig(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest): Promise<DescribeClusterV2UserKubeconfigResponse>;
|
|
8410
8440
|
/**
|
|
8411
|
-
* @summary
|
|
8441
|
+
* @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.
|
|
8412
8442
|
*
|
|
8413
8443
|
* @param headers map
|
|
8414
8444
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8418,7 +8448,7 @@ export default class Client extends OpenApi {
|
|
|
8418
8448
|
[key: string]: string;
|
|
8419
8449
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterVulsResponse>;
|
|
8420
8450
|
/**
|
|
8421
|
-
* @summary
|
|
8451
|
+
* @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.
|
|
8422
8452
|
*
|
|
8423
8453
|
* @return DescribeClusterVulsResponse
|
|
8424
8454
|
*/
|
|
@@ -8606,7 +8636,7 @@ export default class Client extends OpenApi {
|
|
|
8606
8636
|
*/
|
|
8607
8637
|
describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse>;
|
|
8608
8638
|
/**
|
|
8609
|
-
* @summary
|
|
8639
|
+
* @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.
|
|
8610
8640
|
*
|
|
8611
8641
|
* @param headers map
|
|
8612
8642
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8616,7 +8646,7 @@ export default class Client extends OpenApi {
|
|
|
8616
8646
|
[key: string]: string;
|
|
8617
8647
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse>;
|
|
8618
8648
|
/**
|
|
8619
|
-
* @summary
|
|
8649
|
+
* @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.
|
|
8620
8650
|
*
|
|
8621
8651
|
* @return DescribePoliciesResponse
|
|
8622
8652
|
*/
|
|
@@ -8638,7 +8668,7 @@ export default class Client extends OpenApi {
|
|
|
8638
8668
|
*/
|
|
8639
8669
|
describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse>;
|
|
8640
8670
|
/**
|
|
8641
|
-
* @summary
|
|
8671
|
+
* @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.
|
|
8642
8672
|
*
|
|
8643
8673
|
* @param headers map
|
|
8644
8674
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8648,7 +8678,7 @@ export default class Client extends OpenApi {
|
|
|
8648
8678
|
[key: string]: string;
|
|
8649
8679
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse>;
|
|
8650
8680
|
/**
|
|
8651
|
-
* @summary
|
|
8681
|
+
* @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.
|
|
8652
8682
|
*
|
|
8653
8683
|
* @return DescribePolicyGovernanceInClusterResponse
|
|
8654
8684
|
*/
|
|
@@ -8688,7 +8718,7 @@ export default class Client extends OpenApi {
|
|
|
8688
8718
|
*/
|
|
8689
8719
|
describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse>;
|
|
8690
8720
|
/**
|
|
8691
|
-
* @summary
|
|
8721
|
+
* @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.
|
|
8692
8722
|
*
|
|
8693
8723
|
* @description **
|
|
8694
8724
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -8702,7 +8732,7 @@ export default class Client extends OpenApi {
|
|
|
8702
8732
|
[key: string]: string;
|
|
8703
8733
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
8704
8734
|
/**
|
|
8705
|
-
* @summary
|
|
8735
|
+
* @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.
|
|
8706
8736
|
*
|
|
8707
8737
|
* @description **
|
|
8708
8738
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -8830,6 +8860,8 @@ export default class Client extends OpenApi {
|
|
|
8830
8860
|
*/
|
|
8831
8861
|
describeUserQuota(): Promise<DescribeUserQuotaResponse>;
|
|
8832
8862
|
/**
|
|
8863
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
8864
|
+
*
|
|
8833
8865
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
8834
8866
|
*
|
|
8835
8867
|
* @param headers map
|
|
@@ -8840,6 +8872,8 @@ export default class Client extends OpenApi {
|
|
|
8840
8872
|
[key: string]: string;
|
|
8841
8873
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse>;
|
|
8842
8874
|
/**
|
|
8875
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
8876
|
+
*
|
|
8843
8877
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
8844
8878
|
*
|
|
8845
8879
|
* @return DescribeWorkflowsResponse
|
|
@@ -8990,12 +9024,12 @@ export default class Client extends OpenApi {
|
|
|
8990
9024
|
*/
|
|
8991
9025
|
getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse>;
|
|
8992
9026
|
/**
|
|
8993
|
-
* @summary
|
|
9027
|
+
* @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.
|
|
8994
9028
|
*
|
|
8995
|
-
* @description
|
|
8996
|
-
* * Make sure that you have
|
|
8997
|
-
* * If you use a RAM user to call
|
|
8998
|
-
* *
|
|
9029
|
+
* @description **Precautions**:
|
|
9030
|
+
* * 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).
|
|
9031
|
+
* * 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).
|
|
9032
|
+
* * 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.
|
|
8999
9033
|
*
|
|
9000
9034
|
* @param request GrantPermissionsRequest
|
|
9001
9035
|
* @param headers map
|
|
@@ -9006,12 +9040,12 @@ export default class Client extends OpenApi {
|
|
|
9006
9040
|
[key: string]: string;
|
|
9007
9041
|
}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse>;
|
|
9008
9042
|
/**
|
|
9009
|
-
* @summary
|
|
9043
|
+
* @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.
|
|
9010
9044
|
*
|
|
9011
|
-
* @description
|
|
9012
|
-
* * Make sure that you have
|
|
9013
|
-
* * If you use a RAM user to call
|
|
9014
|
-
* *
|
|
9045
|
+
* @description **Precautions**:
|
|
9046
|
+
* * 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).
|
|
9047
|
+
* * 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).
|
|
9048
|
+
* * 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.
|
|
9015
9049
|
*
|
|
9016
9050
|
* @param request GrantPermissionsRequest
|
|
9017
9051
|
* @return GrantPermissionsResponse
|
|
@@ -9264,7 +9298,7 @@ export default class Client extends OpenApi {
|
|
|
9264
9298
|
*/
|
|
9265
9299
|
modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse>;
|
|
9266
9300
|
/**
|
|
9267
|
-
* @summary
|
|
9301
|
+
* @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.
|
|
9268
9302
|
*
|
|
9269
9303
|
* @param request ModifyPolicyInstanceRequest
|
|
9270
9304
|
* @param headers map
|
|
@@ -9275,7 +9309,7 @@ export default class Client extends OpenApi {
|
|
|
9275
9309
|
[key: string]: string;
|
|
9276
9310
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse>;
|
|
9277
9311
|
/**
|
|
9278
|
-
* @summary
|
|
9312
|
+
* @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.
|
|
9279
9313
|
*
|
|
9280
9314
|
* @param request ModifyPolicyInstanceRequest
|
|
9281
9315
|
* @return ModifyPolicyInstanceResponse
|
|
@@ -9418,6 +9452,8 @@ export default class Client extends OpenApi {
|
|
|
9418
9452
|
*/
|
|
9419
9453
|
removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse>;
|
|
9420
9454
|
/**
|
|
9455
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
9456
|
+
*
|
|
9421
9457
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
9422
9458
|
*
|
|
9423
9459
|
* @param headers map
|
|
@@ -9428,6 +9464,8 @@ export default class Client extends OpenApi {
|
|
|
9428
9464
|
[key: string]: string;
|
|
9429
9465
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse>;
|
|
9430
9466
|
/**
|
|
9467
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
9468
|
+
*
|
|
9431
9469
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
9432
9470
|
*
|
|
9433
9471
|
* @return RemoveWorkflowResponse
|
|
@@ -9504,7 +9542,7 @@ export default class Client extends OpenApi {
|
|
|
9504
9542
|
*/
|
|
9505
9543
|
resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse>;
|
|
9506
9544
|
/**
|
|
9507
|
-
* @summary
|
|
9545
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
9508
9546
|
*
|
|
9509
9547
|
* @param request RunClusterCheckRequest
|
|
9510
9548
|
* @param headers map
|
|
@@ -9515,7 +9553,7 @@ export default class Client extends OpenApi {
|
|
|
9515
9553
|
[key: string]: string;
|
|
9516
9554
|
}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse>;
|
|
9517
9555
|
/**
|
|
9518
|
-
* @summary
|
|
9556
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
9519
9557
|
*
|
|
9520
9558
|
* @param request RunClusterCheckRequest
|
|
9521
9559
|
* @return RunClusterCheckResponse
|
|
@@ -9616,6 +9654,8 @@ export default class Client extends OpenApi {
|
|
|
9616
9654
|
*/
|
|
9617
9655
|
startAlert(ClusterId: string, request: StartAlertRequest): Promise<StartAlertResponse>;
|
|
9618
9656
|
/**
|
|
9657
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
9658
|
+
*
|
|
9619
9659
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
9620
9660
|
*
|
|
9621
9661
|
* @param request StartWorkflowRequest
|
|
@@ -9627,6 +9667,8 @@ export default class Client extends OpenApi {
|
|
|
9627
9667
|
[key: string]: string;
|
|
9628
9668
|
}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse>;
|
|
9629
9669
|
/**
|
|
9670
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
9671
|
+
*
|
|
9630
9672
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
9631
9673
|
*
|
|
9632
9674
|
* @param request StartWorkflowRequest
|
|
@@ -9686,7 +9728,7 @@ export default class Client extends OpenApi {
|
|
|
9686
9728
|
*/
|
|
9687
9729
|
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
9688
9730
|
/**
|
|
9689
|
-
* @summary You
|
|
9731
|
+
* @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.
|
|
9690
9732
|
*
|
|
9691
9733
|
* @param request UnInstallClusterAddonsRequest
|
|
9692
9734
|
* @param headers map
|
|
@@ -9697,7 +9739,7 @@ export default class Client extends OpenApi {
|
|
|
9697
9739
|
[key: string]: string;
|
|
9698
9740
|
}, runtime: $Util.RuntimeOptions): Promise<UnInstallClusterAddonsResponse>;
|
|
9699
9741
|
/**
|
|
9700
|
-
* @summary You
|
|
9742
|
+
* @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.
|
|
9701
9743
|
*
|
|
9702
9744
|
* @param request UnInstallClusterAddonsRequest
|
|
9703
9745
|
* @return UnInstallClusterAddonsResponse
|
|
@@ -9776,7 +9818,7 @@ export default class Client extends OpenApi {
|
|
|
9776
9818
|
*/
|
|
9777
9819
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
9778
9820
|
/**
|
|
9779
|
-
* @summary
|
|
9821
|
+
* @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.
|
|
9780
9822
|
*
|
|
9781
9823
|
* @param request UpdateTemplateRequest
|
|
9782
9824
|
* @param headers map
|
|
@@ -9787,14 +9829,17 @@ export default class Client extends OpenApi {
|
|
|
9787
9829
|
[key: string]: string;
|
|
9788
9830
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateTemplateResponse>;
|
|
9789
9831
|
/**
|
|
9790
|
-
* @summary
|
|
9832
|
+
* @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.
|
|
9791
9833
|
*
|
|
9792
9834
|
* @param request UpdateTemplateRequest
|
|
9793
9835
|
* @return UpdateTemplateResponse
|
|
9794
9836
|
*/
|
|
9795
9837
|
updateTemplate(TemplateId: string, request: UpdateTemplateRequest): Promise<UpdateTemplateResponse>;
|
|
9796
9838
|
/**
|
|
9797
|
-
* @summary
|
|
9839
|
+
* @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.
|
|
9840
|
+
*
|
|
9841
|
+
* @description **Precautions**:
|
|
9842
|
+
* * 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.
|
|
9798
9843
|
*
|
|
9799
9844
|
* @param request UpdateUserPermissionsRequest
|
|
9800
9845
|
* @param headers map
|
|
@@ -9805,7 +9850,10 @@ export default class Client extends OpenApi {
|
|
|
9805
9850
|
[key: string]: string;
|
|
9806
9851
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateUserPermissionsResponse>;
|
|
9807
9852
|
/**
|
|
9808
|
-
* @summary
|
|
9853
|
+
* @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.
|
|
9854
|
+
*
|
|
9855
|
+
* @description **Precautions**:
|
|
9856
|
+
* * 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.
|
|
9809
9857
|
*
|
|
9810
9858
|
* @param request UpdateUserPermissionsRequest
|
|
9811
9859
|
* @return UpdateUserPermissionsResponse
|