qovery-typescript-axios 1.1.577 → 1.1.579
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 +178 -0
- package/dist/api.d.ts +127 -0
- package/dist/api.js +85 -0
- package/dist/esm/api.d.ts +127 -0
- package/dist/esm/api.js +85 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -16866,6 +16866,92 @@ export const StorageTypeEnum = {
|
|
|
16866
16866
|
export type StorageTypeEnum = typeof StorageTypeEnum[keyof typeof StorageTypeEnum];
|
|
16867
16867
|
|
|
16868
16868
|
|
|
16869
|
+
/**
|
|
16870
|
+
*
|
|
16871
|
+
* @export
|
|
16872
|
+
* @interface TerraformRequest
|
|
16873
|
+
*/
|
|
16874
|
+
export interface TerraformRequest {
|
|
16875
|
+
/**
|
|
16876
|
+
*
|
|
16877
|
+
* @type {string}
|
|
16878
|
+
* @memberof TerraformRequest
|
|
16879
|
+
*/
|
|
16880
|
+
'name'?: string;
|
|
16881
|
+
/**
|
|
16882
|
+
*
|
|
16883
|
+
* @type {string}
|
|
16884
|
+
* @memberof TerraformRequest
|
|
16885
|
+
*/
|
|
16886
|
+
'description'?: string;
|
|
16887
|
+
/**
|
|
16888
|
+
*
|
|
16889
|
+
* @type {boolean}
|
|
16890
|
+
* @memberof TerraformRequest
|
|
16891
|
+
*/
|
|
16892
|
+
'auto_approve'?: boolean;
|
|
16893
|
+
/**
|
|
16894
|
+
*
|
|
16895
|
+
* @type {boolean}
|
|
16896
|
+
* @memberof TerraformRequest
|
|
16897
|
+
*/
|
|
16898
|
+
'auto_deploy'?: boolean;
|
|
16899
|
+
/**
|
|
16900
|
+
*
|
|
16901
|
+
* @type {string}
|
|
16902
|
+
* @memberof TerraformRequest
|
|
16903
|
+
*/
|
|
16904
|
+
'terraform_files_source'?: string;
|
|
16905
|
+
/**
|
|
16906
|
+
*
|
|
16907
|
+
* @type {string}
|
|
16908
|
+
* @memberof TerraformRequest
|
|
16909
|
+
*/
|
|
16910
|
+
'terraform_variables_source'?: string;
|
|
16911
|
+
/**
|
|
16912
|
+
*
|
|
16913
|
+
* @type {string}
|
|
16914
|
+
* @memberof TerraformRequest
|
|
16915
|
+
*/
|
|
16916
|
+
'provider'?: string;
|
|
16917
|
+
/**
|
|
16918
|
+
*
|
|
16919
|
+
* @type {string}
|
|
16920
|
+
* @memberof TerraformRequest
|
|
16921
|
+
*/
|
|
16922
|
+
'provider_version'?: string;
|
|
16923
|
+
/**
|
|
16924
|
+
*
|
|
16925
|
+
* @type {string}
|
|
16926
|
+
* @memberof TerraformRequest
|
|
16927
|
+
*/
|
|
16928
|
+
'timeout_sec'?: string;
|
|
16929
|
+
/**
|
|
16930
|
+
*
|
|
16931
|
+
* @type {string}
|
|
16932
|
+
* @memberof TerraformRequest
|
|
16933
|
+
*/
|
|
16934
|
+
'icon_uri'?: string;
|
|
16935
|
+
/**
|
|
16936
|
+
*
|
|
16937
|
+
* @type {string}
|
|
16938
|
+
* @memberof TerraformRequest
|
|
16939
|
+
*/
|
|
16940
|
+
'job_resources'?: string;
|
|
16941
|
+
}
|
|
16942
|
+
/**
|
|
16943
|
+
*
|
|
16944
|
+
* @export
|
|
16945
|
+
* @interface TerraformResponse
|
|
16946
|
+
*/
|
|
16947
|
+
export interface TerraformResponse {
|
|
16948
|
+
/**
|
|
16949
|
+
*
|
|
16950
|
+
* @type {string}
|
|
16951
|
+
* @memberof TerraformResponse
|
|
16952
|
+
*/
|
|
16953
|
+
'id'?: string;
|
|
16954
|
+
}
|
|
16869
16955
|
/**
|
|
16870
16956
|
*
|
|
16871
16957
|
* @export
|
|
@@ -23682,6 +23768,57 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23682
23768
|
|
|
23683
23769
|
|
|
23684
23770
|
|
|
23771
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23772
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23773
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23774
|
+
|
|
23775
|
+
return {
|
|
23776
|
+
url: toPathString(localVarUrlObj),
|
|
23777
|
+
options: localVarRequestOptions,
|
|
23778
|
+
};
|
|
23779
|
+
},
|
|
23780
|
+
/**
|
|
23781
|
+
*
|
|
23782
|
+
* @summary List Azure AKS available instance types
|
|
23783
|
+
* @param {string} region region name
|
|
23784
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
23785
|
+
* @param {boolean} [withGpu]
|
|
23786
|
+
* @param {*} [options] Override http request option.
|
|
23787
|
+
* @throws {RequiredError}
|
|
23788
|
+
*/
|
|
23789
|
+
listAzureAKSInstanceType: async (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23790
|
+
// verify required parameter 'region' is not null or undefined
|
|
23791
|
+
assertParamExists('listAzureAKSInstanceType', 'region', region)
|
|
23792
|
+
const localVarPath = `/azure/aks/instanceType/{region}`
|
|
23793
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
23794
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23795
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23796
|
+
let baseOptions;
|
|
23797
|
+
if (configuration) {
|
|
23798
|
+
baseOptions = configuration.baseOptions;
|
|
23799
|
+
}
|
|
23800
|
+
|
|
23801
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23802
|
+
const localVarHeaderParameter = {} as any;
|
|
23803
|
+
const localVarQueryParameter = {} as any;
|
|
23804
|
+
|
|
23805
|
+
// authentication ApiKeyAuth required
|
|
23806
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23807
|
+
|
|
23808
|
+
// authentication bearerAuth required
|
|
23809
|
+
// http bearer authentication required
|
|
23810
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23811
|
+
|
|
23812
|
+
if (onlyMeetsResourceReqs !== undefined) {
|
|
23813
|
+
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
|
|
23814
|
+
}
|
|
23815
|
+
|
|
23816
|
+
if (withGpu !== undefined) {
|
|
23817
|
+
localVarQueryParameter['with_gpu'] = withGpu;
|
|
23818
|
+
}
|
|
23819
|
+
|
|
23820
|
+
|
|
23821
|
+
|
|
23685
23822
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23686
23823
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23687
23824
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24234,6 +24371,21 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
24234
24371
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSRegions']?.[localVarOperationServerIndex]?.url;
|
|
24235
24372
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24236
24373
|
},
|
|
24374
|
+
/**
|
|
24375
|
+
*
|
|
24376
|
+
* @summary List Azure AKS available instance types
|
|
24377
|
+
* @param {string} region region name
|
|
24378
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
24379
|
+
* @param {boolean} [withGpu]
|
|
24380
|
+
* @param {*} [options] Override http request option.
|
|
24381
|
+
* @throws {RequiredError}
|
|
24382
|
+
*/
|
|
24383
|
+
async listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
24384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
|
|
24385
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24386
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAzureAKSInstanceType']?.[localVarOperationServerIndex]?.url;
|
|
24387
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24388
|
+
},
|
|
24237
24389
|
/**
|
|
24238
24390
|
*
|
|
24239
24391
|
* @summary List Azure features available
|
|
@@ -24450,6 +24602,18 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
24450
24602
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList> {
|
|
24451
24603
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
24452
24604
|
},
|
|
24605
|
+
/**
|
|
24606
|
+
*
|
|
24607
|
+
* @summary List Azure AKS available instance types
|
|
24608
|
+
* @param {string} region region name
|
|
24609
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
24610
|
+
* @param {boolean} [withGpu]
|
|
24611
|
+
* @param {*} [options] Override http request option.
|
|
24612
|
+
* @throws {RequiredError}
|
|
24613
|
+
*/
|
|
24614
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
24615
|
+
return localVarFp.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
24616
|
+
},
|
|
24453
24617
|
/**
|
|
24454
24618
|
*
|
|
24455
24619
|
* @summary List Azure features available
|
|
@@ -24642,6 +24806,20 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
24642
24806
|
return CloudProviderApiFp(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
24643
24807
|
}
|
|
24644
24808
|
|
|
24809
|
+
/**
|
|
24810
|
+
*
|
|
24811
|
+
* @summary List Azure AKS available instance types
|
|
24812
|
+
* @param {string} region region name
|
|
24813
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
24814
|
+
* @param {boolean} [withGpu]
|
|
24815
|
+
* @param {*} [options] Override http request option.
|
|
24816
|
+
* @throws {RequiredError}
|
|
24817
|
+
* @memberof CloudProviderApi
|
|
24818
|
+
*/
|
|
24819
|
+
public listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) {
|
|
24820
|
+
return CloudProviderApiFp(this.configuration).listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
24821
|
+
}
|
|
24822
|
+
|
|
24645
24823
|
/**
|
|
24646
24824
|
*
|
|
24647
24825
|
* @summary List Azure features available
|
package/dist/api.d.ts
CHANGED
|
@@ -16302,6 +16302,92 @@ export declare const StorageTypeEnum: {
|
|
|
16302
16302
|
readonly FAST_SSD: "FAST_SSD";
|
|
16303
16303
|
};
|
|
16304
16304
|
export type StorageTypeEnum = typeof StorageTypeEnum[keyof typeof StorageTypeEnum];
|
|
16305
|
+
/**
|
|
16306
|
+
*
|
|
16307
|
+
* @export
|
|
16308
|
+
* @interface TerraformRequest
|
|
16309
|
+
*/
|
|
16310
|
+
export interface TerraformRequest {
|
|
16311
|
+
/**
|
|
16312
|
+
*
|
|
16313
|
+
* @type {string}
|
|
16314
|
+
* @memberof TerraformRequest
|
|
16315
|
+
*/
|
|
16316
|
+
'name'?: string;
|
|
16317
|
+
/**
|
|
16318
|
+
*
|
|
16319
|
+
* @type {string}
|
|
16320
|
+
* @memberof TerraformRequest
|
|
16321
|
+
*/
|
|
16322
|
+
'description'?: string;
|
|
16323
|
+
/**
|
|
16324
|
+
*
|
|
16325
|
+
* @type {boolean}
|
|
16326
|
+
* @memberof TerraformRequest
|
|
16327
|
+
*/
|
|
16328
|
+
'auto_approve'?: boolean;
|
|
16329
|
+
/**
|
|
16330
|
+
*
|
|
16331
|
+
* @type {boolean}
|
|
16332
|
+
* @memberof TerraformRequest
|
|
16333
|
+
*/
|
|
16334
|
+
'auto_deploy'?: boolean;
|
|
16335
|
+
/**
|
|
16336
|
+
*
|
|
16337
|
+
* @type {string}
|
|
16338
|
+
* @memberof TerraformRequest
|
|
16339
|
+
*/
|
|
16340
|
+
'terraform_files_source'?: string;
|
|
16341
|
+
/**
|
|
16342
|
+
*
|
|
16343
|
+
* @type {string}
|
|
16344
|
+
* @memberof TerraformRequest
|
|
16345
|
+
*/
|
|
16346
|
+
'terraform_variables_source'?: string;
|
|
16347
|
+
/**
|
|
16348
|
+
*
|
|
16349
|
+
* @type {string}
|
|
16350
|
+
* @memberof TerraformRequest
|
|
16351
|
+
*/
|
|
16352
|
+
'provider'?: string;
|
|
16353
|
+
/**
|
|
16354
|
+
*
|
|
16355
|
+
* @type {string}
|
|
16356
|
+
* @memberof TerraformRequest
|
|
16357
|
+
*/
|
|
16358
|
+
'provider_version'?: string;
|
|
16359
|
+
/**
|
|
16360
|
+
*
|
|
16361
|
+
* @type {string}
|
|
16362
|
+
* @memberof TerraformRequest
|
|
16363
|
+
*/
|
|
16364
|
+
'timeout_sec'?: string;
|
|
16365
|
+
/**
|
|
16366
|
+
*
|
|
16367
|
+
* @type {string}
|
|
16368
|
+
* @memberof TerraformRequest
|
|
16369
|
+
*/
|
|
16370
|
+
'icon_uri'?: string;
|
|
16371
|
+
/**
|
|
16372
|
+
*
|
|
16373
|
+
* @type {string}
|
|
16374
|
+
* @memberof TerraformRequest
|
|
16375
|
+
*/
|
|
16376
|
+
'job_resources'?: string;
|
|
16377
|
+
}
|
|
16378
|
+
/**
|
|
16379
|
+
*
|
|
16380
|
+
* @export
|
|
16381
|
+
* @interface TerraformResponse
|
|
16382
|
+
*/
|
|
16383
|
+
export interface TerraformResponse {
|
|
16384
|
+
/**
|
|
16385
|
+
*
|
|
16386
|
+
* @type {string}
|
|
16387
|
+
* @memberof TerraformResponse
|
|
16388
|
+
*/
|
|
16389
|
+
'id'?: string;
|
|
16390
|
+
}
|
|
16305
16391
|
/**
|
|
16306
16392
|
*
|
|
16307
16393
|
* @export
|
|
@@ -19707,6 +19793,16 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19707
19793
|
* @throws {RequiredError}
|
|
19708
19794
|
*/
|
|
19709
19795
|
listAWSRegions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19796
|
+
/**
|
|
19797
|
+
*
|
|
19798
|
+
* @summary List Azure AKS available instance types
|
|
19799
|
+
* @param {string} region region name
|
|
19800
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19801
|
+
* @param {boolean} [withGpu]
|
|
19802
|
+
* @param {*} [options] Override http request option.
|
|
19803
|
+
* @throws {RequiredError}
|
|
19804
|
+
*/
|
|
19805
|
+
listAzureAKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19710
19806
|
/**
|
|
19711
19807
|
*
|
|
19712
19808
|
* @summary List Azure features available
|
|
@@ -19847,6 +19943,16 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19847
19943
|
* @throws {RequiredError}
|
|
19848
19944
|
*/
|
|
19849
19945
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>>;
|
|
19946
|
+
/**
|
|
19947
|
+
*
|
|
19948
|
+
* @summary List Azure AKS available instance types
|
|
19949
|
+
* @param {string} region region name
|
|
19950
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19951
|
+
* @param {boolean} [withGpu]
|
|
19952
|
+
* @param {*} [options] Override http request option.
|
|
19953
|
+
* @throws {RequiredError}
|
|
19954
|
+
*/
|
|
19955
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19850
19956
|
/**
|
|
19851
19957
|
*
|
|
19852
19958
|
* @summary List Azure features available
|
|
@@ -19987,6 +20093,16 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19987
20093
|
* @throws {RequiredError}
|
|
19988
20094
|
*/
|
|
19989
20095
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList>;
|
|
20096
|
+
/**
|
|
20097
|
+
*
|
|
20098
|
+
* @summary List Azure AKS available instance types
|
|
20099
|
+
* @param {string} region region name
|
|
20100
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20101
|
+
* @param {boolean} [withGpu]
|
|
20102
|
+
* @param {*} [options] Override http request option.
|
|
20103
|
+
* @throws {RequiredError}
|
|
20104
|
+
*/
|
|
20105
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19990
20106
|
/**
|
|
19991
20107
|
*
|
|
19992
20108
|
* @summary List Azure features available
|
|
@@ -20135,6 +20251,17 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20135
20251
|
* @memberof CloudProviderApi
|
|
20136
20252
|
*/
|
|
20137
20253
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRegionResponseList, any>>;
|
|
20254
|
+
/**
|
|
20255
|
+
*
|
|
20256
|
+
* @summary List Azure AKS available instance types
|
|
20257
|
+
* @param {string} region region name
|
|
20258
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20259
|
+
* @param {boolean} [withGpu]
|
|
20260
|
+
* @param {*} [options] Override http request option.
|
|
20261
|
+
* @throws {RequiredError}
|
|
20262
|
+
* @memberof CloudProviderApi
|
|
20263
|
+
*/
|
|
20264
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
20138
20265
|
/**
|
|
20139
20266
|
*
|
|
20140
20267
|
* @summary List Azure features available
|
package/dist/api.js
CHANGED
|
@@ -6781,6 +6781,48 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6781
6781
|
options: localVarRequestOptions,
|
|
6782
6782
|
};
|
|
6783
6783
|
}),
|
|
6784
|
+
/**
|
|
6785
|
+
*
|
|
6786
|
+
* @summary List Azure AKS available instance types
|
|
6787
|
+
* @param {string} region region name
|
|
6788
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
6789
|
+
* @param {boolean} [withGpu]
|
|
6790
|
+
* @param {*} [options] Override http request option.
|
|
6791
|
+
* @throws {RequiredError}
|
|
6792
|
+
*/
|
|
6793
|
+
listAzureAKSInstanceType: (region_1, onlyMeetsResourceReqs_1, withGpu_1, ...args_1) => __awaiter(this, [region_1, onlyMeetsResourceReqs_1, withGpu_1, ...args_1], void 0, function* (region, onlyMeetsResourceReqs, withGpu, options = {}) {
|
|
6794
|
+
// verify required parameter 'region' is not null or undefined
|
|
6795
|
+
(0, common_1.assertParamExists)('listAzureAKSInstanceType', 'region', region);
|
|
6796
|
+
const localVarPath = `/azure/aks/instanceType/{region}`
|
|
6797
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
6798
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6799
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6800
|
+
let baseOptions;
|
|
6801
|
+
if (configuration) {
|
|
6802
|
+
baseOptions = configuration.baseOptions;
|
|
6803
|
+
}
|
|
6804
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6805
|
+
const localVarHeaderParameter = {};
|
|
6806
|
+
const localVarQueryParameter = {};
|
|
6807
|
+
// authentication ApiKeyAuth required
|
|
6808
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6809
|
+
// authentication bearerAuth required
|
|
6810
|
+
// http bearer authentication required
|
|
6811
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6812
|
+
if (onlyMeetsResourceReqs !== undefined) {
|
|
6813
|
+
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
|
|
6814
|
+
}
|
|
6815
|
+
if (withGpu !== undefined) {
|
|
6816
|
+
localVarQueryParameter['with_gpu'] = withGpu;
|
|
6817
|
+
}
|
|
6818
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6819
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6820
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6821
|
+
return {
|
|
6822
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6823
|
+
options: localVarRequestOptions,
|
|
6824
|
+
};
|
|
6825
|
+
}),
|
|
6784
6826
|
/**
|
|
6785
6827
|
*
|
|
6786
6828
|
* @summary List Azure features available
|
|
@@ -7258,6 +7300,24 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
7258
7300
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7259
7301
|
});
|
|
7260
7302
|
},
|
|
7303
|
+
/**
|
|
7304
|
+
*
|
|
7305
|
+
* @summary List Azure AKS available instance types
|
|
7306
|
+
* @param {string} region region name
|
|
7307
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7308
|
+
* @param {boolean} [withGpu]
|
|
7309
|
+
* @param {*} [options] Override http request option.
|
|
7310
|
+
* @throws {RequiredError}
|
|
7311
|
+
*/
|
|
7312
|
+
listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7314
|
+
var _a, _b, _c;
|
|
7315
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
|
|
7316
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7317
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CloudProviderApi.listAzureAKSInstanceType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7318
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7319
|
+
});
|
|
7320
|
+
},
|
|
7261
7321
|
/**
|
|
7262
7322
|
*
|
|
7263
7323
|
* @summary List Azure features available
|
|
@@ -7510,6 +7570,18 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
7510
7570
|
listAWSRegions(options) {
|
|
7511
7571
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
7512
7572
|
},
|
|
7573
|
+
/**
|
|
7574
|
+
*
|
|
7575
|
+
* @summary List Azure AKS available instance types
|
|
7576
|
+
* @param {string} region region name
|
|
7577
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7578
|
+
* @param {boolean} [withGpu]
|
|
7579
|
+
* @param {*} [options] Override http request option.
|
|
7580
|
+
* @throws {RequiredError}
|
|
7581
|
+
*/
|
|
7582
|
+
listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7583
|
+
return localVarFp.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
7584
|
+
},
|
|
7513
7585
|
/**
|
|
7514
7586
|
*
|
|
7515
7587
|
* @summary List Azure features available
|
|
@@ -7696,6 +7768,19 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
7696
7768
|
listAWSRegions(options) {
|
|
7697
7769
|
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
7698
7770
|
}
|
|
7771
|
+
/**
|
|
7772
|
+
*
|
|
7773
|
+
* @summary List Azure AKS available instance types
|
|
7774
|
+
* @param {string} region region name
|
|
7775
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7776
|
+
* @param {boolean} [withGpu]
|
|
7777
|
+
* @param {*} [options] Override http request option.
|
|
7778
|
+
* @throws {RequiredError}
|
|
7779
|
+
* @memberof CloudProviderApi
|
|
7780
|
+
*/
|
|
7781
|
+
listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7782
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
7783
|
+
}
|
|
7699
7784
|
/**
|
|
7700
7785
|
*
|
|
7701
7786
|
* @summary List Azure features available
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -16302,6 +16302,92 @@ export declare const StorageTypeEnum: {
|
|
|
16302
16302
|
readonly FAST_SSD: "FAST_SSD";
|
|
16303
16303
|
};
|
|
16304
16304
|
export type StorageTypeEnum = typeof StorageTypeEnum[keyof typeof StorageTypeEnum];
|
|
16305
|
+
/**
|
|
16306
|
+
*
|
|
16307
|
+
* @export
|
|
16308
|
+
* @interface TerraformRequest
|
|
16309
|
+
*/
|
|
16310
|
+
export interface TerraformRequest {
|
|
16311
|
+
/**
|
|
16312
|
+
*
|
|
16313
|
+
* @type {string}
|
|
16314
|
+
* @memberof TerraformRequest
|
|
16315
|
+
*/
|
|
16316
|
+
'name'?: string;
|
|
16317
|
+
/**
|
|
16318
|
+
*
|
|
16319
|
+
* @type {string}
|
|
16320
|
+
* @memberof TerraformRequest
|
|
16321
|
+
*/
|
|
16322
|
+
'description'?: string;
|
|
16323
|
+
/**
|
|
16324
|
+
*
|
|
16325
|
+
* @type {boolean}
|
|
16326
|
+
* @memberof TerraformRequest
|
|
16327
|
+
*/
|
|
16328
|
+
'auto_approve'?: boolean;
|
|
16329
|
+
/**
|
|
16330
|
+
*
|
|
16331
|
+
* @type {boolean}
|
|
16332
|
+
* @memberof TerraformRequest
|
|
16333
|
+
*/
|
|
16334
|
+
'auto_deploy'?: boolean;
|
|
16335
|
+
/**
|
|
16336
|
+
*
|
|
16337
|
+
* @type {string}
|
|
16338
|
+
* @memberof TerraformRequest
|
|
16339
|
+
*/
|
|
16340
|
+
'terraform_files_source'?: string;
|
|
16341
|
+
/**
|
|
16342
|
+
*
|
|
16343
|
+
* @type {string}
|
|
16344
|
+
* @memberof TerraformRequest
|
|
16345
|
+
*/
|
|
16346
|
+
'terraform_variables_source'?: string;
|
|
16347
|
+
/**
|
|
16348
|
+
*
|
|
16349
|
+
* @type {string}
|
|
16350
|
+
* @memberof TerraformRequest
|
|
16351
|
+
*/
|
|
16352
|
+
'provider'?: string;
|
|
16353
|
+
/**
|
|
16354
|
+
*
|
|
16355
|
+
* @type {string}
|
|
16356
|
+
* @memberof TerraformRequest
|
|
16357
|
+
*/
|
|
16358
|
+
'provider_version'?: string;
|
|
16359
|
+
/**
|
|
16360
|
+
*
|
|
16361
|
+
* @type {string}
|
|
16362
|
+
* @memberof TerraformRequest
|
|
16363
|
+
*/
|
|
16364
|
+
'timeout_sec'?: string;
|
|
16365
|
+
/**
|
|
16366
|
+
*
|
|
16367
|
+
* @type {string}
|
|
16368
|
+
* @memberof TerraformRequest
|
|
16369
|
+
*/
|
|
16370
|
+
'icon_uri'?: string;
|
|
16371
|
+
/**
|
|
16372
|
+
*
|
|
16373
|
+
* @type {string}
|
|
16374
|
+
* @memberof TerraformRequest
|
|
16375
|
+
*/
|
|
16376
|
+
'job_resources'?: string;
|
|
16377
|
+
}
|
|
16378
|
+
/**
|
|
16379
|
+
*
|
|
16380
|
+
* @export
|
|
16381
|
+
* @interface TerraformResponse
|
|
16382
|
+
*/
|
|
16383
|
+
export interface TerraformResponse {
|
|
16384
|
+
/**
|
|
16385
|
+
*
|
|
16386
|
+
* @type {string}
|
|
16387
|
+
* @memberof TerraformResponse
|
|
16388
|
+
*/
|
|
16389
|
+
'id'?: string;
|
|
16390
|
+
}
|
|
16305
16391
|
/**
|
|
16306
16392
|
*
|
|
16307
16393
|
* @export
|
|
@@ -19707,6 +19793,16 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19707
19793
|
* @throws {RequiredError}
|
|
19708
19794
|
*/
|
|
19709
19795
|
listAWSRegions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19796
|
+
/**
|
|
19797
|
+
*
|
|
19798
|
+
* @summary List Azure AKS available instance types
|
|
19799
|
+
* @param {string} region region name
|
|
19800
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19801
|
+
* @param {boolean} [withGpu]
|
|
19802
|
+
* @param {*} [options] Override http request option.
|
|
19803
|
+
* @throws {RequiredError}
|
|
19804
|
+
*/
|
|
19805
|
+
listAzureAKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19710
19806
|
/**
|
|
19711
19807
|
*
|
|
19712
19808
|
* @summary List Azure features available
|
|
@@ -19847,6 +19943,16 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19847
19943
|
* @throws {RequiredError}
|
|
19848
19944
|
*/
|
|
19849
19945
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>>;
|
|
19946
|
+
/**
|
|
19947
|
+
*
|
|
19948
|
+
* @summary List Azure AKS available instance types
|
|
19949
|
+
* @param {string} region region name
|
|
19950
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19951
|
+
* @param {boolean} [withGpu]
|
|
19952
|
+
* @param {*} [options] Override http request option.
|
|
19953
|
+
* @throws {RequiredError}
|
|
19954
|
+
*/
|
|
19955
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19850
19956
|
/**
|
|
19851
19957
|
*
|
|
19852
19958
|
* @summary List Azure features available
|
|
@@ -19987,6 +20093,16 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19987
20093
|
* @throws {RequiredError}
|
|
19988
20094
|
*/
|
|
19989
20095
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList>;
|
|
20096
|
+
/**
|
|
20097
|
+
*
|
|
20098
|
+
* @summary List Azure AKS available instance types
|
|
20099
|
+
* @param {string} region region name
|
|
20100
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20101
|
+
* @param {boolean} [withGpu]
|
|
20102
|
+
* @param {*} [options] Override http request option.
|
|
20103
|
+
* @throws {RequiredError}
|
|
20104
|
+
*/
|
|
20105
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19990
20106
|
/**
|
|
19991
20107
|
*
|
|
19992
20108
|
* @summary List Azure features available
|
|
@@ -20135,6 +20251,17 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20135
20251
|
* @memberof CloudProviderApi
|
|
20136
20252
|
*/
|
|
20137
20253
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRegionResponseList, any>>;
|
|
20254
|
+
/**
|
|
20255
|
+
*
|
|
20256
|
+
* @summary List Azure AKS available instance types
|
|
20257
|
+
* @param {string} region region name
|
|
20258
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20259
|
+
* @param {boolean} [withGpu]
|
|
20260
|
+
* @param {*} [options] Override http request option.
|
|
20261
|
+
* @throws {RequiredError}
|
|
20262
|
+
* @memberof CloudProviderApi
|
|
20263
|
+
*/
|
|
20264
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
20138
20265
|
/**
|
|
20139
20266
|
*
|
|
20140
20267
|
* @summary List Azure features available
|
package/dist/esm/api.js
CHANGED
|
@@ -6718,6 +6718,48 @@ export const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6718
6718
|
options: localVarRequestOptions,
|
|
6719
6719
|
};
|
|
6720
6720
|
}),
|
|
6721
|
+
/**
|
|
6722
|
+
*
|
|
6723
|
+
* @summary List Azure AKS available instance types
|
|
6724
|
+
* @param {string} region region name
|
|
6725
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
6726
|
+
* @param {boolean} [withGpu]
|
|
6727
|
+
* @param {*} [options] Override http request option.
|
|
6728
|
+
* @throws {RequiredError}
|
|
6729
|
+
*/
|
|
6730
|
+
listAzureAKSInstanceType: (region_1, onlyMeetsResourceReqs_1, withGpu_1, ...args_1) => __awaiter(this, [region_1, onlyMeetsResourceReqs_1, withGpu_1, ...args_1], void 0, function* (region, onlyMeetsResourceReqs, withGpu, options = {}) {
|
|
6731
|
+
// verify required parameter 'region' is not null or undefined
|
|
6732
|
+
assertParamExists('listAzureAKSInstanceType', 'region', region);
|
|
6733
|
+
const localVarPath = `/azure/aks/instanceType/{region}`
|
|
6734
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
6735
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6736
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6737
|
+
let baseOptions;
|
|
6738
|
+
if (configuration) {
|
|
6739
|
+
baseOptions = configuration.baseOptions;
|
|
6740
|
+
}
|
|
6741
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6742
|
+
const localVarHeaderParameter = {};
|
|
6743
|
+
const localVarQueryParameter = {};
|
|
6744
|
+
// authentication ApiKeyAuth required
|
|
6745
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6746
|
+
// authentication bearerAuth required
|
|
6747
|
+
// http bearer authentication required
|
|
6748
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6749
|
+
if (onlyMeetsResourceReqs !== undefined) {
|
|
6750
|
+
localVarQueryParameter['only_meets_resource_reqs'] = onlyMeetsResourceReqs;
|
|
6751
|
+
}
|
|
6752
|
+
if (withGpu !== undefined) {
|
|
6753
|
+
localVarQueryParameter['with_gpu'] = withGpu;
|
|
6754
|
+
}
|
|
6755
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6757
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6758
|
+
return {
|
|
6759
|
+
url: toPathString(localVarUrlObj),
|
|
6760
|
+
options: localVarRequestOptions,
|
|
6761
|
+
};
|
|
6762
|
+
}),
|
|
6721
6763
|
/**
|
|
6722
6764
|
*
|
|
6723
6765
|
* @summary List Azure features available
|
|
@@ -7194,6 +7236,24 @@ export const CloudProviderApiFp = function (configuration) {
|
|
|
7194
7236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7195
7237
|
});
|
|
7196
7238
|
},
|
|
7239
|
+
/**
|
|
7240
|
+
*
|
|
7241
|
+
* @summary List Azure AKS available instance types
|
|
7242
|
+
* @param {string} region region name
|
|
7243
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7244
|
+
* @param {boolean} [withGpu]
|
|
7245
|
+
* @param {*} [options] Override http request option.
|
|
7246
|
+
* @throws {RequiredError}
|
|
7247
|
+
*/
|
|
7248
|
+
listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7249
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7250
|
+
var _a, _b, _c;
|
|
7251
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options);
|
|
7252
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7253
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CloudProviderApi.listAzureAKSInstanceType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7255
|
+
});
|
|
7256
|
+
},
|
|
7197
7257
|
/**
|
|
7198
7258
|
*
|
|
7199
7259
|
* @summary List Azure features available
|
|
@@ -7445,6 +7505,18 @@ export const CloudProviderApiFactory = function (configuration, basePath, axios)
|
|
|
7445
7505
|
listAWSRegions(options) {
|
|
7446
7506
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
7447
7507
|
},
|
|
7508
|
+
/**
|
|
7509
|
+
*
|
|
7510
|
+
* @summary List Azure AKS available instance types
|
|
7511
|
+
* @param {string} region region name
|
|
7512
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7513
|
+
* @param {boolean} [withGpu]
|
|
7514
|
+
* @param {*} [options] Override http request option.
|
|
7515
|
+
* @throws {RequiredError}
|
|
7516
|
+
*/
|
|
7517
|
+
listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7518
|
+
return localVarFp.listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
7519
|
+
},
|
|
7448
7520
|
/**
|
|
7449
7521
|
*
|
|
7450
7522
|
* @summary List Azure features available
|
|
@@ -7630,6 +7702,19 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
7630
7702
|
listAWSRegions(options) {
|
|
7631
7703
|
return CloudProviderApiFp(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
7632
7704
|
}
|
|
7705
|
+
/**
|
|
7706
|
+
*
|
|
7707
|
+
* @summary List Azure AKS available instance types
|
|
7708
|
+
* @param {string} region region name
|
|
7709
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
7710
|
+
* @param {boolean} [withGpu]
|
|
7711
|
+
* @param {*} [options] Override http request option.
|
|
7712
|
+
* @throws {RequiredError}
|
|
7713
|
+
* @memberof CloudProviderApi
|
|
7714
|
+
*/
|
|
7715
|
+
listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7716
|
+
return CloudProviderApiFp(this.configuration).listAzureAKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
7717
|
+
}
|
|
7633
7718
|
/**
|
|
7634
7719
|
*
|
|
7635
7720
|
* @summary List Azure features available
|