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
|
@@ -314,6 +314,12 @@ import type { OpsVolumeExpand } from '../models';
|
|
|
314
314
|
// @ts-ignore
|
|
315
315
|
import type { Org } from '../models';
|
|
316
316
|
// @ts-ignore
|
|
317
|
+
import type { OrgDeletionAction } from '../models';
|
|
318
|
+
// @ts-ignore
|
|
319
|
+
import type { OrgDeletionPreview } from '../models';
|
|
320
|
+
// @ts-ignore
|
|
321
|
+
import type { OrgLifecycleRequest } from '../models';
|
|
322
|
+
// @ts-ignore
|
|
317
323
|
import type { OrgMember } from '../models';
|
|
318
324
|
// @ts-ignore
|
|
319
325
|
import type { OrgMemberAdd } from '../models';
|
|
@@ -324,6 +330,8 @@ import type { OrgMemberUpdate } from '../models';
|
|
|
324
330
|
// @ts-ignore
|
|
325
331
|
import type { OrgParameter } from '../models';
|
|
326
332
|
// @ts-ignore
|
|
333
|
+
import type { OrgPurgeResult } from '../models';
|
|
334
|
+
// @ts-ignore
|
|
327
335
|
import type { OrgTagsList } from '../models';
|
|
328
336
|
// @ts-ignore
|
|
329
337
|
import type { OrgUpdate } from '../models';
|
|
@@ -3838,12 +3846,15 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3838
3846
|
* partially delete the specified org
|
|
3839
3847
|
* @summary Delete organization
|
|
3840
3848
|
* @param {string} orgName name of the Org
|
|
3849
|
+
* @param {string} orgID
|
|
3841
3850
|
* @param {*} [options] Override http request option.
|
|
3842
3851
|
* @throws {RequiredError}
|
|
3843
3852
|
*/
|
|
3844
|
-
deleteOrg: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3853
|
+
deleteOrg: async (orgName: string, orgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3845
3854
|
// verify required parameter 'orgName' is not null or undefined
|
|
3846
3855
|
assertParamExists('deleteOrg', 'orgName', orgName)
|
|
3856
|
+
// verify required parameter 'orgID' is not null or undefined
|
|
3857
|
+
assertParamExists('deleteOrg', 'orgID', orgID)
|
|
3847
3858
|
const localVarPath = `/api/v1/organizations/{orgName}`
|
|
3848
3859
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
3849
3860
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -3864,6 +3875,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3864
3875
|
// authentication DigestAuth required
|
|
3865
3876
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3866
3877
|
|
|
3878
|
+
if (orgID !== undefined) {
|
|
3879
|
+
localVarQueryParameter['orgID'] = orgID;
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3867
3882
|
|
|
3868
3883
|
|
|
3869
3884
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12680,6 +12695,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12680
12695
|
options: localVarRequestOptions,
|
|
12681
12696
|
};
|
|
12682
12697
|
},
|
|
12698
|
+
/**
|
|
12699
|
+
*
|
|
12700
|
+
* @summary Preview organization deletion or purge
|
|
12701
|
+
* @param {string} orgName
|
|
12702
|
+
* @param {string} orgID
|
|
12703
|
+
* @param {OrgDeletionAction} action
|
|
12704
|
+
* @param {*} [options] Override http request option.
|
|
12705
|
+
* @throws {RequiredError}
|
|
12706
|
+
*/
|
|
12707
|
+
previewOrgDeletion: async (orgName: string, orgID: string, action: OrgDeletionAction, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12708
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12709
|
+
assertParamExists('previewOrgDeletion', 'orgName', orgName)
|
|
12710
|
+
// verify required parameter 'orgID' is not null or undefined
|
|
12711
|
+
assertParamExists('previewOrgDeletion', 'orgID', orgID)
|
|
12712
|
+
// verify required parameter 'action' is not null or undefined
|
|
12713
|
+
assertParamExists('previewOrgDeletion', 'action', action)
|
|
12714
|
+
const localVarPath = `/api/v1/organizations/{orgName}/deletionPreview`
|
|
12715
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
12716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12718
|
+
let baseOptions;
|
|
12719
|
+
if (configuration) {
|
|
12720
|
+
baseOptions = configuration.baseOptions;
|
|
12721
|
+
}
|
|
12722
|
+
|
|
12723
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12724
|
+
const localVarHeaderParameter = {} as any;
|
|
12725
|
+
const localVarQueryParameter = {} as any;
|
|
12726
|
+
|
|
12727
|
+
// authentication BearerToken required
|
|
12728
|
+
// http bearer authentication required
|
|
12729
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12730
|
+
|
|
12731
|
+
// authentication DigestAuth required
|
|
12732
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12733
|
+
|
|
12734
|
+
if (orgID !== undefined) {
|
|
12735
|
+
localVarQueryParameter['orgID'] = orgID;
|
|
12736
|
+
}
|
|
12737
|
+
|
|
12738
|
+
if (action !== undefined) {
|
|
12739
|
+
localVarQueryParameter['action'] = action;
|
|
12740
|
+
}
|
|
12741
|
+
|
|
12742
|
+
|
|
12743
|
+
|
|
12744
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12745
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12746
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12747
|
+
|
|
12748
|
+
return {
|
|
12749
|
+
url: toPathString(localVarUrlObj),
|
|
12750
|
+
options: localVarRequestOptions,
|
|
12751
|
+
};
|
|
12752
|
+
},
|
|
12683
12753
|
/**
|
|
12684
12754
|
*
|
|
12685
12755
|
* @summary Produce message to topic
|
|
@@ -12786,6 +12856,53 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12786
12856
|
options: localVarRequestOptions,
|
|
12787
12857
|
};
|
|
12788
12858
|
},
|
|
12859
|
+
/**
|
|
12860
|
+
*
|
|
12861
|
+
* @summary Purge organization
|
|
12862
|
+
* @param {string} orgName
|
|
12863
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
12864
|
+
* @param {*} [options] Override http request option.
|
|
12865
|
+
* @throws {RequiredError}
|
|
12866
|
+
*/
|
|
12867
|
+
purgeOrg: async (orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12868
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12869
|
+
assertParamExists('purgeOrg', 'orgName', orgName)
|
|
12870
|
+
// verify required parameter 'orgLifecycleRequest' is not null or undefined
|
|
12871
|
+
assertParamExists('purgeOrg', 'orgLifecycleRequest', orgLifecycleRequest)
|
|
12872
|
+
const localVarPath = `/api/v1/organizations/{orgName}/purge`
|
|
12873
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
12874
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12875
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12876
|
+
let baseOptions;
|
|
12877
|
+
if (configuration) {
|
|
12878
|
+
baseOptions = configuration.baseOptions;
|
|
12879
|
+
}
|
|
12880
|
+
|
|
12881
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12882
|
+
const localVarHeaderParameter = {} as any;
|
|
12883
|
+
const localVarQueryParameter = {} as any;
|
|
12884
|
+
|
|
12885
|
+
// authentication BearerToken required
|
|
12886
|
+
// http bearer authentication required
|
|
12887
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12888
|
+
|
|
12889
|
+
// authentication DigestAuth required
|
|
12890
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12891
|
+
|
|
12892
|
+
|
|
12893
|
+
|
|
12894
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12895
|
+
|
|
12896
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12897
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12898
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12899
|
+
localVarRequestOptions.data = serializeDataIfNeeded(orgLifecycleRequest, localVarRequestOptions, configuration)
|
|
12900
|
+
|
|
12901
|
+
return {
|
|
12902
|
+
url: toPathString(localVarUrlObj),
|
|
12903
|
+
options: localVarRequestOptions,
|
|
12904
|
+
};
|
|
12905
|
+
},
|
|
12789
12906
|
/**
|
|
12790
12907
|
*
|
|
12791
12908
|
* @summary Create or update Elasticsearch security role
|
|
@@ -15010,6 +15127,53 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15010
15127
|
options: localVarRequestOptions,
|
|
15011
15128
|
};
|
|
15012
15129
|
},
|
|
15130
|
+
/**
|
|
15131
|
+
*
|
|
15132
|
+
* @summary Restore organization
|
|
15133
|
+
* @param {string} orgName
|
|
15134
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
15135
|
+
* @param {*} [options] Override http request option.
|
|
15136
|
+
* @throws {RequiredError}
|
|
15137
|
+
*/
|
|
15138
|
+
restoreOrg: async (orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15139
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15140
|
+
assertParamExists('restoreOrg', 'orgName', orgName)
|
|
15141
|
+
// verify required parameter 'orgLifecycleRequest' is not null or undefined
|
|
15142
|
+
assertParamExists('restoreOrg', 'orgLifecycleRequest', orgLifecycleRequest)
|
|
15143
|
+
const localVarPath = `/api/v1/organizations/{orgName}/restoreOrganization`
|
|
15144
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
15145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15147
|
+
let baseOptions;
|
|
15148
|
+
if (configuration) {
|
|
15149
|
+
baseOptions = configuration.baseOptions;
|
|
15150
|
+
}
|
|
15151
|
+
|
|
15152
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15153
|
+
const localVarHeaderParameter = {} as any;
|
|
15154
|
+
const localVarQueryParameter = {} as any;
|
|
15155
|
+
|
|
15156
|
+
// authentication BearerToken required
|
|
15157
|
+
// http bearer authentication required
|
|
15158
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15159
|
+
|
|
15160
|
+
// authentication DigestAuth required
|
|
15161
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15162
|
+
|
|
15163
|
+
|
|
15164
|
+
|
|
15165
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15166
|
+
|
|
15167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15169
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15170
|
+
localVarRequestOptions.data = serializeDataIfNeeded(orgLifecycleRequest, localVarRequestOptions, configuration)
|
|
15171
|
+
|
|
15172
|
+
return {
|
|
15173
|
+
url: toPathString(localVarUrlObj),
|
|
15174
|
+
options: localVarRequestOptions,
|
|
15175
|
+
};
|
|
15176
|
+
},
|
|
15013
15177
|
/**
|
|
15014
15178
|
*
|
|
15015
15179
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -18947,11 +19111,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18947
19111
|
* partially delete the specified org
|
|
18948
19112
|
* @summary Delete organization
|
|
18949
19113
|
* @param {string} orgName name of the Org
|
|
19114
|
+
* @param {string} orgID
|
|
18950
19115
|
* @param {*} [options] Override http request option.
|
|
18951
19116
|
* @throws {RequiredError}
|
|
18952
19117
|
*/
|
|
18953
|
-
async deleteOrg(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18954
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrg(orgName, options);
|
|
19118
|
+
async deleteOrg(orgName: string, orgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrg(orgName, orgID, options);
|
|
18955
19120
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18956
19121
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteOrg']?.[localVarOperationServerIndex]?.url;
|
|
18957
19122
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -21542,6 +21707,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21542
21707
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.patchOrgParameter']?.[localVarOperationServerIndex]?.url;
|
|
21543
21708
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21544
21709
|
},
|
|
21710
|
+
/**
|
|
21711
|
+
*
|
|
21712
|
+
* @summary Preview organization deletion or purge
|
|
21713
|
+
* @param {string} orgName
|
|
21714
|
+
* @param {string} orgID
|
|
21715
|
+
* @param {OrgDeletionAction} action
|
|
21716
|
+
* @param {*} [options] Override http request option.
|
|
21717
|
+
* @throws {RequiredError}
|
|
21718
|
+
*/
|
|
21719
|
+
async previewOrgDeletion(orgName: string, orgID: string, action: OrgDeletionAction, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgDeletionPreview>> {
|
|
21720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewOrgDeletion(orgName, orgID, action, options);
|
|
21721
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21722
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.previewOrgDeletion']?.[localVarOperationServerIndex]?.url;
|
|
21723
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21724
|
+
},
|
|
21545
21725
|
/**
|
|
21546
21726
|
*
|
|
21547
21727
|
* @summary Produce message to topic
|
|
@@ -21573,6 +21753,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21573
21753
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.promoteCluster']?.[localVarOperationServerIndex]?.url;
|
|
21574
21754
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21575
21755
|
},
|
|
21756
|
+
/**
|
|
21757
|
+
*
|
|
21758
|
+
* @summary Purge organization
|
|
21759
|
+
* @param {string} orgName
|
|
21760
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
21761
|
+
* @param {*} [options] Override http request option.
|
|
21762
|
+
* @throws {RequiredError}
|
|
21763
|
+
*/
|
|
21764
|
+
async purgeOrg(orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgPurgeResult>> {
|
|
21765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.purgeOrg(orgName, orgLifecycleRequest, options);
|
|
21766
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21767
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.purgeOrg']?.[localVarOperationServerIndex]?.url;
|
|
21768
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21769
|
+
},
|
|
21576
21770
|
/**
|
|
21577
21771
|
*
|
|
21578
21772
|
* @summary Create or update Elasticsearch security role
|
|
@@ -22149,6 +22343,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
22149
22343
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restartInstance']?.[localVarOperationServerIndex]?.url;
|
|
22150
22344
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22151
22345
|
},
|
|
22346
|
+
/**
|
|
22347
|
+
*
|
|
22348
|
+
* @summary Restore organization
|
|
22349
|
+
* @param {string} orgName
|
|
22350
|
+
* @param {OrgLifecycleRequest} orgLifecycleRequest
|
|
22351
|
+
* @param {*} [options] Override http request option.
|
|
22352
|
+
* @throws {RequiredError}
|
|
22353
|
+
*/
|
|
22354
|
+
async restoreOrg(orgName: string, orgLifecycleRequest: OrgLifecycleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Org>> {
|
|
22355
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreOrg(orgName, orgLifecycleRequest, options);
|
|
22356
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22357
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreOrg']?.[localVarOperationServerIndex]?.url;
|
|
22358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22359
|
+
},
|
|
22152
22360
|
/**
|
|
22153
22361
|
*
|
|
22154
22362
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -23666,7 +23874,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23666
23874
|
* @throws {RequiredError}
|
|
23667
23875
|
*/
|
|
23668
23876
|
deleteOrg(requestParameters: SharedApiDeleteOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23669
|
-
return localVarFp.deleteOrg(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
23877
|
+
return localVarFp.deleteOrg(requestParameters.orgName, requestParameters.orgID, options).then((request) => request(axios, basePath));
|
|
23670
23878
|
},
|
|
23671
23879
|
/**
|
|
23672
23880
|
* delete a Org Member
|
|
@@ -25325,6 +25533,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25325
25533
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter> {
|
|
25326
25534
|
return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
25327
25535
|
},
|
|
25536
|
+
/**
|
|
25537
|
+
*
|
|
25538
|
+
* @summary Preview organization deletion or purge
|
|
25539
|
+
* @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
|
|
25540
|
+
* @param {*} [options] Override http request option.
|
|
25541
|
+
* @throws {RequiredError}
|
|
25542
|
+
*/
|
|
25543
|
+
previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgDeletionPreview> {
|
|
25544
|
+
return localVarFp.previewOrgDeletion(requestParameters.orgName, requestParameters.orgID, requestParameters.action, options).then((request) => request(axios, basePath));
|
|
25545
|
+
},
|
|
25328
25546
|
/**
|
|
25329
25547
|
*
|
|
25330
25548
|
* @summary Produce message to topic
|
|
@@ -25345,6 +25563,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25345
25563
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
25346
25564
|
return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
25347
25565
|
},
|
|
25566
|
+
/**
|
|
25567
|
+
*
|
|
25568
|
+
* @summary Purge organization
|
|
25569
|
+
* @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
|
|
25570
|
+
* @param {*} [options] Override http request option.
|
|
25571
|
+
* @throws {RequiredError}
|
|
25572
|
+
*/
|
|
25573
|
+
purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgPurgeResult> {
|
|
25574
|
+
return localVarFp.purgeOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(axios, basePath));
|
|
25575
|
+
},
|
|
25348
25576
|
/**
|
|
25349
25577
|
*
|
|
25350
25578
|
* @summary Create or update Elasticsearch security role
|
|
@@ -25634,6 +25862,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25634
25862
|
restartInstance(requestParameters: SharedApiRestartInstanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
25635
25863
|
return localVarFp.restartInstance(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, options).then((request) => request(axios, basePath));
|
|
25636
25864
|
},
|
|
25865
|
+
/**
|
|
25866
|
+
*
|
|
25867
|
+
* @summary Restore organization
|
|
25868
|
+
* @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
|
|
25869
|
+
* @param {*} [options] Override http request option.
|
|
25870
|
+
* @throws {RequiredError}
|
|
25871
|
+
*/
|
|
25872
|
+
restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org> {
|
|
25873
|
+
return localVarFp.restoreOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(axios, basePath));
|
|
25874
|
+
},
|
|
25637
25875
|
/**
|
|
25638
25876
|
*
|
|
25639
25877
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -28500,6 +28738,16 @@ export interface SharedApiInterface {
|
|
|
28500
28738
|
*/
|
|
28501
28739
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
|
|
28502
28740
|
|
|
28741
|
+
/**
|
|
28742
|
+
*
|
|
28743
|
+
* @summary Preview organization deletion or purge
|
|
28744
|
+
* @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
|
|
28745
|
+
* @param {*} [options] Override http request option.
|
|
28746
|
+
* @throws {RequiredError}
|
|
28747
|
+
* @memberof SharedApiInterface
|
|
28748
|
+
*/
|
|
28749
|
+
previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgDeletionPreview>;
|
|
28750
|
+
|
|
28503
28751
|
/**
|
|
28504
28752
|
*
|
|
28505
28753
|
* @summary Produce message to topic
|
|
@@ -28520,6 +28768,16 @@ export interface SharedApiInterface {
|
|
|
28520
28768
|
*/
|
|
28521
28769
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
28522
28770
|
|
|
28771
|
+
/**
|
|
28772
|
+
*
|
|
28773
|
+
* @summary Purge organization
|
|
28774
|
+
* @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
|
|
28775
|
+
* @param {*} [options] Override http request option.
|
|
28776
|
+
* @throws {RequiredError}
|
|
28777
|
+
* @memberof SharedApiInterface
|
|
28778
|
+
*/
|
|
28779
|
+
purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgPurgeResult>;
|
|
28780
|
+
|
|
28523
28781
|
/**
|
|
28524
28782
|
*
|
|
28525
28783
|
* @summary Create or update Elasticsearch security role
|
|
@@ -28809,6 +29067,16 @@ export interface SharedApiInterface {
|
|
|
28809
29067
|
*/
|
|
28810
29068
|
restartInstance(requestParameters: SharedApiRestartInstanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
28811
29069
|
|
|
29070
|
+
/**
|
|
29071
|
+
*
|
|
29072
|
+
* @summary Restore organization
|
|
29073
|
+
* @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
|
|
29074
|
+
* @param {*} [options] Override http request option.
|
|
29075
|
+
* @throws {RequiredError}
|
|
29076
|
+
* @memberof SharedApiInterface
|
|
29077
|
+
*/
|
|
29078
|
+
restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org>;
|
|
29079
|
+
|
|
28812
29080
|
/**
|
|
28813
29081
|
*
|
|
28814
29082
|
* @summary Restore cluster from the Recycle Bin of the Org
|
|
@@ -31395,6 +31663,13 @@ export interface SharedApiDeleteOrgRequest {
|
|
|
31395
31663
|
* @memberof SharedApiDeleteOrg
|
|
31396
31664
|
*/
|
|
31397
31665
|
readonly orgName: string
|
|
31666
|
+
|
|
31667
|
+
/**
|
|
31668
|
+
*
|
|
31669
|
+
* @type {string}
|
|
31670
|
+
* @memberof SharedApiDeleteOrg
|
|
31671
|
+
*/
|
|
31672
|
+
readonly orgID: string
|
|
31398
31673
|
}
|
|
31399
31674
|
|
|
31400
31675
|
/**
|
|
@@ -36696,6 +36971,34 @@ export interface SharedApiPatchOrgParameterRequest {
|
|
|
36696
36971
|
readonly orgParameter: OrgParameter
|
|
36697
36972
|
}
|
|
36698
36973
|
|
|
36974
|
+
/**
|
|
36975
|
+
* Request parameters for previewOrgDeletion operation in SharedApi.
|
|
36976
|
+
* @export
|
|
36977
|
+
* @interface SharedApiPreviewOrgDeletionRequest
|
|
36978
|
+
*/
|
|
36979
|
+
export interface SharedApiPreviewOrgDeletionRequest {
|
|
36980
|
+
/**
|
|
36981
|
+
*
|
|
36982
|
+
* @type {string}
|
|
36983
|
+
* @memberof SharedApiPreviewOrgDeletion
|
|
36984
|
+
*/
|
|
36985
|
+
readonly orgName: string
|
|
36986
|
+
|
|
36987
|
+
/**
|
|
36988
|
+
*
|
|
36989
|
+
* @type {string}
|
|
36990
|
+
* @memberof SharedApiPreviewOrgDeletion
|
|
36991
|
+
*/
|
|
36992
|
+
readonly orgID: string
|
|
36993
|
+
|
|
36994
|
+
/**
|
|
36995
|
+
*
|
|
36996
|
+
* @type {OrgDeletionAction}
|
|
36997
|
+
* @memberof SharedApiPreviewOrgDeletion
|
|
36998
|
+
*/
|
|
36999
|
+
readonly action: OrgDeletionAction
|
|
37000
|
+
}
|
|
37001
|
+
|
|
36699
37002
|
/**
|
|
36700
37003
|
* Request parameters for produceKafkaTopicMessage operation in SharedApi.
|
|
36701
37004
|
* @export
|
|
@@ -36759,6 +37062,27 @@ export interface SharedApiPromoteClusterRequest {
|
|
|
36759
37062
|
readonly body: OpsPromote
|
|
36760
37063
|
}
|
|
36761
37064
|
|
|
37065
|
+
/**
|
|
37066
|
+
* Request parameters for purgeOrg operation in SharedApi.
|
|
37067
|
+
* @export
|
|
37068
|
+
* @interface SharedApiPurgeOrgRequest
|
|
37069
|
+
*/
|
|
37070
|
+
export interface SharedApiPurgeOrgRequest {
|
|
37071
|
+
/**
|
|
37072
|
+
*
|
|
37073
|
+
* @type {string}
|
|
37074
|
+
* @memberof SharedApiPurgeOrg
|
|
37075
|
+
*/
|
|
37076
|
+
readonly orgName: string
|
|
37077
|
+
|
|
37078
|
+
/**
|
|
37079
|
+
*
|
|
37080
|
+
* @type {OrgLifecycleRequest}
|
|
37081
|
+
* @memberof SharedApiPurgeOrg
|
|
37082
|
+
*/
|
|
37083
|
+
readonly orgLifecycleRequest: OrgLifecycleRequest
|
|
37084
|
+
}
|
|
37085
|
+
|
|
36762
37086
|
/**
|
|
36763
37087
|
* Request parameters for putElasticsearchSecurityRole operation in SharedApi.
|
|
36764
37088
|
* @export
|
|
@@ -38551,6 +38875,27 @@ export interface SharedApiRestartInstanceRequest {
|
|
|
38551
38875
|
readonly instanceName: string
|
|
38552
38876
|
}
|
|
38553
38877
|
|
|
38878
|
+
/**
|
|
38879
|
+
* Request parameters for restoreOrg operation in SharedApi.
|
|
38880
|
+
* @export
|
|
38881
|
+
* @interface SharedApiRestoreOrgRequest
|
|
38882
|
+
*/
|
|
38883
|
+
export interface SharedApiRestoreOrgRequest {
|
|
38884
|
+
/**
|
|
38885
|
+
*
|
|
38886
|
+
* @type {string}
|
|
38887
|
+
* @memberof SharedApiRestoreOrg
|
|
38888
|
+
*/
|
|
38889
|
+
readonly orgName: string
|
|
38890
|
+
|
|
38891
|
+
/**
|
|
38892
|
+
*
|
|
38893
|
+
* @type {OrgLifecycleRequest}
|
|
38894
|
+
* @memberof SharedApiRestoreOrg
|
|
38895
|
+
*/
|
|
38896
|
+
readonly orgLifecycleRequest: OrgLifecycleRequest
|
|
38897
|
+
}
|
|
38898
|
+
|
|
38554
38899
|
/**
|
|
38555
38900
|
* Request parameters for restoreRecycleBinCluster operation in SharedApi.
|
|
38556
38901
|
* @export
|
|
@@ -41114,7 +41459,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
41114
41459
|
* @memberof SharedApi
|
|
41115
41460
|
*/
|
|
41116
41461
|
public deleteOrg(requestParameters: SharedApiDeleteOrgRequest, options?: RawAxiosRequestConfig) {
|
|
41117
|
-
return SharedApiFp(this.configuration).deleteOrg(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
41462
|
+
return SharedApiFp(this.configuration).deleteOrg(requestParameters.orgName, requestParameters.orgID, options).then((request) => request(this.axios, this.basePath));
|
|
41118
41463
|
}
|
|
41119
41464
|
|
|
41120
41465
|
/**
|
|
@@ -43106,6 +43451,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43106
43451
|
return SharedApiFp(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
43107
43452
|
}
|
|
43108
43453
|
|
|
43454
|
+
/**
|
|
43455
|
+
*
|
|
43456
|
+
* @summary Preview organization deletion or purge
|
|
43457
|
+
* @param {SharedApiPreviewOrgDeletionRequest} requestParameters Request parameters.
|
|
43458
|
+
* @param {*} [options] Override http request option.
|
|
43459
|
+
* @throws {RequiredError}
|
|
43460
|
+
* @memberof SharedApi
|
|
43461
|
+
*/
|
|
43462
|
+
public previewOrgDeletion(requestParameters: SharedApiPreviewOrgDeletionRequest, options?: RawAxiosRequestConfig) {
|
|
43463
|
+
return SharedApiFp(this.configuration).previewOrgDeletion(requestParameters.orgName, requestParameters.orgID, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
|
|
43464
|
+
}
|
|
43465
|
+
|
|
43109
43466
|
/**
|
|
43110
43467
|
*
|
|
43111
43468
|
* @summary Produce message to topic
|
|
@@ -43130,6 +43487,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43130
43487
|
return SharedApiFp(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
43131
43488
|
}
|
|
43132
43489
|
|
|
43490
|
+
/**
|
|
43491
|
+
*
|
|
43492
|
+
* @summary Purge organization
|
|
43493
|
+
* @param {SharedApiPurgeOrgRequest} requestParameters Request parameters.
|
|
43494
|
+
* @param {*} [options] Override http request option.
|
|
43495
|
+
* @throws {RequiredError}
|
|
43496
|
+
* @memberof SharedApi
|
|
43497
|
+
*/
|
|
43498
|
+
public purgeOrg(requestParameters: SharedApiPurgeOrgRequest, options?: RawAxiosRequestConfig) {
|
|
43499
|
+
return SharedApiFp(this.configuration).purgeOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43500
|
+
}
|
|
43501
|
+
|
|
43133
43502
|
/**
|
|
43134
43503
|
*
|
|
43135
43504
|
* @summary Create or update Elasticsearch security role
|
|
@@ -43477,6 +43846,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43477
43846
|
return SharedApiFp(this.configuration).restartInstance(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, options).then((request) => request(this.axios, this.basePath));
|
|
43478
43847
|
}
|
|
43479
43848
|
|
|
43849
|
+
/**
|
|
43850
|
+
*
|
|
43851
|
+
* @summary Restore organization
|
|
43852
|
+
* @param {SharedApiRestoreOrgRequest} requestParameters Request parameters.
|
|
43853
|
+
* @param {*} [options] Override http request option.
|
|
43854
|
+
* @throws {RequiredError}
|
|
43855
|
+
* @memberof SharedApi
|
|
43856
|
+
*/
|
|
43857
|
+
public restoreOrg(requestParameters: SharedApiRestoreOrgRequest, options?: RawAxiosRequestConfig) {
|
|
43858
|
+
return SharedApiFp(this.configuration).restoreOrg(requestParameters.orgName, requestParameters.orgLifecycleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43859
|
+
}
|
|
43860
|
+
|
|
43480
43861
|
/**
|
|
43481
43862
|
*
|
|
43482
43863
|
* @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}
|
|
@@ -686,15 +686,24 @@ export * from './ops-volume-expand';
|
|
|
686
686
|
export * from './ops-volume-expand-volumes-items0';
|
|
687
687
|
export * from './org';
|
|
688
688
|
export * from './org-aggregation-group-type';
|
|
689
|
+
export * from './org-configuration-item';
|
|
690
|
+
export * from './org-configuration-summary';
|
|
689
691
|
export * from './org-create';
|
|
692
|
+
export * from './org-deletion-action';
|
|
693
|
+
export * from './org-deletion-blocker';
|
|
694
|
+
export * from './org-deletion-preview';
|
|
695
|
+
export * from './org-lifecycle-request';
|
|
690
696
|
export * from './org-member';
|
|
691
697
|
export * from './org-member-add';
|
|
692
698
|
export * from './org-member-list';
|
|
693
699
|
export * from './org-member-update';
|
|
694
700
|
export * from './org-parameter';
|
|
695
701
|
export * from './org-parameter-constraints';
|
|
702
|
+
export * from './org-purge-result';
|
|
696
703
|
export * from './org-resource-quota';
|
|
697
704
|
export * from './org-resource-quota-and-usage';
|
|
705
|
+
export * from './org-retained-resource';
|
|
706
|
+
export * from './org-status';
|
|
698
707
|
export * from './org-tags-list';
|
|
699
708
|
export * from './org-update';
|
|
700
709
|
export * from './page-result';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
|