@alicloud/cs20151215 4.1.0 → 4.2.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 CHANGED
@@ -634,6 +634,51 @@ export declare class CreateClusterResponse extends $tea.Model {
634
634
  [key: string]: any;
635
635
  });
636
636
  }
637
+ export declare class CreateClusterDiagnosisRequest extends $tea.Model {
638
+ target?: {
639
+ [key: string]: any;
640
+ };
641
+ type?: string;
642
+ static names(): {
643
+ [key: string]: string;
644
+ };
645
+ static types(): {
646
+ [key: string]: any;
647
+ };
648
+ constructor(map?: {
649
+ [key: string]: any;
650
+ });
651
+ }
652
+ export declare class CreateClusterDiagnosisResponseBody extends $tea.Model {
653
+ clusterId?: string;
654
+ diagnosisId?: string;
655
+ requestId?: string;
656
+ static names(): {
657
+ [key: string]: string;
658
+ };
659
+ static types(): {
660
+ [key: string]: any;
661
+ };
662
+ constructor(map?: {
663
+ [key: string]: any;
664
+ });
665
+ }
666
+ export declare class CreateClusterDiagnosisResponse extends $tea.Model {
667
+ headers?: {
668
+ [key: string]: string;
669
+ };
670
+ statusCode?: number;
671
+ body?: CreateClusterDiagnosisResponseBody;
672
+ static names(): {
673
+ [key: string]: string;
674
+ };
675
+ static types(): {
676
+ [key: string]: any;
677
+ };
678
+ constructor(map?: {
679
+ [key: string]: any;
680
+ });
681
+ }
637
682
  export declare class CreateClusterNodePoolRequest extends $tea.Model {
638
683
  autoScaling?: CreateClusterNodePoolRequestAutoScaling;
639
684
  count?: number;
@@ -2952,6 +2997,73 @@ export declare class GetClusterCheckResponse extends $tea.Model {
2952
2997
  [key: string]: any;
2953
2998
  });
2954
2999
  }
3000
+ export declare class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
3001
+ checkItems?: GetClusterDiagnosisCheckItemsResponseBodyCheckItems[];
3002
+ code?: string;
3003
+ isSuccess?: boolean;
3004
+ requestId?: string;
3005
+ static names(): {
3006
+ [key: string]: string;
3007
+ };
3008
+ static types(): {
3009
+ [key: string]: any;
3010
+ };
3011
+ constructor(map?: {
3012
+ [key: string]: any;
3013
+ });
3014
+ }
3015
+ export declare class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
3016
+ headers?: {
3017
+ [key: string]: string;
3018
+ };
3019
+ statusCode?: number;
3020
+ body?: GetClusterDiagnosisCheckItemsResponseBody;
3021
+ static names(): {
3022
+ [key: string]: string;
3023
+ };
3024
+ static types(): {
3025
+ [key: string]: any;
3026
+ };
3027
+ constructor(map?: {
3028
+ [key: string]: any;
3029
+ });
3030
+ }
3031
+ export declare class GetClusterDiagnosisResultResponseBody extends $tea.Model {
3032
+ code?: number;
3033
+ created?: string;
3034
+ diagnosisId?: string;
3035
+ finished?: string;
3036
+ message?: string;
3037
+ result?: string;
3038
+ status?: number;
3039
+ target?: string;
3040
+ type?: string;
3041
+ static names(): {
3042
+ [key: string]: string;
3043
+ };
3044
+ static types(): {
3045
+ [key: string]: any;
3046
+ };
3047
+ constructor(map?: {
3048
+ [key: string]: any;
3049
+ });
3050
+ }
3051
+ export declare class GetClusterDiagnosisResultResponse extends $tea.Model {
3052
+ headers?: {
3053
+ [key: string]: string;
3054
+ };
3055
+ statusCode?: number;
3056
+ body?: GetClusterDiagnosisResultResponseBody;
3057
+ static names(): {
3058
+ [key: string]: string;
3059
+ };
3060
+ static types(): {
3061
+ [key: string]: any;
3062
+ };
3063
+ constructor(map?: {
3064
+ [key: string]: any;
3065
+ });
3066
+ }
2955
3067
  export declare class GetKubernetesTriggerRequest extends $tea.Model {
2956
3068
  name?: string;
2957
3069
  namespace?: string;
@@ -3797,6 +3909,7 @@ export declare class RemoveWorkflowResponse extends $tea.Model {
3797
3909
  export declare class RepairClusterNodePoolRequest extends $tea.Model {
3798
3910
  autoRestart?: boolean;
3799
3911
  nodes?: string[];
3912
+ operations?: RepairClusterNodePoolRequestOperations[];
3800
3913
  static names(): {
3801
3914
  [key: string]: string;
3802
3915
  };
@@ -6803,6 +6916,25 @@ export declare class GetClusterAddonInstanceResponseBodyLogging extends $tea.Mod
6803
6916
  [key: string]: any;
6804
6917
  });
6805
6918
  }
6919
+ export declare class GetClusterDiagnosisCheckItemsResponseBodyCheckItems extends $tea.Model {
6920
+ desc?: string;
6921
+ display?: string;
6922
+ group?: string;
6923
+ level?: string;
6924
+ message?: string;
6925
+ name?: string;
6926
+ refer?: string;
6927
+ value?: string;
6928
+ static names(): {
6929
+ [key: string]: string;
6930
+ };
6931
+ static types(): {
6932
+ [key: string]: any;
6933
+ };
6934
+ constructor(map?: {
6935
+ [key: string]: any;
6936
+ });
6937
+ }
6806
6938
  export declare class GetKubernetesTriggerResponseBody extends $tea.Model {
6807
6939
  id?: string;
6808
6940
  name?: string;
@@ -7274,6 +7406,19 @@ export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.M
7274
7406
  [key: string]: any;
7275
7407
  });
7276
7408
  }
7409
+ export declare class RepairClusterNodePoolRequestOperations extends $tea.Model {
7410
+ args?: string[];
7411
+ operationId?: string;
7412
+ static names(): {
7413
+ [key: string]: string;
7414
+ };
7415
+ static types(): {
7416
+ [key: string]: any;
7417
+ };
7418
+ constructor(map?: {
7419
+ [key: string]: any;
7420
+ });
7421
+ }
7277
7422
  export declare class ScaleClusterRequestTags extends $tea.Model {
7278
7423
  key?: string;
7279
7424
  static names(): {
@@ -7603,7 +7748,25 @@ export default class Client extends OpenApi {
7603
7748
  */
7604
7749
  createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
7605
7750
  /**
7606
- * @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.
7751
+ * @summary 发起集群诊断
7752
+ *
7753
+ * @param request CreateClusterDiagnosisRequest
7754
+ * @param headers map
7755
+ * @param runtime runtime options for this request RuntimeOptions
7756
+ * @return CreateClusterDiagnosisResponse
7757
+ */
7758
+ createClusterDiagnosisWithOptions(clusterId: string, request: CreateClusterDiagnosisRequest, headers: {
7759
+ [key: string]: string;
7760
+ }, runtime: $Util.RuntimeOptions): Promise<CreateClusterDiagnosisResponse>;
7761
+ /**
7762
+ * @summary 发起集群诊断
7763
+ *
7764
+ * @param request CreateClusterDiagnosisRequest
7765
+ * @return CreateClusterDiagnosisResponse
7766
+ */
7767
+ createClusterDiagnosis(clusterId: string, request: CreateClusterDiagnosisRequest): Promise<CreateClusterDiagnosisResponse>;
7768
+ /**
7769
+ * @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.
7607
7770
  *
7608
7771
  * @param request CreateClusterNodePoolRequest
7609
7772
  * @param headers map
@@ -7614,7 +7777,7 @@ export default class Client extends OpenApi {
7614
7777
  [key: string]: string;
7615
7778
  }, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse>;
7616
7779
  /**
7617
- * @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.
7780
+ * @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.
7618
7781
  *
7619
7782
  * @param request CreateClusterNodePoolRequest
7620
7783
  * @return CreateClusterNodePoolResponse
@@ -8127,7 +8290,7 @@ export default class Client extends OpenApi {
8127
8290
  */
8128
8291
  describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse>;
8129
8292
  /**
8130
- * @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
8293
+ * @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
8131
8294
  *
8132
8295
  * @param request DescribeClusterNodePoolsRequest
8133
8296
  * @param headers map
@@ -8138,7 +8301,7 @@ export default class Client extends OpenApi {
8138
8301
  [key: string]: string;
8139
8302
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse>;
8140
8303
  /**
8141
- * @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
8304
+ * @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
8142
8305
  *
8143
8306
  * @param request DescribeClusterNodePoolsRequest
8144
8307
  * @return DescribeClusterNodePoolsResponse
@@ -8760,6 +8923,38 @@ export default class Client extends OpenApi {
8760
8923
  * @return GetClusterCheckResponse
8761
8924
  */
8762
8925
  getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse>;
8926
+ /**
8927
+ * @summary 获取集群诊断检查项
8928
+ *
8929
+ * @param headers map
8930
+ * @param runtime runtime options for this request RuntimeOptions
8931
+ * @return GetClusterDiagnosisCheckItemsResponse
8932
+ */
8933
+ getClusterDiagnosisCheckItemsWithOptions(clusterId: string, diagnosisId: string, headers: {
8934
+ [key: string]: string;
8935
+ }, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisCheckItemsResponse>;
8936
+ /**
8937
+ * @summary 获取集群诊断检查项
8938
+ *
8939
+ * @return GetClusterDiagnosisCheckItemsResponse
8940
+ */
8941
+ getClusterDiagnosisCheckItems(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisCheckItemsResponse>;
8942
+ /**
8943
+ * @summary 获取集群诊断结果
8944
+ *
8945
+ * @param headers map
8946
+ * @param runtime runtime options for this request RuntimeOptions
8947
+ * @return GetClusterDiagnosisResultResponse
8948
+ */
8949
+ getClusterDiagnosisResultWithOptions(clusterId: string, diagnosisId: string, headers: {
8950
+ [key: string]: string;
8951
+ }, runtime: $Util.RuntimeOptions): Promise<GetClusterDiagnosisResultResponse>;
8952
+ /**
8953
+ * @summary 获取集群诊断结果
8954
+ *
8955
+ * @return GetClusterDiagnosisResultResponse
8956
+ */
8957
+ getClusterDiagnosisResult(clusterId: string, diagnosisId: string): Promise<GetClusterDiagnosisResultResponse>;
8763
8958
  /**
8764
8959
  * @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
8765
8960
  *