@alicloud/cs20151215 4.1.1 → 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 +273 -44
- package/dist/client.js +421 -54
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +483 -44
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;
|
|
@@ -634,6 +652,51 @@ export declare class CreateClusterResponse extends $tea.Model {
|
|
|
634
652
|
[key: string]: any;
|
|
635
653
|
});
|
|
636
654
|
}
|
|
655
|
+
export declare class CreateClusterDiagnosisRequest extends $tea.Model {
|
|
656
|
+
target?: {
|
|
657
|
+
[key: string]: any;
|
|
658
|
+
};
|
|
659
|
+
type?: string;
|
|
660
|
+
static names(): {
|
|
661
|
+
[key: string]: string;
|
|
662
|
+
};
|
|
663
|
+
static types(): {
|
|
664
|
+
[key: string]: any;
|
|
665
|
+
};
|
|
666
|
+
constructor(map?: {
|
|
667
|
+
[key: string]: any;
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
export declare class CreateClusterDiagnosisResponseBody extends $tea.Model {
|
|
671
|
+
clusterId?: string;
|
|
672
|
+
diagnosisId?: string;
|
|
673
|
+
requestId?: string;
|
|
674
|
+
static names(): {
|
|
675
|
+
[key: string]: string;
|
|
676
|
+
};
|
|
677
|
+
static types(): {
|
|
678
|
+
[key: string]: any;
|
|
679
|
+
};
|
|
680
|
+
constructor(map?: {
|
|
681
|
+
[key: string]: any;
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
export declare class CreateClusterDiagnosisResponse extends $tea.Model {
|
|
685
|
+
headers?: {
|
|
686
|
+
[key: string]: string;
|
|
687
|
+
};
|
|
688
|
+
statusCode?: number;
|
|
689
|
+
body?: CreateClusterDiagnosisResponseBody;
|
|
690
|
+
static names(): {
|
|
691
|
+
[key: string]: string;
|
|
692
|
+
};
|
|
693
|
+
static types(): {
|
|
694
|
+
[key: string]: any;
|
|
695
|
+
};
|
|
696
|
+
constructor(map?: {
|
|
697
|
+
[key: string]: any;
|
|
698
|
+
});
|
|
699
|
+
}
|
|
637
700
|
export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
638
701
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
639
702
|
count?: number;
|
|
@@ -2952,6 +3015,73 @@ export declare class GetClusterCheckResponse extends $tea.Model {
|
|
|
2952
3015
|
[key: string]: any;
|
|
2953
3016
|
});
|
|
2954
3017
|
}
|
|
3018
|
+
export declare class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
|
|
3019
|
+
checkItems?: GetClusterDiagnosisCheckItemsResponseBodyCheckItems[];
|
|
3020
|
+
code?: string;
|
|
3021
|
+
isSuccess?: boolean;
|
|
3022
|
+
requestId?: string;
|
|
3023
|
+
static names(): {
|
|
3024
|
+
[key: string]: string;
|
|
3025
|
+
};
|
|
3026
|
+
static types(): {
|
|
3027
|
+
[key: string]: any;
|
|
3028
|
+
};
|
|
3029
|
+
constructor(map?: {
|
|
3030
|
+
[key: string]: any;
|
|
3031
|
+
});
|
|
3032
|
+
}
|
|
3033
|
+
export declare class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
|
|
3034
|
+
headers?: {
|
|
3035
|
+
[key: string]: string;
|
|
3036
|
+
};
|
|
3037
|
+
statusCode?: number;
|
|
3038
|
+
body?: GetClusterDiagnosisCheckItemsResponseBody;
|
|
3039
|
+
static names(): {
|
|
3040
|
+
[key: string]: string;
|
|
3041
|
+
};
|
|
3042
|
+
static types(): {
|
|
3043
|
+
[key: string]: any;
|
|
3044
|
+
};
|
|
3045
|
+
constructor(map?: {
|
|
3046
|
+
[key: string]: any;
|
|
3047
|
+
});
|
|
3048
|
+
}
|
|
3049
|
+
export declare class GetClusterDiagnosisResultResponseBody extends $tea.Model {
|
|
3050
|
+
code?: number;
|
|
3051
|
+
created?: string;
|
|
3052
|
+
diagnosisId?: string;
|
|
3053
|
+
finished?: string;
|
|
3054
|
+
message?: string;
|
|
3055
|
+
result?: string;
|
|
3056
|
+
status?: number;
|
|
3057
|
+
target?: string;
|
|
3058
|
+
type?: string;
|
|
3059
|
+
static names(): {
|
|
3060
|
+
[key: string]: string;
|
|
3061
|
+
};
|
|
3062
|
+
static types(): {
|
|
3063
|
+
[key: string]: any;
|
|
3064
|
+
};
|
|
3065
|
+
constructor(map?: {
|
|
3066
|
+
[key: string]: any;
|
|
3067
|
+
});
|
|
3068
|
+
}
|
|
3069
|
+
export declare class GetClusterDiagnosisResultResponse extends $tea.Model {
|
|
3070
|
+
headers?: {
|
|
3071
|
+
[key: string]: string;
|
|
3072
|
+
};
|
|
3073
|
+
statusCode?: number;
|
|
3074
|
+
body?: GetClusterDiagnosisResultResponseBody;
|
|
3075
|
+
static names(): {
|
|
3076
|
+
[key: string]: string;
|
|
3077
|
+
};
|
|
3078
|
+
static types(): {
|
|
3079
|
+
[key: string]: any;
|
|
3080
|
+
};
|
|
3081
|
+
constructor(map?: {
|
|
3082
|
+
[key: string]: any;
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
2955
3085
|
export declare class GetKubernetesTriggerRequest extends $tea.Model {
|
|
2956
3086
|
name?: string;
|
|
2957
3087
|
namespace?: string;
|
|
@@ -5195,6 +5325,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
5195
5325
|
imageId?: string;
|
|
5196
5326
|
imageType?: string;
|
|
5197
5327
|
instanceChargeType?: string;
|
|
5328
|
+
instancePatterns?: InstancePatterns;
|
|
5198
5329
|
instanceTypes?: string[];
|
|
5199
5330
|
internetChargeType?: string;
|
|
5200
5331
|
internetMaxBandwidthOut?: number;
|
|
@@ -5598,6 +5729,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
5598
5729
|
imageId?: string;
|
|
5599
5730
|
imageType?: string;
|
|
5600
5731
|
instanceChargeType?: string;
|
|
5732
|
+
instancePatterns?: InstancePatterns;
|
|
5601
5733
|
instanceTypes?: string[];
|
|
5602
5734
|
internetChargeType?: string;
|
|
5603
5735
|
internetMaxBandwidthOut?: number;
|
|
@@ -5868,6 +6000,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
5868
6000
|
imageId?: string;
|
|
5869
6001
|
imageType?: string;
|
|
5870
6002
|
instanceChargeType?: string;
|
|
6003
|
+
instancePatterns?: InstancePatterns;
|
|
5871
6004
|
instanceTypes?: string[];
|
|
5872
6005
|
internetChargeType?: string;
|
|
5873
6006
|
internetMaxBandwidthOut?: number;
|
|
@@ -6804,6 +6937,25 @@ export declare class GetClusterAddonInstanceResponseBodyLogging extends $tea.Mod
|
|
|
6804
6937
|
[key: string]: any;
|
|
6805
6938
|
});
|
|
6806
6939
|
}
|
|
6940
|
+
export declare class GetClusterDiagnosisCheckItemsResponseBodyCheckItems extends $tea.Model {
|
|
6941
|
+
desc?: string;
|
|
6942
|
+
display?: string;
|
|
6943
|
+
group?: string;
|
|
6944
|
+
level?: string;
|
|
6945
|
+
message?: string;
|
|
6946
|
+
name?: string;
|
|
6947
|
+
refer?: string;
|
|
6948
|
+
value?: string;
|
|
6949
|
+
static names(): {
|
|
6950
|
+
[key: string]: string;
|
|
6951
|
+
};
|
|
6952
|
+
static types(): {
|
|
6953
|
+
[key: string]: any;
|
|
6954
|
+
};
|
|
6955
|
+
constructor(map?: {
|
|
6956
|
+
[key: string]: any;
|
|
6957
|
+
});
|
|
6958
|
+
}
|
|
6807
6959
|
export declare class GetKubernetesTriggerResponseBody extends $tea.Model {
|
|
6808
6960
|
id?: string;
|
|
6809
6961
|
name?: string;
|
|
@@ -7198,6 +7350,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
7198
7350
|
imageId?: string;
|
|
7199
7351
|
imageType?: string;
|
|
7200
7352
|
instanceChargeType?: string;
|
|
7353
|
+
instancePatterns?: InstancePatterns;
|
|
7201
7354
|
instanceTypes?: string[];
|
|
7202
7355
|
internetChargeType?: string;
|
|
7203
7356
|
internetMaxBandwidthOut?: number;
|
|
@@ -7427,7 +7580,7 @@ export default class Client extends OpenApi {
|
|
|
7427
7580
|
*/
|
|
7428
7581
|
attachInstances(ClusterId: string, request: AttachInstancesRequest): Promise<AttachInstancesResponse>;
|
|
7429
7582
|
/**
|
|
7430
|
-
* @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.
|
|
7431
7584
|
*
|
|
7432
7585
|
* @param request AttachInstancesToNodePoolRequest
|
|
7433
7586
|
* @param headers map
|
|
@@ -7438,7 +7591,7 @@ export default class Client extends OpenApi {
|
|
|
7438
7591
|
[key: string]: string;
|
|
7439
7592
|
}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesToNodePoolResponse>;
|
|
7440
7593
|
/**
|
|
7441
|
-
* @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.
|
|
7442
7595
|
*
|
|
7443
7596
|
* @param request AttachInstancesToNodePoolRequest
|
|
7444
7597
|
* @return AttachInstancesToNodePoolResponse
|
|
@@ -7481,7 +7634,7 @@ export default class Client extends OpenApi {
|
|
|
7481
7634
|
*/
|
|
7482
7635
|
cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse>;
|
|
7483
7636
|
/**
|
|
7484
|
-
* @summary
|
|
7637
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
7485
7638
|
*
|
|
7486
7639
|
* @param headers map
|
|
7487
7640
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7491,13 +7644,13 @@ export default class Client extends OpenApi {
|
|
|
7491
7644
|
[key: string]: string;
|
|
7492
7645
|
}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse>;
|
|
7493
7646
|
/**
|
|
7494
|
-
* @summary
|
|
7647
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
7495
7648
|
*
|
|
7496
7649
|
* @return CancelOperationPlanResponse
|
|
7497
7650
|
*/
|
|
7498
7651
|
cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse>;
|
|
7499
7652
|
/**
|
|
7500
|
-
* @summary
|
|
7653
|
+
* @summary Cancels the execution of a cluster task.
|
|
7501
7654
|
*
|
|
7502
7655
|
* @param headers map
|
|
7503
7656
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7507,12 +7660,14 @@ export default class Client extends OpenApi {
|
|
|
7507
7660
|
[key: string]: string;
|
|
7508
7661
|
}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse>;
|
|
7509
7662
|
/**
|
|
7510
|
-
* @summary
|
|
7663
|
+
* @summary Cancels the execution of a cluster task.
|
|
7511
7664
|
*
|
|
7512
7665
|
* @return CancelTaskResponse
|
|
7513
7666
|
*/
|
|
7514
7667
|
cancelTask(taskId: string): Promise<CancelTaskResponse>;
|
|
7515
7668
|
/**
|
|
7669
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
7670
|
+
*
|
|
7516
7671
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
7517
7672
|
*
|
|
7518
7673
|
* @param request CancelWorkflowRequest
|
|
@@ -7524,6 +7679,8 @@ export default class Client extends OpenApi {
|
|
|
7524
7679
|
[key: string]: string;
|
|
7525
7680
|
}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse>;
|
|
7526
7681
|
/**
|
|
7682
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
7683
|
+
*
|
|
7527
7684
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
7528
7685
|
*
|
|
7529
7686
|
* @param request CancelWorkflowRequest
|
|
@@ -7617,7 +7774,25 @@ export default class Client extends OpenApi {
|
|
|
7617
7774
|
*/
|
|
7618
7775
|
createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
|
|
7619
7776
|
/**
|
|
7620
|
-
* @summary
|
|
7777
|
+
* @summary 发起集群诊断
|
|
7778
|
+
*
|
|
7779
|
+
* @param request CreateClusterDiagnosisRequest
|
|
7780
|
+
* @param headers map
|
|
7781
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7782
|
+
* @return CreateClusterDiagnosisResponse
|
|
7783
|
+
*/
|
|
7784
|
+
createClusterDiagnosisWithOptions(clusterId: string, request: CreateClusterDiagnosisRequest, headers: {
|
|
7785
|
+
[key: string]: string;
|
|
7786
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterDiagnosisResponse>;
|
|
7787
|
+
/**
|
|
7788
|
+
* @summary 发起集群诊断
|
|
7789
|
+
*
|
|
7790
|
+
* @param request CreateClusterDiagnosisRequest
|
|
7791
|
+
* @return CreateClusterDiagnosisResponse
|
|
7792
|
+
*/
|
|
7793
|
+
createClusterDiagnosis(clusterId: string, request: CreateClusterDiagnosisRequest): Promise<CreateClusterDiagnosisResponse>;
|
|
7794
|
+
/**
|
|
7795
|
+
* @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\&M workload.
|
|
7621
7796
|
*
|
|
7622
7797
|
* @param request CreateClusterNodePoolRequest
|
|
7623
7798
|
* @param headers map
|
|
@@ -7628,7 +7803,7 @@ export default class Client extends OpenApi {
|
|
|
7628
7803
|
[key: string]: string;
|
|
7629
7804
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse>;
|
|
7630
7805
|
/**
|
|
7631
|
-
* @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O
|
|
7806
|
+
* @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\&M workload.
|
|
7632
7807
|
*
|
|
7633
7808
|
* @param request CreateClusterNodePoolRequest
|
|
7634
7809
|
* @return CreateClusterNodePoolResponse
|
|
@@ -7735,7 +7910,7 @@ export default class Client extends OpenApi {
|
|
|
7735
7910
|
*/
|
|
7736
7911
|
deleteAlertContactGroup(request: DeleteAlertContactGroupRequest): Promise<DeleteAlertContactGroupResponse>;
|
|
7737
7912
|
/**
|
|
7738
|
-
* @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.
|
|
7739
7914
|
*
|
|
7740
7915
|
* @param tmpReq DeleteClusterRequest
|
|
7741
7916
|
* @param headers map
|
|
@@ -7746,7 +7921,7 @@ export default class Client extends OpenApi {
|
|
|
7746
7921
|
[key: string]: string;
|
|
7747
7922
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterResponse>;
|
|
7748
7923
|
/**
|
|
7749
|
-
* @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.
|
|
7750
7925
|
*
|
|
7751
7926
|
* @param request DeleteClusterRequest
|
|
7752
7927
|
* @return DeleteClusterResponse
|
|
@@ -7847,7 +8022,7 @@ export default class Client extends OpenApi {
|
|
|
7847
8022
|
*/
|
|
7848
8023
|
deletePolicyInstance(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest): Promise<DeletePolicyInstanceResponse>;
|
|
7849
8024
|
/**
|
|
7850
|
-
* @summary
|
|
8025
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
7851
8026
|
*
|
|
7852
8027
|
* @param headers map
|
|
7853
8028
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7857,7 +8032,7 @@ export default class Client extends OpenApi {
|
|
|
7857
8032
|
[key: string]: string;
|
|
7858
8033
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTemplateResponse>;
|
|
7859
8034
|
/**
|
|
7860
|
-
* @summary
|
|
8035
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
7861
8036
|
*
|
|
7862
8037
|
* @return DeleteTemplateResponse
|
|
7863
8038
|
*/
|
|
@@ -7879,7 +8054,7 @@ export default class Client extends OpenApi {
|
|
|
7879
8054
|
*/
|
|
7880
8055
|
deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse>;
|
|
7881
8056
|
/**
|
|
7882
|
-
* @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.
|
|
7883
8058
|
*
|
|
7884
8059
|
* @param request DeployPolicyInstanceRequest
|
|
7885
8060
|
* @param headers map
|
|
@@ -7890,13 +8065,15 @@ export default class Client extends OpenApi {
|
|
|
7890
8065
|
[key: string]: string;
|
|
7891
8066
|
}, runtime: $Util.RuntimeOptions): Promise<DeployPolicyInstanceResponse>;
|
|
7892
8067
|
/**
|
|
7893
|
-
* @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.
|
|
7894
8069
|
*
|
|
7895
8070
|
* @param request DeployPolicyInstanceRequest
|
|
7896
8071
|
* @return DeployPolicyInstanceResponse
|
|
7897
8072
|
*/
|
|
7898
8073
|
deployPolicyInstance(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest): Promise<DeployPolicyInstanceResponse>;
|
|
7899
8074
|
/**
|
|
8075
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
8076
|
+
*
|
|
7900
8077
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
7901
8078
|
*
|
|
7902
8079
|
* @param headers map
|
|
@@ -7907,6 +8084,8 @@ export default class Client extends OpenApi {
|
|
|
7907
8084
|
[key: string]: string;
|
|
7908
8085
|
}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse>;
|
|
7909
8086
|
/**
|
|
8087
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
8088
|
+
*
|
|
7910
8089
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
7911
8090
|
*
|
|
7912
8091
|
* @return DescirbeWorkflowResponse
|
|
@@ -8141,7 +8320,7 @@ export default class Client extends OpenApi {
|
|
|
8141
8320
|
*/
|
|
8142
8321
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse>;
|
|
8143
8322
|
/**
|
|
8144
|
-
* @summary
|
|
8323
|
+
* @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
8145
8324
|
*
|
|
8146
8325
|
* @param request DescribeClusterNodePoolsRequest
|
|
8147
8326
|
* @param headers map
|
|
@@ -8152,7 +8331,7 @@ export default class Client extends OpenApi {
|
|
|
8152
8331
|
[key: string]: string;
|
|
8153
8332
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse>;
|
|
8154
8333
|
/**
|
|
8155
|
-
* @summary
|
|
8334
|
+
* @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
8156
8335
|
*
|
|
8157
8336
|
* @param request DescribeClusterNodePoolsRequest
|
|
8158
8337
|
* @return DescribeClusterNodePoolsResponse
|
|
@@ -8259,7 +8438,7 @@ export default class Client extends OpenApi {
|
|
|
8259
8438
|
*/
|
|
8260
8439
|
describeClusterV2UserKubeconfig(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest): Promise<DescribeClusterV2UserKubeconfigResponse>;
|
|
8261
8440
|
/**
|
|
8262
|
-
* @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.
|
|
8263
8442
|
*
|
|
8264
8443
|
* @param headers map
|
|
8265
8444
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8269,7 +8448,7 @@ export default class Client extends OpenApi {
|
|
|
8269
8448
|
[key: string]: string;
|
|
8270
8449
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterVulsResponse>;
|
|
8271
8450
|
/**
|
|
8272
|
-
* @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.
|
|
8273
8452
|
*
|
|
8274
8453
|
* @return DescribeClusterVulsResponse
|
|
8275
8454
|
*/
|
|
@@ -8457,7 +8636,7 @@ export default class Client extends OpenApi {
|
|
|
8457
8636
|
*/
|
|
8458
8637
|
describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse>;
|
|
8459
8638
|
/**
|
|
8460
|
-
* @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.
|
|
8461
8640
|
*
|
|
8462
8641
|
* @param headers map
|
|
8463
8642
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8467,7 +8646,7 @@ export default class Client extends OpenApi {
|
|
|
8467
8646
|
[key: string]: string;
|
|
8468
8647
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse>;
|
|
8469
8648
|
/**
|
|
8470
|
-
* @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.
|
|
8471
8650
|
*
|
|
8472
8651
|
* @return DescribePoliciesResponse
|
|
8473
8652
|
*/
|
|
@@ -8489,7 +8668,7 @@ export default class Client extends OpenApi {
|
|
|
8489
8668
|
*/
|
|
8490
8669
|
describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse>;
|
|
8491
8670
|
/**
|
|
8492
|
-
* @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.
|
|
8493
8672
|
*
|
|
8494
8673
|
* @param headers map
|
|
8495
8674
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8499,7 +8678,7 @@ export default class Client extends OpenApi {
|
|
|
8499
8678
|
[key: string]: string;
|
|
8500
8679
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse>;
|
|
8501
8680
|
/**
|
|
8502
|
-
* @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.
|
|
8503
8682
|
*
|
|
8504
8683
|
* @return DescribePolicyGovernanceInClusterResponse
|
|
8505
8684
|
*/
|
|
@@ -8539,7 +8718,7 @@ export default class Client extends OpenApi {
|
|
|
8539
8718
|
*/
|
|
8540
8719
|
describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse>;
|
|
8541
8720
|
/**
|
|
8542
|
-
* @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.
|
|
8543
8722
|
*
|
|
8544
8723
|
* @description **
|
|
8545
8724
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -8553,7 +8732,7 @@ export default class Client extends OpenApi {
|
|
|
8553
8732
|
[key: string]: string;
|
|
8554
8733
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
8555
8734
|
/**
|
|
8556
|
-
* @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.
|
|
8557
8736
|
*
|
|
8558
8737
|
* @description **
|
|
8559
8738
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -8681,6 +8860,8 @@ export default class Client extends OpenApi {
|
|
|
8681
8860
|
*/
|
|
8682
8861
|
describeUserQuota(): Promise<DescribeUserQuotaResponse>;
|
|
8683
8862
|
/**
|
|
8863
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
8864
|
+
*
|
|
8684
8865
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
8685
8866
|
*
|
|
8686
8867
|
* @param headers map
|
|
@@ -8691,6 +8872,8 @@ export default class Client extends OpenApi {
|
|
|
8691
8872
|
[key: string]: string;
|
|
8692
8873
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse>;
|
|
8693
8874
|
/**
|
|
8875
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
8876
|
+
*
|
|
8694
8877
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
8695
8878
|
*
|
|
8696
8879
|
* @return DescribeWorkflowsResponse
|
|
@@ -8774,6 +8957,38 @@ export default class Client extends OpenApi {
|
|
|
8774
8957
|
* @return GetClusterCheckResponse
|
|
8775
8958
|
*/
|
|
8776
8959
|
getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse>;
|
|
8960
|
+
/**
|
|
8961
|
+
* @summary 获取集群诊断检查项
|
|
8962
|
+
*
|
|
8963
|
+
* @param headers map
|
|
8964
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8965
|
+
* @return GetClusterDiagnosisCheckItemsResponse
|
|
8966
|
+
*/
|
|
8967
|
+
getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
8968
|
+
[key: string]: string;
|
|
8969
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
8970
|
+
/**
|
|
8971
|
+
* @summary 获取集群诊断检查项
|
|
8972
|
+
*
|
|
8973
|
+
* @return GetClusterDiagnosisCheckItemsResponse
|
|
8974
|
+
*/
|
|
8975
|
+
getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse>;
|
|
8976
|
+
/**
|
|
8977
|
+
* @summary 获取集群诊断结果
|
|
8978
|
+
*
|
|
8979
|
+
* @param headers map
|
|
8980
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8981
|
+
* @return GetClusterDiagnosisResultResponse
|
|
8982
|
+
*/
|
|
8983
|
+
getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, headers: {
|
|
8984
|
+
[key: string]: string;
|
|
8985
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse>;
|
|
8986
|
+
/**
|
|
8987
|
+
* @summary 获取集群诊断结果
|
|
8988
|
+
*
|
|
8989
|
+
* @return GetClusterDiagnosisResultResponse
|
|
8990
|
+
*/
|
|
8991
|
+
getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse>;
|
|
8777
8992
|
/**
|
|
8778
8993
|
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
8779
8994
|
*
|
|
@@ -8809,12 +9024,12 @@ export default class Client extends OpenApi {
|
|
|
8809
9024
|
*/
|
|
8810
9025
|
getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse>;
|
|
8811
9026
|
/**
|
|
8812
|
-
* @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.
|
|
8813
9028
|
*
|
|
8814
|
-
* @description
|
|
8815
|
-
* * Make sure that you have
|
|
8816
|
-
* * If you use a RAM user to call
|
|
8817
|
-
* *
|
|
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.
|
|
8818
9033
|
*
|
|
8819
9034
|
* @param request GrantPermissionsRequest
|
|
8820
9035
|
* @param headers map
|
|
@@ -8825,12 +9040,12 @@ export default class Client extends OpenApi {
|
|
|
8825
9040
|
[key: string]: string;
|
|
8826
9041
|
}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse>;
|
|
8827
9042
|
/**
|
|
8828
|
-
* @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.
|
|
8829
9044
|
*
|
|
8830
|
-
* @description
|
|
8831
|
-
* * Make sure that you have
|
|
8832
|
-
* * If you use a RAM user to call
|
|
8833
|
-
* *
|
|
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.
|
|
8834
9049
|
*
|
|
8835
9050
|
* @param request GrantPermissionsRequest
|
|
8836
9051
|
* @return GrantPermissionsResponse
|
|
@@ -9083,7 +9298,7 @@ export default class Client extends OpenApi {
|
|
|
9083
9298
|
*/
|
|
9084
9299
|
modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse>;
|
|
9085
9300
|
/**
|
|
9086
|
-
* @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.
|
|
9087
9302
|
*
|
|
9088
9303
|
* @param request ModifyPolicyInstanceRequest
|
|
9089
9304
|
* @param headers map
|
|
@@ -9094,7 +9309,7 @@ export default class Client extends OpenApi {
|
|
|
9094
9309
|
[key: string]: string;
|
|
9095
9310
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse>;
|
|
9096
9311
|
/**
|
|
9097
|
-
* @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.
|
|
9098
9313
|
*
|
|
9099
9314
|
* @param request ModifyPolicyInstanceRequest
|
|
9100
9315
|
* @return ModifyPolicyInstanceResponse
|
|
@@ -9237,6 +9452,8 @@ export default class Client extends OpenApi {
|
|
|
9237
9452
|
*/
|
|
9238
9453
|
removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse>;
|
|
9239
9454
|
/**
|
|
9455
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
9456
|
+
*
|
|
9240
9457
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
9241
9458
|
*
|
|
9242
9459
|
* @param headers map
|
|
@@ -9247,6 +9464,8 @@ export default class Client extends OpenApi {
|
|
|
9247
9464
|
[key: string]: string;
|
|
9248
9465
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse>;
|
|
9249
9466
|
/**
|
|
9467
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
9468
|
+
*
|
|
9250
9469
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
9251
9470
|
*
|
|
9252
9471
|
* @return RemoveWorkflowResponse
|
|
@@ -9323,7 +9542,7 @@ export default class Client extends OpenApi {
|
|
|
9323
9542
|
*/
|
|
9324
9543
|
resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse>;
|
|
9325
9544
|
/**
|
|
9326
|
-
* @summary
|
|
9545
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
9327
9546
|
*
|
|
9328
9547
|
* @param request RunClusterCheckRequest
|
|
9329
9548
|
* @param headers map
|
|
@@ -9334,7 +9553,7 @@ export default class Client extends OpenApi {
|
|
|
9334
9553
|
[key: string]: string;
|
|
9335
9554
|
}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse>;
|
|
9336
9555
|
/**
|
|
9337
|
-
* @summary
|
|
9556
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
9338
9557
|
*
|
|
9339
9558
|
* @param request RunClusterCheckRequest
|
|
9340
9559
|
* @return RunClusterCheckResponse
|
|
@@ -9435,6 +9654,8 @@ export default class Client extends OpenApi {
|
|
|
9435
9654
|
*/
|
|
9436
9655
|
startAlert(ClusterId: string, request: StartAlertRequest): Promise<StartAlertResponse>;
|
|
9437
9656
|
/**
|
|
9657
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
9658
|
+
*
|
|
9438
9659
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
9439
9660
|
*
|
|
9440
9661
|
* @param request StartWorkflowRequest
|
|
@@ -9446,6 +9667,8 @@ export default class Client extends OpenApi {
|
|
|
9446
9667
|
[key: string]: string;
|
|
9447
9668
|
}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse>;
|
|
9448
9669
|
/**
|
|
9670
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
9671
|
+
*
|
|
9449
9672
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
9450
9673
|
*
|
|
9451
9674
|
* @param request StartWorkflowRequest
|
|
@@ -9505,7 +9728,7 @@ export default class Client extends OpenApi {
|
|
|
9505
9728
|
*/
|
|
9506
9729
|
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
9507
9730
|
/**
|
|
9508
|
-
* @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.
|
|
9509
9732
|
*
|
|
9510
9733
|
* @param request UnInstallClusterAddonsRequest
|
|
9511
9734
|
* @param headers map
|
|
@@ -9516,7 +9739,7 @@ export default class Client extends OpenApi {
|
|
|
9516
9739
|
[key: string]: string;
|
|
9517
9740
|
}, runtime: $Util.RuntimeOptions): Promise<UnInstallClusterAddonsResponse>;
|
|
9518
9741
|
/**
|
|
9519
|
-
* @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.
|
|
9520
9743
|
*
|
|
9521
9744
|
* @param request UnInstallClusterAddonsRequest
|
|
9522
9745
|
* @return UnInstallClusterAddonsResponse
|
|
@@ -9595,7 +9818,7 @@ export default class Client extends OpenApi {
|
|
|
9595
9818
|
*/
|
|
9596
9819
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
9597
9820
|
/**
|
|
9598
|
-
* @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.
|
|
9599
9822
|
*
|
|
9600
9823
|
* @param request UpdateTemplateRequest
|
|
9601
9824
|
* @param headers map
|
|
@@ -9606,14 +9829,17 @@ export default class Client extends OpenApi {
|
|
|
9606
9829
|
[key: string]: string;
|
|
9607
9830
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateTemplateResponse>;
|
|
9608
9831
|
/**
|
|
9609
|
-
* @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.
|
|
9610
9833
|
*
|
|
9611
9834
|
* @param request UpdateTemplateRequest
|
|
9612
9835
|
* @return UpdateTemplateResponse
|
|
9613
9836
|
*/
|
|
9614
9837
|
updateTemplate(TemplateId: string, request: UpdateTemplateRequest): Promise<UpdateTemplateResponse>;
|
|
9615
9838
|
/**
|
|
9616
|
-
* @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.
|
|
9617
9843
|
*
|
|
9618
9844
|
* @param request UpdateUserPermissionsRequest
|
|
9619
9845
|
* @param headers map
|
|
@@ -9624,7 +9850,10 @@ export default class Client extends OpenApi {
|
|
|
9624
9850
|
[key: string]: string;
|
|
9625
9851
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateUserPermissionsResponse>;
|
|
9626
9852
|
/**
|
|
9627
|
-
* @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.
|
|
9628
9857
|
*
|
|
9629
9858
|
* @param request UpdateUserPermissionsRequest
|
|
9630
9859
|
* @return UpdateUserPermissionsResponse
|