Skip to content

Commit e19006e

Browse files
author
qovery
committed
See Qovery/qovery-openapi-spec@db5bbac from refs/heads/main
1 parent ed7a29c commit e19006e

File tree

2 files changed

+93
-1
lines changed

2 files changed

+93
-1
lines changed

api.ts

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23682,6 +23682,57 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
2368223682

2368323683

2368423684

23685+
setSearchParams(localVarUrlObj, localVarQueryParameter);
23686+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23687+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23688+
23689+
return {
23690+
url: toPathString(localVarUrlObj),
23691+
options: localVarRequestOptions,
23692+
};
23693+
},
23694+
/**
23695+
*
23696+
* @summary List Azure AKS available instance types
23697+
* @param {string} region region name
23698+
* @param {boolean} [onlyMeetsResourceReqs]
23699+
* @param {boolean} [withGpu]
23700+
* @param {*} [options] Override http request option.
23701+
* @throws {RequiredError}
23702+
*/
23703+
listAzureAKSInstanceType: async (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23704+
// verify required parameter 'region' is not null or undefined
23705+
assertParamExists('listAzureAKSInstanceType', 'region', region)
23706+
const localVarPath = `/azure/aks/instanceType/{region}`
23707+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
23708+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
23709+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23710+
let baseOptions;
23711+
if (configuration) {
23712+
baseOptions = configuration.baseOptions;
23713+
}
23714+
23715+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23716+
const localVarHeaderParameter = {} as any;
23717+
const localVarQueryParameter = {} as any;
23718+
23719+
// authentication ApiKeyAuth required
23720+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
23721+
23722+
// authentication bearerAuth required
23723+
// http bearer authentication required
23724+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
23725+
23726+
if (onlyMeetsResourceReqs !== undefined) {
23727+
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
23728+
}
23729+
23730+
if (withGpu !== undefined) {
23731+
localVarQueryParameter['with_gpu'] = withGpu;
23732+
}
23733+
23734+
23735+
2368523736
setSearchParams(localVarUrlObj, localVarQueryParameter);
2368623737
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2368723738
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -24234,6 +24285,21 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
2423424285
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSRegions']?.[localVarOperationServerIndex]?.url;
2423524286
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2423624287
},
24288+
/**
24289+
*
24290+
* @summary List Azure AKS available instance types
24291+
* @param {string} region region name
24292+
* @param {boolean} [onlyMeetsResourceReqs]
24293+
* @param {boolean} [withGpu]
24294+
* @param {*} [options] Override http request option.
24295+
* @throws {RequiredError}
24296+
*/
24297+
async listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
24298+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
24299+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24300+
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAzureAKSInstanceType']?.[localVarOperationServerIndex]?.url;
24301+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24302+
},
2423724303
/**
2423824304
*
2423924305
* @summary List Azure features available
@@ -24450,6 +24516,18 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
2445024516
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList> {
2445124517
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
2445224518
},
24519+
/**
24520+
*
24521+
* @summary List Azure AKS available instance types
24522+
* @param {string} region region name
24523+
* @param {boolean} [onlyMeetsResourceReqs]
24524+
* @param {boolean} [withGpu]
24525+
* @param {*} [options] Override http request option.
24526+
* @throws {RequiredError}
24527+
*/
24528+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList> {
24529+
return localVarFp.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
24530+
},
2445324531
/**
2445424532
*
2445524533
* @summary List Azure features available
@@ -24642,6 +24720,20 @@ export class CloudProviderApi extends BaseAPI {
2464224720
return CloudProviderApiFp(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
2464324721
}
2464424722

24723+
/**
24724+
*
24725+
* @summary List Azure AKS available instance types
24726+
* @param {string} region region name
24727+
* @param {boolean} [onlyMeetsResourceReqs]
24728+
* @param {boolean} [withGpu]
24729+
* @param {*} [options] Override http request option.
24730+
* @throws {RequiredError}
24731+
* @memberof CloudProviderApi
24732+
*/
24733+
public listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) {
24734+
return CloudProviderApiFp(this.configuration).listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
24735+
}
24736+
2464524737
/**
2464624738
*
2464724739
* @summary List Azure features available

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qovery-typescript-axios",
3-
"version": "v1.1.577",
3+
"version": "1.0.3",
44
"description": "OpenAPI client for qovery-typescript-axios",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)