qovery-typescript-axios 1.1.316 → 1.1.317
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 +634 -1
- package/dist/api.d.ts +296 -0
- package/dist/api.js +565 -1
- package/dist/esm/api.d.ts +296 -0
- package/dist/esm/api.js +565 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1775,7 +1775,8 @@ export interface CloudProvider {
|
|
|
1775
1775
|
export const CloudProviderEnum = {
|
|
1776
1776
|
AWS: 'AWS',
|
|
1777
1777
|
DO: 'DO',
|
|
1778
|
-
SCW: 'SCW'
|
|
1778
|
+
SCW: 'SCW',
|
|
1779
|
+
GCP: 'GCP'
|
|
1779
1780
|
} as const;
|
|
1780
1781
|
|
|
1781
1782
|
export type CloudProviderEnum = typeof CloudProviderEnum[keyof typeof CloudProviderEnum];
|
|
@@ -7341,6 +7342,25 @@ export interface EnvironmentVariableResponseList {
|
|
|
7341
7342
|
*/
|
|
7342
7343
|
'results'?: Array<EnvironmentVariable>;
|
|
7343
7344
|
}
|
|
7345
|
+
/**
|
|
7346
|
+
*
|
|
7347
|
+
* @export
|
|
7348
|
+
* @interface GcpCredentialsRequest
|
|
7349
|
+
*/
|
|
7350
|
+
export interface GcpCredentialsRequest {
|
|
7351
|
+
/**
|
|
7352
|
+
*
|
|
7353
|
+
* @type {string}
|
|
7354
|
+
* @memberof GcpCredentialsRequest
|
|
7355
|
+
*/
|
|
7356
|
+
'name': string;
|
|
7357
|
+
/**
|
|
7358
|
+
*
|
|
7359
|
+
* @type {string}
|
|
7360
|
+
* @memberof GcpCredentialsRequest
|
|
7361
|
+
*/
|
|
7362
|
+
'json_credentials': string;
|
|
7363
|
+
}
|
|
7344
7364
|
/**
|
|
7345
7365
|
*
|
|
7346
7366
|
* @export
|
|
@@ -20621,6 +20641,121 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20621
20641
|
|
|
20622
20642
|
|
|
20623
20643
|
|
|
20644
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20645
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20646
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20647
|
+
|
|
20648
|
+
return {
|
|
20649
|
+
url: toPathString(localVarUrlObj),
|
|
20650
|
+
options: localVarRequestOptions,
|
|
20651
|
+
};
|
|
20652
|
+
},
|
|
20653
|
+
/**
|
|
20654
|
+
*
|
|
20655
|
+
* @summary List GCP features available
|
|
20656
|
+
* @param {*} [options] Override http request option.
|
|
20657
|
+
* @throws {RequiredError}
|
|
20658
|
+
*/
|
|
20659
|
+
listGcpFeatures: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20660
|
+
const localVarPath = `/gcp/clusterFeature`;
|
|
20661
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20662
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20663
|
+
let baseOptions;
|
|
20664
|
+
if (configuration) {
|
|
20665
|
+
baseOptions = configuration.baseOptions;
|
|
20666
|
+
}
|
|
20667
|
+
|
|
20668
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20669
|
+
const localVarHeaderParameter = {} as any;
|
|
20670
|
+
const localVarQueryParameter = {} as any;
|
|
20671
|
+
|
|
20672
|
+
// authentication ApiKeyAuth required
|
|
20673
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20674
|
+
|
|
20675
|
+
// authentication bearerAuth required
|
|
20676
|
+
// http bearer authentication required
|
|
20677
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20678
|
+
|
|
20679
|
+
|
|
20680
|
+
|
|
20681
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20682
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20683
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20684
|
+
|
|
20685
|
+
return {
|
|
20686
|
+
url: toPathString(localVarUrlObj),
|
|
20687
|
+
options: localVarRequestOptions,
|
|
20688
|
+
};
|
|
20689
|
+
},
|
|
20690
|
+
/**
|
|
20691
|
+
*
|
|
20692
|
+
* @summary List GCP GKE available instance types
|
|
20693
|
+
* @param {string} region region name
|
|
20694
|
+
* @param {*} [options] Override http request option.
|
|
20695
|
+
* @throws {RequiredError}
|
|
20696
|
+
*/
|
|
20697
|
+
listGcpGkeInstanceType: async (region: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20698
|
+
// verify required parameter 'region' is not null or undefined
|
|
20699
|
+
assertParamExists('listGcpGkeInstanceType', 'region', region)
|
|
20700
|
+
const localVarPath = `/gcp/instanceType/{region}`
|
|
20701
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
20702
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20703
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20704
|
+
let baseOptions;
|
|
20705
|
+
if (configuration) {
|
|
20706
|
+
baseOptions = configuration.baseOptions;
|
|
20707
|
+
}
|
|
20708
|
+
|
|
20709
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20710
|
+
const localVarHeaderParameter = {} as any;
|
|
20711
|
+
const localVarQueryParameter = {} as any;
|
|
20712
|
+
|
|
20713
|
+
// authentication ApiKeyAuth required
|
|
20714
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20715
|
+
|
|
20716
|
+
// authentication bearerAuth required
|
|
20717
|
+
// http bearer authentication required
|
|
20718
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20719
|
+
|
|
20720
|
+
|
|
20721
|
+
|
|
20722
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20723
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20724
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20725
|
+
|
|
20726
|
+
return {
|
|
20727
|
+
url: toPathString(localVarUrlObj),
|
|
20728
|
+
options: localVarRequestOptions,
|
|
20729
|
+
};
|
|
20730
|
+
},
|
|
20731
|
+
/**
|
|
20732
|
+
*
|
|
20733
|
+
* @summary List GCP regions
|
|
20734
|
+
* @param {*} [options] Override http request option.
|
|
20735
|
+
* @throws {RequiredError}
|
|
20736
|
+
*/
|
|
20737
|
+
listGcpRegions: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20738
|
+
const localVarPath = `/gcp/region`;
|
|
20739
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20740
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20741
|
+
let baseOptions;
|
|
20742
|
+
if (configuration) {
|
|
20743
|
+
baseOptions = configuration.baseOptions;
|
|
20744
|
+
}
|
|
20745
|
+
|
|
20746
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20747
|
+
const localVarHeaderParameter = {} as any;
|
|
20748
|
+
const localVarQueryParameter = {} as any;
|
|
20749
|
+
|
|
20750
|
+
// authentication ApiKeyAuth required
|
|
20751
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20752
|
+
|
|
20753
|
+
// authentication bearerAuth required
|
|
20754
|
+
// http bearer authentication required
|
|
20755
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20756
|
+
|
|
20757
|
+
|
|
20758
|
+
|
|
20624
20759
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20625
20760
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20626
20761
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21006,6 +21141,37 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
21006
21141
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDORegions(options);
|
|
21007
21142
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21008
21143
|
},
|
|
21144
|
+
/**
|
|
21145
|
+
*
|
|
21146
|
+
* @summary List GCP features available
|
|
21147
|
+
* @param {*} [options] Override http request option.
|
|
21148
|
+
* @throws {RequiredError}
|
|
21149
|
+
*/
|
|
21150
|
+
async listGcpFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterFeatureResponseList>> {
|
|
21151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpFeatures(options);
|
|
21152
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21153
|
+
},
|
|
21154
|
+
/**
|
|
21155
|
+
*
|
|
21156
|
+
* @summary List GCP GKE available instance types
|
|
21157
|
+
* @param {string} region region name
|
|
21158
|
+
* @param {*} [options] Override http request option.
|
|
21159
|
+
* @throws {RequiredError}
|
|
21160
|
+
*/
|
|
21161
|
+
async listGcpGkeInstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
21162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpGkeInstanceType(region, options);
|
|
21163
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21164
|
+
},
|
|
21165
|
+
/**
|
|
21166
|
+
*
|
|
21167
|
+
* @summary List GCP regions
|
|
21168
|
+
* @param {*} [options] Override http request option.
|
|
21169
|
+
* @throws {RequiredError}
|
|
21170
|
+
*/
|
|
21171
|
+
async listGcpRegions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>> {
|
|
21172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpRegions(options);
|
|
21173
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21174
|
+
},
|
|
21009
21175
|
/**
|
|
21010
21176
|
*
|
|
21011
21177
|
* @summary List Scaleway available managed database instance types
|
|
@@ -21201,6 +21367,34 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
21201
21367
|
listDORegions(options?: any): AxiosPromise<ClusterRegionResponseList> {
|
|
21202
21368
|
return localVarFp.listDORegions(options).then((request) => request(axios, basePath));
|
|
21203
21369
|
},
|
|
21370
|
+
/**
|
|
21371
|
+
*
|
|
21372
|
+
* @summary List GCP features available
|
|
21373
|
+
* @param {*} [options] Override http request option.
|
|
21374
|
+
* @throws {RequiredError}
|
|
21375
|
+
*/
|
|
21376
|
+
listGcpFeatures(options?: any): AxiosPromise<ClusterFeatureResponseList> {
|
|
21377
|
+
return localVarFp.listGcpFeatures(options).then((request) => request(axios, basePath));
|
|
21378
|
+
},
|
|
21379
|
+
/**
|
|
21380
|
+
*
|
|
21381
|
+
* @summary List GCP GKE available instance types
|
|
21382
|
+
* @param {string} region region name
|
|
21383
|
+
* @param {*} [options] Override http request option.
|
|
21384
|
+
* @throws {RequiredError}
|
|
21385
|
+
*/
|
|
21386
|
+
listGcpGkeInstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
21387
|
+
return localVarFp.listGcpGkeInstanceType(region, options).then((request) => request(axios, basePath));
|
|
21388
|
+
},
|
|
21389
|
+
/**
|
|
21390
|
+
*
|
|
21391
|
+
* @summary List GCP regions
|
|
21392
|
+
* @param {*} [options] Override http request option.
|
|
21393
|
+
* @throws {RequiredError}
|
|
21394
|
+
*/
|
|
21395
|
+
listGcpRegions(options?: any): AxiosPromise<ClusterRegionResponseList> {
|
|
21396
|
+
return localVarFp.listGcpRegions(options).then((request) => request(axios, basePath));
|
|
21397
|
+
},
|
|
21204
21398
|
/**
|
|
21205
21399
|
*
|
|
21206
21400
|
* @summary List Scaleway available managed database instance types
|
|
@@ -21416,6 +21610,40 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
21416
21610
|
return CloudProviderApiFp(this.configuration).listDORegions(options).then((request) => request(this.axios, this.basePath));
|
|
21417
21611
|
}
|
|
21418
21612
|
|
|
21613
|
+
/**
|
|
21614
|
+
*
|
|
21615
|
+
* @summary List GCP features available
|
|
21616
|
+
* @param {*} [options] Override http request option.
|
|
21617
|
+
* @throws {RequiredError}
|
|
21618
|
+
* @memberof CloudProviderApi
|
|
21619
|
+
*/
|
|
21620
|
+
public listGcpFeatures(options?: AxiosRequestConfig) {
|
|
21621
|
+
return CloudProviderApiFp(this.configuration).listGcpFeatures(options).then((request) => request(this.axios, this.basePath));
|
|
21622
|
+
}
|
|
21623
|
+
|
|
21624
|
+
/**
|
|
21625
|
+
*
|
|
21626
|
+
* @summary List GCP GKE available instance types
|
|
21627
|
+
* @param {string} region region name
|
|
21628
|
+
* @param {*} [options] Override http request option.
|
|
21629
|
+
* @throws {RequiredError}
|
|
21630
|
+
* @memberof CloudProviderApi
|
|
21631
|
+
*/
|
|
21632
|
+
public listGcpGkeInstanceType(region: string, options?: AxiosRequestConfig) {
|
|
21633
|
+
return CloudProviderApiFp(this.configuration).listGcpGkeInstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
21634
|
+
}
|
|
21635
|
+
|
|
21636
|
+
/**
|
|
21637
|
+
*
|
|
21638
|
+
* @summary List GCP regions
|
|
21639
|
+
* @param {*} [options] Override http request option.
|
|
21640
|
+
* @throws {RequiredError}
|
|
21641
|
+
* @memberof CloudProviderApi
|
|
21642
|
+
*/
|
|
21643
|
+
public listGcpRegions(options?: AxiosRequestConfig) {
|
|
21644
|
+
return CloudProviderApiFp(this.configuration).listGcpRegions(options).then((request) => request(this.axios, this.basePath));
|
|
21645
|
+
}
|
|
21646
|
+
|
|
21419
21647
|
/**
|
|
21420
21648
|
*
|
|
21421
21649
|
* @summary List Scaleway available managed database instance types
|
|
@@ -21583,6 +21811,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
21583
21811
|
options: localVarRequestOptions,
|
|
21584
21812
|
};
|
|
21585
21813
|
},
|
|
21814
|
+
/**
|
|
21815
|
+
*
|
|
21816
|
+
* @summary Create GCP credentials set
|
|
21817
|
+
* @param {string} organizationId Organization ID
|
|
21818
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
21819
|
+
* @param {*} [options] Override http request option.
|
|
21820
|
+
* @throws {RequiredError}
|
|
21821
|
+
*/
|
|
21822
|
+
createGCPCredentials: async (organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21823
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
21824
|
+
assertParamExists('createGCPCredentials', 'organizationId', organizationId)
|
|
21825
|
+
const localVarPath = `/organization/{organizationId}/gcp/credentials`
|
|
21826
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
21827
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21828
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21829
|
+
let baseOptions;
|
|
21830
|
+
if (configuration) {
|
|
21831
|
+
baseOptions = configuration.baseOptions;
|
|
21832
|
+
}
|
|
21833
|
+
|
|
21834
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21835
|
+
const localVarHeaderParameter = {} as any;
|
|
21836
|
+
const localVarQueryParameter = {} as any;
|
|
21837
|
+
|
|
21838
|
+
// authentication ApiKeyAuth required
|
|
21839
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
21840
|
+
|
|
21841
|
+
// authentication bearerAuth required
|
|
21842
|
+
// http bearer authentication required
|
|
21843
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21844
|
+
|
|
21845
|
+
|
|
21846
|
+
|
|
21847
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21848
|
+
|
|
21849
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21850
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21851
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21852
|
+
localVarRequestOptions.data = serializeDataIfNeeded(gcpCredentialsRequest, localVarRequestOptions, configuration)
|
|
21853
|
+
|
|
21854
|
+
return {
|
|
21855
|
+
url: toPathString(localVarUrlObj),
|
|
21856
|
+
options: localVarRequestOptions,
|
|
21857
|
+
};
|
|
21858
|
+
},
|
|
21586
21859
|
/**
|
|
21587
21860
|
*
|
|
21588
21861
|
* @summary Create Scaleway credentials set
|
|
@@ -21709,6 +21982,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
21709
21982
|
|
|
21710
21983
|
|
|
21711
21984
|
|
|
21985
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21986
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21987
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21988
|
+
|
|
21989
|
+
return {
|
|
21990
|
+
url: toPathString(localVarUrlObj),
|
|
21991
|
+
options: localVarRequestOptions,
|
|
21992
|
+
};
|
|
21993
|
+
},
|
|
21994
|
+
/**
|
|
21995
|
+
*
|
|
21996
|
+
* @summary Delete a set of GCP credentials
|
|
21997
|
+
* @param {string} credentialsId Credentials ID
|
|
21998
|
+
* @param {string} organizationId Organization ID
|
|
21999
|
+
* @param {*} [options] Override http request option.
|
|
22000
|
+
* @throws {RequiredError}
|
|
22001
|
+
*/
|
|
22002
|
+
deleteGcpCredentials: async (credentialsId: string, organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22003
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
22004
|
+
assertParamExists('deleteGcpCredentials', 'credentialsId', credentialsId)
|
|
22005
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
22006
|
+
assertParamExists('deleteGcpCredentials', 'organizationId', organizationId)
|
|
22007
|
+
const localVarPath = `/organization/{organizationId}/gcp/credentials/{credentialsId}`
|
|
22008
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
|
|
22009
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
22010
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22011
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22012
|
+
let baseOptions;
|
|
22013
|
+
if (configuration) {
|
|
22014
|
+
baseOptions = configuration.baseOptions;
|
|
22015
|
+
}
|
|
22016
|
+
|
|
22017
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
22018
|
+
const localVarHeaderParameter = {} as any;
|
|
22019
|
+
const localVarQueryParameter = {} as any;
|
|
22020
|
+
|
|
22021
|
+
// authentication ApiKeyAuth required
|
|
22022
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
22023
|
+
|
|
22024
|
+
// authentication bearerAuth required
|
|
22025
|
+
// http bearer authentication required
|
|
22026
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22027
|
+
|
|
22028
|
+
|
|
22029
|
+
|
|
21712
22030
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21713
22031
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21714
22032
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21861,6 +22179,55 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
21861
22179
|
options: localVarRequestOptions,
|
|
21862
22180
|
};
|
|
21863
22181
|
},
|
|
22182
|
+
/**
|
|
22183
|
+
*
|
|
22184
|
+
* @summary Edit a set of GCP credentials
|
|
22185
|
+
* @param {string} organizationId Organization ID
|
|
22186
|
+
* @param {string} credentialsId Credentials ID
|
|
22187
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
22188
|
+
* @param {*} [options] Override http request option.
|
|
22189
|
+
* @throws {RequiredError}
|
|
22190
|
+
*/
|
|
22191
|
+
editGcpCredentials: async (organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22192
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
22193
|
+
assertParamExists('editGcpCredentials', 'organizationId', organizationId)
|
|
22194
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
22195
|
+
assertParamExists('editGcpCredentials', 'credentialsId', credentialsId)
|
|
22196
|
+
const localVarPath = `/organization/{organizationId}/gcp/credentials/{credentialsId}`
|
|
22197
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
22198
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
22199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22201
|
+
let baseOptions;
|
|
22202
|
+
if (configuration) {
|
|
22203
|
+
baseOptions = configuration.baseOptions;
|
|
22204
|
+
}
|
|
22205
|
+
|
|
22206
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
22207
|
+
const localVarHeaderParameter = {} as any;
|
|
22208
|
+
const localVarQueryParameter = {} as any;
|
|
22209
|
+
|
|
22210
|
+
// authentication ApiKeyAuth required
|
|
22211
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
22212
|
+
|
|
22213
|
+
// authentication bearerAuth required
|
|
22214
|
+
// http bearer authentication required
|
|
22215
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22216
|
+
|
|
22217
|
+
|
|
22218
|
+
|
|
22219
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22220
|
+
|
|
22221
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22222
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22223
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22224
|
+
localVarRequestOptions.data = serializeDataIfNeeded(gcpCredentialsRequest, localVarRequestOptions, configuration)
|
|
22225
|
+
|
|
22226
|
+
return {
|
|
22227
|
+
url: toPathString(localVarUrlObj),
|
|
22228
|
+
options: localVarRequestOptions,
|
|
22229
|
+
};
|
|
22230
|
+
},
|
|
21864
22231
|
/**
|
|
21865
22232
|
*
|
|
21866
22233
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -21991,6 +22358,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
21991
22358
|
|
|
21992
22359
|
|
|
21993
22360
|
|
|
22361
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22363
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22364
|
+
|
|
22365
|
+
return {
|
|
22366
|
+
url: toPathString(localVarUrlObj),
|
|
22367
|
+
options: localVarRequestOptions,
|
|
22368
|
+
};
|
|
22369
|
+
},
|
|
22370
|
+
/**
|
|
22371
|
+
*
|
|
22372
|
+
* @summary Get a set of GCP credentials
|
|
22373
|
+
* @param {string} organizationId Organization ID
|
|
22374
|
+
* @param {string} credentialsId Credentials ID
|
|
22375
|
+
* @param {*} [options] Override http request option.
|
|
22376
|
+
* @throws {RequiredError}
|
|
22377
|
+
*/
|
|
22378
|
+
getGcpCredentials: async (organizationId: string, credentialsId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22379
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
22380
|
+
assertParamExists('getGcpCredentials', 'organizationId', organizationId)
|
|
22381
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
22382
|
+
assertParamExists('getGcpCredentials', 'credentialsId', credentialsId)
|
|
22383
|
+
const localVarPath = `/organization/{organizationId}/gcp/credentials/{credentialsId}`
|
|
22384
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
22385
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
22386
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22387
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22388
|
+
let baseOptions;
|
|
22389
|
+
if (configuration) {
|
|
22390
|
+
baseOptions = configuration.baseOptions;
|
|
22391
|
+
}
|
|
22392
|
+
|
|
22393
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22394
|
+
const localVarHeaderParameter = {} as any;
|
|
22395
|
+
const localVarQueryParameter = {} as any;
|
|
22396
|
+
|
|
22397
|
+
// authentication ApiKeyAuth required
|
|
22398
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
22399
|
+
|
|
22400
|
+
// authentication bearerAuth required
|
|
22401
|
+
// http bearer authentication required
|
|
22402
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22403
|
+
|
|
22404
|
+
|
|
22405
|
+
|
|
21994
22406
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21995
22407
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21996
22408
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -22118,6 +22530,47 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
22118
22530
|
|
|
22119
22531
|
|
|
22120
22532
|
|
|
22533
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22534
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22535
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22536
|
+
|
|
22537
|
+
return {
|
|
22538
|
+
url: toPathString(localVarUrlObj),
|
|
22539
|
+
options: localVarRequestOptions,
|
|
22540
|
+
};
|
|
22541
|
+
},
|
|
22542
|
+
/**
|
|
22543
|
+
*
|
|
22544
|
+
* @summary List GCP credentials
|
|
22545
|
+
* @param {string} organizationId Organization ID
|
|
22546
|
+
* @param {*} [options] Override http request option.
|
|
22547
|
+
* @throws {RequiredError}
|
|
22548
|
+
*/
|
|
22549
|
+
listGcpCredentials: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22550
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
22551
|
+
assertParamExists('listGcpCredentials', 'organizationId', organizationId)
|
|
22552
|
+
const localVarPath = `/organization/{organizationId}/gcp/credentials`
|
|
22553
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
22554
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22555
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22556
|
+
let baseOptions;
|
|
22557
|
+
if (configuration) {
|
|
22558
|
+
baseOptions = configuration.baseOptions;
|
|
22559
|
+
}
|
|
22560
|
+
|
|
22561
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22562
|
+
const localVarHeaderParameter = {} as any;
|
|
22563
|
+
const localVarQueryParameter = {} as any;
|
|
22564
|
+
|
|
22565
|
+
// authentication ApiKeyAuth required
|
|
22566
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
22567
|
+
|
|
22568
|
+
// authentication bearerAuth required
|
|
22569
|
+
// http bearer authentication required
|
|
22570
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22571
|
+
|
|
22572
|
+
|
|
22573
|
+
|
|
22121
22574
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22122
22575
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22123
22576
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -22202,6 +22655,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
22202
22655
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDOCredentials(organizationId, doCredentialsRequest, options);
|
|
22203
22656
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22204
22657
|
},
|
|
22658
|
+
/**
|
|
22659
|
+
*
|
|
22660
|
+
* @summary Create GCP credentials set
|
|
22661
|
+
* @param {string} organizationId Organization ID
|
|
22662
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
22663
|
+
* @param {*} [options] Override http request option.
|
|
22664
|
+
* @throws {RequiredError}
|
|
22665
|
+
*/
|
|
22666
|
+
async createGCPCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
22667
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createGCPCredentials(organizationId, gcpCredentialsRequest, options);
|
|
22668
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22669
|
+
},
|
|
22205
22670
|
/**
|
|
22206
22671
|
*
|
|
22207
22672
|
* @summary Create Scaleway credentials set
|
|
@@ -22238,6 +22703,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
22238
22703
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDOCredentials(credentialsId, organizationId, options);
|
|
22239
22704
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22240
22705
|
},
|
|
22706
|
+
/**
|
|
22707
|
+
*
|
|
22708
|
+
* @summary Delete a set of GCP credentials
|
|
22709
|
+
* @param {string} credentialsId Credentials ID
|
|
22710
|
+
* @param {string} organizationId Organization ID
|
|
22711
|
+
* @param {*} [options] Override http request option.
|
|
22712
|
+
* @throws {RequiredError}
|
|
22713
|
+
*/
|
|
22714
|
+
async deleteGcpCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22715
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGcpCredentials(credentialsId, organizationId, options);
|
|
22716
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22717
|
+
},
|
|
22241
22718
|
/**
|
|
22242
22719
|
*
|
|
22243
22720
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -22276,6 +22753,19 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
22276
22753
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editDOCredentials(organizationId, credentialsId, doCredentialsRequest, options);
|
|
22277
22754
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22278
22755
|
},
|
|
22756
|
+
/**
|
|
22757
|
+
*
|
|
22758
|
+
* @summary Edit a set of GCP credentials
|
|
22759
|
+
* @param {string} organizationId Organization ID
|
|
22760
|
+
* @param {string} credentialsId Credentials ID
|
|
22761
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
22762
|
+
* @param {*} [options] Override http request option.
|
|
22763
|
+
* @throws {RequiredError}
|
|
22764
|
+
*/
|
|
22765
|
+
async editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
22766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options);
|
|
22767
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22768
|
+
},
|
|
22279
22769
|
/**
|
|
22280
22770
|
*
|
|
22281
22771
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -22313,6 +22803,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
22313
22803
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDOCredentials(organizationId, credentialsId, options);
|
|
22314
22804
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22315
22805
|
},
|
|
22806
|
+
/**
|
|
22807
|
+
*
|
|
22808
|
+
* @summary Get a set of GCP credentials
|
|
22809
|
+
* @param {string} organizationId Organization ID
|
|
22810
|
+
* @param {string} credentialsId Credentials ID
|
|
22811
|
+
* @param {*} [options] Override http request option.
|
|
22812
|
+
* @throws {RequiredError}
|
|
22813
|
+
*/
|
|
22814
|
+
async getGcpCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
22815
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGcpCredentials(organizationId, credentialsId, options);
|
|
22816
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22817
|
+
},
|
|
22316
22818
|
/**
|
|
22317
22819
|
*
|
|
22318
22820
|
* @summary Get a set of Scaleway credentials
|
|
@@ -22347,6 +22849,17 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
22347
22849
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDOCredentials(organizationId, options);
|
|
22348
22850
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22349
22851
|
},
|
|
22852
|
+
/**
|
|
22853
|
+
*
|
|
22854
|
+
* @summary List GCP credentials
|
|
22855
|
+
* @param {string} organizationId Organization ID
|
|
22856
|
+
* @param {*} [options] Override http request option.
|
|
22857
|
+
* @throws {RequiredError}
|
|
22858
|
+
*/
|
|
22859
|
+
async listGcpCredentials(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentialsResponseList>> {
|
|
22860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpCredentials(organizationId, options);
|
|
22861
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22862
|
+
},
|
|
22350
22863
|
/**
|
|
22351
22864
|
*
|
|
22352
22865
|
* @summary List Scaleway credentials
|
|
@@ -22390,6 +22903,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
22390
22903
|
createDOCredentials(organizationId: string, doCredentialsRequest?: DoCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
22391
22904
|
return localVarFp.createDOCredentials(organizationId, doCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
22392
22905
|
},
|
|
22906
|
+
/**
|
|
22907
|
+
*
|
|
22908
|
+
* @summary Create GCP credentials set
|
|
22909
|
+
* @param {string} organizationId Organization ID
|
|
22910
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
22911
|
+
* @param {*} [options] Override http request option.
|
|
22912
|
+
* @throws {RequiredError}
|
|
22913
|
+
*/
|
|
22914
|
+
createGCPCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
22915
|
+
return localVarFp.createGCPCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
22916
|
+
},
|
|
22393
22917
|
/**
|
|
22394
22918
|
*
|
|
22395
22919
|
* @summary Create Scaleway credentials set
|
|
@@ -22423,6 +22947,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
22423
22947
|
deleteDOCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
|
|
22424
22948
|
return localVarFp.deleteDOCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
|
|
22425
22949
|
},
|
|
22950
|
+
/**
|
|
22951
|
+
*
|
|
22952
|
+
* @summary Delete a set of GCP credentials
|
|
22953
|
+
* @param {string} credentialsId Credentials ID
|
|
22954
|
+
* @param {string} organizationId Organization ID
|
|
22955
|
+
* @param {*} [options] Override http request option.
|
|
22956
|
+
* @throws {RequiredError}
|
|
22957
|
+
*/
|
|
22958
|
+
deleteGcpCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
|
|
22959
|
+
return localVarFp.deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
|
|
22960
|
+
},
|
|
22426
22961
|
/**
|
|
22427
22962
|
*
|
|
22428
22963
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -22458,6 +22993,18 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
22458
22993
|
editDOCredentials(organizationId: string, credentialsId: string, doCredentialsRequest?: DoCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
22459
22994
|
return localVarFp.editDOCredentials(organizationId, credentialsId, doCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
22460
22995
|
},
|
|
22996
|
+
/**
|
|
22997
|
+
*
|
|
22998
|
+
* @summary Edit a set of GCP credentials
|
|
22999
|
+
* @param {string} organizationId Organization ID
|
|
23000
|
+
* @param {string} credentialsId Credentials ID
|
|
23001
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
23002
|
+
* @param {*} [options] Override http request option.
|
|
23003
|
+
* @throws {RequiredError}
|
|
23004
|
+
*/
|
|
23005
|
+
editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
23006
|
+
return localVarFp.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
23007
|
+
},
|
|
22461
23008
|
/**
|
|
22462
23009
|
*
|
|
22463
23010
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -22492,6 +23039,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
22492
23039
|
getDOCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
|
|
22493
23040
|
return localVarFp.getDOCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
22494
23041
|
},
|
|
23042
|
+
/**
|
|
23043
|
+
*
|
|
23044
|
+
* @summary Get a set of GCP credentials
|
|
23045
|
+
* @param {string} organizationId Organization ID
|
|
23046
|
+
* @param {string} credentialsId Credentials ID
|
|
23047
|
+
* @param {*} [options] Override http request option.
|
|
23048
|
+
* @throws {RequiredError}
|
|
23049
|
+
*/
|
|
23050
|
+
getGcpCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
|
|
23051
|
+
return localVarFp.getGcpCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
23052
|
+
},
|
|
22495
23053
|
/**
|
|
22496
23054
|
*
|
|
22497
23055
|
* @summary Get a set of Scaleway credentials
|
|
@@ -22523,6 +23081,16 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
22523
23081
|
listDOCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
|
|
22524
23082
|
return localVarFp.listDOCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
22525
23083
|
},
|
|
23084
|
+
/**
|
|
23085
|
+
*
|
|
23086
|
+
* @summary List GCP credentials
|
|
23087
|
+
* @param {string} organizationId Organization ID
|
|
23088
|
+
* @param {*} [options] Override http request option.
|
|
23089
|
+
* @throws {RequiredError}
|
|
23090
|
+
*/
|
|
23091
|
+
listGcpCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
|
|
23092
|
+
return localVarFp.listGcpCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
23093
|
+
},
|
|
22526
23094
|
/**
|
|
22527
23095
|
*
|
|
22528
23096
|
* @summary List Scaleway credentials
|
|
@@ -22569,6 +23137,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
22569
23137
|
return CloudProviderCredentialsApiFp(this.configuration).createDOCredentials(organizationId, doCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22570
23138
|
}
|
|
22571
23139
|
|
|
23140
|
+
/**
|
|
23141
|
+
*
|
|
23142
|
+
* @summary Create GCP credentials set
|
|
23143
|
+
* @param {string} organizationId Organization ID
|
|
23144
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
23145
|
+
* @param {*} [options] Override http request option.
|
|
23146
|
+
* @throws {RequiredError}
|
|
23147
|
+
* @memberof CloudProviderCredentialsApi
|
|
23148
|
+
*/
|
|
23149
|
+
public createGCPCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig) {
|
|
23150
|
+
return CloudProviderCredentialsApiFp(this.configuration).createGCPCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23151
|
+
}
|
|
23152
|
+
|
|
22572
23153
|
/**
|
|
22573
23154
|
*
|
|
22574
23155
|
* @summary Create Scaleway credentials set
|
|
@@ -22608,6 +23189,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
22608
23189
|
return CloudProviderCredentialsApiFp(this.configuration).deleteDOCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
22609
23190
|
}
|
|
22610
23191
|
|
|
23192
|
+
/**
|
|
23193
|
+
*
|
|
23194
|
+
* @summary Delete a set of GCP credentials
|
|
23195
|
+
* @param {string} credentialsId Credentials ID
|
|
23196
|
+
* @param {string} organizationId Organization ID
|
|
23197
|
+
* @param {*} [options] Override http request option.
|
|
23198
|
+
* @throws {RequiredError}
|
|
23199
|
+
* @memberof CloudProviderCredentialsApi
|
|
23200
|
+
*/
|
|
23201
|
+
public deleteGcpCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig) {
|
|
23202
|
+
return CloudProviderCredentialsApiFp(this.configuration).deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
23203
|
+
}
|
|
23204
|
+
|
|
22611
23205
|
/**
|
|
22612
23206
|
*
|
|
22613
23207
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -22649,6 +23243,20 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
22649
23243
|
return CloudProviderCredentialsApiFp(this.configuration).editDOCredentials(organizationId, credentialsId, doCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22650
23244
|
}
|
|
22651
23245
|
|
|
23246
|
+
/**
|
|
23247
|
+
*
|
|
23248
|
+
* @summary Edit a set of GCP credentials
|
|
23249
|
+
* @param {string} organizationId Organization ID
|
|
23250
|
+
* @param {string} credentialsId Credentials ID
|
|
23251
|
+
* @param {GcpCredentialsRequest} [gcpCredentialsRequest]
|
|
23252
|
+
* @param {*} [options] Override http request option.
|
|
23253
|
+
* @throws {RequiredError}
|
|
23254
|
+
* @memberof CloudProviderCredentialsApi
|
|
23255
|
+
*/
|
|
23256
|
+
public editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig) {
|
|
23257
|
+
return CloudProviderCredentialsApiFp(this.configuration).editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23258
|
+
}
|
|
23259
|
+
|
|
22652
23260
|
/**
|
|
22653
23261
|
*
|
|
22654
23262
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -22689,6 +23297,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
22689
23297
|
return CloudProviderCredentialsApiFp(this.configuration).getDOCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
22690
23298
|
}
|
|
22691
23299
|
|
|
23300
|
+
/**
|
|
23301
|
+
*
|
|
23302
|
+
* @summary Get a set of GCP credentials
|
|
23303
|
+
* @param {string} organizationId Organization ID
|
|
23304
|
+
* @param {string} credentialsId Credentials ID
|
|
23305
|
+
* @param {*} [options] Override http request option.
|
|
23306
|
+
* @throws {RequiredError}
|
|
23307
|
+
* @memberof CloudProviderCredentialsApi
|
|
23308
|
+
*/
|
|
23309
|
+
public getGcpCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig) {
|
|
23310
|
+
return CloudProviderCredentialsApiFp(this.configuration).getGcpCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
23311
|
+
}
|
|
23312
|
+
|
|
22692
23313
|
/**
|
|
22693
23314
|
*
|
|
22694
23315
|
* @summary Get a set of Scaleway credentials
|
|
@@ -22726,6 +23347,18 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
22726
23347
|
return CloudProviderCredentialsApiFp(this.configuration).listDOCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
22727
23348
|
}
|
|
22728
23349
|
|
|
23350
|
+
/**
|
|
23351
|
+
*
|
|
23352
|
+
* @summary List GCP credentials
|
|
23353
|
+
* @param {string} organizationId Organization ID
|
|
23354
|
+
* @param {*} [options] Override http request option.
|
|
23355
|
+
* @throws {RequiredError}
|
|
23356
|
+
* @memberof CloudProviderCredentialsApi
|
|
23357
|
+
*/
|
|
23358
|
+
public listGcpCredentials(organizationId: string, options?: AxiosRequestConfig) {
|
|
23359
|
+
return CloudProviderCredentialsApiFp(this.configuration).listGcpCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
23360
|
+
}
|
|
23361
|
+
|
|
22729
23362
|
/**
|
|
22730
23363
|
*
|
|
22731
23364
|
* @summary List Scaleway credentials
|