qovery-typescript-axios 1.1.577 → 1.1.578
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 +92 -0
- package/dist/api.d.ts +41 -0
- package/dist/api.js +85 -0
- package/dist/esm/api.d.ts +41 -0
- package/dist/esm/api.js +85 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -23682,6 +23682,57 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23682
23682
|
|
|
23683
23683
|
|
|
23684
23684
|
|
|
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
|
+
|
|
23685
23736
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23686
23737
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23687
23738
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24234,6 +24285,21 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
24234
24285
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSRegions']?.[localVarOperationServerIndex]?.url;
|
|
24235
24286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24236
24287
|
},
|
|
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
|
+
},
|
|
24237
24303
|
/**
|
|
24238
24304
|
*
|
|
24239
24305
|
* @summary List Azure features available
|
|
@@ -24450,6 +24516,18 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
24450
24516
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList> {
|
|
24451
24517
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
24452
24518
|
},
|
|
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
|
+
},
|
|
24453
24531
|
/**
|
|
24454
24532
|
*
|
|
24455
24533
|
* @summary List Azure features available
|
|
@@ -24642,6 +24720,20 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
24642
24720
|
return CloudProviderApiFp(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
24643
24721
|
}
|
|
24644
24722
|
|
|
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
|
+
|
|
24645
24737
|
/**
|
|
24646
24738
|
*
|
|
24647
24739
|
* @summary List Azure features available
|
package/dist/api.d.ts
CHANGED
|
@@ -19707,6 +19707,16 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19707
19707
|
* @throws {RequiredError}
|
|
19708
19708
|
*/
|
|
19709
19709
|
listAWSRegions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19710
|
+
/**
|
|
19711
|
+
*
|
|
19712
|
+
* @summary List Azure AKS available instance types
|
|
19713
|
+
* @param {string} region region name
|
|
19714
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19715
|
+
* @param {boolean} [withGpu]
|
|
19716
|
+
* @param {*} [options] Override http request option.
|
|
19717
|
+
* @throws {RequiredError}
|
|
19718
|
+
*/
|
|
19719
|
+
listAzureAKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19710
19720
|
/**
|
|
19711
19721
|
*
|
|
19712
19722
|
* @summary List Azure features available
|
|
@@ -19847,6 +19857,16 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19847
19857
|
* @throws {RequiredError}
|
|
19848
19858
|
*/
|
|
19849
19859
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>>;
|
|
19860
|
+
/**
|
|
19861
|
+
*
|
|
19862
|
+
* @summary List Azure AKS available instance types
|
|
19863
|
+
* @param {string} region region name
|
|
19864
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19865
|
+
* @param {boolean} [withGpu]
|
|
19866
|
+
* @param {*} [options] Override http request option.
|
|
19867
|
+
* @throws {RequiredError}
|
|
19868
|
+
*/
|
|
19869
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19850
19870
|
/**
|
|
19851
19871
|
*
|
|
19852
19872
|
* @summary List Azure features available
|
|
@@ -19987,6 +20007,16 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19987
20007
|
* @throws {RequiredError}
|
|
19988
20008
|
*/
|
|
19989
20009
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList>;
|
|
20010
|
+
/**
|
|
20011
|
+
*
|
|
20012
|
+
* @summary List Azure AKS available instance types
|
|
20013
|
+
* @param {string} region region name
|
|
20014
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20015
|
+
* @param {boolean} [withGpu]
|
|
20016
|
+
* @param {*} [options] Override http request option.
|
|
20017
|
+
* @throws {RequiredError}
|
|
20018
|
+
*/
|
|
20019
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19990
20020
|
/**
|
|
19991
20021
|
*
|
|
19992
20022
|
* @summary List Azure features available
|
|
@@ -20135,6 +20165,17 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20135
20165
|
* @memberof CloudProviderApi
|
|
20136
20166
|
*/
|
|
20137
20167
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRegionResponseList, any>>;
|
|
20168
|
+
/**
|
|
20169
|
+
*
|
|
20170
|
+
* @summary List Azure AKS available instance types
|
|
20171
|
+
* @param {string} region region name
|
|
20172
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20173
|
+
* @param {boolean} [withGpu]
|
|
20174
|
+
* @param {*} [options] Override http request option.
|
|
20175
|
+
* @throws {RequiredError}
|
|
20176
|
+
* @memberof CloudProviderApi
|
|
20177
|
+
*/
|
|
20178
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
20138
20179
|
/**
|
|
20139
20180
|
*
|
|
20140
20181
|
* @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
|
@@ -19707,6 +19707,16 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19707
19707
|
* @throws {RequiredError}
|
|
19708
19708
|
*/
|
|
19709
19709
|
listAWSRegions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19710
|
+
/**
|
|
19711
|
+
*
|
|
19712
|
+
* @summary List Azure AKS available instance types
|
|
19713
|
+
* @param {string} region region name
|
|
19714
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19715
|
+
* @param {boolean} [withGpu]
|
|
19716
|
+
* @param {*} [options] Override http request option.
|
|
19717
|
+
* @throws {RequiredError}
|
|
19718
|
+
*/
|
|
19719
|
+
listAzureAKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19710
19720
|
/**
|
|
19711
19721
|
*
|
|
19712
19722
|
* @summary List Azure features available
|
|
@@ -19847,6 +19857,16 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19847
19857
|
* @throws {RequiredError}
|
|
19848
19858
|
*/
|
|
19849
19859
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>>;
|
|
19860
|
+
/**
|
|
19861
|
+
*
|
|
19862
|
+
* @summary List Azure AKS available instance types
|
|
19863
|
+
* @param {string} region region name
|
|
19864
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
19865
|
+
* @param {boolean} [withGpu]
|
|
19866
|
+
* @param {*} [options] Override http request option.
|
|
19867
|
+
* @throws {RequiredError}
|
|
19868
|
+
*/
|
|
19869
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19850
19870
|
/**
|
|
19851
19871
|
*
|
|
19852
19872
|
* @summary List Azure features available
|
|
@@ -19987,6 +20007,16 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19987
20007
|
* @throws {RequiredError}
|
|
19988
20008
|
*/
|
|
19989
20009
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList>;
|
|
20010
|
+
/**
|
|
20011
|
+
*
|
|
20012
|
+
* @summary List Azure AKS available instance types
|
|
20013
|
+
* @param {string} region region name
|
|
20014
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20015
|
+
* @param {boolean} [withGpu]
|
|
20016
|
+
* @param {*} [options] Override http request option.
|
|
20017
|
+
* @throws {RequiredError}
|
|
20018
|
+
*/
|
|
20019
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19990
20020
|
/**
|
|
19991
20021
|
*
|
|
19992
20022
|
* @summary List Azure features available
|
|
@@ -20135,6 +20165,17 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20135
20165
|
* @memberof CloudProviderApi
|
|
20136
20166
|
*/
|
|
20137
20167
|
listAWSRegions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRegionResponseList, any>>;
|
|
20168
|
+
/**
|
|
20169
|
+
*
|
|
20170
|
+
* @summary List Azure AKS available instance types
|
|
20171
|
+
* @param {string} region region name
|
|
20172
|
+
* @param {boolean} [onlyMeetsResourceReqs]
|
|
20173
|
+
* @param {boolean} [withGpu]
|
|
20174
|
+
* @param {*} [options] Override http request option.
|
|
20175
|
+
* @throws {RequiredError}
|
|
20176
|
+
* @memberof CloudProviderApi
|
|
20177
|
+
*/
|
|
20178
|
+
listAzureAKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
20138
20179
|
/**
|
|
20139
20180
|
*
|
|
20140
20181
|
* @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
|