qovery-typescript-axios 1.1.576 → 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 +93 -2
- package/dist/api.d.ts +41 -1
- package/dist/api.js +86 -2
- package/dist/esm/api.d.ts +41 -1
- package/dist/esm/api.js +86 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2113,8 +2113,7 @@ export const CloudVendorEnum = {
|
|
|
2113
2113
|
HETZNER: 'HETZNER',
|
|
2114
2114
|
ORACLE: 'ORACLE',
|
|
2115
2115
|
IBM: 'IBM',
|
|
2116
|
-
ON_PREMISE: 'ON_PREMISE'
|
|
2117
|
-
AZURE2: 'AZURE'
|
|
2116
|
+
ON_PREMISE: 'ON_PREMISE'
|
|
2118
2117
|
} as const;
|
|
2119
2118
|
|
|
2120
2119
|
export type CloudVendorEnum = typeof CloudVendorEnum[keyof typeof CloudVendorEnum];
|
|
@@ -23683,6 +23682,57 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23683
23682
|
|
|
23684
23683
|
|
|
23685
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
|
+
|
|
23686
23736
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23687
23737
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23688
23738
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24235,6 +24285,21 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
24235
24285
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSRegions']?.[localVarOperationServerIndex]?.url;
|
|
24236
24286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24237
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
|
+
},
|
|
24238
24303
|
/**
|
|
24239
24304
|
*
|
|
24240
24305
|
* @summary List Azure features available
|
|
@@ -24451,6 +24516,18 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
24451
24516
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList> {
|
|
24452
24517
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
24453
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
|
+
},
|
|
24454
24531
|
/**
|
|
24455
24532
|
*
|
|
24456
24533
|
* @summary List Azure features available
|
|
@@ -24643,6 +24720,20 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
24643
24720
|
return CloudProviderApiFp(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
24644
24721
|
}
|
|
24645
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
|
+
|
|
24646
24737
|
/**
|
|
24647
24738
|
*
|
|
24648
24739
|
* @summary List Azure features available
|
package/dist/api.d.ts
CHANGED
|
@@ -2048,7 +2048,6 @@ export declare const CloudVendorEnum: {
|
|
|
2048
2048
|
readonly ORACLE: "ORACLE";
|
|
2049
2049
|
readonly IBM: "IBM";
|
|
2050
2050
|
readonly ON_PREMISE: "ON_PREMISE";
|
|
2051
|
-
readonly AZURE2: "AZURE";
|
|
2052
2051
|
};
|
|
2053
2052
|
export type CloudVendorEnum = typeof CloudVendorEnum[keyof typeof CloudVendorEnum];
|
|
2054
2053
|
/**
|
|
@@ -19708,6 +19707,16 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19708
19707
|
* @throws {RequiredError}
|
|
19709
19708
|
*/
|
|
19710
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>;
|
|
19711
19720
|
/**
|
|
19712
19721
|
*
|
|
19713
19722
|
* @summary List Azure features available
|
|
@@ -19848,6 +19857,16 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19848
19857
|
* @throws {RequiredError}
|
|
19849
19858
|
*/
|
|
19850
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>>;
|
|
19851
19870
|
/**
|
|
19852
19871
|
*
|
|
19853
19872
|
* @summary List Azure features available
|
|
@@ -19988,6 +20007,16 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19988
20007
|
* @throws {RequiredError}
|
|
19989
20008
|
*/
|
|
19990
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>;
|
|
19991
20020
|
/**
|
|
19992
20021
|
*
|
|
19993
20022
|
* @summary List Azure features available
|
|
@@ -20136,6 +20165,17 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20136
20165
|
* @memberof CloudProviderApi
|
|
20137
20166
|
*/
|
|
20138
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>>;
|
|
20139
20179
|
/**
|
|
20140
20180
|
*
|
|
20141
20181
|
* @summary List Azure features available
|
package/dist/api.js
CHANGED
|
@@ -142,8 +142,7 @@ exports.CloudVendorEnum = {
|
|
|
142
142
|
HETZNER: 'HETZNER',
|
|
143
143
|
ORACLE: 'ORACLE',
|
|
144
144
|
IBM: 'IBM',
|
|
145
|
-
ON_PREMISE: 'ON_PREMISE'
|
|
146
|
-
AZURE2: 'AZURE'
|
|
145
|
+
ON_PREMISE: 'ON_PREMISE'
|
|
147
146
|
};
|
|
148
147
|
exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = {
|
|
149
148
|
OPTIONAL: 'optional',
|
|
@@ -6782,6 +6781,48 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6782
6781
|
options: localVarRequestOptions,
|
|
6783
6782
|
};
|
|
6784
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
|
+
}),
|
|
6785
6826
|
/**
|
|
6786
6827
|
*
|
|
6787
6828
|
* @summary List Azure features available
|
|
@@ -7259,6 +7300,24 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
7259
7300
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7260
7301
|
});
|
|
7261
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
|
+
},
|
|
7262
7321
|
/**
|
|
7263
7322
|
*
|
|
7264
7323
|
* @summary List Azure features available
|
|
@@ -7511,6 +7570,18 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
7511
7570
|
listAWSRegions(options) {
|
|
7512
7571
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
7513
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
|
+
},
|
|
7514
7585
|
/**
|
|
7515
7586
|
*
|
|
7516
7587
|
* @summary List Azure features available
|
|
@@ -7697,6 +7768,19 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
7697
7768
|
listAWSRegions(options) {
|
|
7698
7769
|
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
7699
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
|
+
}
|
|
7700
7784
|
/**
|
|
7701
7785
|
*
|
|
7702
7786
|
* @summary List Azure features available
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2048,7 +2048,6 @@ export declare const CloudVendorEnum: {
|
|
|
2048
2048
|
readonly ORACLE: "ORACLE";
|
|
2049
2049
|
readonly IBM: "IBM";
|
|
2050
2050
|
readonly ON_PREMISE: "ON_PREMISE";
|
|
2051
|
-
readonly AZURE2: "AZURE";
|
|
2052
2051
|
};
|
|
2053
2052
|
export type CloudVendorEnum = typeof CloudVendorEnum[keyof typeof CloudVendorEnum];
|
|
2054
2053
|
/**
|
|
@@ -19708,6 +19707,16 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19708
19707
|
* @throws {RequiredError}
|
|
19709
19708
|
*/
|
|
19710
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>;
|
|
19711
19720
|
/**
|
|
19712
19721
|
*
|
|
19713
19722
|
* @summary List Azure features available
|
|
@@ -19848,6 +19857,16 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19848
19857
|
* @throws {RequiredError}
|
|
19849
19858
|
*/
|
|
19850
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>>;
|
|
19851
19870
|
/**
|
|
19852
19871
|
*
|
|
19853
19872
|
* @summary List Azure features available
|
|
@@ -19988,6 +20007,16 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19988
20007
|
* @throws {RequiredError}
|
|
19989
20008
|
*/
|
|
19990
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>;
|
|
19991
20020
|
/**
|
|
19992
20021
|
*
|
|
19993
20022
|
* @summary List Azure features available
|
|
@@ -20136,6 +20165,17 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20136
20165
|
* @memberof CloudProviderApi
|
|
20137
20166
|
*/
|
|
20138
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>>;
|
|
20139
20179
|
/**
|
|
20140
20180
|
*
|
|
20141
20181
|
* @summary List Azure features available
|
package/dist/esm/api.js
CHANGED
|
@@ -131,8 +131,7 @@ export const CloudVendorEnum = {
|
|
|
131
131
|
HETZNER: 'HETZNER',
|
|
132
132
|
ORACLE: 'ORACLE',
|
|
133
133
|
IBM: 'IBM',
|
|
134
|
-
ON_PREMISE: 'ON_PREMISE'
|
|
135
|
-
AZURE2: 'AZURE'
|
|
134
|
+
ON_PREMISE: 'ON_PREMISE'
|
|
136
135
|
};
|
|
137
136
|
export const ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = {
|
|
138
137
|
OPTIONAL: 'optional',
|
|
@@ -6719,6 +6718,48 @@ export const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6719
6718
|
options: localVarRequestOptions,
|
|
6720
6719
|
};
|
|
6721
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
|
+
}),
|
|
6722
6763
|
/**
|
|
6723
6764
|
*
|
|
6724
6765
|
* @summary List Azure features available
|
|
@@ -7195,6 +7236,24 @@ export const CloudProviderApiFp = function (configuration) {
|
|
|
7195
7236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7196
7237
|
});
|
|
7197
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
|
+
},
|
|
7198
7257
|
/**
|
|
7199
7258
|
*
|
|
7200
7259
|
* @summary List Azure features available
|
|
@@ -7446,6 +7505,18 @@ export const CloudProviderApiFactory = function (configuration, basePath, axios)
|
|
|
7446
7505
|
listAWSRegions(options) {
|
|
7447
7506
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
7448
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
|
+
},
|
|
7449
7520
|
/**
|
|
7450
7521
|
*
|
|
7451
7522
|
* @summary List Azure features available
|
|
@@ -7631,6 +7702,19 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
7631
7702
|
listAWSRegions(options) {
|
|
7632
7703
|
return CloudProviderApiFp(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
7633
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
|
+
}
|
|
7634
7718
|
/**
|
|
7635
7719
|
*
|
|
7636
7720
|
* @summary List Azure features available
|