kb-cloud-client-typescript 2.3.0-alpha.86 → 2.3.0-alpha.88
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/dist/adminapi/apis/dms-api.d.ts +111 -8
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +116 -20
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/apis/engine-api.d.ts +399 -0
- package/dist/adminapi/apis/engine-api.d.ts.map +1 -1
- package/dist/adminapi/apis/engine-api.js +442 -0
- package/dist/adminapi/apis/engine-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +111 -8
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +116 -20
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/engine-network-mode-options-inner.d.ts +38 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.d.ts.map +1 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.js +16 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.js.map +1 -0
- package/dist/adminapi/models/engine-network-mode-supported.d.ts +34 -0
- package/dist/adminapi/models/engine-network-mode-supported.d.ts.map +1 -0
- package/dist/adminapi/models/engine-network-mode-supported.js +16 -0
- package/dist/adminapi/models/engine-network-mode-supported.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option-create.d.ts +37 -0
- package/dist/adminapi/models/environment-engine-option-create.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option-create.js +16 -0
- package/dist/adminapi/models/environment-engine-option-create.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option-update.d.ts +25 -0
- package/dist/adminapi/models/environment-engine-option-update.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option-update.js +16 -0
- package/dist/adminapi/models/environment-engine-option-update.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option.d.ts +67 -0
- package/dist/adminapi/models/environment-engine-option.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option.js +16 -0
- package/dist/adminapi/models/environment-engine-option.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +5 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +5 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/dms-api.d.ts +111 -8
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +116 -20
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/apis/engine-api.d.ts +72 -0
- package/dist/openapi/apis/engine-api.d.ts.map +1 -1
- package/dist/openapi/apis/engine-api.js +80 -0
- package/dist/openapi/apis/engine-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +111 -8
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +116 -20
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/engine-network-mode-supported.d.ts +34 -0
- package/dist/openapi/models/engine-network-mode-supported.d.ts.map +1 -0
- package/dist/openapi/models/engine-network-mode-supported.js +16 -0
- package/dist/openapi/models/engine-network-mode-supported.js.map +1 -0
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk/adminapi/.openapi-generator/FILES +5 -0
- package/src/sdk/adminapi/apis/dms-api.ts +192 -20
- package/src/sdk/adminapi/apis/engine-api.ts +694 -0
- package/src/sdk/adminapi/apis/shared-api.ts +192 -20
- package/src/sdk/adminapi/models/engine-network-mode-options-inner.ts +45 -0
- package/src/sdk/adminapi/models/engine-network-mode-supported.ts +39 -0
- package/src/sdk/adminapi/models/environment-engine-option-create.ts +42 -0
- package/src/sdk/adminapi/models/environment-engine-option-update.ts +30 -0
- package/src/sdk/adminapi/models/environment-engine-option.ts +72 -0
- package/src/sdk/adminapi/models/index.ts +5 -0
- package/src/sdk/adminapi.yaml +363 -0
- package/src/sdk/openapi/.openapi-generator/FILES +1 -0
- package/src/sdk/openapi/apis/dms-api.ts +192 -20
- package/src/sdk/openapi/apis/engine-api.ts +128 -0
- package/src/sdk/openapi/apis/shared-api.ts +192 -20
- package/src/sdk/openapi/models/engine-network-mode-supported.ts +39 -0
- package/src/sdk/openapi/models/index.ts +1 -0
- package/src/sdk/openapi.yaml +110 -0
|
@@ -34,6 +34,10 @@ import type { EngineLicenseEntityCreate } from '../models';
|
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
import type { EngineLicenseEntityList } from '../models';
|
|
36
36
|
// @ts-ignore
|
|
37
|
+
import type { EngineNetworkModeOptionsInner } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { EngineNetworkModeSupported } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
37
41
|
import type { EngineSchedulingPolicy } from '../models';
|
|
38
42
|
// @ts-ignore
|
|
39
43
|
import type { EngineSchedulingRule } from '../models';
|
|
@@ -54,6 +58,12 @@ import type { EngineVersionList } from '../models';
|
|
|
54
58
|
// @ts-ignore
|
|
55
59
|
import type { EngineVersionUpdate } from '../models';
|
|
56
60
|
// @ts-ignore
|
|
61
|
+
import type { EnvironmentEngineOption } from '../models';
|
|
62
|
+
// @ts-ignore
|
|
63
|
+
import type { EnvironmentEngineOptionCreate } from '../models';
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
import type { EnvironmentEngineOptionUpdate } from '../models';
|
|
66
|
+
// @ts-ignore
|
|
57
67
|
import type { GetUploadImageProgress200Response } from '../models';
|
|
58
68
|
// @ts-ignore
|
|
59
69
|
import type { ResourceConstraint } from '../models';
|
|
@@ -273,6 +283,49 @@ export const EngineApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
273
283
|
options: localVarRequestOptions,
|
|
274
284
|
};
|
|
275
285
|
},
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @summary Create environment engine option
|
|
289
|
+
* @param {string} environmentName environment name
|
|
290
|
+
* @param {EnvironmentEngineOptionCreate} body
|
|
291
|
+
* @param {*} [options] Override http request option.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
*/
|
|
294
|
+
createEnvironmentEngineOption: async (environmentName: string, body: EnvironmentEngineOptionCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
295
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
296
|
+
assertParamExists('createEnvironmentEngineOption', 'environmentName', environmentName)
|
|
297
|
+
// verify required parameter 'body' is not null or undefined
|
|
298
|
+
assertParamExists('createEnvironmentEngineOption', 'body', body)
|
|
299
|
+
const localVarPath = `/admin/v1/environments/{environmentName}/engineOptions`
|
|
300
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
|
|
301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
302
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
303
|
+
let baseOptions;
|
|
304
|
+
if (configuration) {
|
|
305
|
+
baseOptions = configuration.baseOptions;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
309
|
+
const localVarHeaderParameter = {} as any;
|
|
310
|
+
const localVarQueryParameter = {} as any;
|
|
311
|
+
|
|
312
|
+
// authentication BearerToken required
|
|
313
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
318
|
+
|
|
319
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
322
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
323
|
+
|
|
324
|
+
return {
|
|
325
|
+
url: toPathString(localVarUrlObj),
|
|
326
|
+
options: localVarRequestOptions,
|
|
327
|
+
};
|
|
328
|
+
},
|
|
276
329
|
/**
|
|
277
330
|
* delete an engine license entity by ID
|
|
278
331
|
* @summary Delete an engine license entity by ID
|
|
@@ -428,6 +481,47 @@ export const EngineApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
428
481
|
options: localVarRequestOptions,
|
|
429
482
|
};
|
|
430
483
|
},
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @summary Delete environment engine option
|
|
487
|
+
* @param {string} environmentName environment name
|
|
488
|
+
* @param {string} id engine environment engine option id
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
deleteEnvironmentEngineOption: async (environmentName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
493
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
494
|
+
assertParamExists('deleteEnvironmentEngineOption', 'environmentName', environmentName)
|
|
495
|
+
// verify required parameter 'id' is not null or undefined
|
|
496
|
+
assertParamExists('deleteEnvironmentEngineOption', 'id', id)
|
|
497
|
+
const localVarPath = `/admin/v1/environments/{environmentName}/engineOption/{id}`
|
|
498
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)))
|
|
499
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
500
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
501
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
502
|
+
let baseOptions;
|
|
503
|
+
if (configuration) {
|
|
504
|
+
baseOptions = configuration.baseOptions;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
508
|
+
const localVarHeaderParameter = {} as any;
|
|
509
|
+
const localVarQueryParameter = {} as any;
|
|
510
|
+
|
|
511
|
+
// authentication BearerToken required
|
|
512
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
517
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
518
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
519
|
+
|
|
520
|
+
return {
|
|
521
|
+
url: toPathString(localVarUrlObj),
|
|
522
|
+
options: localVarRequestOptions,
|
|
523
|
+
};
|
|
524
|
+
},
|
|
431
525
|
/**
|
|
432
526
|
* Remove a service version from the engine version\'s service_versions list if no running clusters are using it
|
|
433
527
|
* @summary Disable service version
|
|
@@ -593,6 +687,94 @@ export const EngineApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
593
687
|
|
|
594
688
|
|
|
595
689
|
|
|
690
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
691
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
692
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
693
|
+
|
|
694
|
+
return {
|
|
695
|
+
url: toPathString(localVarUrlObj),
|
|
696
|
+
options: localVarRequestOptions,
|
|
697
|
+
};
|
|
698
|
+
},
|
|
699
|
+
/**
|
|
700
|
+
*
|
|
701
|
+
* @summary Get available network modes for all engines from engineOption config
|
|
702
|
+
* @param {string} environmentName environment name
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
getEngineNetworkModeOptions: async (environmentName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
707
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
708
|
+
assertParamExists('getEngineNetworkModeOptions', 'environmentName', environmentName)
|
|
709
|
+
const localVarPath = `/admin/v1/environments/{environmentName}/engineNetworkModes/options`
|
|
710
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
|
|
711
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
712
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
713
|
+
let baseOptions;
|
|
714
|
+
if (configuration) {
|
|
715
|
+
baseOptions = configuration.baseOptions;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
719
|
+
const localVarHeaderParameter = {} as any;
|
|
720
|
+
const localVarQueryParameter = {} as any;
|
|
721
|
+
|
|
722
|
+
// authentication BearerToken required
|
|
723
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
728
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
729
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
730
|
+
|
|
731
|
+
return {
|
|
732
|
+
url: toPathString(localVarUrlObj),
|
|
733
|
+
options: localVarRequestOptions,
|
|
734
|
+
};
|
|
735
|
+
},
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @summary Get supported network modes for engine+mode from engineOption config
|
|
739
|
+
* @param {string} environmentName environment name
|
|
740
|
+
* @param {string} engineName engine name
|
|
741
|
+
* @param {string} mode engine mode
|
|
742
|
+
* @param {*} [options] Override http request option.
|
|
743
|
+
* @throws {RequiredError}
|
|
744
|
+
*/
|
|
745
|
+
getEngineNetworkModeSupported: async (environmentName: string, engineName: string, mode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
746
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
747
|
+
assertParamExists('getEngineNetworkModeSupported', 'environmentName', environmentName)
|
|
748
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
749
|
+
assertParamExists('getEngineNetworkModeSupported', 'engineName', engineName)
|
|
750
|
+
// verify required parameter 'mode' is not null or undefined
|
|
751
|
+
assertParamExists('getEngineNetworkModeSupported', 'mode', mode)
|
|
752
|
+
const localVarPath = `/admin/v1/environments/{environmentName}/engineNetworkModes/supported`
|
|
753
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
|
|
754
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
755
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
756
|
+
let baseOptions;
|
|
757
|
+
if (configuration) {
|
|
758
|
+
baseOptions = configuration.baseOptions;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
762
|
+
const localVarHeaderParameter = {} as any;
|
|
763
|
+
const localVarQueryParameter = {} as any;
|
|
764
|
+
|
|
765
|
+
// authentication BearerToken required
|
|
766
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
767
|
+
|
|
768
|
+
if (engineName !== undefined) {
|
|
769
|
+
localVarQueryParameter['engineName'] = engineName;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
if (mode !== undefined) {
|
|
773
|
+
localVarQueryParameter['mode'] = mode;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
596
778
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
597
779
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
598
780
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1013,6 +1195,53 @@ export const EngineApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1013
1195
|
|
|
1014
1196
|
|
|
1015
1197
|
|
|
1198
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1199
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1200
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1201
|
+
|
|
1202
|
+
return {
|
|
1203
|
+
url: toPathString(localVarUrlObj),
|
|
1204
|
+
options: localVarRequestOptions,
|
|
1205
|
+
};
|
|
1206
|
+
},
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @summary List environment engine options
|
|
1210
|
+
* @param {string} environmentName environment name
|
|
1211
|
+
* @param {string} [engineName] filter by engine name
|
|
1212
|
+
* @param {string} [mode] filter by engine mode
|
|
1213
|
+
* @param {*} [options] Override http request option.
|
|
1214
|
+
* @throws {RequiredError}
|
|
1215
|
+
*/
|
|
1216
|
+
listEnvironmentEngineOptions: async (environmentName: string, engineName?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1217
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
1218
|
+
assertParamExists('listEnvironmentEngineOptions', 'environmentName', environmentName)
|
|
1219
|
+
const localVarPath = `/admin/v1/environments/{environmentName}/engineOptions`
|
|
1220
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
|
|
1221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1223
|
+
let baseOptions;
|
|
1224
|
+
if (configuration) {
|
|
1225
|
+
baseOptions = configuration.baseOptions;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1229
|
+
const localVarHeaderParameter = {} as any;
|
|
1230
|
+
const localVarQueryParameter = {} as any;
|
|
1231
|
+
|
|
1232
|
+
// authentication BearerToken required
|
|
1233
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
1234
|
+
|
|
1235
|
+
if (engineName !== undefined) {
|
|
1236
|
+
localVarQueryParameter['engineName'] = engineName;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
if (mode !== undefined) {
|
|
1240
|
+
localVarQueryParameter['mode'] = mode;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1016
1245
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1017
1246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1018
1247
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1300,6 +1529,53 @@ export const EngineApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1300
1529
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1301
1530
|
localVarRequestOptions.data = serializeDataIfNeeded(resourceConstraintUpdate, localVarRequestOptions, configuration)
|
|
1302
1531
|
|
|
1532
|
+
return {
|
|
1533
|
+
url: toPathString(localVarUrlObj),
|
|
1534
|
+
options: localVarRequestOptions,
|
|
1535
|
+
};
|
|
1536
|
+
},
|
|
1537
|
+
/**
|
|
1538
|
+
*
|
|
1539
|
+
* @summary Update environment engine option
|
|
1540
|
+
* @param {string} environmentName environment name
|
|
1541
|
+
* @param {string} id engine environment engine option record id
|
|
1542
|
+
* @param {EnvironmentEngineOptionUpdate} body
|
|
1543
|
+
* @param {*} [options] Override http request option.
|
|
1544
|
+
* @throws {RequiredError}
|
|
1545
|
+
*/
|
|
1546
|
+
updateEnvironmentEngineOption: async (environmentName: string, id: string, body: EnvironmentEngineOptionUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1547
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
1548
|
+
assertParamExists('updateEnvironmentEngineOption', 'environmentName', environmentName)
|
|
1549
|
+
// verify required parameter 'id' is not null or undefined
|
|
1550
|
+
assertParamExists('updateEnvironmentEngineOption', 'id', id)
|
|
1551
|
+
// verify required parameter 'body' is not null or undefined
|
|
1552
|
+
assertParamExists('updateEnvironmentEngineOption', 'body', body)
|
|
1553
|
+
const localVarPath = `/admin/v1/environments/{environmentName}/engineOption/{id}`
|
|
1554
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)))
|
|
1555
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1558
|
+
let baseOptions;
|
|
1559
|
+
if (configuration) {
|
|
1560
|
+
baseOptions = configuration.baseOptions;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1564
|
+
const localVarHeaderParameter = {} as any;
|
|
1565
|
+
const localVarQueryParameter = {} as any;
|
|
1566
|
+
|
|
1567
|
+
// authentication BearerToken required
|
|
1568
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1573
|
+
|
|
1574
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1576
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1577
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1578
|
+
|
|
1303
1579
|
return {
|
|
1304
1580
|
url: toPathString(localVarUrlObj),
|
|
1305
1581
|
options: localVarRequestOptions,
|
|
@@ -1383,6 +1659,20 @@ export const EngineApiFp = function(configuration?: Configuration) {
|
|
|
1383
1659
|
const localVarOperationServerBasePath = operationServerMap['EngineApi.createEngineVersion']?.[localVarOperationServerIndex]?.url;
|
|
1384
1660
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1385
1661
|
},
|
|
1662
|
+
/**
|
|
1663
|
+
*
|
|
1664
|
+
* @summary Create environment engine option
|
|
1665
|
+
* @param {string} environmentName environment name
|
|
1666
|
+
* @param {EnvironmentEngineOptionCreate} body
|
|
1667
|
+
* @param {*} [options] Override http request option.
|
|
1668
|
+
* @throws {RequiredError}
|
|
1669
|
+
*/
|
|
1670
|
+
async createEnvironmentEngineOption(environmentName: string, body: EnvironmentEngineOptionCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentEngineOption>> {
|
|
1671
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvironmentEngineOption(environmentName, body, options);
|
|
1672
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1673
|
+
const localVarOperationServerBasePath = operationServerMap['EngineApi.createEnvironmentEngineOption']?.[localVarOperationServerIndex]?.url;
|
|
1674
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1675
|
+
},
|
|
1386
1676
|
/**
|
|
1387
1677
|
* delete an engine license entity by ID
|
|
1388
1678
|
* @summary Delete an engine license entity by ID
|
|
@@ -1436,6 +1726,20 @@ export const EngineApiFp = function(configuration?: Configuration) {
|
|
|
1436
1726
|
const localVarOperationServerBasePath = operationServerMap['EngineApi.deleteEngineVersion']?.[localVarOperationServerIndex]?.url;
|
|
1437
1727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1438
1728
|
},
|
|
1729
|
+
/**
|
|
1730
|
+
*
|
|
1731
|
+
* @summary Delete environment engine option
|
|
1732
|
+
* @param {string} environmentName environment name
|
|
1733
|
+
* @param {string} id engine environment engine option id
|
|
1734
|
+
* @param {*} [options] Override http request option.
|
|
1735
|
+
* @throws {RequiredError}
|
|
1736
|
+
*/
|
|
1737
|
+
async deleteEnvironmentEngineOption(environmentName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEnvironmentEngineOption(environmentName, id, options);
|
|
1739
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1740
|
+
const localVarOperationServerBasePath = operationServerMap['EngineApi.deleteEnvironmentEngineOption']?.[localVarOperationServerIndex]?.url;
|
|
1741
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1742
|
+
},
|
|
1439
1743
|
/**
|
|
1440
1744
|
* Remove a service version from the engine version\'s service_versions list if no running clusters are using it
|
|
1441
1745
|
* @summary Disable service version
|
|
@@ -1492,6 +1796,34 @@ export const EngineApiFp = function(configuration?: Configuration) {
|
|
|
1492
1796
|
const localVarOperationServerBasePath = operationServerMap['EngineApi.getEngineLicenseEntity']?.[localVarOperationServerIndex]?.url;
|
|
1493
1797
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1494
1798
|
},
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @summary Get available network modes for all engines from engineOption config
|
|
1802
|
+
* @param {string} environmentName environment name
|
|
1803
|
+
* @param {*} [options] Override http request option.
|
|
1804
|
+
* @throws {RequiredError}
|
|
1805
|
+
*/
|
|
1806
|
+
async getEngineNetworkModeOptions(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EngineNetworkModeOptionsInner>>> {
|
|
1807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEngineNetworkModeOptions(environmentName, options);
|
|
1808
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1809
|
+
const localVarOperationServerBasePath = operationServerMap['EngineApi.getEngineNetworkModeOptions']?.[localVarOperationServerIndex]?.url;
|
|
1810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1811
|
+
},
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @summary Get supported network modes for engine+mode from engineOption config
|
|
1815
|
+
* @param {string} environmentName environment name
|
|
1816
|
+
* @param {string} engineName engine name
|
|
1817
|
+
* @param {string} mode engine mode
|
|
1818
|
+
* @param {*} [options] Override http request option.
|
|
1819
|
+
* @throws {RequiredError}
|
|
1820
|
+
*/
|
|
1821
|
+
async getEngineNetworkModeSupported(environmentName: string, engineName: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineNetworkModeSupported>> {
|
|
1822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEngineNetworkModeSupported(environmentName, engineName, mode, options);
|
|
1823
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1824
|
+
const localVarOperationServerBasePath = operationServerMap['EngineApi.getEngineNetworkModeSupported']?.[localVarOperationServerIndex]?.url;
|
|
1825
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1826
|
+
},
|
|
1495
1827
|
/**
|
|
1496
1828
|
* get the progress of uploading image task
|
|
1497
1829
|
* @summary get the progress of uploading image task
|
|
@@ -1625,6 +1957,21 @@ export const EngineApiFp = function(configuration?: Configuration) {
|
|
|
1625
1957
|
const localVarOperationServerBasePath = operationServerMap['EngineApi.listEnginesInEnv']?.[localVarOperationServerIndex]?.url;
|
|
1626
1958
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1627
1959
|
},
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @summary List environment engine options
|
|
1963
|
+
* @param {string} environmentName environment name
|
|
1964
|
+
* @param {string} [engineName] filter by engine name
|
|
1965
|
+
* @param {string} [mode] filter by engine mode
|
|
1966
|
+
* @param {*} [options] Override http request option.
|
|
1967
|
+
* @throws {RequiredError}
|
|
1968
|
+
*/
|
|
1969
|
+
async listEnvironmentEngineOptions(environmentName: string, engineName?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentEngineOption>>> {
|
|
1970
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentEngineOptions(environmentName, engineName, mode, options);
|
|
1971
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1972
|
+
const localVarOperationServerBasePath = operationServerMap['EngineApi.listEnvironmentEngineOptions']?.[localVarOperationServerIndex]?.url;
|
|
1973
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1974
|
+
},
|
|
1628
1975
|
/**
|
|
1629
1976
|
* list the service version of the engine
|
|
1630
1977
|
* @summary list the service version of the engine
|
|
@@ -1714,6 +2061,21 @@ export const EngineApiFp = function(configuration?: Configuration) {
|
|
|
1714
2061
|
const localVarOperationServerBasePath = operationServerMap['EngineApi.updateEngineResourceConstraint']?.[localVarOperationServerIndex]?.url;
|
|
1715
2062
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1716
2063
|
},
|
|
2064
|
+
/**
|
|
2065
|
+
*
|
|
2066
|
+
* @summary Update environment engine option
|
|
2067
|
+
* @param {string} environmentName environment name
|
|
2068
|
+
* @param {string} id engine environment engine option record id
|
|
2069
|
+
* @param {EnvironmentEngineOptionUpdate} body
|
|
2070
|
+
* @param {*} [options] Override http request option.
|
|
2071
|
+
* @throws {RequiredError}
|
|
2072
|
+
*/
|
|
2073
|
+
async updateEnvironmentEngineOption(environmentName: string, id: string, body: EnvironmentEngineOptionUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentEngineOption>> {
|
|
2074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEnvironmentEngineOption(environmentName, id, body, options);
|
|
2075
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2076
|
+
const localVarOperationServerBasePath = operationServerMap['EngineApi.updateEnvironmentEngineOption']?.[localVarOperationServerIndex]?.url;
|
|
2077
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2078
|
+
},
|
|
1717
2079
|
}
|
|
1718
2080
|
};
|
|
1719
2081
|
|
|
@@ -1774,6 +2136,16 @@ export const EngineApiFactory = function (configuration?: Configuration, basePat
|
|
|
1774
2136
|
createEngineVersion(requestParameters: EngineApiCreateEngineVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineVersion> {
|
|
1775
2137
|
return localVarFp.createEngineVersion(requestParameters.engineVersionCreate, options).then((request) => request(axios, basePath));
|
|
1776
2138
|
},
|
|
2139
|
+
/**
|
|
2140
|
+
*
|
|
2141
|
+
* @summary Create environment engine option
|
|
2142
|
+
* @param {EngineApiCreateEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
2143
|
+
* @param {*} [options] Override http request option.
|
|
2144
|
+
* @throws {RequiredError}
|
|
2145
|
+
*/
|
|
2146
|
+
createEnvironmentEngineOption(requestParameters: EngineApiCreateEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentEngineOption> {
|
|
2147
|
+
return localVarFp.createEnvironmentEngineOption(requestParameters.environmentName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2148
|
+
},
|
|
1777
2149
|
/**
|
|
1778
2150
|
* delete an engine license entity by ID
|
|
1779
2151
|
* @summary Delete an engine license entity by ID
|
|
@@ -1814,6 +2186,16 @@ export const EngineApiFactory = function (configuration?: Configuration, basePat
|
|
|
1814
2186
|
deleteEngineVersion(requestParameters: EngineApiDeleteEngineVersionRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1815
2187
|
return localVarFp.deleteEngineVersion(requestParameters.engineVersionDelete, options).then((request) => request(axios, basePath));
|
|
1816
2188
|
},
|
|
2189
|
+
/**
|
|
2190
|
+
*
|
|
2191
|
+
* @summary Delete environment engine option
|
|
2192
|
+
* @param {EngineApiDeleteEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
2193
|
+
* @param {*} [options] Override http request option.
|
|
2194
|
+
* @throws {RequiredError}
|
|
2195
|
+
*/
|
|
2196
|
+
deleteEnvironmentEngineOption(requestParameters: EngineApiDeleteEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2197
|
+
return localVarFp.deleteEnvironmentEngineOption(requestParameters.environmentName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2198
|
+
},
|
|
1817
2199
|
/**
|
|
1818
2200
|
* Remove a service version from the engine version\'s service_versions list if no running clusters are using it
|
|
1819
2201
|
* @summary Disable service version
|
|
@@ -1854,6 +2236,26 @@ export const EngineApiFactory = function (configuration?: Configuration, basePat
|
|
|
1854
2236
|
getEngineLicenseEntity(requestParameters: EngineApiGetEngineLicenseEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineLicenseEntity> {
|
|
1855
2237
|
return localVarFp.getEngineLicenseEntity(requestParameters.entityId, options).then((request) => request(axios, basePath));
|
|
1856
2238
|
},
|
|
2239
|
+
/**
|
|
2240
|
+
*
|
|
2241
|
+
* @summary Get available network modes for all engines from engineOption config
|
|
2242
|
+
* @param {EngineApiGetEngineNetworkModeOptionsRequest} requestParameters Request parameters.
|
|
2243
|
+
* @param {*} [options] Override http request option.
|
|
2244
|
+
* @throws {RequiredError}
|
|
2245
|
+
*/
|
|
2246
|
+
getEngineNetworkModeOptions(requestParameters: EngineApiGetEngineNetworkModeOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<EngineNetworkModeOptionsInner>> {
|
|
2247
|
+
return localVarFp.getEngineNetworkModeOptions(requestParameters.environmentName, options).then((request) => request(axios, basePath));
|
|
2248
|
+
},
|
|
2249
|
+
/**
|
|
2250
|
+
*
|
|
2251
|
+
* @summary Get supported network modes for engine+mode from engineOption config
|
|
2252
|
+
* @param {EngineApiGetEngineNetworkModeSupportedRequest} requestParameters Request parameters.
|
|
2253
|
+
* @param {*} [options] Override http request option.
|
|
2254
|
+
* @throws {RequiredError}
|
|
2255
|
+
*/
|
|
2256
|
+
getEngineNetworkModeSupported(requestParameters: EngineApiGetEngineNetworkModeSupportedRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineNetworkModeSupported> {
|
|
2257
|
+
return localVarFp.getEngineNetworkModeSupported(requestParameters.environmentName, requestParameters.engineName, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
2258
|
+
},
|
|
1857
2259
|
/**
|
|
1858
2260
|
* get the progress of uploading image task
|
|
1859
2261
|
* @summary get the progress of uploading image task
|
|
@@ -1943,6 +2345,16 @@ export const EngineApiFactory = function (configuration?: Configuration, basePat
|
|
|
1943
2345
|
listEnginesInEnv(requestParameters: EngineApiListEnginesInEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Engine>> {
|
|
1944
2346
|
return localVarFp.listEnginesInEnv(requestParameters.environmentName, requestParameters.name, requestParameters.type, requestParameters.version, requestParameters.provider, requestParameters.all, options).then((request) => request(axios, basePath));
|
|
1945
2347
|
},
|
|
2348
|
+
/**
|
|
2349
|
+
*
|
|
2350
|
+
* @summary List environment engine options
|
|
2351
|
+
* @param {EngineApiListEnvironmentEngineOptionsRequest} requestParameters Request parameters.
|
|
2352
|
+
* @param {*} [options] Override http request option.
|
|
2353
|
+
* @throws {RequiredError}
|
|
2354
|
+
*/
|
|
2355
|
+
listEnvironmentEngineOptions(requestParameters: EngineApiListEnvironmentEngineOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<EnvironmentEngineOption>> {
|
|
2356
|
+
return localVarFp.listEnvironmentEngineOptions(requestParameters.environmentName, requestParameters.engineName, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
2357
|
+
},
|
|
1946
2358
|
/**
|
|
1947
2359
|
* list the service version of the engine
|
|
1948
2360
|
* @summary list the service version of the engine
|
|
@@ -2003,6 +2415,16 @@ export const EngineApiFactory = function (configuration?: Configuration, basePat
|
|
|
2003
2415
|
updateEngineResourceConstraint(requestParameters: EngineApiUpdateEngineResourceConstraintRequest, options?: RawAxiosRequestConfig): AxiosPromise<ResourceConstraint> {
|
|
2004
2416
|
return localVarFp.updateEngineResourceConstraint(requestParameters.id, requestParameters.resourceConstraintUpdate, options).then((request) => request(axios, basePath));
|
|
2005
2417
|
},
|
|
2418
|
+
/**
|
|
2419
|
+
*
|
|
2420
|
+
* @summary Update environment engine option
|
|
2421
|
+
* @param {EngineApiUpdateEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
2422
|
+
* @param {*} [options] Override http request option.
|
|
2423
|
+
* @throws {RequiredError}
|
|
2424
|
+
*/
|
|
2425
|
+
updateEnvironmentEngineOption(requestParameters: EngineApiUpdateEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentEngineOption> {
|
|
2426
|
+
return localVarFp.updateEnvironmentEngineOption(requestParameters.environmentName, requestParameters.id, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2427
|
+
},
|
|
2006
2428
|
};
|
|
2007
2429
|
};
|
|
2008
2430
|
|
|
@@ -2062,6 +2484,16 @@ export interface EngineApiInterface {
|
|
|
2062
2484
|
*/
|
|
2063
2485
|
createEngineVersion(requestParameters: EngineApiCreateEngineVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineVersion>;
|
|
2064
2486
|
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @summary Create environment engine option
|
|
2490
|
+
* @param {EngineApiCreateEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
2491
|
+
* @param {*} [options] Override http request option.
|
|
2492
|
+
* @throws {RequiredError}
|
|
2493
|
+
* @memberof EngineApiInterface
|
|
2494
|
+
*/
|
|
2495
|
+
createEnvironmentEngineOption(requestParameters: EngineApiCreateEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentEngineOption>;
|
|
2496
|
+
|
|
2065
2497
|
/**
|
|
2066
2498
|
* delete an engine license entity by ID
|
|
2067
2499
|
* @summary Delete an engine license entity by ID
|
|
@@ -2102,6 +2534,16 @@ export interface EngineApiInterface {
|
|
|
2102
2534
|
*/
|
|
2103
2535
|
deleteEngineVersion(requestParameters?: EngineApiDeleteEngineVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2104
2536
|
|
|
2537
|
+
/**
|
|
2538
|
+
*
|
|
2539
|
+
* @summary Delete environment engine option
|
|
2540
|
+
* @param {EngineApiDeleteEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
2541
|
+
* @param {*} [options] Override http request option.
|
|
2542
|
+
* @throws {RequiredError}
|
|
2543
|
+
* @memberof EngineApiInterface
|
|
2544
|
+
*/
|
|
2545
|
+
deleteEnvironmentEngineOption(requestParameters: EngineApiDeleteEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2546
|
+
|
|
2105
2547
|
/**
|
|
2106
2548
|
* Remove a service version from the engine version\'s service_versions list if no running clusters are using it
|
|
2107
2549
|
* @summary Disable service version
|
|
@@ -2142,6 +2584,26 @@ export interface EngineApiInterface {
|
|
|
2142
2584
|
*/
|
|
2143
2585
|
getEngineLicenseEntity(requestParameters: EngineApiGetEngineLicenseEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineLicenseEntity>;
|
|
2144
2586
|
|
|
2587
|
+
/**
|
|
2588
|
+
*
|
|
2589
|
+
* @summary Get available network modes for all engines from engineOption config
|
|
2590
|
+
* @param {EngineApiGetEngineNetworkModeOptionsRequest} requestParameters Request parameters.
|
|
2591
|
+
* @param {*} [options] Override http request option.
|
|
2592
|
+
* @throws {RequiredError}
|
|
2593
|
+
* @memberof EngineApiInterface
|
|
2594
|
+
*/
|
|
2595
|
+
getEngineNetworkModeOptions(requestParameters: EngineApiGetEngineNetworkModeOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<EngineNetworkModeOptionsInner>>;
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
*
|
|
2599
|
+
* @summary Get supported network modes for engine+mode from engineOption config
|
|
2600
|
+
* @param {EngineApiGetEngineNetworkModeSupportedRequest} requestParameters Request parameters.
|
|
2601
|
+
* @param {*} [options] Override http request option.
|
|
2602
|
+
* @throws {RequiredError}
|
|
2603
|
+
* @memberof EngineApiInterface
|
|
2604
|
+
*/
|
|
2605
|
+
getEngineNetworkModeSupported(requestParameters: EngineApiGetEngineNetworkModeSupportedRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineNetworkModeSupported>;
|
|
2606
|
+
|
|
2145
2607
|
/**
|
|
2146
2608
|
* get the progress of uploading image task
|
|
2147
2609
|
* @summary get the progress of uploading image task
|
|
@@ -2231,6 +2693,16 @@ export interface EngineApiInterface {
|
|
|
2231
2693
|
*/
|
|
2232
2694
|
listEnginesInEnv(requestParameters: EngineApiListEnginesInEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Engine>>;
|
|
2233
2695
|
|
|
2696
|
+
/**
|
|
2697
|
+
*
|
|
2698
|
+
* @summary List environment engine options
|
|
2699
|
+
* @param {EngineApiListEnvironmentEngineOptionsRequest} requestParameters Request parameters.
|
|
2700
|
+
* @param {*} [options] Override http request option.
|
|
2701
|
+
* @throws {RequiredError}
|
|
2702
|
+
* @memberof EngineApiInterface
|
|
2703
|
+
*/
|
|
2704
|
+
listEnvironmentEngineOptions(requestParameters: EngineApiListEnvironmentEngineOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<EnvironmentEngineOption>>;
|
|
2705
|
+
|
|
2234
2706
|
/**
|
|
2235
2707
|
* list the service version of the engine
|
|
2236
2708
|
* @summary list the service version of the engine
|
|
@@ -2291,6 +2763,16 @@ export interface EngineApiInterface {
|
|
|
2291
2763
|
*/
|
|
2292
2764
|
updateEngineResourceConstraint(requestParameters: EngineApiUpdateEngineResourceConstraintRequest, options?: RawAxiosRequestConfig): AxiosPromise<ResourceConstraint>;
|
|
2293
2765
|
|
|
2766
|
+
/**
|
|
2767
|
+
*
|
|
2768
|
+
* @summary Update environment engine option
|
|
2769
|
+
* @param {EngineApiUpdateEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
2770
|
+
* @param {*} [options] Override http request option.
|
|
2771
|
+
* @throws {RequiredError}
|
|
2772
|
+
* @memberof EngineApiInterface
|
|
2773
|
+
*/
|
|
2774
|
+
updateEnvironmentEngineOption(requestParameters: EngineApiUpdateEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentEngineOption>;
|
|
2775
|
+
|
|
2294
2776
|
}
|
|
2295
2777
|
|
|
2296
2778
|
/**
|
|
@@ -2384,6 +2866,27 @@ export interface EngineApiCreateEngineVersionRequest {
|
|
|
2384
2866
|
readonly engineVersionCreate: EngineVersionCreate
|
|
2385
2867
|
}
|
|
2386
2868
|
|
|
2869
|
+
/**
|
|
2870
|
+
* Request parameters for createEnvironmentEngineOption operation in EngineApi.
|
|
2871
|
+
* @export
|
|
2872
|
+
* @interface EngineApiCreateEnvironmentEngineOptionRequest
|
|
2873
|
+
*/
|
|
2874
|
+
export interface EngineApiCreateEnvironmentEngineOptionRequest {
|
|
2875
|
+
/**
|
|
2876
|
+
* environment name
|
|
2877
|
+
* @type {string}
|
|
2878
|
+
* @memberof EngineApiCreateEnvironmentEngineOption
|
|
2879
|
+
*/
|
|
2880
|
+
readonly environmentName: string
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
*
|
|
2884
|
+
* @type {EnvironmentEngineOptionCreate}
|
|
2885
|
+
* @memberof EngineApiCreateEnvironmentEngineOption
|
|
2886
|
+
*/
|
|
2887
|
+
readonly body: EnvironmentEngineOptionCreate
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2387
2890
|
/**
|
|
2388
2891
|
* Request parameters for deleteEngineLicenseEntity operation in EngineApi.
|
|
2389
2892
|
* @export
|
|
@@ -2447,6 +2950,27 @@ export interface EngineApiDeleteEngineVersionRequest {
|
|
|
2447
2950
|
readonly engineVersionDelete?: EngineVersionDelete
|
|
2448
2951
|
}
|
|
2449
2952
|
|
|
2953
|
+
/**
|
|
2954
|
+
* Request parameters for deleteEnvironmentEngineOption operation in EngineApi.
|
|
2955
|
+
* @export
|
|
2956
|
+
* @interface EngineApiDeleteEnvironmentEngineOptionRequest
|
|
2957
|
+
*/
|
|
2958
|
+
export interface EngineApiDeleteEnvironmentEngineOptionRequest {
|
|
2959
|
+
/**
|
|
2960
|
+
* environment name
|
|
2961
|
+
* @type {string}
|
|
2962
|
+
* @memberof EngineApiDeleteEnvironmentEngineOption
|
|
2963
|
+
*/
|
|
2964
|
+
readonly environmentName: string
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* engine environment engine option id
|
|
2968
|
+
* @type {string}
|
|
2969
|
+
* @memberof EngineApiDeleteEnvironmentEngineOption
|
|
2970
|
+
*/
|
|
2971
|
+
readonly id: string
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2450
2974
|
/**
|
|
2451
2975
|
* Request parameters for disableServiceVersion operation in EngineApi.
|
|
2452
2976
|
* @export
|
|
@@ -2531,6 +3055,48 @@ export interface EngineApiGetEngineLicenseEntityRequest {
|
|
|
2531
3055
|
readonly entityId: string
|
|
2532
3056
|
}
|
|
2533
3057
|
|
|
3058
|
+
/**
|
|
3059
|
+
* Request parameters for getEngineNetworkModeOptions operation in EngineApi.
|
|
3060
|
+
* @export
|
|
3061
|
+
* @interface EngineApiGetEngineNetworkModeOptionsRequest
|
|
3062
|
+
*/
|
|
3063
|
+
export interface EngineApiGetEngineNetworkModeOptionsRequest {
|
|
3064
|
+
/**
|
|
3065
|
+
* environment name
|
|
3066
|
+
* @type {string}
|
|
3067
|
+
* @memberof EngineApiGetEngineNetworkModeOptions
|
|
3068
|
+
*/
|
|
3069
|
+
readonly environmentName: string
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
/**
|
|
3073
|
+
* Request parameters for getEngineNetworkModeSupported operation in EngineApi.
|
|
3074
|
+
* @export
|
|
3075
|
+
* @interface EngineApiGetEngineNetworkModeSupportedRequest
|
|
3076
|
+
*/
|
|
3077
|
+
export interface EngineApiGetEngineNetworkModeSupportedRequest {
|
|
3078
|
+
/**
|
|
3079
|
+
* environment name
|
|
3080
|
+
* @type {string}
|
|
3081
|
+
* @memberof EngineApiGetEngineNetworkModeSupported
|
|
3082
|
+
*/
|
|
3083
|
+
readonly environmentName: string
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* engine name
|
|
3087
|
+
* @type {string}
|
|
3088
|
+
* @memberof EngineApiGetEngineNetworkModeSupported
|
|
3089
|
+
*/
|
|
3090
|
+
readonly engineName: string
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* engine mode
|
|
3094
|
+
* @type {string}
|
|
3095
|
+
* @memberof EngineApiGetEngineNetworkModeSupported
|
|
3096
|
+
*/
|
|
3097
|
+
readonly mode: string
|
|
3098
|
+
}
|
|
3099
|
+
|
|
2534
3100
|
/**
|
|
2535
3101
|
* Request parameters for getUploadImageProgress operation in EngineApi.
|
|
2536
3102
|
* @export
|
|
@@ -2762,6 +3328,34 @@ export interface EngineApiListEnginesInEnvRequest {
|
|
|
2762
3328
|
readonly all?: boolean
|
|
2763
3329
|
}
|
|
2764
3330
|
|
|
3331
|
+
/**
|
|
3332
|
+
* Request parameters for listEnvironmentEngineOptions operation in EngineApi.
|
|
3333
|
+
* @export
|
|
3334
|
+
* @interface EngineApiListEnvironmentEngineOptionsRequest
|
|
3335
|
+
*/
|
|
3336
|
+
export interface EngineApiListEnvironmentEngineOptionsRequest {
|
|
3337
|
+
/**
|
|
3338
|
+
* environment name
|
|
3339
|
+
* @type {string}
|
|
3340
|
+
* @memberof EngineApiListEnvironmentEngineOptions
|
|
3341
|
+
*/
|
|
3342
|
+
readonly environmentName: string
|
|
3343
|
+
|
|
3344
|
+
/**
|
|
3345
|
+
* filter by engine name
|
|
3346
|
+
* @type {string}
|
|
3347
|
+
* @memberof EngineApiListEnvironmentEngineOptions
|
|
3348
|
+
*/
|
|
3349
|
+
readonly engineName?: string
|
|
3350
|
+
|
|
3351
|
+
/**
|
|
3352
|
+
* filter by engine mode
|
|
3353
|
+
* @type {string}
|
|
3354
|
+
* @memberof EngineApiListEnvironmentEngineOptions
|
|
3355
|
+
*/
|
|
3356
|
+
readonly mode?: string
|
|
3357
|
+
}
|
|
3358
|
+
|
|
2765
3359
|
/**
|
|
2766
3360
|
* Request parameters for listServiceVersion operation in EngineApi.
|
|
2767
3361
|
* @export
|
|
@@ -2923,6 +3517,34 @@ export interface EngineApiUpdateEngineResourceConstraintRequest {
|
|
|
2923
3517
|
readonly resourceConstraintUpdate: ResourceConstraintUpdate
|
|
2924
3518
|
}
|
|
2925
3519
|
|
|
3520
|
+
/**
|
|
3521
|
+
* Request parameters for updateEnvironmentEngineOption operation in EngineApi.
|
|
3522
|
+
* @export
|
|
3523
|
+
* @interface EngineApiUpdateEnvironmentEngineOptionRequest
|
|
3524
|
+
*/
|
|
3525
|
+
export interface EngineApiUpdateEnvironmentEngineOptionRequest {
|
|
3526
|
+
/**
|
|
3527
|
+
* environment name
|
|
3528
|
+
* @type {string}
|
|
3529
|
+
* @memberof EngineApiUpdateEnvironmentEngineOption
|
|
3530
|
+
*/
|
|
3531
|
+
readonly environmentName: string
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* engine environment engine option record id
|
|
3535
|
+
* @type {string}
|
|
3536
|
+
* @memberof EngineApiUpdateEnvironmentEngineOption
|
|
3537
|
+
*/
|
|
3538
|
+
readonly id: string
|
|
3539
|
+
|
|
3540
|
+
/**
|
|
3541
|
+
*
|
|
3542
|
+
* @type {EnvironmentEngineOptionUpdate}
|
|
3543
|
+
* @memberof EngineApiUpdateEnvironmentEngineOption
|
|
3544
|
+
*/
|
|
3545
|
+
readonly body: EnvironmentEngineOptionUpdate
|
|
3546
|
+
}
|
|
3547
|
+
|
|
2926
3548
|
/**
|
|
2927
3549
|
* EngineApi - object-oriented interface
|
|
2928
3550
|
* @export
|
|
@@ -2990,6 +3612,18 @@ export class EngineApi extends BaseAPI implements EngineApiInterface {
|
|
|
2990
3612
|
return EngineApiFp(this.configuration).createEngineVersion(requestParameters.engineVersionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2991
3613
|
}
|
|
2992
3614
|
|
|
3615
|
+
/**
|
|
3616
|
+
*
|
|
3617
|
+
* @summary Create environment engine option
|
|
3618
|
+
* @param {EngineApiCreateEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
3619
|
+
* @param {*} [options] Override http request option.
|
|
3620
|
+
* @throws {RequiredError}
|
|
3621
|
+
* @memberof EngineApi
|
|
3622
|
+
*/
|
|
3623
|
+
public createEnvironmentEngineOption(requestParameters: EngineApiCreateEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig) {
|
|
3624
|
+
return EngineApiFp(this.configuration).createEnvironmentEngineOption(requestParameters.environmentName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
3625
|
+
}
|
|
3626
|
+
|
|
2993
3627
|
/**
|
|
2994
3628
|
* delete an engine license entity by ID
|
|
2995
3629
|
* @summary Delete an engine license entity by ID
|
|
@@ -3038,6 +3672,18 @@ export class EngineApi extends BaseAPI implements EngineApiInterface {
|
|
|
3038
3672
|
return EngineApiFp(this.configuration).deleteEngineVersion(requestParameters.engineVersionDelete, options).then((request) => request(this.axios, this.basePath));
|
|
3039
3673
|
}
|
|
3040
3674
|
|
|
3675
|
+
/**
|
|
3676
|
+
*
|
|
3677
|
+
* @summary Delete environment engine option
|
|
3678
|
+
* @param {EngineApiDeleteEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
3679
|
+
* @param {*} [options] Override http request option.
|
|
3680
|
+
* @throws {RequiredError}
|
|
3681
|
+
* @memberof EngineApi
|
|
3682
|
+
*/
|
|
3683
|
+
public deleteEnvironmentEngineOption(requestParameters: EngineApiDeleteEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig) {
|
|
3684
|
+
return EngineApiFp(this.configuration).deleteEnvironmentEngineOption(requestParameters.environmentName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3041
3687
|
/**
|
|
3042
3688
|
* Remove a service version from the engine version\'s service_versions list if no running clusters are using it
|
|
3043
3689
|
* @summary Disable service version
|
|
@@ -3086,6 +3732,30 @@ export class EngineApi extends BaseAPI implements EngineApiInterface {
|
|
|
3086
3732
|
return EngineApiFp(this.configuration).getEngineLicenseEntity(requestParameters.entityId, options).then((request) => request(this.axios, this.basePath));
|
|
3087
3733
|
}
|
|
3088
3734
|
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @summary Get available network modes for all engines from engineOption config
|
|
3738
|
+
* @param {EngineApiGetEngineNetworkModeOptionsRequest} requestParameters Request parameters.
|
|
3739
|
+
* @param {*} [options] Override http request option.
|
|
3740
|
+
* @throws {RequiredError}
|
|
3741
|
+
* @memberof EngineApi
|
|
3742
|
+
*/
|
|
3743
|
+
public getEngineNetworkModeOptions(requestParameters: EngineApiGetEngineNetworkModeOptionsRequest, options?: RawAxiosRequestConfig) {
|
|
3744
|
+
return EngineApiFp(this.configuration).getEngineNetworkModeOptions(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @summary Get supported network modes for engine+mode from engineOption config
|
|
3750
|
+
* @param {EngineApiGetEngineNetworkModeSupportedRequest} requestParameters Request parameters.
|
|
3751
|
+
* @param {*} [options] Override http request option.
|
|
3752
|
+
* @throws {RequiredError}
|
|
3753
|
+
* @memberof EngineApi
|
|
3754
|
+
*/
|
|
3755
|
+
public getEngineNetworkModeSupported(requestParameters: EngineApiGetEngineNetworkModeSupportedRequest, options?: RawAxiosRequestConfig) {
|
|
3756
|
+
return EngineApiFp(this.configuration).getEngineNetworkModeSupported(requestParameters.environmentName, requestParameters.engineName, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
3757
|
+
}
|
|
3758
|
+
|
|
3089
3759
|
/**
|
|
3090
3760
|
* get the progress of uploading image task
|
|
3091
3761
|
* @summary get the progress of uploading image task
|
|
@@ -3193,6 +3863,18 @@ export class EngineApi extends BaseAPI implements EngineApiInterface {
|
|
|
3193
3863
|
return EngineApiFp(this.configuration).listEnginesInEnv(requestParameters.environmentName, requestParameters.name, requestParameters.type, requestParameters.version, requestParameters.provider, requestParameters.all, options).then((request) => request(this.axios, this.basePath));
|
|
3194
3864
|
}
|
|
3195
3865
|
|
|
3866
|
+
/**
|
|
3867
|
+
*
|
|
3868
|
+
* @summary List environment engine options
|
|
3869
|
+
* @param {EngineApiListEnvironmentEngineOptionsRequest} requestParameters Request parameters.
|
|
3870
|
+
* @param {*} [options] Override http request option.
|
|
3871
|
+
* @throws {RequiredError}
|
|
3872
|
+
* @memberof EngineApi
|
|
3873
|
+
*/
|
|
3874
|
+
public listEnvironmentEngineOptions(requestParameters: EngineApiListEnvironmentEngineOptionsRequest, options?: RawAxiosRequestConfig) {
|
|
3875
|
+
return EngineApiFp(this.configuration).listEnvironmentEngineOptions(requestParameters.environmentName, requestParameters.engineName, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3196
3878
|
/**
|
|
3197
3879
|
* list the service version of the engine
|
|
3198
3880
|
* @summary list the service version of the engine
|
|
@@ -3264,5 +3946,17 @@ export class EngineApi extends BaseAPI implements EngineApiInterface {
|
|
|
3264
3946
|
public updateEngineResourceConstraint(requestParameters: EngineApiUpdateEngineResourceConstraintRequest, options?: RawAxiosRequestConfig) {
|
|
3265
3947
|
return EngineApiFp(this.configuration).updateEngineResourceConstraint(requestParameters.id, requestParameters.resourceConstraintUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3266
3948
|
}
|
|
3949
|
+
|
|
3950
|
+
/**
|
|
3951
|
+
*
|
|
3952
|
+
* @summary Update environment engine option
|
|
3953
|
+
* @param {EngineApiUpdateEnvironmentEngineOptionRequest} requestParameters Request parameters.
|
|
3954
|
+
* @param {*} [options] Override http request option.
|
|
3955
|
+
* @throws {RequiredError}
|
|
3956
|
+
* @memberof EngineApi
|
|
3957
|
+
*/
|
|
3958
|
+
public updateEnvironmentEngineOption(requestParameters: EngineApiUpdateEnvironmentEngineOptionRequest, options?: RawAxiosRequestConfig) {
|
|
3959
|
+
return EngineApiFp(this.configuration).updateEnvironmentEngineOption(requestParameters.environmentName, requestParameters.id, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
3960
|
+
}
|
|
3267
3961
|
}
|
|
3268
3962
|
|