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