@alicloud/cs20151215 4.2.1 → 4.3.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 CHANGED
@@ -2577,6 +2577,35 @@ export declare class DescribePolicyInstancesStatusResponse extends $tea.Model {
2577
2577
  [key: string]: any;
2578
2578
  });
2579
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
+ }
2580
2609
  export declare class DescribeSubaccountK8sClusterUserConfigRequest extends $tea.Model {
2581
2610
  privateIpAddress?: boolean;
2582
2611
  temporaryDurationMinutes?: number;
@@ -4636,6 +4665,53 @@ export declare class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model
4636
4665
  [key: string]: any;
4637
4666
  });
4638
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
+ }
4639
4715
  export declare class UpdateTemplateRequest extends $tea.Model {
4640
4716
  description?: string;
4641
4717
  name?: string;
@@ -5325,7 +5401,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
5325
5401
  imageId?: string;
5326
5402
  imageType?: string;
5327
5403
  instanceChargeType?: string;
5328
- instancePatterns?: InstancePatterns;
5404
+ instancePatterns?: InstancePatterns[];
5329
5405
  instanceTypes?: string[];
5330
5406
  internetChargeType?: string;
5331
5407
  internetMaxBandwidthOut?: number;
@@ -5729,7 +5805,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
5729
5805
  imageId?: string;
5730
5806
  imageType?: string;
5731
5807
  instanceChargeType?: string;
5732
- instancePatterns?: InstancePatterns;
5808
+ instancePatterns?: InstancePatterns[];
5733
5809
  instanceTypes?: string[];
5734
5810
  internetChargeType?: string;
5735
5811
  internetMaxBandwidthOut?: number;
@@ -6000,7 +6076,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
6000
6076
  imageId?: string;
6001
6077
  imageType?: string;
6002
6078
  instanceChargeType?: string;
6003
- instancePatterns?: InstancePatterns;
6079
+ instancePatterns?: InstancePatterns[];
6004
6080
  instanceTypes?: string[];
6005
6081
  internetChargeType?: string;
6006
6082
  internetMaxBandwidthOut?: number;
@@ -6529,6 +6605,7 @@ export declare class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $
6529
6605
  cveList?: string[];
6530
6606
  name?: string;
6531
6607
  necessity?: string;
6608
+ needReboot?: boolean;
6532
6609
  static names(): {
6533
6610
  [key: string]: string;
6534
6611
  };
@@ -6717,6 +6794,21 @@ export declare class DescribePolicyInstancesStatusResponseBodyPolicyInstances ex
6717
6794
  [key: string]: any;
6718
6795
  });
6719
6796
  }
6797
+ export declare class DescribeResourcesDeleteProtectionResponseBody extends $tea.Model {
6798
+ name?: string;
6799
+ namespace?: string;
6800
+ resource?: string;
6801
+ protection?: boolean;
6802
+ static names(): {
6803
+ [key: string]: string;
6804
+ };
6805
+ static types(): {
6806
+ [key: string]: any;
6807
+ };
6808
+ constructor(map?: {
6809
+ [key: string]: any;
6810
+ });
6811
+ }
6720
6812
  export declare class DescribeTaskInfoResponseBodyError extends $tea.Model {
6721
6813
  code?: string;
6722
6814
  message?: string;
@@ -7350,7 +7442,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
7350
7442
  imageId?: string;
7351
7443
  imageType?: string;
7352
7444
  instanceChargeType?: string;
7353
- instancePatterns?: InstancePatterns;
7445
+ instancePatterns?: InstancePatterns[];
7354
7446
  instanceTypes?: string[];
7355
7447
  internetChargeType?: string;
7356
7448
  internetMaxBandwidthOut?: number;
@@ -7618,6 +7710,8 @@ export default class Client extends OpenApi {
7618
7710
  */
7619
7711
  cancelClusterUpgrade(ClusterId: string): Promise<CancelClusterUpgradeResponse>;
7620
7712
  /**
7713
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
7714
+ *
7621
7715
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
7622
7716
  *
7623
7717
  * @param headers map
@@ -7628,6 +7722,8 @@ export default class Client extends OpenApi {
7628
7722
  [key: string]: string;
7629
7723
  }, runtime: $Util.RuntimeOptions): Promise<CancelComponentUpgradeResponse>;
7630
7724
  /**
7725
+ * @deprecated OpenAPI CancelComponentUpgrade is deprecated
7726
+ *
7631
7727
  * @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
7632
7728
  *
7633
7729
  * @return CancelComponentUpgradeResponse
@@ -8717,6 +8813,24 @@ export default class Client extends OpenApi {
8717
8813
  * @return DescribePolicyInstancesStatusResponse
8718
8814
  */
8719
8815
  describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse>;
8816
+ /**
8817
+ * @summary 修改资源删除保护配置
8818
+ *
8819
+ * @param request DescribeResourcesDeleteProtectionRequest
8820
+ * @param headers map
8821
+ * @param runtime runtime options for this request RuntimeOptions
8822
+ * @return DescribeResourcesDeleteProtectionResponse
8823
+ */
8824
+ describeResourcesDeleteProtectionWithOptions(ClusterId: string, ResourceType: string, request: DescribeResourcesDeleteProtectionRequest, headers: {
8825
+ [key: string]: string;
8826
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesDeleteProtectionResponse>;
8827
+ /**
8828
+ * @summary 修改资源删除保护配置
8829
+ *
8830
+ * @param request DescribeResourcesDeleteProtectionRequest
8831
+ * @return DescribeResourcesDeleteProtectionResponse
8832
+ */
8833
+ describeResourcesDeleteProtection(ClusterId: string, ResourceType: string, request: DescribeResourcesDeleteProtectionRequest): Promise<DescribeResourcesDeleteProtectionResponse>;
8720
8834
  /**
8721
8835
  * @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.
8722
8836
  *
@@ -9008,6 +9122,8 @@ export default class Client extends OpenApi {
9008
9122
  */
9009
9123
  getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse>;
9010
9124
  /**
9125
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
9126
+ *
9011
9127
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
9012
9128
  *
9013
9129
  * @param headers map
@@ -9018,6 +9134,8 @@ export default class Client extends OpenApi {
9018
9134
  [key: string]: string;
9019
9135
  }, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse>;
9020
9136
  /**
9137
+ * @deprecated OpenAPI GetUpgradeStatus is deprecated
9138
+ *
9021
9139
  * @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
9022
9140
  *
9023
9141
  * @return GetUpgradeStatusResponse
@@ -9360,6 +9478,8 @@ export default class Client extends OpenApi {
9360
9478
  */
9361
9479
  pauseClusterUpgrade(ClusterId: string): Promise<PauseClusterUpgradeResponse>;
9362
9480
  /**
9481
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
9482
+ *
9363
9483
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
9364
9484
  *
9365
9485
  * @param headers map
@@ -9370,6 +9490,8 @@ export default class Client extends OpenApi {
9370
9490
  [key: string]: string;
9371
9491
  }, runtime: $Util.RuntimeOptions): Promise<PauseComponentUpgradeResponse>;
9372
9492
  /**
9493
+ * @deprecated OpenAPI PauseComponentUpgrade is deprecated
9494
+ *
9373
9495
  * @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
9374
9496
  *
9375
9497
  * @return PauseComponentUpgradeResponse
@@ -9490,6 +9612,8 @@ export default class Client extends OpenApi {
9490
9612
  */
9491
9613
  repairClusterNodePool(clusterId: string, nodepoolId: string, request: RepairClusterNodePoolRequest): Promise<RepairClusterNodePoolResponse>;
9492
9614
  /**
9615
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
9616
+ *
9493
9617
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
9494
9618
  *
9495
9619
  * @param headers map
@@ -9500,6 +9624,8 @@ export default class Client extends OpenApi {
9500
9624
  [key: string]: string;
9501
9625
  }, runtime: $Util.RuntimeOptions): Promise<ResumeComponentUpgradeResponse>;
9502
9626
  /**
9627
+ * @deprecated OpenAPI ResumeComponentUpgrade is deprecated
9628
+ *
9503
9629
  * @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
9504
9630
  *
9505
9631
  * @return ResumeComponentUpgradeResponse
@@ -9817,6 +9943,24 @@ export default class Client extends OpenApi {
9817
9943
  * @return UpdateK8sClusterUserConfigExpireResponse
9818
9944
  */
9819
9945
  updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse>;
9946
+ /**
9947
+ * @summary 修改资源删除保护配置
9948
+ *
9949
+ * @param request UpdateResourcesDeleteProtectionRequest
9950
+ * @param headers map
9951
+ * @param runtime runtime options for this request RuntimeOptions
9952
+ * @return UpdateResourcesDeleteProtectionResponse
9953
+ */
9954
+ updateResourcesDeleteProtectionWithOptions(ClusterId: string, request: UpdateResourcesDeleteProtectionRequest, headers: {
9955
+ [key: string]: string;
9956
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateResourcesDeleteProtectionResponse>;
9957
+ /**
9958
+ * @summary 修改资源删除保护配置
9959
+ *
9960
+ * @param request UpdateResourcesDeleteProtectionRequest
9961
+ * @return UpdateResourcesDeleteProtectionResponse
9962
+ */
9963
+ updateResourcesDeleteProtection(ClusterId: string, request: UpdateResourcesDeleteProtectionRequest): Promise<UpdateResourcesDeleteProtectionResponse>;
9820
9964
  /**
9821
9965
  * @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.
9822
9966
  *