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
|
@@ -156,6 +156,16 @@ import type { DmsTaskInfo } from '../models';
|
|
|
156
156
|
// @ts-ignore
|
|
157
157
|
import type { DmsTaskList } from '../models';
|
|
158
158
|
// @ts-ignore
|
|
159
|
+
import type { ESPutSecurityUserRequest } from '../models';
|
|
160
|
+
// @ts-ignore
|
|
161
|
+
import type { ESSecurityPasswordRequest } from '../models';
|
|
162
|
+
// @ts-ignore
|
|
163
|
+
import type { ESSecurityRoleDescriptor } from '../models';
|
|
164
|
+
// @ts-ignore
|
|
165
|
+
import type { ESSecurityRoleMapping } from '../models';
|
|
166
|
+
// @ts-ignore
|
|
167
|
+
import type { ESSecurityUser } from '../models';
|
|
168
|
+
// @ts-ignore
|
|
159
169
|
import type { EndpointList } from '../models';
|
|
160
170
|
// @ts-ignore
|
|
161
171
|
import type { Engine } from '../models';
|
|
@@ -801,6 +811,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
801
811
|
|
|
802
812
|
|
|
803
813
|
|
|
814
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
815
|
+
|
|
816
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
818
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
819
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
820
|
+
|
|
821
|
+
return {
|
|
822
|
+
url: toPathString(localVarUrlObj),
|
|
823
|
+
options: localVarRequestOptions,
|
|
824
|
+
};
|
|
825
|
+
},
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @summary Change Elasticsearch account password
|
|
829
|
+
* @param {string} orgName
|
|
830
|
+
* @param {string} clusterName
|
|
831
|
+
* @param {string} username
|
|
832
|
+
* @param {ESSecurityPasswordRequest} body
|
|
833
|
+
* @param {*} [options] Override http request option.
|
|
834
|
+
* @throws {RequiredError}
|
|
835
|
+
*/
|
|
836
|
+
changeElasticsearchSecurityUserPassword: async (orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
837
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
838
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'orgName', orgName)
|
|
839
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
840
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'clusterName', clusterName)
|
|
841
|
+
// verify required parameter 'username' is not null or undefined
|
|
842
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'username', username)
|
|
843
|
+
// verify required parameter 'body' is not null or undefined
|
|
844
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'body', body)
|
|
845
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
846
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
847
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
848
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
849
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
850
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
851
|
+
let baseOptions;
|
|
852
|
+
if (configuration) {
|
|
853
|
+
baseOptions = configuration.baseOptions;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
857
|
+
const localVarHeaderParameter = {} as any;
|
|
858
|
+
const localVarQueryParameter = {} as any;
|
|
859
|
+
|
|
860
|
+
// authentication BearerToken required
|
|
861
|
+
// http bearer authentication required
|
|
862
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
863
|
+
|
|
864
|
+
// authentication DigestAuth required
|
|
865
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
804
869
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
805
870
|
|
|
806
871
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2267,6 +2332,153 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2267
2332
|
|
|
2268
2333
|
|
|
2269
2334
|
|
|
2335
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2336
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2337
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2338
|
+
|
|
2339
|
+
return {
|
|
2340
|
+
url: toPathString(localVarUrlObj),
|
|
2341
|
+
options: localVarRequestOptions,
|
|
2342
|
+
};
|
|
2343
|
+
},
|
|
2344
|
+
/**
|
|
2345
|
+
*
|
|
2346
|
+
* @summary Delete Elasticsearch security role
|
|
2347
|
+
* @param {string} orgName
|
|
2348
|
+
* @param {string} clusterName
|
|
2349
|
+
* @param {string} roleName
|
|
2350
|
+
* @param {*} [options] Override http request option.
|
|
2351
|
+
* @throws {RequiredError}
|
|
2352
|
+
*/
|
|
2353
|
+
deleteElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2354
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2355
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'orgName', orgName)
|
|
2356
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2357
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
2358
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2359
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'roleName', roleName)
|
|
2360
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2361
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2362
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2363
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2364
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2365
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2366
|
+
let baseOptions;
|
|
2367
|
+
if (configuration) {
|
|
2368
|
+
baseOptions = configuration.baseOptions;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2372
|
+
const localVarHeaderParameter = {} as any;
|
|
2373
|
+
const localVarQueryParameter = {} as any;
|
|
2374
|
+
|
|
2375
|
+
// authentication BearerToken required
|
|
2376
|
+
// http bearer authentication required
|
|
2377
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2378
|
+
|
|
2379
|
+
// authentication DigestAuth required
|
|
2380
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
|
|
2384
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2386
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2387
|
+
|
|
2388
|
+
return {
|
|
2389
|
+
url: toPathString(localVarUrlObj),
|
|
2390
|
+
options: localVarRequestOptions,
|
|
2391
|
+
};
|
|
2392
|
+
},
|
|
2393
|
+
/**
|
|
2394
|
+
*
|
|
2395
|
+
* @summary Delete Elasticsearch security role mapping
|
|
2396
|
+
* @param {string} orgName
|
|
2397
|
+
* @param {string} clusterName
|
|
2398
|
+
* @param {string} mappingName
|
|
2399
|
+
* @param {*} [options] Override http request option.
|
|
2400
|
+
* @throws {RequiredError}
|
|
2401
|
+
*/
|
|
2402
|
+
deleteElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2403
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2404
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
2405
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2406
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
2407
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
2408
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
2409
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
2410
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2411
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2412
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
2413
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2414
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2415
|
+
let baseOptions;
|
|
2416
|
+
if (configuration) {
|
|
2417
|
+
baseOptions = configuration.baseOptions;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2421
|
+
const localVarHeaderParameter = {} as any;
|
|
2422
|
+
const localVarQueryParameter = {} as any;
|
|
2423
|
+
|
|
2424
|
+
// authentication BearerToken required
|
|
2425
|
+
// http bearer authentication required
|
|
2426
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2427
|
+
|
|
2428
|
+
// authentication DigestAuth required
|
|
2429
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2430
|
+
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2434
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2435
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2436
|
+
|
|
2437
|
+
return {
|
|
2438
|
+
url: toPathString(localVarUrlObj),
|
|
2439
|
+
options: localVarRequestOptions,
|
|
2440
|
+
};
|
|
2441
|
+
},
|
|
2442
|
+
/**
|
|
2443
|
+
*
|
|
2444
|
+
* @summary Delete Elasticsearch security user
|
|
2445
|
+
* @param {string} orgName
|
|
2446
|
+
* @param {string} clusterName
|
|
2447
|
+
* @param {string} username
|
|
2448
|
+
* @param {*} [options] Override http request option.
|
|
2449
|
+
* @throws {RequiredError}
|
|
2450
|
+
*/
|
|
2451
|
+
deleteElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2452
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2453
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'orgName', orgName)
|
|
2454
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2455
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
2456
|
+
// verify required parameter 'username' is not null or undefined
|
|
2457
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'username', username)
|
|
2458
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
2459
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2460
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2461
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2462
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2463
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2464
|
+
let baseOptions;
|
|
2465
|
+
if (configuration) {
|
|
2466
|
+
baseOptions = configuration.baseOptions;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2470
|
+
const localVarHeaderParameter = {} as any;
|
|
2471
|
+
const localVarQueryParameter = {} as any;
|
|
2472
|
+
|
|
2473
|
+
// authentication BearerToken required
|
|
2474
|
+
// http bearer authentication required
|
|
2475
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2476
|
+
|
|
2477
|
+
// authentication DigestAuth required
|
|
2478
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
|
|
2270
2482
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2271
2483
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2272
2484
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4372,23 +4584,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4372
4584
|
};
|
|
4373
4585
|
},
|
|
4374
4586
|
/**
|
|
4375
|
-
*
|
|
4376
|
-
* @summary
|
|
4377
|
-
* @param {string}
|
|
4378
|
-
* @param {string}
|
|
4379
|
-
* @param {string} clusterName name of the cluster
|
|
4587
|
+
*
|
|
4588
|
+
* @summary Get Elasticsearch builtin privileges
|
|
4589
|
+
* @param {string} orgName
|
|
4590
|
+
* @param {string} clusterName
|
|
4380
4591
|
* @param {*} [options] Override http request option.
|
|
4381
4592
|
* @throws {RequiredError}
|
|
4382
4593
|
*/
|
|
4383
|
-
|
|
4384
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
4385
|
-
assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
|
|
4594
|
+
getElasticsearchBuiltinPrivileges: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4386
4595
|
// verify required parameter 'orgName' is not null or undefined
|
|
4387
|
-
assertParamExists('
|
|
4596
|
+
assertParamExists('getElasticsearchBuiltinPrivileges', 'orgName', orgName)
|
|
4388
4597
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4389
|
-
assertParamExists('
|
|
4390
|
-
const localVarPath = `/admin/v1/data/
|
|
4391
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4598
|
+
assertParamExists('getElasticsearchBuiltinPrivileges', 'clusterName', clusterName)
|
|
4599
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/privileges/builtin`
|
|
4392
4600
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4393
4601
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4394
4602
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4421,18 +4629,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4421
4629
|
};
|
|
4422
4630
|
},
|
|
4423
4631
|
/**
|
|
4424
|
-
*
|
|
4425
|
-
* @summary Get
|
|
4426
|
-
* @param {string}
|
|
4427
|
-
* @param {
|
|
4632
|
+
*
|
|
4633
|
+
* @summary Get Elasticsearch security role
|
|
4634
|
+
* @param {string} orgName
|
|
4635
|
+
* @param {string} clusterName
|
|
4636
|
+
* @param {string} roleName
|
|
4428
4637
|
* @param {*} [options] Override http request option.
|
|
4429
4638
|
* @throws {RequiredError}
|
|
4430
4639
|
*/
|
|
4431
|
-
|
|
4432
|
-
// verify required parameter '
|
|
4433
|
-
assertParamExists('
|
|
4434
|
-
|
|
4435
|
-
|
|
4640
|
+
getElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4641
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4642
|
+
assertParamExists('getElasticsearchSecurityRole', 'orgName', orgName)
|
|
4643
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4644
|
+
assertParamExists('getElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
4645
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
4646
|
+
assertParamExists('getElasticsearchSecurityRole', 'roleName', roleName)
|
|
4647
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
4648
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4649
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4650
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
4436
4651
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4437
4652
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4438
4653
|
let baseOptions;
|
|
@@ -4451,10 +4666,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4451
4666
|
// authentication DigestAuth required
|
|
4452
4667
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4453
4668
|
|
|
4454
|
-
if (version !== undefined) {
|
|
4455
|
-
localVarQueryParameter['version'] = version;
|
|
4456
|
-
}
|
|
4457
|
-
|
|
4458
4669
|
|
|
4459
4670
|
|
|
4460
4671
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4467,25 +4678,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4467
4678
|
};
|
|
4468
4679
|
},
|
|
4469
4680
|
/**
|
|
4470
|
-
*
|
|
4471
|
-
* @summary Get
|
|
4472
|
-
* @param {string} orgName
|
|
4473
|
-
* @param {string} clusterName
|
|
4474
|
-
* @param {string}
|
|
4681
|
+
*
|
|
4682
|
+
* @summary Get Elasticsearch security role mapping
|
|
4683
|
+
* @param {string} orgName
|
|
4684
|
+
* @param {string} clusterName
|
|
4685
|
+
* @param {string} mappingName
|
|
4475
4686
|
* @param {*} [options] Override http request option.
|
|
4476
4687
|
* @throws {RequiredError}
|
|
4477
4688
|
*/
|
|
4478
|
-
|
|
4689
|
+
getElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4479
4690
|
// verify required parameter 'orgName' is not null or undefined
|
|
4480
|
-
assertParamExists('
|
|
4691
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
4481
4692
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4482
|
-
assertParamExists('
|
|
4483
|
-
// verify required parameter '
|
|
4484
|
-
assertParamExists('
|
|
4485
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
4693
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
4694
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
4695
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
4696
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
4486
4697
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4487
4698
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4488
|
-
.replace(`{${"
|
|
4699
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
4489
4700
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4490
4701
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4491
4702
|
let baseOptions;
|
|
@@ -4516,25 +4727,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4516
4727
|
};
|
|
4517
4728
|
},
|
|
4518
4729
|
/**
|
|
4519
|
-
*
|
|
4520
|
-
* @summary Get
|
|
4521
|
-
* @param {string} orgName
|
|
4522
|
-
* @param {string} clusterName
|
|
4523
|
-
* @param {string}
|
|
4730
|
+
*
|
|
4731
|
+
* @summary Get Elasticsearch security user
|
|
4732
|
+
* @param {string} orgName
|
|
4733
|
+
* @param {string} clusterName
|
|
4734
|
+
* @param {string} username
|
|
4524
4735
|
* @param {*} [options] Override http request option.
|
|
4525
4736
|
* @throws {RequiredError}
|
|
4526
4737
|
*/
|
|
4527
|
-
|
|
4738
|
+
getElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4528
4739
|
// verify required parameter 'orgName' is not null or undefined
|
|
4529
|
-
assertParamExists('
|
|
4740
|
+
assertParamExists('getElasticsearchSecurityUser', 'orgName', orgName)
|
|
4530
4741
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4531
|
-
assertParamExists('
|
|
4532
|
-
// verify required parameter '
|
|
4533
|
-
assertParamExists('
|
|
4534
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
4742
|
+
assertParamExists('getElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
4743
|
+
// verify required parameter 'username' is not null or undefined
|
|
4744
|
+
assertParamExists('getElasticsearchSecurityUser', 'username', username)
|
|
4745
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
4535
4746
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4536
4747
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4537
|
-
.replace(`{${"
|
|
4748
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
4538
4749
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4539
4750
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4540
4751
|
let baseOptions;
|
|
@@ -4565,20 +4776,213 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4565
4776
|
};
|
|
4566
4777
|
},
|
|
4567
4778
|
/**
|
|
4568
|
-
*
|
|
4569
|
-
* @summary
|
|
4779
|
+
* get engine available console
|
|
4780
|
+
* @summary get engine available console
|
|
4781
|
+
* @param {string} engineName name of the engine
|
|
4570
4782
|
* @param {string} orgName name of the Org
|
|
4571
|
-
* @param {string} clusterName name of the
|
|
4783
|
+
* @param {string} clusterName name of the cluster
|
|
4572
4784
|
* @param {*} [options] Override http request option.
|
|
4573
4785
|
* @throws {RequiredError}
|
|
4574
4786
|
*/
|
|
4575
|
-
|
|
4787
|
+
getEngineAvailableConsole: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4788
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4789
|
+
assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
|
|
4576
4790
|
// verify required parameter 'orgName' is not null or undefined
|
|
4577
|
-
assertParamExists('
|
|
4791
|
+
assertParamExists('getEngineAvailableConsole', 'orgName', orgName)
|
|
4578
4792
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4579
|
-
assertParamExists('
|
|
4580
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
4581
|
-
.replace(`{${"
|
|
4793
|
+
assertParamExists('getEngineAvailableConsole', 'clusterName', clusterName)
|
|
4794
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/console`
|
|
4795
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4796
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4797
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4798
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4799
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4800
|
+
let baseOptions;
|
|
4801
|
+
if (configuration) {
|
|
4802
|
+
baseOptions = configuration.baseOptions;
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4806
|
+
const localVarHeaderParameter = {} as any;
|
|
4807
|
+
const localVarQueryParameter = {} as any;
|
|
4808
|
+
|
|
4809
|
+
// authentication BearerToken required
|
|
4810
|
+
// http bearer authentication required
|
|
4811
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4812
|
+
|
|
4813
|
+
// authentication DigestAuth required
|
|
4814
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4815
|
+
|
|
4816
|
+
|
|
4817
|
+
|
|
4818
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4819
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4820
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4821
|
+
|
|
4822
|
+
return {
|
|
4823
|
+
url: toPathString(localVarUrlObj),
|
|
4824
|
+
options: localVarRequestOptions,
|
|
4825
|
+
};
|
|
4826
|
+
},
|
|
4827
|
+
/**
|
|
4828
|
+
* Get a engineOption detail
|
|
4829
|
+
* @summary Get engineOption
|
|
4830
|
+
* @param {string} engineName Name of the engine
|
|
4831
|
+
* @param {EngineOptionVersion} [version] The version of the engineOption to query, `current` from potentially modified data, `original` from the json files of the apiserver
|
|
4832
|
+
* @param {*} [options] Override http request option.
|
|
4833
|
+
* @throws {RequiredError}
|
|
4834
|
+
*/
|
|
4835
|
+
getEngineOption: async (engineName: string, version?: EngineOptionVersion, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4836
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4837
|
+
assertParamExists('getEngineOption', 'engineName', engineName)
|
|
4838
|
+
const localVarPath = `/admin/v1/engineOptions/{engineName}`
|
|
4839
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)));
|
|
4840
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4841
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4842
|
+
let baseOptions;
|
|
4843
|
+
if (configuration) {
|
|
4844
|
+
baseOptions = configuration.baseOptions;
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4848
|
+
const localVarHeaderParameter = {} as any;
|
|
4849
|
+
const localVarQueryParameter = {} as any;
|
|
4850
|
+
|
|
4851
|
+
// authentication BearerToken required
|
|
4852
|
+
// http bearer authentication required
|
|
4853
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4854
|
+
|
|
4855
|
+
// authentication DigestAuth required
|
|
4856
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4857
|
+
|
|
4858
|
+
if (version !== undefined) {
|
|
4859
|
+
localVarQueryParameter['version'] = version;
|
|
4860
|
+
}
|
|
4861
|
+
|
|
4862
|
+
|
|
4863
|
+
|
|
4864
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4865
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4866
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4867
|
+
|
|
4868
|
+
return {
|
|
4869
|
+
url: toPathString(localVarUrlObj),
|
|
4870
|
+
options: localVarRequestOptions,
|
|
4871
|
+
};
|
|
4872
|
+
},
|
|
4873
|
+
/**
|
|
4874
|
+
* Retrieves detailed information about a specific data import preflight task by its ID
|
|
4875
|
+
* @summary Get preflight task details
|
|
4876
|
+
* @param {string} orgName Organization name
|
|
4877
|
+
* @param {string} clusterName Cluster name
|
|
4878
|
+
* @param {string} taskId Preflight task ID
|
|
4879
|
+
* @param {*} [options] Override http request option.
|
|
4880
|
+
* @throws {RequiredError}
|
|
4881
|
+
*/
|
|
4882
|
+
getImportPreflightTask: async (orgName: string, clusterName: string, taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4883
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4884
|
+
assertParamExists('getImportPreflightTask', 'orgName', orgName)
|
|
4885
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4886
|
+
assertParamExists('getImportPreflightTask', 'clusterName', clusterName)
|
|
4887
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
4888
|
+
assertParamExists('getImportPreflightTask', 'taskId', taskId)
|
|
4889
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/import/preflight/{taskId}`
|
|
4890
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4891
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4892
|
+
.replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
|
|
4893
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4894
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4895
|
+
let baseOptions;
|
|
4896
|
+
if (configuration) {
|
|
4897
|
+
baseOptions = configuration.baseOptions;
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4900
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4901
|
+
const localVarHeaderParameter = {} as any;
|
|
4902
|
+
const localVarQueryParameter = {} as any;
|
|
4903
|
+
|
|
4904
|
+
// authentication BearerToken required
|
|
4905
|
+
// http bearer authentication required
|
|
4906
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4907
|
+
|
|
4908
|
+
// authentication DigestAuth required
|
|
4909
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4910
|
+
|
|
4911
|
+
|
|
4912
|
+
|
|
4913
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4915
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4916
|
+
|
|
4917
|
+
return {
|
|
4918
|
+
url: toPathString(localVarUrlObj),
|
|
4919
|
+
options: localVarRequestOptions,
|
|
4920
|
+
};
|
|
4921
|
+
},
|
|
4922
|
+
/**
|
|
4923
|
+
* Gets detailed information about a specific import task by its ID
|
|
4924
|
+
* @summary Get import task details
|
|
4925
|
+
* @param {string} orgName Organization name
|
|
4926
|
+
* @param {string} clusterName Cluster name
|
|
4927
|
+
* @param {string} id Import task ID
|
|
4928
|
+
* @param {*} [options] Override http request option.
|
|
4929
|
+
* @throws {RequiredError}
|
|
4930
|
+
*/
|
|
4931
|
+
getImportTask: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4932
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4933
|
+
assertParamExists('getImportTask', 'orgName', orgName)
|
|
4934
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4935
|
+
assertParamExists('getImportTask', 'clusterName', clusterName)
|
|
4936
|
+
// verify required parameter 'id' is not null or undefined
|
|
4937
|
+
assertParamExists('getImportTask', 'id', id)
|
|
4938
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/import/{id}`
|
|
4939
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4940
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4941
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4942
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4943
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4944
|
+
let baseOptions;
|
|
4945
|
+
if (configuration) {
|
|
4946
|
+
baseOptions = configuration.baseOptions;
|
|
4947
|
+
}
|
|
4948
|
+
|
|
4949
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4950
|
+
const localVarHeaderParameter = {} as any;
|
|
4951
|
+
const localVarQueryParameter = {} as any;
|
|
4952
|
+
|
|
4953
|
+
// authentication BearerToken required
|
|
4954
|
+
// http bearer authentication required
|
|
4955
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4956
|
+
|
|
4957
|
+
// authentication DigestAuth required
|
|
4958
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4959
|
+
|
|
4960
|
+
|
|
4961
|
+
|
|
4962
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4964
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4965
|
+
|
|
4966
|
+
return {
|
|
4967
|
+
url: toPathString(localVarUrlObj),
|
|
4968
|
+
options: localVarRequestOptions,
|
|
4969
|
+
};
|
|
4970
|
+
},
|
|
4971
|
+
/**
|
|
4972
|
+
*
|
|
4973
|
+
* @summary Get instaces metrics in cluster
|
|
4974
|
+
* @param {string} orgName name of the Org
|
|
4975
|
+
* @param {string} clusterName name of the Cluster
|
|
4976
|
+
* @param {*} [options] Override http request option.
|
|
4977
|
+
* @throws {RequiredError}
|
|
4978
|
+
*/
|
|
4979
|
+
getInstacesMetrics: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4980
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4981
|
+
assertParamExists('getInstacesMetrics', 'orgName', orgName)
|
|
4982
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4983
|
+
assertParamExists('getInstacesMetrics', 'clusterName', clusterName)
|
|
4984
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/instances/metrics`
|
|
4985
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4582
4986
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4583
4987
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4584
4988
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6589,6 +6993,141 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6589
6993
|
|
|
6590
6994
|
|
|
6591
6995
|
|
|
6996
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6997
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6998
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6999
|
+
|
|
7000
|
+
return {
|
|
7001
|
+
url: toPathString(localVarUrlObj),
|
|
7002
|
+
options: localVarRequestOptions,
|
|
7003
|
+
};
|
|
7004
|
+
},
|
|
7005
|
+
/**
|
|
7006
|
+
*
|
|
7007
|
+
* @summary List Elasticsearch security role mappings
|
|
7008
|
+
* @param {string} orgName
|
|
7009
|
+
* @param {string} clusterName
|
|
7010
|
+
* @param {*} [options] Override http request option.
|
|
7011
|
+
* @throws {RequiredError}
|
|
7012
|
+
*/
|
|
7013
|
+
listElasticsearchSecurityRoleMappings: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7014
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7015
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'orgName', orgName)
|
|
7016
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7017
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'clusterName', clusterName)
|
|
7018
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings`
|
|
7019
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7020
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7021
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7022
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7023
|
+
let baseOptions;
|
|
7024
|
+
if (configuration) {
|
|
7025
|
+
baseOptions = configuration.baseOptions;
|
|
7026
|
+
}
|
|
7027
|
+
|
|
7028
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7029
|
+
const localVarHeaderParameter = {} as any;
|
|
7030
|
+
const localVarQueryParameter = {} as any;
|
|
7031
|
+
|
|
7032
|
+
// authentication BearerToken required
|
|
7033
|
+
// http bearer authentication required
|
|
7034
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7035
|
+
|
|
7036
|
+
// authentication DigestAuth required
|
|
7037
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7038
|
+
|
|
7039
|
+
|
|
7040
|
+
|
|
7041
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7042
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7043
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7044
|
+
|
|
7045
|
+
return {
|
|
7046
|
+
url: toPathString(localVarUrlObj),
|
|
7047
|
+
options: localVarRequestOptions,
|
|
7048
|
+
};
|
|
7049
|
+
},
|
|
7050
|
+
/**
|
|
7051
|
+
*
|
|
7052
|
+
* @summary List Elasticsearch security roles
|
|
7053
|
+
* @param {string} orgName
|
|
7054
|
+
* @param {string} clusterName
|
|
7055
|
+
* @param {*} [options] Override http request option.
|
|
7056
|
+
* @throws {RequiredError}
|
|
7057
|
+
*/
|
|
7058
|
+
listElasticsearchSecurityRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7059
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7060
|
+
assertParamExists('listElasticsearchSecurityRoles', 'orgName', orgName)
|
|
7061
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7062
|
+
assertParamExists('listElasticsearchSecurityRoles', 'clusterName', clusterName)
|
|
7063
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
7064
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7065
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7068
|
+
let baseOptions;
|
|
7069
|
+
if (configuration) {
|
|
7070
|
+
baseOptions = configuration.baseOptions;
|
|
7071
|
+
}
|
|
7072
|
+
|
|
7073
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7074
|
+
const localVarHeaderParameter = {} as any;
|
|
7075
|
+
const localVarQueryParameter = {} as any;
|
|
7076
|
+
|
|
7077
|
+
// authentication BearerToken required
|
|
7078
|
+
// http bearer authentication required
|
|
7079
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7080
|
+
|
|
7081
|
+
// authentication DigestAuth required
|
|
7082
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7083
|
+
|
|
7084
|
+
|
|
7085
|
+
|
|
7086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7087
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7088
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7089
|
+
|
|
7090
|
+
return {
|
|
7091
|
+
url: toPathString(localVarUrlObj),
|
|
7092
|
+
options: localVarRequestOptions,
|
|
7093
|
+
};
|
|
7094
|
+
},
|
|
7095
|
+
/**
|
|
7096
|
+
*
|
|
7097
|
+
* @summary List Elasticsearch security users
|
|
7098
|
+
* @param {string} orgName
|
|
7099
|
+
* @param {string} clusterName
|
|
7100
|
+
* @param {*} [options] Override http request option.
|
|
7101
|
+
* @throws {RequiredError}
|
|
7102
|
+
*/
|
|
7103
|
+
listElasticsearchSecurityUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7104
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7105
|
+
assertParamExists('listElasticsearchSecurityUsers', 'orgName', orgName)
|
|
7106
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7107
|
+
assertParamExists('listElasticsearchSecurityUsers', 'clusterName', clusterName)
|
|
7108
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
7109
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7110
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7111
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7112
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7113
|
+
let baseOptions;
|
|
7114
|
+
if (configuration) {
|
|
7115
|
+
baseOptions = configuration.baseOptions;
|
|
7116
|
+
}
|
|
7117
|
+
|
|
7118
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7119
|
+
const localVarHeaderParameter = {} as any;
|
|
7120
|
+
const localVarQueryParameter = {} as any;
|
|
7121
|
+
|
|
7122
|
+
// authentication BearerToken required
|
|
7123
|
+
// http bearer authentication required
|
|
7124
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7125
|
+
|
|
7126
|
+
// authentication DigestAuth required
|
|
7127
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7128
|
+
|
|
7129
|
+
|
|
7130
|
+
|
|
6592
7131
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6593
7132
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6594
7133
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8804,6 +9343,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8804
9343
|
|
|
8805
9344
|
|
|
8806
9345
|
|
|
9346
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9347
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9348
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9349
|
+
|
|
9350
|
+
return {
|
|
9351
|
+
url: toPathString(localVarUrlObj),
|
|
9352
|
+
options: localVarRequestOptions,
|
|
9353
|
+
};
|
|
9354
|
+
},
|
|
9355
|
+
/**
|
|
9356
|
+
*
|
|
9357
|
+
* @summary Lock Elasticsearch account
|
|
9358
|
+
* @param {string} orgName
|
|
9359
|
+
* @param {string} clusterName
|
|
9360
|
+
* @param {string} username
|
|
9361
|
+
* @param {*} [options] Override http request option.
|
|
9362
|
+
* @throws {RequiredError}
|
|
9363
|
+
*/
|
|
9364
|
+
lockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9365
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9366
|
+
assertParamExists('lockElasticsearchSecurityUser', 'orgName', orgName)
|
|
9367
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9368
|
+
assertParamExists('lockElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
9369
|
+
// verify required parameter 'username' is not null or undefined
|
|
9370
|
+
assertParamExists('lockElasticsearchSecurityUser', 'username', username)
|
|
9371
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/lock`
|
|
9372
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9373
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9374
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
9375
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9376
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9377
|
+
let baseOptions;
|
|
9378
|
+
if (configuration) {
|
|
9379
|
+
baseOptions = configuration.baseOptions;
|
|
9380
|
+
}
|
|
9381
|
+
|
|
9382
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9383
|
+
const localVarHeaderParameter = {} as any;
|
|
9384
|
+
const localVarQueryParameter = {} as any;
|
|
9385
|
+
|
|
9386
|
+
// authentication BearerToken required
|
|
9387
|
+
// http bearer authentication required
|
|
9388
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9389
|
+
|
|
9390
|
+
// authentication DigestAuth required
|
|
9391
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9392
|
+
|
|
9393
|
+
|
|
9394
|
+
|
|
8807
9395
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8808
9396
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8809
9397
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9027,7 +9615,164 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9027
9615
|
baseOptions = configuration.baseOptions;
|
|
9028
9616
|
}
|
|
9029
9617
|
|
|
9030
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9618
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9619
|
+
const localVarHeaderParameter = {} as any;
|
|
9620
|
+
const localVarQueryParameter = {} as any;
|
|
9621
|
+
|
|
9622
|
+
// authentication BearerToken required
|
|
9623
|
+
// http bearer authentication required
|
|
9624
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9625
|
+
|
|
9626
|
+
// authentication DigestAuth required
|
|
9627
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9628
|
+
|
|
9629
|
+
|
|
9630
|
+
|
|
9631
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9632
|
+
|
|
9633
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9634
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9635
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9636
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9637
|
+
|
|
9638
|
+
return {
|
|
9639
|
+
url: toPathString(localVarUrlObj),
|
|
9640
|
+
options: localVarRequestOptions,
|
|
9641
|
+
};
|
|
9642
|
+
},
|
|
9643
|
+
/**
|
|
9644
|
+
* Only authenticated organization admins can update the member\'s role
|
|
9645
|
+
* @summary Update member role
|
|
9646
|
+
* @param {string} orgName name of the Org
|
|
9647
|
+
* @param {string} memberId ID of the member
|
|
9648
|
+
* @param {OrgMemberUpdate} body
|
|
9649
|
+
* @param {*} [options] Override http request option.
|
|
9650
|
+
* @throws {RequiredError}
|
|
9651
|
+
*/
|
|
9652
|
+
patchOrgMember: async (orgName: string, memberId: string, body: OrgMemberUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9653
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9654
|
+
assertParamExists('patchOrgMember', 'orgName', orgName)
|
|
9655
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
9656
|
+
assertParamExists('patchOrgMember', 'memberId', memberId)
|
|
9657
|
+
// verify required parameter 'body' is not null or undefined
|
|
9658
|
+
assertParamExists('patchOrgMember', 'body', body)
|
|
9659
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/members/{memberId}`
|
|
9660
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9661
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
9662
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9663
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9664
|
+
let baseOptions;
|
|
9665
|
+
if (configuration) {
|
|
9666
|
+
baseOptions = configuration.baseOptions;
|
|
9667
|
+
}
|
|
9668
|
+
|
|
9669
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9670
|
+
const localVarHeaderParameter = {} as any;
|
|
9671
|
+
const localVarQueryParameter = {} as any;
|
|
9672
|
+
|
|
9673
|
+
// authentication BearerToken required
|
|
9674
|
+
// http bearer authentication required
|
|
9675
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9676
|
+
|
|
9677
|
+
// authentication DigestAuth required
|
|
9678
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9679
|
+
|
|
9680
|
+
|
|
9681
|
+
|
|
9682
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9683
|
+
|
|
9684
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9685
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9686
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9687
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9688
|
+
|
|
9689
|
+
return {
|
|
9690
|
+
url: toPathString(localVarUrlObj),
|
|
9691
|
+
options: localVarRequestOptions,
|
|
9692
|
+
};
|
|
9693
|
+
},
|
|
9694
|
+
/**
|
|
9695
|
+
* Update a parameter of an organization
|
|
9696
|
+
* @summary Update a parameter of an organization
|
|
9697
|
+
* @param {string} orgName The name of the organization
|
|
9698
|
+
* @param {string} parameterName The name of the parameter
|
|
9699
|
+
* @param {OrgParameter} orgParameter
|
|
9700
|
+
* @param {*} [options] Override http request option.
|
|
9701
|
+
* @throws {RequiredError}
|
|
9702
|
+
*/
|
|
9703
|
+
patchOrgParameter: async (orgName: string, parameterName: string, orgParameter: OrgParameter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9704
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9705
|
+
assertParamExists('patchOrgParameter', 'orgName', orgName)
|
|
9706
|
+
// verify required parameter 'parameterName' is not null or undefined
|
|
9707
|
+
assertParamExists('patchOrgParameter', 'parameterName', parameterName)
|
|
9708
|
+
// verify required parameter 'orgParameter' is not null or undefined
|
|
9709
|
+
assertParamExists('patchOrgParameter', 'orgParameter', orgParameter)
|
|
9710
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/parameters/{parameterName}`
|
|
9711
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9712
|
+
.replace(`{${"parameterName"}}`, encodeURIComponent(String(parameterName)));
|
|
9713
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9714
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9715
|
+
let baseOptions;
|
|
9716
|
+
if (configuration) {
|
|
9717
|
+
baseOptions = configuration.baseOptions;
|
|
9718
|
+
}
|
|
9719
|
+
|
|
9720
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9721
|
+
const localVarHeaderParameter = {} as any;
|
|
9722
|
+
const localVarQueryParameter = {} as any;
|
|
9723
|
+
|
|
9724
|
+
// authentication BearerToken required
|
|
9725
|
+
// http bearer authentication required
|
|
9726
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9727
|
+
|
|
9728
|
+
// authentication DigestAuth required
|
|
9729
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9730
|
+
|
|
9731
|
+
|
|
9732
|
+
|
|
9733
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9734
|
+
|
|
9735
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9736
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9737
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9738
|
+
localVarRequestOptions.data = serializeDataIfNeeded(orgParameter, localVarRequestOptions, configuration)
|
|
9739
|
+
|
|
9740
|
+
return {
|
|
9741
|
+
url: toPathString(localVarUrlObj),
|
|
9742
|
+
options: localVarRequestOptions,
|
|
9743
|
+
};
|
|
9744
|
+
},
|
|
9745
|
+
/**
|
|
9746
|
+
*
|
|
9747
|
+
* @summary Produce message to topic
|
|
9748
|
+
* @param {string} orgName The name of organization
|
|
9749
|
+
* @param {string} clusterName The name of cluster
|
|
9750
|
+
* @param {string} topic
|
|
9751
|
+
* @param {TopicMessageRequest} topicMessageRequest
|
|
9752
|
+
* @param {*} [options] Override http request option.
|
|
9753
|
+
* @throws {RequiredError}
|
|
9754
|
+
*/
|
|
9755
|
+
produceKafkaTopicMessage: async (orgName: string, clusterName: string, topic: string, topicMessageRequest: TopicMessageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9756
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9757
|
+
assertParamExists('produceKafkaTopicMessage', 'orgName', orgName)
|
|
9758
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9759
|
+
assertParamExists('produceKafkaTopicMessage', 'clusterName', clusterName)
|
|
9760
|
+
// verify required parameter 'topic' is not null or undefined
|
|
9761
|
+
assertParamExists('produceKafkaTopicMessage', 'topic', topic)
|
|
9762
|
+
// verify required parameter 'topicMessageRequest' is not null or undefined
|
|
9763
|
+
assertParamExists('produceKafkaTopicMessage', 'topicMessageRequest', topicMessageRequest)
|
|
9764
|
+
const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/topic/{topic}/messages`
|
|
9765
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9766
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9767
|
+
.replace(`{${"topic"}}`, encodeURIComponent(String(topic)));
|
|
9768
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9769
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9770
|
+
let baseOptions;
|
|
9771
|
+
if (configuration) {
|
|
9772
|
+
baseOptions = configuration.baseOptions;
|
|
9773
|
+
}
|
|
9774
|
+
|
|
9775
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9031
9776
|
const localVarHeaderParameter = {} as any;
|
|
9032
9777
|
const localVarQueryParameter = {} as any;
|
|
9033
9778
|
|
|
@@ -9045,7 +9790,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9045
9790
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9046
9791
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9047
9792
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9048
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
9793
|
+
localVarRequestOptions.data = serializeDataIfNeeded(topicMessageRequest, localVarRequestOptions, configuration)
|
|
9049
9794
|
|
|
9050
9795
|
return {
|
|
9051
9796
|
url: toPathString(localVarUrlObj),
|
|
@@ -9053,24 +9798,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9053
9798
|
};
|
|
9054
9799
|
},
|
|
9055
9800
|
/**
|
|
9056
|
-
*
|
|
9057
|
-
* @summary
|
|
9801
|
+
*
|
|
9802
|
+
* @summary Promote cluster intance to primary
|
|
9058
9803
|
* @param {string} orgName name of the Org
|
|
9059
|
-
* @param {string}
|
|
9060
|
-
* @param {
|
|
9804
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
9805
|
+
* @param {OpsPromote} body
|
|
9061
9806
|
* @param {*} [options] Override http request option.
|
|
9062
9807
|
* @throws {RequiredError}
|
|
9063
9808
|
*/
|
|
9064
|
-
|
|
9809
|
+
promoteCluster: async (orgName: string, clusterName: string, body: OpsPromote, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9065
9810
|
// verify required parameter 'orgName' is not null or undefined
|
|
9066
|
-
assertParamExists('
|
|
9067
|
-
// verify required parameter '
|
|
9068
|
-
assertParamExists('
|
|
9811
|
+
assertParamExists('promoteCluster', 'orgName', orgName)
|
|
9812
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9813
|
+
assertParamExists('promoteCluster', 'clusterName', clusterName)
|
|
9069
9814
|
// verify required parameter 'body' is not null or undefined
|
|
9070
|
-
assertParamExists('
|
|
9071
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/
|
|
9815
|
+
assertParamExists('promoteCluster', 'body', body)
|
|
9816
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/promote`
|
|
9072
9817
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9073
|
-
.replace(`{${"
|
|
9818
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9074
9819
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9075
9820
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9076
9821
|
let baseOptions;
|
|
@@ -9078,7 +9823,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9078
9823
|
baseOptions = configuration.baseOptions;
|
|
9079
9824
|
}
|
|
9080
9825
|
|
|
9081
|
-
const localVarRequestOptions = { method: '
|
|
9826
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9082
9827
|
const localVarHeaderParameter = {} as any;
|
|
9083
9828
|
const localVarQueryParameter = {} as any;
|
|
9084
9829
|
|
|
@@ -9104,24 +9849,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9104
9849
|
};
|
|
9105
9850
|
},
|
|
9106
9851
|
/**
|
|
9107
|
-
*
|
|
9108
|
-
* @summary
|
|
9109
|
-
* @param {string} orgName
|
|
9110
|
-
* @param {string}
|
|
9111
|
-
* @param {
|
|
9852
|
+
*
|
|
9853
|
+
* @summary Create or update Elasticsearch security role
|
|
9854
|
+
* @param {string} orgName
|
|
9855
|
+
* @param {string} clusterName
|
|
9856
|
+
* @param {string} roleName
|
|
9857
|
+
* @param {ESSecurityRoleDescriptor} body
|
|
9112
9858
|
* @param {*} [options] Override http request option.
|
|
9113
9859
|
* @throws {RequiredError}
|
|
9114
9860
|
*/
|
|
9115
|
-
|
|
9861
|
+
putElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9116
9862
|
// verify required parameter 'orgName' is not null or undefined
|
|
9117
|
-
assertParamExists('
|
|
9118
|
-
// verify required parameter '
|
|
9119
|
-
assertParamExists('
|
|
9120
|
-
// verify required parameter '
|
|
9121
|
-
assertParamExists('
|
|
9122
|
-
|
|
9863
|
+
assertParamExists('putElasticsearchSecurityRole', 'orgName', orgName)
|
|
9864
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9865
|
+
assertParamExists('putElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
9866
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
9867
|
+
assertParamExists('putElasticsearchSecurityRole', 'roleName', roleName)
|
|
9868
|
+
// verify required parameter 'body' is not null or undefined
|
|
9869
|
+
assertParamExists('putElasticsearchSecurityRole', 'body', body)
|
|
9870
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
9123
9871
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9124
|
-
.replace(`{${"
|
|
9872
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9873
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
9125
9874
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9126
9875
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9127
9876
|
let baseOptions;
|
|
@@ -9129,7 +9878,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9129
9878
|
baseOptions = configuration.baseOptions;
|
|
9130
9879
|
}
|
|
9131
9880
|
|
|
9132
|
-
const localVarRequestOptions = { method: '
|
|
9881
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9133
9882
|
const localVarHeaderParameter = {} as any;
|
|
9134
9883
|
const localVarQueryParameter = {} as any;
|
|
9135
9884
|
|
|
@@ -9147,7 +9896,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9147
9896
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9148
9897
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9149
9898
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9150
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
9899
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9151
9900
|
|
|
9152
9901
|
return {
|
|
9153
9902
|
url: toPathString(localVarUrlObj),
|
|
@@ -9156,27 +9905,27 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9156
9905
|
},
|
|
9157
9906
|
/**
|
|
9158
9907
|
*
|
|
9159
|
-
* @summary
|
|
9160
|
-
* @param {string} orgName
|
|
9161
|
-
* @param {string} clusterName
|
|
9162
|
-
* @param {string}
|
|
9163
|
-
* @param {
|
|
9908
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
9909
|
+
* @param {string} orgName
|
|
9910
|
+
* @param {string} clusterName
|
|
9911
|
+
* @param {string} mappingName
|
|
9912
|
+
* @param {ESSecurityRoleMapping} body
|
|
9164
9913
|
* @param {*} [options] Override http request option.
|
|
9165
9914
|
* @throws {RequiredError}
|
|
9166
9915
|
*/
|
|
9167
|
-
|
|
9916
|
+
putElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9168
9917
|
// verify required parameter 'orgName' is not null or undefined
|
|
9169
|
-
assertParamExists('
|
|
9918
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
9170
9919
|
// verify required parameter 'clusterName' is not null or undefined
|
|
9171
|
-
assertParamExists('
|
|
9172
|
-
// verify required parameter '
|
|
9173
|
-
assertParamExists('
|
|
9174
|
-
// verify required parameter '
|
|
9175
|
-
assertParamExists('
|
|
9176
|
-
const localVarPath = `/admin/v1/data/
|
|
9920
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
9921
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
9922
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
9923
|
+
// verify required parameter 'body' is not null or undefined
|
|
9924
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'body', body)
|
|
9925
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
9177
9926
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9178
9927
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9179
|
-
.replace(`{${"
|
|
9928
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
9180
9929
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9181
9930
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9182
9931
|
let baseOptions;
|
|
@@ -9184,7 +9933,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9184
9933
|
baseOptions = configuration.baseOptions;
|
|
9185
9934
|
}
|
|
9186
9935
|
|
|
9187
|
-
const localVarRequestOptions = { method: '
|
|
9936
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9188
9937
|
const localVarHeaderParameter = {} as any;
|
|
9189
9938
|
const localVarQueryParameter = {} as any;
|
|
9190
9939
|
|
|
@@ -9202,7 +9951,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9202
9951
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9203
9952
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9204
9953
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9205
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
9954
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
9206
9955
|
|
|
9207
9956
|
return {
|
|
9208
9957
|
url: toPathString(localVarUrlObj),
|
|
@@ -9211,23 +9960,27 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9211
9960
|
},
|
|
9212
9961
|
/**
|
|
9213
9962
|
*
|
|
9214
|
-
* @summary
|
|
9215
|
-
* @param {string} orgName
|
|
9216
|
-
* @param {string} clusterName
|
|
9217
|
-
* @param {
|
|
9963
|
+
* @summary Create or update Elasticsearch security user
|
|
9964
|
+
* @param {string} orgName
|
|
9965
|
+
* @param {string} clusterName
|
|
9966
|
+
* @param {string} username
|
|
9967
|
+
* @param {ESPutSecurityUserRequest} body
|
|
9218
9968
|
* @param {*} [options] Override http request option.
|
|
9219
9969
|
* @throws {RequiredError}
|
|
9220
9970
|
*/
|
|
9221
|
-
|
|
9971
|
+
putElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9222
9972
|
// verify required parameter 'orgName' is not null or undefined
|
|
9223
|
-
assertParamExists('
|
|
9973
|
+
assertParamExists('putElasticsearchSecurityUser', 'orgName', orgName)
|
|
9224
9974
|
// verify required parameter 'clusterName' is not null or undefined
|
|
9225
|
-
assertParamExists('
|
|
9975
|
+
assertParamExists('putElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
9976
|
+
// verify required parameter 'username' is not null or undefined
|
|
9977
|
+
assertParamExists('putElasticsearchSecurityUser', 'username', username)
|
|
9226
9978
|
// verify required parameter 'body' is not null or undefined
|
|
9227
|
-
assertParamExists('
|
|
9228
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
9979
|
+
assertParamExists('putElasticsearchSecurityUser', 'body', body)
|
|
9980
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
9229
9981
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9230
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9982
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9983
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
9231
9984
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9232
9985
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9233
9986
|
let baseOptions;
|
|
@@ -9235,7 +9988,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9235
9988
|
baseOptions = configuration.baseOptions;
|
|
9236
9989
|
}
|
|
9237
9990
|
|
|
9238
|
-
const localVarRequestOptions = { method: '
|
|
9991
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9239
9992
|
const localVarHeaderParameter = {} as any;
|
|
9240
9993
|
const localVarQueryParameter = {} as any;
|
|
9241
9994
|
|
|
@@ -10977,6 +11730,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10977
11730
|
|
|
10978
11731
|
|
|
10979
11732
|
|
|
11733
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11734
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11735
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11736
|
+
|
|
11737
|
+
return {
|
|
11738
|
+
url: toPathString(localVarUrlObj),
|
|
11739
|
+
options: localVarRequestOptions,
|
|
11740
|
+
};
|
|
11741
|
+
},
|
|
11742
|
+
/**
|
|
11743
|
+
*
|
|
11744
|
+
* @summary Unlock Elasticsearch account
|
|
11745
|
+
* @param {string} orgName
|
|
11746
|
+
* @param {string} clusterName
|
|
11747
|
+
* @param {string} username
|
|
11748
|
+
* @param {*} [options] Override http request option.
|
|
11749
|
+
* @throws {RequiredError}
|
|
11750
|
+
*/
|
|
11751
|
+
unlockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11752
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11753
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'orgName', orgName)
|
|
11754
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11755
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
11756
|
+
// verify required parameter 'username' is not null or undefined
|
|
11757
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'username', username)
|
|
11758
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/unlock`
|
|
11759
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11760
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11761
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
11762
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11763
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11764
|
+
let baseOptions;
|
|
11765
|
+
if (configuration) {
|
|
11766
|
+
baseOptions = configuration.baseOptions;
|
|
11767
|
+
}
|
|
11768
|
+
|
|
11769
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
11770
|
+
const localVarHeaderParameter = {} as any;
|
|
11771
|
+
const localVarQueryParameter = {} as any;
|
|
11772
|
+
|
|
11773
|
+
// authentication BearerToken required
|
|
11774
|
+
// http bearer authentication required
|
|
11775
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11776
|
+
|
|
11777
|
+
// authentication DigestAuth required
|
|
11778
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11779
|
+
|
|
11780
|
+
|
|
11781
|
+
|
|
10980
11782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10981
11783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10982
11784
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12297,6 +13099,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
12297
13099
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.buildBackupObj']?.[localVarOperationServerIndex]?.url;
|
|
12298
13100
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12299
13101
|
},
|
|
13102
|
+
/**
|
|
13103
|
+
*
|
|
13104
|
+
* @summary Change Elasticsearch account password
|
|
13105
|
+
* @param {string} orgName
|
|
13106
|
+
* @param {string} clusterName
|
|
13107
|
+
* @param {string} username
|
|
13108
|
+
* @param {ESSecurityPasswordRequest} body
|
|
13109
|
+
* @param {*} [options] Override http request option.
|
|
13110
|
+
* @throws {RequiredError}
|
|
13111
|
+
*/
|
|
13112
|
+
async changeElasticsearchSecurityUserPassword(orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
13113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options);
|
|
13114
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13115
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.changeElasticsearchSecurityUserPassword']?.[localVarOperationServerIndex]?.url;
|
|
13116
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13117
|
+
},
|
|
12300
13118
|
/**
|
|
12301
13119
|
* check apikey available
|
|
12302
13120
|
* @summary check apikey available
|
|
@@ -12732,6 +13550,51 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
12732
13550
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteDatabase']?.[localVarOperationServerIndex]?.url;
|
|
12733
13551
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12734
13552
|
},
|
|
13553
|
+
/**
|
|
13554
|
+
*
|
|
13555
|
+
* @summary Delete Elasticsearch security role
|
|
13556
|
+
* @param {string} orgName
|
|
13557
|
+
* @param {string} clusterName
|
|
13558
|
+
* @param {string} roleName
|
|
13559
|
+
* @param {*} [options] Override http request option.
|
|
13560
|
+
* @throws {RequiredError}
|
|
13561
|
+
*/
|
|
13562
|
+
async deleteElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
13563
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
13564
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13565
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
13566
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13567
|
+
},
|
|
13568
|
+
/**
|
|
13569
|
+
*
|
|
13570
|
+
* @summary Delete Elasticsearch security role mapping
|
|
13571
|
+
* @param {string} orgName
|
|
13572
|
+
* @param {string} clusterName
|
|
13573
|
+
* @param {string} mappingName
|
|
13574
|
+
* @param {*} [options] Override http request option.
|
|
13575
|
+
* @throws {RequiredError}
|
|
13576
|
+
*/
|
|
13577
|
+
async deleteElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
13578
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
13579
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13580
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
13581
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13582
|
+
},
|
|
13583
|
+
/**
|
|
13584
|
+
*
|
|
13585
|
+
* @summary Delete Elasticsearch security user
|
|
13586
|
+
* @param {string} orgName
|
|
13587
|
+
* @param {string} clusterName
|
|
13588
|
+
* @param {string} username
|
|
13589
|
+
* @param {*} [options] Override http request option.
|
|
13590
|
+
* @throws {RequiredError}
|
|
13591
|
+
*/
|
|
13592
|
+
async deleteElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
13593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
13594
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13595
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
13596
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13597
|
+
},
|
|
12735
13598
|
/**
|
|
12736
13599
|
*
|
|
12737
13600
|
* @summary Delete IP whitelist
|
|
@@ -13356,6 +14219,65 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
13356
14219
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getDatabaseOptions']?.[localVarOperationServerIndex]?.url;
|
|
13357
14220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13358
14221
|
},
|
|
14222
|
+
/**
|
|
14223
|
+
*
|
|
14224
|
+
* @summary Get Elasticsearch builtin privileges
|
|
14225
|
+
* @param {string} orgName
|
|
14226
|
+
* @param {string} clusterName
|
|
14227
|
+
* @param {*} [options] Override http request option.
|
|
14228
|
+
* @throws {RequiredError}
|
|
14229
|
+
*/
|
|
14230
|
+
async getElasticsearchBuiltinPrivileges(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Array<string>; }>> {
|
|
14231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchBuiltinPrivileges(orgName, clusterName, options);
|
|
14232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14233
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchBuiltinPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
14234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14235
|
+
},
|
|
14236
|
+
/**
|
|
14237
|
+
*
|
|
14238
|
+
* @summary Get Elasticsearch security role
|
|
14239
|
+
* @param {string} orgName
|
|
14240
|
+
* @param {string} clusterName
|
|
14241
|
+
* @param {string} roleName
|
|
14242
|
+
* @param {*} [options] Override http request option.
|
|
14243
|
+
* @throws {RequiredError}
|
|
14244
|
+
*/
|
|
14245
|
+
async getElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleDescriptor>> {
|
|
14246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
14247
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14248
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
14249
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14250
|
+
},
|
|
14251
|
+
/**
|
|
14252
|
+
*
|
|
14253
|
+
* @summary Get Elasticsearch security role mapping
|
|
14254
|
+
* @param {string} orgName
|
|
14255
|
+
* @param {string} clusterName
|
|
14256
|
+
* @param {string} mappingName
|
|
14257
|
+
* @param {*} [options] Override http request option.
|
|
14258
|
+
* @throws {RequiredError}
|
|
14259
|
+
*/
|
|
14260
|
+
async getElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleMapping>> {
|
|
14261
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
14262
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14263
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
14264
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14265
|
+
},
|
|
14266
|
+
/**
|
|
14267
|
+
*
|
|
14268
|
+
* @summary Get Elasticsearch security user
|
|
14269
|
+
* @param {string} orgName
|
|
14270
|
+
* @param {string} clusterName
|
|
14271
|
+
* @param {string} username
|
|
14272
|
+
* @param {*} [options] Override http request option.
|
|
14273
|
+
* @throws {RequiredError}
|
|
14274
|
+
*/
|
|
14275
|
+
async getElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityUser>> {
|
|
14276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
14277
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14278
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
14279
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14280
|
+
},
|
|
13359
14281
|
/**
|
|
13360
14282
|
* get engine available console
|
|
13361
14283
|
* @summary get engine available console
|
|
@@ -13985,39 +14907,81 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
13985
14907
|
* @param {*} [options] Override http request option.
|
|
13986
14908
|
* @throws {RequiredError}
|
|
13987
14909
|
*/
|
|
13988
|
-
async listClusters(orgName?: string, envName?: string, withStatic?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
|
|
13989
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, options);
|
|
14910
|
+
async listClusters(orgName?: string, envName?: string, withStatic?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
|
|
14911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, options);
|
|
14912
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14913
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusters']?.[localVarOperationServerIndex]?.url;
|
|
14914
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14915
|
+
},
|
|
14916
|
+
/**
|
|
14917
|
+
*
|
|
14918
|
+
* @summary list the datasource of a cluster
|
|
14919
|
+
* @param {string} orgName name of the Org
|
|
14920
|
+
* @param {string} clusterName name of the cluster
|
|
14921
|
+
* @param {*} [options] Override http request option.
|
|
14922
|
+
* @throws {RequiredError}
|
|
14923
|
+
*/
|
|
14924
|
+
async listDataSourceV2(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Datasource>>> {
|
|
14925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDataSourceV2(orgName, clusterName, options);
|
|
14926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14927
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listDataSourceV2']?.[localVarOperationServerIndex]?.url;
|
|
14928
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14929
|
+
},
|
|
14930
|
+
/**
|
|
14931
|
+
* list databases for rdbms engine cluster
|
|
14932
|
+
* @summary List cluster databases
|
|
14933
|
+
* @param {string} engineName name of the engine
|
|
14934
|
+
* @param {string} orgName name of the Org
|
|
14935
|
+
* @param {string} clusterName name of the Cluster
|
|
14936
|
+
* @param {*} [options] Override http request option.
|
|
14937
|
+
* @throws {RequiredError}
|
|
14938
|
+
*/
|
|
14939
|
+
async listDatabases(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatabaseList>> {
|
|
14940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDatabases(engineName, orgName, clusterName, options);
|
|
14941
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14942
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listDatabases']?.[localVarOperationServerIndex]?.url;
|
|
14943
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14944
|
+
},
|
|
14945
|
+
/**
|
|
14946
|
+
*
|
|
14947
|
+
* @summary List Elasticsearch security role mappings
|
|
14948
|
+
* @param {string} orgName
|
|
14949
|
+
* @param {string} clusterName
|
|
14950
|
+
* @param {*} [options] Override http request option.
|
|
14951
|
+
* @throws {RequiredError}
|
|
14952
|
+
*/
|
|
14953
|
+
async listElasticsearchSecurityRoleMappings(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>> {
|
|
14954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoleMappings(orgName, clusterName, options);
|
|
13990
14955
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13991
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.
|
|
14956
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoleMappings']?.[localVarOperationServerIndex]?.url;
|
|
13992
14957
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13993
14958
|
},
|
|
13994
14959
|
/**
|
|
13995
14960
|
*
|
|
13996
|
-
* @summary
|
|
13997
|
-
* @param {string} orgName
|
|
13998
|
-
* @param {string} clusterName
|
|
14961
|
+
* @summary List Elasticsearch security roles
|
|
14962
|
+
* @param {string} orgName
|
|
14963
|
+
* @param {string} clusterName
|
|
13999
14964
|
* @param {*} [options] Override http request option.
|
|
14000
14965
|
* @throws {RequiredError}
|
|
14001
14966
|
*/
|
|
14002
|
-
async
|
|
14003
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14967
|
+
async listElasticsearchSecurityRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>> {
|
|
14968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoles(orgName, clusterName, options);
|
|
14004
14969
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14005
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.
|
|
14970
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoles']?.[localVarOperationServerIndex]?.url;
|
|
14006
14971
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14007
14972
|
},
|
|
14008
14973
|
/**
|
|
14009
|
-
*
|
|
14010
|
-
* @summary List
|
|
14011
|
-
* @param {string}
|
|
14012
|
-
* @param {string}
|
|
14013
|
-
* @param {string} clusterName name of the Cluster
|
|
14974
|
+
*
|
|
14975
|
+
* @summary List Elasticsearch security users
|
|
14976
|
+
* @param {string} orgName
|
|
14977
|
+
* @param {string} clusterName
|
|
14014
14978
|
* @param {*} [options] Override http request option.
|
|
14015
14979
|
* @throws {RequiredError}
|
|
14016
14980
|
*/
|
|
14017
|
-
async
|
|
14018
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14981
|
+
async listElasticsearchSecurityUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityUser; }>> {
|
|
14982
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityUsers(orgName, clusterName, options);
|
|
14019
14983
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14020
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.
|
|
14984
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityUsers']?.[localVarOperationServerIndex]?.url;
|
|
14021
14985
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14022
14986
|
},
|
|
14023
14987
|
/**
|
|
@@ -14683,6 +15647,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14683
15647
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listUpgradeableServiceVersion']?.[localVarOperationServerIndex]?.url;
|
|
14684
15648
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14685
15649
|
},
|
|
15650
|
+
/**
|
|
15651
|
+
*
|
|
15652
|
+
* @summary Lock Elasticsearch account
|
|
15653
|
+
* @param {string} orgName
|
|
15654
|
+
* @param {string} clusterName
|
|
15655
|
+
* @param {string} username
|
|
15656
|
+
* @param {*} [options] Override http request option.
|
|
15657
|
+
* @throws {RequiredError}
|
|
15658
|
+
*/
|
|
15659
|
+
async lockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15660
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
15661
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15662
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.lockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
15663
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15664
|
+
},
|
|
14686
15665
|
/**
|
|
14687
15666
|
*
|
|
14688
15667
|
* @summary batch modify database tde status
|
|
@@ -14816,6 +15795,54 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14816
15795
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.promoteCluster']?.[localVarOperationServerIndex]?.url;
|
|
14817
15796
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14818
15797
|
},
|
|
15798
|
+
/**
|
|
15799
|
+
*
|
|
15800
|
+
* @summary Create or update Elasticsearch security role
|
|
15801
|
+
* @param {string} orgName
|
|
15802
|
+
* @param {string} clusterName
|
|
15803
|
+
* @param {string} roleName
|
|
15804
|
+
* @param {ESSecurityRoleDescriptor} body
|
|
15805
|
+
* @param {*} [options] Override http request option.
|
|
15806
|
+
* @throws {RequiredError}
|
|
15807
|
+
*/
|
|
15808
|
+
async putElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options);
|
|
15810
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15811
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
15812
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15813
|
+
},
|
|
15814
|
+
/**
|
|
15815
|
+
*
|
|
15816
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
15817
|
+
* @param {string} orgName
|
|
15818
|
+
* @param {string} clusterName
|
|
15819
|
+
* @param {string} mappingName
|
|
15820
|
+
* @param {ESSecurityRoleMapping} body
|
|
15821
|
+
* @param {*} [options] Override http request option.
|
|
15822
|
+
* @throws {RequiredError}
|
|
15823
|
+
*/
|
|
15824
|
+
async putElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15825
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options);
|
|
15826
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15827
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
15828
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15829
|
+
},
|
|
15830
|
+
/**
|
|
15831
|
+
*
|
|
15832
|
+
* @summary Create or update Elasticsearch security user
|
|
15833
|
+
* @param {string} orgName
|
|
15834
|
+
* @param {string} clusterName
|
|
15835
|
+
* @param {string} username
|
|
15836
|
+
* @param {ESPutSecurityUserRequest} body
|
|
15837
|
+
* @param {*} [options] Override http request option.
|
|
15838
|
+
* @throws {RequiredError}
|
|
15839
|
+
*/
|
|
15840
|
+
async putElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15841
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
|
|
15842
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15843
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
15844
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15845
|
+
},
|
|
14819
15846
|
/**
|
|
14820
15847
|
*
|
|
14821
15848
|
* @summary create a SQL query
|
|
@@ -15303,6 +16330,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15303
16330
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.unfreezeMember']?.[localVarOperationServerIndex]?.url;
|
|
15304
16331
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15305
16332
|
},
|
|
16333
|
+
/**
|
|
16334
|
+
*
|
|
16335
|
+
* @summary Unlock Elasticsearch account
|
|
16336
|
+
* @param {string} orgName
|
|
16337
|
+
* @param {string} clusterName
|
|
16338
|
+
* @param {string} username
|
|
16339
|
+
* @param {*} [options] Override http request option.
|
|
16340
|
+
* @throws {RequiredError}
|
|
16341
|
+
*/
|
|
16342
|
+
async unlockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
16344
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16345
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
16346
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16347
|
+
},
|
|
15306
16348
|
/**
|
|
15307
16349
|
* update an account in cluster
|
|
15308
16350
|
* @summary update cluster account
|
|
@@ -15745,6 +16787,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
15745
16787
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup> {
|
|
15746
16788
|
return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
15747
16789
|
},
|
|
16790
|
+
/**
|
|
16791
|
+
*
|
|
16792
|
+
* @summary Change Elasticsearch account password
|
|
16793
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
16794
|
+
* @param {*} [options] Override http request option.
|
|
16795
|
+
* @throws {RequiredError}
|
|
16796
|
+
*/
|
|
16797
|
+
changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16798
|
+
return localVarFp.changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
16799
|
+
},
|
|
15748
16800
|
/**
|
|
15749
16801
|
* check apikey available
|
|
15750
16802
|
* @summary check apikey available
|
|
@@ -16036,6 +17088,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
16036
17088
|
deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16037
17089
|
return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
16038
17090
|
},
|
|
17091
|
+
/**
|
|
17092
|
+
*
|
|
17093
|
+
* @summary Delete Elasticsearch security role
|
|
17094
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
17095
|
+
* @param {*} [options] Override http request option.
|
|
17096
|
+
* @throws {RequiredError}
|
|
17097
|
+
*/
|
|
17098
|
+
deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17099
|
+
return localVarFp.deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
17100
|
+
},
|
|
17101
|
+
/**
|
|
17102
|
+
*
|
|
17103
|
+
* @summary Delete Elasticsearch security role mapping
|
|
17104
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
17105
|
+
* @param {*} [options] Override http request option.
|
|
17106
|
+
* @throws {RequiredError}
|
|
17107
|
+
*/
|
|
17108
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17109
|
+
return localVarFp.deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
17110
|
+
},
|
|
17111
|
+
/**
|
|
17112
|
+
*
|
|
17113
|
+
* @summary Delete Elasticsearch security user
|
|
17114
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
17115
|
+
* @param {*} [options] Override http request option.
|
|
17116
|
+
* @throws {RequiredError}
|
|
17117
|
+
*/
|
|
17118
|
+
deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17119
|
+
return localVarFp.deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
17120
|
+
},
|
|
16039
17121
|
/**
|
|
16040
17122
|
*
|
|
16041
17123
|
* @summary Delete IP whitelist
|
|
@@ -16446,6 +17528,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
16446
17528
|
getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
16447
17529
|
return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
16448
17530
|
},
|
|
17531
|
+
/**
|
|
17532
|
+
*
|
|
17533
|
+
* @summary Get Elasticsearch builtin privileges
|
|
17534
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
17535
|
+
* @param {*} [options] Override http request option.
|
|
17536
|
+
* @throws {RequiredError}
|
|
17537
|
+
*/
|
|
17538
|
+
getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }> {
|
|
17539
|
+
return localVarFp.getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
17540
|
+
},
|
|
17541
|
+
/**
|
|
17542
|
+
*
|
|
17543
|
+
* @summary Get Elasticsearch security role
|
|
17544
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
17545
|
+
* @param {*} [options] Override http request option.
|
|
17546
|
+
* @throws {RequiredError}
|
|
17547
|
+
*/
|
|
17548
|
+
getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor> {
|
|
17549
|
+
return localVarFp.getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
17550
|
+
},
|
|
17551
|
+
/**
|
|
17552
|
+
*
|
|
17553
|
+
* @summary Get Elasticsearch security role mapping
|
|
17554
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
17555
|
+
* @param {*} [options] Override http request option.
|
|
17556
|
+
* @throws {RequiredError}
|
|
17557
|
+
*/
|
|
17558
|
+
getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping> {
|
|
17559
|
+
return localVarFp.getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
17560
|
+
},
|
|
17561
|
+
/**
|
|
17562
|
+
*
|
|
17563
|
+
* @summary Get Elasticsearch security user
|
|
17564
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
17565
|
+
* @param {*} [options] Override http request option.
|
|
17566
|
+
* @throws {RequiredError}
|
|
17567
|
+
*/
|
|
17568
|
+
getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser> {
|
|
17569
|
+
return localVarFp.getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
17570
|
+
},
|
|
16449
17571
|
/**
|
|
16450
17572
|
* get engine available console
|
|
16451
17573
|
* @summary get engine available console
|
|
@@ -16885,6 +18007,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
16885
18007
|
listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList> {
|
|
16886
18008
|
return localVarFp.listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
16887
18009
|
},
|
|
18010
|
+
/**
|
|
18011
|
+
*
|
|
18012
|
+
* @summary List Elasticsearch security role mappings
|
|
18013
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
18014
|
+
* @param {*} [options] Override http request option.
|
|
18015
|
+
* @throws {RequiredError}
|
|
18016
|
+
*/
|
|
18017
|
+
listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }> {
|
|
18018
|
+
return localVarFp.listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18019
|
+
},
|
|
18020
|
+
/**
|
|
18021
|
+
*
|
|
18022
|
+
* @summary List Elasticsearch security roles
|
|
18023
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
18024
|
+
* @param {*} [options] Override http request option.
|
|
18025
|
+
* @throws {RequiredError}
|
|
18026
|
+
*/
|
|
18027
|
+
listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }> {
|
|
18028
|
+
return localVarFp.listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18029
|
+
},
|
|
18030
|
+
/**
|
|
18031
|
+
*
|
|
18032
|
+
* @summary List Elasticsearch security users
|
|
18033
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
18034
|
+
* @param {*} [options] Override http request option.
|
|
18035
|
+
* @throws {RequiredError}
|
|
18036
|
+
*/
|
|
18037
|
+
listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }> {
|
|
18038
|
+
return localVarFp.listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18039
|
+
},
|
|
16888
18040
|
/**
|
|
16889
18041
|
*
|
|
16890
18042
|
* @summary List cluster endpoints
|
|
@@ -17332,6 +18484,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17332
18484
|
listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions> {
|
|
17333
18485
|
return localVarFp.listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
17334
18486
|
},
|
|
18487
|
+
/**
|
|
18488
|
+
*
|
|
18489
|
+
* @summary Lock Elasticsearch account
|
|
18490
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
18491
|
+
* @param {*} [options] Override http request option.
|
|
18492
|
+
* @throws {RequiredError}
|
|
18493
|
+
*/
|
|
18494
|
+
lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18495
|
+
return localVarFp.lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
18496
|
+
},
|
|
17335
18497
|
/**
|
|
17336
18498
|
*
|
|
17337
18499
|
* @summary batch modify database tde status
|
|
@@ -17422,6 +18584,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17422
18584
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
17423
18585
|
return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
17424
18586
|
},
|
|
18587
|
+
/**
|
|
18588
|
+
*
|
|
18589
|
+
* @summary Create or update Elasticsearch security role
|
|
18590
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
18591
|
+
* @param {*} [options] Override http request option.
|
|
18592
|
+
* @throws {RequiredError}
|
|
18593
|
+
*/
|
|
18594
|
+
putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18595
|
+
return localVarFp.putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18596
|
+
},
|
|
18597
|
+
/**
|
|
18598
|
+
*
|
|
18599
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
18600
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
18601
|
+
* @param {*} [options] Override http request option.
|
|
18602
|
+
* @throws {RequiredError}
|
|
18603
|
+
*/
|
|
18604
|
+
putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18605
|
+
return localVarFp.putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18606
|
+
},
|
|
18607
|
+
/**
|
|
18608
|
+
*
|
|
18609
|
+
* @summary Create or update Elasticsearch security user
|
|
18610
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
18611
|
+
* @param {*} [options] Override http request option.
|
|
18612
|
+
* @throws {RequiredError}
|
|
18613
|
+
*/
|
|
18614
|
+
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18615
|
+
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18616
|
+
},
|
|
17425
18617
|
/**
|
|
17426
18618
|
*
|
|
17427
18619
|
* @summary create a SQL query
|
|
@@ -17721,6 +18913,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17721
18913
|
unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17722
18914
|
return localVarFp.unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(axios, basePath));
|
|
17723
18915
|
},
|
|
18916
|
+
/**
|
|
18917
|
+
*
|
|
18918
|
+
* @summary Unlock Elasticsearch account
|
|
18919
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
18920
|
+
* @param {*} [options] Override http request option.
|
|
18921
|
+
* @throws {RequiredError}
|
|
18922
|
+
*/
|
|
18923
|
+
unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18924
|
+
return localVarFp.unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
18925
|
+
},
|
|
17724
18926
|
/**
|
|
17725
18927
|
* update an account in cluster
|
|
17726
18928
|
* @summary update cluster account
|
|
@@ -18038,6 +19240,16 @@ export interface SharedApiInterface {
|
|
|
18038
19240
|
*/
|
|
18039
19241
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup>;
|
|
18040
19242
|
|
|
19243
|
+
/**
|
|
19244
|
+
*
|
|
19245
|
+
* @summary Change Elasticsearch account password
|
|
19246
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
19247
|
+
* @param {*} [options] Override http request option.
|
|
19248
|
+
* @throws {RequiredError}
|
|
19249
|
+
* @memberof SharedApiInterface
|
|
19250
|
+
*/
|
|
19251
|
+
changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
19252
|
+
|
|
18041
19253
|
/**
|
|
18042
19254
|
* check apikey available
|
|
18043
19255
|
* @summary check apikey available
|
|
@@ -18329,6 +19541,36 @@ export interface SharedApiInterface {
|
|
|
18329
19541
|
*/
|
|
18330
19542
|
deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
18331
19543
|
|
|
19544
|
+
/**
|
|
19545
|
+
*
|
|
19546
|
+
* @summary Delete Elasticsearch security role
|
|
19547
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
19548
|
+
* @param {*} [options] Override http request option.
|
|
19549
|
+
* @throws {RequiredError}
|
|
19550
|
+
* @memberof SharedApiInterface
|
|
19551
|
+
*/
|
|
19552
|
+
deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
19553
|
+
|
|
19554
|
+
/**
|
|
19555
|
+
*
|
|
19556
|
+
* @summary Delete Elasticsearch security role mapping
|
|
19557
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
19558
|
+
* @param {*} [options] Override http request option.
|
|
19559
|
+
* @throws {RequiredError}
|
|
19560
|
+
* @memberof SharedApiInterface
|
|
19561
|
+
*/
|
|
19562
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
19563
|
+
|
|
19564
|
+
/**
|
|
19565
|
+
*
|
|
19566
|
+
* @summary Delete Elasticsearch security user
|
|
19567
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
19568
|
+
* @param {*} [options] Override http request option.
|
|
19569
|
+
* @throws {RequiredError}
|
|
19570
|
+
* @memberof SharedApiInterface
|
|
19571
|
+
*/
|
|
19572
|
+
deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
19573
|
+
|
|
18332
19574
|
/**
|
|
18333
19575
|
*
|
|
18334
19576
|
* @summary Delete IP whitelist
|
|
@@ -18739,6 +19981,46 @@ export interface SharedApiInterface {
|
|
|
18739
19981
|
*/
|
|
18740
19982
|
getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
18741
19983
|
|
|
19984
|
+
/**
|
|
19985
|
+
*
|
|
19986
|
+
* @summary Get Elasticsearch builtin privileges
|
|
19987
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
19988
|
+
* @param {*} [options] Override http request option.
|
|
19989
|
+
* @throws {RequiredError}
|
|
19990
|
+
* @memberof SharedApiInterface
|
|
19991
|
+
*/
|
|
19992
|
+
getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }>;
|
|
19993
|
+
|
|
19994
|
+
/**
|
|
19995
|
+
*
|
|
19996
|
+
* @summary Get Elasticsearch security role
|
|
19997
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
19998
|
+
* @param {*} [options] Override http request option.
|
|
19999
|
+
* @throws {RequiredError}
|
|
20000
|
+
* @memberof SharedApiInterface
|
|
20001
|
+
*/
|
|
20002
|
+
getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor>;
|
|
20003
|
+
|
|
20004
|
+
/**
|
|
20005
|
+
*
|
|
20006
|
+
* @summary Get Elasticsearch security role mapping
|
|
20007
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
20008
|
+
* @param {*} [options] Override http request option.
|
|
20009
|
+
* @throws {RequiredError}
|
|
20010
|
+
* @memberof SharedApiInterface
|
|
20011
|
+
*/
|
|
20012
|
+
getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping>;
|
|
20013
|
+
|
|
20014
|
+
/**
|
|
20015
|
+
*
|
|
20016
|
+
* @summary Get Elasticsearch security user
|
|
20017
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
20018
|
+
* @param {*} [options] Override http request option.
|
|
20019
|
+
* @throws {RequiredError}
|
|
20020
|
+
* @memberof SharedApiInterface
|
|
20021
|
+
*/
|
|
20022
|
+
getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser>;
|
|
20023
|
+
|
|
18742
20024
|
/**
|
|
18743
20025
|
* get engine available console
|
|
18744
20026
|
* @summary get engine available console
|
|
@@ -19166,17 +20448,47 @@ export interface SharedApiInterface {
|
|
|
19166
20448
|
* @throws {RequiredError}
|
|
19167
20449
|
* @memberof SharedApiInterface
|
|
19168
20450
|
*/
|
|
19169
|
-
listDataSourceV2(requestParameters: SharedApiListDataSourceV2Request, options?: RawAxiosRequestConfig): AxiosPromise<Array<Datasource>>;
|
|
20451
|
+
listDataSourceV2(requestParameters: SharedApiListDataSourceV2Request, options?: RawAxiosRequestConfig): AxiosPromise<Array<Datasource>>;
|
|
20452
|
+
|
|
20453
|
+
/**
|
|
20454
|
+
* list databases for rdbms engine cluster
|
|
20455
|
+
* @summary List cluster databases
|
|
20456
|
+
* @param {SharedApiListDatabasesRequest} requestParameters Request parameters.
|
|
20457
|
+
* @param {*} [options] Override http request option.
|
|
20458
|
+
* @throws {RequiredError}
|
|
20459
|
+
* @memberof SharedApiInterface
|
|
20460
|
+
*/
|
|
20461
|
+
listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
|
|
20462
|
+
|
|
20463
|
+
/**
|
|
20464
|
+
*
|
|
20465
|
+
* @summary List Elasticsearch security role mappings
|
|
20466
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
20467
|
+
* @param {*} [options] Override http request option.
|
|
20468
|
+
* @throws {RequiredError}
|
|
20469
|
+
* @memberof SharedApiInterface
|
|
20470
|
+
*/
|
|
20471
|
+
listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>;
|
|
20472
|
+
|
|
20473
|
+
/**
|
|
20474
|
+
*
|
|
20475
|
+
* @summary List Elasticsearch security roles
|
|
20476
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
20477
|
+
* @param {*} [options] Override http request option.
|
|
20478
|
+
* @throws {RequiredError}
|
|
20479
|
+
* @memberof SharedApiInterface
|
|
20480
|
+
*/
|
|
20481
|
+
listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>;
|
|
19170
20482
|
|
|
19171
20483
|
/**
|
|
19172
|
-
*
|
|
19173
|
-
* @summary List
|
|
19174
|
-
* @param {
|
|
20484
|
+
*
|
|
20485
|
+
* @summary List Elasticsearch security users
|
|
20486
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
19175
20487
|
* @param {*} [options] Override http request option.
|
|
19176
20488
|
* @throws {RequiredError}
|
|
19177
20489
|
* @memberof SharedApiInterface
|
|
19178
20490
|
*/
|
|
19179
|
-
|
|
20491
|
+
listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }>;
|
|
19180
20492
|
|
|
19181
20493
|
/**
|
|
19182
20494
|
*
|
|
@@ -19625,6 +20937,16 @@ export interface SharedApiInterface {
|
|
|
19625
20937
|
*/
|
|
19626
20938
|
listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions>;
|
|
19627
20939
|
|
|
20940
|
+
/**
|
|
20941
|
+
*
|
|
20942
|
+
* @summary Lock Elasticsearch account
|
|
20943
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
20944
|
+
* @param {*} [options] Override http request option.
|
|
20945
|
+
* @throws {RequiredError}
|
|
20946
|
+
* @memberof SharedApiInterface
|
|
20947
|
+
*/
|
|
20948
|
+
lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20949
|
+
|
|
19628
20950
|
/**
|
|
19629
20951
|
*
|
|
19630
20952
|
* @summary batch modify database tde status
|
|
@@ -19715,6 +21037,36 @@ export interface SharedApiInterface {
|
|
|
19715
21037
|
*/
|
|
19716
21038
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
19717
21039
|
|
|
21040
|
+
/**
|
|
21041
|
+
*
|
|
21042
|
+
* @summary Create or update Elasticsearch security role
|
|
21043
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
21044
|
+
* @param {*} [options] Override http request option.
|
|
21045
|
+
* @throws {RequiredError}
|
|
21046
|
+
* @memberof SharedApiInterface
|
|
21047
|
+
*/
|
|
21048
|
+
putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21049
|
+
|
|
21050
|
+
/**
|
|
21051
|
+
*
|
|
21052
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
21053
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
21054
|
+
* @param {*} [options] Override http request option.
|
|
21055
|
+
* @throws {RequiredError}
|
|
21056
|
+
* @memberof SharedApiInterface
|
|
21057
|
+
*/
|
|
21058
|
+
putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21059
|
+
|
|
21060
|
+
/**
|
|
21061
|
+
*
|
|
21062
|
+
* @summary Create or update Elasticsearch security user
|
|
21063
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21064
|
+
* @param {*} [options] Override http request option.
|
|
21065
|
+
* @throws {RequiredError}
|
|
21066
|
+
* @memberof SharedApiInterface
|
|
21067
|
+
*/
|
|
21068
|
+
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21069
|
+
|
|
19718
21070
|
/**
|
|
19719
21071
|
*
|
|
19720
21072
|
* @summary create a SQL query
|
|
@@ -20014,6 +21366,16 @@ export interface SharedApiInterface {
|
|
|
20014
21366
|
*/
|
|
20015
21367
|
unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20016
21368
|
|
|
21369
|
+
/**
|
|
21370
|
+
*
|
|
21371
|
+
* @summary Unlock Elasticsearch account
|
|
21372
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21373
|
+
* @param {*} [options] Override http request option.
|
|
21374
|
+
* @throws {RequiredError}
|
|
21375
|
+
* @memberof SharedApiInterface
|
|
21376
|
+
*/
|
|
21377
|
+
unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21378
|
+
|
|
20017
21379
|
/**
|
|
20018
21380
|
* update an account in cluster
|
|
20019
21381
|
* @summary update cluster account
|
|
@@ -20445,6 +21807,41 @@ export interface SharedApiBuildBackupObjRequest {
|
|
|
20445
21807
|
readonly body: BuildBackupObjRequest
|
|
20446
21808
|
}
|
|
20447
21809
|
|
|
21810
|
+
/**
|
|
21811
|
+
* Request parameters for changeElasticsearchSecurityUserPassword operation in SharedApi.
|
|
21812
|
+
* @export
|
|
21813
|
+
* @interface SharedApiChangeElasticsearchSecurityUserPasswordRequest
|
|
21814
|
+
*/
|
|
21815
|
+
export interface SharedApiChangeElasticsearchSecurityUserPasswordRequest {
|
|
21816
|
+
/**
|
|
21817
|
+
*
|
|
21818
|
+
* @type {string}
|
|
21819
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
21820
|
+
*/
|
|
21821
|
+
readonly orgName: string
|
|
21822
|
+
|
|
21823
|
+
/**
|
|
21824
|
+
*
|
|
21825
|
+
* @type {string}
|
|
21826
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
21827
|
+
*/
|
|
21828
|
+
readonly clusterName: string
|
|
21829
|
+
|
|
21830
|
+
/**
|
|
21831
|
+
*
|
|
21832
|
+
* @type {string}
|
|
21833
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
21834
|
+
*/
|
|
21835
|
+
readonly username: string
|
|
21836
|
+
|
|
21837
|
+
/**
|
|
21838
|
+
*
|
|
21839
|
+
* @type {ESSecurityPasswordRequest}
|
|
21840
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
21841
|
+
*/
|
|
21842
|
+
readonly body: ESSecurityPasswordRequest
|
|
21843
|
+
}
|
|
21844
|
+
|
|
20448
21845
|
/**
|
|
20449
21846
|
* Request parameters for checkAPIKey operation in SharedApi.
|
|
20450
21847
|
* @export
|
|
@@ -21250,6 +22647,90 @@ export interface SharedApiDeleteDatabaseRequest {
|
|
|
21250
22647
|
readonly databaseName: string
|
|
21251
22648
|
}
|
|
21252
22649
|
|
|
22650
|
+
/**
|
|
22651
|
+
* Request parameters for deleteElasticsearchSecurityRole operation in SharedApi.
|
|
22652
|
+
* @export
|
|
22653
|
+
* @interface SharedApiDeleteElasticsearchSecurityRoleRequest
|
|
22654
|
+
*/
|
|
22655
|
+
export interface SharedApiDeleteElasticsearchSecurityRoleRequest {
|
|
22656
|
+
/**
|
|
22657
|
+
*
|
|
22658
|
+
* @type {string}
|
|
22659
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
22660
|
+
*/
|
|
22661
|
+
readonly orgName: string
|
|
22662
|
+
|
|
22663
|
+
/**
|
|
22664
|
+
*
|
|
22665
|
+
* @type {string}
|
|
22666
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
22667
|
+
*/
|
|
22668
|
+
readonly clusterName: string
|
|
22669
|
+
|
|
22670
|
+
/**
|
|
22671
|
+
*
|
|
22672
|
+
* @type {string}
|
|
22673
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
22674
|
+
*/
|
|
22675
|
+
readonly roleName: string
|
|
22676
|
+
}
|
|
22677
|
+
|
|
22678
|
+
/**
|
|
22679
|
+
* Request parameters for deleteElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
22680
|
+
* @export
|
|
22681
|
+
* @interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest
|
|
22682
|
+
*/
|
|
22683
|
+
export interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest {
|
|
22684
|
+
/**
|
|
22685
|
+
*
|
|
22686
|
+
* @type {string}
|
|
22687
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
22688
|
+
*/
|
|
22689
|
+
readonly orgName: string
|
|
22690
|
+
|
|
22691
|
+
/**
|
|
22692
|
+
*
|
|
22693
|
+
* @type {string}
|
|
22694
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
22695
|
+
*/
|
|
22696
|
+
readonly clusterName: string
|
|
22697
|
+
|
|
22698
|
+
/**
|
|
22699
|
+
*
|
|
22700
|
+
* @type {string}
|
|
22701
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
22702
|
+
*/
|
|
22703
|
+
readonly mappingName: string
|
|
22704
|
+
}
|
|
22705
|
+
|
|
22706
|
+
/**
|
|
22707
|
+
* Request parameters for deleteElasticsearchSecurityUser operation in SharedApi.
|
|
22708
|
+
* @export
|
|
22709
|
+
* @interface SharedApiDeleteElasticsearchSecurityUserRequest
|
|
22710
|
+
*/
|
|
22711
|
+
export interface SharedApiDeleteElasticsearchSecurityUserRequest {
|
|
22712
|
+
/**
|
|
22713
|
+
*
|
|
22714
|
+
* @type {string}
|
|
22715
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
22716
|
+
*/
|
|
22717
|
+
readonly orgName: string
|
|
22718
|
+
|
|
22719
|
+
/**
|
|
22720
|
+
*
|
|
22721
|
+
* @type {string}
|
|
22722
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
22723
|
+
*/
|
|
22724
|
+
readonly clusterName: string
|
|
22725
|
+
|
|
22726
|
+
/**
|
|
22727
|
+
*
|
|
22728
|
+
* @type {string}
|
|
22729
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
22730
|
+
*/
|
|
22731
|
+
readonly username: string
|
|
22732
|
+
}
|
|
22733
|
+
|
|
21253
22734
|
/**
|
|
21254
22735
|
* Request parameters for deleteIPWhiteList operation in SharedApi.
|
|
21255
22736
|
* @export
|
|
@@ -22461,6 +23942,111 @@ export interface SharedApiGetDatabaseOptionsRequest {
|
|
|
22461
23942
|
readonly filter?: string
|
|
22462
23943
|
}
|
|
22463
23944
|
|
|
23945
|
+
/**
|
|
23946
|
+
* Request parameters for getElasticsearchBuiltinPrivileges operation in SharedApi.
|
|
23947
|
+
* @export
|
|
23948
|
+
* @interface SharedApiGetElasticsearchBuiltinPrivilegesRequest
|
|
23949
|
+
*/
|
|
23950
|
+
export interface SharedApiGetElasticsearchBuiltinPrivilegesRequest {
|
|
23951
|
+
/**
|
|
23952
|
+
*
|
|
23953
|
+
* @type {string}
|
|
23954
|
+
* @memberof SharedApiGetElasticsearchBuiltinPrivileges
|
|
23955
|
+
*/
|
|
23956
|
+
readonly orgName: string
|
|
23957
|
+
|
|
23958
|
+
/**
|
|
23959
|
+
*
|
|
23960
|
+
* @type {string}
|
|
23961
|
+
* @memberof SharedApiGetElasticsearchBuiltinPrivileges
|
|
23962
|
+
*/
|
|
23963
|
+
readonly clusterName: string
|
|
23964
|
+
}
|
|
23965
|
+
|
|
23966
|
+
/**
|
|
23967
|
+
* Request parameters for getElasticsearchSecurityRole operation in SharedApi.
|
|
23968
|
+
* @export
|
|
23969
|
+
* @interface SharedApiGetElasticsearchSecurityRoleRequest
|
|
23970
|
+
*/
|
|
23971
|
+
export interface SharedApiGetElasticsearchSecurityRoleRequest {
|
|
23972
|
+
/**
|
|
23973
|
+
*
|
|
23974
|
+
* @type {string}
|
|
23975
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
23976
|
+
*/
|
|
23977
|
+
readonly orgName: string
|
|
23978
|
+
|
|
23979
|
+
/**
|
|
23980
|
+
*
|
|
23981
|
+
* @type {string}
|
|
23982
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
23983
|
+
*/
|
|
23984
|
+
readonly clusterName: string
|
|
23985
|
+
|
|
23986
|
+
/**
|
|
23987
|
+
*
|
|
23988
|
+
* @type {string}
|
|
23989
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
23990
|
+
*/
|
|
23991
|
+
readonly roleName: string
|
|
23992
|
+
}
|
|
23993
|
+
|
|
23994
|
+
/**
|
|
23995
|
+
* Request parameters for getElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
23996
|
+
* @export
|
|
23997
|
+
* @interface SharedApiGetElasticsearchSecurityRoleMappingRequest
|
|
23998
|
+
*/
|
|
23999
|
+
export interface SharedApiGetElasticsearchSecurityRoleMappingRequest {
|
|
24000
|
+
/**
|
|
24001
|
+
*
|
|
24002
|
+
* @type {string}
|
|
24003
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
24004
|
+
*/
|
|
24005
|
+
readonly orgName: string
|
|
24006
|
+
|
|
24007
|
+
/**
|
|
24008
|
+
*
|
|
24009
|
+
* @type {string}
|
|
24010
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
24011
|
+
*/
|
|
24012
|
+
readonly clusterName: string
|
|
24013
|
+
|
|
24014
|
+
/**
|
|
24015
|
+
*
|
|
24016
|
+
* @type {string}
|
|
24017
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
24018
|
+
*/
|
|
24019
|
+
readonly mappingName: string
|
|
24020
|
+
}
|
|
24021
|
+
|
|
24022
|
+
/**
|
|
24023
|
+
* Request parameters for getElasticsearchSecurityUser operation in SharedApi.
|
|
24024
|
+
* @export
|
|
24025
|
+
* @interface SharedApiGetElasticsearchSecurityUserRequest
|
|
24026
|
+
*/
|
|
24027
|
+
export interface SharedApiGetElasticsearchSecurityUserRequest {
|
|
24028
|
+
/**
|
|
24029
|
+
*
|
|
24030
|
+
* @type {string}
|
|
24031
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
24032
|
+
*/
|
|
24033
|
+
readonly orgName: string
|
|
24034
|
+
|
|
24035
|
+
/**
|
|
24036
|
+
*
|
|
24037
|
+
* @type {string}
|
|
24038
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
24039
|
+
*/
|
|
24040
|
+
readonly clusterName: string
|
|
24041
|
+
|
|
24042
|
+
/**
|
|
24043
|
+
*
|
|
24044
|
+
* @type {string}
|
|
24045
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
24046
|
+
*/
|
|
24047
|
+
readonly username: string
|
|
24048
|
+
}
|
|
24049
|
+
|
|
22464
24050
|
/**
|
|
22465
24051
|
* Request parameters for getEngineAvailableConsole operation in SharedApi.
|
|
22466
24052
|
* @export
|
|
@@ -23700,16 +25286,79 @@ export interface SharedApiListDatabasesRequest {
|
|
|
23700
25286
|
readonly engineName: string
|
|
23701
25287
|
|
|
23702
25288
|
/**
|
|
23703
|
-
* name of the Org
|
|
25289
|
+
* name of the Org
|
|
25290
|
+
* @type {string}
|
|
25291
|
+
* @memberof SharedApiListDatabases
|
|
25292
|
+
*/
|
|
25293
|
+
readonly orgName: string
|
|
25294
|
+
|
|
25295
|
+
/**
|
|
25296
|
+
* name of the Cluster
|
|
25297
|
+
* @type {string}
|
|
25298
|
+
* @memberof SharedApiListDatabases
|
|
25299
|
+
*/
|
|
25300
|
+
readonly clusterName: string
|
|
25301
|
+
}
|
|
25302
|
+
|
|
25303
|
+
/**
|
|
25304
|
+
* Request parameters for listElasticsearchSecurityRoleMappings operation in SharedApi.
|
|
25305
|
+
* @export
|
|
25306
|
+
* @interface SharedApiListElasticsearchSecurityRoleMappingsRequest
|
|
25307
|
+
*/
|
|
25308
|
+
export interface SharedApiListElasticsearchSecurityRoleMappingsRequest {
|
|
25309
|
+
/**
|
|
25310
|
+
*
|
|
25311
|
+
* @type {string}
|
|
25312
|
+
* @memberof SharedApiListElasticsearchSecurityRoleMappings
|
|
25313
|
+
*/
|
|
25314
|
+
readonly orgName: string
|
|
25315
|
+
|
|
25316
|
+
/**
|
|
25317
|
+
*
|
|
25318
|
+
* @type {string}
|
|
25319
|
+
* @memberof SharedApiListElasticsearchSecurityRoleMappings
|
|
25320
|
+
*/
|
|
25321
|
+
readonly clusterName: string
|
|
25322
|
+
}
|
|
25323
|
+
|
|
25324
|
+
/**
|
|
25325
|
+
* Request parameters for listElasticsearchSecurityRoles operation in SharedApi.
|
|
25326
|
+
* @export
|
|
25327
|
+
* @interface SharedApiListElasticsearchSecurityRolesRequest
|
|
25328
|
+
*/
|
|
25329
|
+
export interface SharedApiListElasticsearchSecurityRolesRequest {
|
|
25330
|
+
/**
|
|
25331
|
+
*
|
|
25332
|
+
* @type {string}
|
|
25333
|
+
* @memberof SharedApiListElasticsearchSecurityRoles
|
|
25334
|
+
*/
|
|
25335
|
+
readonly orgName: string
|
|
25336
|
+
|
|
25337
|
+
/**
|
|
25338
|
+
*
|
|
25339
|
+
* @type {string}
|
|
25340
|
+
* @memberof SharedApiListElasticsearchSecurityRoles
|
|
25341
|
+
*/
|
|
25342
|
+
readonly clusterName: string
|
|
25343
|
+
}
|
|
25344
|
+
|
|
25345
|
+
/**
|
|
25346
|
+
* Request parameters for listElasticsearchSecurityUsers operation in SharedApi.
|
|
25347
|
+
* @export
|
|
25348
|
+
* @interface SharedApiListElasticsearchSecurityUsersRequest
|
|
25349
|
+
*/
|
|
25350
|
+
export interface SharedApiListElasticsearchSecurityUsersRequest {
|
|
25351
|
+
/**
|
|
25352
|
+
*
|
|
23704
25353
|
* @type {string}
|
|
23705
|
-
* @memberof
|
|
25354
|
+
* @memberof SharedApiListElasticsearchSecurityUsers
|
|
23706
25355
|
*/
|
|
23707
25356
|
readonly orgName: string
|
|
23708
25357
|
|
|
23709
25358
|
/**
|
|
23710
|
-
*
|
|
25359
|
+
*
|
|
23711
25360
|
* @type {string}
|
|
23712
|
-
* @memberof
|
|
25361
|
+
* @memberof SharedApiListElasticsearchSecurityUsers
|
|
23713
25362
|
*/
|
|
23714
25363
|
readonly clusterName: string
|
|
23715
25364
|
}
|
|
@@ -24855,6 +26504,34 @@ export interface SharedApiListUpgradeableServiceVersionRequest {
|
|
|
24855
26504
|
readonly component: string
|
|
24856
26505
|
}
|
|
24857
26506
|
|
|
26507
|
+
/**
|
|
26508
|
+
* Request parameters for lockElasticsearchSecurityUser operation in SharedApi.
|
|
26509
|
+
* @export
|
|
26510
|
+
* @interface SharedApiLockElasticsearchSecurityUserRequest
|
|
26511
|
+
*/
|
|
26512
|
+
export interface SharedApiLockElasticsearchSecurityUserRequest {
|
|
26513
|
+
/**
|
|
26514
|
+
*
|
|
26515
|
+
* @type {string}
|
|
26516
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
26517
|
+
*/
|
|
26518
|
+
readonly orgName: string
|
|
26519
|
+
|
|
26520
|
+
/**
|
|
26521
|
+
*
|
|
26522
|
+
* @type {string}
|
|
26523
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
26524
|
+
*/
|
|
26525
|
+
readonly clusterName: string
|
|
26526
|
+
|
|
26527
|
+
/**
|
|
26528
|
+
*
|
|
26529
|
+
* @type {string}
|
|
26530
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
26531
|
+
*/
|
|
26532
|
+
readonly username: string
|
|
26533
|
+
}
|
|
26534
|
+
|
|
24858
26535
|
/**
|
|
24859
26536
|
* Request parameters for manageMssqlTDEDatabase operation in SharedApi.
|
|
24860
26537
|
* @export
|
|
@@ -25093,6 +26770,111 @@ export interface SharedApiPromoteClusterRequest {
|
|
|
25093
26770
|
readonly body: OpsPromote
|
|
25094
26771
|
}
|
|
25095
26772
|
|
|
26773
|
+
/**
|
|
26774
|
+
* Request parameters for putElasticsearchSecurityRole operation in SharedApi.
|
|
26775
|
+
* @export
|
|
26776
|
+
* @interface SharedApiPutElasticsearchSecurityRoleRequest
|
|
26777
|
+
*/
|
|
26778
|
+
export interface SharedApiPutElasticsearchSecurityRoleRequest {
|
|
26779
|
+
/**
|
|
26780
|
+
*
|
|
26781
|
+
* @type {string}
|
|
26782
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
26783
|
+
*/
|
|
26784
|
+
readonly orgName: string
|
|
26785
|
+
|
|
26786
|
+
/**
|
|
26787
|
+
*
|
|
26788
|
+
* @type {string}
|
|
26789
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
26790
|
+
*/
|
|
26791
|
+
readonly clusterName: string
|
|
26792
|
+
|
|
26793
|
+
/**
|
|
26794
|
+
*
|
|
26795
|
+
* @type {string}
|
|
26796
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
26797
|
+
*/
|
|
26798
|
+
readonly roleName: string
|
|
26799
|
+
|
|
26800
|
+
/**
|
|
26801
|
+
*
|
|
26802
|
+
* @type {ESSecurityRoleDescriptor}
|
|
26803
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
26804
|
+
*/
|
|
26805
|
+
readonly body: ESSecurityRoleDescriptor
|
|
26806
|
+
}
|
|
26807
|
+
|
|
26808
|
+
/**
|
|
26809
|
+
* Request parameters for putElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
26810
|
+
* @export
|
|
26811
|
+
* @interface SharedApiPutElasticsearchSecurityRoleMappingRequest
|
|
26812
|
+
*/
|
|
26813
|
+
export interface SharedApiPutElasticsearchSecurityRoleMappingRequest {
|
|
26814
|
+
/**
|
|
26815
|
+
*
|
|
26816
|
+
* @type {string}
|
|
26817
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
26818
|
+
*/
|
|
26819
|
+
readonly orgName: string
|
|
26820
|
+
|
|
26821
|
+
/**
|
|
26822
|
+
*
|
|
26823
|
+
* @type {string}
|
|
26824
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
26825
|
+
*/
|
|
26826
|
+
readonly clusterName: string
|
|
26827
|
+
|
|
26828
|
+
/**
|
|
26829
|
+
*
|
|
26830
|
+
* @type {string}
|
|
26831
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
26832
|
+
*/
|
|
26833
|
+
readonly mappingName: string
|
|
26834
|
+
|
|
26835
|
+
/**
|
|
26836
|
+
*
|
|
26837
|
+
* @type {ESSecurityRoleMapping}
|
|
26838
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
26839
|
+
*/
|
|
26840
|
+
readonly body: ESSecurityRoleMapping
|
|
26841
|
+
}
|
|
26842
|
+
|
|
26843
|
+
/**
|
|
26844
|
+
* Request parameters for putElasticsearchSecurityUser operation in SharedApi.
|
|
26845
|
+
* @export
|
|
26846
|
+
* @interface SharedApiPutElasticsearchSecurityUserRequest
|
|
26847
|
+
*/
|
|
26848
|
+
export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
26849
|
+
/**
|
|
26850
|
+
*
|
|
26851
|
+
* @type {string}
|
|
26852
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
26853
|
+
*/
|
|
26854
|
+
readonly orgName: string
|
|
26855
|
+
|
|
26856
|
+
/**
|
|
26857
|
+
*
|
|
26858
|
+
* @type {string}
|
|
26859
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
26860
|
+
*/
|
|
26861
|
+
readonly clusterName: string
|
|
26862
|
+
|
|
26863
|
+
/**
|
|
26864
|
+
*
|
|
26865
|
+
* @type {string}
|
|
26866
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
26867
|
+
*/
|
|
26868
|
+
readonly username: string
|
|
26869
|
+
|
|
26870
|
+
/**
|
|
26871
|
+
*
|
|
26872
|
+
* @type {ESPutSecurityUserRequest}
|
|
26873
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
26874
|
+
*/
|
|
26875
|
+
readonly body: ESPutSecurityUserRequest
|
|
26876
|
+
}
|
|
26877
|
+
|
|
25096
26878
|
/**
|
|
25097
26879
|
* Request parameters for query operation in SharedApi.
|
|
25098
26880
|
* @export
|
|
@@ -26185,6 +27967,34 @@ export interface SharedApiUnfreezeMemberRequest {
|
|
|
26185
27967
|
readonly memberId: string
|
|
26186
27968
|
}
|
|
26187
27969
|
|
|
27970
|
+
/**
|
|
27971
|
+
* Request parameters for unlockElasticsearchSecurityUser operation in SharedApi.
|
|
27972
|
+
* @export
|
|
27973
|
+
* @interface SharedApiUnlockElasticsearchSecurityUserRequest
|
|
27974
|
+
*/
|
|
27975
|
+
export interface SharedApiUnlockElasticsearchSecurityUserRequest {
|
|
27976
|
+
/**
|
|
27977
|
+
*
|
|
27978
|
+
* @type {string}
|
|
27979
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
27980
|
+
*/
|
|
27981
|
+
readonly orgName: string
|
|
27982
|
+
|
|
27983
|
+
/**
|
|
27984
|
+
*
|
|
27985
|
+
* @type {string}
|
|
27986
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
27987
|
+
*/
|
|
27988
|
+
readonly clusterName: string
|
|
27989
|
+
|
|
27990
|
+
/**
|
|
27991
|
+
*
|
|
27992
|
+
* @type {string}
|
|
27993
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
27994
|
+
*/
|
|
27995
|
+
readonly username: string
|
|
27996
|
+
}
|
|
27997
|
+
|
|
26188
27998
|
/**
|
|
26189
27999
|
* Request parameters for updateAccount operation in SharedApi.
|
|
26190
28000
|
* @export
|
|
@@ -27013,6 +28823,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
27013
28823
|
return SharedApiFp(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
27014
28824
|
}
|
|
27015
28825
|
|
|
28826
|
+
/**
|
|
28827
|
+
*
|
|
28828
|
+
* @summary Change Elasticsearch account password
|
|
28829
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
28830
|
+
* @param {*} [options] Override http request option.
|
|
28831
|
+
* @throws {RequiredError}
|
|
28832
|
+
* @memberof SharedApi
|
|
28833
|
+
*/
|
|
28834
|
+
public changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
28835
|
+
return SharedApiFp(this.configuration).changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
28836
|
+
}
|
|
28837
|
+
|
|
27016
28838
|
/**
|
|
27017
28839
|
* check apikey available
|
|
27018
28840
|
* @summary check apikey available
|
|
@@ -27362,6 +29184,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
27362
29184
|
return SharedApiFp(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
27363
29185
|
}
|
|
27364
29186
|
|
|
29187
|
+
/**
|
|
29188
|
+
*
|
|
29189
|
+
* @summary Delete Elasticsearch security role
|
|
29190
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
29191
|
+
* @param {*} [options] Override http request option.
|
|
29192
|
+
* @throws {RequiredError}
|
|
29193
|
+
* @memberof SharedApi
|
|
29194
|
+
*/
|
|
29195
|
+
public deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
29196
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
29197
|
+
}
|
|
29198
|
+
|
|
29199
|
+
/**
|
|
29200
|
+
*
|
|
29201
|
+
* @summary Delete Elasticsearch security role mapping
|
|
29202
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
29203
|
+
* @param {*} [options] Override http request option.
|
|
29204
|
+
* @throws {RequiredError}
|
|
29205
|
+
* @memberof SharedApi
|
|
29206
|
+
*/
|
|
29207
|
+
public deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
29208
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
29209
|
+
}
|
|
29210
|
+
|
|
29211
|
+
/**
|
|
29212
|
+
*
|
|
29213
|
+
* @summary Delete Elasticsearch security user
|
|
29214
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
29215
|
+
* @param {*} [options] Override http request option.
|
|
29216
|
+
* @throws {RequiredError}
|
|
29217
|
+
* @memberof SharedApi
|
|
29218
|
+
*/
|
|
29219
|
+
public deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
29220
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
29221
|
+
}
|
|
29222
|
+
|
|
27365
29223
|
/**
|
|
27366
29224
|
*
|
|
27367
29225
|
* @summary Delete IP whitelist
|
|
@@ -27854,6 +29712,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
27854
29712
|
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));
|
|
27855
29713
|
}
|
|
27856
29714
|
|
|
29715
|
+
/**
|
|
29716
|
+
*
|
|
29717
|
+
* @summary Get Elasticsearch builtin privileges
|
|
29718
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
29719
|
+
* @param {*} [options] Override http request option.
|
|
29720
|
+
* @throws {RequiredError}
|
|
29721
|
+
* @memberof SharedApi
|
|
29722
|
+
*/
|
|
29723
|
+
public getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
29724
|
+
return SharedApiFp(this.configuration).getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
29725
|
+
}
|
|
29726
|
+
|
|
29727
|
+
/**
|
|
29728
|
+
*
|
|
29729
|
+
* @summary Get Elasticsearch security role
|
|
29730
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
29731
|
+
* @param {*} [options] Override http request option.
|
|
29732
|
+
* @throws {RequiredError}
|
|
29733
|
+
* @memberof SharedApi
|
|
29734
|
+
*/
|
|
29735
|
+
public getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
29736
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
29737
|
+
}
|
|
29738
|
+
|
|
29739
|
+
/**
|
|
29740
|
+
*
|
|
29741
|
+
* @summary Get Elasticsearch security role mapping
|
|
29742
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
29743
|
+
* @param {*} [options] Override http request option.
|
|
29744
|
+
* @throws {RequiredError}
|
|
29745
|
+
* @memberof SharedApi
|
|
29746
|
+
*/
|
|
29747
|
+
public getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
29748
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
29749
|
+
}
|
|
29750
|
+
|
|
29751
|
+
/**
|
|
29752
|
+
*
|
|
29753
|
+
* @summary Get Elasticsearch security user
|
|
29754
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
29755
|
+
* @param {*} [options] Override http request option.
|
|
29756
|
+
* @throws {RequiredError}
|
|
29757
|
+
* @memberof SharedApi
|
|
29758
|
+
*/
|
|
29759
|
+
public getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
29760
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
29761
|
+
}
|
|
29762
|
+
|
|
27857
29763
|
/**
|
|
27858
29764
|
* get engine available console
|
|
27859
29765
|
* @summary get engine available console
|
|
@@ -28381,6 +30287,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
28381
30287
|
return SharedApiFp(this.configuration).listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
28382
30288
|
}
|
|
28383
30289
|
|
|
30290
|
+
/**
|
|
30291
|
+
*
|
|
30292
|
+
* @summary List Elasticsearch security role mappings
|
|
30293
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
30294
|
+
* @param {*} [options] Override http request option.
|
|
30295
|
+
* @throws {RequiredError}
|
|
30296
|
+
* @memberof SharedApi
|
|
30297
|
+
*/
|
|
30298
|
+
public listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig) {
|
|
30299
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
30300
|
+
}
|
|
30301
|
+
|
|
30302
|
+
/**
|
|
30303
|
+
*
|
|
30304
|
+
* @summary List Elasticsearch security roles
|
|
30305
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
30306
|
+
* @param {*} [options] Override http request option.
|
|
30307
|
+
* @throws {RequiredError}
|
|
30308
|
+
* @memberof SharedApi
|
|
30309
|
+
*/
|
|
30310
|
+
public listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig) {
|
|
30311
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
30312
|
+
}
|
|
30313
|
+
|
|
30314
|
+
/**
|
|
30315
|
+
*
|
|
30316
|
+
* @summary List Elasticsearch security users
|
|
30317
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
30318
|
+
* @param {*} [options] Override http request option.
|
|
30319
|
+
* @throws {RequiredError}
|
|
30320
|
+
* @memberof SharedApi
|
|
30321
|
+
*/
|
|
30322
|
+
public listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig) {
|
|
30323
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
30324
|
+
}
|
|
30325
|
+
|
|
28384
30326
|
/**
|
|
28385
30327
|
*
|
|
28386
30328
|
* @summary List cluster endpoints
|
|
@@ -28918,6 +30860,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
28918
30860
|
return SharedApiFp(this.configuration).listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
28919
30861
|
}
|
|
28920
30862
|
|
|
30863
|
+
/**
|
|
30864
|
+
*
|
|
30865
|
+
* @summary Lock Elasticsearch account
|
|
30866
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
30867
|
+
* @param {*} [options] Override http request option.
|
|
30868
|
+
* @throws {RequiredError}
|
|
30869
|
+
* @memberof SharedApi
|
|
30870
|
+
*/
|
|
30871
|
+
public lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
30872
|
+
return SharedApiFp(this.configuration).lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
30873
|
+
}
|
|
30874
|
+
|
|
28921
30875
|
/**
|
|
28922
30876
|
*
|
|
28923
30877
|
* @summary batch modify database tde status
|
|
@@ -29026,6 +30980,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
29026
30980
|
return SharedApiFp(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
29027
30981
|
}
|
|
29028
30982
|
|
|
30983
|
+
/**
|
|
30984
|
+
*
|
|
30985
|
+
* @summary Create or update Elasticsearch security role
|
|
30986
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
30987
|
+
* @param {*} [options] Override http request option.
|
|
30988
|
+
* @throws {RequiredError}
|
|
30989
|
+
* @memberof SharedApi
|
|
30990
|
+
*/
|
|
30991
|
+
public putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
30992
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
30993
|
+
}
|
|
30994
|
+
|
|
30995
|
+
/**
|
|
30996
|
+
*
|
|
30997
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
30998
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
30999
|
+
* @param {*} [options] Override http request option.
|
|
31000
|
+
* @throws {RequiredError}
|
|
31001
|
+
* @memberof SharedApi
|
|
31002
|
+
*/
|
|
31003
|
+
public putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
31004
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
31005
|
+
}
|
|
31006
|
+
|
|
31007
|
+
/**
|
|
31008
|
+
*
|
|
31009
|
+
* @summary Create or update Elasticsearch security user
|
|
31010
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
31011
|
+
* @param {*} [options] Override http request option.
|
|
31012
|
+
* @throws {RequiredError}
|
|
31013
|
+
* @memberof SharedApi
|
|
31014
|
+
*/
|
|
31015
|
+
public putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
31016
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
31017
|
+
}
|
|
31018
|
+
|
|
29029
31019
|
/**
|
|
29030
31020
|
*
|
|
29031
31021
|
* @summary create a SQL query
|
|
@@ -29385,6 +31375,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
29385
31375
|
return SharedApiFp(this.configuration).unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(this.axios, this.basePath));
|
|
29386
31376
|
}
|
|
29387
31377
|
|
|
31378
|
+
/**
|
|
31379
|
+
*
|
|
31380
|
+
* @summary Unlock Elasticsearch account
|
|
31381
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
31382
|
+
* @param {*} [options] Override http request option.
|
|
31383
|
+
* @throws {RequiredError}
|
|
31384
|
+
* @memberof SharedApi
|
|
31385
|
+
*/
|
|
31386
|
+
public unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
31387
|
+
return SharedApiFp(this.configuration).unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
31388
|
+
}
|
|
31389
|
+
|
|
29388
31390
|
/**
|
|
29389
31391
|
* update an account in cluster
|
|
29390
31392
|
* @summary update cluster account
|