qovery-typescript-axios 1.1.499 → 1.1.501
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/api.ts +128 -13
- package/dist/api.d.ts +74 -10
- package/dist/api.js +95 -7
- package/dist/esm/api.d.ts +74 -10
- package/dist/esm/api.js +95 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2865,12 +2865,6 @@ export interface ClusterInstanceAttributes {
|
|
|
2865
2865
|
* @memberof ClusterInstanceAttributes
|
|
2866
2866
|
*/
|
|
2867
2867
|
'instance_size'?: string;
|
|
2868
|
-
/**
|
|
2869
|
-
* The instance has gpu.
|
|
2870
|
-
* @type {boolean}
|
|
2871
|
-
* @memberof ClusterInstanceAttributes
|
|
2872
|
-
*/
|
|
2873
|
-
'with_gpu'?: boolean;
|
|
2874
2868
|
/**
|
|
2875
2869
|
* The instance has sufficient resources to be chosen as a standalone instance in a cluster.
|
|
2876
2870
|
* @type {boolean}
|
|
@@ -2983,6 +2977,31 @@ export interface ClusterInstanceTypeResponseListResultsInner {
|
|
|
2983
2977
|
*/
|
|
2984
2978
|
'attributes'?: ClusterInstanceAttributes;
|
|
2985
2979
|
}
|
|
2980
|
+
/**
|
|
2981
|
+
*
|
|
2982
|
+
* @export
|
|
2983
|
+
* @interface ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2984
|
+
*/
|
|
2985
|
+
export interface ClusterKarpenterPrivateSubnetIdsPutRequest {
|
|
2986
|
+
/**
|
|
2987
|
+
*
|
|
2988
|
+
* @type {Array<string>}
|
|
2989
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2990
|
+
*/
|
|
2991
|
+
'eks_karpenter_fargate_subnets_zone_a_ids'?: Array<string>;
|
|
2992
|
+
/**
|
|
2993
|
+
*
|
|
2994
|
+
* @type {Array<string>}
|
|
2995
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2996
|
+
*/
|
|
2997
|
+
'eks_karpenter_fargate_subnets_zone_b_ids'?: Array<string>;
|
|
2998
|
+
/**
|
|
2999
|
+
*
|
|
3000
|
+
* @type {Array<string>}
|
|
3001
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
3002
|
+
*/
|
|
3003
|
+
'eks_karpenter_fargate_subnets_zone_c_ids'?: Array<string>;
|
|
3004
|
+
}
|
|
2986
3005
|
/**
|
|
2987
3006
|
*
|
|
2988
3007
|
* @export
|
|
@@ -22185,10 +22204,11 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
22185
22204
|
* @summary List AWS EKS available instance types
|
|
22186
22205
|
* @param {string} region region name
|
|
22187
22206
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
22207
|
+
* @param {boolean} [withGpu]
|
|
22188
22208
|
* @param {*} [options] Override http request option.
|
|
22189
22209
|
* @throws {RequiredError}
|
|
22190
22210
|
*/
|
|
22191
|
-
listAWSEKSInstanceType: async (region: string, onlyMeetsResourceReqs?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22211
|
+
listAWSEKSInstanceType: async (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22192
22212
|
// verify required parameter 'region' is not null or undefined
|
|
22193
22213
|
assertParamExists('listAWSEKSInstanceType', 'region', region)
|
|
22194
22214
|
const localVarPath = `/aws/eks/instanceType/{region}`
|
|
@@ -22215,6 +22235,10 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
22215
22235
|
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
|
|
22216
22236
|
}
|
|
22217
22237
|
|
|
22238
|
+
if (withGpu !== undefined) {
|
|
22239
|
+
localVarQueryParameter['with_gpu'] = withGpu;
|
|
22240
|
+
}
|
|
22241
|
+
|
|
22218
22242
|
|
|
22219
22243
|
|
|
22220
22244
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22857,11 +22881,12 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
22857
22881
|
* @summary List AWS EKS available instance types
|
|
22858
22882
|
* @param {string} region region name
|
|
22859
22883
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
22884
|
+
* @param {boolean} [withGpu]
|
|
22860
22885
|
* @param {*} [options] Override http request option.
|
|
22861
22886
|
* @throws {RequiredError}
|
|
22862
22887
|
*/
|
|
22863
|
-
async listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
22864
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options);
|
|
22888
|
+
async listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
22889
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
|
|
22865
22890
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22866
22891
|
},
|
|
22867
22892
|
/**
|
|
@@ -23045,11 +23070,12 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
23045
23070
|
* @summary List AWS EKS available instance types
|
|
23046
23071
|
* @param {string} region region name
|
|
23047
23072
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
23073
|
+
* @param {boolean} [withGpu]
|
|
23048
23074
|
* @param {*} [options] Override http request option.
|
|
23049
23075
|
* @throws {RequiredError}
|
|
23050
23076
|
*/
|
|
23051
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
23052
|
-
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options).then((request) => request(axios, basePath));
|
|
23077
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
23078
|
+
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
23053
23079
|
},
|
|
23054
23080
|
/**
|
|
23055
23081
|
*
|
|
@@ -23216,12 +23242,13 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
23216
23242
|
* @summary List AWS EKS available instance types
|
|
23217
23243
|
* @param {string} region region name
|
|
23218
23244
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
23245
|
+
* @param {boolean} [withGpu]
|
|
23219
23246
|
* @param {*} [options] Override http request option.
|
|
23220
23247
|
* @throws {RequiredError}
|
|
23221
23248
|
* @memberof CloudProviderApi
|
|
23222
23249
|
*/
|
|
23223
|
-
public listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig) {
|
|
23224
|
-
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options).then((request) => request(this.axios, this.basePath));
|
|
23250
|
+
public listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig) {
|
|
23251
|
+
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
23225
23252
|
}
|
|
23226
23253
|
|
|
23227
23254
|
/**
|
|
@@ -25988,6 +26015,55 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
25988
26015
|
options: localVarRequestOptions,
|
|
25989
26016
|
};
|
|
25990
26017
|
},
|
|
26018
|
+
/**
|
|
26019
|
+
* Update karpenter private fargate subnet ids
|
|
26020
|
+
* @summary Update karpenter private fargate subnet ids
|
|
26021
|
+
* @param {string} organizationId Organization ID
|
|
26022
|
+
* @param {string} clusterId Cluster ID
|
|
26023
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
26024
|
+
* @param {*} [options] Override http request option.
|
|
26025
|
+
* @throws {RequiredError}
|
|
26026
|
+
*/
|
|
26027
|
+
updateKarpenterPrivateFargateSubnetIds: async (organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26028
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26029
|
+
assertParamExists('updateKarpenterPrivateFargateSubnetIds', 'organizationId', organizationId)
|
|
26030
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
26031
|
+
assertParamExists('updateKarpenterPrivateFargateSubnetIds', 'clusterId', clusterId)
|
|
26032
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/karpenterPrivateSubnetIds`
|
|
26033
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
26034
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
26035
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26036
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26037
|
+
let baseOptions;
|
|
26038
|
+
if (configuration) {
|
|
26039
|
+
baseOptions = configuration.baseOptions;
|
|
26040
|
+
}
|
|
26041
|
+
|
|
26042
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26043
|
+
const localVarHeaderParameter = {} as any;
|
|
26044
|
+
const localVarQueryParameter = {} as any;
|
|
26045
|
+
|
|
26046
|
+
// authentication ApiKeyAuth required
|
|
26047
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26048
|
+
|
|
26049
|
+
// authentication bearerAuth required
|
|
26050
|
+
// http bearer authentication required
|
|
26051
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26052
|
+
|
|
26053
|
+
|
|
26054
|
+
|
|
26055
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26056
|
+
|
|
26057
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26059
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26060
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterKarpenterPrivateSubnetIdsPutRequest, localVarRequestOptions, configuration)
|
|
26061
|
+
|
|
26062
|
+
return {
|
|
26063
|
+
url: toPathString(localVarUrlObj),
|
|
26064
|
+
options: localVarRequestOptions,
|
|
26065
|
+
};
|
|
26066
|
+
},
|
|
25991
26067
|
/**
|
|
25992
26068
|
* allows to upgrade a cluster to next available kubernetes version
|
|
25993
26069
|
* @summary Upgrade a cluster
|
|
@@ -26282,6 +26358,19 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
26282
26358
|
const localVarAxiosArgs = await localVarAxiosParamCreator.stopCluster(organizationId, clusterId, options);
|
|
26283
26359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26284
26360
|
},
|
|
26361
|
+
/**
|
|
26362
|
+
* Update karpenter private fargate subnet ids
|
|
26363
|
+
* @summary Update karpenter private fargate subnet ids
|
|
26364
|
+
* @param {string} organizationId Organization ID
|
|
26365
|
+
* @param {string} clusterId Cluster ID
|
|
26366
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
26367
|
+
* @param {*} [options] Override http request option.
|
|
26368
|
+
* @throws {RequiredError}
|
|
26369
|
+
*/
|
|
26370
|
+
async updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
26371
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options);
|
|
26372
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26373
|
+
},
|
|
26285
26374
|
/**
|
|
26286
26375
|
* allows to upgrade a cluster to next available kubernetes version
|
|
26287
26376
|
* @summary Upgrade a cluster
|
|
@@ -26526,6 +26615,18 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
26526
26615
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
26527
26616
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
26528
26617
|
},
|
|
26618
|
+
/**
|
|
26619
|
+
* Update karpenter private fargate subnet ids
|
|
26620
|
+
* @summary Update karpenter private fargate subnet ids
|
|
26621
|
+
* @param {string} organizationId Organization ID
|
|
26622
|
+
* @param {string} clusterId Cluster ID
|
|
26623
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
26624
|
+
* @param {*} [options] Override http request option.
|
|
26625
|
+
* @throws {RequiredError}
|
|
26626
|
+
*/
|
|
26627
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: any): AxiosPromise<void> {
|
|
26628
|
+
return localVarFp.updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options).then((request) => request(axios, basePath));
|
|
26629
|
+
},
|
|
26529
26630
|
/**
|
|
26530
26631
|
* allows to upgrade a cluster to next available kubernetes version
|
|
26531
26632
|
* @summary Upgrade a cluster
|
|
@@ -26809,6 +26910,20 @@ export class ClustersApi extends BaseAPI {
|
|
|
26809
26910
|
return ClustersApiFp(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
26810
26911
|
}
|
|
26811
26912
|
|
|
26913
|
+
/**
|
|
26914
|
+
* Update karpenter private fargate subnet ids
|
|
26915
|
+
* @summary Update karpenter private fargate subnet ids
|
|
26916
|
+
* @param {string} organizationId Organization ID
|
|
26917
|
+
* @param {string} clusterId Cluster ID
|
|
26918
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
26919
|
+
* @param {*} [options] Override http request option.
|
|
26920
|
+
* @throws {RequiredError}
|
|
26921
|
+
* @memberof ClustersApi
|
|
26922
|
+
*/
|
|
26923
|
+
public updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig) {
|
|
26924
|
+
return ClustersApiFp(this.configuration).updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26925
|
+
}
|
|
26926
|
+
|
|
26812
26927
|
/**
|
|
26813
26928
|
* allows to upgrade a cluster to next available kubernetes version
|
|
26814
26929
|
* @summary Upgrade a cluster
|
package/dist/api.d.ts
CHANGED
|
@@ -2784,12 +2784,6 @@ export interface ClusterInstanceAttributes {
|
|
|
2784
2784
|
* @memberof ClusterInstanceAttributes
|
|
2785
2785
|
*/
|
|
2786
2786
|
'instance_size'?: string;
|
|
2787
|
-
/**
|
|
2788
|
-
* The instance has gpu.
|
|
2789
|
-
* @type {boolean}
|
|
2790
|
-
* @memberof ClusterInstanceAttributes
|
|
2791
|
-
*/
|
|
2792
|
-
'with_gpu'?: boolean;
|
|
2793
2787
|
/**
|
|
2794
2788
|
* The instance has sufficient resources to be chosen as a standalone instance in a cluster.
|
|
2795
2789
|
* @type {boolean}
|
|
@@ -2902,6 +2896,31 @@ export interface ClusterInstanceTypeResponseListResultsInner {
|
|
|
2902
2896
|
*/
|
|
2903
2897
|
'attributes'?: ClusterInstanceAttributes;
|
|
2904
2898
|
}
|
|
2899
|
+
/**
|
|
2900
|
+
*
|
|
2901
|
+
* @export
|
|
2902
|
+
* @interface ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2903
|
+
*/
|
|
2904
|
+
export interface ClusterKarpenterPrivateSubnetIdsPutRequest {
|
|
2905
|
+
/**
|
|
2906
|
+
*
|
|
2907
|
+
* @type {Array<string>}
|
|
2908
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2909
|
+
*/
|
|
2910
|
+
'eks_karpenter_fargate_subnets_zone_a_ids'?: Array<string>;
|
|
2911
|
+
/**
|
|
2912
|
+
*
|
|
2913
|
+
* @type {Array<string>}
|
|
2914
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2915
|
+
*/
|
|
2916
|
+
'eks_karpenter_fargate_subnets_zone_b_ids'?: Array<string>;
|
|
2917
|
+
/**
|
|
2918
|
+
*
|
|
2919
|
+
* @type {Array<string>}
|
|
2920
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2921
|
+
*/
|
|
2922
|
+
'eks_karpenter_fargate_subnets_zone_c_ids'?: Array<string>;
|
|
2923
|
+
}
|
|
2905
2924
|
/**
|
|
2906
2925
|
*
|
|
2907
2926
|
* @export
|
|
@@ -18550,10 +18569,11 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
18550
18569
|
* @summary List AWS EKS available instance types
|
|
18551
18570
|
* @param {string} region region name
|
|
18552
18571
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18572
|
+
* @param {boolean} [withGpu]
|
|
18553
18573
|
* @param {*} [options] Override http request option.
|
|
18554
18574
|
* @throws {RequiredError}
|
|
18555
18575
|
*/
|
|
18556
|
-
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18576
|
+
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18557
18577
|
/**
|
|
18558
18578
|
*
|
|
18559
18579
|
* @summary List AWS EC2 available instance types
|
|
@@ -18683,10 +18703,11 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
18683
18703
|
* @summary List AWS EKS available instance types
|
|
18684
18704
|
* @param {string} region region name
|
|
18685
18705
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18706
|
+
* @param {boolean} [withGpu]
|
|
18686
18707
|
* @param {*} [options] Override http request option.
|
|
18687
18708
|
* @throws {RequiredError}
|
|
18688
18709
|
*/
|
|
18689
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18710
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18690
18711
|
/**
|
|
18691
18712
|
*
|
|
18692
18713
|
* @summary List AWS EC2 available instance types
|
|
@@ -18816,10 +18837,11 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
18816
18837
|
* @summary List AWS EKS available instance types
|
|
18817
18838
|
* @param {string} region region name
|
|
18818
18839
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18840
|
+
* @param {boolean} [withGpu]
|
|
18819
18841
|
* @param {*} [options] Override http request option.
|
|
18820
18842
|
* @throws {RequiredError}
|
|
18821
18843
|
*/
|
|
18822
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18844
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18823
18845
|
/**
|
|
18824
18846
|
*
|
|
18825
18847
|
* @summary List AWS EC2 available instance types
|
|
@@ -18951,11 +18973,12 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
18951
18973
|
* @summary List AWS EKS available instance types
|
|
18952
18974
|
* @param {string} region region name
|
|
18953
18975
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18976
|
+
* @param {boolean} [withGpu]
|
|
18954
18977
|
* @param {*} [options] Override http request option.
|
|
18955
18978
|
* @throws {RequiredError}
|
|
18956
18979
|
* @memberof CloudProviderApi
|
|
18957
18980
|
*/
|
|
18958
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18981
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18959
18982
|
/**
|
|
18960
18983
|
*
|
|
18961
18984
|
* @summary List AWS EC2 available instance types
|
|
@@ -20045,6 +20068,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20045
20068
|
* @throws {RequiredError}
|
|
20046
20069
|
*/
|
|
20047
20070
|
stopCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20071
|
+
/**
|
|
20072
|
+
* Update karpenter private fargate subnet ids
|
|
20073
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20074
|
+
* @param {string} organizationId Organization ID
|
|
20075
|
+
* @param {string} clusterId Cluster ID
|
|
20076
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20077
|
+
* @param {*} [options] Override http request option.
|
|
20078
|
+
* @throws {RequiredError}
|
|
20079
|
+
*/
|
|
20080
|
+
updateKarpenterPrivateFargateSubnetIds: (organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20048
20081
|
/**
|
|
20049
20082
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20050
20083
|
* @summary Upgrade a cluster
|
|
@@ -20242,6 +20275,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20242
20275
|
* @throws {RequiredError}
|
|
20243
20276
|
*/
|
|
20244
20277
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
20278
|
+
/**
|
|
20279
|
+
* Update karpenter private fargate subnet ids
|
|
20280
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20281
|
+
* @param {string} organizationId Organization ID
|
|
20282
|
+
* @param {string} clusterId Cluster ID
|
|
20283
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20284
|
+
* @param {*} [options] Override http request option.
|
|
20285
|
+
* @throws {RequiredError}
|
|
20286
|
+
*/
|
|
20287
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
20245
20288
|
/**
|
|
20246
20289
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20247
20290
|
* @summary Upgrade a cluster
|
|
@@ -20439,6 +20482,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
20439
20482
|
* @throws {RequiredError}
|
|
20440
20483
|
*/
|
|
20441
20484
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
20485
|
+
/**
|
|
20486
|
+
* Update karpenter private fargate subnet ids
|
|
20487
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20488
|
+
* @param {string} organizationId Organization ID
|
|
20489
|
+
* @param {string} clusterId Cluster ID
|
|
20490
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20491
|
+
* @param {*} [options] Override http request option.
|
|
20492
|
+
* @throws {RequiredError}
|
|
20493
|
+
*/
|
|
20494
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: any): AxiosPromise<void>;
|
|
20442
20495
|
/**
|
|
20443
20496
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20444
20497
|
* @summary Upgrade a cluster
|
|
@@ -20658,6 +20711,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
20658
20711
|
* @memberof ClustersApi
|
|
20659
20712
|
*/
|
|
20660
20713
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
20714
|
+
/**
|
|
20715
|
+
* Update karpenter private fargate subnet ids
|
|
20716
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20717
|
+
* @param {string} organizationId Organization ID
|
|
20718
|
+
* @param {string} clusterId Cluster ID
|
|
20719
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20720
|
+
* @param {*} [options] Override http request option.
|
|
20721
|
+
* @throws {RequiredError}
|
|
20722
|
+
* @memberof ClustersApi
|
|
20723
|
+
*/
|
|
20724
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
20661
20725
|
/**
|
|
20662
20726
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20663
20727
|
* @summary Upgrade a cluster
|
package/dist/api.js
CHANGED
|
@@ -6380,10 +6380,11 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6380
6380
|
* @summary List AWS EKS available instance types
|
|
6381
6381
|
* @param {string} region region name
|
|
6382
6382
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
6383
|
+
* @param {boolean} [withGpu]
|
|
6383
6384
|
* @param {*} [options] Override http request option.
|
|
6384
6385
|
* @throws {RequiredError}
|
|
6385
6386
|
*/
|
|
6386
|
-
listAWSEKSInstanceType: (region, onlyMeetsResourceReqs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6387
|
+
listAWSEKSInstanceType: (region, onlyMeetsResourceReqs, withGpu, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6387
6388
|
// verify required parameter 'region' is not null or undefined
|
|
6388
6389
|
(0, common_1.assertParamExists)('listAWSEKSInstanceType', 'region', region);
|
|
6389
6390
|
const localVarPath = `/aws/eks/instanceType/{region}`
|
|
@@ -6405,6 +6406,9 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6405
6406
|
if (onlyMeetsResourceReqs !== undefined) {
|
|
6406
6407
|
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
|
|
6407
6408
|
}
|
|
6409
|
+
if (withGpu !== undefined) {
|
|
6410
|
+
localVarQueryParameter['with_gpu'] = withGpu;
|
|
6411
|
+
}
|
|
6408
6412
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6409
6413
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6410
6414
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6932,12 +6936,13 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
6932
6936
|
* @summary List AWS EKS available instance types
|
|
6933
6937
|
* @param {string} region region name
|
|
6934
6938
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
6939
|
+
* @param {boolean} [withGpu]
|
|
6935
6940
|
* @param {*} [options] Override http request option.
|
|
6936
6941
|
* @throws {RequiredError}
|
|
6937
6942
|
*/
|
|
6938
|
-
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options) {
|
|
6943
|
+
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
6939
6944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6940
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options);
|
|
6945
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
|
|
6941
6946
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6942
6947
|
});
|
|
6943
6948
|
},
|
|
@@ -7154,11 +7159,12 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
7154
7159
|
* @summary List AWS EKS available instance types
|
|
7155
7160
|
* @param {string} region region name
|
|
7156
7161
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7162
|
+
* @param {boolean} [withGpu]
|
|
7157
7163
|
* @param {*} [options] Override http request option.
|
|
7158
7164
|
* @throws {RequiredError}
|
|
7159
7165
|
*/
|
|
7160
|
-
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options) {
|
|
7161
|
-
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options).then((request) => request(axios, basePath));
|
|
7166
|
+
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7167
|
+
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
7162
7168
|
},
|
|
7163
7169
|
/**
|
|
7164
7170
|
*
|
|
@@ -7325,12 +7331,13 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
7325
7331
|
* @summary List AWS EKS available instance types
|
|
7326
7332
|
* @param {string} region region name
|
|
7327
7333
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7334
|
+
* @param {boolean} [withGpu]
|
|
7328
7335
|
* @param {*} [options] Override http request option.
|
|
7329
7336
|
* @throws {RequiredError}
|
|
7330
7337
|
* @memberof CloudProviderApi
|
|
7331
7338
|
*/
|
|
7332
|
-
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options) {
|
|
7333
|
-
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options).then((request) => request(this.axios, this.basePath));
|
|
7339
|
+
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7340
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
7334
7341
|
}
|
|
7335
7342
|
/**
|
|
7336
7343
|
*
|
|
@@ -9802,6 +9809,47 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9802
9809
|
options: localVarRequestOptions,
|
|
9803
9810
|
};
|
|
9804
9811
|
}),
|
|
9812
|
+
/**
|
|
9813
|
+
* Update karpenter private fargate subnet ids
|
|
9814
|
+
* @summary Update karpenter private fargate subnet ids
|
|
9815
|
+
* @param {string} organizationId Organization ID
|
|
9816
|
+
* @param {string} clusterId Cluster ID
|
|
9817
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
9818
|
+
* @param {*} [options] Override http request option.
|
|
9819
|
+
* @throws {RequiredError}
|
|
9820
|
+
*/
|
|
9821
|
+
updateKarpenterPrivateFargateSubnetIds: (organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9822
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
9823
|
+
(0, common_1.assertParamExists)('updateKarpenterPrivateFargateSubnetIds', 'organizationId', organizationId);
|
|
9824
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
9825
|
+
(0, common_1.assertParamExists)('updateKarpenterPrivateFargateSubnetIds', 'clusterId', clusterId);
|
|
9826
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/karpenterPrivateSubnetIds`
|
|
9827
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
9828
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
9829
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9830
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9831
|
+
let baseOptions;
|
|
9832
|
+
if (configuration) {
|
|
9833
|
+
baseOptions = configuration.baseOptions;
|
|
9834
|
+
}
|
|
9835
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
9836
|
+
const localVarHeaderParameter = {};
|
|
9837
|
+
const localVarQueryParameter = {};
|
|
9838
|
+
// authentication ApiKeyAuth required
|
|
9839
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9840
|
+
// authentication bearerAuth required
|
|
9841
|
+
// http bearer authentication required
|
|
9842
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9843
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9844
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9846
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9847
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterKarpenterPrivateSubnetIdsPutRequest, localVarRequestOptions, configuration);
|
|
9848
|
+
return {
|
|
9849
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9850
|
+
options: localVarRequestOptions,
|
|
9851
|
+
};
|
|
9852
|
+
}),
|
|
9805
9853
|
/**
|
|
9806
9854
|
* allows to upgrade a cluster to next available kubernetes version
|
|
9807
9855
|
* @summary Upgrade a cluster
|
|
@@ -10129,6 +10177,21 @@ const ClustersApiFp = function (configuration) {
|
|
|
10129
10177
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10130
10178
|
});
|
|
10131
10179
|
},
|
|
10180
|
+
/**
|
|
10181
|
+
* Update karpenter private fargate subnet ids
|
|
10182
|
+
* @summary Update karpenter private fargate subnet ids
|
|
10183
|
+
* @param {string} organizationId Organization ID
|
|
10184
|
+
* @param {string} clusterId Cluster ID
|
|
10185
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
10186
|
+
* @param {*} [options] Override http request option.
|
|
10187
|
+
* @throws {RequiredError}
|
|
10188
|
+
*/
|
|
10189
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options) {
|
|
10190
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10191
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options);
|
|
10192
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10193
|
+
});
|
|
10194
|
+
},
|
|
10132
10195
|
/**
|
|
10133
10196
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10134
10197
|
* @summary Upgrade a cluster
|
|
@@ -10375,6 +10438,18 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10375
10438
|
stopCluster(organizationId, clusterId, options) {
|
|
10376
10439
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
10377
10440
|
},
|
|
10441
|
+
/**
|
|
10442
|
+
* Update karpenter private fargate subnet ids
|
|
10443
|
+
* @summary Update karpenter private fargate subnet ids
|
|
10444
|
+
* @param {string} organizationId Organization ID
|
|
10445
|
+
* @param {string} clusterId Cluster ID
|
|
10446
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
10447
|
+
* @param {*} [options] Override http request option.
|
|
10448
|
+
* @throws {RequiredError}
|
|
10449
|
+
*/
|
|
10450
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options) {
|
|
10451
|
+
return localVarFp.updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options).then((request) => request(axios, basePath));
|
|
10452
|
+
},
|
|
10378
10453
|
/**
|
|
10379
10454
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10380
10455
|
* @summary Upgrade a cluster
|
|
@@ -10638,6 +10713,19 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
10638
10713
|
stopCluster(organizationId, clusterId, options) {
|
|
10639
10714
|
return (0, exports.ClustersApiFp)(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
10640
10715
|
}
|
|
10716
|
+
/**
|
|
10717
|
+
* Update karpenter private fargate subnet ids
|
|
10718
|
+
* @summary Update karpenter private fargate subnet ids
|
|
10719
|
+
* @param {string} organizationId Organization ID
|
|
10720
|
+
* @param {string} clusterId Cluster ID
|
|
10721
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
10722
|
+
* @param {*} [options] Override http request option.
|
|
10723
|
+
* @throws {RequiredError}
|
|
10724
|
+
* @memberof ClustersApi
|
|
10725
|
+
*/
|
|
10726
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options) {
|
|
10727
|
+
return (0, exports.ClustersApiFp)(this.configuration).updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10728
|
+
}
|
|
10641
10729
|
/**
|
|
10642
10730
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10643
10731
|
* @summary Upgrade a cluster
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2784,12 +2784,6 @@ export interface ClusterInstanceAttributes {
|
|
|
2784
2784
|
* @memberof ClusterInstanceAttributes
|
|
2785
2785
|
*/
|
|
2786
2786
|
'instance_size'?: string;
|
|
2787
|
-
/**
|
|
2788
|
-
* The instance has gpu.
|
|
2789
|
-
* @type {boolean}
|
|
2790
|
-
* @memberof ClusterInstanceAttributes
|
|
2791
|
-
*/
|
|
2792
|
-
'with_gpu'?: boolean;
|
|
2793
2787
|
/**
|
|
2794
2788
|
* The instance has sufficient resources to be chosen as a standalone instance in a cluster.
|
|
2795
2789
|
* @type {boolean}
|
|
@@ -2902,6 +2896,31 @@ export interface ClusterInstanceTypeResponseListResultsInner {
|
|
|
2902
2896
|
*/
|
|
2903
2897
|
'attributes'?: ClusterInstanceAttributes;
|
|
2904
2898
|
}
|
|
2899
|
+
/**
|
|
2900
|
+
*
|
|
2901
|
+
* @export
|
|
2902
|
+
* @interface ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2903
|
+
*/
|
|
2904
|
+
export interface ClusterKarpenterPrivateSubnetIdsPutRequest {
|
|
2905
|
+
/**
|
|
2906
|
+
*
|
|
2907
|
+
* @type {Array<string>}
|
|
2908
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2909
|
+
*/
|
|
2910
|
+
'eks_karpenter_fargate_subnets_zone_a_ids'?: Array<string>;
|
|
2911
|
+
/**
|
|
2912
|
+
*
|
|
2913
|
+
* @type {Array<string>}
|
|
2914
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2915
|
+
*/
|
|
2916
|
+
'eks_karpenter_fargate_subnets_zone_b_ids'?: Array<string>;
|
|
2917
|
+
/**
|
|
2918
|
+
*
|
|
2919
|
+
* @type {Array<string>}
|
|
2920
|
+
* @memberof ClusterKarpenterPrivateSubnetIdsPutRequest
|
|
2921
|
+
*/
|
|
2922
|
+
'eks_karpenter_fargate_subnets_zone_c_ids'?: Array<string>;
|
|
2923
|
+
}
|
|
2905
2924
|
/**
|
|
2906
2925
|
*
|
|
2907
2926
|
* @export
|
|
@@ -18550,10 +18569,11 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
18550
18569
|
* @summary List AWS EKS available instance types
|
|
18551
18570
|
* @param {string} region region name
|
|
18552
18571
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18572
|
+
* @param {boolean} [withGpu]
|
|
18553
18573
|
* @param {*} [options] Override http request option.
|
|
18554
18574
|
* @throws {RequiredError}
|
|
18555
18575
|
*/
|
|
18556
|
-
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18576
|
+
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18557
18577
|
/**
|
|
18558
18578
|
*
|
|
18559
18579
|
* @summary List AWS EC2 available instance types
|
|
@@ -18683,10 +18703,11 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
18683
18703
|
* @summary List AWS EKS available instance types
|
|
18684
18704
|
* @param {string} region region name
|
|
18685
18705
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18706
|
+
* @param {boolean} [withGpu]
|
|
18686
18707
|
* @param {*} [options] Override http request option.
|
|
18687
18708
|
* @throws {RequiredError}
|
|
18688
18709
|
*/
|
|
18689
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18710
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18690
18711
|
/**
|
|
18691
18712
|
*
|
|
18692
18713
|
* @summary List AWS EC2 available instance types
|
|
@@ -18816,10 +18837,11 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
18816
18837
|
* @summary List AWS EKS available instance types
|
|
18817
18838
|
* @param {string} region region name
|
|
18818
18839
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18840
|
+
* @param {boolean} [withGpu]
|
|
18819
18841
|
* @param {*} [options] Override http request option.
|
|
18820
18842
|
* @throws {RequiredError}
|
|
18821
18843
|
*/
|
|
18822
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18844
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18823
18845
|
/**
|
|
18824
18846
|
*
|
|
18825
18847
|
* @summary List AWS EC2 available instance types
|
|
@@ -18951,11 +18973,12 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
18951
18973
|
* @summary List AWS EKS available instance types
|
|
18952
18974
|
* @param {string} region region name
|
|
18953
18975
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18976
|
+
* @param {boolean} [withGpu]
|
|
18954
18977
|
* @param {*} [options] Override http request option.
|
|
18955
18978
|
* @throws {RequiredError}
|
|
18956
18979
|
* @memberof CloudProviderApi
|
|
18957
18980
|
*/
|
|
18958
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18981
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18959
18982
|
/**
|
|
18960
18983
|
*
|
|
18961
18984
|
* @summary List AWS EC2 available instance types
|
|
@@ -20045,6 +20068,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20045
20068
|
* @throws {RequiredError}
|
|
20046
20069
|
*/
|
|
20047
20070
|
stopCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20071
|
+
/**
|
|
20072
|
+
* Update karpenter private fargate subnet ids
|
|
20073
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20074
|
+
* @param {string} organizationId Organization ID
|
|
20075
|
+
* @param {string} clusterId Cluster ID
|
|
20076
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20077
|
+
* @param {*} [options] Override http request option.
|
|
20078
|
+
* @throws {RequiredError}
|
|
20079
|
+
*/
|
|
20080
|
+
updateKarpenterPrivateFargateSubnetIds: (organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20048
20081
|
/**
|
|
20049
20082
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20050
20083
|
* @summary Upgrade a cluster
|
|
@@ -20242,6 +20275,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20242
20275
|
* @throws {RequiredError}
|
|
20243
20276
|
*/
|
|
20244
20277
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
20278
|
+
/**
|
|
20279
|
+
* Update karpenter private fargate subnet ids
|
|
20280
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20281
|
+
* @param {string} organizationId Organization ID
|
|
20282
|
+
* @param {string} clusterId Cluster ID
|
|
20283
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20284
|
+
* @param {*} [options] Override http request option.
|
|
20285
|
+
* @throws {RequiredError}
|
|
20286
|
+
*/
|
|
20287
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
20245
20288
|
/**
|
|
20246
20289
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20247
20290
|
* @summary Upgrade a cluster
|
|
@@ -20439,6 +20482,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
20439
20482
|
* @throws {RequiredError}
|
|
20440
20483
|
*/
|
|
20441
20484
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
20485
|
+
/**
|
|
20486
|
+
* Update karpenter private fargate subnet ids
|
|
20487
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20488
|
+
* @param {string} organizationId Organization ID
|
|
20489
|
+
* @param {string} clusterId Cluster ID
|
|
20490
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20491
|
+
* @param {*} [options] Override http request option.
|
|
20492
|
+
* @throws {RequiredError}
|
|
20493
|
+
*/
|
|
20494
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: any): AxiosPromise<void>;
|
|
20442
20495
|
/**
|
|
20443
20496
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20444
20497
|
* @summary Upgrade a cluster
|
|
@@ -20658,6 +20711,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
20658
20711
|
* @memberof ClustersApi
|
|
20659
20712
|
*/
|
|
20660
20713
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
20714
|
+
/**
|
|
20715
|
+
* Update karpenter private fargate subnet ids
|
|
20716
|
+
* @summary Update karpenter private fargate subnet ids
|
|
20717
|
+
* @param {string} organizationId Organization ID
|
|
20718
|
+
* @param {string} clusterId Cluster ID
|
|
20719
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
20720
|
+
* @param {*} [options] Override http request option.
|
|
20721
|
+
* @throws {RequiredError}
|
|
20722
|
+
* @memberof ClustersApi
|
|
20723
|
+
*/
|
|
20724
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId: string, clusterId: string, clusterKarpenterPrivateSubnetIdsPutRequest?: ClusterKarpenterPrivateSubnetIdsPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
20661
20725
|
/**
|
|
20662
20726
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20663
20727
|
* @summary Upgrade a cluster
|
package/dist/esm/api.js
CHANGED
|
@@ -6318,10 +6318,11 @@ export const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6318
6318
|
* @summary List AWS EKS available instance types
|
|
6319
6319
|
* @param {string} region region name
|
|
6320
6320
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
6321
|
+
* @param {boolean} [withGpu]
|
|
6321
6322
|
* @param {*} [options] Override http request option.
|
|
6322
6323
|
* @throws {RequiredError}
|
|
6323
6324
|
*/
|
|
6324
|
-
listAWSEKSInstanceType: (region, onlyMeetsResourceReqs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6325
|
+
listAWSEKSInstanceType: (region, onlyMeetsResourceReqs, withGpu, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6325
6326
|
// verify required parameter 'region' is not null or undefined
|
|
6326
6327
|
assertParamExists('listAWSEKSInstanceType', 'region', region);
|
|
6327
6328
|
const localVarPath = `/aws/eks/instanceType/{region}`
|
|
@@ -6343,6 +6344,9 @@ export const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6343
6344
|
if (onlyMeetsResourceReqs !== undefined) {
|
|
6344
6345
|
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
|
|
6345
6346
|
}
|
|
6347
|
+
if (withGpu !== undefined) {
|
|
6348
|
+
localVarQueryParameter['with_gpu'] = withGpu;
|
|
6349
|
+
}
|
|
6346
6350
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6347
6351
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6348
6352
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6869,12 +6873,13 @@ export const CloudProviderApiFp = function (configuration) {
|
|
|
6869
6873
|
* @summary List AWS EKS available instance types
|
|
6870
6874
|
* @param {string} region region name
|
|
6871
6875
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
6876
|
+
* @param {boolean} [withGpu]
|
|
6872
6877
|
* @param {*} [options] Override http request option.
|
|
6873
6878
|
* @throws {RequiredError}
|
|
6874
6879
|
*/
|
|
6875
|
-
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options) {
|
|
6880
|
+
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
6876
6881
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6877
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options);
|
|
6882
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
|
|
6878
6883
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6879
6884
|
});
|
|
6880
6885
|
},
|
|
@@ -7090,11 +7095,12 @@ export const CloudProviderApiFactory = function (configuration, basePath, axios)
|
|
|
7090
7095
|
* @summary List AWS EKS available instance types
|
|
7091
7096
|
* @param {string} region region name
|
|
7092
7097
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7098
|
+
* @param {boolean} [withGpu]
|
|
7093
7099
|
* @param {*} [options] Override http request option.
|
|
7094
7100
|
* @throws {RequiredError}
|
|
7095
7101
|
*/
|
|
7096
|
-
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options) {
|
|
7097
|
-
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options).then((request) => request(axios, basePath));
|
|
7102
|
+
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7103
|
+
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
7098
7104
|
},
|
|
7099
7105
|
/**
|
|
7100
7106
|
*
|
|
@@ -7260,12 +7266,13 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
7260
7266
|
* @summary List AWS EKS available instance types
|
|
7261
7267
|
* @param {string} region region name
|
|
7262
7268
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7269
|
+
* @param {boolean} [withGpu]
|
|
7263
7270
|
* @param {*} [options] Override http request option.
|
|
7264
7271
|
* @throws {RequiredError}
|
|
7265
7272
|
* @memberof CloudProviderApi
|
|
7266
7273
|
*/
|
|
7267
|
-
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options) {
|
|
7268
|
-
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options).then((request) => request(this.axios, this.basePath));
|
|
7274
|
+
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7275
|
+
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
7269
7276
|
}
|
|
7270
7277
|
/**
|
|
7271
7278
|
*
|
|
@@ -9732,6 +9739,47 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9732
9739
|
options: localVarRequestOptions,
|
|
9733
9740
|
};
|
|
9734
9741
|
}),
|
|
9742
|
+
/**
|
|
9743
|
+
* Update karpenter private fargate subnet ids
|
|
9744
|
+
* @summary Update karpenter private fargate subnet ids
|
|
9745
|
+
* @param {string} organizationId Organization ID
|
|
9746
|
+
* @param {string} clusterId Cluster ID
|
|
9747
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
9748
|
+
* @param {*} [options] Override http request option.
|
|
9749
|
+
* @throws {RequiredError}
|
|
9750
|
+
*/
|
|
9751
|
+
updateKarpenterPrivateFargateSubnetIds: (organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9752
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
9753
|
+
assertParamExists('updateKarpenterPrivateFargateSubnetIds', 'organizationId', organizationId);
|
|
9754
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
9755
|
+
assertParamExists('updateKarpenterPrivateFargateSubnetIds', 'clusterId', clusterId);
|
|
9756
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/karpenterPrivateSubnetIds`
|
|
9757
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
9758
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
9759
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9760
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9761
|
+
let baseOptions;
|
|
9762
|
+
if (configuration) {
|
|
9763
|
+
baseOptions = configuration.baseOptions;
|
|
9764
|
+
}
|
|
9765
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
9766
|
+
const localVarHeaderParameter = {};
|
|
9767
|
+
const localVarQueryParameter = {};
|
|
9768
|
+
// authentication ApiKeyAuth required
|
|
9769
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9770
|
+
// authentication bearerAuth required
|
|
9771
|
+
// http bearer authentication required
|
|
9772
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9773
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9774
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9776
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9777
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterKarpenterPrivateSubnetIdsPutRequest, localVarRequestOptions, configuration);
|
|
9778
|
+
return {
|
|
9779
|
+
url: toPathString(localVarUrlObj),
|
|
9780
|
+
options: localVarRequestOptions,
|
|
9781
|
+
};
|
|
9782
|
+
}),
|
|
9735
9783
|
/**
|
|
9736
9784
|
* allows to upgrade a cluster to next available kubernetes version
|
|
9737
9785
|
* @summary Upgrade a cluster
|
|
@@ -10058,6 +10106,21 @@ export const ClustersApiFp = function (configuration) {
|
|
|
10058
10106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10059
10107
|
});
|
|
10060
10108
|
},
|
|
10109
|
+
/**
|
|
10110
|
+
* Update karpenter private fargate subnet ids
|
|
10111
|
+
* @summary Update karpenter private fargate subnet ids
|
|
10112
|
+
* @param {string} organizationId Organization ID
|
|
10113
|
+
* @param {string} clusterId Cluster ID
|
|
10114
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
10115
|
+
* @param {*} [options] Override http request option.
|
|
10116
|
+
* @throws {RequiredError}
|
|
10117
|
+
*/
|
|
10118
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options) {
|
|
10119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10120
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options);
|
|
10121
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10122
|
+
});
|
|
10123
|
+
},
|
|
10061
10124
|
/**
|
|
10062
10125
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10063
10126
|
* @summary Upgrade a cluster
|
|
@@ -10303,6 +10366,18 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10303
10366
|
stopCluster(organizationId, clusterId, options) {
|
|
10304
10367
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
10305
10368
|
},
|
|
10369
|
+
/**
|
|
10370
|
+
* Update karpenter private fargate subnet ids
|
|
10371
|
+
* @summary Update karpenter private fargate subnet ids
|
|
10372
|
+
* @param {string} organizationId Organization ID
|
|
10373
|
+
* @param {string} clusterId Cluster ID
|
|
10374
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
10375
|
+
* @param {*} [options] Override http request option.
|
|
10376
|
+
* @throws {RequiredError}
|
|
10377
|
+
*/
|
|
10378
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options) {
|
|
10379
|
+
return localVarFp.updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options).then((request) => request(axios, basePath));
|
|
10380
|
+
},
|
|
10306
10381
|
/**
|
|
10307
10382
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10308
10383
|
* @summary Upgrade a cluster
|
|
@@ -10565,6 +10640,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
10565
10640
|
stopCluster(organizationId, clusterId, options) {
|
|
10566
10641
|
return ClustersApiFp(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
10567
10642
|
}
|
|
10643
|
+
/**
|
|
10644
|
+
* Update karpenter private fargate subnet ids
|
|
10645
|
+
* @summary Update karpenter private fargate subnet ids
|
|
10646
|
+
* @param {string} organizationId Organization ID
|
|
10647
|
+
* @param {string} clusterId Cluster ID
|
|
10648
|
+
* @param {ClusterKarpenterPrivateSubnetIdsPutRequest} [clusterKarpenterPrivateSubnetIdsPutRequest]
|
|
10649
|
+
* @param {*} [options] Override http request option.
|
|
10650
|
+
* @throws {RequiredError}
|
|
10651
|
+
* @memberof ClustersApi
|
|
10652
|
+
*/
|
|
10653
|
+
updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options) {
|
|
10654
|
+
return ClustersApiFp(this.configuration).updateKarpenterPrivateFargateSubnetIds(organizationId, clusterId, clusterKarpenterPrivateSubnetIdsPutRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10655
|
+
}
|
|
10568
10656
|
/**
|
|
10569
10657
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10570
10658
|
* @summary Upgrade a cluster
|