qovery-typescript-axios 1.1.499 → 1.1.500
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 +15 -13
- package/dist/api.d.ts +8 -10
- package/dist/api.js +14 -7
- package/dist/esm/api.d.ts +8 -10
- package/dist/esm/api.js +14 -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}
|
|
@@ -22185,10 +22179,11 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
22185
22179
|
* @summary List AWS EKS available instance types
|
|
22186
22180
|
* @param {string} region region name
|
|
22187
22181
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
22182
|
+
* @param {boolean} [withGpu]
|
|
22188
22183
|
* @param {*} [options] Override http request option.
|
|
22189
22184
|
* @throws {RequiredError}
|
|
22190
22185
|
*/
|
|
22191
|
-
listAWSEKSInstanceType: async (region: string, onlyMeetsResourceReqs?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22186
|
+
listAWSEKSInstanceType: async (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22192
22187
|
// verify required parameter 'region' is not null or undefined
|
|
22193
22188
|
assertParamExists('listAWSEKSInstanceType', 'region', region)
|
|
22194
22189
|
const localVarPath = `/aws/eks/instanceType/{region}`
|
|
@@ -22215,6 +22210,10 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
22215
22210
|
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
|
|
22216
22211
|
}
|
|
22217
22212
|
|
|
22213
|
+
if (withGpu !== undefined) {
|
|
22214
|
+
localVarQueryParameter['with_gpu'] = withGpu;
|
|
22215
|
+
}
|
|
22216
|
+
|
|
22218
22217
|
|
|
22219
22218
|
|
|
22220
22219
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22857,11 +22856,12 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
22857
22856
|
* @summary List AWS EKS available instance types
|
|
22858
22857
|
* @param {string} region region name
|
|
22859
22858
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
22859
|
+
* @param {boolean} [withGpu]
|
|
22860
22860
|
* @param {*} [options] Override http request option.
|
|
22861
22861
|
* @throws {RequiredError}
|
|
22862
22862
|
*/
|
|
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);
|
|
22863
|
+
async listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
22864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
|
|
22865
22865
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22866
22866
|
},
|
|
22867
22867
|
/**
|
|
@@ -23045,11 +23045,12 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
23045
23045
|
* @summary List AWS EKS available instance types
|
|
23046
23046
|
* @param {string} region region name
|
|
23047
23047
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
23048
|
+
* @param {boolean} [withGpu]
|
|
23048
23049
|
* @param {*} [options] Override http request option.
|
|
23049
23050
|
* @throws {RequiredError}
|
|
23050
23051
|
*/
|
|
23051
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
23052
|
-
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, options).then((request) => request(axios, basePath));
|
|
23052
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
23053
|
+
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
23053
23054
|
},
|
|
23054
23055
|
/**
|
|
23055
23056
|
*
|
|
@@ -23216,12 +23217,13 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
23216
23217
|
* @summary List AWS EKS available instance types
|
|
23217
23218
|
* @param {string} region region name
|
|
23218
23219
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
23220
|
+
* @param {boolean} [withGpu]
|
|
23219
23221
|
* @param {*} [options] Override http request option.
|
|
23220
23222
|
* @throws {RequiredError}
|
|
23221
23223
|
* @memberof CloudProviderApi
|
|
23222
23224
|
*/
|
|
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));
|
|
23225
|
+
public listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig) {
|
|
23226
|
+
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
23225
23227
|
}
|
|
23226
23228
|
|
|
23227
23229
|
/**
|
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}
|
|
@@ -18550,10 +18544,11 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
18550
18544
|
* @summary List AWS EKS available instance types
|
|
18551
18545
|
* @param {string} region region name
|
|
18552
18546
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18547
|
+
* @param {boolean} [withGpu]
|
|
18553
18548
|
* @param {*} [options] Override http request option.
|
|
18554
18549
|
* @throws {RequiredError}
|
|
18555
18550
|
*/
|
|
18556
|
-
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18551
|
+
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18557
18552
|
/**
|
|
18558
18553
|
*
|
|
18559
18554
|
* @summary List AWS EC2 available instance types
|
|
@@ -18683,10 +18678,11 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
18683
18678
|
* @summary List AWS EKS available instance types
|
|
18684
18679
|
* @param {string} region region name
|
|
18685
18680
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18681
|
+
* @param {boolean} [withGpu]
|
|
18686
18682
|
* @param {*} [options] Override http request option.
|
|
18687
18683
|
* @throws {RequiredError}
|
|
18688
18684
|
*/
|
|
18689
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18685
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18690
18686
|
/**
|
|
18691
18687
|
*
|
|
18692
18688
|
* @summary List AWS EC2 available instance types
|
|
@@ -18816,10 +18812,11 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
18816
18812
|
* @summary List AWS EKS available instance types
|
|
18817
18813
|
* @param {string} region region name
|
|
18818
18814
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18815
|
+
* @param {boolean} [withGpu]
|
|
18819
18816
|
* @param {*} [options] Override http request option.
|
|
18820
18817
|
* @throws {RequiredError}
|
|
18821
18818
|
*/
|
|
18822
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18819
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18823
18820
|
/**
|
|
18824
18821
|
*
|
|
18825
18822
|
* @summary List AWS EC2 available instance types
|
|
@@ -18951,11 +18948,12 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
18951
18948
|
* @summary List AWS EKS available instance types
|
|
18952
18949
|
* @param {string} region region name
|
|
18953
18950
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18951
|
+
* @param {boolean} [withGpu]
|
|
18954
18952
|
* @param {*} [options] Override http request option.
|
|
18955
18953
|
* @throws {RequiredError}
|
|
18956
18954
|
* @memberof CloudProviderApi
|
|
18957
18955
|
*/
|
|
18958
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18956
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18959
18957
|
/**
|
|
18960
18958
|
*
|
|
18961
18959
|
* @summary List AWS EC2 available instance types
|
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
|
*
|
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}
|
|
@@ -18550,10 +18544,11 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
18550
18544
|
* @summary List AWS EKS available instance types
|
|
18551
18545
|
* @param {string} region region name
|
|
18552
18546
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18547
|
+
* @param {boolean} [withGpu]
|
|
18553
18548
|
* @param {*} [options] Override http request option.
|
|
18554
18549
|
* @throws {RequiredError}
|
|
18555
18550
|
*/
|
|
18556
|
-
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18551
|
+
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18557
18552
|
/**
|
|
18558
18553
|
*
|
|
18559
18554
|
* @summary List AWS EC2 available instance types
|
|
@@ -18683,10 +18678,11 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
18683
18678
|
* @summary List AWS EKS available instance types
|
|
18684
18679
|
* @param {string} region region name
|
|
18685
18680
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18681
|
+
* @param {boolean} [withGpu]
|
|
18686
18682
|
* @param {*} [options] Override http request option.
|
|
18687
18683
|
* @throws {RequiredError}
|
|
18688
18684
|
*/
|
|
18689
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18685
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
18690
18686
|
/**
|
|
18691
18687
|
*
|
|
18692
18688
|
* @summary List AWS EC2 available instance types
|
|
@@ -18816,10 +18812,11 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
18816
18812
|
* @summary List AWS EKS available instance types
|
|
18817
18813
|
* @param {string} region region name
|
|
18818
18814
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18815
|
+
* @param {boolean} [withGpu]
|
|
18819
18816
|
* @param {*} [options] Override http request option.
|
|
18820
18817
|
* @throws {RequiredError}
|
|
18821
18818
|
*/
|
|
18822
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18819
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
18823
18820
|
/**
|
|
18824
18821
|
*
|
|
18825
18822
|
* @summary List AWS EC2 available instance types
|
|
@@ -18951,11 +18948,12 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
18951
18948
|
* @summary List AWS EKS available instance types
|
|
18952
18949
|
* @param {string} region region name
|
|
18953
18950
|
* @param {boolean} [onlyMeetsResourceReqs]
|
|
18951
|
+
* @param {boolean} [withGpu]
|
|
18954
18952
|
* @param {*} [options] Override http request option.
|
|
18955
18953
|
* @throws {RequiredError}
|
|
18956
18954
|
* @memberof CloudProviderApi
|
|
18957
18955
|
*/
|
|
18958
|
-
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18956
|
+
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
18959
18957
|
/**
|
|
18960
18958
|
*
|
|
18961
18959
|
* @summary List AWS EC2 available instance types
|
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
|
*
|