qovery-typescript-axios 1.1.407 → 1.1.409
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 +424 -6
- package/dist/api.d.ts +204 -6
- package/dist/api.js +373 -0
- package/dist/esm/api.d.ts +204 -6
- package/dist/esm/api.js +373 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1939,6 +1939,12 @@ export interface Cluster {
|
|
|
1939
1939
|
* @memberof Cluster
|
|
1940
1940
|
*/
|
|
1941
1941
|
'is_default'?: boolean;
|
|
1942
|
+
/**
|
|
1943
|
+
* specific flag to indicate that this cluster is a demo one
|
|
1944
|
+
* @type {boolean}
|
|
1945
|
+
* @memberof Cluster
|
|
1946
|
+
*/
|
|
1947
|
+
'is_demo'?: boolean;
|
|
1942
1948
|
/**
|
|
1943
1949
|
* specific flag to indicate that this cluster is a production one
|
|
1944
1950
|
* @type {boolean}
|
|
@@ -2918,12 +2924,6 @@ export interface ClusterRequest {
|
|
|
2918
2924
|
* @memberof ClusterRequest
|
|
2919
2925
|
*/
|
|
2920
2926
|
'ssh_keys'?: Array<string>;
|
|
2921
|
-
/**
|
|
2922
|
-
* If the cluster is a self managed one. The kubeconfig to use to connect to it
|
|
2923
|
-
* @type {string}
|
|
2924
|
-
* @memberof ClusterRequest
|
|
2925
|
-
*/
|
|
2926
|
-
'kubeconfig'?: string;
|
|
2927
2927
|
/**
|
|
2928
2928
|
*
|
|
2929
2929
|
* @type {Array<ClusterRequestFeaturesInner>}
|
|
@@ -9876,6 +9876,19 @@ export interface Name {
|
|
|
9876
9876
|
*/
|
|
9877
9877
|
'name': string;
|
|
9878
9878
|
}
|
|
9879
|
+
/**
|
|
9880
|
+
*
|
|
9881
|
+
* @export
|
|
9882
|
+
* @interface OnPremiseCredentialsRequest
|
|
9883
|
+
*/
|
|
9884
|
+
export interface OnPremiseCredentialsRequest {
|
|
9885
|
+
/**
|
|
9886
|
+
*
|
|
9887
|
+
* @type {string}
|
|
9888
|
+
* @memberof OnPremiseCredentialsRequest
|
|
9889
|
+
*/
|
|
9890
|
+
'name': string;
|
|
9891
|
+
}
|
|
9879
9892
|
/**
|
|
9880
9893
|
*
|
|
9881
9894
|
* @export
|
|
@@ -20434,6 +20447,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20434
20447
|
options: localVarRequestOptions,
|
|
20435
20448
|
};
|
|
20436
20449
|
},
|
|
20450
|
+
/**
|
|
20451
|
+
*
|
|
20452
|
+
* @summary Create OnPremise credentials set
|
|
20453
|
+
* @param {string} organizationId Organization ID
|
|
20454
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
20455
|
+
* @param {*} [options] Override http request option.
|
|
20456
|
+
* @throws {RequiredError}
|
|
20457
|
+
*/
|
|
20458
|
+
createOnPremiseCredentials: async (organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20459
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
20460
|
+
assertParamExists('createOnPremiseCredentials', 'organizationId', organizationId)
|
|
20461
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials`
|
|
20462
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
20463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20465
|
+
let baseOptions;
|
|
20466
|
+
if (configuration) {
|
|
20467
|
+
baseOptions = configuration.baseOptions;
|
|
20468
|
+
}
|
|
20469
|
+
|
|
20470
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
20471
|
+
const localVarHeaderParameter = {} as any;
|
|
20472
|
+
const localVarQueryParameter = {} as any;
|
|
20473
|
+
|
|
20474
|
+
// authentication ApiKeyAuth required
|
|
20475
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20476
|
+
|
|
20477
|
+
// authentication bearerAuth required
|
|
20478
|
+
// http bearer authentication required
|
|
20479
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20480
|
+
|
|
20481
|
+
|
|
20482
|
+
|
|
20483
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20484
|
+
|
|
20485
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20486
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20487
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20488
|
+
localVarRequestOptions.data = serializeDataIfNeeded(onPremiseCredentialsRequest, localVarRequestOptions, configuration)
|
|
20489
|
+
|
|
20490
|
+
return {
|
|
20491
|
+
url: toPathString(localVarUrlObj),
|
|
20492
|
+
options: localVarRequestOptions,
|
|
20493
|
+
};
|
|
20494
|
+
},
|
|
20437
20495
|
/**
|
|
20438
20496
|
*
|
|
20439
20497
|
* @summary Create Scaleway credentials set
|
|
@@ -20560,6 +20618,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20560
20618
|
|
|
20561
20619
|
|
|
20562
20620
|
|
|
20621
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20622
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20623
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20624
|
+
|
|
20625
|
+
return {
|
|
20626
|
+
url: toPathString(localVarUrlObj),
|
|
20627
|
+
options: localVarRequestOptions,
|
|
20628
|
+
};
|
|
20629
|
+
},
|
|
20630
|
+
/**
|
|
20631
|
+
*
|
|
20632
|
+
* @summary Delete a set of OnPremise credentials
|
|
20633
|
+
* @param {string} credentialsId Credentials ID
|
|
20634
|
+
* @param {string} organizationId Organization ID
|
|
20635
|
+
* @param {*} [options] Override http request option.
|
|
20636
|
+
* @throws {RequiredError}
|
|
20637
|
+
*/
|
|
20638
|
+
deleteOnPremiseCredentials: async (credentialsId: string, organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20639
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
20640
|
+
assertParamExists('deleteOnPremiseCredentials', 'credentialsId', credentialsId)
|
|
20641
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
20642
|
+
assertParamExists('deleteOnPremiseCredentials', 'organizationId', organizationId)
|
|
20643
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials/{credentialsId}`
|
|
20644
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
|
|
20645
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
20646
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20647
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20648
|
+
let baseOptions;
|
|
20649
|
+
if (configuration) {
|
|
20650
|
+
baseOptions = configuration.baseOptions;
|
|
20651
|
+
}
|
|
20652
|
+
|
|
20653
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
20654
|
+
const localVarHeaderParameter = {} as any;
|
|
20655
|
+
const localVarQueryParameter = {} as any;
|
|
20656
|
+
|
|
20657
|
+
// authentication ApiKeyAuth required
|
|
20658
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20659
|
+
|
|
20660
|
+
// authentication bearerAuth required
|
|
20661
|
+
// http bearer authentication required
|
|
20662
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20663
|
+
|
|
20664
|
+
|
|
20665
|
+
|
|
20563
20666
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20564
20667
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20565
20668
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20712,6 +20815,55 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20712
20815
|
options: localVarRequestOptions,
|
|
20713
20816
|
};
|
|
20714
20817
|
},
|
|
20818
|
+
/**
|
|
20819
|
+
*
|
|
20820
|
+
* @summary Edit a set of OnPremise credentials
|
|
20821
|
+
* @param {string} organizationId Organization ID
|
|
20822
|
+
* @param {string} credentialsId Credentials ID
|
|
20823
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
20824
|
+
* @param {*} [options] Override http request option.
|
|
20825
|
+
* @throws {RequiredError}
|
|
20826
|
+
*/
|
|
20827
|
+
editOnPremiseCredentials: async (organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20828
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
20829
|
+
assertParamExists('editOnPremiseCredentials', 'organizationId', organizationId)
|
|
20830
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
20831
|
+
assertParamExists('editOnPremiseCredentials', 'credentialsId', credentialsId)
|
|
20832
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials/{credentialsId}`
|
|
20833
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
20834
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
20835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20836
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20837
|
+
let baseOptions;
|
|
20838
|
+
if (configuration) {
|
|
20839
|
+
baseOptions = configuration.baseOptions;
|
|
20840
|
+
}
|
|
20841
|
+
|
|
20842
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
20843
|
+
const localVarHeaderParameter = {} as any;
|
|
20844
|
+
const localVarQueryParameter = {} as any;
|
|
20845
|
+
|
|
20846
|
+
// authentication ApiKeyAuth required
|
|
20847
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20848
|
+
|
|
20849
|
+
// authentication bearerAuth required
|
|
20850
|
+
// http bearer authentication required
|
|
20851
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20852
|
+
|
|
20853
|
+
|
|
20854
|
+
|
|
20855
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20856
|
+
|
|
20857
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20858
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20859
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20860
|
+
localVarRequestOptions.data = serializeDataIfNeeded(onPremiseCredentialsRequest, localVarRequestOptions, configuration)
|
|
20861
|
+
|
|
20862
|
+
return {
|
|
20863
|
+
url: toPathString(localVarUrlObj),
|
|
20864
|
+
options: localVarRequestOptions,
|
|
20865
|
+
};
|
|
20866
|
+
},
|
|
20715
20867
|
/**
|
|
20716
20868
|
*
|
|
20717
20869
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -20842,6 +20994,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20842
20994
|
|
|
20843
20995
|
|
|
20844
20996
|
|
|
20997
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20998
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20999
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21000
|
+
|
|
21001
|
+
return {
|
|
21002
|
+
url: toPathString(localVarUrlObj),
|
|
21003
|
+
options: localVarRequestOptions,
|
|
21004
|
+
};
|
|
21005
|
+
},
|
|
21006
|
+
/**
|
|
21007
|
+
*
|
|
21008
|
+
* @summary Get a set of OnPremise credentials
|
|
21009
|
+
* @param {string} organizationId Organization ID
|
|
21010
|
+
* @param {string} credentialsId Credentials ID
|
|
21011
|
+
* @param {*} [options] Override http request option.
|
|
21012
|
+
* @throws {RequiredError}
|
|
21013
|
+
*/
|
|
21014
|
+
getOnPremiseCredentials: async (organizationId: string, credentialsId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21015
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
21016
|
+
assertParamExists('getOnPremiseCredentials', 'organizationId', organizationId)
|
|
21017
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
21018
|
+
assertParamExists('getOnPremiseCredentials', 'credentialsId', credentialsId)
|
|
21019
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials/{credentialsId}`
|
|
21020
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21021
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
21022
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21023
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21024
|
+
let baseOptions;
|
|
21025
|
+
if (configuration) {
|
|
21026
|
+
baseOptions = configuration.baseOptions;
|
|
21027
|
+
}
|
|
21028
|
+
|
|
21029
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21030
|
+
const localVarHeaderParameter = {} as any;
|
|
21031
|
+
const localVarQueryParameter = {} as any;
|
|
21032
|
+
|
|
21033
|
+
// authentication ApiKeyAuth required
|
|
21034
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
21035
|
+
|
|
21036
|
+
// authentication bearerAuth required
|
|
21037
|
+
// http bearer authentication required
|
|
21038
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21039
|
+
|
|
21040
|
+
|
|
21041
|
+
|
|
20845
21042
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20846
21043
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20847
21044
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20969,6 +21166,47 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20969
21166
|
|
|
20970
21167
|
|
|
20971
21168
|
|
|
21169
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21170
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21171
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21172
|
+
|
|
21173
|
+
return {
|
|
21174
|
+
url: toPathString(localVarUrlObj),
|
|
21175
|
+
options: localVarRequestOptions,
|
|
21176
|
+
};
|
|
21177
|
+
},
|
|
21178
|
+
/**
|
|
21179
|
+
*
|
|
21180
|
+
* @summary List OnPremise credentials
|
|
21181
|
+
* @param {string} organizationId Organization ID
|
|
21182
|
+
* @param {*} [options] Override http request option.
|
|
21183
|
+
* @throws {RequiredError}
|
|
21184
|
+
*/
|
|
21185
|
+
listOnPremiseCredentials: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21186
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
21187
|
+
assertParamExists('listOnPremiseCredentials', 'organizationId', organizationId)
|
|
21188
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials`
|
|
21189
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
21190
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21191
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21192
|
+
let baseOptions;
|
|
21193
|
+
if (configuration) {
|
|
21194
|
+
baseOptions = configuration.baseOptions;
|
|
21195
|
+
}
|
|
21196
|
+
|
|
21197
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21198
|
+
const localVarHeaderParameter = {} as any;
|
|
21199
|
+
const localVarQueryParameter = {} as any;
|
|
21200
|
+
|
|
21201
|
+
// authentication ApiKeyAuth required
|
|
21202
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
21203
|
+
|
|
21204
|
+
// authentication bearerAuth required
|
|
21205
|
+
// http bearer authentication required
|
|
21206
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21207
|
+
|
|
21208
|
+
|
|
21209
|
+
|
|
20972
21210
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20973
21211
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20974
21212
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21053,6 +21291,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21053
21291
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createGcpCredentials(organizationId, gcpCredentialsRequest, options);
|
|
21054
21292
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21055
21293
|
},
|
|
21294
|
+
/**
|
|
21295
|
+
*
|
|
21296
|
+
* @summary Create OnPremise credentials set
|
|
21297
|
+
* @param {string} organizationId Organization ID
|
|
21298
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21299
|
+
* @param {*} [options] Override http request option.
|
|
21300
|
+
* @throws {RequiredError}
|
|
21301
|
+
*/
|
|
21302
|
+
async createOnPremiseCredentials(organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
21303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOnPremiseCredentials(organizationId, onPremiseCredentialsRequest, options);
|
|
21304
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21305
|
+
},
|
|
21056
21306
|
/**
|
|
21057
21307
|
*
|
|
21058
21308
|
* @summary Create Scaleway credentials set
|
|
@@ -21089,6 +21339,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21089
21339
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGcpCredentials(credentialsId, organizationId, options);
|
|
21090
21340
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21091
21341
|
},
|
|
21342
|
+
/**
|
|
21343
|
+
*
|
|
21344
|
+
* @summary Delete a set of OnPremise credentials
|
|
21345
|
+
* @param {string} credentialsId Credentials ID
|
|
21346
|
+
* @param {string} organizationId Organization ID
|
|
21347
|
+
* @param {*} [options] Override http request option.
|
|
21348
|
+
* @throws {RequiredError}
|
|
21349
|
+
*/
|
|
21350
|
+
async deleteOnPremiseCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21351
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOnPremiseCredentials(credentialsId, organizationId, options);
|
|
21352
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21353
|
+
},
|
|
21092
21354
|
/**
|
|
21093
21355
|
*
|
|
21094
21356
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -21127,6 +21389,19 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21127
21389
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options);
|
|
21128
21390
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21129
21391
|
},
|
|
21392
|
+
/**
|
|
21393
|
+
*
|
|
21394
|
+
* @summary Edit a set of OnPremise credentials
|
|
21395
|
+
* @param {string} organizationId Organization ID
|
|
21396
|
+
* @param {string} credentialsId Credentials ID
|
|
21397
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21398
|
+
* @param {*} [options] Override http request option.
|
|
21399
|
+
* @throws {RequiredError}
|
|
21400
|
+
*/
|
|
21401
|
+
async editOnPremiseCredentials(organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
21402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOnPremiseCredentials(organizationId, credentialsId, onPremiseCredentialsRequest, options);
|
|
21403
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21404
|
+
},
|
|
21130
21405
|
/**
|
|
21131
21406
|
*
|
|
21132
21407
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -21164,6 +21439,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21164
21439
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGcpCredentials(organizationId, credentialsId, options);
|
|
21165
21440
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21166
21441
|
},
|
|
21442
|
+
/**
|
|
21443
|
+
*
|
|
21444
|
+
* @summary Get a set of OnPremise credentials
|
|
21445
|
+
* @param {string} organizationId Organization ID
|
|
21446
|
+
* @param {string} credentialsId Credentials ID
|
|
21447
|
+
* @param {*} [options] Override http request option.
|
|
21448
|
+
* @throws {RequiredError}
|
|
21449
|
+
*/
|
|
21450
|
+
async getOnPremiseCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
21451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOnPremiseCredentials(organizationId, credentialsId, options);
|
|
21452
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21453
|
+
},
|
|
21167
21454
|
/**
|
|
21168
21455
|
*
|
|
21169
21456
|
* @summary Get a set of Scaleway credentials
|
|
@@ -21198,6 +21485,17 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21198
21485
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpCredentials(organizationId, options);
|
|
21199
21486
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21200
21487
|
},
|
|
21488
|
+
/**
|
|
21489
|
+
*
|
|
21490
|
+
* @summary List OnPremise credentials
|
|
21491
|
+
* @param {string} organizationId Organization ID
|
|
21492
|
+
* @param {*} [options] Override http request option.
|
|
21493
|
+
* @throws {RequiredError}
|
|
21494
|
+
*/
|
|
21495
|
+
async listOnPremiseCredentials(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentialsResponseList>> {
|
|
21496
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOnPremiseCredentials(organizationId, options);
|
|
21497
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21498
|
+
},
|
|
21201
21499
|
/**
|
|
21202
21500
|
*
|
|
21203
21501
|
* @summary List Scaleway credentials
|
|
@@ -21241,6 +21539,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21241
21539
|
createGcpCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21242
21540
|
return localVarFp.createGcpCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21243
21541
|
},
|
|
21542
|
+
/**
|
|
21543
|
+
*
|
|
21544
|
+
* @summary Create OnPremise credentials set
|
|
21545
|
+
* @param {string} organizationId Organization ID
|
|
21546
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21547
|
+
* @param {*} [options] Override http request option.
|
|
21548
|
+
* @throws {RequiredError}
|
|
21549
|
+
*/
|
|
21550
|
+
createOnPremiseCredentials(organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21551
|
+
return localVarFp.createOnPremiseCredentials(organizationId, onPremiseCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21552
|
+
},
|
|
21244
21553
|
/**
|
|
21245
21554
|
*
|
|
21246
21555
|
* @summary Create Scaleway credentials set
|
|
@@ -21274,6 +21583,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21274
21583
|
deleteGcpCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
|
|
21275
21584
|
return localVarFp.deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
|
|
21276
21585
|
},
|
|
21586
|
+
/**
|
|
21587
|
+
*
|
|
21588
|
+
* @summary Delete a set of OnPremise credentials
|
|
21589
|
+
* @param {string} credentialsId Credentials ID
|
|
21590
|
+
* @param {string} organizationId Organization ID
|
|
21591
|
+
* @param {*} [options] Override http request option.
|
|
21592
|
+
* @throws {RequiredError}
|
|
21593
|
+
*/
|
|
21594
|
+
deleteOnPremiseCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
|
|
21595
|
+
return localVarFp.deleteOnPremiseCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
|
|
21596
|
+
},
|
|
21277
21597
|
/**
|
|
21278
21598
|
*
|
|
21279
21599
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -21309,6 +21629,18 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21309
21629
|
editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21310
21630
|
return localVarFp.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21311
21631
|
},
|
|
21632
|
+
/**
|
|
21633
|
+
*
|
|
21634
|
+
* @summary Edit a set of OnPremise credentials
|
|
21635
|
+
* @param {string} organizationId Organization ID
|
|
21636
|
+
* @param {string} credentialsId Credentials ID
|
|
21637
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21638
|
+
* @param {*} [options] Override http request option.
|
|
21639
|
+
* @throws {RequiredError}
|
|
21640
|
+
*/
|
|
21641
|
+
editOnPremiseCredentials(organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21642
|
+
return localVarFp.editOnPremiseCredentials(organizationId, credentialsId, onPremiseCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21643
|
+
},
|
|
21312
21644
|
/**
|
|
21313
21645
|
*
|
|
21314
21646
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -21343,6 +21675,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21343
21675
|
getGcpCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21344
21676
|
return localVarFp.getGcpCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
21345
21677
|
},
|
|
21678
|
+
/**
|
|
21679
|
+
*
|
|
21680
|
+
* @summary Get a set of OnPremise credentials
|
|
21681
|
+
* @param {string} organizationId Organization ID
|
|
21682
|
+
* @param {string} credentialsId Credentials ID
|
|
21683
|
+
* @param {*} [options] Override http request option.
|
|
21684
|
+
* @throws {RequiredError}
|
|
21685
|
+
*/
|
|
21686
|
+
getOnPremiseCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21687
|
+
return localVarFp.getOnPremiseCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
21688
|
+
},
|
|
21346
21689
|
/**
|
|
21347
21690
|
*
|
|
21348
21691
|
* @summary Get a set of Scaleway credentials
|
|
@@ -21374,6 +21717,16 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21374
21717
|
listGcpCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
|
|
21375
21718
|
return localVarFp.listGcpCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
21376
21719
|
},
|
|
21720
|
+
/**
|
|
21721
|
+
*
|
|
21722
|
+
* @summary List OnPremise credentials
|
|
21723
|
+
* @param {string} organizationId Organization ID
|
|
21724
|
+
* @param {*} [options] Override http request option.
|
|
21725
|
+
* @throws {RequiredError}
|
|
21726
|
+
*/
|
|
21727
|
+
listOnPremiseCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
|
|
21728
|
+
return localVarFp.listOnPremiseCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
21729
|
+
},
|
|
21377
21730
|
/**
|
|
21378
21731
|
*
|
|
21379
21732
|
* @summary List Scaleway credentials
|
|
@@ -21420,6 +21773,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21420
21773
|
return CloudProviderCredentialsApiFp(this.configuration).createGcpCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21421
21774
|
}
|
|
21422
21775
|
|
|
21776
|
+
/**
|
|
21777
|
+
*
|
|
21778
|
+
* @summary Create OnPremise credentials set
|
|
21779
|
+
* @param {string} organizationId Organization ID
|
|
21780
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21781
|
+
* @param {*} [options] Override http request option.
|
|
21782
|
+
* @throws {RequiredError}
|
|
21783
|
+
* @memberof CloudProviderCredentialsApi
|
|
21784
|
+
*/
|
|
21785
|
+
public createOnPremiseCredentials(organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig) {
|
|
21786
|
+
return CloudProviderCredentialsApiFp(this.configuration).createOnPremiseCredentials(organizationId, onPremiseCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21787
|
+
}
|
|
21788
|
+
|
|
21423
21789
|
/**
|
|
21424
21790
|
*
|
|
21425
21791
|
* @summary Create Scaleway credentials set
|
|
@@ -21459,6 +21825,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21459
21825
|
return CloudProviderCredentialsApiFp(this.configuration).deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
21460
21826
|
}
|
|
21461
21827
|
|
|
21828
|
+
/**
|
|
21829
|
+
*
|
|
21830
|
+
* @summary Delete a set of OnPremise credentials
|
|
21831
|
+
* @param {string} credentialsId Credentials ID
|
|
21832
|
+
* @param {string} organizationId Organization ID
|
|
21833
|
+
* @param {*} [options] Override http request option.
|
|
21834
|
+
* @throws {RequiredError}
|
|
21835
|
+
* @memberof CloudProviderCredentialsApi
|
|
21836
|
+
*/
|
|
21837
|
+
public deleteOnPremiseCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig) {
|
|
21838
|
+
return CloudProviderCredentialsApiFp(this.configuration).deleteOnPremiseCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
21839
|
+
}
|
|
21840
|
+
|
|
21462
21841
|
/**
|
|
21463
21842
|
*
|
|
21464
21843
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -21500,6 +21879,20 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21500
21879
|
return CloudProviderCredentialsApiFp(this.configuration).editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21501
21880
|
}
|
|
21502
21881
|
|
|
21882
|
+
/**
|
|
21883
|
+
*
|
|
21884
|
+
* @summary Edit a set of OnPremise credentials
|
|
21885
|
+
* @param {string} organizationId Organization ID
|
|
21886
|
+
* @param {string} credentialsId Credentials ID
|
|
21887
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21888
|
+
* @param {*} [options] Override http request option.
|
|
21889
|
+
* @throws {RequiredError}
|
|
21890
|
+
* @memberof CloudProviderCredentialsApi
|
|
21891
|
+
*/
|
|
21892
|
+
public editOnPremiseCredentials(organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig) {
|
|
21893
|
+
return CloudProviderCredentialsApiFp(this.configuration).editOnPremiseCredentials(organizationId, credentialsId, onPremiseCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21894
|
+
}
|
|
21895
|
+
|
|
21503
21896
|
/**
|
|
21504
21897
|
*
|
|
21505
21898
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -21540,6 +21933,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21540
21933
|
return CloudProviderCredentialsApiFp(this.configuration).getGcpCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
21541
21934
|
}
|
|
21542
21935
|
|
|
21936
|
+
/**
|
|
21937
|
+
*
|
|
21938
|
+
* @summary Get a set of OnPremise credentials
|
|
21939
|
+
* @param {string} organizationId Organization ID
|
|
21940
|
+
* @param {string} credentialsId Credentials ID
|
|
21941
|
+
* @param {*} [options] Override http request option.
|
|
21942
|
+
* @throws {RequiredError}
|
|
21943
|
+
* @memberof CloudProviderCredentialsApi
|
|
21944
|
+
*/
|
|
21945
|
+
public getOnPremiseCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig) {
|
|
21946
|
+
return CloudProviderCredentialsApiFp(this.configuration).getOnPremiseCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
21947
|
+
}
|
|
21948
|
+
|
|
21543
21949
|
/**
|
|
21544
21950
|
*
|
|
21545
21951
|
* @summary Get a set of Scaleway credentials
|
|
@@ -21577,6 +21983,18 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21577
21983
|
return CloudProviderCredentialsApiFp(this.configuration).listGcpCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
21578
21984
|
}
|
|
21579
21985
|
|
|
21986
|
+
/**
|
|
21987
|
+
*
|
|
21988
|
+
* @summary List OnPremise credentials
|
|
21989
|
+
* @param {string} organizationId Organization ID
|
|
21990
|
+
* @param {*} [options] Override http request option.
|
|
21991
|
+
* @throws {RequiredError}
|
|
21992
|
+
* @memberof CloudProviderCredentialsApi
|
|
21993
|
+
*/
|
|
21994
|
+
public listOnPremiseCredentials(organizationId: string, options?: AxiosRequestConfig) {
|
|
21995
|
+
return CloudProviderCredentialsApiFp(this.configuration).listOnPremiseCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
21996
|
+
}
|
|
21997
|
+
|
|
21580
21998
|
/**
|
|
21581
21999
|
*
|
|
21582
22000
|
* @summary List Scaleway credentials
|