kb-cloud-client-typescript 2.3.49 → 2.3.50
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/organization-api.d.ts +211 -2
- package/dist/adminapi/apis/organization-api.d.ts.map +1 -1
- package/dist/adminapi/apis/organization-api.js +245 -5
- package/dist/adminapi/apis/organization-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +211 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +245 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/component-item-create.d.ts +8 -0
- package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
- package/dist/adminapi/models/component-item.d.ts +8 -0
- package/dist/adminapi/models/component-item.d.ts.map +1 -1
- package/dist/adminapi/models/component-option.d.ts +6 -0
- package/dist/adminapi/models/component-option.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +9 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +9 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/org-configuration-item.d.ts +31 -0
- package/dist/adminapi/models/org-configuration-item.d.ts.map +1 -0
- package/dist/adminapi/models/org-configuration-item.js +16 -0
- package/dist/adminapi/models/org-configuration-item.js.map +1 -0
- package/dist/adminapi/models/org-configuration-summary.d.ts +56 -0
- package/dist/adminapi/models/org-configuration-summary.d.ts.map +1 -0
- package/dist/adminapi/models/org-configuration-summary.js +16 -0
- package/dist/adminapi/models/org-configuration-summary.js.map +1 -0
- package/dist/adminapi/models/org-deletion-action.d.ts +22 -0
- package/dist/adminapi/models/org-deletion-action.d.ts.map +1 -0
- package/dist/adminapi/models/org-deletion-action.js +26 -0
- package/dist/adminapi/models/org-deletion-action.js.map +1 -0
- package/dist/adminapi/models/org-deletion-blocker.d.ts +37 -0
- package/dist/adminapi/models/org-deletion-blocker.d.ts.map +1 -0
- package/dist/adminapi/models/org-deletion-blocker.js +16 -0
- package/dist/adminapi/models/org-deletion-blocker.js.map +1 -0
- package/dist/adminapi/models/org-deletion-preview.d.ts +82 -0
- package/dist/adminapi/models/org-deletion-preview.d.ts.map +1 -0
- package/dist/adminapi/models/org-deletion-preview.js +16 -0
- package/dist/adminapi/models/org-deletion-preview.js.map +1 -0
- package/dist/adminapi/models/org-lifecycle-request.d.ts +31 -0
- package/dist/adminapi/models/org-lifecycle-request.d.ts.map +1 -0
- package/dist/adminapi/models/org-lifecycle-request.js +16 -0
- package/dist/adminapi/models/org-lifecycle-request.js.map +1 -0
- package/dist/adminapi/models/org-purge-result.d.ts +37 -0
- package/dist/adminapi/models/org-purge-result.d.ts.map +1 -0
- package/dist/adminapi/models/org-purge-result.js +16 -0
- package/dist/adminapi/models/org-purge-result.js.map +1 -0
- package/dist/adminapi/models/org-retained-resource.d.ts +37 -0
- package/dist/adminapi/models/org-retained-resource.d.ts.map +1 -0
- package/dist/adminapi/models/org-retained-resource.js +16 -0
- package/dist/adminapi/models/org-retained-resource.js.map +1 -0
- package/dist/adminapi/models/org-status.d.ts +25 -0
- package/dist/adminapi/models/org-status.d.ts.map +1 -0
- package/dist/adminapi/models/org-status.js +29 -0
- package/dist/adminapi/models/org-status.js.map +1 -0
- package/dist/adminapi/models/org.d.ts +25 -0
- package/dist/adminapi/models/org.d.ts.map +1 -1
- package/dist/adminapi/models/organization-item.d.ts +31 -0
- package/dist/adminapi/models/organization-item.d.ts.map +1 -1
- package/dist/adminapi/models/restore-create.d.ts +1 -1
- package/dist/internalapi/apis/environment-api.d.ts +63 -0
- package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.js +72 -0
- package/dist/internalapi/apis/environment-api.js.map +1 -1
- package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts +15 -7
- package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts.map +1 -1
- package/dist/internalapi/apis/recycle-bin-cluster-api.js +18 -11
- package/dist/internalapi/apis/recycle-bin-cluster-api.js.map +1 -1
- package/dist/internalapi/models/component-item.d.ts +8 -0
- package/dist/internalapi/models/component-item.d.ts.map +1 -1
- package/dist/openapi/apis/organization-api.d.ts +211 -2
- package/dist/openapi/apis/organization-api.d.ts.map +1 -1
- package/dist/openapi/apis/organization-api.js +245 -5
- package/dist/openapi/apis/organization-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +211 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +245 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/component-item-create.d.ts +8 -0
- package/dist/openapi/models/component-item-create.d.ts.map +1 -1
- package/dist/openapi/models/component-item.d.ts +8 -0
- package/dist/openapi/models/component-item.d.ts.map +1 -1
- package/dist/openapi/models/component-option.d.ts +6 -0
- package/dist/openapi/models/component-option.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +9 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +9 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/org-configuration-item.d.ts +31 -0
- package/dist/openapi/models/org-configuration-item.d.ts.map +1 -0
- package/dist/openapi/models/org-configuration-item.js +16 -0
- package/dist/openapi/models/org-configuration-item.js.map +1 -0
- package/dist/openapi/models/org-configuration-summary.d.ts +56 -0
- package/dist/openapi/models/org-configuration-summary.d.ts.map +1 -0
- package/dist/openapi/models/org-configuration-summary.js +16 -0
- package/dist/openapi/models/org-configuration-summary.js.map +1 -0
- package/dist/openapi/models/org-deletion-action.d.ts +22 -0
- package/dist/openapi/models/org-deletion-action.d.ts.map +1 -0
- package/dist/openapi/models/org-deletion-action.js +26 -0
- package/dist/openapi/models/org-deletion-action.js.map +1 -0
- package/dist/openapi/models/org-deletion-blocker.d.ts +37 -0
- package/dist/openapi/models/org-deletion-blocker.d.ts.map +1 -0
- package/dist/openapi/models/org-deletion-blocker.js +16 -0
- package/dist/openapi/models/org-deletion-blocker.js.map +1 -0
- package/dist/openapi/models/org-deletion-preview.d.ts +82 -0
- package/dist/openapi/models/org-deletion-preview.d.ts.map +1 -0
- package/dist/openapi/models/org-deletion-preview.js +16 -0
- package/dist/openapi/models/org-deletion-preview.js.map +1 -0
- package/dist/openapi/models/org-lifecycle-request.d.ts +31 -0
- package/dist/openapi/models/org-lifecycle-request.d.ts.map +1 -0
- package/dist/openapi/models/org-lifecycle-request.js +16 -0
- package/dist/openapi/models/org-lifecycle-request.js.map +1 -0
- package/dist/openapi/models/org-purge-result.d.ts +37 -0
- package/dist/openapi/models/org-purge-result.d.ts.map +1 -0
- package/dist/openapi/models/org-purge-result.js +16 -0
- package/dist/openapi/models/org-purge-result.js.map +1 -0
- package/dist/openapi/models/org-retained-resource.d.ts +37 -0
- package/dist/openapi/models/org-retained-resource.d.ts.map +1 -0
- package/dist/openapi/models/org-retained-resource.js +16 -0
- package/dist/openapi/models/org-retained-resource.js.map +1 -0
- package/dist/openapi/models/org-status.d.ts +25 -0
- package/dist/openapi/models/org-status.d.ts.map +1 -0
- package/dist/openapi/models/org-status.js +29 -0
- package/dist/openapi/models/org-status.js.map +1 -0
- package/dist/openapi/models/org.d.ts +25 -0
- package/dist/openapi/models/org.d.ts.map +1 -1
- package/dist/openapi/models/restore-create.d.ts +1 -1
- package/dist/openapi/models/user-org.d.ts +25 -0
- package/dist/openapi/models/user-org.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +9 -0
- package/src/adminapi/apis/organization-api.ts +386 -5
- package/src/adminapi/apis/shared-api.ts +386 -5
- package/src/adminapi/models/component-item-create.ts +6 -0
- package/src/adminapi/models/component-item.ts +6 -0
- package/src/adminapi/models/component-option.ts +6 -0
- package/src/adminapi/models/index.ts +9 -0
- package/src/adminapi/models/org-configuration-item.ts +36 -0
- package/src/adminapi/models/org-configuration-summary.ts +63 -0
- package/src/adminapi/models/org-deletion-action.ts +31 -0
- package/src/adminapi/models/org-deletion-blocker.ts +42 -0
- package/src/adminapi/models/org-deletion-preview.ts +93 -0
- package/src/adminapi/models/org-lifecycle-request.ts +36 -0
- package/src/adminapi/models/org-purge-result.ts +42 -0
- package/src/adminapi/models/org-retained-resource.ts +42 -0
- package/src/adminapi/models/org-status.ts +34 -0
- package/src/adminapi/models/org.ts +29 -0
- package/src/adminapi/models/organization-item.ts +35 -0
- package/src/adminapi/models/restore-create.ts +1 -1
- package/src/adminapi.yaml +320 -1
- package/src/internalapi/apis/environment-api.ts +110 -0
- package/src/internalapi/apis/recycle-bin-cluster-api.ts +29 -14
- package/src/internalapi/models/component-item.ts +6 -0
- package/src/internalapi.yaml +38 -3
- package/src/openapi/.openapi-generator/FILES +9 -0
- package/src/openapi/apis/organization-api.ts +386 -5
- package/src/openapi/apis/shared-api.ts +386 -5
- package/src/openapi/models/component-item-create.ts +6 -0
- package/src/openapi/models/component-item.ts +6 -0
- package/src/openapi/models/component-option.ts +6 -0
- package/src/openapi/models/index.ts +9 -0
- package/src/openapi/models/org-configuration-item.ts +36 -0
- package/src/openapi/models/org-configuration-summary.ts +63 -0
- package/src/openapi/models/org-deletion-action.ts +31 -0
- package/src/openapi/models/org-deletion-blocker.ts +42 -0
- package/src/openapi/models/org-deletion-preview.ts +93 -0
- package/src/openapi/models/org-lifecycle-request.ts +36 -0
- package/src/openapi/models/org-purge-result.ts +42 -0
- package/src/openapi/models/org-retained-resource.ts +42 -0
- package/src/openapi/models/org-status.ts +34 -0
- package/src/openapi/models/org.ts +29 -0
- package/src/openapi/models/restore-create.ts +1 -1
- package/src/openapi/models/user-org.ts +29 -0
- package/src/openapi.yaml +316 -1
|
@@ -326,6 +326,12 @@ import type { OpsVolumeExpand } from '../models';
|
|
|
326
326
|
// @ts-ignore
|
|
327
327
|
import type { Org } from '../models';
|
|
328
328
|
// @ts-ignore
|
|
329
|
+
import type { OrgDeletionAction } from '../models';
|
|
330
|
+
// @ts-ignore
|
|
331
|
+
import type { OrgDeletionPreview } from '../models';
|
|
332
|
+
// @ts-ignore
|
|
333
|
+
import type { OrgLifecycleRequest } from '../models';
|
|
334
|
+
// @ts-ignore
|
|
329
335
|
import type { OrgMember } from '../models';
|
|
330
336
|
// @ts-ignore
|
|
331
337
|
import type { OrgMemberAdd } from '../models';
|
|
@@ -336,6 +342,8 @@ import type { OrgMemberUpdate } from '../models';
|
|
|
336
342
|
// @ts-ignore
|
|
337
343
|
import type { OrgParameter } from '../models';
|
|
338
344
|
// @ts-ignore
|
|
345
|
+
import type { OrgPurgeResult } from '../models';
|
|
346
|
+
// @ts-ignore
|
|
339
347
|
import type { OrgTagsList } from '../models';
|
|
340
348
|
// @ts-ignore
|
|
341
349
|
import type { OrgUpdate } from '../models';
|
|
@@ -3798,12 +3806,15 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3798
3806
|
* partially delete the specified org
|
|
3799
3807
|
* @summary Delete organization
|
|
3800
3808
|
* @param {string} orgName name of the Org
|
|
3809
|
+
* @param {string} orgID
|
|
3801
3810
|
* @param {*} [options] Override http request option.
|
|
3802
3811
|
* @throws {RequiredError}
|
|
3803
3812
|
*/
|
|
3804
|
-
deleteOrg: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3813
|
+
deleteOrg: async (orgName: string, orgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3805
3814
|
// verify required parameter 'orgName' is not null or undefined
|
|
3806
3815
|
assertParamExists('deleteOrg', 'orgName', orgName)
|
|
3816
|
+
// verify required parameter 'orgID' is not null or undefined
|
|
3817
|
+
assertParamExists('deleteOrg', 'orgID', orgID)
|
|
3807
3818
|
const localVarPath = `/admin/v1/organizations/{orgName}`
|
|
3808
3819
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
3809
3820
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -3824,6 +3835,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3824
3835
|
// authentication DigestAuth required
|
|
3825
3836
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3826
3837
|
|
|
3838
|
+
if (orgID !== undefined) {
|
|
3839
|
+
localVarQueryParameter['orgID'] = orgID;
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3827
3842
|
|
|
3828
3843
|
|
|
3829
3844
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12763,6 +12778,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12763
12778
|
options: localVarRequestOptions,
|
|
12764
12779
|
};
|
|
12765
12780
|
},
|
|
12781
|
+
/**
|
|
12782
|
+
*
|
|
12783
|
+
* @summary Preview organization deletion or purge
|
|
12784
|
+
* @param {string} orgName
|
|
12785
|
+
* @param {string} orgID
|
|
12786
|
+
* @param {OrgDeletionAction} action
|
|
12787
|
+
* @param {*} [options] Override http request option.
|
|
12788
|
+
* @throws {RequiredError}
|
|
12789
|
+
*/
|
|
12790
|
+
previewOrgDeletion: async (orgName: string, orgID: string, action: OrgDeletionAction, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12791
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12792
|
+
assertParamExists('previewOrgDeletion', 'orgName', orgName)
|
|
12793
|
+
// verify required parameter 'orgID' is not null or undefined
|
|
12794
|
+
assertParamExists('previewOrgDeletion', 'orgID', orgID)
|
|
12795
|
+
// verify required parameter 'action' is not null or undefined
|
|
12796
|
+
assertParamExists('previewOrgDeletion', 'action', action)
|
|
12797
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/deletionPreview`
|
|
12798
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
12799
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12800
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12801
|
+
let baseOptions;
|
|
12802
|
+
if (configuration) {
|
|
12803
|
+
baseOptions = configuration.baseOptions;
|
|
12804
|
+
}
|
|
12805
|
+
|
|
12806
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12807
|
+
const localVarHeaderParameter = {} as any;
|
|
12808
|
+
const localVarQueryParameter = {} as any;
|
|
12809
|
+
|
|
12810
|
+
// authentication BearerToken required
|
|
12811
|
+
// http bearer authentication required
|
|
12812
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12813
|
+
|
|
12814
|
+
// authentication DigestAuth required
|
|
12815
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12816
|
+
|
|
12817
|
+
if (orgID !== undefined) {
|
|
12818
|
+
localVarQueryParameter['orgID'] = orgID;
|
|
12819
|
+
}
|
|
12820
|
+
|
|
12821
|
+
if (action !== undefined) {
|
|
12822
|
+
localVarQueryParameter['action'] = action;
|
|
12823
|
+
}
|
|
12824
|
+
|
|
12825
|
+
|
|
12826
|
+
|
|
12827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12829
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12830
|
+
|
|
12831
|
+
return {
|
|
12832
|
+
url: toPathString(localVarUrlObj),
|
|
12833
|
+
options: localVarRequestOptions,
|
|
12834
|
+
};
|
|
12835
|
+
},
|
|
12766
12836
|
/**
|
|
12767
12837
|
*
|
|
12768
12838
|
* @summary Produce message to topic
|
|
@@ -12869,6 +12939,53 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12869
12939
|
options: localVarRequestOptions,
|
|
12870
12940
|
};
|
|
12871
12941
|
},
|
|
12942
|
+
/**
|
|
12943
|
+
*
|
|
12944
|
+
* @summary Purge organization
|
|
12945
|
+
* @param {string} orgName
|
|
12946
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
12947
|
+
* @param {*} [options] Override http request option.
|
|
12948
|
+
* @throws {RequiredError}
|
|
12949
|
+
*/
|
|
12950
|
+
purgeOrg: async (orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12951
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12952
|
+
assertParamExists('purgeOrg', 'orgName', orgName)
|
|
12953
|
+
// verify required parameter 'orgLifecycleRequest' is not null or undefined
|
|
12954
|
+
assertParamExists('purgeOrg', 'orgLifecycleRequest', orgLifecycleRequest)
|
|
12955
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/purge`
|
|
12956
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
12957
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12958
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12959
|
+
let baseOptions;
|
|
12960
|
+
if (configuration) {
|
|
12961
|
+
baseOptions = configuration.baseOptions;
|
|
12962
|
+
}
|
|
12963
|
+
|
|
12964
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12965
|
+
const localVarHeaderParameter = {} as any;
|
|
12966
|
+
const localVarQueryParameter = {} as any;
|
|
12967
|
+
|
|
12968
|
+
// authentication BearerToken required
|
|
12969
|
+
// http bearer authentication required
|
|
12970
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12971
|
+
|
|
12972
|
+
// authentication DigestAuth required
|
|
12973
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12974
|
+
|
|
12975
|
+
|
|
12976
|
+
|
|
12977
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12978
|
+
|
|
12979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12981
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12982
|
+
localVarRequestOptions.data = serializeDataIfNeeded(orgLifecycleRequest, localVarRequestOptions, configuration)
|
|
12983
|
+
|
|
12984
|
+
return {
|
|
12985
|
+
url: toPathString(localVarUrlObj),
|
|
12986
|
+
options: localVarRequestOptions,
|
|
12987
|
+
};
|
|
12988
|
+
},
|
|
12872
12989
|
/**
|
|
12873
12990
|
*
|
|
12874
12991
|
* @summary Create or update Elasticsearch security role
|
|
@@ -15093,6 +15210,53 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15093
15210
|
options: localVarRequestOptions,
|
|
15094
15211
|
};
|
|
15095
15212
|
},
|
|
15213
|
+
/**
|
|
15214
|
+
*
|
|
15215
|
+
* @summary Restore organization
|
|
15216
|
+
* @param {string} orgName
|
|
15217
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
15218
|
+
* @param {*} [options] Override http request option.
|
|
15219
|
+
* @throws {RequiredError}
|
|
15220
|
+
*/
|
|
15221
|
+
restoreOrg: async (orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15222
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15223
|
+
assertParamExists('restoreOrg', 'orgName', orgName)
|
|
15224
|
+
// verify required parameter 'orgLifecycleRequest' is not null or undefined
|
|
15225
|
+
assertParamExists('restoreOrg', 'orgLifecycleRequest', orgLifecycleRequest)
|
|
15226
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/restoreOrganization`
|
|
15227
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
15228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15230
|
+
let baseOptions;
|
|
15231
|
+
if (configuration) {
|
|
15232
|
+
baseOptions = configuration.baseOptions;
|
|
15233
|
+
}
|
|
15234
|
+
|
|
15235
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15236
|
+
const localVarHeaderParameter = {} as any;
|
|
15237
|
+
const localVarQueryParameter = {} as any;
|
|
15238
|
+
|
|
15239
|
+
// authentication BearerToken required
|
|
15240
|
+
// http bearer authentication required
|
|
15241
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15242
|
+
|
|
15243
|
+
// authentication DigestAuth required
|
|
15244
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15245
|
+
|
|
15246
|
+
|
|
15247
|
+
|
|
15248
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15249
|
+
|
|
15250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15252
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15253
|
+
localVarRequestOptions.data = serializeDataIfNeeded(orgLifecycleRequest, localVarRequestOptions, configuration)
|
|
15254
|
+
|
|
15255
|
+
return {
|
|
15256
|
+
url: toPathString(localVarUrlObj),
|
|
15257
|
+
options: localVarRequestOptions,
|
|
15258
|
+
};
|
|
15259
|
+
},
|
|
15096
15260
|
/**
|
|
15097
15261
|
*
|
|
15098
15262
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -18870,11 +19034,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18870
19034
|
* partially delete the specified org
|
|
18871
19035
|
* @summary Delete organization
|
|
18872
19036
|
* @param {string} orgName name of the Org
|
|
19037
|
+
* @param {string} orgID
|
|
18873
19038
|
* @param {*} [options] Override http request option.
|
|
18874
19039
|
* @throws {RequiredError}
|
|
18875
19040
|
*/
|
|
18876
|
-
async deleteOrg(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18877
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrg(orgName, options);
|
|
19041
|
+
async deleteOrg(orgName: string, orgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19042
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrg(orgName, orgID, options);
|
|
18878
19043
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18879
19044
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteOrg']?.[localVarOperationServerIndex]?.url;
|
|
18880
19045
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -21513,6 +21678,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21513
21678
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.patchOrgParameter']?.[localVarOperationServerIndex]?.url;
|
|
21514
21679
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21515
21680
|
},
|
|
21681
|
+
/**
|
|
21682
|
+
*
|
|
21683
|
+
* @summary Preview organization deletion or purge
|
|
21684
|
+
* @param {string} orgName
|
|
21685
|
+
* @param {string} orgID
|
|
21686
|
+
* @param {OrgDeletionAction} action
|
|
21687
|
+
* @param {*} [options] Override http request option.
|
|
21688
|
+
* @throws {RequiredError}
|
|
21689
|
+
*/
|
|
21690
|
+
async previewOrgDeletion(orgName: string, orgID: string, action: OrgDeletionAction, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgDeletionPreview>> {
|
|
21691
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewOrgDeletion(orgName, orgID, action, options);
|
|
21692
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21693
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.previewOrgDeletion']?.[localVarOperationServerIndex]?.url;
|
|
21694
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21695
|
+
},
|
|
21516
21696
|
/**
|
|
21517
21697
|
*
|
|
21518
21698
|
* @summary Produce message to topic
|
|
@@ -21544,6 +21724,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21544
21724
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.promoteCluster']?.[localVarOperationServerIndex]?.url;
|
|
21545
21725
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21546
21726
|
},
|
|
21727
|
+
/**
|
|
21728
|
+
*
|
|
21729
|
+
* @summary Purge organization
|
|
21730
|
+
* @param {string} orgName
|
|
21731
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
21732
|
+
* @param {*} [options] Override http request option.
|
|
21733
|
+
* @throws {RequiredError}
|
|
21734
|
+
*/
|
|
21735
|
+
async purgeOrg(orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgPurgeResult>> {
|
|
21736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.purgeOrg(orgName, orgLifecycleRequest, options);
|
|
21737
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21738
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.purgeOrg']?.[localVarOperationServerIndex]?.url;
|
|
21739
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21740
|
+
},
|
|
21547
21741
|
/**
|
|
21548
21742
|
*
|
|
21549
21743
|
* @summary Create or update Elasticsearch security role
|
|
@@ -22120,6 +22314,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
22120
22314
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restartInstance']?.[localVarOperationServerIndex]?.url;
|
|
22121
22315
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22122
22316
|
},
|
|
22317
|
+
/**
|
|
22318
|
+
*
|
|
22319
|
+
* @summary Restore organization
|
|
22320
|
+
* @param {string} orgName
|
|
22321
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
22322
|
+
* @param {*} [options] Override http request option.
|
|
22323
|
+
* @throws {RequiredError}
|
|
22324
|
+
*/
|
|
22325
|
+
async restoreOrg(orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Org>> {
|
|
22326
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreOrg(orgName, orgLifecycleRequest, options);
|
|
22327
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22328
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreOrg']?.[localVarOperationServerIndex]?.url;
|
|
22329
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22330
|
+
},
|
|
22123
22331
|
/**
|
|
22124
22332
|
*
|
|
22125
22333
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -23592,7 +23800,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23592
23800
|
* @throws {RequiredError}
|
|
23593
23801
|
*/
|
|
23594
23802
|
deleteOrg(requestParameters: SharedApiDeleteOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23595
|
-
return localVarFp.deleteOrg(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
23803
|
+
return localVarFp.deleteOrg(requestParameters.orgName, requestParameters.orgID, options).then((request) => request(axios, basePath));
|
|
23596
23804
|
},
|
|
23597
23805
|
/**
|
|
23598
23806
|
* delete a Org Member
|
|
@@ -25300,6 +25508,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25300
25508
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter> {
|
|
25301
25509
|
return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
25302
25510
|
},
|
|
25511
|
+
/**
|
|
25512
|
+
*
|
|
25513
|
+
* @summary Preview organization deletion or purge
|
|
25514
|
+
* @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
|
|
25515
|
+
* @param {*} [options] Override http request option.
|
|
25516
|
+
* @throws {RequiredError}
|
|
25517
|
+
*/
|
|
25518
|
+
previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgDeletionPreview> {
|
|
25519
|
+
return localVarFp.previewOrgDeletion(requestParameters.orgName, requestParameters.orgID, requestParameters.action, options).then((request) => request(axios, basePath));
|
|
25520
|
+
},
|
|
25303
25521
|
/**
|
|
25304
25522
|
*
|
|
25305
25523
|
* @summary Produce message to topic
|
|
@@ -25320,6 +25538,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25320
25538
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
25321
25539
|
return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
25322
25540
|
},
|
|
25541
|
+
/**
|
|
25542
|
+
*
|
|
25543
|
+
* @summary Purge organization
|
|
25544
|
+
* @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
|
|
25545
|
+
* @param {*} [options] Override http request option.
|
|
25546
|
+
* @throws {RequiredError}
|
|
25547
|
+
*/
|
|
25548
|
+
purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgPurgeResult> {
|
|
25549
|
+
return localVarFp.purgeOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(axios, basePath));
|
|
25550
|
+
},
|
|
25323
25551
|
/**
|
|
25324
25552
|
*
|
|
25325
25553
|
* @summary Create or update Elasticsearch security role
|
|
@@ -25609,6 +25837,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25609
25837
|
restartInstance(requestParameters: SharedApiRestartInstanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
25610
25838
|
return localVarFp.restartInstance(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, options).then((request) => request(axios, basePath));
|
|
25611
25839
|
},
|
|
25840
|
+
/**
|
|
25841
|
+
*
|
|
25842
|
+
* @summary Restore organization
|
|
25843
|
+
* @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
|
|
25844
|
+
* @param {*} [options] Override http request option.
|
|
25845
|
+
* @throws {RequiredError}
|
|
25846
|
+
*/
|
|
25847
|
+
restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org> {
|
|
25848
|
+
return localVarFp.restoreOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(axios, basePath));
|
|
25849
|
+
},
|
|
25612
25850
|
/**
|
|
25613
25851
|
*
|
|
25614
25852
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -28493,6 +28731,16 @@ export interface SharedApiInterface {
|
|
|
28493
28731
|
*/
|
|
28494
28732
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
|
|
28495
28733
|
|
|
28734
|
+
/**
|
|
28735
|
+
*
|
|
28736
|
+
* @summary Preview organization deletion or purge
|
|
28737
|
+
* @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
|
|
28738
|
+
* @param {*} [options] Override http request option.
|
|
28739
|
+
* @throws {RequiredError}
|
|
28740
|
+
* @memberof SharedApiInterface
|
|
28741
|
+
*/
|
|
28742
|
+
previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgDeletionPreview>;
|
|
28743
|
+
|
|
28496
28744
|
/**
|
|
28497
28745
|
*
|
|
28498
28746
|
* @summary Produce message to topic
|
|
@@ -28513,6 +28761,16 @@ export interface SharedApiInterface {
|
|
|
28513
28761
|
*/
|
|
28514
28762
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
28515
28763
|
|
|
28764
|
+
/**
|
|
28765
|
+
*
|
|
28766
|
+
* @summary Purge organization
|
|
28767
|
+
* @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
|
|
28768
|
+
* @param {*} [options] Override http request option.
|
|
28769
|
+
* @throws {RequiredError}
|
|
28770
|
+
* @memberof SharedApiInterface
|
|
28771
|
+
*/
|
|
28772
|
+
purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgPurgeResult>;
|
|
28773
|
+
|
|
28516
28774
|
/**
|
|
28517
28775
|
*
|
|
28518
28776
|
* @summary Create or update Elasticsearch security role
|
|
@@ -28802,6 +29060,16 @@ export interface SharedApiInterface {
|
|
|
28802
29060
|
*/
|
|
28803
29061
|
restartInstance(requestParameters: SharedApiRestartInstanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
28804
29062
|
|
|
29063
|
+
/**
|
|
29064
|
+
*
|
|
29065
|
+
* @summary Restore organization
|
|
29066
|
+
* @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
|
|
29067
|
+
* @param {*} [options] Override http request option.
|
|
29068
|
+
* @throws {RequiredError}
|
|
29069
|
+
* @memberof SharedApiInterface
|
|
29070
|
+
*/
|
|
29071
|
+
restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org>;
|
|
29072
|
+
|
|
28805
29073
|
/**
|
|
28806
29074
|
*
|
|
28807
29075
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -31267,6 +31535,13 @@ export interface SharedApiDeleteOrgRequest {
|
|
|
31267
31535
|
* @memberof SharedApiDeleteOrg
|
|
31268
31536
|
*/
|
|
31269
31537
|
readonly orgName: string
|
|
31538
|
+
|
|
31539
|
+
/**
|
|
31540
|
+
*
|
|
31541
|
+
* @type {string}
|
|
31542
|
+
* @memberof SharedApiDeleteOrg
|
|
31543
|
+
*/
|
|
31544
|
+
readonly orgID: string
|
|
31270
31545
|
}
|
|
31271
31546
|
|
|
31272
31547
|
/**
|
|
@@ -36498,6 +36773,34 @@ export interface SharedApiPatchOrgParameterRequest {
|
|
|
36498
36773
|
readonly orgParameter: OrgParameter
|
|
36499
36774
|
}
|
|
36500
36775
|
|
|
36776
|
+
/**
|
|
36777
|
+
* Request parameters for previewOrgDeletion operation in SharedApi.
|
|
36778
|
+
* @export
|
|
36779
|
+
* @interface SharedApiPreviewOrgDeletionRequest
|
|
36780
|
+
*/
|
|
36781
|
+
export interface SharedApiPreviewOrgDeletionRequest {
|
|
36782
|
+
/**
|
|
36783
|
+
*
|
|
36784
|
+
* @type {string}
|
|
36785
|
+
* @memberof SharedApiPreviewOrgDeletion
|
|
36786
|
+
*/
|
|
36787
|
+
readonly orgName: string
|
|
36788
|
+
|
|
36789
|
+
/**
|
|
36790
|
+
*
|
|
36791
|
+
* @type {string}
|
|
36792
|
+
* @memberof SharedApiPreviewOrgDeletion
|
|
36793
|
+
*/
|
|
36794
|
+
readonly orgID: string
|
|
36795
|
+
|
|
36796
|
+
/**
|
|
36797
|
+
*
|
|
36798
|
+
* @type {OrgDeletionAction}
|
|
36799
|
+
* @memberof SharedApiPreviewOrgDeletion
|
|
36800
|
+
*/
|
|
36801
|
+
readonly action: OrgDeletionAction
|
|
36802
|
+
}
|
|
36803
|
+
|
|
36501
36804
|
/**
|
|
36502
36805
|
* Request parameters for produceKafkaTopicMessage operation in SharedApi.
|
|
36503
36806
|
* @export
|
|
@@ -36561,6 +36864,27 @@ export interface SharedApiPromoteClusterRequest {
|
|
|
36561
36864
|
readonly body: OpsPromote
|
|
36562
36865
|
}
|
|
36563
36866
|
|
|
36867
|
+
/**
|
|
36868
|
+
* Request parameters for purgeOrg operation in SharedApi.
|
|
36869
|
+
* @export
|
|
36870
|
+
* @interface SharedApiPurgeOrgRequest
|
|
36871
|
+
*/
|
|
36872
|
+
export interface SharedApiPurgeOrgRequest {
|
|
36873
|
+
/**
|
|
36874
|
+
*
|
|
36875
|
+
* @type {string}
|
|
36876
|
+
* @memberof SharedApiPurgeOrg
|
|
36877
|
+
*/
|
|
36878
|
+
readonly orgName: string
|
|
36879
|
+
|
|
36880
|
+
/**
|
|
36881
|
+
*
|
|
36882
|
+
* @type {OrgLifecycleRequest}
|
|
36883
|
+
* @memberof SharedApiPurgeOrg
|
|
36884
|
+
*/
|
|
36885
|
+
readonly orgLifecycleRequest: OrgLifecycleRequest
|
|
36886
|
+
}
|
|
36887
|
+
|
|
36564
36888
|
/**
|
|
36565
36889
|
* Request parameters for putElasticsearchSecurityRole operation in SharedApi.
|
|
36566
36890
|
* @export
|
|
@@ -38353,6 +38677,27 @@ export interface SharedApiRestartInstanceRequest {
|
|
|
38353
38677
|
readonly instanceName: string
|
|
38354
38678
|
}
|
|
38355
38679
|
|
|
38680
|
+
/**
|
|
38681
|
+
* Request parameters for restoreOrg operation in SharedApi.
|
|
38682
|
+
* @export
|
|
38683
|
+
* @interface SharedApiRestoreOrgRequest
|
|
38684
|
+
*/
|
|
38685
|
+
export interface SharedApiRestoreOrgRequest {
|
|
38686
|
+
/**
|
|
38687
|
+
*
|
|
38688
|
+
* @type {string}
|
|
38689
|
+
* @memberof SharedApiRestoreOrg
|
|
38690
|
+
*/
|
|
38691
|
+
readonly orgName: string
|
|
38692
|
+
|
|
38693
|
+
/**
|
|
38694
|
+
*
|
|
38695
|
+
* @type {OrgLifecycleRequest}
|
|
38696
|
+
* @memberof SharedApiRestoreOrg
|
|
38697
|
+
*/
|
|
38698
|
+
readonly orgLifecycleRequest: OrgLifecycleRequest
|
|
38699
|
+
}
|
|
38700
|
+
|
|
38356
38701
|
/**
|
|
38357
38702
|
* Request parameters for restoreRecycleBinCluster operation in SharedApi.
|
|
38358
38703
|
* @export
|
|
@@ -40838,7 +41183,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40838
41183
|
* @memberof SharedApi
|
|
40839
41184
|
*/
|
|
40840
41185
|
public deleteOrg(requestParameters: SharedApiDeleteOrgRequest, options?: RawAxiosRequestConfig) {
|
|
40841
|
-
return SharedApiFp(this.configuration).deleteOrg(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
41186
|
+
return SharedApiFp(this.configuration).deleteOrg(requestParameters.orgName, requestParameters.orgID, options).then((request) => request(this.axios, this.basePath));
|
|
40842
41187
|
}
|
|
40843
41188
|
|
|
40844
41189
|
/**
|
|
@@ -42889,6 +43234,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
42889
43234
|
return SharedApiFp(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
42890
43235
|
}
|
|
42891
43236
|
|
|
43237
|
+
/**
|
|
43238
|
+
*
|
|
43239
|
+
* @summary Preview organization deletion or purge
|
|
43240
|
+
* @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
|
|
43241
|
+
* @param {*} [options] Override http request option.
|
|
43242
|
+
* @throws {RequiredError}
|
|
43243
|
+
* @memberof SharedApi
|
|
43244
|
+
*/
|
|
43245
|
+
public previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig) {
|
|
43246
|
+
return SharedApiFp(this.configuration).previewOrgDeletion(requestParameters.orgName, requestParameters.orgID, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
|
|
43247
|
+
}
|
|
43248
|
+
|
|
42892
43249
|
/**
|
|
42893
43250
|
*
|
|
42894
43251
|
* @summary Produce message to topic
|
|
@@ -42913,6 +43270,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
42913
43270
|
return SharedApiFp(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
42914
43271
|
}
|
|
42915
43272
|
|
|
43273
|
+
/**
|
|
43274
|
+
*
|
|
43275
|
+
* @summary Purge organization
|
|
43276
|
+
* @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
|
|
43277
|
+
* @param {*} [options] Override http request option.
|
|
43278
|
+
* @throws {RequiredError}
|
|
43279
|
+
* @memberof SharedApi
|
|
43280
|
+
*/
|
|
43281
|
+
public purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig) {
|
|
43282
|
+
return SharedApiFp(this.configuration).purgeOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43283
|
+
}
|
|
43284
|
+
|
|
42916
43285
|
/**
|
|
42917
43286
|
*
|
|
42918
43287
|
* @summary Create or update Elasticsearch security role
|
|
@@ -43260,6 +43629,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43260
43629
|
return SharedApiFp(this.configuration).restartInstance(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, options).then((request) => request(this.axios, this.basePath));
|
|
43261
43630
|
}
|
|
43262
43631
|
|
|
43632
|
+
/**
|
|
43633
|
+
*
|
|
43634
|
+
* @summary Restore organization
|
|
43635
|
+
* @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
|
|
43636
|
+
* @param {*} [options] Override http request option.
|
|
43637
|
+
* @throws {RequiredError}
|
|
43638
|
+
* @memberof SharedApi
|
|
43639
|
+
*/
|
|
43640
|
+
public restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig) {
|
|
43641
|
+
return SharedApiFp(this.configuration).restoreOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43642
|
+
}
|
|
43643
|
+
|
|
43263
43644
|
/**
|
|
43264
43645
|
*
|
|
43265
43646
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -29,6 +29,12 @@ import type { InstanceTemplateCreate } from './instance-template-create';
|
|
|
29
29
|
* @interface ComponentItemCreate
|
|
30
30
|
*/
|
|
31
31
|
export interface ComponentItemCreate {
|
|
32
|
+
/**
|
|
33
|
+
* User-provided component annotations, merged over chart defaults. Platform-managed keys cannot be overridden. Omitted or empty preserves defaults; empty string values are literal values, not deletions.
|
|
34
|
+
* @type {{ [key: string]: string; }}
|
|
35
|
+
* @memberof ComponentItemCreate
|
|
36
|
+
*/
|
|
37
|
+
'annotations'?: { [key: string]: string; };
|
|
32
38
|
/**
|
|
33
39
|
* Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
34
40
|
* @type {string}
|
|
@@ -29,6 +29,12 @@ import type { InstanceTemplateCreate } from './instance-template-create';
|
|
|
29
29
|
* @interface ComponentItem
|
|
30
30
|
*/
|
|
31
31
|
export interface ComponentItem {
|
|
32
|
+
/**
|
|
33
|
+
* User-provided component annotations. Does not include chart defaults or system-generated values.
|
|
34
|
+
* @type {{ [key: string]: string; }}
|
|
35
|
+
* @memberof ComponentItem
|
|
36
|
+
*/
|
|
37
|
+
'annotations'?: { [key: string]: string; };
|
|
32
38
|
/**
|
|
33
39
|
* Optional host group in this environment. Explicit placement does not inherit an upper-level host group.
|
|
34
40
|
* @type {string}
|
|
@@ -80,6 +80,12 @@ export interface ComponentOption {
|
|
|
80
80
|
* @memberof ComponentOption
|
|
81
81
|
*/
|
|
82
82
|
'main'?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Whether to show the component annotations editor during cluster creation. Omitted or false hides the editor. This is a UI visibility hint and does not restrict the cluster creation API. Applies to this component in every engine mode, including sharding templates, on KubeBlocks 0.9 and 1.0.
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof ComponentOption
|
|
87
|
+
*/
|
|
88
|
+
'customAnnotations'?: boolean;
|
|
83
89
|
/**
|
|
84
90
|
* whether the component supports custom secret
|
|
85
91
|
* @type {boolean}
|
|
@@ -779,15 +779,24 @@ export * from './ops-vscale';
|
|
|
779
779
|
export * from './ops-volume-expand';
|
|
780
780
|
export * from './ops-volume-expand-volumes-items0';
|
|
781
781
|
export * from './org';
|
|
782
|
+
export * from './org-configuration-item';
|
|
783
|
+
export * from './org-configuration-summary';
|
|
782
784
|
export * from './org-create';
|
|
785
|
+
export * from './org-deletion-action';
|
|
786
|
+
export * from './org-deletion-blocker';
|
|
787
|
+
export * from './org-deletion-preview';
|
|
788
|
+
export * from './org-lifecycle-request';
|
|
783
789
|
export * from './org-member';
|
|
784
790
|
export * from './org-member-add';
|
|
785
791
|
export * from './org-member-list';
|
|
786
792
|
export * from './org-member-update';
|
|
787
793
|
export * from './org-parameter';
|
|
788
794
|
export * from './org-parameter-constraints';
|
|
795
|
+
export * from './org-purge-result';
|
|
789
796
|
export * from './org-resource-quota';
|
|
790
797
|
export * from './org-resource-quota-and-usage';
|
|
798
|
+
export * from './org-retained-resource';
|
|
799
|
+
export * from './org-status';
|
|
791
800
|
export * from './org-tags-list';
|
|
792
801
|
export * from './org-update';
|
|
793
802
|
export * from './organization-item';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface OrgConfigurationItem
|
|
21
|
+
*/
|
|
22
|
+
export interface OrgConfigurationItem {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof OrgConfigurationItem
|
|
27
|
+
*/
|
|
28
|
+
'id': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OrgConfigurationItem
|
|
33
|
+
*/
|
|
34
|
+
'displayName': string;
|
|
35
|
+
}
|
|
36
|
+
|