@alicloud/cs20151215 4.1.1 → 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 +185 -4
- package/dist/client.js +309 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +358 -4
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;
|
|
@@ -6804,6 +6916,25 @@ export declare class GetClusterAddonInstanceResponseBodyLogging extends $tea.Mod
|
|
|
6804
6916
|
[key: string]: any;
|
|
6805
6917
|
});
|
|
6806
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
|
+
}
|
|
6807
6938
|
export declare class GetKubernetesTriggerResponseBody extends $tea.Model {
|
|
6808
6939
|
id?: string;
|
|
6809
6940
|
name?: string;
|
|
@@ -7617,7 +7748,25 @@ export default class Client extends OpenApi {
|
|
|
7617
7748
|
*/
|
|
7618
7749
|
createCluster(request: CreateClusterRequest): Promise<CreateClusterResponse>;
|
|
7619
7750
|
/**
|
|
7620
|
-
* @summary
|
|
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.
|
|
7621
7770
|
*
|
|
7622
7771
|
* @param request CreateClusterNodePoolRequest
|
|
7623
7772
|
* @param headers map
|
|
@@ -7628,7 +7777,7 @@ export default class Client extends OpenApi {
|
|
|
7628
7777
|
[key: string]: string;
|
|
7629
7778
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse>;
|
|
7630
7779
|
/**
|
|
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
|
|
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.
|
|
7632
7781
|
*
|
|
7633
7782
|
* @param request CreateClusterNodePoolRequest
|
|
7634
7783
|
* @return CreateClusterNodePoolResponse
|
|
@@ -8141,7 +8290,7 @@ export default class Client extends OpenApi {
|
|
|
8141
8290
|
*/
|
|
8142
8291
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse>;
|
|
8143
8292
|
/**
|
|
8144
|
-
* @summary
|
|
8293
|
+
* @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
8145
8294
|
*
|
|
8146
8295
|
* @param request DescribeClusterNodePoolsRequest
|
|
8147
8296
|
* @param headers map
|
|
@@ -8152,7 +8301,7 @@ export default class Client extends OpenApi {
|
|
|
8152
8301
|
[key: string]: string;
|
|
8153
8302
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse>;
|
|
8154
8303
|
/**
|
|
8155
|
-
* @summary
|
|
8304
|
+
* @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
8156
8305
|
*
|
|
8157
8306
|
* @param request DescribeClusterNodePoolsRequest
|
|
8158
8307
|
* @return DescribeClusterNodePoolsResponse
|
|
@@ -8774,6 +8923,38 @@ export default class Client extends OpenApi {
|
|
|
8774
8923
|
* @return GetClusterCheckResponse
|
|
8775
8924
|
*/
|
|
8776
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>;
|
|
8777
8958
|
/**
|
|
8778
8959
|
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
8779
8960
|
*
|