@alicloud/cs20151215 4.2.0 → 4.3.0
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 +215 -40
- package/dist/client.js +344 -50
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +390 -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;
|
|
@@ -2559,6 +2577,35 @@ export declare class DescribePolicyInstancesStatusResponse extends $tea.Model {
|
|
|
2559
2577
|
[key: string]: any;
|
|
2560
2578
|
});
|
|
2561
2579
|
}
|
|
2580
|
+
export declare class DescribeResourcesDeleteProtectionRequest extends $tea.Model {
|
|
2581
|
+
namespace?: string;
|
|
2582
|
+
resources?: string;
|
|
2583
|
+
static names(): {
|
|
2584
|
+
[key: string]: string;
|
|
2585
|
+
};
|
|
2586
|
+
static types(): {
|
|
2587
|
+
[key: string]: any;
|
|
2588
|
+
};
|
|
2589
|
+
constructor(map?: {
|
|
2590
|
+
[key: string]: any;
|
|
2591
|
+
});
|
|
2592
|
+
}
|
|
2593
|
+
export declare class DescribeResourcesDeleteProtectionResponse extends $tea.Model {
|
|
2594
|
+
headers?: {
|
|
2595
|
+
[key: string]: string;
|
|
2596
|
+
};
|
|
2597
|
+
statusCode?: number;
|
|
2598
|
+
body?: DescribeResourcesDeleteProtectionResponseBody[];
|
|
2599
|
+
static names(): {
|
|
2600
|
+
[key: string]: string;
|
|
2601
|
+
};
|
|
2602
|
+
static types(): {
|
|
2603
|
+
[key: string]: any;
|
|
2604
|
+
};
|
|
2605
|
+
constructor(map?: {
|
|
2606
|
+
[key: string]: any;
|
|
2607
|
+
});
|
|
2608
|
+
}
|
|
2562
2609
|
export declare class DescribeSubaccountK8sClusterUserConfigRequest extends $tea.Model {
|
|
2563
2610
|
privateIpAddress?: boolean;
|
|
2564
2611
|
temporaryDurationMinutes?: number;
|
|
@@ -4618,6 +4665,53 @@ export declare class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model
|
|
|
4618
4665
|
[key: string]: any;
|
|
4619
4666
|
});
|
|
4620
4667
|
}
|
|
4668
|
+
export declare class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
|
|
4669
|
+
enable?: boolean;
|
|
4670
|
+
namespace?: string;
|
|
4671
|
+
resourceType?: string;
|
|
4672
|
+
resources?: string[];
|
|
4673
|
+
static names(): {
|
|
4674
|
+
[key: string]: string;
|
|
4675
|
+
};
|
|
4676
|
+
static types(): {
|
|
4677
|
+
[key: string]: any;
|
|
4678
|
+
};
|
|
4679
|
+
constructor(map?: {
|
|
4680
|
+
[key: string]: any;
|
|
4681
|
+
});
|
|
4682
|
+
}
|
|
4683
|
+
export declare class UpdateResourcesDeleteProtectionResponseBody extends $tea.Model {
|
|
4684
|
+
namespace?: string;
|
|
4685
|
+
protection?: string;
|
|
4686
|
+
requestId?: string;
|
|
4687
|
+
resourceType?: string;
|
|
4688
|
+
resources?: string[];
|
|
4689
|
+
static names(): {
|
|
4690
|
+
[key: string]: string;
|
|
4691
|
+
};
|
|
4692
|
+
static types(): {
|
|
4693
|
+
[key: string]: any;
|
|
4694
|
+
};
|
|
4695
|
+
constructor(map?: {
|
|
4696
|
+
[key: string]: any;
|
|
4697
|
+
});
|
|
4698
|
+
}
|
|
4699
|
+
export declare class UpdateResourcesDeleteProtectionResponse extends $tea.Model {
|
|
4700
|
+
headers?: {
|
|
4701
|
+
[key: string]: string;
|
|
4702
|
+
};
|
|
4703
|
+
statusCode?: number;
|
|
4704
|
+
body?: UpdateResourcesDeleteProtectionResponseBody;
|
|
4705
|
+
static names(): {
|
|
4706
|
+
[key: string]: string;
|
|
4707
|
+
};
|
|
4708
|
+
static types(): {
|
|
4709
|
+
[key: string]: any;
|
|
4710
|
+
};
|
|
4711
|
+
constructor(map?: {
|
|
4712
|
+
[key: string]: any;
|
|
4713
|
+
});
|
|
4714
|
+
}
|
|
4621
4715
|
export declare class UpdateTemplateRequest extends $tea.Model {
|
|
4622
4716
|
description?: string;
|
|
4623
4717
|
name?: string;
|
|
@@ -5307,6 +5401,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
5307
5401
|
imageId?: string;
|
|
5308
5402
|
imageType?: string;
|
|
5309
5403
|
instanceChargeType?: string;
|
|
5404
|
+
instancePatterns?: InstancePatterns[];
|
|
5310
5405
|
instanceTypes?: string[];
|
|
5311
5406
|
internetChargeType?: string;
|
|
5312
5407
|
internetMaxBandwidthOut?: number;
|
|
@@ -5710,6 +5805,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
5710
5805
|
imageId?: string;
|
|
5711
5806
|
imageType?: string;
|
|
5712
5807
|
instanceChargeType?: string;
|
|
5808
|
+
instancePatterns?: InstancePatterns[];
|
|
5713
5809
|
instanceTypes?: string[];
|
|
5714
5810
|
internetChargeType?: string;
|
|
5715
5811
|
internetMaxBandwidthOut?: number;
|
|
@@ -5980,6 +6076,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
5980
6076
|
imageId?: string;
|
|
5981
6077
|
imageType?: string;
|
|
5982
6078
|
instanceChargeType?: string;
|
|
6079
|
+
instancePatterns?: InstancePatterns[];
|
|
5983
6080
|
instanceTypes?: string[];
|
|
5984
6081
|
internetChargeType?: string;
|
|
5985
6082
|
internetMaxBandwidthOut?: number;
|
|
@@ -6696,6 +6793,21 @@ export declare class DescribePolicyInstancesStatusResponseBodyPolicyInstances ex
|
|
|
6696
6793
|
[key: string]: any;
|
|
6697
6794
|
});
|
|
6698
6795
|
}
|
|
6796
|
+
export declare class DescribeResourcesDeleteProtectionResponseBody extends $tea.Model {
|
|
6797
|
+
name?: string;
|
|
6798
|
+
namespace?: string;
|
|
6799
|
+
resource?: string;
|
|
6800
|
+
protection?: boolean;
|
|
6801
|
+
static names(): {
|
|
6802
|
+
[key: string]: string;
|
|
6803
|
+
};
|
|
6804
|
+
static types(): {
|
|
6805
|
+
[key: string]: any;
|
|
6806
|
+
};
|
|
6807
|
+
constructor(map?: {
|
|
6808
|
+
[key: string]: any;
|
|
6809
|
+
});
|
|
6810
|
+
}
|
|
6699
6811
|
export declare class DescribeTaskInfoResponseBodyError extends $tea.Model {
|
|
6700
6812
|
code?: string;
|
|
6701
6813
|
message?: string;
|
|
@@ -7329,6 +7441,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
7329
7441
|
imageId?: string;
|
|
7330
7442
|
imageType?: string;
|
|
7331
7443
|
instanceChargeType?: string;
|
|
7444
|
+
instancePatterns?: InstancePatterns[];
|
|
7332
7445
|
instanceTypes?: string[];
|
|
7333
7446
|
internetChargeType?: string;
|
|
7334
7447
|
internetMaxBandwidthOut?: number;
|
|
@@ -7558,7 +7671,7 @@ export default class Client extends OpenApi {
|
|
|
7558
7671
|
*/
|
|
7559
7672
|
attachInstances(ClusterId: string, request: AttachInstancesRequest): Promise<AttachInstancesResponse>;
|
|
7560
7673
|
/**
|
|
7561
|
-
* @summary You can
|
|
7674
|
+
* @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
7675
|
*
|
|
7563
7676
|
* @param request AttachInstancesToNodePoolRequest
|
|
7564
7677
|
* @param headers map
|
|
@@ -7569,7 +7682,7 @@ export default class Client extends OpenApi {
|
|
|
7569
7682
|
[key: string]: string;
|
|
7570
7683
|
}, runtime: $Util.RuntimeOptions): Promise<AttachInstancesToNodePoolResponse>;
|
|
7571
7684
|
/**
|
|
7572
|
-
* @summary You can
|
|
7685
|
+
* @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
7686
|
*
|
|
7574
7687
|
* @param request AttachInstancesToNodePoolRequest
|
|
7575
7688
|
* @return AttachInstancesToNodePoolResponse
|
|
@@ -7612,7 +7725,7 @@ export default class Client extends OpenApi {
|
|
|
7612
7725
|
*/
|
|
7613
7726
|
cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse>;
|
|
7614
7727
|
/**
|
|
7615
|
-
* @summary
|
|
7728
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
7616
7729
|
*
|
|
7617
7730
|
* @param headers map
|
|
7618
7731
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7622,13 +7735,13 @@ export default class Client extends OpenApi {
|
|
|
7622
7735
|
[key: string]: string;
|
|
7623
7736
|
}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse>;
|
|
7624
7737
|
/**
|
|
7625
|
-
* @summary
|
|
7738
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
7626
7739
|
*
|
|
7627
7740
|
* @return CancelOperationPlanResponse
|
|
7628
7741
|
*/
|
|
7629
7742
|
cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse>;
|
|
7630
7743
|
/**
|
|
7631
|
-
* @summary
|
|
7744
|
+
* @summary Cancels the execution of a cluster task.
|
|
7632
7745
|
*
|
|
7633
7746
|
* @param headers map
|
|
7634
7747
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7638,12 +7751,14 @@ export default class Client extends OpenApi {
|
|
|
7638
7751
|
[key: string]: string;
|
|
7639
7752
|
}, runtime: $Util.RuntimeOptions): Promise<CancelTaskResponse>;
|
|
7640
7753
|
/**
|
|
7641
|
-
* @summary
|
|
7754
|
+
* @summary Cancels the execution of a cluster task.
|
|
7642
7755
|
*
|
|
7643
7756
|
* @return CancelTaskResponse
|
|
7644
7757
|
*/
|
|
7645
7758
|
cancelTask(taskId: string): Promise<CancelTaskResponse>;
|
|
7646
7759
|
/**
|
|
7760
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
7761
|
+
*
|
|
7647
7762
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
7648
7763
|
*
|
|
7649
7764
|
* @param request CancelWorkflowRequest
|
|
@@ -7655,6 +7770,8 @@ export default class Client extends OpenApi {
|
|
|
7655
7770
|
[key: string]: string;
|
|
7656
7771
|
}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse>;
|
|
7657
7772
|
/**
|
|
7773
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
7774
|
+
*
|
|
7658
7775
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
7659
7776
|
*
|
|
7660
7777
|
* @param request CancelWorkflowRequest
|
|
@@ -7884,7 +8001,7 @@ export default class Client extends OpenApi {
|
|
|
7884
8001
|
*/
|
|
7885
8002
|
deleteAlertContactGroup(request: DeleteAlertContactGroupRequest): Promise<DeleteAlertContactGroupResponse>;
|
|
7886
8003
|
/**
|
|
7887
|
-
* @summary You can call the DeleteCluster operation to delete a cluster
|
|
8004
|
+
* @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
8005
|
*
|
|
7889
8006
|
* @param tmpReq DeleteClusterRequest
|
|
7890
8007
|
* @param headers map
|
|
@@ -7895,7 +8012,7 @@ export default class Client extends OpenApi {
|
|
|
7895
8012
|
[key: string]: string;
|
|
7896
8013
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterResponse>;
|
|
7897
8014
|
/**
|
|
7898
|
-
* @summary You can call the DeleteCluster operation to delete a cluster
|
|
8015
|
+
* @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
8016
|
*
|
|
7900
8017
|
* @param request DeleteClusterRequest
|
|
7901
8018
|
* @return DeleteClusterResponse
|
|
@@ -7996,7 +8113,7 @@ export default class Client extends OpenApi {
|
|
|
7996
8113
|
*/
|
|
7997
8114
|
deletePolicyInstance(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest): Promise<DeletePolicyInstanceResponse>;
|
|
7998
8115
|
/**
|
|
7999
|
-
* @summary
|
|
8116
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
8000
8117
|
*
|
|
8001
8118
|
* @param headers map
|
|
8002
8119
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8006,7 +8123,7 @@ export default class Client extends OpenApi {
|
|
|
8006
8123
|
[key: string]: string;
|
|
8007
8124
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTemplateResponse>;
|
|
8008
8125
|
/**
|
|
8009
|
-
* @summary
|
|
8126
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
8010
8127
|
*
|
|
8011
8128
|
* @return DeleteTemplateResponse
|
|
8012
8129
|
*/
|
|
@@ -8028,7 +8145,7 @@ export default class Client extends OpenApi {
|
|
|
8028
8145
|
*/
|
|
8029
8146
|
deleteTrigger(clusterId: string, Id: string): Promise<DeleteTriggerResponse>;
|
|
8030
8147
|
/**
|
|
8031
|
-
* @summary
|
|
8148
|
+
* @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
8149
|
*
|
|
8033
8150
|
* @param request DeployPolicyInstanceRequest
|
|
8034
8151
|
* @param headers map
|
|
@@ -8039,13 +8156,15 @@ export default class Client extends OpenApi {
|
|
|
8039
8156
|
[key: string]: string;
|
|
8040
8157
|
}, runtime: $Util.RuntimeOptions): Promise<DeployPolicyInstanceResponse>;
|
|
8041
8158
|
/**
|
|
8042
|
-
* @summary
|
|
8159
|
+
* @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
8160
|
*
|
|
8044
8161
|
* @param request DeployPolicyInstanceRequest
|
|
8045
8162
|
* @return DeployPolicyInstanceResponse
|
|
8046
8163
|
*/
|
|
8047
8164
|
deployPolicyInstance(clusterId: string, policyName: string, request: DeployPolicyInstanceRequest): Promise<DeployPolicyInstanceResponse>;
|
|
8048
8165
|
/**
|
|
8166
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
8167
|
+
*
|
|
8049
8168
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
8050
8169
|
*
|
|
8051
8170
|
* @param headers map
|
|
@@ -8056,6 +8175,8 @@ export default class Client extends OpenApi {
|
|
|
8056
8175
|
[key: string]: string;
|
|
8057
8176
|
}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse>;
|
|
8058
8177
|
/**
|
|
8178
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
8179
|
+
*
|
|
8059
8180
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
8060
8181
|
*
|
|
8061
8182
|
* @return DescirbeWorkflowResponse
|
|
@@ -8408,7 +8529,7 @@ export default class Client extends OpenApi {
|
|
|
8408
8529
|
*/
|
|
8409
8530
|
describeClusterV2UserKubeconfig(ClusterId: string, request: DescribeClusterV2UserKubeconfigRequest): Promise<DescribeClusterV2UserKubeconfigResponse>;
|
|
8410
8531
|
/**
|
|
8411
|
-
* @summary
|
|
8532
|
+
* @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
8533
|
*
|
|
8413
8534
|
* @param headers map
|
|
8414
8535
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8418,7 +8539,7 @@ export default class Client extends OpenApi {
|
|
|
8418
8539
|
[key: string]: string;
|
|
8419
8540
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterVulsResponse>;
|
|
8420
8541
|
/**
|
|
8421
|
-
* @summary
|
|
8542
|
+
* @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
8543
|
*
|
|
8423
8544
|
* @return DescribeClusterVulsResponse
|
|
8424
8545
|
*/
|
|
@@ -8606,7 +8727,7 @@ export default class Client extends OpenApi {
|
|
|
8606
8727
|
*/
|
|
8607
8728
|
describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse>;
|
|
8608
8729
|
/**
|
|
8609
|
-
* @summary
|
|
8730
|
+
* @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
8731
|
*
|
|
8611
8732
|
* @param headers map
|
|
8612
8733
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8616,7 +8737,7 @@ export default class Client extends OpenApi {
|
|
|
8616
8737
|
[key: string]: string;
|
|
8617
8738
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse>;
|
|
8618
8739
|
/**
|
|
8619
|
-
* @summary
|
|
8740
|
+
* @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
8741
|
*
|
|
8621
8742
|
* @return DescribePoliciesResponse
|
|
8622
8743
|
*/
|
|
@@ -8638,7 +8759,7 @@ export default class Client extends OpenApi {
|
|
|
8638
8759
|
*/
|
|
8639
8760
|
describePolicyDetails(policyName: string): Promise<DescribePolicyDetailsResponse>;
|
|
8640
8761
|
/**
|
|
8641
|
-
* @summary
|
|
8762
|
+
* @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
8763
|
*
|
|
8643
8764
|
* @param headers map
|
|
8644
8765
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8648,7 +8769,7 @@ export default class Client extends OpenApi {
|
|
|
8648
8769
|
[key: string]: string;
|
|
8649
8770
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyGovernanceInClusterResponse>;
|
|
8650
8771
|
/**
|
|
8651
|
-
* @summary
|
|
8772
|
+
* @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
8773
|
*
|
|
8653
8774
|
* @return DescribePolicyGovernanceInClusterResponse
|
|
8654
8775
|
*/
|
|
@@ -8688,7 +8809,25 @@ export default class Client extends OpenApi {
|
|
|
8688
8809
|
*/
|
|
8689
8810
|
describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse>;
|
|
8690
8811
|
/**
|
|
8691
|
-
* @summary
|
|
8812
|
+
* @summary 修改资源删除保护配置
|
|
8813
|
+
*
|
|
8814
|
+
* @param request DescribeResourcesDeleteProtectionRequest
|
|
8815
|
+
* @param headers map
|
|
8816
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8817
|
+
* @return DescribeResourcesDeleteProtectionResponse
|
|
8818
|
+
*/
|
|
8819
|
+
describeResourcesDeleteProtectionWithOptions(ClusterId: string, ResourceType: string, request: DescribeResourcesDeleteProtectionRequest, headers: {
|
|
8820
|
+
[key: string]: string;
|
|
8821
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesDeleteProtectionResponse>;
|
|
8822
|
+
/**
|
|
8823
|
+
* @summary 修改资源删除保护配置
|
|
8824
|
+
*
|
|
8825
|
+
* @param request DescribeResourcesDeleteProtectionRequest
|
|
8826
|
+
* @return DescribeResourcesDeleteProtectionResponse
|
|
8827
|
+
*/
|
|
8828
|
+
describeResourcesDeleteProtection(ClusterId: string, ResourceType: string, request: DescribeResourcesDeleteProtectionRequest): Promise<DescribeResourcesDeleteProtectionResponse>;
|
|
8829
|
+
/**
|
|
8830
|
+
* @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
8831
|
*
|
|
8693
8832
|
* @description **
|
|
8694
8833
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -8702,7 +8841,7 @@ export default class Client extends OpenApi {
|
|
|
8702
8841
|
[key: string]: string;
|
|
8703
8842
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
8704
8843
|
/**
|
|
8705
|
-
* @summary
|
|
8844
|
+
* @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
8845
|
*
|
|
8707
8846
|
* @description **
|
|
8708
8847
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -8830,6 +8969,8 @@ export default class Client extends OpenApi {
|
|
|
8830
8969
|
*/
|
|
8831
8970
|
describeUserQuota(): Promise<DescribeUserQuotaResponse>;
|
|
8832
8971
|
/**
|
|
8972
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
8973
|
+
*
|
|
8833
8974
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
8834
8975
|
*
|
|
8835
8976
|
* @param headers map
|
|
@@ -8840,6 +8981,8 @@ export default class Client extends OpenApi {
|
|
|
8840
8981
|
[key: string]: string;
|
|
8841
8982
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse>;
|
|
8842
8983
|
/**
|
|
8984
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
8985
|
+
*
|
|
8843
8986
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
8844
8987
|
*
|
|
8845
8988
|
* @return DescribeWorkflowsResponse
|
|
@@ -8990,12 +9133,12 @@ export default class Client extends OpenApi {
|
|
|
8990
9133
|
*/
|
|
8991
9134
|
getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse>;
|
|
8992
9135
|
/**
|
|
8993
|
-
* @summary
|
|
9136
|
+
* @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
9137
|
*
|
|
8995
|
-
* @description
|
|
8996
|
-
* * Make sure that you have
|
|
8997
|
-
* * If you use a RAM user to call
|
|
8998
|
-
* *
|
|
9138
|
+
* @description **Precautions**:
|
|
9139
|
+
* * 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).
|
|
9140
|
+
* * 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).
|
|
9141
|
+
* * 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
9142
|
*
|
|
9000
9143
|
* @param request GrantPermissionsRequest
|
|
9001
9144
|
* @param headers map
|
|
@@ -9006,12 +9149,12 @@ export default class Client extends OpenApi {
|
|
|
9006
9149
|
[key: string]: string;
|
|
9007
9150
|
}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse>;
|
|
9008
9151
|
/**
|
|
9009
|
-
* @summary
|
|
9152
|
+
* @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
9153
|
*
|
|
9011
|
-
* @description
|
|
9012
|
-
* * Make sure that you have
|
|
9013
|
-
* * If you use a RAM user to call
|
|
9014
|
-
* *
|
|
9154
|
+
* @description **Precautions**:
|
|
9155
|
+
* * 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).
|
|
9156
|
+
* * 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).
|
|
9157
|
+
* * 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
9158
|
*
|
|
9016
9159
|
* @param request GrantPermissionsRequest
|
|
9017
9160
|
* @return GrantPermissionsResponse
|
|
@@ -9264,7 +9407,7 @@ export default class Client extends OpenApi {
|
|
|
9264
9407
|
*/
|
|
9265
9408
|
modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse>;
|
|
9266
9409
|
/**
|
|
9267
|
-
* @summary
|
|
9410
|
+
* @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
9411
|
*
|
|
9269
9412
|
* @param request ModifyPolicyInstanceRequest
|
|
9270
9413
|
* @param headers map
|
|
@@ -9275,7 +9418,7 @@ export default class Client extends OpenApi {
|
|
|
9275
9418
|
[key: string]: string;
|
|
9276
9419
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse>;
|
|
9277
9420
|
/**
|
|
9278
|
-
* @summary
|
|
9421
|
+
* @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
9422
|
*
|
|
9280
9423
|
* @param request ModifyPolicyInstanceRequest
|
|
9281
9424
|
* @return ModifyPolicyInstanceResponse
|
|
@@ -9418,6 +9561,8 @@ export default class Client extends OpenApi {
|
|
|
9418
9561
|
*/
|
|
9419
9562
|
removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse>;
|
|
9420
9563
|
/**
|
|
9564
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
9565
|
+
*
|
|
9421
9566
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
9422
9567
|
*
|
|
9423
9568
|
* @param headers map
|
|
@@ -9428,6 +9573,8 @@ export default class Client extends OpenApi {
|
|
|
9428
9573
|
[key: string]: string;
|
|
9429
9574
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse>;
|
|
9430
9575
|
/**
|
|
9576
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
9577
|
+
*
|
|
9431
9578
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
9432
9579
|
*
|
|
9433
9580
|
* @return RemoveWorkflowResponse
|
|
@@ -9504,7 +9651,7 @@ export default class Client extends OpenApi {
|
|
|
9504
9651
|
*/
|
|
9505
9652
|
resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse>;
|
|
9506
9653
|
/**
|
|
9507
|
-
* @summary
|
|
9654
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
9508
9655
|
*
|
|
9509
9656
|
* @param request RunClusterCheckRequest
|
|
9510
9657
|
* @param headers map
|
|
@@ -9515,7 +9662,7 @@ export default class Client extends OpenApi {
|
|
|
9515
9662
|
[key: string]: string;
|
|
9516
9663
|
}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse>;
|
|
9517
9664
|
/**
|
|
9518
|
-
* @summary
|
|
9665
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
9519
9666
|
*
|
|
9520
9667
|
* @param request RunClusterCheckRequest
|
|
9521
9668
|
* @return RunClusterCheckResponse
|
|
@@ -9616,6 +9763,8 @@ export default class Client extends OpenApi {
|
|
|
9616
9763
|
*/
|
|
9617
9764
|
startAlert(ClusterId: string, request: StartAlertRequest): Promise<StartAlertResponse>;
|
|
9618
9765
|
/**
|
|
9766
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
9767
|
+
*
|
|
9619
9768
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
9620
9769
|
*
|
|
9621
9770
|
* @param request StartWorkflowRequest
|
|
@@ -9627,6 +9776,8 @@ export default class Client extends OpenApi {
|
|
|
9627
9776
|
[key: string]: string;
|
|
9628
9777
|
}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse>;
|
|
9629
9778
|
/**
|
|
9779
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
9780
|
+
*
|
|
9630
9781
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
9631
9782
|
*
|
|
9632
9783
|
* @param request StartWorkflowRequest
|
|
@@ -9686,7 +9837,7 @@ export default class Client extends OpenApi {
|
|
|
9686
9837
|
*/
|
|
9687
9838
|
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
9688
9839
|
/**
|
|
9689
|
-
* @summary You
|
|
9840
|
+
* @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
9841
|
*
|
|
9691
9842
|
* @param request UnInstallClusterAddonsRequest
|
|
9692
9843
|
* @param headers map
|
|
@@ -9697,7 +9848,7 @@ export default class Client extends OpenApi {
|
|
|
9697
9848
|
[key: string]: string;
|
|
9698
9849
|
}, runtime: $Util.RuntimeOptions): Promise<UnInstallClusterAddonsResponse>;
|
|
9699
9850
|
/**
|
|
9700
|
-
* @summary You
|
|
9851
|
+
* @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
9852
|
*
|
|
9702
9853
|
* @param request UnInstallClusterAddonsRequest
|
|
9703
9854
|
* @return UnInstallClusterAddonsResponse
|
|
@@ -9776,7 +9927,25 @@ export default class Client extends OpenApi {
|
|
|
9776
9927
|
*/
|
|
9777
9928
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
9778
9929
|
/**
|
|
9779
|
-
* @summary
|
|
9930
|
+
* @summary 修改资源删除保护配置
|
|
9931
|
+
*
|
|
9932
|
+
* @param request UpdateResourcesDeleteProtectionRequest
|
|
9933
|
+
* @param headers map
|
|
9934
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9935
|
+
* @return UpdateResourcesDeleteProtectionResponse
|
|
9936
|
+
*/
|
|
9937
|
+
updateResourcesDeleteProtectionWithOptions(ClusterId: string, request: UpdateResourcesDeleteProtectionRequest, headers: {
|
|
9938
|
+
[key: string]: string;
|
|
9939
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateResourcesDeleteProtectionResponse>;
|
|
9940
|
+
/**
|
|
9941
|
+
* @summary 修改资源删除保护配置
|
|
9942
|
+
*
|
|
9943
|
+
* @param request UpdateResourcesDeleteProtectionRequest
|
|
9944
|
+
* @return UpdateResourcesDeleteProtectionResponse
|
|
9945
|
+
*/
|
|
9946
|
+
updateResourcesDeleteProtection(ClusterId: string, request: UpdateResourcesDeleteProtectionRequest): Promise<UpdateResourcesDeleteProtectionResponse>;
|
|
9947
|
+
/**
|
|
9948
|
+
* @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
9949
|
*
|
|
9781
9950
|
* @param request UpdateTemplateRequest
|
|
9782
9951
|
* @param headers map
|
|
@@ -9787,14 +9956,17 @@ export default class Client extends OpenApi {
|
|
|
9787
9956
|
[key: string]: string;
|
|
9788
9957
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateTemplateResponse>;
|
|
9789
9958
|
/**
|
|
9790
|
-
* @summary
|
|
9959
|
+
* @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
9960
|
*
|
|
9792
9961
|
* @param request UpdateTemplateRequest
|
|
9793
9962
|
* @return UpdateTemplateResponse
|
|
9794
9963
|
*/
|
|
9795
9964
|
updateTemplate(TemplateId: string, request: UpdateTemplateRequest): Promise<UpdateTemplateResponse>;
|
|
9796
9965
|
/**
|
|
9797
|
-
* @summary
|
|
9966
|
+
* @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.
|
|
9967
|
+
*
|
|
9968
|
+
* @description **Precautions**:
|
|
9969
|
+
* * 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
9970
|
*
|
|
9799
9971
|
* @param request UpdateUserPermissionsRequest
|
|
9800
9972
|
* @param headers map
|
|
@@ -9805,7 +9977,10 @@ export default class Client extends OpenApi {
|
|
|
9805
9977
|
[key: string]: string;
|
|
9806
9978
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateUserPermissionsResponse>;
|
|
9807
9979
|
/**
|
|
9808
|
-
* @summary
|
|
9980
|
+
* @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.
|
|
9981
|
+
*
|
|
9982
|
+
* @description **Precautions**:
|
|
9983
|
+
* * 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
9984
|
*
|
|
9810
9985
|
* @param request UpdateUserPermissionsRequest
|
|
9811
9986
|
* @return UpdateUserPermissionsResponse
|