qovery-typescript-axios 1.1.365 → 1.1.367
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 +100 -0
- package/dist/api.d.ts +53 -0
- package/dist/api.js +81 -0
- package/dist/esm/api.d.ts +53 -0
- package/dist/esm/api.js +81 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -12534,6 +12534,12 @@ export interface SignUp {
|
|
|
12534
12534
|
* @memberof SignUp
|
|
12535
12535
|
*/
|
|
12536
12536
|
'dx_auth'?: boolean | null;
|
|
12537
|
+
/**
|
|
12538
|
+
*
|
|
12539
|
+
* @type {string}
|
|
12540
|
+
* @memberof SignUp
|
|
12541
|
+
*/
|
|
12542
|
+
'infrastructure_hosting'?: string | null;
|
|
12537
12543
|
}
|
|
12538
12544
|
|
|
12539
12545
|
|
|
@@ -12615,6 +12621,12 @@ export interface SignUpRequest {
|
|
|
12615
12621
|
* @memberof SignUpRequest
|
|
12616
12622
|
*/
|
|
12617
12623
|
'dx_auth'?: boolean | null;
|
|
12624
|
+
/**
|
|
12625
|
+
*
|
|
12626
|
+
* @type {string}
|
|
12627
|
+
* @memberof SignUpRequest
|
|
12628
|
+
*/
|
|
12629
|
+
'infrastructure_hosting'?: string | null;
|
|
12618
12630
|
}
|
|
12619
12631
|
|
|
12620
12632
|
|
|
@@ -21336,6 +21348,55 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
21336
21348
|
options: localVarRequestOptions,
|
|
21337
21349
|
};
|
|
21338
21350
|
},
|
|
21351
|
+
/**
|
|
21352
|
+
*
|
|
21353
|
+
* @summary Edit cluster kubeconfig
|
|
21354
|
+
* @param {string} organizationId Organization ID
|
|
21355
|
+
* @param {string} clusterId Cluster ID
|
|
21356
|
+
* @param {string} [body]
|
|
21357
|
+
* @param {*} [options] Override http request option.
|
|
21358
|
+
* @throws {RequiredError}
|
|
21359
|
+
*/
|
|
21360
|
+
editClusterKubeconfig: async (organizationId: string, clusterId: string, body?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21361
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
21362
|
+
assertParamExists('editClusterKubeconfig', 'organizationId', organizationId)
|
|
21363
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
21364
|
+
assertParamExists('editClusterKubeconfig', 'clusterId', clusterId)
|
|
21365
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
|
|
21366
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21367
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
21368
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21369
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21370
|
+
let baseOptions;
|
|
21371
|
+
if (configuration) {
|
|
21372
|
+
baseOptions = configuration.baseOptions;
|
|
21373
|
+
}
|
|
21374
|
+
|
|
21375
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
21376
|
+
const localVarHeaderParameter = {} as any;
|
|
21377
|
+
const localVarQueryParameter = {} as any;
|
|
21378
|
+
|
|
21379
|
+
// authentication ApiKeyAuth required
|
|
21380
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
21381
|
+
|
|
21382
|
+
// authentication bearerAuth required
|
|
21383
|
+
// http bearer authentication required
|
|
21384
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21385
|
+
|
|
21386
|
+
|
|
21387
|
+
|
|
21388
|
+
localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
|
|
21389
|
+
|
|
21390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21392
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21393
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
21394
|
+
|
|
21395
|
+
return {
|
|
21396
|
+
url: toPathString(localVarUrlObj),
|
|
21397
|
+
options: localVarRequestOptions,
|
|
21398
|
+
};
|
|
21399
|
+
},
|
|
21339
21400
|
/**
|
|
21340
21401
|
* Edit routing table by returning updated table.
|
|
21341
21402
|
* @summary Edit routing table
|
|
@@ -22031,6 +22092,19 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
22031
22092
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options);
|
|
22032
22093
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22033
22094
|
},
|
|
22095
|
+
/**
|
|
22096
|
+
*
|
|
22097
|
+
* @summary Edit cluster kubeconfig
|
|
22098
|
+
* @param {string} organizationId Organization ID
|
|
22099
|
+
* @param {string} clusterId Cluster ID
|
|
22100
|
+
* @param {string} [body]
|
|
22101
|
+
* @param {*} [options] Override http request option.
|
|
22102
|
+
* @throws {RequiredError}
|
|
22103
|
+
*/
|
|
22104
|
+
async editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterKubeconfig(organizationId, clusterId, body, options);
|
|
22106
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22107
|
+
},
|
|
22034
22108
|
/**
|
|
22035
22109
|
* Edit routing table by returning updated table.
|
|
22036
22110
|
* @summary Edit routing table
|
|
@@ -22265,6 +22339,18 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
22265
22339
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings> {
|
|
22266
22340
|
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
22267
22341
|
},
|
|
22342
|
+
/**
|
|
22343
|
+
*
|
|
22344
|
+
* @summary Edit cluster kubeconfig
|
|
22345
|
+
* @param {string} organizationId Organization ID
|
|
22346
|
+
* @param {string} clusterId Cluster ID
|
|
22347
|
+
* @param {string} [body]
|
|
22348
|
+
* @param {*} [options] Override http request option.
|
|
22349
|
+
* @throws {RequiredError}
|
|
22350
|
+
*/
|
|
22351
|
+
editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: any): AxiosPromise<void> {
|
|
22352
|
+
return localVarFp.editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(axios, basePath));
|
|
22353
|
+
},
|
|
22268
22354
|
/**
|
|
22269
22355
|
* Edit routing table by returning updated table.
|
|
22270
22356
|
* @summary Edit routing table
|
|
@@ -22495,6 +22581,20 @@ export class ClustersApi extends BaseAPI {
|
|
|
22495
22581
|
return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
22496
22582
|
}
|
|
22497
22583
|
|
|
22584
|
+
/**
|
|
22585
|
+
*
|
|
22586
|
+
* @summary Edit cluster kubeconfig
|
|
22587
|
+
* @param {string} organizationId Organization ID
|
|
22588
|
+
* @param {string} clusterId Cluster ID
|
|
22589
|
+
* @param {string} [body]
|
|
22590
|
+
* @param {*} [options] Override http request option.
|
|
22591
|
+
* @throws {RequiredError}
|
|
22592
|
+
* @memberof ClustersApi
|
|
22593
|
+
*/
|
|
22594
|
+
public editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig) {
|
|
22595
|
+
return ClustersApiFp(this.configuration).editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(this.axios, this.basePath));
|
|
22596
|
+
}
|
|
22597
|
+
|
|
22498
22598
|
/**
|
|
22499
22599
|
* Edit routing table by returning updated table.
|
|
22500
22600
|
* @summary Edit routing table
|
package/dist/api.d.ts
CHANGED
|
@@ -12150,6 +12150,12 @@ export interface SignUp {
|
|
|
12150
12150
|
* @memberof SignUp
|
|
12151
12151
|
*/
|
|
12152
12152
|
'dx_auth'?: boolean | null;
|
|
12153
|
+
/**
|
|
12154
|
+
*
|
|
12155
|
+
* @type {string}
|
|
12156
|
+
* @memberof SignUp
|
|
12157
|
+
*/
|
|
12158
|
+
'infrastructure_hosting'?: string | null;
|
|
12153
12159
|
}
|
|
12154
12160
|
/**
|
|
12155
12161
|
*
|
|
@@ -12229,6 +12235,12 @@ export interface SignUpRequest {
|
|
|
12229
12235
|
* @memberof SignUpRequest
|
|
12230
12236
|
*/
|
|
12231
12237
|
'dx_auth'?: boolean | null;
|
|
12238
|
+
/**
|
|
12239
|
+
*
|
|
12240
|
+
* @type {string}
|
|
12241
|
+
* @memberof SignUpRequest
|
|
12242
|
+
*/
|
|
12243
|
+
'infrastructure_hosting'?: string | null;
|
|
12232
12244
|
}
|
|
12233
12245
|
/**
|
|
12234
12246
|
*
|
|
@@ -16614,6 +16626,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
16614
16626
|
* @throws {RequiredError}
|
|
16615
16627
|
*/
|
|
16616
16628
|
editClusterAdvancedSettings: (organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16629
|
+
/**
|
|
16630
|
+
*
|
|
16631
|
+
* @summary Edit cluster kubeconfig
|
|
16632
|
+
* @param {string} organizationId Organization ID
|
|
16633
|
+
* @param {string} clusterId Cluster ID
|
|
16634
|
+
* @param {string} [body]
|
|
16635
|
+
* @param {*} [options] Override http request option.
|
|
16636
|
+
* @throws {RequiredError}
|
|
16637
|
+
*/
|
|
16638
|
+
editClusterKubeconfig: (organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16617
16639
|
/**
|
|
16618
16640
|
* Edit routing table by returning updated table.
|
|
16619
16641
|
* @summary Edit routing table
|
|
@@ -16792,6 +16814,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
16792
16814
|
* @throws {RequiredError}
|
|
16793
16815
|
*/
|
|
16794
16816
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
16817
|
+
/**
|
|
16818
|
+
*
|
|
16819
|
+
* @summary Edit cluster kubeconfig
|
|
16820
|
+
* @param {string} organizationId Organization ID
|
|
16821
|
+
* @param {string} clusterId Cluster ID
|
|
16822
|
+
* @param {string} [body]
|
|
16823
|
+
* @param {*} [options] Override http request option.
|
|
16824
|
+
* @throws {RequiredError}
|
|
16825
|
+
*/
|
|
16826
|
+
editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
16795
16827
|
/**
|
|
16796
16828
|
* Edit routing table by returning updated table.
|
|
16797
16829
|
* @summary Edit routing table
|
|
@@ -16970,6 +17002,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
16970
17002
|
* @throws {RequiredError}
|
|
16971
17003
|
*/
|
|
16972
17004
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings>;
|
|
17005
|
+
/**
|
|
17006
|
+
*
|
|
17007
|
+
* @summary Edit cluster kubeconfig
|
|
17008
|
+
* @param {string} organizationId Organization ID
|
|
17009
|
+
* @param {string} clusterId Cluster ID
|
|
17010
|
+
* @param {string} [body]
|
|
17011
|
+
* @param {*} [options] Override http request option.
|
|
17012
|
+
* @throws {RequiredError}
|
|
17013
|
+
*/
|
|
17014
|
+
editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: any): AxiosPromise<void>;
|
|
16973
17015
|
/**
|
|
16974
17016
|
* Edit routing table by returning updated table.
|
|
16975
17017
|
* @summary Edit routing table
|
|
@@ -17155,6 +17197,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
17155
17197
|
* @memberof ClustersApi
|
|
17156
17198
|
*/
|
|
17157
17199
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
|
|
17200
|
+
/**
|
|
17201
|
+
*
|
|
17202
|
+
* @summary Edit cluster kubeconfig
|
|
17203
|
+
* @param {string} organizationId Organization ID
|
|
17204
|
+
* @param {string} clusterId Cluster ID
|
|
17205
|
+
* @param {string} [body]
|
|
17206
|
+
* @param {*} [options] Override http request option.
|
|
17207
|
+
* @throws {RequiredError}
|
|
17208
|
+
* @memberof ClustersApi
|
|
17209
|
+
*/
|
|
17210
|
+
editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17158
17211
|
/**
|
|
17159
17212
|
* Edit routing table by returning updated table.
|
|
17160
17213
|
* @summary Edit routing table
|
package/dist/api.js
CHANGED
|
@@ -8048,6 +8048,47 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8048
8048
|
options: localVarRequestOptions,
|
|
8049
8049
|
};
|
|
8050
8050
|
}),
|
|
8051
|
+
/**
|
|
8052
|
+
*
|
|
8053
|
+
* @summary Edit cluster kubeconfig
|
|
8054
|
+
* @param {string} organizationId Organization ID
|
|
8055
|
+
* @param {string} clusterId Cluster ID
|
|
8056
|
+
* @param {string} [body]
|
|
8057
|
+
* @param {*} [options] Override http request option.
|
|
8058
|
+
* @throws {RequiredError}
|
|
8059
|
+
*/
|
|
8060
|
+
editClusterKubeconfig: (organizationId, clusterId, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8061
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
8062
|
+
(0, common_1.assertParamExists)('editClusterKubeconfig', 'organizationId', organizationId);
|
|
8063
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
8064
|
+
(0, common_1.assertParamExists)('editClusterKubeconfig', 'clusterId', clusterId);
|
|
8065
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
|
|
8066
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
8067
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
8068
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8069
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8070
|
+
let baseOptions;
|
|
8071
|
+
if (configuration) {
|
|
8072
|
+
baseOptions = configuration.baseOptions;
|
|
8073
|
+
}
|
|
8074
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8075
|
+
const localVarHeaderParameter = {};
|
|
8076
|
+
const localVarQueryParameter = {};
|
|
8077
|
+
// authentication ApiKeyAuth required
|
|
8078
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8079
|
+
// authentication bearerAuth required
|
|
8080
|
+
// http bearer authentication required
|
|
8081
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8082
|
+
localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
|
|
8083
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8084
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8085
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8086
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8087
|
+
return {
|
|
8088
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8089
|
+
options: localVarRequestOptions,
|
|
8090
|
+
};
|
|
8091
|
+
}),
|
|
8051
8092
|
/**
|
|
8052
8093
|
* Edit routing table by returning updated table.
|
|
8053
8094
|
* @summary Edit routing table
|
|
@@ -8653,6 +8694,21 @@ const ClustersApiFp = function (configuration) {
|
|
|
8653
8694
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
8654
8695
|
});
|
|
8655
8696
|
},
|
|
8697
|
+
/**
|
|
8698
|
+
*
|
|
8699
|
+
* @summary Edit cluster kubeconfig
|
|
8700
|
+
* @param {string} organizationId Organization ID
|
|
8701
|
+
* @param {string} clusterId Cluster ID
|
|
8702
|
+
* @param {string} [body]
|
|
8703
|
+
* @param {*} [options] Override http request option.
|
|
8704
|
+
* @throws {RequiredError}
|
|
8705
|
+
*/
|
|
8706
|
+
editClusterKubeconfig(organizationId, clusterId, body, options) {
|
|
8707
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8708
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editClusterKubeconfig(organizationId, clusterId, body, options);
|
|
8709
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
8710
|
+
});
|
|
8711
|
+
},
|
|
8656
8712
|
/**
|
|
8657
8713
|
* Edit routing table by returning updated table.
|
|
8658
8714
|
* @summary Edit routing table
|
|
@@ -8915,6 +8971,18 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
8915
8971
|
editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
|
|
8916
8972
|
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
8917
8973
|
},
|
|
8974
|
+
/**
|
|
8975
|
+
*
|
|
8976
|
+
* @summary Edit cluster kubeconfig
|
|
8977
|
+
* @param {string} organizationId Organization ID
|
|
8978
|
+
* @param {string} clusterId Cluster ID
|
|
8979
|
+
* @param {string} [body]
|
|
8980
|
+
* @param {*} [options] Override http request option.
|
|
8981
|
+
* @throws {RequiredError}
|
|
8982
|
+
*/
|
|
8983
|
+
editClusterKubeconfig(organizationId, clusterId, body, options) {
|
|
8984
|
+
return localVarFp.editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(axios, basePath));
|
|
8985
|
+
},
|
|
8918
8986
|
/**
|
|
8919
8987
|
* Edit routing table by returning updated table.
|
|
8920
8988
|
* @summary Edit routing table
|
|
@@ -9140,6 +9208,19 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
9140
9208
|
editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
|
|
9141
9209
|
return (0, exports.ClustersApiFp)(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
9142
9210
|
}
|
|
9211
|
+
/**
|
|
9212
|
+
*
|
|
9213
|
+
* @summary Edit cluster kubeconfig
|
|
9214
|
+
* @param {string} organizationId Organization ID
|
|
9215
|
+
* @param {string} clusterId Cluster ID
|
|
9216
|
+
* @param {string} [body]
|
|
9217
|
+
* @param {*} [options] Override http request option.
|
|
9218
|
+
* @throws {RequiredError}
|
|
9219
|
+
* @memberof ClustersApi
|
|
9220
|
+
*/
|
|
9221
|
+
editClusterKubeconfig(organizationId, clusterId, body, options) {
|
|
9222
|
+
return (0, exports.ClustersApiFp)(this.configuration).editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(this.axios, this.basePath));
|
|
9223
|
+
}
|
|
9143
9224
|
/**
|
|
9144
9225
|
* Edit routing table by returning updated table.
|
|
9145
9226
|
* @summary Edit routing table
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -12150,6 +12150,12 @@ export interface SignUp {
|
|
|
12150
12150
|
* @memberof SignUp
|
|
12151
12151
|
*/
|
|
12152
12152
|
'dx_auth'?: boolean | null;
|
|
12153
|
+
/**
|
|
12154
|
+
*
|
|
12155
|
+
* @type {string}
|
|
12156
|
+
* @memberof SignUp
|
|
12157
|
+
*/
|
|
12158
|
+
'infrastructure_hosting'?: string | null;
|
|
12153
12159
|
}
|
|
12154
12160
|
/**
|
|
12155
12161
|
*
|
|
@@ -12229,6 +12235,12 @@ export interface SignUpRequest {
|
|
|
12229
12235
|
* @memberof SignUpRequest
|
|
12230
12236
|
*/
|
|
12231
12237
|
'dx_auth'?: boolean | null;
|
|
12238
|
+
/**
|
|
12239
|
+
*
|
|
12240
|
+
* @type {string}
|
|
12241
|
+
* @memberof SignUpRequest
|
|
12242
|
+
*/
|
|
12243
|
+
'infrastructure_hosting'?: string | null;
|
|
12232
12244
|
}
|
|
12233
12245
|
/**
|
|
12234
12246
|
*
|
|
@@ -16614,6 +16626,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
16614
16626
|
* @throws {RequiredError}
|
|
16615
16627
|
*/
|
|
16616
16628
|
editClusterAdvancedSettings: (organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16629
|
+
/**
|
|
16630
|
+
*
|
|
16631
|
+
* @summary Edit cluster kubeconfig
|
|
16632
|
+
* @param {string} organizationId Organization ID
|
|
16633
|
+
* @param {string} clusterId Cluster ID
|
|
16634
|
+
* @param {string} [body]
|
|
16635
|
+
* @param {*} [options] Override http request option.
|
|
16636
|
+
* @throws {RequiredError}
|
|
16637
|
+
*/
|
|
16638
|
+
editClusterKubeconfig: (organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16617
16639
|
/**
|
|
16618
16640
|
* Edit routing table by returning updated table.
|
|
16619
16641
|
* @summary Edit routing table
|
|
@@ -16792,6 +16814,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
16792
16814
|
* @throws {RequiredError}
|
|
16793
16815
|
*/
|
|
16794
16816
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
16817
|
+
/**
|
|
16818
|
+
*
|
|
16819
|
+
* @summary Edit cluster kubeconfig
|
|
16820
|
+
* @param {string} organizationId Organization ID
|
|
16821
|
+
* @param {string} clusterId Cluster ID
|
|
16822
|
+
* @param {string} [body]
|
|
16823
|
+
* @param {*} [options] Override http request option.
|
|
16824
|
+
* @throws {RequiredError}
|
|
16825
|
+
*/
|
|
16826
|
+
editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
16795
16827
|
/**
|
|
16796
16828
|
* Edit routing table by returning updated table.
|
|
16797
16829
|
* @summary Edit routing table
|
|
@@ -16970,6 +17002,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
16970
17002
|
* @throws {RequiredError}
|
|
16971
17003
|
*/
|
|
16972
17004
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings>;
|
|
17005
|
+
/**
|
|
17006
|
+
*
|
|
17007
|
+
* @summary Edit cluster kubeconfig
|
|
17008
|
+
* @param {string} organizationId Organization ID
|
|
17009
|
+
* @param {string} clusterId Cluster ID
|
|
17010
|
+
* @param {string} [body]
|
|
17011
|
+
* @param {*} [options] Override http request option.
|
|
17012
|
+
* @throws {RequiredError}
|
|
17013
|
+
*/
|
|
17014
|
+
editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: any): AxiosPromise<void>;
|
|
16973
17015
|
/**
|
|
16974
17016
|
* Edit routing table by returning updated table.
|
|
16975
17017
|
* @summary Edit routing table
|
|
@@ -17155,6 +17197,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
17155
17197
|
* @memberof ClustersApi
|
|
17156
17198
|
*/
|
|
17157
17199
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
|
|
17200
|
+
/**
|
|
17201
|
+
*
|
|
17202
|
+
* @summary Edit cluster kubeconfig
|
|
17203
|
+
* @param {string} organizationId Organization ID
|
|
17204
|
+
* @param {string} clusterId Cluster ID
|
|
17205
|
+
* @param {string} [body]
|
|
17206
|
+
* @param {*} [options] Override http request option.
|
|
17207
|
+
* @throws {RequiredError}
|
|
17208
|
+
* @memberof ClustersApi
|
|
17209
|
+
*/
|
|
17210
|
+
editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
17158
17211
|
/**
|
|
17159
17212
|
* Edit routing table by returning updated table.
|
|
17160
17213
|
* @summary Edit routing table
|
package/dist/esm/api.js
CHANGED
|
@@ -7982,6 +7982,47 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
7982
7982
|
options: localVarRequestOptions,
|
|
7983
7983
|
};
|
|
7984
7984
|
}),
|
|
7985
|
+
/**
|
|
7986
|
+
*
|
|
7987
|
+
* @summary Edit cluster kubeconfig
|
|
7988
|
+
* @param {string} organizationId Organization ID
|
|
7989
|
+
* @param {string} clusterId Cluster ID
|
|
7990
|
+
* @param {string} [body]
|
|
7991
|
+
* @param {*} [options] Override http request option.
|
|
7992
|
+
* @throws {RequiredError}
|
|
7993
|
+
*/
|
|
7994
|
+
editClusterKubeconfig: (organizationId, clusterId, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7995
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
7996
|
+
assertParamExists('editClusterKubeconfig', 'organizationId', organizationId);
|
|
7997
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
7998
|
+
assertParamExists('editClusterKubeconfig', 'clusterId', clusterId);
|
|
7999
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
|
|
8000
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
8001
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
8002
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8003
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8004
|
+
let baseOptions;
|
|
8005
|
+
if (configuration) {
|
|
8006
|
+
baseOptions = configuration.baseOptions;
|
|
8007
|
+
}
|
|
8008
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8009
|
+
const localVarHeaderParameter = {};
|
|
8010
|
+
const localVarQueryParameter = {};
|
|
8011
|
+
// authentication ApiKeyAuth required
|
|
8012
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8013
|
+
// authentication bearerAuth required
|
|
8014
|
+
// http bearer authentication required
|
|
8015
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8016
|
+
localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
|
|
8017
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8018
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8019
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8020
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
8021
|
+
return {
|
|
8022
|
+
url: toPathString(localVarUrlObj),
|
|
8023
|
+
options: localVarRequestOptions,
|
|
8024
|
+
};
|
|
8025
|
+
}),
|
|
7985
8026
|
/**
|
|
7986
8027
|
* Edit routing table by returning updated table.
|
|
7987
8028
|
* @summary Edit routing table
|
|
@@ -8586,6 +8627,21 @@ export const ClustersApiFp = function (configuration) {
|
|
|
8586
8627
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8587
8628
|
});
|
|
8588
8629
|
},
|
|
8630
|
+
/**
|
|
8631
|
+
*
|
|
8632
|
+
* @summary Edit cluster kubeconfig
|
|
8633
|
+
* @param {string} organizationId Organization ID
|
|
8634
|
+
* @param {string} clusterId Cluster ID
|
|
8635
|
+
* @param {string} [body]
|
|
8636
|
+
* @param {*} [options] Override http request option.
|
|
8637
|
+
* @throws {RequiredError}
|
|
8638
|
+
*/
|
|
8639
|
+
editClusterKubeconfig(organizationId, clusterId, body, options) {
|
|
8640
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8641
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editClusterKubeconfig(organizationId, clusterId, body, options);
|
|
8642
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8643
|
+
});
|
|
8644
|
+
},
|
|
8589
8645
|
/**
|
|
8590
8646
|
* Edit routing table by returning updated table.
|
|
8591
8647
|
* @summary Edit routing table
|
|
@@ -8847,6 +8903,18 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
8847
8903
|
editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
|
|
8848
8904
|
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
8849
8905
|
},
|
|
8906
|
+
/**
|
|
8907
|
+
*
|
|
8908
|
+
* @summary Edit cluster kubeconfig
|
|
8909
|
+
* @param {string} organizationId Organization ID
|
|
8910
|
+
* @param {string} clusterId Cluster ID
|
|
8911
|
+
* @param {string} [body]
|
|
8912
|
+
* @param {*} [options] Override http request option.
|
|
8913
|
+
* @throws {RequiredError}
|
|
8914
|
+
*/
|
|
8915
|
+
editClusterKubeconfig(organizationId, clusterId, body, options) {
|
|
8916
|
+
return localVarFp.editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(axios, basePath));
|
|
8917
|
+
},
|
|
8850
8918
|
/**
|
|
8851
8919
|
* Edit routing table by returning updated table.
|
|
8852
8920
|
* @summary Edit routing table
|
|
@@ -9071,6 +9139,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
9071
9139
|
editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
|
|
9072
9140
|
return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
9073
9141
|
}
|
|
9142
|
+
/**
|
|
9143
|
+
*
|
|
9144
|
+
* @summary Edit cluster kubeconfig
|
|
9145
|
+
* @param {string} organizationId Organization ID
|
|
9146
|
+
* @param {string} clusterId Cluster ID
|
|
9147
|
+
* @param {string} [body]
|
|
9148
|
+
* @param {*} [options] Override http request option.
|
|
9149
|
+
* @throws {RequiredError}
|
|
9150
|
+
* @memberof ClustersApi
|
|
9151
|
+
*/
|
|
9152
|
+
editClusterKubeconfig(organizationId, clusterId, body, options) {
|
|
9153
|
+
return ClustersApiFp(this.configuration).editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(this.axios, this.basePath));
|
|
9154
|
+
}
|
|
9074
9155
|
/**
|
|
9075
9156
|
* Edit routing table by returning updated table.
|
|
9076
9157
|
* @summary Edit routing table
|