kb-cloud-client-typescript 2.2.71 → 2.2.72
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/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/elasticsearch-api.d.ts +1221 -0
- package/dist/adminapi/apis/elasticsearch-api.d.ts.map +1 -0
- package/dist/adminapi/apis/elasticsearch-api.js +1332 -0
- package/dist/adminapi/apis/elasticsearch-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +1187 -14
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1402 -134
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +18 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/esput-security-user-request.d.ts +63 -0
- package/dist/adminapi/models/esput-security-user-request.d.ts.map +1 -0
- package/dist/adminapi/models/esput-security-user-request.js +16 -0
- package/dist/adminapi/models/esput-security-user-request.js.map +1 -0
- package/dist/adminapi/models/essecurity-application-privileges.d.ts +37 -0
- package/dist/adminapi/models/essecurity-application-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-application-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-application-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-field-security.d.ts +31 -0
- package/dist/adminapi/models/essecurity-field-security.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-field-security.js +16 -0
- package/dist/adminapi/models/essecurity-field-security.js.map +1 -0
- package/dist/adminapi/models/essecurity-index-privileges.d.ts +50 -0
- package/dist/adminapi/models/essecurity-index-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-index-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-index-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-password-request.d.ts +25 -0
- package/dist/adminapi/models/essecurity-password-request.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-password-request.js +16 -0
- package/dist/adminapi/models/essecurity-password-request.js.map +1 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts +56 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-descriptor.d.ts +97 -0
- package/dist/adminapi/models/essecurity-role-descriptor.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-descriptor.js +16 -0
- package/dist/adminapi/models/essecurity-role-descriptor.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-mapping.d.ts +54 -0
- package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-mapping.js +16 -0
- package/dist/adminapi/models/essecurity-role-mapping.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-template-format.d.ts +22 -0
- package/dist/adminapi/models/essecurity-role-template-format.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-template-format.js +26 -0
- package/dist/adminapi/models/essecurity-role-template-format.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-template.d.ts +34 -0
- package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-template.js +16 -0
- package/dist/adminapi/models/essecurity-role-template.js.map +1 -0
- package/dist/adminapi/models/essecurity-user.d.ts +51 -0
- package/dist/adminapi/models/essecurity-user.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-user.js +16 -0
- package/dist/adminapi/models/essecurity-user.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +12 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +12 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/elasticsearch-api.d.ts +1221 -0
- package/dist/openapi/apis/elasticsearch-api.d.ts.map +1 -0
- package/dist/openapi/apis/elasticsearch-api.js +1332 -0
- package/dist/openapi/apis/elasticsearch-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +1187 -14
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1407 -139
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +18 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/esput-security-user-request.d.ts +63 -0
- package/dist/openapi/models/esput-security-user-request.d.ts.map +1 -0
- package/dist/openapi/models/esput-security-user-request.js +16 -0
- package/dist/openapi/models/esput-security-user-request.js.map +1 -0
- package/dist/openapi/models/essecurity-application-privileges.d.ts +37 -0
- package/dist/openapi/models/essecurity-application-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-application-privileges.js +16 -0
- package/dist/openapi/models/essecurity-application-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-field-security.d.ts +31 -0
- package/dist/openapi/models/essecurity-field-security.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-field-security.js +16 -0
- package/dist/openapi/models/essecurity-field-security.js.map +1 -0
- package/dist/openapi/models/essecurity-index-privileges.d.ts +50 -0
- package/dist/openapi/models/essecurity-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-index-privileges.js +16 -0
- package/dist/openapi/models/essecurity-index-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-password-request.d.ts +25 -0
- package/dist/openapi/models/essecurity-password-request.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-password-request.js +16 -0
- package/dist/openapi/models/essecurity-password-request.js.map +1 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.js +16 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.d.ts +56 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.js +16 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-role-descriptor.d.ts +97 -0
- package/dist/openapi/models/essecurity-role-descriptor.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-descriptor.js +16 -0
- package/dist/openapi/models/essecurity-role-descriptor.js.map +1 -0
- package/dist/openapi/models/essecurity-role-mapping.d.ts +54 -0
- package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-mapping.js +16 -0
- package/dist/openapi/models/essecurity-role-mapping.js.map +1 -0
- package/dist/openapi/models/essecurity-role-template-format.d.ts +22 -0
- package/dist/openapi/models/essecurity-role-template-format.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-template-format.js +26 -0
- package/dist/openapi/models/essecurity-role-template-format.js.map +1 -0
- package/dist/openapi/models/essecurity-role-template.d.ts +34 -0
- package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-template.js +16 -0
- package/dist/openapi/models/essecurity-role-template.js.map +1 -0
- package/dist/openapi/models/essecurity-user.d.ts +51 -0
- package/dist/openapi/models/essecurity-user.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-user.js +16 -0
- package/dist/openapi/models/essecurity-user.js.map +1 -0
- package/dist/openapi/models/index.d.ts +12 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +12 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +13 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/elasticsearch-api.ts +2072 -0
- package/src/adminapi/apis/shared-api.ts +2141 -139
- package/src/adminapi/models/account-option.ts +18 -0
- package/src/adminapi/models/esput-security-user-request.ts +66 -0
- package/src/adminapi/models/essecurity-application-privileges.ts +42 -0
- package/src/adminapi/models/essecurity-field-security.ts +36 -0
- package/src/adminapi/models/essecurity-index-privileges.ts +57 -0
- package/src/adminapi/models/essecurity-password-request.ts +30 -0
- package/src/adminapi/models/essecurity-remote-cluster-privileges.ts +36 -0
- package/src/adminapi/models/essecurity-remote-index-privileges.ts +63 -0
- package/src/adminapi/models/essecurity-role-descriptor.ts +102 -0
- package/src/adminapi/models/essecurity-role-mapping.ts +57 -0
- package/src/adminapi/models/essecurity-role-template-format.ts +31 -0
- package/src/adminapi/models/essecurity-role-template.ts +41 -0
- package/src/adminapi/models/essecurity-user.ts +54 -0
- package/src/adminapi/models/index.ts +12 -0
- package/src/adminapi.yaml +874 -0
- package/src/openapi/.openapi-generator/FILES +13 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/elasticsearch-api.ts +2072 -0
- package/src/openapi/apis/shared-api.ts +2144 -142
- package/src/openapi/models/account-option.ts +18 -0
- package/src/openapi/models/esput-security-user-request.ts +66 -0
- package/src/openapi/models/essecurity-application-privileges.ts +42 -0
- package/src/openapi/models/essecurity-field-security.ts +36 -0
- package/src/openapi/models/essecurity-index-privileges.ts +57 -0
- package/src/openapi/models/essecurity-password-request.ts +30 -0
- package/src/openapi/models/essecurity-remote-cluster-privileges.ts +36 -0
- package/src/openapi/models/essecurity-remote-index-privileges.ts +63 -0
- package/src/openapi/models/essecurity-role-descriptor.ts +102 -0
- package/src/openapi/models/essecurity-role-mapping.ts +57 -0
- package/src/openapi/models/essecurity-role-template-format.ts +31 -0
- package/src/openapi/models/essecurity-role-template.ts +41 -0
- package/src/openapi/models/essecurity-user.ts +54 -0
- package/src/openapi/models/index.ts +12 -0
- package/src/openapi.yaml +874 -0
|
@@ -160,6 +160,16 @@ import type { DmsTaskInfo } from '../models';
|
|
|
160
160
|
// @ts-ignore
|
|
161
161
|
import type { DmsTaskList } from '../models';
|
|
162
162
|
// @ts-ignore
|
|
163
|
+
import type { ESPutSecurityUserRequest } from '../models';
|
|
164
|
+
// @ts-ignore
|
|
165
|
+
import type { ESSecurityPasswordRequest } from '../models';
|
|
166
|
+
// @ts-ignore
|
|
167
|
+
import type { ESSecurityRoleDescriptor } from '../models';
|
|
168
|
+
// @ts-ignore
|
|
169
|
+
import type { ESSecurityRoleMapping } from '../models';
|
|
170
|
+
// @ts-ignore
|
|
171
|
+
import type { ESSecurityUser } from '../models';
|
|
172
|
+
// @ts-ignore
|
|
163
173
|
import type { EndpointList } from '../models';
|
|
164
174
|
// @ts-ignore
|
|
165
175
|
import type { Engine } from '../models';
|
|
@@ -847,6 +857,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
847
857
|
|
|
848
858
|
|
|
849
859
|
|
|
860
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
861
|
+
|
|
862
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
863
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
864
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
865
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
866
|
+
|
|
867
|
+
return {
|
|
868
|
+
url: toPathString(localVarUrlObj),
|
|
869
|
+
options: localVarRequestOptions,
|
|
870
|
+
};
|
|
871
|
+
},
|
|
872
|
+
/**
|
|
873
|
+
*
|
|
874
|
+
* @summary Change Elasticsearch account password
|
|
875
|
+
* @param {string} orgName
|
|
876
|
+
* @param {string} clusterName
|
|
877
|
+
* @param {string} username
|
|
878
|
+
* @param {ESSecurityPasswordRequest} body
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
changeElasticsearchSecurityUserPassword: async (orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
883
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
884
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'orgName', orgName)
|
|
885
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
886
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'clusterName', clusterName)
|
|
887
|
+
// verify required parameter 'username' is not null or undefined
|
|
888
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'username', username)
|
|
889
|
+
// verify required parameter 'body' is not null or undefined
|
|
890
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'body', body)
|
|
891
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
892
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
893
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
894
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
895
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
896
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
897
|
+
let baseOptions;
|
|
898
|
+
if (configuration) {
|
|
899
|
+
baseOptions = configuration.baseOptions;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
903
|
+
const localVarHeaderParameter = {} as any;
|
|
904
|
+
const localVarQueryParameter = {} as any;
|
|
905
|
+
|
|
906
|
+
// authentication BearerToken required
|
|
907
|
+
// http bearer authentication required
|
|
908
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
909
|
+
|
|
910
|
+
// authentication DigestAuth required
|
|
911
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
850
915
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
851
916
|
|
|
852
917
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2507,6 +2572,153 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2507
2572
|
|
|
2508
2573
|
|
|
2509
2574
|
|
|
2575
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2577
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2578
|
+
|
|
2579
|
+
return {
|
|
2580
|
+
url: toPathString(localVarUrlObj),
|
|
2581
|
+
options: localVarRequestOptions,
|
|
2582
|
+
};
|
|
2583
|
+
},
|
|
2584
|
+
/**
|
|
2585
|
+
*
|
|
2586
|
+
* @summary Delete Elasticsearch security role
|
|
2587
|
+
* @param {string} orgName
|
|
2588
|
+
* @param {string} clusterName
|
|
2589
|
+
* @param {string} roleName
|
|
2590
|
+
* @param {*} [options] Override http request option.
|
|
2591
|
+
* @throws {RequiredError}
|
|
2592
|
+
*/
|
|
2593
|
+
deleteElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2594
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2595
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'orgName', orgName)
|
|
2596
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2597
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
2598
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2599
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'roleName', roleName)
|
|
2600
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2601
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2602
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2603
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2604
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2605
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2606
|
+
let baseOptions;
|
|
2607
|
+
if (configuration) {
|
|
2608
|
+
baseOptions = configuration.baseOptions;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2612
|
+
const localVarHeaderParameter = {} as any;
|
|
2613
|
+
const localVarQueryParameter = {} as any;
|
|
2614
|
+
|
|
2615
|
+
// authentication BearerToken required
|
|
2616
|
+
// http bearer authentication required
|
|
2617
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2618
|
+
|
|
2619
|
+
// authentication DigestAuth required
|
|
2620
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2626
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2627
|
+
|
|
2628
|
+
return {
|
|
2629
|
+
url: toPathString(localVarUrlObj),
|
|
2630
|
+
options: localVarRequestOptions,
|
|
2631
|
+
};
|
|
2632
|
+
},
|
|
2633
|
+
/**
|
|
2634
|
+
*
|
|
2635
|
+
* @summary Delete Elasticsearch security role mapping
|
|
2636
|
+
* @param {string} orgName
|
|
2637
|
+
* @param {string} clusterName
|
|
2638
|
+
* @param {string} mappingName
|
|
2639
|
+
* @param {*} [options] Override http request option.
|
|
2640
|
+
* @throws {RequiredError}
|
|
2641
|
+
*/
|
|
2642
|
+
deleteElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2643
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2644
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
2645
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2646
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
2647
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
2648
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
2649
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
2650
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2651
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2652
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
2653
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2654
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2655
|
+
let baseOptions;
|
|
2656
|
+
if (configuration) {
|
|
2657
|
+
baseOptions = configuration.baseOptions;
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2661
|
+
const localVarHeaderParameter = {} as any;
|
|
2662
|
+
const localVarQueryParameter = {} as any;
|
|
2663
|
+
|
|
2664
|
+
// authentication BearerToken required
|
|
2665
|
+
// http bearer authentication required
|
|
2666
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2667
|
+
|
|
2668
|
+
// authentication DigestAuth required
|
|
2669
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2674
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2675
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2676
|
+
|
|
2677
|
+
return {
|
|
2678
|
+
url: toPathString(localVarUrlObj),
|
|
2679
|
+
options: localVarRequestOptions,
|
|
2680
|
+
};
|
|
2681
|
+
},
|
|
2682
|
+
/**
|
|
2683
|
+
*
|
|
2684
|
+
* @summary Delete Elasticsearch security user
|
|
2685
|
+
* @param {string} orgName
|
|
2686
|
+
* @param {string} clusterName
|
|
2687
|
+
* @param {string} username
|
|
2688
|
+
* @param {*} [options] Override http request option.
|
|
2689
|
+
* @throws {RequiredError}
|
|
2690
|
+
*/
|
|
2691
|
+
deleteElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2692
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2693
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'orgName', orgName)
|
|
2694
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2695
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
2696
|
+
// verify required parameter 'username' is not null or undefined
|
|
2697
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'username', username)
|
|
2698
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
2699
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2700
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2701
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2702
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2703
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2704
|
+
let baseOptions;
|
|
2705
|
+
if (configuration) {
|
|
2706
|
+
baseOptions = configuration.baseOptions;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2710
|
+
const localVarHeaderParameter = {} as any;
|
|
2711
|
+
const localVarQueryParameter = {} as any;
|
|
2712
|
+
|
|
2713
|
+
// authentication BearerToken required
|
|
2714
|
+
// http bearer authentication required
|
|
2715
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2716
|
+
|
|
2717
|
+
// authentication DigestAuth required
|
|
2718
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
|
|
2510
2722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2511
2723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2512
2724
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4882,23 +5094,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4882
5094
|
};
|
|
4883
5095
|
},
|
|
4884
5096
|
/**
|
|
4885
|
-
*
|
|
4886
|
-
* @summary
|
|
4887
|
-
* @param {string}
|
|
4888
|
-
* @param {string}
|
|
4889
|
-
* @param {string} clusterName name of the cluster
|
|
5097
|
+
*
|
|
5098
|
+
* @summary Get Elasticsearch builtin privileges
|
|
5099
|
+
* @param {string} orgName
|
|
5100
|
+
* @param {string} clusterName
|
|
4890
5101
|
* @param {*} [options] Override http request option.
|
|
4891
5102
|
* @throws {RequiredError}
|
|
4892
5103
|
*/
|
|
4893
|
-
|
|
4894
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
4895
|
-
assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
|
|
5104
|
+
getElasticsearchBuiltinPrivileges: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4896
5105
|
// verify required parameter 'orgName' is not null or undefined
|
|
4897
|
-
assertParamExists('
|
|
5106
|
+
assertParamExists('getElasticsearchBuiltinPrivileges', 'orgName', orgName)
|
|
4898
5107
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4899
|
-
assertParamExists('
|
|
4900
|
-
const localVarPath = `/api/v1/data/
|
|
4901
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5108
|
+
assertParamExists('getElasticsearchBuiltinPrivileges', 'clusterName', clusterName)
|
|
5109
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/privileges/builtin`
|
|
4902
5110
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4903
5111
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4904
5112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4931,21 +5139,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4931
5139
|
};
|
|
4932
5140
|
},
|
|
4933
5141
|
/**
|
|
4934
|
-
*
|
|
4935
|
-
* @summary Get
|
|
4936
|
-
* @param {string} orgName
|
|
4937
|
-
* @param {string} clusterName
|
|
5142
|
+
*
|
|
5143
|
+
* @summary Get Elasticsearch security role
|
|
5144
|
+
* @param {string} orgName
|
|
5145
|
+
* @param {string} clusterName
|
|
5146
|
+
* @param {string} roleName
|
|
4938
5147
|
* @param {*} [options] Override http request option.
|
|
4939
5148
|
* @throws {RequiredError}
|
|
4940
5149
|
*/
|
|
4941
|
-
|
|
5150
|
+
getElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4942
5151
|
// verify required parameter 'orgName' is not null or undefined
|
|
4943
|
-
assertParamExists('
|
|
5152
|
+
assertParamExists('getElasticsearchSecurityRole', 'orgName', orgName)
|
|
4944
5153
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4945
|
-
assertParamExists('
|
|
4946
|
-
|
|
5154
|
+
assertParamExists('getElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
5155
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
5156
|
+
assertParamExists('getElasticsearchSecurityRole', 'roleName', roleName)
|
|
5157
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
4947
5158
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4948
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5159
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5160
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
4949
5161
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4950
5162
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4951
5163
|
let baseOptions;
|
|
@@ -4976,25 +5188,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4976
5188
|
};
|
|
4977
5189
|
},
|
|
4978
5190
|
/**
|
|
4979
|
-
*
|
|
4980
|
-
* @summary Get
|
|
4981
|
-
* @param {string} orgName
|
|
4982
|
-
* @param {string} clusterName
|
|
4983
|
-
* @param {string}
|
|
5191
|
+
*
|
|
5192
|
+
* @summary Get Elasticsearch security role mapping
|
|
5193
|
+
* @param {string} orgName
|
|
5194
|
+
* @param {string} clusterName
|
|
5195
|
+
* @param {string} mappingName
|
|
4984
5196
|
* @param {*} [options] Override http request option.
|
|
4985
5197
|
* @throws {RequiredError}
|
|
4986
5198
|
*/
|
|
4987
|
-
|
|
5199
|
+
getElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4988
5200
|
// verify required parameter 'orgName' is not null or undefined
|
|
4989
|
-
assertParamExists('
|
|
5201
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
4990
5202
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4991
|
-
assertParamExists('
|
|
4992
|
-
// verify required parameter '
|
|
4993
|
-
assertParamExists('
|
|
4994
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
5203
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
5204
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
5205
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
5206
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
4995
5207
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4996
5208
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4997
|
-
.replace(`{${"
|
|
5209
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
4998
5210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4999
5211
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5000
5212
|
let baseOptions;
|
|
@@ -5025,25 +5237,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5025
5237
|
};
|
|
5026
5238
|
},
|
|
5027
5239
|
/**
|
|
5028
|
-
*
|
|
5029
|
-
* @summary Get
|
|
5030
|
-
* @param {string} orgName
|
|
5031
|
-
* @param {string} clusterName
|
|
5032
|
-
* @param {string}
|
|
5240
|
+
*
|
|
5241
|
+
* @summary Get Elasticsearch security user
|
|
5242
|
+
* @param {string} orgName
|
|
5243
|
+
* @param {string} clusterName
|
|
5244
|
+
* @param {string} username
|
|
5033
5245
|
* @param {*} [options] Override http request option.
|
|
5034
5246
|
* @throws {RequiredError}
|
|
5035
5247
|
*/
|
|
5036
|
-
|
|
5248
|
+
getElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5037
5249
|
// verify required parameter 'orgName' is not null or undefined
|
|
5038
|
-
assertParamExists('
|
|
5250
|
+
assertParamExists('getElasticsearchSecurityUser', 'orgName', orgName)
|
|
5039
5251
|
// verify required parameter 'clusterName' is not null or undefined
|
|
5040
|
-
assertParamExists('
|
|
5041
|
-
// verify required parameter '
|
|
5042
|
-
assertParamExists('
|
|
5043
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
5252
|
+
assertParamExists('getElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
5253
|
+
// verify required parameter 'username' is not null or undefined
|
|
5254
|
+
assertParamExists('getElasticsearchSecurityUser', 'username', username)
|
|
5255
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
5044
5256
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5045
5257
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5046
|
-
.replace(`{${"
|
|
5258
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
5047
5259
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5048
5260
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5049
5261
|
let baseOptions;
|
|
@@ -5074,19 +5286,23 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5074
5286
|
};
|
|
5075
5287
|
},
|
|
5076
5288
|
/**
|
|
5077
|
-
*
|
|
5078
|
-
* @summary
|
|
5289
|
+
* get engine available console
|
|
5290
|
+
* @summary get engine available console
|
|
5291
|
+
* @param {string} engineName name of the engine
|
|
5079
5292
|
* @param {string} orgName name of the Org
|
|
5080
|
-
* @param {string} clusterName name of the
|
|
5293
|
+
* @param {string} clusterName name of the cluster
|
|
5081
5294
|
* @param {*} [options] Override http request option.
|
|
5082
5295
|
* @throws {RequiredError}
|
|
5083
5296
|
*/
|
|
5084
|
-
|
|
5297
|
+
getEngineAvailableConsole: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5298
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5299
|
+
assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
|
|
5085
5300
|
// verify required parameter 'orgName' is not null or undefined
|
|
5086
|
-
assertParamExists('
|
|
5301
|
+
assertParamExists('getEngineAvailableConsole', 'orgName', orgName)
|
|
5087
5302
|
// verify required parameter 'clusterName' is not null or undefined
|
|
5088
|
-
assertParamExists('
|
|
5089
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
5303
|
+
assertParamExists('getEngineAvailableConsole', 'clusterName', clusterName)
|
|
5304
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/console`
|
|
5305
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5090
5306
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5091
5307
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5092
5308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5119,11 +5335,199 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5119
5335
|
};
|
|
5120
5336
|
},
|
|
5121
5337
|
/**
|
|
5122
|
-
*
|
|
5123
|
-
* @summary
|
|
5124
|
-
* @param {string} orgName name of
|
|
5125
|
-
* @param {string} clusterName name of
|
|
5126
|
-
* @param {
|
|
5338
|
+
* Get Hive accounts
|
|
5339
|
+
* @summary Get Hive accounts
|
|
5340
|
+
* @param {string} orgName The name of organization
|
|
5341
|
+
* @param {string} clusterName The name of cluster
|
|
5342
|
+
* @param {*} [options] Override http request option.
|
|
5343
|
+
* @throws {RequiredError}
|
|
5344
|
+
*/
|
|
5345
|
+
getHiveAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5346
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5347
|
+
assertParamExists('getHiveAccounts', 'orgName', orgName)
|
|
5348
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5349
|
+
assertParamExists('getHiveAccounts', 'clusterName', clusterName)
|
|
5350
|
+
const localVarPath = `/api/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
5351
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5352
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5353
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5354
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5355
|
+
let baseOptions;
|
|
5356
|
+
if (configuration) {
|
|
5357
|
+
baseOptions = configuration.baseOptions;
|
|
5358
|
+
}
|
|
5359
|
+
|
|
5360
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5361
|
+
const localVarHeaderParameter = {} as any;
|
|
5362
|
+
const localVarQueryParameter = {} as any;
|
|
5363
|
+
|
|
5364
|
+
// authentication BearerToken required
|
|
5365
|
+
// http bearer authentication required
|
|
5366
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5367
|
+
|
|
5368
|
+
// authentication DigestAuth required
|
|
5369
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5370
|
+
|
|
5371
|
+
|
|
5372
|
+
|
|
5373
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5374
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5375
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5376
|
+
|
|
5377
|
+
return {
|
|
5378
|
+
url: toPathString(localVarUrlObj),
|
|
5379
|
+
options: localVarRequestOptions,
|
|
5380
|
+
};
|
|
5381
|
+
},
|
|
5382
|
+
/**
|
|
5383
|
+
* Retrieves detailed information about a specific data import preflight task by its ID
|
|
5384
|
+
* @summary Get preflight task details
|
|
5385
|
+
* @param {string} orgName Organization name
|
|
5386
|
+
* @param {string} clusterName Cluster name
|
|
5387
|
+
* @param {string} taskId Preflight task ID
|
|
5388
|
+
* @param {*} [options] Override http request option.
|
|
5389
|
+
* @throws {RequiredError}
|
|
5390
|
+
*/
|
|
5391
|
+
getImportPreflightTask: async (orgName: string, clusterName: string, taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5392
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5393
|
+
assertParamExists('getImportPreflightTask', 'orgName', orgName)
|
|
5394
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5395
|
+
assertParamExists('getImportPreflightTask', 'clusterName', clusterName)
|
|
5396
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
5397
|
+
assertParamExists('getImportPreflightTask', 'taskId', taskId)
|
|
5398
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/import/preflight/{taskId}`
|
|
5399
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5400
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5401
|
+
.replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
|
|
5402
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5403
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5404
|
+
let baseOptions;
|
|
5405
|
+
if (configuration) {
|
|
5406
|
+
baseOptions = configuration.baseOptions;
|
|
5407
|
+
}
|
|
5408
|
+
|
|
5409
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5410
|
+
const localVarHeaderParameter = {} as any;
|
|
5411
|
+
const localVarQueryParameter = {} as any;
|
|
5412
|
+
|
|
5413
|
+
// authentication BearerToken required
|
|
5414
|
+
// http bearer authentication required
|
|
5415
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5416
|
+
|
|
5417
|
+
// authentication DigestAuth required
|
|
5418
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5419
|
+
|
|
5420
|
+
|
|
5421
|
+
|
|
5422
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5423
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5424
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5425
|
+
|
|
5426
|
+
return {
|
|
5427
|
+
url: toPathString(localVarUrlObj),
|
|
5428
|
+
options: localVarRequestOptions,
|
|
5429
|
+
};
|
|
5430
|
+
},
|
|
5431
|
+
/**
|
|
5432
|
+
* Gets detailed information about a specific import task by its ID
|
|
5433
|
+
* @summary Get import task details
|
|
5434
|
+
* @param {string} orgName Organization name
|
|
5435
|
+
* @param {string} clusterName Cluster name
|
|
5436
|
+
* @param {string} id Import task ID
|
|
5437
|
+
* @param {*} [options] Override http request option.
|
|
5438
|
+
* @throws {RequiredError}
|
|
5439
|
+
*/
|
|
5440
|
+
getImportTask: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5441
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5442
|
+
assertParamExists('getImportTask', 'orgName', orgName)
|
|
5443
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5444
|
+
assertParamExists('getImportTask', 'clusterName', clusterName)
|
|
5445
|
+
// verify required parameter 'id' is not null or undefined
|
|
5446
|
+
assertParamExists('getImportTask', 'id', id)
|
|
5447
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/import/{id}`
|
|
5448
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5449
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5450
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5451
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5452
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5453
|
+
let baseOptions;
|
|
5454
|
+
if (configuration) {
|
|
5455
|
+
baseOptions = configuration.baseOptions;
|
|
5456
|
+
}
|
|
5457
|
+
|
|
5458
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5459
|
+
const localVarHeaderParameter = {} as any;
|
|
5460
|
+
const localVarQueryParameter = {} as any;
|
|
5461
|
+
|
|
5462
|
+
// authentication BearerToken required
|
|
5463
|
+
// http bearer authentication required
|
|
5464
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5465
|
+
|
|
5466
|
+
// authentication DigestAuth required
|
|
5467
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5468
|
+
|
|
5469
|
+
|
|
5470
|
+
|
|
5471
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5472
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5473
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5474
|
+
|
|
5475
|
+
return {
|
|
5476
|
+
url: toPathString(localVarUrlObj),
|
|
5477
|
+
options: localVarRequestOptions,
|
|
5478
|
+
};
|
|
5479
|
+
},
|
|
5480
|
+
/**
|
|
5481
|
+
*
|
|
5482
|
+
* @summary Get instaces metrics in cluster
|
|
5483
|
+
* @param {string} orgName name of the Org
|
|
5484
|
+
* @param {string} clusterName name of the Cluster
|
|
5485
|
+
* @param {*} [options] Override http request option.
|
|
5486
|
+
* @throws {RequiredError}
|
|
5487
|
+
*/
|
|
5488
|
+
getInstacesMetrics: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5489
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5490
|
+
assertParamExists('getInstacesMetrics', 'orgName', orgName)
|
|
5491
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5492
|
+
assertParamExists('getInstacesMetrics', 'clusterName', clusterName)
|
|
5493
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/instances/metrics`
|
|
5494
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5495
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5496
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5497
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5498
|
+
let baseOptions;
|
|
5499
|
+
if (configuration) {
|
|
5500
|
+
baseOptions = configuration.baseOptions;
|
|
5501
|
+
}
|
|
5502
|
+
|
|
5503
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5504
|
+
const localVarHeaderParameter = {} as any;
|
|
5505
|
+
const localVarQueryParameter = {} as any;
|
|
5506
|
+
|
|
5507
|
+
// authentication BearerToken required
|
|
5508
|
+
// http bearer authentication required
|
|
5509
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5510
|
+
|
|
5511
|
+
// authentication DigestAuth required
|
|
5512
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5513
|
+
|
|
5514
|
+
|
|
5515
|
+
|
|
5516
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5517
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5518
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5519
|
+
|
|
5520
|
+
return {
|
|
5521
|
+
url: toPathString(localVarUrlObj),
|
|
5522
|
+
options: localVarRequestOptions,
|
|
5523
|
+
};
|
|
5524
|
+
},
|
|
5525
|
+
/**
|
|
5526
|
+
* read log of the specified cluster instance
|
|
5527
|
+
* @summary Tail cluster instance container log
|
|
5528
|
+
* @param {string} orgName name of the Org
|
|
5529
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
5530
|
+
* @param {string} instanceName name of the instance
|
|
5127
5531
|
* @param {string} [container] specify container name to get specific container log, if not specified, will return the log of the default container
|
|
5128
5532
|
* @param {number} [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.
|
|
5129
5533
|
* @param {number} [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime
|
|
@@ -6967,6 +7371,141 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6967
7371
|
|
|
6968
7372
|
|
|
6969
7373
|
|
|
7374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7376
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7377
|
+
|
|
7378
|
+
return {
|
|
7379
|
+
url: toPathString(localVarUrlObj),
|
|
7380
|
+
options: localVarRequestOptions,
|
|
7381
|
+
};
|
|
7382
|
+
},
|
|
7383
|
+
/**
|
|
7384
|
+
*
|
|
7385
|
+
* @summary List Elasticsearch security role mappings
|
|
7386
|
+
* @param {string} orgName
|
|
7387
|
+
* @param {string} clusterName
|
|
7388
|
+
* @param {*} [options] Override http request option.
|
|
7389
|
+
* @throws {RequiredError}
|
|
7390
|
+
*/
|
|
7391
|
+
listElasticsearchSecurityRoleMappings: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7392
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7393
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'orgName', orgName)
|
|
7394
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7395
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'clusterName', clusterName)
|
|
7396
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings`
|
|
7397
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7398
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7401
|
+
let baseOptions;
|
|
7402
|
+
if (configuration) {
|
|
7403
|
+
baseOptions = configuration.baseOptions;
|
|
7404
|
+
}
|
|
7405
|
+
|
|
7406
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7407
|
+
const localVarHeaderParameter = {} as any;
|
|
7408
|
+
const localVarQueryParameter = {} as any;
|
|
7409
|
+
|
|
7410
|
+
// authentication BearerToken required
|
|
7411
|
+
// http bearer authentication required
|
|
7412
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7413
|
+
|
|
7414
|
+
// authentication DigestAuth required
|
|
7415
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7416
|
+
|
|
7417
|
+
|
|
7418
|
+
|
|
7419
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7420
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7421
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7422
|
+
|
|
7423
|
+
return {
|
|
7424
|
+
url: toPathString(localVarUrlObj),
|
|
7425
|
+
options: localVarRequestOptions,
|
|
7426
|
+
};
|
|
7427
|
+
},
|
|
7428
|
+
/**
|
|
7429
|
+
*
|
|
7430
|
+
* @summary List Elasticsearch security roles
|
|
7431
|
+
* @param {string} orgName
|
|
7432
|
+
* @param {string} clusterName
|
|
7433
|
+
* @param {*} [options] Override http request option.
|
|
7434
|
+
* @throws {RequiredError}
|
|
7435
|
+
*/
|
|
7436
|
+
listElasticsearchSecurityRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7437
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7438
|
+
assertParamExists('listElasticsearchSecurityRoles', 'orgName', orgName)
|
|
7439
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7440
|
+
assertParamExists('listElasticsearchSecurityRoles', 'clusterName', clusterName)
|
|
7441
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
7442
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7443
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7444
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7445
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7446
|
+
let baseOptions;
|
|
7447
|
+
if (configuration) {
|
|
7448
|
+
baseOptions = configuration.baseOptions;
|
|
7449
|
+
}
|
|
7450
|
+
|
|
7451
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7452
|
+
const localVarHeaderParameter = {} as any;
|
|
7453
|
+
const localVarQueryParameter = {} as any;
|
|
7454
|
+
|
|
7455
|
+
// authentication BearerToken required
|
|
7456
|
+
// http bearer authentication required
|
|
7457
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7458
|
+
|
|
7459
|
+
// authentication DigestAuth required
|
|
7460
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7461
|
+
|
|
7462
|
+
|
|
7463
|
+
|
|
7464
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7466
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7467
|
+
|
|
7468
|
+
return {
|
|
7469
|
+
url: toPathString(localVarUrlObj),
|
|
7470
|
+
options: localVarRequestOptions,
|
|
7471
|
+
};
|
|
7472
|
+
},
|
|
7473
|
+
/**
|
|
7474
|
+
*
|
|
7475
|
+
* @summary List Elasticsearch security users
|
|
7476
|
+
* @param {string} orgName
|
|
7477
|
+
* @param {string} clusterName
|
|
7478
|
+
* @param {*} [options] Override http request option.
|
|
7479
|
+
* @throws {RequiredError}
|
|
7480
|
+
*/
|
|
7481
|
+
listElasticsearchSecurityUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7482
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7483
|
+
assertParamExists('listElasticsearchSecurityUsers', 'orgName', orgName)
|
|
7484
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7485
|
+
assertParamExists('listElasticsearchSecurityUsers', 'clusterName', clusterName)
|
|
7486
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
7487
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7488
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7489
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7490
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7491
|
+
let baseOptions;
|
|
7492
|
+
if (configuration) {
|
|
7493
|
+
baseOptions = configuration.baseOptions;
|
|
7494
|
+
}
|
|
7495
|
+
|
|
7496
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7497
|
+
const localVarHeaderParameter = {} as any;
|
|
7498
|
+
const localVarQueryParameter = {} as any;
|
|
7499
|
+
|
|
7500
|
+
// authentication BearerToken required
|
|
7501
|
+
// http bearer authentication required
|
|
7502
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7503
|
+
|
|
7504
|
+
// authentication DigestAuth required
|
|
7505
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7506
|
+
|
|
7507
|
+
|
|
7508
|
+
|
|
6970
7509
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6971
7510
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6972
7511
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9049,6 +9588,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9049
9588
|
|
|
9050
9589
|
|
|
9051
9590
|
|
|
9591
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9592
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9593
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9594
|
+
|
|
9595
|
+
return {
|
|
9596
|
+
url: toPathString(localVarUrlObj),
|
|
9597
|
+
options: localVarRequestOptions,
|
|
9598
|
+
};
|
|
9599
|
+
},
|
|
9600
|
+
/**
|
|
9601
|
+
*
|
|
9602
|
+
* @summary Lock Elasticsearch account
|
|
9603
|
+
* @param {string} orgName
|
|
9604
|
+
* @param {string} clusterName
|
|
9605
|
+
* @param {string} username
|
|
9606
|
+
* @param {*} [options] Override http request option.
|
|
9607
|
+
* @throws {RequiredError}
|
|
9608
|
+
*/
|
|
9609
|
+
lockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9610
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9611
|
+
assertParamExists('lockElasticsearchSecurityUser', 'orgName', orgName)
|
|
9612
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9613
|
+
assertParamExists('lockElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
9614
|
+
// verify required parameter 'username' is not null or undefined
|
|
9615
|
+
assertParamExists('lockElasticsearchSecurityUser', 'username', username)
|
|
9616
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/lock`
|
|
9617
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9618
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9619
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
9620
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9621
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9622
|
+
let baseOptions;
|
|
9623
|
+
if (configuration) {
|
|
9624
|
+
baseOptions = configuration.baseOptions;
|
|
9625
|
+
}
|
|
9626
|
+
|
|
9627
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9628
|
+
const localVarHeaderParameter = {} as any;
|
|
9629
|
+
const localVarQueryParameter = {} as any;
|
|
9630
|
+
|
|
9631
|
+
// authentication BearerToken required
|
|
9632
|
+
// http bearer authentication required
|
|
9633
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9634
|
+
|
|
9635
|
+
// authentication DigestAuth required
|
|
9636
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9637
|
+
|
|
9638
|
+
|
|
9639
|
+
|
|
9052
9640
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9053
9641
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9054
9642
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9272,7 +9860,164 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9272
9860
|
baseOptions = configuration.baseOptions;
|
|
9273
9861
|
}
|
|
9274
9862
|
|
|
9275
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9863
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9864
|
+
const localVarHeaderParameter = {} as any;
|
|
9865
|
+
const localVarQueryParameter = {} as any;
|
|
9866
|
+
|
|
9867
|
+
// authentication BearerToken required
|
|
9868
|
+
// http bearer authentication required
|
|
9869
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9870
|
+
|
|
9871
|
+
// authentication DigestAuth required
|
|
9872
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9873
|
+
|
|
9874
|
+
|
|
9875
|
+
|
|
9876
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9877
|
+
|
|
9878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9880
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9881
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9882
|
+
|
|
9883
|
+
return {
|
|
9884
|
+
url: toPathString(localVarUrlObj),
|
|
9885
|
+
options: localVarRequestOptions,
|
|
9886
|
+
};
|
|
9887
|
+
},
|
|
9888
|
+
/**
|
|
9889
|
+
* Only authenticated organization admins can update the member\'s role
|
|
9890
|
+
* @summary Update member role
|
|
9891
|
+
* @param {string} orgName name of the Org
|
|
9892
|
+
* @param {string} memberId ID of the member
|
|
9893
|
+
* @param {OrgMemberUpdate} body
|
|
9894
|
+
* @param {*} [options] Override http request option.
|
|
9895
|
+
* @throws {RequiredError}
|
|
9896
|
+
*/
|
|
9897
|
+
patchOrgMember: async (orgName: string, memberId: string, body: OrgMemberUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9898
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9899
|
+
assertParamExists('patchOrgMember', 'orgName', orgName)
|
|
9900
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
9901
|
+
assertParamExists('patchOrgMember', 'memberId', memberId)
|
|
9902
|
+
// verify required parameter 'body' is not null or undefined
|
|
9903
|
+
assertParamExists('patchOrgMember', 'body', body)
|
|
9904
|
+
const localVarPath = `/api/v1/organizations/{orgName}/members/{memberId}`
|
|
9905
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9906
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
9907
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9908
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9909
|
+
let baseOptions;
|
|
9910
|
+
if (configuration) {
|
|
9911
|
+
baseOptions = configuration.baseOptions;
|
|
9912
|
+
}
|
|
9913
|
+
|
|
9914
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9915
|
+
const localVarHeaderParameter = {} as any;
|
|
9916
|
+
const localVarQueryParameter = {} as any;
|
|
9917
|
+
|
|
9918
|
+
// authentication BearerToken required
|
|
9919
|
+
// http bearer authentication required
|
|
9920
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9921
|
+
|
|
9922
|
+
// authentication DigestAuth required
|
|
9923
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9924
|
+
|
|
9925
|
+
|
|
9926
|
+
|
|
9927
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9928
|
+
|
|
9929
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9930
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9931
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9932
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9933
|
+
|
|
9934
|
+
return {
|
|
9935
|
+
url: toPathString(localVarUrlObj),
|
|
9936
|
+
options: localVarRequestOptions,
|
|
9937
|
+
};
|
|
9938
|
+
},
|
|
9939
|
+
/**
|
|
9940
|
+
* Update a parameter of an organization
|
|
9941
|
+
* @summary Update a parameter of an organization
|
|
9942
|
+
* @param {string} orgName The name of the organization
|
|
9943
|
+
* @param {string} parameterName The name of the parameter
|
|
9944
|
+
* @param {OrgParameter} orgParameter
|
|
9945
|
+
* @param {*} [options] Override http request option.
|
|
9946
|
+
* @throws {RequiredError}
|
|
9947
|
+
*/
|
|
9948
|
+
patchOrgParameter: async (orgName: string, parameterName: string, orgParameter: OrgParameter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9949
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9950
|
+
assertParamExists('patchOrgParameter', 'orgName', orgName)
|
|
9951
|
+
// verify required parameter 'parameterName' is not null or undefined
|
|
9952
|
+
assertParamExists('patchOrgParameter', 'parameterName', parameterName)
|
|
9953
|
+
// verify required parameter 'orgParameter' is not null or undefined
|
|
9954
|
+
assertParamExists('patchOrgParameter', 'orgParameter', orgParameter)
|
|
9955
|
+
const localVarPath = `/api/v1/organizations/{orgName}/parameters/{parameterName}`
|
|
9956
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9957
|
+
.replace(`{${"parameterName"}}`, encodeURIComponent(String(parameterName)));
|
|
9958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9960
|
+
let baseOptions;
|
|
9961
|
+
if (configuration) {
|
|
9962
|
+
baseOptions = configuration.baseOptions;
|
|
9963
|
+
}
|
|
9964
|
+
|
|
9965
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9966
|
+
const localVarHeaderParameter = {} as any;
|
|
9967
|
+
const localVarQueryParameter = {} as any;
|
|
9968
|
+
|
|
9969
|
+
// authentication BearerToken required
|
|
9970
|
+
// http bearer authentication required
|
|
9971
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9972
|
+
|
|
9973
|
+
// authentication DigestAuth required
|
|
9974
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9975
|
+
|
|
9976
|
+
|
|
9977
|
+
|
|
9978
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9979
|
+
|
|
9980
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9981
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9982
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9983
|
+
localVarRequestOptions.data = serializeDataIfNeeded(orgParameter, localVarRequestOptions, configuration)
|
|
9984
|
+
|
|
9985
|
+
return {
|
|
9986
|
+
url: toPathString(localVarUrlObj),
|
|
9987
|
+
options: localVarRequestOptions,
|
|
9988
|
+
};
|
|
9989
|
+
},
|
|
9990
|
+
/**
|
|
9991
|
+
*
|
|
9992
|
+
* @summary Produce message to topic
|
|
9993
|
+
* @param {string} orgName The name of organization
|
|
9994
|
+
* @param {string} clusterName The name of cluster
|
|
9995
|
+
* @param {string} topic
|
|
9996
|
+
* @param {TopicMessageRequest} topicMessageRequest
|
|
9997
|
+
* @param {*} [options] Override http request option.
|
|
9998
|
+
* @throws {RequiredError}
|
|
9999
|
+
*/
|
|
10000
|
+
produceKafkaTopicMessage: async (orgName: string, clusterName: string, topic: string, topicMessageRequest: TopicMessageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10001
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10002
|
+
assertParamExists('produceKafkaTopicMessage', 'orgName', orgName)
|
|
10003
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10004
|
+
assertParamExists('produceKafkaTopicMessage', 'clusterName', clusterName)
|
|
10005
|
+
// verify required parameter 'topic' is not null or undefined
|
|
10006
|
+
assertParamExists('produceKafkaTopicMessage', 'topic', topic)
|
|
10007
|
+
// verify required parameter 'topicMessageRequest' is not null or undefined
|
|
10008
|
+
assertParamExists('produceKafkaTopicMessage', 'topicMessageRequest', topicMessageRequest)
|
|
10009
|
+
const localVarPath = `/api/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/topic/{topic}/messages`
|
|
10010
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10011
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10012
|
+
.replace(`{${"topic"}}`, encodeURIComponent(String(topic)));
|
|
10013
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10014
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10015
|
+
let baseOptions;
|
|
10016
|
+
if (configuration) {
|
|
10017
|
+
baseOptions = configuration.baseOptions;
|
|
10018
|
+
}
|
|
10019
|
+
|
|
10020
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9276
10021
|
const localVarHeaderParameter = {} as any;
|
|
9277
10022
|
const localVarQueryParameter = {} as any;
|
|
9278
10023
|
|
|
@@ -9290,7 +10035,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9290
10035
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9291
10036
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9292
10037
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9293
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10038
|
+
localVarRequestOptions.data = serializeDataIfNeeded(topicMessageRequest, localVarRequestOptions, configuration)
|
|
9294
10039
|
|
|
9295
10040
|
return {
|
|
9296
10041
|
url: toPathString(localVarUrlObj),
|
|
@@ -9298,24 +10043,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9298
10043
|
};
|
|
9299
10044
|
},
|
|
9300
10045
|
/**
|
|
9301
|
-
*
|
|
9302
|
-
* @summary
|
|
10046
|
+
*
|
|
10047
|
+
* @summary Promote cluster intance to primary
|
|
9303
10048
|
* @param {string} orgName name of the Org
|
|
9304
|
-
* @param {string}
|
|
9305
|
-
* @param {
|
|
10049
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
10050
|
+
* @param {OpsPromote} body
|
|
9306
10051
|
* @param {*} [options] Override http request option.
|
|
9307
10052
|
* @throws {RequiredError}
|
|
9308
10053
|
*/
|
|
9309
|
-
|
|
10054
|
+
promoteCluster: async (orgName: string, clusterName: string, body: OpsPromote, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9310
10055
|
// verify required parameter 'orgName' is not null or undefined
|
|
9311
|
-
assertParamExists('
|
|
9312
|
-
// verify required parameter '
|
|
9313
|
-
assertParamExists('
|
|
10056
|
+
assertParamExists('promoteCluster', 'orgName', orgName)
|
|
10057
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10058
|
+
assertParamExists('promoteCluster', 'clusterName', clusterName)
|
|
9314
10059
|
// verify required parameter 'body' is not null or undefined
|
|
9315
|
-
assertParamExists('
|
|
9316
|
-
const localVarPath = `/api/v1/organizations/{orgName}/
|
|
10060
|
+
assertParamExists('promoteCluster', 'body', body)
|
|
10061
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/promote`
|
|
9317
10062
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9318
|
-
.replace(`{${"
|
|
10063
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9319
10064
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9320
10065
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9321
10066
|
let baseOptions;
|
|
@@ -9323,7 +10068,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9323
10068
|
baseOptions = configuration.baseOptions;
|
|
9324
10069
|
}
|
|
9325
10070
|
|
|
9326
|
-
const localVarRequestOptions = { method: '
|
|
10071
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9327
10072
|
const localVarHeaderParameter = {} as any;
|
|
9328
10073
|
const localVarQueryParameter = {} as any;
|
|
9329
10074
|
|
|
@@ -9349,24 +10094,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9349
10094
|
};
|
|
9350
10095
|
},
|
|
9351
10096
|
/**
|
|
9352
|
-
*
|
|
9353
|
-
* @summary
|
|
9354
|
-
* @param {string} orgName
|
|
9355
|
-
* @param {string}
|
|
9356
|
-
* @param {
|
|
10097
|
+
*
|
|
10098
|
+
* @summary Create or update Elasticsearch security role
|
|
10099
|
+
* @param {string} orgName
|
|
10100
|
+
* @param {string} clusterName
|
|
10101
|
+
* @param {string} roleName
|
|
10102
|
+
* @param {ESSecurityRoleDescriptor} body
|
|
9357
10103
|
* @param {*} [options] Override http request option.
|
|
9358
10104
|
* @throws {RequiredError}
|
|
9359
10105
|
*/
|
|
9360
|
-
|
|
10106
|
+
putElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9361
10107
|
// verify required parameter 'orgName' is not null or undefined
|
|
9362
|
-
assertParamExists('
|
|
9363
|
-
// verify required parameter '
|
|
9364
|
-
assertParamExists('
|
|
9365
|
-
// verify required parameter '
|
|
9366
|
-
assertParamExists('
|
|
9367
|
-
|
|
10108
|
+
assertParamExists('putElasticsearchSecurityRole', 'orgName', orgName)
|
|
10109
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10110
|
+
assertParamExists('putElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
10111
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
10112
|
+
assertParamExists('putElasticsearchSecurityRole', 'roleName', roleName)
|
|
10113
|
+
// verify required parameter 'body' is not null or undefined
|
|
10114
|
+
assertParamExists('putElasticsearchSecurityRole', 'body', body)
|
|
10115
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
9368
10116
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9369
|
-
.replace(`{${"
|
|
10117
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10118
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
9370
10119
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9371
10120
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9372
10121
|
let baseOptions;
|
|
@@ -9374,7 +10123,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9374
10123
|
baseOptions = configuration.baseOptions;
|
|
9375
10124
|
}
|
|
9376
10125
|
|
|
9377
|
-
const localVarRequestOptions = { method: '
|
|
10126
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9378
10127
|
const localVarHeaderParameter = {} as any;
|
|
9379
10128
|
const localVarQueryParameter = {} as any;
|
|
9380
10129
|
|
|
@@ -9392,7 +10141,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9392
10141
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9393
10142
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9394
10143
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9395
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10144
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9396
10145
|
|
|
9397
10146
|
return {
|
|
9398
10147
|
url: toPathString(localVarUrlObj),
|
|
@@ -9401,27 +10150,27 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9401
10150
|
},
|
|
9402
10151
|
/**
|
|
9403
10152
|
*
|
|
9404
|
-
* @summary
|
|
9405
|
-
* @param {string} orgName
|
|
9406
|
-
* @param {string} clusterName
|
|
9407
|
-
* @param {string}
|
|
9408
|
-
* @param {
|
|
10153
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
10154
|
+
* @param {string} orgName
|
|
10155
|
+
* @param {string} clusterName
|
|
10156
|
+
* @param {string} mappingName
|
|
10157
|
+
* @param {ESSecurityRoleMapping} body
|
|
9409
10158
|
* @param {*} [options] Override http request option.
|
|
9410
10159
|
* @throws {RequiredError}
|
|
9411
10160
|
*/
|
|
9412
|
-
|
|
10161
|
+
putElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9413
10162
|
// verify required parameter 'orgName' is not null or undefined
|
|
9414
|
-
assertParamExists('
|
|
10163
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
9415
10164
|
// verify required parameter 'clusterName' is not null or undefined
|
|
9416
|
-
assertParamExists('
|
|
9417
|
-
// verify required parameter '
|
|
9418
|
-
assertParamExists('
|
|
9419
|
-
// verify required parameter '
|
|
9420
|
-
assertParamExists('
|
|
9421
|
-
const localVarPath = `/api/v1/data/
|
|
10165
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
10166
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
10167
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
10168
|
+
// verify required parameter 'body' is not null or undefined
|
|
10169
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'body', body)
|
|
10170
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
9422
10171
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9423
10172
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9424
|
-
.replace(`{${"
|
|
10173
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
9425
10174
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9426
10175
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9427
10176
|
let baseOptions;
|
|
@@ -9429,7 +10178,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9429
10178
|
baseOptions = configuration.baseOptions;
|
|
9430
10179
|
}
|
|
9431
10180
|
|
|
9432
|
-
const localVarRequestOptions = { method: '
|
|
10181
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9433
10182
|
const localVarHeaderParameter = {} as any;
|
|
9434
10183
|
const localVarQueryParameter = {} as any;
|
|
9435
10184
|
|
|
@@ -9447,7 +10196,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9447
10196
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9448
10197
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9449
10198
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9450
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9451
10200
|
|
|
9452
10201
|
return {
|
|
9453
10202
|
url: toPathString(localVarUrlObj),
|
|
@@ -9456,23 +10205,27 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9456
10205
|
},
|
|
9457
10206
|
/**
|
|
9458
10207
|
*
|
|
9459
|
-
* @summary
|
|
9460
|
-
* @param {string} orgName
|
|
9461
|
-
* @param {string} clusterName
|
|
9462
|
-
* @param {
|
|
10208
|
+
* @summary Create or update Elasticsearch security user
|
|
10209
|
+
* @param {string} orgName
|
|
10210
|
+
* @param {string} clusterName
|
|
10211
|
+
* @param {string} username
|
|
10212
|
+
* @param {ESPutSecurityUserRequest} body
|
|
9463
10213
|
* @param {*} [options] Override http request option.
|
|
9464
10214
|
* @throws {RequiredError}
|
|
9465
10215
|
*/
|
|
9466
|
-
|
|
10216
|
+
putElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9467
10217
|
// verify required parameter 'orgName' is not null or undefined
|
|
9468
|
-
assertParamExists('
|
|
10218
|
+
assertParamExists('putElasticsearchSecurityUser', 'orgName', orgName)
|
|
9469
10219
|
// verify required parameter 'clusterName' is not null or undefined
|
|
9470
|
-
assertParamExists('
|
|
10220
|
+
assertParamExists('putElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
10221
|
+
// verify required parameter 'username' is not null or undefined
|
|
10222
|
+
assertParamExists('putElasticsearchSecurityUser', 'username', username)
|
|
9471
10223
|
// verify required parameter 'body' is not null or undefined
|
|
9472
|
-
assertParamExists('
|
|
9473
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
10224
|
+
assertParamExists('putElasticsearchSecurityUser', 'body', body)
|
|
10225
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
9474
10226
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9475
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10227
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10228
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
9476
10229
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9477
10230
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9478
10231
|
let baseOptions;
|
|
@@ -9480,7 +10233,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9480
10233
|
baseOptions = configuration.baseOptions;
|
|
9481
10234
|
}
|
|
9482
10235
|
|
|
9483
|
-
const localVarRequestOptions = { method: '
|
|
10236
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9484
10237
|
const localVarHeaderParameter = {} as any;
|
|
9485
10238
|
const localVarQueryParameter = {} as any;
|
|
9486
10239
|
|
|
@@ -11370,6 +12123,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11370
12123
|
|
|
11371
12124
|
|
|
11372
12125
|
|
|
12126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12128
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12129
|
+
|
|
12130
|
+
return {
|
|
12131
|
+
url: toPathString(localVarUrlObj),
|
|
12132
|
+
options: localVarRequestOptions,
|
|
12133
|
+
};
|
|
12134
|
+
},
|
|
12135
|
+
/**
|
|
12136
|
+
*
|
|
12137
|
+
* @summary Unlock Elasticsearch account
|
|
12138
|
+
* @param {string} orgName
|
|
12139
|
+
* @param {string} clusterName
|
|
12140
|
+
* @param {string} username
|
|
12141
|
+
* @param {*} [options] Override http request option.
|
|
12142
|
+
* @throws {RequiredError}
|
|
12143
|
+
*/
|
|
12144
|
+
unlockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12145
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12146
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'orgName', orgName)
|
|
12147
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12148
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
12149
|
+
// verify required parameter 'username' is not null or undefined
|
|
12150
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'username', username)
|
|
12151
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/unlock`
|
|
12152
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12153
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12154
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
12155
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12156
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12157
|
+
let baseOptions;
|
|
12158
|
+
if (configuration) {
|
|
12159
|
+
baseOptions = configuration.baseOptions;
|
|
12160
|
+
}
|
|
12161
|
+
|
|
12162
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
12163
|
+
const localVarHeaderParameter = {} as any;
|
|
12164
|
+
const localVarQueryParameter = {} as any;
|
|
12165
|
+
|
|
12166
|
+
// authentication BearerToken required
|
|
12167
|
+
// http bearer authentication required
|
|
12168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12169
|
+
|
|
12170
|
+
// authentication DigestAuth required
|
|
12171
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12172
|
+
|
|
12173
|
+
|
|
12174
|
+
|
|
11373
12175
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11374
12176
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11375
12177
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12857,6 +13659,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
12857
13659
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.buildBackupObj']?.[localVarOperationServerIndex]?.url;
|
|
12858
13660
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12859
13661
|
},
|
|
13662
|
+
/**
|
|
13663
|
+
*
|
|
13664
|
+
* @summary Change Elasticsearch account password
|
|
13665
|
+
* @param {string} orgName
|
|
13666
|
+
* @param {string} clusterName
|
|
13667
|
+
* @param {string} username
|
|
13668
|
+
* @param {ESSecurityPasswordRequest} body
|
|
13669
|
+
* @param {*} [options] Override http request option.
|
|
13670
|
+
* @throws {RequiredError}
|
|
13671
|
+
*/
|
|
13672
|
+
async changeElasticsearchSecurityUserPassword(orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
13673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options);
|
|
13674
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13675
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.changeElasticsearchSecurityUserPassword']?.[localVarOperationServerIndex]?.url;
|
|
13676
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13677
|
+
},
|
|
12860
13678
|
/**
|
|
12861
13679
|
*
|
|
12862
13680
|
* @summary close the session for the cluster
|
|
@@ -13351,6 +14169,51 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
13351
14169
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteDatabase']?.[localVarOperationServerIndex]?.url;
|
|
13352
14170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13353
14171
|
},
|
|
14172
|
+
/**
|
|
14173
|
+
*
|
|
14174
|
+
* @summary Delete Elasticsearch security role
|
|
14175
|
+
* @param {string} orgName
|
|
14176
|
+
* @param {string} clusterName
|
|
14177
|
+
* @param {string} roleName
|
|
14178
|
+
* @param {*} [options] Override http request option.
|
|
14179
|
+
* @throws {RequiredError}
|
|
14180
|
+
*/
|
|
14181
|
+
async deleteElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14182
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
14183
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14184
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
14185
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14186
|
+
},
|
|
14187
|
+
/**
|
|
14188
|
+
*
|
|
14189
|
+
* @summary Delete Elasticsearch security role mapping
|
|
14190
|
+
* @param {string} orgName
|
|
14191
|
+
* @param {string} clusterName
|
|
14192
|
+
* @param {string} mappingName
|
|
14193
|
+
* @param {*} [options] Override http request option.
|
|
14194
|
+
* @throws {RequiredError}
|
|
14195
|
+
*/
|
|
14196
|
+
async deleteElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
14198
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14199
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
14200
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14201
|
+
},
|
|
14202
|
+
/**
|
|
14203
|
+
*
|
|
14204
|
+
* @summary Delete Elasticsearch security user
|
|
14205
|
+
* @param {string} orgName
|
|
14206
|
+
* @param {string} clusterName
|
|
14207
|
+
* @param {string} username
|
|
14208
|
+
* @param {*} [options] Override http request option.
|
|
14209
|
+
* @throws {RequiredError}
|
|
14210
|
+
*/
|
|
14211
|
+
async deleteElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
14213
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14214
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
14215
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14216
|
+
},
|
|
13354
14217
|
/**
|
|
13355
14218
|
* delete an hive account in cluster
|
|
13356
14219
|
* @summary Delete hive account
|
|
@@ -14053,6 +14916,65 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14053
14916
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getDatabaseOptions']?.[localVarOperationServerIndex]?.url;
|
|
14054
14917
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14055
14918
|
},
|
|
14919
|
+
/**
|
|
14920
|
+
*
|
|
14921
|
+
* @summary Get Elasticsearch builtin privileges
|
|
14922
|
+
* @param {string} orgName
|
|
14923
|
+
* @param {string} clusterName
|
|
14924
|
+
* @param {*} [options] Override http request option.
|
|
14925
|
+
* @throws {RequiredError}
|
|
14926
|
+
*/
|
|
14927
|
+
async getElasticsearchBuiltinPrivileges(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Array<string>; }>> {
|
|
14928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchBuiltinPrivileges(orgName, clusterName, options);
|
|
14929
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14930
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchBuiltinPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
14931
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14932
|
+
},
|
|
14933
|
+
/**
|
|
14934
|
+
*
|
|
14935
|
+
* @summary Get Elasticsearch security role
|
|
14936
|
+
* @param {string} orgName
|
|
14937
|
+
* @param {string} clusterName
|
|
14938
|
+
* @param {string} roleName
|
|
14939
|
+
* @param {*} [options] Override http request option.
|
|
14940
|
+
* @throws {RequiredError}
|
|
14941
|
+
*/
|
|
14942
|
+
async getElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleDescriptor>> {
|
|
14943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
14944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14945
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
14946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14947
|
+
},
|
|
14948
|
+
/**
|
|
14949
|
+
*
|
|
14950
|
+
* @summary Get Elasticsearch security role mapping
|
|
14951
|
+
* @param {string} orgName
|
|
14952
|
+
* @param {string} clusterName
|
|
14953
|
+
* @param {string} mappingName
|
|
14954
|
+
* @param {*} [options] Override http request option.
|
|
14955
|
+
* @throws {RequiredError}
|
|
14956
|
+
*/
|
|
14957
|
+
async getElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleMapping>> {
|
|
14958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
14959
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14960
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
14961
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14962
|
+
},
|
|
14963
|
+
/**
|
|
14964
|
+
*
|
|
14965
|
+
* @summary Get Elasticsearch security user
|
|
14966
|
+
* @param {string} orgName
|
|
14967
|
+
* @param {string} clusterName
|
|
14968
|
+
* @param {string} username
|
|
14969
|
+
* @param {*} [options] Override http request option.
|
|
14970
|
+
* @throws {RequiredError}
|
|
14971
|
+
*/
|
|
14972
|
+
async getElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityUser>> {
|
|
14973
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
14974
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14975
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
14976
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14977
|
+
},
|
|
14056
14978
|
/**
|
|
14057
14979
|
* get engine available console
|
|
14058
14980
|
* @summary get engine available console
|
|
@@ -14636,45 +15558,87 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14636
15558
|
},
|
|
14637
15559
|
/**
|
|
14638
15560
|
*
|
|
14639
|
-
* @summary List restore tasks
|
|
14640
|
-
* @param {string} orgName name of the Org
|
|
14641
|
-
* @param {string} clusterName name of the KubeBlocks cluster
|
|
15561
|
+
* @summary List restore tasks
|
|
15562
|
+
* @param {string} orgName name of the Org
|
|
15563
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
15564
|
+
* @param {*} [options] Override http request option.
|
|
15565
|
+
* @throws {RequiredError}
|
|
15566
|
+
*/
|
|
15567
|
+
async listClusterRestore(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreList>> {
|
|
15568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterRestore(orgName, clusterName, options);
|
|
15569
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15570
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterRestore']?.[localVarOperationServerIndex]?.url;
|
|
15571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15572
|
+
},
|
|
15573
|
+
/**
|
|
15574
|
+
*
|
|
15575
|
+
* @summary list the datasource of a cluster
|
|
15576
|
+
* @param {string} orgName name of the Org
|
|
15577
|
+
* @param {string} clusterName name of the cluster
|
|
15578
|
+
* @param {*} [options] Override http request option.
|
|
15579
|
+
* @throws {RequiredError}
|
|
15580
|
+
*/
|
|
15581
|
+
async listDataSourceV2(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Datasource>>> {
|
|
15582
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDataSourceV2(orgName, clusterName, options);
|
|
15583
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15584
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listDataSourceV2']?.[localVarOperationServerIndex]?.url;
|
|
15585
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15586
|
+
},
|
|
15587
|
+
/**
|
|
15588
|
+
* list databases for rdbms engine cluster
|
|
15589
|
+
* @summary List cluster databases
|
|
15590
|
+
* @param {string} engineName name of the engine
|
|
15591
|
+
* @param {string} orgName name of the Org
|
|
15592
|
+
* @param {string} clusterName name of the Cluster
|
|
15593
|
+
* @param {*} [options] Override http request option.
|
|
15594
|
+
* @throws {RequiredError}
|
|
15595
|
+
*/
|
|
15596
|
+
async listDatabases(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatabaseList>> {
|
|
15597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDatabases(engineName, orgName, clusterName, options);
|
|
15598
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15599
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listDatabases']?.[localVarOperationServerIndex]?.url;
|
|
15600
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15601
|
+
},
|
|
15602
|
+
/**
|
|
15603
|
+
*
|
|
15604
|
+
* @summary List Elasticsearch security role mappings
|
|
15605
|
+
* @param {string} orgName
|
|
15606
|
+
* @param {string} clusterName
|
|
14642
15607
|
* @param {*} [options] Override http request option.
|
|
14643
15608
|
* @throws {RequiredError}
|
|
14644
15609
|
*/
|
|
14645
|
-
async
|
|
14646
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15610
|
+
async listElasticsearchSecurityRoleMappings(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>> {
|
|
15611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoleMappings(orgName, clusterName, options);
|
|
14647
15612
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14648
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.
|
|
15613
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoleMappings']?.[localVarOperationServerIndex]?.url;
|
|
14649
15614
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14650
15615
|
},
|
|
14651
15616
|
/**
|
|
14652
15617
|
*
|
|
14653
|
-
* @summary
|
|
14654
|
-
* @param {string} orgName
|
|
14655
|
-
* @param {string} clusterName
|
|
15618
|
+
* @summary List Elasticsearch security roles
|
|
15619
|
+
* @param {string} orgName
|
|
15620
|
+
* @param {string} clusterName
|
|
14656
15621
|
* @param {*} [options] Override http request option.
|
|
14657
15622
|
* @throws {RequiredError}
|
|
14658
15623
|
*/
|
|
14659
|
-
async
|
|
14660
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15624
|
+
async listElasticsearchSecurityRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>> {
|
|
15625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoles(orgName, clusterName, options);
|
|
14661
15626
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14662
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.
|
|
15627
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoles']?.[localVarOperationServerIndex]?.url;
|
|
14663
15628
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14664
15629
|
},
|
|
14665
15630
|
/**
|
|
14666
|
-
*
|
|
14667
|
-
* @summary List
|
|
14668
|
-
* @param {string}
|
|
14669
|
-
* @param {string}
|
|
14670
|
-
* @param {string} clusterName name of the Cluster
|
|
15631
|
+
*
|
|
15632
|
+
* @summary List Elasticsearch security users
|
|
15633
|
+
* @param {string} orgName
|
|
15634
|
+
* @param {string} clusterName
|
|
14671
15635
|
* @param {*} [options] Override http request option.
|
|
14672
15636
|
* @throws {RequiredError}
|
|
14673
15637
|
*/
|
|
14674
|
-
async
|
|
14675
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15638
|
+
async listElasticsearchSecurityUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityUser; }>> {
|
|
15639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityUsers(orgName, clusterName, options);
|
|
14676
15640
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14677
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.
|
|
15641
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityUsers']?.[localVarOperationServerIndex]?.url;
|
|
14678
15642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14679
15643
|
},
|
|
14680
15644
|
/**
|
|
@@ -15300,6 +16264,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15300
16264
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listUpgradeableServiceVersion']?.[localVarOperationServerIndex]?.url;
|
|
15301
16265
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15302
16266
|
},
|
|
16267
|
+
/**
|
|
16268
|
+
*
|
|
16269
|
+
* @summary Lock Elasticsearch account
|
|
16270
|
+
* @param {string} orgName
|
|
16271
|
+
* @param {string} clusterName
|
|
16272
|
+
* @param {string} username
|
|
16273
|
+
* @param {*} [options] Override http request option.
|
|
16274
|
+
* @throws {RequiredError}
|
|
16275
|
+
*/
|
|
16276
|
+
async lockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
16278
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16279
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.lockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
16280
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16281
|
+
},
|
|
15303
16282
|
/**
|
|
15304
16283
|
*
|
|
15305
16284
|
* @summary batch modify database tde status
|
|
@@ -15433,6 +16412,54 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15433
16412
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.promoteCluster']?.[localVarOperationServerIndex]?.url;
|
|
15434
16413
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15435
16414
|
},
|
|
16415
|
+
/**
|
|
16416
|
+
*
|
|
16417
|
+
* @summary Create or update Elasticsearch security role
|
|
16418
|
+
* @param {string} orgName
|
|
16419
|
+
* @param {string} clusterName
|
|
16420
|
+
* @param {string} roleName
|
|
16421
|
+
* @param {ESSecurityRoleDescriptor} body
|
|
16422
|
+
* @param {*} [options] Override http request option.
|
|
16423
|
+
* @throws {RequiredError}
|
|
16424
|
+
*/
|
|
16425
|
+
async putElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16426
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options);
|
|
16427
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16428
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
16429
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16430
|
+
},
|
|
16431
|
+
/**
|
|
16432
|
+
*
|
|
16433
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
16434
|
+
* @param {string} orgName
|
|
16435
|
+
* @param {string} clusterName
|
|
16436
|
+
* @param {string} mappingName
|
|
16437
|
+
* @param {ESSecurityRoleMapping} body
|
|
16438
|
+
* @param {*} [options] Override http request option.
|
|
16439
|
+
* @throws {RequiredError}
|
|
16440
|
+
*/
|
|
16441
|
+
async putElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options);
|
|
16443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16444
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
16445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16446
|
+
},
|
|
16447
|
+
/**
|
|
16448
|
+
*
|
|
16449
|
+
* @summary Create or update Elasticsearch security user
|
|
16450
|
+
* @param {string} orgName
|
|
16451
|
+
* @param {string} clusterName
|
|
16452
|
+
* @param {string} username
|
|
16453
|
+
* @param {ESPutSecurityUserRequest} body
|
|
16454
|
+
* @param {*} [options] Override http request option.
|
|
16455
|
+
* @throws {RequiredError}
|
|
16456
|
+
*/
|
|
16457
|
+
async putElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
|
|
16459
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16460
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
16461
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16462
|
+
},
|
|
15436
16463
|
/**
|
|
15437
16464
|
*
|
|
15438
16465
|
* @summary create a SQL query
|
|
@@ -15964,6 +16991,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15964
16991
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.unfreezeMember']?.[localVarOperationServerIndex]?.url;
|
|
15965
16992
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15966
16993
|
},
|
|
16994
|
+
/**
|
|
16995
|
+
*
|
|
16996
|
+
* @summary Unlock Elasticsearch account
|
|
16997
|
+
* @param {string} orgName
|
|
16998
|
+
* @param {string} clusterName
|
|
16999
|
+
* @param {string} username
|
|
17000
|
+
* @param {*} [options] Override http request option.
|
|
17001
|
+
* @throws {RequiredError}
|
|
17002
|
+
*/
|
|
17003
|
+
async unlockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
17005
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17006
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
17007
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17008
|
+
},
|
|
15967
17009
|
/**
|
|
15968
17010
|
* update an account in cluster
|
|
15969
17011
|
* @summary update cluster account
|
|
@@ -16444,6 +17486,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
16444
17486
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup> {
|
|
16445
17487
|
return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
16446
17488
|
},
|
|
17489
|
+
/**
|
|
17490
|
+
*
|
|
17491
|
+
* @summary Change Elasticsearch account password
|
|
17492
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
17493
|
+
* @param {*} [options] Override http request option.
|
|
17494
|
+
* @throws {RequiredError}
|
|
17495
|
+
*/
|
|
17496
|
+
changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17497
|
+
return localVarFp.changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
17498
|
+
},
|
|
16447
17499
|
/**
|
|
16448
17500
|
*
|
|
16449
17501
|
* @summary close the session for the cluster
|
|
@@ -16775,6 +17827,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
16775
17827
|
deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16776
17828
|
return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
16777
17829
|
},
|
|
17830
|
+
/**
|
|
17831
|
+
*
|
|
17832
|
+
* @summary Delete Elasticsearch security role
|
|
17833
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
17834
|
+
* @param {*} [options] Override http request option.
|
|
17835
|
+
* @throws {RequiredError}
|
|
17836
|
+
*/
|
|
17837
|
+
deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17838
|
+
return localVarFp.deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
17839
|
+
},
|
|
17840
|
+
/**
|
|
17841
|
+
*
|
|
17842
|
+
* @summary Delete Elasticsearch security role mapping
|
|
17843
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
17844
|
+
* @param {*} [options] Override http request option.
|
|
17845
|
+
* @throws {RequiredError}
|
|
17846
|
+
*/
|
|
17847
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17848
|
+
return localVarFp.deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
17849
|
+
},
|
|
17850
|
+
/**
|
|
17851
|
+
*
|
|
17852
|
+
* @summary Delete Elasticsearch security user
|
|
17853
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
17854
|
+
* @param {*} [options] Override http request option.
|
|
17855
|
+
* @throws {RequiredError}
|
|
17856
|
+
*/
|
|
17857
|
+
deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17858
|
+
return localVarFp.deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
17859
|
+
},
|
|
16778
17860
|
/**
|
|
16779
17861
|
* delete an hive account in cluster
|
|
16780
17862
|
* @summary Delete hive account
|
|
@@ -17234,6 +18316,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17234
18316
|
getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
17235
18317
|
return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
17236
18318
|
},
|
|
18319
|
+
/**
|
|
18320
|
+
*
|
|
18321
|
+
* @summary Get Elasticsearch builtin privileges
|
|
18322
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
18323
|
+
* @param {*} [options] Override http request option.
|
|
18324
|
+
* @throws {RequiredError}
|
|
18325
|
+
*/
|
|
18326
|
+
getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }> {
|
|
18327
|
+
return localVarFp.getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18328
|
+
},
|
|
18329
|
+
/**
|
|
18330
|
+
*
|
|
18331
|
+
* @summary Get Elasticsearch security role
|
|
18332
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
18333
|
+
* @param {*} [options] Override http request option.
|
|
18334
|
+
* @throws {RequiredError}
|
|
18335
|
+
*/
|
|
18336
|
+
getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor> {
|
|
18337
|
+
return localVarFp.getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
18338
|
+
},
|
|
18339
|
+
/**
|
|
18340
|
+
*
|
|
18341
|
+
* @summary Get Elasticsearch security role mapping
|
|
18342
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
18343
|
+
* @param {*} [options] Override http request option.
|
|
18344
|
+
* @throws {RequiredError}
|
|
18345
|
+
*/
|
|
18346
|
+
getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping> {
|
|
18347
|
+
return localVarFp.getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
18348
|
+
},
|
|
18349
|
+
/**
|
|
18350
|
+
*
|
|
18351
|
+
* @summary Get Elasticsearch security user
|
|
18352
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
18353
|
+
* @param {*} [options] Override http request option.
|
|
18354
|
+
* @throws {RequiredError}
|
|
18355
|
+
*/
|
|
18356
|
+
getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser> {
|
|
18357
|
+
return localVarFp.getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
18358
|
+
},
|
|
17237
18359
|
/**
|
|
17238
18360
|
* get engine available console
|
|
17239
18361
|
* @summary get engine available console
|
|
@@ -17644,6 +18766,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17644
18766
|
listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList> {
|
|
17645
18767
|
return localVarFp.listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
17646
18768
|
},
|
|
18769
|
+
/**
|
|
18770
|
+
*
|
|
18771
|
+
* @summary List Elasticsearch security role mappings
|
|
18772
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
18773
|
+
* @param {*} [options] Override http request option.
|
|
18774
|
+
* @throws {RequiredError}
|
|
18775
|
+
*/
|
|
18776
|
+
listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }> {
|
|
18777
|
+
return localVarFp.listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18778
|
+
},
|
|
18779
|
+
/**
|
|
18780
|
+
*
|
|
18781
|
+
* @summary List Elasticsearch security roles
|
|
18782
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
18783
|
+
* @param {*} [options] Override http request option.
|
|
18784
|
+
* @throws {RequiredError}
|
|
18785
|
+
*/
|
|
18786
|
+
listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }> {
|
|
18787
|
+
return localVarFp.listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18788
|
+
},
|
|
18789
|
+
/**
|
|
18790
|
+
*
|
|
18791
|
+
* @summary List Elasticsearch security users
|
|
18792
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
18793
|
+
* @param {*} [options] Override http request option.
|
|
18794
|
+
* @throws {RequiredError}
|
|
18795
|
+
*/
|
|
18796
|
+
listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }> {
|
|
18797
|
+
return localVarFp.listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18798
|
+
},
|
|
17647
18799
|
/**
|
|
17648
18800
|
*
|
|
17649
18801
|
* @summary List cluster endpoints
|
|
@@ -18062,6 +19214,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18062
19214
|
listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions> {
|
|
18063
19215
|
return localVarFp.listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
18064
19216
|
},
|
|
19217
|
+
/**
|
|
19218
|
+
*
|
|
19219
|
+
* @summary Lock Elasticsearch account
|
|
19220
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
19221
|
+
* @param {*} [options] Override http request option.
|
|
19222
|
+
* @throws {RequiredError}
|
|
19223
|
+
*/
|
|
19224
|
+
lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19225
|
+
return localVarFp.lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
19226
|
+
},
|
|
18065
19227
|
/**
|
|
18066
19228
|
*
|
|
18067
19229
|
* @summary batch modify database tde status
|
|
@@ -18152,6 +19314,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18152
19314
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
18153
19315
|
return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18154
19316
|
},
|
|
19317
|
+
/**
|
|
19318
|
+
*
|
|
19319
|
+
* @summary Create or update Elasticsearch security role
|
|
19320
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
19321
|
+
* @param {*} [options] Override http request option.
|
|
19322
|
+
* @throws {RequiredError}
|
|
19323
|
+
*/
|
|
19324
|
+
putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19325
|
+
return localVarFp.putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19326
|
+
},
|
|
19327
|
+
/**
|
|
19328
|
+
*
|
|
19329
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
19330
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
19331
|
+
* @param {*} [options] Override http request option.
|
|
19332
|
+
* @throws {RequiredError}
|
|
19333
|
+
*/
|
|
19334
|
+
putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19335
|
+
return localVarFp.putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19336
|
+
},
|
|
19337
|
+
/**
|
|
19338
|
+
*
|
|
19339
|
+
* @summary Create or update Elasticsearch security user
|
|
19340
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
19341
|
+
* @param {*} [options] Override http request option.
|
|
19342
|
+
* @throws {RequiredError}
|
|
19343
|
+
*/
|
|
19344
|
+
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19345
|
+
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19346
|
+
},
|
|
18155
19347
|
/**
|
|
18156
19348
|
*
|
|
18157
19349
|
* @summary create a SQL query
|
|
@@ -18481,6 +19673,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18481
19673
|
unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18482
19674
|
return localVarFp.unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(axios, basePath));
|
|
18483
19675
|
},
|
|
19676
|
+
/**
|
|
19677
|
+
*
|
|
19678
|
+
* @summary Unlock Elasticsearch account
|
|
19679
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
19680
|
+
* @param {*} [options] Override http request option.
|
|
19681
|
+
* @throws {RequiredError}
|
|
19682
|
+
*/
|
|
19683
|
+
unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19684
|
+
return localVarFp.unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
19685
|
+
},
|
|
18484
19686
|
/**
|
|
18485
19687
|
* update an account in cluster
|
|
18486
19688
|
* @summary update cluster account
|
|
@@ -18819,6 +20021,16 @@ export interface SharedApiInterface {
|
|
|
18819
20021
|
*/
|
|
18820
20022
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup>;
|
|
18821
20023
|
|
|
20024
|
+
/**
|
|
20025
|
+
*
|
|
20026
|
+
* @summary Change Elasticsearch account password
|
|
20027
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
20028
|
+
* @param {*} [options] Override http request option.
|
|
20029
|
+
* @throws {RequiredError}
|
|
20030
|
+
* @memberof SharedApiInterface
|
|
20031
|
+
*/
|
|
20032
|
+
changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20033
|
+
|
|
18822
20034
|
/**
|
|
18823
20035
|
*
|
|
18824
20036
|
* @summary close the session for the cluster
|
|
@@ -19150,6 +20362,36 @@ export interface SharedApiInterface {
|
|
|
19150
20362
|
*/
|
|
19151
20363
|
deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
19152
20364
|
|
|
20365
|
+
/**
|
|
20366
|
+
*
|
|
20367
|
+
* @summary Delete Elasticsearch security role
|
|
20368
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
20369
|
+
* @param {*} [options] Override http request option.
|
|
20370
|
+
* @throws {RequiredError}
|
|
20371
|
+
* @memberof SharedApiInterface
|
|
20372
|
+
*/
|
|
20373
|
+
deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20374
|
+
|
|
20375
|
+
/**
|
|
20376
|
+
*
|
|
20377
|
+
* @summary Delete Elasticsearch security role mapping
|
|
20378
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
20379
|
+
* @param {*} [options] Override http request option.
|
|
20380
|
+
* @throws {RequiredError}
|
|
20381
|
+
* @memberof SharedApiInterface
|
|
20382
|
+
*/
|
|
20383
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20384
|
+
|
|
20385
|
+
/**
|
|
20386
|
+
*
|
|
20387
|
+
* @summary Delete Elasticsearch security user
|
|
20388
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
20389
|
+
* @param {*} [options] Override http request option.
|
|
20390
|
+
* @throws {RequiredError}
|
|
20391
|
+
* @memberof SharedApiInterface
|
|
20392
|
+
*/
|
|
20393
|
+
deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20394
|
+
|
|
19153
20395
|
/**
|
|
19154
20396
|
* delete an hive account in cluster
|
|
19155
20397
|
* @summary Delete hive account
|
|
@@ -19609,6 +20851,46 @@ export interface SharedApiInterface {
|
|
|
19609
20851
|
*/
|
|
19610
20852
|
getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
19611
20853
|
|
|
20854
|
+
/**
|
|
20855
|
+
*
|
|
20856
|
+
* @summary Get Elasticsearch builtin privileges
|
|
20857
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
20858
|
+
* @param {*} [options] Override http request option.
|
|
20859
|
+
* @throws {RequiredError}
|
|
20860
|
+
* @memberof SharedApiInterface
|
|
20861
|
+
*/
|
|
20862
|
+
getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }>;
|
|
20863
|
+
|
|
20864
|
+
/**
|
|
20865
|
+
*
|
|
20866
|
+
* @summary Get Elasticsearch security role
|
|
20867
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
20868
|
+
* @param {*} [options] Override http request option.
|
|
20869
|
+
* @throws {RequiredError}
|
|
20870
|
+
* @memberof SharedApiInterface
|
|
20871
|
+
*/
|
|
20872
|
+
getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor>;
|
|
20873
|
+
|
|
20874
|
+
/**
|
|
20875
|
+
*
|
|
20876
|
+
* @summary Get Elasticsearch security role mapping
|
|
20877
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
20878
|
+
* @param {*} [options] Override http request option.
|
|
20879
|
+
* @throws {RequiredError}
|
|
20880
|
+
* @memberof SharedApiInterface
|
|
20881
|
+
*/
|
|
20882
|
+
getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping>;
|
|
20883
|
+
|
|
20884
|
+
/**
|
|
20885
|
+
*
|
|
20886
|
+
* @summary Get Elasticsearch security user
|
|
20887
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
20888
|
+
* @param {*} [options] Override http request option.
|
|
20889
|
+
* @throws {RequiredError}
|
|
20890
|
+
* @memberof SharedApiInterface
|
|
20891
|
+
*/
|
|
20892
|
+
getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser>;
|
|
20893
|
+
|
|
19612
20894
|
/**
|
|
19613
20895
|
* get engine available console
|
|
19614
20896
|
* @summary get engine available console
|
|
@@ -20007,17 +21289,47 @@ export interface SharedApiInterface {
|
|
|
20007
21289
|
* @throws {RequiredError}
|
|
20008
21290
|
* @memberof SharedApiInterface
|
|
20009
21291
|
*/
|
|
20010
|
-
listDataSourceV2(requestParameters: SharedApiListDataSourceV2Request, options?: RawAxiosRequestConfig): AxiosPromise<Array<Datasource>>;
|
|
21292
|
+
listDataSourceV2(requestParameters: SharedApiListDataSourceV2Request, options?: RawAxiosRequestConfig): AxiosPromise<Array<Datasource>>;
|
|
21293
|
+
|
|
21294
|
+
/**
|
|
21295
|
+
* list databases for rdbms engine cluster
|
|
21296
|
+
* @summary List cluster databases
|
|
21297
|
+
* @param {SharedApiListDatabasesRequest} requestParameters Request parameters.
|
|
21298
|
+
* @param {*} [options] Override http request option.
|
|
21299
|
+
* @throws {RequiredError}
|
|
21300
|
+
* @memberof SharedApiInterface
|
|
21301
|
+
*/
|
|
21302
|
+
listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
|
|
21303
|
+
|
|
21304
|
+
/**
|
|
21305
|
+
*
|
|
21306
|
+
* @summary List Elasticsearch security role mappings
|
|
21307
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
21308
|
+
* @param {*} [options] Override http request option.
|
|
21309
|
+
* @throws {RequiredError}
|
|
21310
|
+
* @memberof SharedApiInterface
|
|
21311
|
+
*/
|
|
21312
|
+
listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>;
|
|
21313
|
+
|
|
21314
|
+
/**
|
|
21315
|
+
*
|
|
21316
|
+
* @summary List Elasticsearch security roles
|
|
21317
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
21318
|
+
* @param {*} [options] Override http request option.
|
|
21319
|
+
* @throws {RequiredError}
|
|
21320
|
+
* @memberof SharedApiInterface
|
|
21321
|
+
*/
|
|
21322
|
+
listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>;
|
|
20011
21323
|
|
|
20012
21324
|
/**
|
|
20013
|
-
*
|
|
20014
|
-
* @summary List
|
|
20015
|
-
* @param {
|
|
21325
|
+
*
|
|
21326
|
+
* @summary List Elasticsearch security users
|
|
21327
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
20016
21328
|
* @param {*} [options] Override http request option.
|
|
20017
21329
|
* @throws {RequiredError}
|
|
20018
21330
|
* @memberof SharedApiInterface
|
|
20019
21331
|
*/
|
|
20020
|
-
|
|
21332
|
+
listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }>;
|
|
20021
21333
|
|
|
20022
21334
|
/**
|
|
20023
21335
|
*
|
|
@@ -20437,6 +21749,16 @@ export interface SharedApiInterface {
|
|
|
20437
21749
|
*/
|
|
20438
21750
|
listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions>;
|
|
20439
21751
|
|
|
21752
|
+
/**
|
|
21753
|
+
*
|
|
21754
|
+
* @summary Lock Elasticsearch account
|
|
21755
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21756
|
+
* @param {*} [options] Override http request option.
|
|
21757
|
+
* @throws {RequiredError}
|
|
21758
|
+
* @memberof SharedApiInterface
|
|
21759
|
+
*/
|
|
21760
|
+
lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21761
|
+
|
|
20440
21762
|
/**
|
|
20441
21763
|
*
|
|
20442
21764
|
* @summary batch modify database tde status
|
|
@@ -20527,6 +21849,36 @@ export interface SharedApiInterface {
|
|
|
20527
21849
|
*/
|
|
20528
21850
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
20529
21851
|
|
|
21852
|
+
/**
|
|
21853
|
+
*
|
|
21854
|
+
* @summary Create or update Elasticsearch security role
|
|
21855
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
21856
|
+
* @param {*} [options] Override http request option.
|
|
21857
|
+
* @throws {RequiredError}
|
|
21858
|
+
* @memberof SharedApiInterface
|
|
21859
|
+
*/
|
|
21860
|
+
putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21861
|
+
|
|
21862
|
+
/**
|
|
21863
|
+
*
|
|
21864
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
21865
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
21866
|
+
* @param {*} [options] Override http request option.
|
|
21867
|
+
* @throws {RequiredError}
|
|
21868
|
+
* @memberof SharedApiInterface
|
|
21869
|
+
*/
|
|
21870
|
+
putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21871
|
+
|
|
21872
|
+
/**
|
|
21873
|
+
*
|
|
21874
|
+
* @summary Create or update Elasticsearch security user
|
|
21875
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21876
|
+
* @param {*} [options] Override http request option.
|
|
21877
|
+
* @throws {RequiredError}
|
|
21878
|
+
* @memberof SharedApiInterface
|
|
21879
|
+
*/
|
|
21880
|
+
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21881
|
+
|
|
20530
21882
|
/**
|
|
20531
21883
|
*
|
|
20532
21884
|
* @summary create a SQL query
|
|
@@ -20856,6 +22208,16 @@ export interface SharedApiInterface {
|
|
|
20856
22208
|
*/
|
|
20857
22209
|
unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20858
22210
|
|
|
22211
|
+
/**
|
|
22212
|
+
*
|
|
22213
|
+
* @summary Unlock Elasticsearch account
|
|
22214
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
22215
|
+
* @param {*} [options] Override http request option.
|
|
22216
|
+
* @throws {RequiredError}
|
|
22217
|
+
* @memberof SharedApiInterface
|
|
22218
|
+
*/
|
|
22219
|
+
unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22220
|
+
|
|
20859
22221
|
/**
|
|
20860
22222
|
* update an account in cluster
|
|
20861
22223
|
* @summary update cluster account
|
|
@@ -21443,6 +22805,41 @@ export interface SharedApiBuildBackupObjRequest {
|
|
|
21443
22805
|
readonly body: BuildBackupObjRequest
|
|
21444
22806
|
}
|
|
21445
22807
|
|
|
22808
|
+
/**
|
|
22809
|
+
* Request parameters for changeElasticsearchSecurityUserPassword operation in SharedApi.
|
|
22810
|
+
* @export
|
|
22811
|
+
* @interface SharedApiChangeElasticsearchSecurityUserPasswordRequest
|
|
22812
|
+
*/
|
|
22813
|
+
export interface SharedApiChangeElasticsearchSecurityUserPasswordRequest {
|
|
22814
|
+
/**
|
|
22815
|
+
*
|
|
22816
|
+
* @type {string}
|
|
22817
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
22818
|
+
*/
|
|
22819
|
+
readonly orgName: string
|
|
22820
|
+
|
|
22821
|
+
/**
|
|
22822
|
+
*
|
|
22823
|
+
* @type {string}
|
|
22824
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
22825
|
+
*/
|
|
22826
|
+
readonly clusterName: string
|
|
22827
|
+
|
|
22828
|
+
/**
|
|
22829
|
+
*
|
|
22830
|
+
* @type {string}
|
|
22831
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
22832
|
+
*/
|
|
22833
|
+
readonly username: string
|
|
22834
|
+
|
|
22835
|
+
/**
|
|
22836
|
+
*
|
|
22837
|
+
* @type {ESSecurityPasswordRequest}
|
|
22838
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
22839
|
+
*/
|
|
22840
|
+
readonly body: ESSecurityPasswordRequest
|
|
22841
|
+
}
|
|
22842
|
+
|
|
21446
22843
|
/**
|
|
21447
22844
|
* Request parameters for closeSessions operation in SharedApi.
|
|
21448
22845
|
* @export
|
|
@@ -22353,6 +23750,90 @@ export interface SharedApiDeleteDatabaseRequest {
|
|
|
22353
23750
|
readonly databaseName: string
|
|
22354
23751
|
}
|
|
22355
23752
|
|
|
23753
|
+
/**
|
|
23754
|
+
* Request parameters for deleteElasticsearchSecurityRole operation in SharedApi.
|
|
23755
|
+
* @export
|
|
23756
|
+
* @interface SharedApiDeleteElasticsearchSecurityRoleRequest
|
|
23757
|
+
*/
|
|
23758
|
+
export interface SharedApiDeleteElasticsearchSecurityRoleRequest {
|
|
23759
|
+
/**
|
|
23760
|
+
*
|
|
23761
|
+
* @type {string}
|
|
23762
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
23763
|
+
*/
|
|
23764
|
+
readonly orgName: string
|
|
23765
|
+
|
|
23766
|
+
/**
|
|
23767
|
+
*
|
|
23768
|
+
* @type {string}
|
|
23769
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
23770
|
+
*/
|
|
23771
|
+
readonly clusterName: string
|
|
23772
|
+
|
|
23773
|
+
/**
|
|
23774
|
+
*
|
|
23775
|
+
* @type {string}
|
|
23776
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
23777
|
+
*/
|
|
23778
|
+
readonly roleName: string
|
|
23779
|
+
}
|
|
23780
|
+
|
|
23781
|
+
/**
|
|
23782
|
+
* Request parameters for deleteElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
23783
|
+
* @export
|
|
23784
|
+
* @interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest
|
|
23785
|
+
*/
|
|
23786
|
+
export interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest {
|
|
23787
|
+
/**
|
|
23788
|
+
*
|
|
23789
|
+
* @type {string}
|
|
23790
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
23791
|
+
*/
|
|
23792
|
+
readonly orgName: string
|
|
23793
|
+
|
|
23794
|
+
/**
|
|
23795
|
+
*
|
|
23796
|
+
* @type {string}
|
|
23797
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
23798
|
+
*/
|
|
23799
|
+
readonly clusterName: string
|
|
23800
|
+
|
|
23801
|
+
/**
|
|
23802
|
+
*
|
|
23803
|
+
* @type {string}
|
|
23804
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
23805
|
+
*/
|
|
23806
|
+
readonly mappingName: string
|
|
23807
|
+
}
|
|
23808
|
+
|
|
23809
|
+
/**
|
|
23810
|
+
* Request parameters for deleteElasticsearchSecurityUser operation in SharedApi.
|
|
23811
|
+
* @export
|
|
23812
|
+
* @interface SharedApiDeleteElasticsearchSecurityUserRequest
|
|
23813
|
+
*/
|
|
23814
|
+
export interface SharedApiDeleteElasticsearchSecurityUserRequest {
|
|
23815
|
+
/**
|
|
23816
|
+
*
|
|
23817
|
+
* @type {string}
|
|
23818
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
23819
|
+
*/
|
|
23820
|
+
readonly orgName: string
|
|
23821
|
+
|
|
23822
|
+
/**
|
|
23823
|
+
*
|
|
23824
|
+
* @type {string}
|
|
23825
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
23826
|
+
*/
|
|
23827
|
+
readonly clusterName: string
|
|
23828
|
+
|
|
23829
|
+
/**
|
|
23830
|
+
*
|
|
23831
|
+
* @type {string}
|
|
23832
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
23833
|
+
*/
|
|
23834
|
+
readonly username: string
|
|
23835
|
+
}
|
|
23836
|
+
|
|
22356
23837
|
/**
|
|
22357
23838
|
* Request parameters for deleteHiveAccount operation in SharedApi.
|
|
22358
23839
|
* @export
|
|
@@ -23732,6 +25213,111 @@ export interface SharedApiGetDatabaseOptionsRequest {
|
|
|
23732
25213
|
readonly filter?: string
|
|
23733
25214
|
}
|
|
23734
25215
|
|
|
25216
|
+
/**
|
|
25217
|
+
* Request parameters for getElasticsearchBuiltinPrivileges operation in SharedApi.
|
|
25218
|
+
* @export
|
|
25219
|
+
* @interface SharedApiGetElasticsearchBuiltinPrivilegesRequest
|
|
25220
|
+
*/
|
|
25221
|
+
export interface SharedApiGetElasticsearchBuiltinPrivilegesRequest {
|
|
25222
|
+
/**
|
|
25223
|
+
*
|
|
25224
|
+
* @type {string}
|
|
25225
|
+
* @memberof SharedApiGetElasticsearchBuiltinPrivileges
|
|
25226
|
+
*/
|
|
25227
|
+
readonly orgName: string
|
|
25228
|
+
|
|
25229
|
+
/**
|
|
25230
|
+
*
|
|
25231
|
+
* @type {string}
|
|
25232
|
+
* @memberof SharedApiGetElasticsearchBuiltinPrivileges
|
|
25233
|
+
*/
|
|
25234
|
+
readonly clusterName: string
|
|
25235
|
+
}
|
|
25236
|
+
|
|
25237
|
+
/**
|
|
25238
|
+
* Request parameters for getElasticsearchSecurityRole operation in SharedApi.
|
|
25239
|
+
* @export
|
|
25240
|
+
* @interface SharedApiGetElasticsearchSecurityRoleRequest
|
|
25241
|
+
*/
|
|
25242
|
+
export interface SharedApiGetElasticsearchSecurityRoleRequest {
|
|
25243
|
+
/**
|
|
25244
|
+
*
|
|
25245
|
+
* @type {string}
|
|
25246
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
25247
|
+
*/
|
|
25248
|
+
readonly orgName: string
|
|
25249
|
+
|
|
25250
|
+
/**
|
|
25251
|
+
*
|
|
25252
|
+
* @type {string}
|
|
25253
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
25254
|
+
*/
|
|
25255
|
+
readonly clusterName: string
|
|
25256
|
+
|
|
25257
|
+
/**
|
|
25258
|
+
*
|
|
25259
|
+
* @type {string}
|
|
25260
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
25261
|
+
*/
|
|
25262
|
+
readonly roleName: string
|
|
25263
|
+
}
|
|
25264
|
+
|
|
25265
|
+
/**
|
|
25266
|
+
* Request parameters for getElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
25267
|
+
* @export
|
|
25268
|
+
* @interface SharedApiGetElasticsearchSecurityRoleMappingRequest
|
|
25269
|
+
*/
|
|
25270
|
+
export interface SharedApiGetElasticsearchSecurityRoleMappingRequest {
|
|
25271
|
+
/**
|
|
25272
|
+
*
|
|
25273
|
+
* @type {string}
|
|
25274
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
25275
|
+
*/
|
|
25276
|
+
readonly orgName: string
|
|
25277
|
+
|
|
25278
|
+
/**
|
|
25279
|
+
*
|
|
25280
|
+
* @type {string}
|
|
25281
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
25282
|
+
*/
|
|
25283
|
+
readonly clusterName: string
|
|
25284
|
+
|
|
25285
|
+
/**
|
|
25286
|
+
*
|
|
25287
|
+
* @type {string}
|
|
25288
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
25289
|
+
*/
|
|
25290
|
+
readonly mappingName: string
|
|
25291
|
+
}
|
|
25292
|
+
|
|
25293
|
+
/**
|
|
25294
|
+
* Request parameters for getElasticsearchSecurityUser operation in SharedApi.
|
|
25295
|
+
* @export
|
|
25296
|
+
* @interface SharedApiGetElasticsearchSecurityUserRequest
|
|
25297
|
+
*/
|
|
25298
|
+
export interface SharedApiGetElasticsearchSecurityUserRequest {
|
|
25299
|
+
/**
|
|
25300
|
+
*
|
|
25301
|
+
* @type {string}
|
|
25302
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
25303
|
+
*/
|
|
25304
|
+
readonly orgName: string
|
|
25305
|
+
|
|
25306
|
+
/**
|
|
25307
|
+
*
|
|
25308
|
+
* @type {string}
|
|
25309
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
25310
|
+
*/
|
|
25311
|
+
readonly clusterName: string
|
|
25312
|
+
|
|
25313
|
+
/**
|
|
25314
|
+
*
|
|
25315
|
+
* @type {string}
|
|
25316
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
25317
|
+
*/
|
|
25318
|
+
readonly username: string
|
|
25319
|
+
}
|
|
25320
|
+
|
|
23735
25321
|
/**
|
|
23736
25322
|
* Request parameters for getEngineAvailableConsole operation in SharedApi.
|
|
23737
25323
|
* @export
|
|
@@ -24929,16 +26515,79 @@ export interface SharedApiListDatabasesRequest {
|
|
|
24929
26515
|
readonly engineName: string
|
|
24930
26516
|
|
|
24931
26517
|
/**
|
|
24932
|
-
* name of the Org
|
|
26518
|
+
* name of the Org
|
|
26519
|
+
* @type {string}
|
|
26520
|
+
* @memberof SharedApiListDatabases
|
|
26521
|
+
*/
|
|
26522
|
+
readonly orgName: string
|
|
26523
|
+
|
|
26524
|
+
/**
|
|
26525
|
+
* name of the Cluster
|
|
26526
|
+
* @type {string}
|
|
26527
|
+
* @memberof SharedApiListDatabases
|
|
26528
|
+
*/
|
|
26529
|
+
readonly clusterName: string
|
|
26530
|
+
}
|
|
26531
|
+
|
|
26532
|
+
/**
|
|
26533
|
+
* Request parameters for listElasticsearchSecurityRoleMappings operation in SharedApi.
|
|
26534
|
+
* @export
|
|
26535
|
+
* @interface SharedApiListElasticsearchSecurityRoleMappingsRequest
|
|
26536
|
+
*/
|
|
26537
|
+
export interface SharedApiListElasticsearchSecurityRoleMappingsRequest {
|
|
26538
|
+
/**
|
|
26539
|
+
*
|
|
26540
|
+
* @type {string}
|
|
26541
|
+
* @memberof SharedApiListElasticsearchSecurityRoleMappings
|
|
26542
|
+
*/
|
|
26543
|
+
readonly orgName: string
|
|
26544
|
+
|
|
26545
|
+
/**
|
|
26546
|
+
*
|
|
26547
|
+
* @type {string}
|
|
26548
|
+
* @memberof SharedApiListElasticsearchSecurityRoleMappings
|
|
26549
|
+
*/
|
|
26550
|
+
readonly clusterName: string
|
|
26551
|
+
}
|
|
26552
|
+
|
|
26553
|
+
/**
|
|
26554
|
+
* Request parameters for listElasticsearchSecurityRoles operation in SharedApi.
|
|
26555
|
+
* @export
|
|
26556
|
+
* @interface SharedApiListElasticsearchSecurityRolesRequest
|
|
26557
|
+
*/
|
|
26558
|
+
export interface SharedApiListElasticsearchSecurityRolesRequest {
|
|
26559
|
+
/**
|
|
26560
|
+
*
|
|
26561
|
+
* @type {string}
|
|
26562
|
+
* @memberof SharedApiListElasticsearchSecurityRoles
|
|
26563
|
+
*/
|
|
26564
|
+
readonly orgName: string
|
|
26565
|
+
|
|
26566
|
+
/**
|
|
26567
|
+
*
|
|
26568
|
+
* @type {string}
|
|
26569
|
+
* @memberof SharedApiListElasticsearchSecurityRoles
|
|
26570
|
+
*/
|
|
26571
|
+
readonly clusterName: string
|
|
26572
|
+
}
|
|
26573
|
+
|
|
26574
|
+
/**
|
|
26575
|
+
* Request parameters for listElasticsearchSecurityUsers operation in SharedApi.
|
|
26576
|
+
* @export
|
|
26577
|
+
* @interface SharedApiListElasticsearchSecurityUsersRequest
|
|
26578
|
+
*/
|
|
26579
|
+
export interface SharedApiListElasticsearchSecurityUsersRequest {
|
|
26580
|
+
/**
|
|
26581
|
+
*
|
|
24933
26582
|
* @type {string}
|
|
24934
|
-
* @memberof
|
|
26583
|
+
* @memberof SharedApiListElasticsearchSecurityUsers
|
|
24935
26584
|
*/
|
|
24936
26585
|
readonly orgName: string
|
|
24937
26586
|
|
|
24938
26587
|
/**
|
|
24939
|
-
*
|
|
26588
|
+
*
|
|
24940
26589
|
* @type {string}
|
|
24941
|
-
* @memberof
|
|
26590
|
+
* @memberof SharedApiListElasticsearchSecurityUsers
|
|
24942
26591
|
*/
|
|
24943
26592
|
readonly clusterName: string
|
|
24944
26593
|
}
|
|
@@ -26042,6 +27691,34 @@ export interface SharedApiListUpgradeableServiceVersionRequest {
|
|
|
26042
27691
|
readonly component: string
|
|
26043
27692
|
}
|
|
26044
27693
|
|
|
27694
|
+
/**
|
|
27695
|
+
* Request parameters for lockElasticsearchSecurityUser operation in SharedApi.
|
|
27696
|
+
* @export
|
|
27697
|
+
* @interface SharedApiLockElasticsearchSecurityUserRequest
|
|
27698
|
+
*/
|
|
27699
|
+
export interface SharedApiLockElasticsearchSecurityUserRequest {
|
|
27700
|
+
/**
|
|
27701
|
+
*
|
|
27702
|
+
* @type {string}
|
|
27703
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
27704
|
+
*/
|
|
27705
|
+
readonly orgName: string
|
|
27706
|
+
|
|
27707
|
+
/**
|
|
27708
|
+
*
|
|
27709
|
+
* @type {string}
|
|
27710
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
27711
|
+
*/
|
|
27712
|
+
readonly clusterName: string
|
|
27713
|
+
|
|
27714
|
+
/**
|
|
27715
|
+
*
|
|
27716
|
+
* @type {string}
|
|
27717
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
27718
|
+
*/
|
|
27719
|
+
readonly username: string
|
|
27720
|
+
}
|
|
27721
|
+
|
|
26045
27722
|
/**
|
|
26046
27723
|
* Request parameters for manageMssqlTDEDatabase operation in SharedApi.
|
|
26047
27724
|
* @export
|
|
@@ -26280,6 +27957,111 @@ export interface SharedApiPromoteClusterRequest {
|
|
|
26280
27957
|
readonly body: OpsPromote
|
|
26281
27958
|
}
|
|
26282
27959
|
|
|
27960
|
+
/**
|
|
27961
|
+
* Request parameters for putElasticsearchSecurityRole operation in SharedApi.
|
|
27962
|
+
* @export
|
|
27963
|
+
* @interface SharedApiPutElasticsearchSecurityRoleRequest
|
|
27964
|
+
*/
|
|
27965
|
+
export interface SharedApiPutElasticsearchSecurityRoleRequest {
|
|
27966
|
+
/**
|
|
27967
|
+
*
|
|
27968
|
+
* @type {string}
|
|
27969
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
27970
|
+
*/
|
|
27971
|
+
readonly orgName: string
|
|
27972
|
+
|
|
27973
|
+
/**
|
|
27974
|
+
*
|
|
27975
|
+
* @type {string}
|
|
27976
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
27977
|
+
*/
|
|
27978
|
+
readonly clusterName: string
|
|
27979
|
+
|
|
27980
|
+
/**
|
|
27981
|
+
*
|
|
27982
|
+
* @type {string}
|
|
27983
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
27984
|
+
*/
|
|
27985
|
+
readonly roleName: string
|
|
27986
|
+
|
|
27987
|
+
/**
|
|
27988
|
+
*
|
|
27989
|
+
* @type {ESSecurityRoleDescriptor}
|
|
27990
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
27991
|
+
*/
|
|
27992
|
+
readonly body: ESSecurityRoleDescriptor
|
|
27993
|
+
}
|
|
27994
|
+
|
|
27995
|
+
/**
|
|
27996
|
+
* Request parameters for putElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
27997
|
+
* @export
|
|
27998
|
+
* @interface SharedApiPutElasticsearchSecurityRoleMappingRequest
|
|
27999
|
+
*/
|
|
28000
|
+
export interface SharedApiPutElasticsearchSecurityRoleMappingRequest {
|
|
28001
|
+
/**
|
|
28002
|
+
*
|
|
28003
|
+
* @type {string}
|
|
28004
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
28005
|
+
*/
|
|
28006
|
+
readonly orgName: string
|
|
28007
|
+
|
|
28008
|
+
/**
|
|
28009
|
+
*
|
|
28010
|
+
* @type {string}
|
|
28011
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
28012
|
+
*/
|
|
28013
|
+
readonly clusterName: string
|
|
28014
|
+
|
|
28015
|
+
/**
|
|
28016
|
+
*
|
|
28017
|
+
* @type {string}
|
|
28018
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
28019
|
+
*/
|
|
28020
|
+
readonly mappingName: string
|
|
28021
|
+
|
|
28022
|
+
/**
|
|
28023
|
+
*
|
|
28024
|
+
* @type {ESSecurityRoleMapping}
|
|
28025
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
28026
|
+
*/
|
|
28027
|
+
readonly body: ESSecurityRoleMapping
|
|
28028
|
+
}
|
|
28029
|
+
|
|
28030
|
+
/**
|
|
28031
|
+
* Request parameters for putElasticsearchSecurityUser operation in SharedApi.
|
|
28032
|
+
* @export
|
|
28033
|
+
* @interface SharedApiPutElasticsearchSecurityUserRequest
|
|
28034
|
+
*/
|
|
28035
|
+
export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
28036
|
+
/**
|
|
28037
|
+
*
|
|
28038
|
+
* @type {string}
|
|
28039
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
28040
|
+
*/
|
|
28041
|
+
readonly orgName: string
|
|
28042
|
+
|
|
28043
|
+
/**
|
|
28044
|
+
*
|
|
28045
|
+
* @type {string}
|
|
28046
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
28047
|
+
*/
|
|
28048
|
+
readonly clusterName: string
|
|
28049
|
+
|
|
28050
|
+
/**
|
|
28051
|
+
*
|
|
28052
|
+
* @type {string}
|
|
28053
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
28054
|
+
*/
|
|
28055
|
+
readonly username: string
|
|
28056
|
+
|
|
28057
|
+
/**
|
|
28058
|
+
*
|
|
28059
|
+
* @type {ESPutSecurityUserRequest}
|
|
28060
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
28061
|
+
*/
|
|
28062
|
+
readonly body: ESPutSecurityUserRequest
|
|
28063
|
+
}
|
|
28064
|
+
|
|
26283
28065
|
/**
|
|
26284
28066
|
* Request parameters for query operation in SharedApi.
|
|
26285
28067
|
* @export
|
|
@@ -27449,6 +29231,34 @@ export interface SharedApiUnfreezeMemberRequest {
|
|
|
27449
29231
|
readonly memberId: string
|
|
27450
29232
|
}
|
|
27451
29233
|
|
|
29234
|
+
/**
|
|
29235
|
+
* Request parameters for unlockElasticsearchSecurityUser operation in SharedApi.
|
|
29236
|
+
* @export
|
|
29237
|
+
* @interface SharedApiUnlockElasticsearchSecurityUserRequest
|
|
29238
|
+
*/
|
|
29239
|
+
export interface SharedApiUnlockElasticsearchSecurityUserRequest {
|
|
29240
|
+
/**
|
|
29241
|
+
*
|
|
29242
|
+
* @type {string}
|
|
29243
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
29244
|
+
*/
|
|
29245
|
+
readonly orgName: string
|
|
29246
|
+
|
|
29247
|
+
/**
|
|
29248
|
+
*
|
|
29249
|
+
* @type {string}
|
|
29250
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
29251
|
+
*/
|
|
29252
|
+
readonly clusterName: string
|
|
29253
|
+
|
|
29254
|
+
/**
|
|
29255
|
+
*
|
|
29256
|
+
* @type {string}
|
|
29257
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
29258
|
+
*/
|
|
29259
|
+
readonly username: string
|
|
29260
|
+
}
|
|
29261
|
+
|
|
27452
29262
|
/**
|
|
27453
29263
|
* Request parameters for updateAccount operation in SharedApi.
|
|
27454
29264
|
* @export
|
|
@@ -28364,6 +30174,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
28364
30174
|
return SharedApiFp(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
28365
30175
|
}
|
|
28366
30176
|
|
|
30177
|
+
/**
|
|
30178
|
+
*
|
|
30179
|
+
* @summary Change Elasticsearch account password
|
|
30180
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
30181
|
+
* @param {*} [options] Override http request option.
|
|
30182
|
+
* @throws {RequiredError}
|
|
30183
|
+
* @memberof SharedApi
|
|
30184
|
+
*/
|
|
30185
|
+
public changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
30186
|
+
return SharedApiFp(this.configuration).changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
30187
|
+
}
|
|
30188
|
+
|
|
28367
30189
|
/**
|
|
28368
30190
|
*
|
|
28369
30191
|
* @summary close the session for the cluster
|
|
@@ -28761,6 +30583,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
28761
30583
|
return SharedApiFp(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
28762
30584
|
}
|
|
28763
30585
|
|
|
30586
|
+
/**
|
|
30587
|
+
*
|
|
30588
|
+
* @summary Delete Elasticsearch security role
|
|
30589
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
30590
|
+
* @param {*} [options] Override http request option.
|
|
30591
|
+
* @throws {RequiredError}
|
|
30592
|
+
* @memberof SharedApi
|
|
30593
|
+
*/
|
|
30594
|
+
public deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
30595
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
30596
|
+
}
|
|
30597
|
+
|
|
30598
|
+
/**
|
|
30599
|
+
*
|
|
30600
|
+
* @summary Delete Elasticsearch security role mapping
|
|
30601
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
30602
|
+
* @param {*} [options] Override http request option.
|
|
30603
|
+
* @throws {RequiredError}
|
|
30604
|
+
* @memberof SharedApi
|
|
30605
|
+
*/
|
|
30606
|
+
public deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
30607
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
30608
|
+
}
|
|
30609
|
+
|
|
30610
|
+
/**
|
|
30611
|
+
*
|
|
30612
|
+
* @summary Delete Elasticsearch security user
|
|
30613
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
30614
|
+
* @param {*} [options] Override http request option.
|
|
30615
|
+
* @throws {RequiredError}
|
|
30616
|
+
* @memberof SharedApi
|
|
30617
|
+
*/
|
|
30618
|
+
public deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
30619
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
30620
|
+
}
|
|
30621
|
+
|
|
28764
30622
|
/**
|
|
28765
30623
|
* delete an hive account in cluster
|
|
28766
30624
|
* @summary Delete hive account
|
|
@@ -29312,6 +31170,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
29312
31170
|
return SharedApiFp(this.configuration).getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
|
|
29313
31171
|
}
|
|
29314
31172
|
|
|
31173
|
+
/**
|
|
31174
|
+
*
|
|
31175
|
+
* @summary Get Elasticsearch builtin privileges
|
|
31176
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
31177
|
+
* @param {*} [options] Override http request option.
|
|
31178
|
+
* @throws {RequiredError}
|
|
31179
|
+
* @memberof SharedApi
|
|
31180
|
+
*/
|
|
31181
|
+
public getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
31182
|
+
return SharedApiFp(this.configuration).getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
31183
|
+
}
|
|
31184
|
+
|
|
31185
|
+
/**
|
|
31186
|
+
*
|
|
31187
|
+
* @summary Get Elasticsearch security role
|
|
31188
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
31189
|
+
* @param {*} [options] Override http request option.
|
|
31190
|
+
* @throws {RequiredError}
|
|
31191
|
+
* @memberof SharedApi
|
|
31192
|
+
*/
|
|
31193
|
+
public getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
31194
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
31195
|
+
}
|
|
31196
|
+
|
|
31197
|
+
/**
|
|
31198
|
+
*
|
|
31199
|
+
* @summary Get Elasticsearch security role mapping
|
|
31200
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
31201
|
+
* @param {*} [options] Override http request option.
|
|
31202
|
+
* @throws {RequiredError}
|
|
31203
|
+
* @memberof SharedApi
|
|
31204
|
+
*/
|
|
31205
|
+
public getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
31206
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
31207
|
+
}
|
|
31208
|
+
|
|
31209
|
+
/**
|
|
31210
|
+
*
|
|
31211
|
+
* @summary Get Elasticsearch security user
|
|
31212
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
31213
|
+
* @param {*} [options] Override http request option.
|
|
31214
|
+
* @throws {RequiredError}
|
|
31215
|
+
* @memberof SharedApi
|
|
31216
|
+
*/
|
|
31217
|
+
public getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
31218
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
31219
|
+
}
|
|
31220
|
+
|
|
29315
31221
|
/**
|
|
29316
31222
|
* get engine available console
|
|
29317
31223
|
* @summary get engine available console
|
|
@@ -29804,6 +31710,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
29804
31710
|
return SharedApiFp(this.configuration).listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
29805
31711
|
}
|
|
29806
31712
|
|
|
31713
|
+
/**
|
|
31714
|
+
*
|
|
31715
|
+
* @summary List Elasticsearch security role mappings
|
|
31716
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
31717
|
+
* @param {*} [options] Override http request option.
|
|
31718
|
+
* @throws {RequiredError}
|
|
31719
|
+
* @memberof SharedApi
|
|
31720
|
+
*/
|
|
31721
|
+
public listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig) {
|
|
31722
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
31723
|
+
}
|
|
31724
|
+
|
|
31725
|
+
/**
|
|
31726
|
+
*
|
|
31727
|
+
* @summary List Elasticsearch security roles
|
|
31728
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
31729
|
+
* @param {*} [options] Override http request option.
|
|
31730
|
+
* @throws {RequiredError}
|
|
31731
|
+
* @memberof SharedApi
|
|
31732
|
+
*/
|
|
31733
|
+
public listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig) {
|
|
31734
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
31735
|
+
}
|
|
31736
|
+
|
|
31737
|
+
/**
|
|
31738
|
+
*
|
|
31739
|
+
* @summary List Elasticsearch security users
|
|
31740
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
31741
|
+
* @param {*} [options] Override http request option.
|
|
31742
|
+
* @throws {RequiredError}
|
|
31743
|
+
* @memberof SharedApi
|
|
31744
|
+
*/
|
|
31745
|
+
public listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig) {
|
|
31746
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
31747
|
+
}
|
|
31748
|
+
|
|
29807
31749
|
/**
|
|
29808
31750
|
*
|
|
29809
31751
|
* @summary List cluster endpoints
|
|
@@ -30306,6 +32248,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30306
32248
|
return SharedApiFp(this.configuration).listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
30307
32249
|
}
|
|
30308
32250
|
|
|
32251
|
+
/**
|
|
32252
|
+
*
|
|
32253
|
+
* @summary Lock Elasticsearch account
|
|
32254
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
32255
|
+
* @param {*} [options] Override http request option.
|
|
32256
|
+
* @throws {RequiredError}
|
|
32257
|
+
* @memberof SharedApi
|
|
32258
|
+
*/
|
|
32259
|
+
public lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
32260
|
+
return SharedApiFp(this.configuration).lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
32261
|
+
}
|
|
32262
|
+
|
|
30309
32263
|
/**
|
|
30310
32264
|
*
|
|
30311
32265
|
* @summary batch modify database tde status
|
|
@@ -30414,6 +32368,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30414
32368
|
return SharedApiFp(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
30415
32369
|
}
|
|
30416
32370
|
|
|
32371
|
+
/**
|
|
32372
|
+
*
|
|
32373
|
+
* @summary Create or update Elasticsearch security role
|
|
32374
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
32375
|
+
* @param {*} [options] Override http request option.
|
|
32376
|
+
* @throws {RequiredError}
|
|
32377
|
+
* @memberof SharedApi
|
|
32378
|
+
*/
|
|
32379
|
+
public putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
32380
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
32381
|
+
}
|
|
32382
|
+
|
|
32383
|
+
/**
|
|
32384
|
+
*
|
|
32385
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
32386
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
32387
|
+
* @param {*} [options] Override http request option.
|
|
32388
|
+
* @throws {RequiredError}
|
|
32389
|
+
* @memberof SharedApi
|
|
32390
|
+
*/
|
|
32391
|
+
public putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
32392
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
32393
|
+
}
|
|
32394
|
+
|
|
32395
|
+
/**
|
|
32396
|
+
*
|
|
32397
|
+
* @summary Create or update Elasticsearch security user
|
|
32398
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
32399
|
+
* @param {*} [options] Override http request option.
|
|
32400
|
+
* @throws {RequiredError}
|
|
32401
|
+
* @memberof SharedApi
|
|
32402
|
+
*/
|
|
32403
|
+
public putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
32404
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
32405
|
+
}
|
|
32406
|
+
|
|
30417
32407
|
/**
|
|
30418
32408
|
*
|
|
30419
32409
|
* @summary create a SQL query
|
|
@@ -30809,6 +32799,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30809
32799
|
return SharedApiFp(this.configuration).unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(this.axios, this.basePath));
|
|
30810
32800
|
}
|
|
30811
32801
|
|
|
32802
|
+
/**
|
|
32803
|
+
*
|
|
32804
|
+
* @summary Unlock Elasticsearch account
|
|
32805
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
32806
|
+
* @param {*} [options] Override http request option.
|
|
32807
|
+
* @throws {RequiredError}
|
|
32808
|
+
* @memberof SharedApi
|
|
32809
|
+
*/
|
|
32810
|
+
public unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
32811
|
+
return SharedApiFp(this.configuration).unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
32812
|
+
}
|
|
32813
|
+
|
|
30812
32814
|
/**
|
|
30813
32815
|
* update an account in cluster
|
|
30814
32816
|
* @summary update cluster account
|