qovery-typescript-axios 1.1.500 → 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 +113 -0
- package/dist/api.d.ts +66 -0
- package/dist/api.js +81 -0
- package/dist/esm/api.d.ts +66 -0
- package/dist/esm/api.js +81 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2977,6 +2977,31 @@ export interface ClusterInstanceTypeResponseListResultsInner {
|
|
|
2977
2977
|
*/
|
|
2978
2978
|
'attributes'?: ClusterInstanceAttributes;
|
|
2979
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
|
+
}
|
|
2980
3005
|
/**
|
|
2981
3006
|
*
|
|
2982
3007
|
* @export
|
|
@@ -25990,6 +26015,55 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
25990
26015
|
options: localVarRequestOptions,
|
|
25991
26016
|
};
|
|
25992
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
|
+
},
|
|
25993
26067
|
/**
|
|
25994
26068
|
* allows to upgrade a cluster to next available kubernetes version
|
|
25995
26069
|
* @summary Upgrade a cluster
|
|
@@ -26284,6 +26358,19 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
26284
26358
|
const localVarAxiosArgs = await localVarAxiosParamCreator.stopCluster(organizationId, clusterId, options);
|
|
26285
26359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26286
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
|
+
},
|
|
26287
26374
|
/**
|
|
26288
26375
|
* allows to upgrade a cluster to next available kubernetes version
|
|
26289
26376
|
* @summary Upgrade a cluster
|
|
@@ -26528,6 +26615,18 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
26528
26615
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
26529
26616
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
26530
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
|
+
},
|
|
26531
26630
|
/**
|
|
26532
26631
|
* allows to upgrade a cluster to next available kubernetes version
|
|
26533
26632
|
* @summary Upgrade a cluster
|
|
@@ -26811,6 +26910,20 @@ export class ClustersApi extends BaseAPI {
|
|
|
26811
26910
|
return ClustersApiFp(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
26812
26911
|
}
|
|
26813
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
|
+
|
|
26814
26927
|
/**
|
|
26815
26928
|
* allows to upgrade a cluster to next available kubernetes version
|
|
26816
26929
|
* @summary Upgrade a cluster
|
package/dist/api.d.ts
CHANGED
|
@@ -2896,6 +2896,31 @@ export interface ClusterInstanceTypeResponseListResultsInner {
|
|
|
2896
2896
|
*/
|
|
2897
2897
|
'attributes'?: ClusterInstanceAttributes;
|
|
2898
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
|
+
}
|
|
2899
2924
|
/**
|
|
2900
2925
|
*
|
|
2901
2926
|
* @export
|
|
@@ -20043,6 +20068,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20043
20068
|
* @throws {RequiredError}
|
|
20044
20069
|
*/
|
|
20045
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>;
|
|
20046
20081
|
/**
|
|
20047
20082
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20048
20083
|
* @summary Upgrade a cluster
|
|
@@ -20240,6 +20275,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20240
20275
|
* @throws {RequiredError}
|
|
20241
20276
|
*/
|
|
20242
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>>;
|
|
20243
20288
|
/**
|
|
20244
20289
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20245
20290
|
* @summary Upgrade a cluster
|
|
@@ -20437,6 +20482,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
20437
20482
|
* @throws {RequiredError}
|
|
20438
20483
|
*/
|
|
20439
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>;
|
|
20440
20495
|
/**
|
|
20441
20496
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20442
20497
|
* @summary Upgrade a cluster
|
|
@@ -20656,6 +20711,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
20656
20711
|
* @memberof ClustersApi
|
|
20657
20712
|
*/
|
|
20658
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>>;
|
|
20659
20725
|
/**
|
|
20660
20726
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20661
20727
|
* @summary Upgrade a cluster
|
package/dist/api.js
CHANGED
|
@@ -9809,6 +9809,47 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9809
9809
|
options: localVarRequestOptions,
|
|
9810
9810
|
};
|
|
9811
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
|
+
}),
|
|
9812
9853
|
/**
|
|
9813
9854
|
* allows to upgrade a cluster to next available kubernetes version
|
|
9814
9855
|
* @summary Upgrade a cluster
|
|
@@ -10136,6 +10177,21 @@ const ClustersApiFp = function (configuration) {
|
|
|
10136
10177
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10137
10178
|
});
|
|
10138
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
|
+
},
|
|
10139
10195
|
/**
|
|
10140
10196
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10141
10197
|
* @summary Upgrade a cluster
|
|
@@ -10382,6 +10438,18 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10382
10438
|
stopCluster(organizationId, clusterId, options) {
|
|
10383
10439
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
10384
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
|
+
},
|
|
10385
10453
|
/**
|
|
10386
10454
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10387
10455
|
* @summary Upgrade a cluster
|
|
@@ -10645,6 +10713,19 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
10645
10713
|
stopCluster(organizationId, clusterId, options) {
|
|
10646
10714
|
return (0, exports.ClustersApiFp)(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
10647
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
|
+
}
|
|
10648
10729
|
/**
|
|
10649
10730
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10650
10731
|
* @summary Upgrade a cluster
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2896,6 +2896,31 @@ export interface ClusterInstanceTypeResponseListResultsInner {
|
|
|
2896
2896
|
*/
|
|
2897
2897
|
'attributes'?: ClusterInstanceAttributes;
|
|
2898
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
|
+
}
|
|
2899
2924
|
/**
|
|
2900
2925
|
*
|
|
2901
2926
|
* @export
|
|
@@ -20043,6 +20068,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20043
20068
|
* @throws {RequiredError}
|
|
20044
20069
|
*/
|
|
20045
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>;
|
|
20046
20081
|
/**
|
|
20047
20082
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20048
20083
|
* @summary Upgrade a cluster
|
|
@@ -20240,6 +20275,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20240
20275
|
* @throws {RequiredError}
|
|
20241
20276
|
*/
|
|
20242
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>>;
|
|
20243
20288
|
/**
|
|
20244
20289
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20245
20290
|
* @summary Upgrade a cluster
|
|
@@ -20437,6 +20482,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
20437
20482
|
* @throws {RequiredError}
|
|
20438
20483
|
*/
|
|
20439
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>;
|
|
20440
20495
|
/**
|
|
20441
20496
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20442
20497
|
* @summary Upgrade a cluster
|
|
@@ -20656,6 +20711,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
20656
20711
|
* @memberof ClustersApi
|
|
20657
20712
|
*/
|
|
20658
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>>;
|
|
20659
20725
|
/**
|
|
20660
20726
|
* allows to upgrade a cluster to next available kubernetes version
|
|
20661
20727
|
* @summary Upgrade a cluster
|
package/dist/esm/api.js
CHANGED
|
@@ -9739,6 +9739,47 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9739
9739
|
options: localVarRequestOptions,
|
|
9740
9740
|
};
|
|
9741
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
|
+
}),
|
|
9742
9783
|
/**
|
|
9743
9784
|
* allows to upgrade a cluster to next available kubernetes version
|
|
9744
9785
|
* @summary Upgrade a cluster
|
|
@@ -10065,6 +10106,21 @@ export const ClustersApiFp = function (configuration) {
|
|
|
10065
10106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10066
10107
|
});
|
|
10067
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
|
+
},
|
|
10068
10124
|
/**
|
|
10069
10125
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10070
10126
|
* @summary Upgrade a cluster
|
|
@@ -10310,6 +10366,18 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10310
10366
|
stopCluster(organizationId, clusterId, options) {
|
|
10311
10367
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
10312
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
|
+
},
|
|
10313
10381
|
/**
|
|
10314
10382
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10315
10383
|
* @summary Upgrade a cluster
|
|
@@ -10572,6 +10640,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
10572
10640
|
stopCluster(organizationId, clusterId, options) {
|
|
10573
10641
|
return ClustersApiFp(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
10574
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
|
+
}
|
|
10575
10656
|
/**
|
|
10576
10657
|
* allows to upgrade a cluster to next available kubernetes version
|
|
10577
10658
|
* @summary Upgrade a cluster
|