qovery-typescript-axios 1.1.574 → 1.1.576
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 +680 -25
- package/dist/api.d.ts +344 -0
- package/dist/api.js +534 -12
- package/dist/esm/api.d.ts +344 -0
- package/dist/esm/api.js +525 -3
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1279,6 +1279,105 @@ export interface AwsStaticCredentialsRequest {
|
|
|
1279
1279
|
*/
|
|
1280
1280
|
'secret_access_key': string;
|
|
1281
1281
|
}
|
|
1282
|
+
/**
|
|
1283
|
+
*
|
|
1284
|
+
* @export
|
|
1285
|
+
* @interface AzureCredentialsRequest
|
|
1286
|
+
*/
|
|
1287
|
+
export interface AzureCredentialsRequest {
|
|
1288
|
+
/**
|
|
1289
|
+
*
|
|
1290
|
+
* @type {string}
|
|
1291
|
+
* @memberof AzureCredentialsRequest
|
|
1292
|
+
*/
|
|
1293
|
+
'name': string;
|
|
1294
|
+
/**
|
|
1295
|
+
*
|
|
1296
|
+
* @type {string}
|
|
1297
|
+
* @memberof AzureCredentialsRequest
|
|
1298
|
+
*/
|
|
1299
|
+
'azure_subscription_id': string;
|
|
1300
|
+
/**
|
|
1301
|
+
*
|
|
1302
|
+
* @type {string}
|
|
1303
|
+
* @memberof AzureCredentialsRequest
|
|
1304
|
+
*/
|
|
1305
|
+
'azure_tenant_id': string;
|
|
1306
|
+
/**
|
|
1307
|
+
*
|
|
1308
|
+
* @type {string}
|
|
1309
|
+
* @memberof AzureCredentialsRequest
|
|
1310
|
+
*/
|
|
1311
|
+
'azure_client_id': string;
|
|
1312
|
+
/**
|
|
1313
|
+
*
|
|
1314
|
+
* @type {string}
|
|
1315
|
+
* @memberof AzureCredentialsRequest
|
|
1316
|
+
*/
|
|
1317
|
+
'azure_client_secret': string;
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
* @type {string}
|
|
1321
|
+
* @memberof AzureCredentialsRequest
|
|
1322
|
+
*/
|
|
1323
|
+
'azure_resource_group_name': string;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
*
|
|
1327
|
+
* @export
|
|
1328
|
+
* @interface AzureStaticClusterCredentials
|
|
1329
|
+
*/
|
|
1330
|
+
export interface AzureStaticClusterCredentials {
|
|
1331
|
+
/**
|
|
1332
|
+
*
|
|
1333
|
+
* @type {string}
|
|
1334
|
+
* @memberof AzureStaticClusterCredentials
|
|
1335
|
+
*/
|
|
1336
|
+
'id': string;
|
|
1337
|
+
/**
|
|
1338
|
+
*
|
|
1339
|
+
* @type {string}
|
|
1340
|
+
* @memberof AzureStaticClusterCredentials
|
|
1341
|
+
*/
|
|
1342
|
+
'name': string;
|
|
1343
|
+
/**
|
|
1344
|
+
*
|
|
1345
|
+
* @type {string}
|
|
1346
|
+
* @memberof AzureStaticClusterCredentials
|
|
1347
|
+
*/
|
|
1348
|
+
'azure_subscription_id': string;
|
|
1349
|
+
/**
|
|
1350
|
+
*
|
|
1351
|
+
* @type {string}
|
|
1352
|
+
* @memberof AzureStaticClusterCredentials
|
|
1353
|
+
*/
|
|
1354
|
+
'azure_tenant_id': string;
|
|
1355
|
+
/**
|
|
1356
|
+
*
|
|
1357
|
+
* @type {string}
|
|
1358
|
+
* @memberof AzureStaticClusterCredentials
|
|
1359
|
+
*/
|
|
1360
|
+
'azure_client_id': string;
|
|
1361
|
+
/**
|
|
1362
|
+
*
|
|
1363
|
+
* @type {string}
|
|
1364
|
+
* @memberof AzureStaticClusterCredentials
|
|
1365
|
+
*/
|
|
1366
|
+
'azure_resource_group_name': string;
|
|
1367
|
+
/**
|
|
1368
|
+
*
|
|
1369
|
+
* @type {string}
|
|
1370
|
+
* @memberof AzureStaticClusterCredentials
|
|
1371
|
+
*/
|
|
1372
|
+
'object_type': AzureStaticClusterCredentialsObjectTypeEnum;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
export const AzureStaticClusterCredentialsObjectTypeEnum = {
|
|
1376
|
+
AZURE: 'AZURE'
|
|
1377
|
+
} as const;
|
|
1378
|
+
|
|
1379
|
+
export type AzureStaticClusterCredentialsObjectTypeEnum = typeof AzureStaticClusterCredentialsObjectTypeEnum[keyof typeof AzureStaticClusterCredentialsObjectTypeEnum];
|
|
1380
|
+
|
|
1282
1381
|
/**
|
|
1283
1382
|
*
|
|
1284
1383
|
* @export
|
|
@@ -1977,7 +2076,8 @@ export const CloudProviderEnum = {
|
|
|
1977
2076
|
AWS: 'AWS',
|
|
1978
2077
|
SCW: 'SCW',
|
|
1979
2078
|
GCP: 'GCP',
|
|
1980
|
-
ON_PREMISE: 'ON_PREMISE'
|
|
2079
|
+
ON_PREMISE: 'ON_PREMISE',
|
|
2080
|
+
AZURE: 'AZURE'
|
|
1981
2081
|
} as const;
|
|
1982
2082
|
|
|
1983
2083
|
export type CloudProviderEnum = typeof CloudProviderEnum[keyof typeof CloudProviderEnum];
|
|
@@ -2013,7 +2113,8 @@ export const CloudVendorEnum = {
|
|
|
2013
2113
|
HETZNER: 'HETZNER',
|
|
2014
2114
|
ORACLE: 'ORACLE',
|
|
2015
2115
|
IBM: 'IBM',
|
|
2016
|
-
ON_PREMISE: 'ON_PREMISE'
|
|
2116
|
+
ON_PREMISE: 'ON_PREMISE',
|
|
2117
|
+
AZURE2: 'AZURE'
|
|
2017
2118
|
} as const;
|
|
2018
2119
|
|
|
2019
2120
|
export type CloudVendorEnum = typeof CloudVendorEnum[keyof typeof CloudVendorEnum];
|
|
@@ -2457,7 +2558,7 @@ export interface ClusterCloudProviderInfoRequest {
|
|
|
2457
2558
|
* @type ClusterCredentials
|
|
2458
2559
|
* @export
|
|
2459
2560
|
*/
|
|
2460
|
-
export type ClusterCredentials = { object_type: 'AWS' } & AwsStaticClusterCredentials | { object_type: 'AWS_ROLE' } & AwsRoleClusterCredentials | { object_type: 'OTHER' } & GenericClusterCredentials | { object_type: 'SCW' } & ScalewayClusterCredentials;
|
|
2561
|
+
export type ClusterCredentials = { object_type: 'AWS' } & AwsStaticClusterCredentials | { object_type: 'AWS_ROLE' } & AwsRoleClusterCredentials | { object_type: 'AZURE' } & AzureStaticClusterCredentials | { object_type: 'OTHER' } & GenericClusterCredentials | { object_type: 'SCW' } & ScalewayClusterCredentials;
|
|
2461
2562
|
|
|
2462
2563
|
/**
|
|
2463
2564
|
*
|
|
@@ -4194,7 +4295,8 @@ export const ContainerRegistryKindEnum = {
|
|
|
4194
4295
|
PUBLIC_ECR: 'PUBLIC_ECR',
|
|
4195
4296
|
DOCR: 'DOCR',
|
|
4196
4297
|
GENERIC_CR: 'GENERIC_CR',
|
|
4197
|
-
GCP_ARTIFACT_REGISTRY: 'GCP_ARTIFACT_REGISTRY'
|
|
4298
|
+
GCP_ARTIFACT_REGISTRY: 'GCP_ARTIFACT_REGISTRY',
|
|
4299
|
+
AZURE_CR: 'AZURE_CR'
|
|
4198
4300
|
} as const;
|
|
4199
4301
|
|
|
4200
4302
|
export type ContainerRegistryKindEnum = typeof ContainerRegistryKindEnum[keyof typeof ContainerRegistryKindEnum];
|
|
@@ -23581,6 +23683,80 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23581
23683
|
|
|
23582
23684
|
|
|
23583
23685
|
|
|
23686
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23687
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23688
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23689
|
+
|
|
23690
|
+
return {
|
|
23691
|
+
url: toPathString(localVarUrlObj),
|
|
23692
|
+
options: localVarRequestOptions,
|
|
23693
|
+
};
|
|
23694
|
+
},
|
|
23695
|
+
/**
|
|
23696
|
+
*
|
|
23697
|
+
* @summary List Azure features available
|
|
23698
|
+
* @param {*} [options] Override http request option.
|
|
23699
|
+
* @throws {RequiredError}
|
|
23700
|
+
*/
|
|
23701
|
+
listAzureFeatures: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23702
|
+
const localVarPath = `/azure/clusterFeature`;
|
|
23703
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23704
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23705
|
+
let baseOptions;
|
|
23706
|
+
if (configuration) {
|
|
23707
|
+
baseOptions = configuration.baseOptions;
|
|
23708
|
+
}
|
|
23709
|
+
|
|
23710
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23711
|
+
const localVarHeaderParameter = {} as any;
|
|
23712
|
+
const localVarQueryParameter = {} as any;
|
|
23713
|
+
|
|
23714
|
+
// authentication ApiKeyAuth required
|
|
23715
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23716
|
+
|
|
23717
|
+
// authentication bearerAuth required
|
|
23718
|
+
// http bearer authentication required
|
|
23719
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23720
|
+
|
|
23721
|
+
|
|
23722
|
+
|
|
23723
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23724
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23725
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23726
|
+
|
|
23727
|
+
return {
|
|
23728
|
+
url: toPathString(localVarUrlObj),
|
|
23729
|
+
options: localVarRequestOptions,
|
|
23730
|
+
};
|
|
23731
|
+
},
|
|
23732
|
+
/**
|
|
23733
|
+
*
|
|
23734
|
+
* @summary List Azure regions
|
|
23735
|
+
* @param {*} [options] Override http request option.
|
|
23736
|
+
* @throws {RequiredError}
|
|
23737
|
+
*/
|
|
23738
|
+
listAzureRegions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23739
|
+
const localVarPath = `/azure/region`;
|
|
23740
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23741
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23742
|
+
let baseOptions;
|
|
23743
|
+
if (configuration) {
|
|
23744
|
+
baseOptions = configuration.baseOptions;
|
|
23745
|
+
}
|
|
23746
|
+
|
|
23747
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23748
|
+
const localVarHeaderParameter = {} as any;
|
|
23749
|
+
const localVarQueryParameter = {} as any;
|
|
23750
|
+
|
|
23751
|
+
// authentication ApiKeyAuth required
|
|
23752
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23753
|
+
|
|
23754
|
+
// authentication bearerAuth required
|
|
23755
|
+
// http bearer authentication required
|
|
23756
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23757
|
+
|
|
23758
|
+
|
|
23759
|
+
|
|
23584
23760
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23585
23761
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23586
23762
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24059,6 +24235,30 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
24059
24235
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSRegions']?.[localVarOperationServerIndex]?.url;
|
|
24060
24236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24061
24237
|
},
|
|
24238
|
+
/**
|
|
24239
|
+
*
|
|
24240
|
+
* @summary List Azure features available
|
|
24241
|
+
* @param {*} [options] Override http request option.
|
|
24242
|
+
* @throws {RequiredError}
|
|
24243
|
+
*/
|
|
24244
|
+
async listAzureFeatures(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterFeatureResponseList>> {
|
|
24245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAzureFeatures(options);
|
|
24246
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24247
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAzureFeatures']?.[localVarOperationServerIndex]?.url;
|
|
24248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24249
|
+
},
|
|
24250
|
+
/**
|
|
24251
|
+
*
|
|
24252
|
+
* @summary List Azure regions
|
|
24253
|
+
* @param {*} [options] Override http request option.
|
|
24254
|
+
* @throws {RequiredError}
|
|
24255
|
+
*/
|
|
24256
|
+
async listAzureRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>> {
|
|
24257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAzureRegions(options);
|
|
24258
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24259
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAzureRegions']?.[localVarOperationServerIndex]?.url;
|
|
24260
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24261
|
+
},
|
|
24062
24262
|
/**
|
|
24063
24263
|
*
|
|
24064
24264
|
* @summary List Cloud providers available
|
|
@@ -24251,6 +24451,24 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
24251
24451
|
listAWSRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList> {
|
|
24252
24452
|
return localVarFp.listAWSRegions(options).then((request) => request(axios, basePath));
|
|
24253
24453
|
},
|
|
24454
|
+
/**
|
|
24455
|
+
*
|
|
24456
|
+
* @summary List Azure features available
|
|
24457
|
+
* @param {*} [options] Override http request option.
|
|
24458
|
+
* @throws {RequiredError}
|
|
24459
|
+
*/
|
|
24460
|
+
listAzureFeatures(options?: RawAxiosRequestConfig): AxiosPromise<ClusterFeatureResponseList> {
|
|
24461
|
+
return localVarFp.listAzureFeatures(options).then((request) => request(axios, basePath));
|
|
24462
|
+
},
|
|
24463
|
+
/**
|
|
24464
|
+
*
|
|
24465
|
+
* @summary List Azure regions
|
|
24466
|
+
* @param {*} [options] Override http request option.
|
|
24467
|
+
* @throws {RequiredError}
|
|
24468
|
+
*/
|
|
24469
|
+
listAzureRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList> {
|
|
24470
|
+
return localVarFp.listAzureRegions(options).then((request) => request(axios, basePath));
|
|
24471
|
+
},
|
|
24254
24472
|
/**
|
|
24255
24473
|
*
|
|
24256
24474
|
* @summary List Cloud providers available
|
|
@@ -24425,6 +24643,28 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
24425
24643
|
return CloudProviderApiFp(this.configuration).listAWSRegions(options).then((request) => request(this.axios, this.basePath));
|
|
24426
24644
|
}
|
|
24427
24645
|
|
|
24646
|
+
/**
|
|
24647
|
+
*
|
|
24648
|
+
* @summary List Azure features available
|
|
24649
|
+
* @param {*} [options] Override http request option.
|
|
24650
|
+
* @throws {RequiredError}
|
|
24651
|
+
* @memberof CloudProviderApi
|
|
24652
|
+
*/
|
|
24653
|
+
public listAzureFeatures(options?: RawAxiosRequestConfig) {
|
|
24654
|
+
return CloudProviderApiFp(this.configuration).listAzureFeatures(options).then((request) => request(this.axios, this.basePath));
|
|
24655
|
+
}
|
|
24656
|
+
|
|
24657
|
+
/**
|
|
24658
|
+
*
|
|
24659
|
+
* @summary List Azure regions
|
|
24660
|
+
* @param {*} [options] Override http request option.
|
|
24661
|
+
* @throws {RequiredError}
|
|
24662
|
+
* @memberof CloudProviderApi
|
|
24663
|
+
*/
|
|
24664
|
+
public listAzureRegions(options?: RawAxiosRequestConfig) {
|
|
24665
|
+
return CloudProviderApiFp(this.configuration).listAzureRegions(options).then((request) => request(this.axios, this.basePath));
|
|
24666
|
+
}
|
|
24667
|
+
|
|
24428
24668
|
/**
|
|
24429
24669
|
*
|
|
24430
24670
|
* @summary List Cloud providers available
|
|
@@ -24592,6 +24832,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
24592
24832
|
options: localVarRequestOptions,
|
|
24593
24833
|
};
|
|
24594
24834
|
},
|
|
24835
|
+
/**
|
|
24836
|
+
*
|
|
24837
|
+
* @summary Create Azure credentials set
|
|
24838
|
+
* @param {string} organizationId Organization ID
|
|
24839
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
24840
|
+
* @param {*} [options] Override http request option.
|
|
24841
|
+
* @throws {RequiredError}
|
|
24842
|
+
*/
|
|
24843
|
+
createAzureCredentials: async (organizationId: string, azureCredentialsRequest?: AzureCredentialsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24844
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
24845
|
+
assertParamExists('createAzureCredentials', 'organizationId', organizationId)
|
|
24846
|
+
const localVarPath = `/organization/{organizationId}/azure/credentials`
|
|
24847
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
24848
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24849
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24850
|
+
let baseOptions;
|
|
24851
|
+
if (configuration) {
|
|
24852
|
+
baseOptions = configuration.baseOptions;
|
|
24853
|
+
}
|
|
24854
|
+
|
|
24855
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
24856
|
+
const localVarHeaderParameter = {} as any;
|
|
24857
|
+
const localVarQueryParameter = {} as any;
|
|
24858
|
+
|
|
24859
|
+
// authentication ApiKeyAuth required
|
|
24860
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
24861
|
+
|
|
24862
|
+
// authentication bearerAuth required
|
|
24863
|
+
// http bearer authentication required
|
|
24864
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
24865
|
+
|
|
24866
|
+
|
|
24867
|
+
|
|
24868
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24869
|
+
|
|
24870
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24872
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24873
|
+
localVarRequestOptions.data = serializeDataIfNeeded(azureCredentialsRequest, localVarRequestOptions, configuration)
|
|
24874
|
+
|
|
24875
|
+
return {
|
|
24876
|
+
url: toPathString(localVarUrlObj),
|
|
24877
|
+
options: localVarRequestOptions,
|
|
24878
|
+
};
|
|
24879
|
+
},
|
|
24595
24880
|
/**
|
|
24596
24881
|
*
|
|
24597
24882
|
* @summary Create GCP credentials set
|
|
@@ -24774,20 +25059,20 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
24774
25059
|
},
|
|
24775
25060
|
/**
|
|
24776
25061
|
*
|
|
24777
|
-
* @summary Delete a set of
|
|
24778
|
-
* @param {string} credentialsId Credentials ID
|
|
25062
|
+
* @summary Delete a set of Azure credentials
|
|
24779
25063
|
* @param {string} organizationId Organization ID
|
|
25064
|
+
* @param {string} credentialsId Credentials ID
|
|
24780
25065
|
* @param {*} [options] Override http request option.
|
|
24781
25066
|
* @throws {RequiredError}
|
|
24782
25067
|
*/
|
|
24783
|
-
|
|
24784
|
-
// verify required parameter 'credentialsId' is not null or undefined
|
|
24785
|
-
assertParamExists('deleteGcpCredentials', 'credentialsId', credentialsId)
|
|
25068
|
+
deleteAzureCredentials: async (organizationId: string, credentialsId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24786
25069
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24787
|
-
assertParamExists('
|
|
24788
|
-
|
|
24789
|
-
|
|
24790
|
-
|
|
25070
|
+
assertParamExists('deleteAzureCredentials', 'organizationId', organizationId)
|
|
25071
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
25072
|
+
assertParamExists('deleteAzureCredentials', 'credentialsId', credentialsId)
|
|
25073
|
+
const localVarPath = `/organization/{organizationId}/azure/credentials/{credentialsId}`
|
|
25074
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25075
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
24791
25076
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24792
25077
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24793
25078
|
let baseOptions;
|
|
@@ -24819,18 +25104,18 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
24819
25104
|
},
|
|
24820
25105
|
/**
|
|
24821
25106
|
*
|
|
24822
|
-
* @summary Delete a set of
|
|
25107
|
+
* @summary Delete a set of GCP credentials
|
|
24823
25108
|
* @param {string} credentialsId Credentials ID
|
|
24824
25109
|
* @param {string} organizationId Organization ID
|
|
24825
25110
|
* @param {*} [options] Override http request option.
|
|
24826
25111
|
* @throws {RequiredError}
|
|
24827
25112
|
*/
|
|
24828
|
-
|
|
25113
|
+
deleteGcpCredentials: async (credentialsId: string, organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24829
25114
|
// verify required parameter 'credentialsId' is not null or undefined
|
|
24830
|
-
assertParamExists('
|
|
25115
|
+
assertParamExists('deleteGcpCredentials', 'credentialsId', credentialsId)
|
|
24831
25116
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24832
|
-
assertParamExists('
|
|
24833
|
-
const localVarPath = `/organization/{organizationId}/
|
|
25117
|
+
assertParamExists('deleteGcpCredentials', 'organizationId', organizationId)
|
|
25118
|
+
const localVarPath = `/organization/{organizationId}/gcp/credentials/{credentialsId}`
|
|
24834
25119
|
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
|
|
24835
25120
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
24836
25121
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -24864,18 +25149,18 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
24864
25149
|
},
|
|
24865
25150
|
/**
|
|
24866
25151
|
*
|
|
24867
|
-
* @summary Delete a set of
|
|
25152
|
+
* @summary Delete a set of OnPremise credentials
|
|
24868
25153
|
* @param {string} credentialsId Credentials ID
|
|
24869
25154
|
* @param {string} organizationId Organization ID
|
|
24870
25155
|
* @param {*} [options] Override http request option.
|
|
24871
25156
|
* @throws {RequiredError}
|
|
24872
25157
|
*/
|
|
24873
|
-
|
|
25158
|
+
deleteOnPremiseCredentials: async (credentialsId: string, organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24874
25159
|
// verify required parameter 'credentialsId' is not null or undefined
|
|
24875
|
-
assertParamExists('
|
|
25160
|
+
assertParamExists('deleteOnPremiseCredentials', 'credentialsId', credentialsId)
|
|
24876
25161
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24877
|
-
assertParamExists('
|
|
24878
|
-
const localVarPath = `/organization/{organizationId}/
|
|
25162
|
+
assertParamExists('deleteOnPremiseCredentials', 'organizationId', organizationId)
|
|
25163
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials/{credentialsId}`
|
|
24879
25164
|
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
|
|
24880
25165
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
24881
25166
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -24909,8 +25194,53 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
24909
25194
|
},
|
|
24910
25195
|
/**
|
|
24911
25196
|
*
|
|
24912
|
-
* @summary
|
|
24913
|
-
* @param {string}
|
|
25197
|
+
* @summary Delete a set of Scaleway credentials
|
|
25198
|
+
* @param {string} credentialsId Credentials ID
|
|
25199
|
+
* @param {string} organizationId Organization ID
|
|
25200
|
+
* @param {*} [options] Override http request option.
|
|
25201
|
+
* @throws {RequiredError}
|
|
25202
|
+
*/
|
|
25203
|
+
deleteScalewayCredentials: async (credentialsId: string, organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25204
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
25205
|
+
assertParamExists('deleteScalewayCredentials', 'credentialsId', credentialsId)
|
|
25206
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
25207
|
+
assertParamExists('deleteScalewayCredentials', 'organizationId', organizationId)
|
|
25208
|
+
const localVarPath = `/organization/{organizationId}/scaleway/credentials/{credentialsId}`
|
|
25209
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
|
|
25210
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
25211
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25212
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25213
|
+
let baseOptions;
|
|
25214
|
+
if (configuration) {
|
|
25215
|
+
baseOptions = configuration.baseOptions;
|
|
25216
|
+
}
|
|
25217
|
+
|
|
25218
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
25219
|
+
const localVarHeaderParameter = {} as any;
|
|
25220
|
+
const localVarQueryParameter = {} as any;
|
|
25221
|
+
|
|
25222
|
+
// authentication ApiKeyAuth required
|
|
25223
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
25224
|
+
|
|
25225
|
+
// authentication bearerAuth required
|
|
25226
|
+
// http bearer authentication required
|
|
25227
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25228
|
+
|
|
25229
|
+
|
|
25230
|
+
|
|
25231
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25232
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25233
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25234
|
+
|
|
25235
|
+
return {
|
|
25236
|
+
url: toPathString(localVarUrlObj),
|
|
25237
|
+
options: localVarRequestOptions,
|
|
25238
|
+
};
|
|
25239
|
+
},
|
|
25240
|
+
/**
|
|
25241
|
+
*
|
|
25242
|
+
* @summary Edit a set of AWS credentials
|
|
25243
|
+
* @param {string} organizationId Organization ID
|
|
24914
25244
|
* @param {string} credentialsId Credentials ID
|
|
24915
25245
|
* @param {AwsCredentialsRequest} [awsCredentialsRequest]
|
|
24916
25246
|
* @param {*} [options] Override http request option.
|
|
@@ -24956,6 +25286,55 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
24956
25286
|
options: localVarRequestOptions,
|
|
24957
25287
|
};
|
|
24958
25288
|
},
|
|
25289
|
+
/**
|
|
25290
|
+
*
|
|
25291
|
+
* @summary Edit a set of Azure credentials
|
|
25292
|
+
* @param {string} organizationId Organization ID
|
|
25293
|
+
* @param {string} credentialsId Credentials ID
|
|
25294
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
25295
|
+
* @param {*} [options] Override http request option.
|
|
25296
|
+
* @throws {RequiredError}
|
|
25297
|
+
*/
|
|
25298
|
+
editAzureCredentials: async (organizationId: string, credentialsId: string, azureCredentialsRequest?: AzureCredentialsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25299
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
25300
|
+
assertParamExists('editAzureCredentials', 'organizationId', organizationId)
|
|
25301
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
25302
|
+
assertParamExists('editAzureCredentials', 'credentialsId', credentialsId)
|
|
25303
|
+
const localVarPath = `/organization/{organizationId}/azure/credentials/{credentialsId}`
|
|
25304
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25305
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
25306
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25307
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25308
|
+
let baseOptions;
|
|
25309
|
+
if (configuration) {
|
|
25310
|
+
baseOptions = configuration.baseOptions;
|
|
25311
|
+
}
|
|
25312
|
+
|
|
25313
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
25314
|
+
const localVarHeaderParameter = {} as any;
|
|
25315
|
+
const localVarQueryParameter = {} as any;
|
|
25316
|
+
|
|
25317
|
+
// authentication ApiKeyAuth required
|
|
25318
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
25319
|
+
|
|
25320
|
+
// authentication bearerAuth required
|
|
25321
|
+
// http bearer authentication required
|
|
25322
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25323
|
+
|
|
25324
|
+
|
|
25325
|
+
|
|
25326
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25327
|
+
|
|
25328
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25330
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25331
|
+
localVarRequestOptions.data = serializeDataIfNeeded(azureCredentialsRequest, localVarRequestOptions, configuration)
|
|
25332
|
+
|
|
25333
|
+
return {
|
|
25334
|
+
url: toPathString(localVarUrlObj),
|
|
25335
|
+
options: localVarRequestOptions,
|
|
25336
|
+
};
|
|
25337
|
+
},
|
|
24959
25338
|
/**
|
|
24960
25339
|
*
|
|
24961
25340
|
* @summary Edit a set of GCP credentials
|
|
@@ -25139,6 +25518,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
25139
25518
|
|
|
25140
25519
|
|
|
25141
25520
|
|
|
25521
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25522
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25523
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25524
|
+
|
|
25525
|
+
return {
|
|
25526
|
+
url: toPathString(localVarUrlObj),
|
|
25527
|
+
options: localVarRequestOptions,
|
|
25528
|
+
};
|
|
25529
|
+
},
|
|
25530
|
+
/**
|
|
25531
|
+
*
|
|
25532
|
+
* @summary Get a set of Azure credentials
|
|
25533
|
+
* @param {string} organizationId Organization ID
|
|
25534
|
+
* @param {string} credentialsId Credentials ID
|
|
25535
|
+
* @param {*} [options] Override http request option.
|
|
25536
|
+
* @throws {RequiredError}
|
|
25537
|
+
*/
|
|
25538
|
+
getAzureCredentials: async (organizationId: string, credentialsId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25539
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
25540
|
+
assertParamExists('getAzureCredentials', 'organizationId', organizationId)
|
|
25541
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
25542
|
+
assertParamExists('getAzureCredentials', 'credentialsId', credentialsId)
|
|
25543
|
+
const localVarPath = `/organization/{organizationId}/azure/credentials/{credentialsId}`
|
|
25544
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25545
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
25546
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25547
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25548
|
+
let baseOptions;
|
|
25549
|
+
if (configuration) {
|
|
25550
|
+
baseOptions = configuration.baseOptions;
|
|
25551
|
+
}
|
|
25552
|
+
|
|
25553
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25554
|
+
const localVarHeaderParameter = {} as any;
|
|
25555
|
+
const localVarQueryParameter = {} as any;
|
|
25556
|
+
|
|
25557
|
+
// authentication ApiKeyAuth required
|
|
25558
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
25559
|
+
|
|
25560
|
+
// authentication bearerAuth required
|
|
25561
|
+
// http bearer authentication required
|
|
25562
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25563
|
+
|
|
25564
|
+
|
|
25565
|
+
|
|
25142
25566
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25143
25567
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25144
25568
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25315,6 +25739,47 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
25315
25739
|
|
|
25316
25740
|
|
|
25317
25741
|
|
|
25742
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25743
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25744
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25745
|
+
|
|
25746
|
+
return {
|
|
25747
|
+
url: toPathString(localVarUrlObj),
|
|
25748
|
+
options: localVarRequestOptions,
|
|
25749
|
+
};
|
|
25750
|
+
},
|
|
25751
|
+
/**
|
|
25752
|
+
*
|
|
25753
|
+
* @summary List Azure credentials
|
|
25754
|
+
* @param {string} organizationId Organization ID
|
|
25755
|
+
* @param {*} [options] Override http request option.
|
|
25756
|
+
* @throws {RequiredError}
|
|
25757
|
+
*/
|
|
25758
|
+
listAzureCredentials: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25759
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
25760
|
+
assertParamExists('listAzureCredentials', 'organizationId', organizationId)
|
|
25761
|
+
const localVarPath = `/organization/{organizationId}/azure/credentials`
|
|
25762
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
25763
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25764
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25765
|
+
let baseOptions;
|
|
25766
|
+
if (configuration) {
|
|
25767
|
+
baseOptions = configuration.baseOptions;
|
|
25768
|
+
}
|
|
25769
|
+
|
|
25770
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25771
|
+
const localVarHeaderParameter = {} as any;
|
|
25772
|
+
const localVarQueryParameter = {} as any;
|
|
25773
|
+
|
|
25774
|
+
// authentication ApiKeyAuth required
|
|
25775
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
25776
|
+
|
|
25777
|
+
// authentication bearerAuth required
|
|
25778
|
+
// http bearer authentication required
|
|
25779
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25780
|
+
|
|
25781
|
+
|
|
25782
|
+
|
|
25318
25783
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25319
25784
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25320
25785
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25471,6 +25936,20 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
25471
25936
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.createAWSCredentials']?.[localVarOperationServerIndex]?.url;
|
|
25472
25937
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25473
25938
|
},
|
|
25939
|
+
/**
|
|
25940
|
+
*
|
|
25941
|
+
* @summary Create Azure credentials set
|
|
25942
|
+
* @param {string} organizationId Organization ID
|
|
25943
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
25944
|
+
* @param {*} [options] Override http request option.
|
|
25945
|
+
* @throws {RequiredError}
|
|
25946
|
+
*/
|
|
25947
|
+
async createAzureCredentials(organizationId: string, azureCredentialsRequest?: AzureCredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
25948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAzureCredentials(organizationId, azureCredentialsRequest, options);
|
|
25949
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25950
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.createAzureCredentials']?.[localVarOperationServerIndex]?.url;
|
|
25951
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25952
|
+
},
|
|
25474
25953
|
/**
|
|
25475
25954
|
*
|
|
25476
25955
|
* @summary Create GCP credentials set
|
|
@@ -25527,6 +26006,20 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
25527
26006
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.deleteAWSCredentials']?.[localVarOperationServerIndex]?.url;
|
|
25528
26007
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25529
26008
|
},
|
|
26009
|
+
/**
|
|
26010
|
+
*
|
|
26011
|
+
* @summary Delete a set of Azure credentials
|
|
26012
|
+
* @param {string} organizationId Organization ID
|
|
26013
|
+
* @param {string} credentialsId Credentials ID
|
|
26014
|
+
* @param {*} [options] Override http request option.
|
|
26015
|
+
* @throws {RequiredError}
|
|
26016
|
+
*/
|
|
26017
|
+
async deleteAzureCredentials(organizationId: string, credentialsId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
26018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAzureCredentials(organizationId, credentialsId, options);
|
|
26019
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26020
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.deleteAzureCredentials']?.[localVarOperationServerIndex]?.url;
|
|
26021
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26022
|
+
},
|
|
25530
26023
|
/**
|
|
25531
26024
|
*
|
|
25532
26025
|
* @summary Delete a set of GCP credentials
|
|
@@ -25584,6 +26077,21 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
25584
26077
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.editAWSCredentials']?.[localVarOperationServerIndex]?.url;
|
|
25585
26078
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25586
26079
|
},
|
|
26080
|
+
/**
|
|
26081
|
+
*
|
|
26082
|
+
* @summary Edit a set of Azure credentials
|
|
26083
|
+
* @param {string} organizationId Organization ID
|
|
26084
|
+
* @param {string} credentialsId Credentials ID
|
|
26085
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
26086
|
+
* @param {*} [options] Override http request option.
|
|
26087
|
+
* @throws {RequiredError}
|
|
26088
|
+
*/
|
|
26089
|
+
async editAzureCredentials(organizationId: string, credentialsId: string, azureCredentialsRequest?: AzureCredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
26090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editAzureCredentials(organizationId, credentialsId, azureCredentialsRequest, options);
|
|
26091
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26092
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.editAzureCredentials']?.[localVarOperationServerIndex]?.url;
|
|
26093
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26094
|
+
},
|
|
25587
26095
|
/**
|
|
25588
26096
|
*
|
|
25589
26097
|
* @summary Edit a set of GCP credentials
|
|
@@ -25643,6 +26151,20 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
25643
26151
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.getAWSCredentials']?.[localVarOperationServerIndex]?.url;
|
|
25644
26152
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25645
26153
|
},
|
|
26154
|
+
/**
|
|
26155
|
+
*
|
|
26156
|
+
* @summary Get a set of Azure credentials
|
|
26157
|
+
* @param {string} organizationId Organization ID
|
|
26158
|
+
* @param {string} credentialsId Credentials ID
|
|
26159
|
+
* @param {*} [options] Override http request option.
|
|
26160
|
+
* @throws {RequiredError}
|
|
26161
|
+
*/
|
|
26162
|
+
async getAzureCredentials(organizationId: string, credentialsId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
26163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAzureCredentials(organizationId, credentialsId, options);
|
|
26164
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26165
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.getAzureCredentials']?.[localVarOperationServerIndex]?.url;
|
|
26166
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26167
|
+
},
|
|
25646
26168
|
/**
|
|
25647
26169
|
*
|
|
25648
26170
|
* @summary Get a set of GCP credentials
|
|
@@ -25698,6 +26220,19 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
25698
26220
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.listAWSCredentials']?.[localVarOperationServerIndex]?.url;
|
|
25699
26221
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25700
26222
|
},
|
|
26223
|
+
/**
|
|
26224
|
+
*
|
|
26225
|
+
* @summary List Azure credentials
|
|
26226
|
+
* @param {string} organizationId Organization ID
|
|
26227
|
+
* @param {*} [options] Override http request option.
|
|
26228
|
+
* @throws {RequiredError}
|
|
26229
|
+
*/
|
|
26230
|
+
async listAzureCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentialsResponseList>> {
|
|
26231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAzureCredentials(organizationId, options);
|
|
26232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26233
|
+
const localVarOperationServerBasePath = operationServerMap['CloudProviderCredentialsApi.listAzureCredentials']?.[localVarOperationServerIndex]?.url;
|
|
26234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26235
|
+
},
|
|
25701
26236
|
/**
|
|
25702
26237
|
*
|
|
25703
26238
|
* @summary List GCP credentials
|
|
@@ -25758,6 +26293,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
25758
26293
|
createAWSCredentials(organizationId: string, awsCredentialsRequest?: AwsCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentials> {
|
|
25759
26294
|
return localVarFp.createAWSCredentials(organizationId, awsCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
25760
26295
|
},
|
|
26296
|
+
/**
|
|
26297
|
+
*
|
|
26298
|
+
* @summary Create Azure credentials set
|
|
26299
|
+
* @param {string} organizationId Organization ID
|
|
26300
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
26301
|
+
* @param {*} [options] Override http request option.
|
|
26302
|
+
* @throws {RequiredError}
|
|
26303
|
+
*/
|
|
26304
|
+
createAzureCredentials(organizationId: string, azureCredentialsRequest?: AzureCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentials> {
|
|
26305
|
+
return localVarFp.createAzureCredentials(organizationId, azureCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
26306
|
+
},
|
|
25761
26307
|
/**
|
|
25762
26308
|
*
|
|
25763
26309
|
* @summary Create GCP credentials set
|
|
@@ -25802,6 +26348,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
25802
26348
|
deleteAWSCredentials(credentialsId: string, organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
25803
26349
|
return localVarFp.deleteAWSCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
|
|
25804
26350
|
},
|
|
26351
|
+
/**
|
|
26352
|
+
*
|
|
26353
|
+
* @summary Delete a set of Azure credentials
|
|
26354
|
+
* @param {string} organizationId Organization ID
|
|
26355
|
+
* @param {string} credentialsId Credentials ID
|
|
26356
|
+
* @param {*} [options] Override http request option.
|
|
26357
|
+
* @throws {RequiredError}
|
|
26358
|
+
*/
|
|
26359
|
+
deleteAzureCredentials(organizationId: string, credentialsId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26360
|
+
return localVarFp.deleteAzureCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
26361
|
+
},
|
|
25805
26362
|
/**
|
|
25806
26363
|
*
|
|
25807
26364
|
* @summary Delete a set of GCP credentials
|
|
@@ -25847,6 +26404,18 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
25847
26404
|
editAWSCredentials(organizationId: string, credentialsId: string, awsCredentialsRequest?: AwsCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentials> {
|
|
25848
26405
|
return localVarFp.editAWSCredentials(organizationId, credentialsId, awsCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
25849
26406
|
},
|
|
26407
|
+
/**
|
|
26408
|
+
*
|
|
26409
|
+
* @summary Edit a set of Azure credentials
|
|
26410
|
+
* @param {string} organizationId Organization ID
|
|
26411
|
+
* @param {string} credentialsId Credentials ID
|
|
26412
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
26413
|
+
* @param {*} [options] Override http request option.
|
|
26414
|
+
* @throws {RequiredError}
|
|
26415
|
+
*/
|
|
26416
|
+
editAzureCredentials(organizationId: string, credentialsId: string, azureCredentialsRequest?: AzureCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentials> {
|
|
26417
|
+
return localVarFp.editAzureCredentials(organizationId, credentialsId, azureCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
26418
|
+
},
|
|
25850
26419
|
/**
|
|
25851
26420
|
*
|
|
25852
26421
|
* @summary Edit a set of GCP credentials
|
|
@@ -25894,6 +26463,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
25894
26463
|
getAWSCredentials(organizationId: string, credentialsId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentials> {
|
|
25895
26464
|
return localVarFp.getAWSCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
25896
26465
|
},
|
|
26466
|
+
/**
|
|
26467
|
+
*
|
|
26468
|
+
* @summary Get a set of Azure credentials
|
|
26469
|
+
* @param {string} organizationId Organization ID
|
|
26470
|
+
* @param {string} credentialsId Credentials ID
|
|
26471
|
+
* @param {*} [options] Override http request option.
|
|
26472
|
+
* @throws {RequiredError}
|
|
26473
|
+
*/
|
|
26474
|
+
getAzureCredentials(organizationId: string, credentialsId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentials> {
|
|
26475
|
+
return localVarFp.getAzureCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
26476
|
+
},
|
|
25897
26477
|
/**
|
|
25898
26478
|
*
|
|
25899
26479
|
* @summary Get a set of GCP credentials
|
|
@@ -25937,6 +26517,16 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
25937
26517
|
listAWSCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentialsResponseList> {
|
|
25938
26518
|
return localVarFp.listAWSCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
25939
26519
|
},
|
|
26520
|
+
/**
|
|
26521
|
+
*
|
|
26522
|
+
* @summary List Azure credentials
|
|
26523
|
+
* @param {string} organizationId Organization ID
|
|
26524
|
+
* @param {*} [options] Override http request option.
|
|
26525
|
+
* @throws {RequiredError}
|
|
26526
|
+
*/
|
|
26527
|
+
listAzureCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCredentialsResponseList> {
|
|
26528
|
+
return localVarFp.listAzureCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
26529
|
+
},
|
|
25940
26530
|
/**
|
|
25941
26531
|
*
|
|
25942
26532
|
* @summary List GCP credentials
|
|
@@ -25990,6 +26580,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
25990
26580
|
return CloudProviderCredentialsApiFp(this.configuration).createAWSCredentials(organizationId, awsCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25991
26581
|
}
|
|
25992
26582
|
|
|
26583
|
+
/**
|
|
26584
|
+
*
|
|
26585
|
+
* @summary Create Azure credentials set
|
|
26586
|
+
* @param {string} organizationId Organization ID
|
|
26587
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
26588
|
+
* @param {*} [options] Override http request option.
|
|
26589
|
+
* @throws {RequiredError}
|
|
26590
|
+
* @memberof CloudProviderCredentialsApi
|
|
26591
|
+
*/
|
|
26592
|
+
public createAzureCredentials(organizationId: string, azureCredentialsRequest?: AzureCredentialsRequest, options?: RawAxiosRequestConfig) {
|
|
26593
|
+
return CloudProviderCredentialsApiFp(this.configuration).createAzureCredentials(organizationId, azureCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26594
|
+
}
|
|
26595
|
+
|
|
25993
26596
|
/**
|
|
25994
26597
|
*
|
|
25995
26598
|
* @summary Create GCP credentials set
|
|
@@ -26042,6 +26645,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
26042
26645
|
return CloudProviderCredentialsApiFp(this.configuration).deleteAWSCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
26043
26646
|
}
|
|
26044
26647
|
|
|
26648
|
+
/**
|
|
26649
|
+
*
|
|
26650
|
+
* @summary Delete a set of Azure credentials
|
|
26651
|
+
* @param {string} organizationId Organization ID
|
|
26652
|
+
* @param {string} credentialsId Credentials ID
|
|
26653
|
+
* @param {*} [options] Override http request option.
|
|
26654
|
+
* @throws {RequiredError}
|
|
26655
|
+
* @memberof CloudProviderCredentialsApi
|
|
26656
|
+
*/
|
|
26657
|
+
public deleteAzureCredentials(organizationId: string, credentialsId: string, options?: RawAxiosRequestConfig) {
|
|
26658
|
+
return CloudProviderCredentialsApiFp(this.configuration).deleteAzureCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
26659
|
+
}
|
|
26660
|
+
|
|
26045
26661
|
/**
|
|
26046
26662
|
*
|
|
26047
26663
|
* @summary Delete a set of GCP credentials
|
|
@@ -26095,6 +26711,20 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
26095
26711
|
return CloudProviderCredentialsApiFp(this.configuration).editAWSCredentials(organizationId, credentialsId, awsCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26096
26712
|
}
|
|
26097
26713
|
|
|
26714
|
+
/**
|
|
26715
|
+
*
|
|
26716
|
+
* @summary Edit a set of Azure credentials
|
|
26717
|
+
* @param {string} organizationId Organization ID
|
|
26718
|
+
* @param {string} credentialsId Credentials ID
|
|
26719
|
+
* @param {AzureCredentialsRequest} [azureCredentialsRequest]
|
|
26720
|
+
* @param {*} [options] Override http request option.
|
|
26721
|
+
* @throws {RequiredError}
|
|
26722
|
+
* @memberof CloudProviderCredentialsApi
|
|
26723
|
+
*/
|
|
26724
|
+
public editAzureCredentials(organizationId: string, credentialsId: string, azureCredentialsRequest?: AzureCredentialsRequest, options?: RawAxiosRequestConfig) {
|
|
26725
|
+
return CloudProviderCredentialsApiFp(this.configuration).editAzureCredentials(organizationId, credentialsId, azureCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26726
|
+
}
|
|
26727
|
+
|
|
26098
26728
|
/**
|
|
26099
26729
|
*
|
|
26100
26730
|
* @summary Edit a set of GCP credentials
|
|
@@ -26150,6 +26780,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
26150
26780
|
return CloudProviderCredentialsApiFp(this.configuration).getAWSCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
26151
26781
|
}
|
|
26152
26782
|
|
|
26783
|
+
/**
|
|
26784
|
+
*
|
|
26785
|
+
* @summary Get a set of Azure credentials
|
|
26786
|
+
* @param {string} organizationId Organization ID
|
|
26787
|
+
* @param {string} credentialsId Credentials ID
|
|
26788
|
+
* @param {*} [options] Override http request option.
|
|
26789
|
+
* @throws {RequiredError}
|
|
26790
|
+
* @memberof CloudProviderCredentialsApi
|
|
26791
|
+
*/
|
|
26792
|
+
public getAzureCredentials(organizationId: string, credentialsId: string, options?: RawAxiosRequestConfig) {
|
|
26793
|
+
return CloudProviderCredentialsApiFp(this.configuration).getAzureCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
26794
|
+
}
|
|
26795
|
+
|
|
26153
26796
|
/**
|
|
26154
26797
|
*
|
|
26155
26798
|
* @summary Get a set of GCP credentials
|
|
@@ -26201,6 +26844,18 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
26201
26844
|
return CloudProviderCredentialsApiFp(this.configuration).listAWSCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
26202
26845
|
}
|
|
26203
26846
|
|
|
26847
|
+
/**
|
|
26848
|
+
*
|
|
26849
|
+
* @summary List Azure credentials
|
|
26850
|
+
* @param {string} organizationId Organization ID
|
|
26851
|
+
* @param {*} [options] Override http request option.
|
|
26852
|
+
* @throws {RequiredError}
|
|
26853
|
+
* @memberof CloudProviderCredentialsApi
|
|
26854
|
+
*/
|
|
26855
|
+
public listAzureCredentials(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
26856
|
+
return CloudProviderCredentialsApiFp(this.configuration).listAzureCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
26857
|
+
}
|
|
26858
|
+
|
|
26204
26859
|
/**
|
|
26205
26860
|
*
|
|
26206
26861
|
* @summary List GCP credentials
|