kb-cloud-client-typescript 2.3.0-alpha.174 → 2.3.0-alpha.176
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 +2 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +2 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +568 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +636 -0
- package/dist/adminapi/apis/account-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/hive-api.d.ts +334 -0
- package/dist/adminapi/apis/hive-api.d.ts.map +1 -0
- package/dist/adminapi/apis/hive-api.js +382 -0
- package/dist/adminapi/apis/hive-api.js.map +1 -0
- package/dist/adminapi/apis/kafka-api.d.ts +286 -0
- package/dist/adminapi/apis/kafka-api.d.ts.map +1 -1
- package/dist/adminapi/apis/kafka-api.js +318 -0
- package/dist/adminapi/apis/kafka-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +1787 -46
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +2060 -156
- package/dist/adminapi/apis/shared-api.js.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/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 +14 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/account-api.ts +1046 -46
- package/src/adminapi/apis/elasticsearch-api.ts +2072 -0
- package/src/adminapi/apis/hive-api.ts +574 -0
- package/src/adminapi/apis/kafka-api.ts +504 -0
- package/src/adminapi/apis/shared-api.ts +3171 -169
- 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 +1419 -208
- 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 +2229 -227
- 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 +863 -0
|
@@ -174,6 +174,16 @@ import type { DmsTaskInfo } from '../models';
|
|
|
174
174
|
// @ts-ignore
|
|
175
175
|
import type { DmsTaskList } from '../models';
|
|
176
176
|
// @ts-ignore
|
|
177
|
+
import type { ESPutSecurityUserRequest } from '../models';
|
|
178
|
+
// @ts-ignore
|
|
179
|
+
import type { ESSecurityPasswordRequest } from '../models';
|
|
180
|
+
// @ts-ignore
|
|
181
|
+
import type { ESSecurityRoleDescriptor } from '../models';
|
|
182
|
+
// @ts-ignore
|
|
183
|
+
import type { ESSecurityRoleMapping } from '../models';
|
|
184
|
+
// @ts-ignore
|
|
185
|
+
import type { ESSecurityUser } from '../models';
|
|
186
|
+
// @ts-ignore
|
|
177
187
|
import type { EndpointList } from '../models';
|
|
178
188
|
// @ts-ignore
|
|
179
189
|
import type { Engine } from '../models';
|
|
@@ -939,6 +949,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
939
949
|
|
|
940
950
|
|
|
941
951
|
|
|
952
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
953
|
+
|
|
954
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
955
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
956
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
957
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
958
|
+
|
|
959
|
+
return {
|
|
960
|
+
url: toPathString(localVarUrlObj),
|
|
961
|
+
options: localVarRequestOptions,
|
|
962
|
+
};
|
|
963
|
+
},
|
|
964
|
+
/**
|
|
965
|
+
*
|
|
966
|
+
* @summary Change Elasticsearch account password
|
|
967
|
+
* @param {string} orgName
|
|
968
|
+
* @param {string} clusterName
|
|
969
|
+
* @param {string} username
|
|
970
|
+
* @param {ESSecurityPasswordRequest} body
|
|
971
|
+
* @param {*} [options] Override http request option.
|
|
972
|
+
* @throws {RequiredError}
|
|
973
|
+
*/
|
|
974
|
+
changeElasticsearchSecurityUserPassword: async (orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
975
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
976
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'orgName', orgName)
|
|
977
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
978
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'clusterName', clusterName)
|
|
979
|
+
// verify required parameter 'username' is not null or undefined
|
|
980
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'username', username)
|
|
981
|
+
// verify required parameter 'body' is not null or undefined
|
|
982
|
+
assertParamExists('changeElasticsearchSecurityUserPassword', 'body', body)
|
|
983
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
984
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
985
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
986
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
987
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
988
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
989
|
+
let baseOptions;
|
|
990
|
+
if (configuration) {
|
|
991
|
+
baseOptions = configuration.baseOptions;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
995
|
+
const localVarHeaderParameter = {} as any;
|
|
996
|
+
const localVarQueryParameter = {} as any;
|
|
997
|
+
|
|
998
|
+
// authentication BearerToken required
|
|
999
|
+
// http bearer authentication required
|
|
1000
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1001
|
+
|
|
1002
|
+
// authentication DigestAuth required
|
|
1003
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
942
1007
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
943
1008
|
|
|
944
1009
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2654,6 +2719,153 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2654
2719
|
|
|
2655
2720
|
|
|
2656
2721
|
|
|
2722
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2723
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2724
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2725
|
+
|
|
2726
|
+
return {
|
|
2727
|
+
url: toPathString(localVarUrlObj),
|
|
2728
|
+
options: localVarRequestOptions,
|
|
2729
|
+
};
|
|
2730
|
+
},
|
|
2731
|
+
/**
|
|
2732
|
+
*
|
|
2733
|
+
* @summary Delete Elasticsearch security role
|
|
2734
|
+
* @param {string} orgName
|
|
2735
|
+
* @param {string} clusterName
|
|
2736
|
+
* @param {string} roleName
|
|
2737
|
+
* @param {*} [options] Override http request option.
|
|
2738
|
+
* @throws {RequiredError}
|
|
2739
|
+
*/
|
|
2740
|
+
deleteElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2741
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2742
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'orgName', orgName)
|
|
2743
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2744
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
2745
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2746
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'roleName', roleName)
|
|
2747
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2748
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2749
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2750
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2751
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2752
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2753
|
+
let baseOptions;
|
|
2754
|
+
if (configuration) {
|
|
2755
|
+
baseOptions = configuration.baseOptions;
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2759
|
+
const localVarHeaderParameter = {} as any;
|
|
2760
|
+
const localVarQueryParameter = {} as any;
|
|
2761
|
+
|
|
2762
|
+
// authentication BearerToken required
|
|
2763
|
+
// http bearer authentication required
|
|
2764
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2765
|
+
|
|
2766
|
+
// authentication DigestAuth required
|
|
2767
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2772
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2773
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2774
|
+
|
|
2775
|
+
return {
|
|
2776
|
+
url: toPathString(localVarUrlObj),
|
|
2777
|
+
options: localVarRequestOptions,
|
|
2778
|
+
};
|
|
2779
|
+
},
|
|
2780
|
+
/**
|
|
2781
|
+
*
|
|
2782
|
+
* @summary Delete Elasticsearch security role mapping
|
|
2783
|
+
* @param {string} orgName
|
|
2784
|
+
* @param {string} clusterName
|
|
2785
|
+
* @param {string} mappingName
|
|
2786
|
+
* @param {*} [options] Override http request option.
|
|
2787
|
+
* @throws {RequiredError}
|
|
2788
|
+
*/
|
|
2789
|
+
deleteElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2790
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2791
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
2792
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2793
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
2794
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
2795
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
2796
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
2797
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2798
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2799
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
2800
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2801
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2802
|
+
let baseOptions;
|
|
2803
|
+
if (configuration) {
|
|
2804
|
+
baseOptions = configuration.baseOptions;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2808
|
+
const localVarHeaderParameter = {} as any;
|
|
2809
|
+
const localVarQueryParameter = {} as any;
|
|
2810
|
+
|
|
2811
|
+
// authentication BearerToken required
|
|
2812
|
+
// http bearer authentication required
|
|
2813
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2814
|
+
|
|
2815
|
+
// authentication DigestAuth required
|
|
2816
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2821
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2822
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2823
|
+
|
|
2824
|
+
return {
|
|
2825
|
+
url: toPathString(localVarUrlObj),
|
|
2826
|
+
options: localVarRequestOptions,
|
|
2827
|
+
};
|
|
2828
|
+
},
|
|
2829
|
+
/**
|
|
2830
|
+
*
|
|
2831
|
+
* @summary Delete Elasticsearch security user
|
|
2832
|
+
* @param {string} orgName
|
|
2833
|
+
* @param {string} clusterName
|
|
2834
|
+
* @param {string} username
|
|
2835
|
+
* @param {*} [options] Override http request option.
|
|
2836
|
+
* @throws {RequiredError}
|
|
2837
|
+
*/
|
|
2838
|
+
deleteElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2839
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2840
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'orgName', orgName)
|
|
2841
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2842
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
2843
|
+
// verify required parameter 'username' is not null or undefined
|
|
2844
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'username', username)
|
|
2845
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
2846
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2847
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2848
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2849
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2850
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2851
|
+
let baseOptions;
|
|
2852
|
+
if (configuration) {
|
|
2853
|
+
baseOptions = configuration.baseOptions;
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2857
|
+
const localVarHeaderParameter = {} as any;
|
|
2858
|
+
const localVarQueryParameter = {} as any;
|
|
2859
|
+
|
|
2860
|
+
// authentication BearerToken required
|
|
2861
|
+
// http bearer authentication required
|
|
2862
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2863
|
+
|
|
2864
|
+
// authentication DigestAuth required
|
|
2865
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
|
|
2657
2869
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2658
2870
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2659
2871
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5401,23 +5613,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5401
5613
|
};
|
|
5402
5614
|
},
|
|
5403
5615
|
/**
|
|
5404
|
-
*
|
|
5405
|
-
* @summary
|
|
5406
|
-
* @param {string}
|
|
5407
|
-
* @param {string}
|
|
5408
|
-
* @param {string} clusterName name of the cluster
|
|
5616
|
+
*
|
|
5617
|
+
* @summary Get Elasticsearch builtin privileges
|
|
5618
|
+
* @param {string} orgName
|
|
5619
|
+
* @param {string} clusterName
|
|
5409
5620
|
* @param {*} [options] Override http request option.
|
|
5410
5621
|
* @throws {RequiredError}
|
|
5411
5622
|
*/
|
|
5412
|
-
|
|
5413
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
5414
|
-
assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
|
|
5623
|
+
getElasticsearchBuiltinPrivileges: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5415
5624
|
// verify required parameter 'orgName' is not null or undefined
|
|
5416
|
-
assertParamExists('
|
|
5625
|
+
assertParamExists('getElasticsearchBuiltinPrivileges', 'orgName', orgName)
|
|
5417
5626
|
// verify required parameter 'clusterName' is not null or undefined
|
|
5418
|
-
assertParamExists('
|
|
5419
|
-
const localVarPath = `/api/v1/data/
|
|
5420
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5627
|
+
assertParamExists('getElasticsearchBuiltinPrivileges', 'clusterName', clusterName)
|
|
5628
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/privileges/builtin`
|
|
5421
5629
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5422
5630
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5423
5631
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5450,21 +5658,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5450
5658
|
};
|
|
5451
5659
|
},
|
|
5452
5660
|
/**
|
|
5453
|
-
*
|
|
5454
|
-
* @summary Get
|
|
5455
|
-
* @param {string} orgName
|
|
5456
|
-
* @param {string} clusterName
|
|
5661
|
+
*
|
|
5662
|
+
* @summary Get Elasticsearch security role
|
|
5663
|
+
* @param {string} orgName
|
|
5664
|
+
* @param {string} clusterName
|
|
5665
|
+
* @param {string} roleName
|
|
5457
5666
|
* @param {*} [options] Override http request option.
|
|
5458
5667
|
* @throws {RequiredError}
|
|
5459
5668
|
*/
|
|
5460
|
-
|
|
5669
|
+
getElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5461
5670
|
// verify required parameter 'orgName' is not null or undefined
|
|
5462
|
-
assertParamExists('
|
|
5671
|
+
assertParamExists('getElasticsearchSecurityRole', 'orgName', orgName)
|
|
5463
5672
|
// verify required parameter 'clusterName' is not null or undefined
|
|
5464
|
-
assertParamExists('
|
|
5465
|
-
|
|
5673
|
+
assertParamExists('getElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
5674
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
5675
|
+
assertParamExists('getElasticsearchSecurityRole', 'roleName', roleName)
|
|
5676
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
5466
5677
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5467
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5678
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5679
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
5468
5680
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5469
5681
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5470
5682
|
let baseOptions;
|
|
@@ -5495,25 +5707,217 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5495
5707
|
};
|
|
5496
5708
|
},
|
|
5497
5709
|
/**
|
|
5498
|
-
*
|
|
5499
|
-
* @summary Get
|
|
5500
|
-
* @param {string} orgName
|
|
5501
|
-
* @param {string} clusterName
|
|
5502
|
-
* @param {string}
|
|
5710
|
+
*
|
|
5711
|
+
* @summary Get Elasticsearch security role mapping
|
|
5712
|
+
* @param {string} orgName
|
|
5713
|
+
* @param {string} clusterName
|
|
5714
|
+
* @param {string} mappingName
|
|
5503
5715
|
* @param {*} [options] Override http request option.
|
|
5504
5716
|
* @throws {RequiredError}
|
|
5505
5717
|
*/
|
|
5506
|
-
|
|
5718
|
+
getElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5507
5719
|
// verify required parameter 'orgName' is not null or undefined
|
|
5508
|
-
assertParamExists('
|
|
5720
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
5509
5721
|
// verify required parameter 'clusterName' is not null or undefined
|
|
5510
|
-
assertParamExists('
|
|
5511
|
-
// verify required parameter '
|
|
5512
|
-
assertParamExists('
|
|
5513
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
5722
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
5723
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
5724
|
+
assertParamExists('getElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
5725
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
5514
5726
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5515
5727
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5516
|
-
.replace(`{${"
|
|
5728
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
5729
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5730
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5731
|
+
let baseOptions;
|
|
5732
|
+
if (configuration) {
|
|
5733
|
+
baseOptions = configuration.baseOptions;
|
|
5734
|
+
}
|
|
5735
|
+
|
|
5736
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5737
|
+
const localVarHeaderParameter = {} as any;
|
|
5738
|
+
const localVarQueryParameter = {} as any;
|
|
5739
|
+
|
|
5740
|
+
// authentication BearerToken required
|
|
5741
|
+
// http bearer authentication required
|
|
5742
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5743
|
+
|
|
5744
|
+
// authentication DigestAuth required
|
|
5745
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5746
|
+
|
|
5747
|
+
|
|
5748
|
+
|
|
5749
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5750
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5751
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5752
|
+
|
|
5753
|
+
return {
|
|
5754
|
+
url: toPathString(localVarUrlObj),
|
|
5755
|
+
options: localVarRequestOptions,
|
|
5756
|
+
};
|
|
5757
|
+
},
|
|
5758
|
+
/**
|
|
5759
|
+
*
|
|
5760
|
+
* @summary Get Elasticsearch security user
|
|
5761
|
+
* @param {string} orgName
|
|
5762
|
+
* @param {string} clusterName
|
|
5763
|
+
* @param {string} username
|
|
5764
|
+
* @param {*} [options] Override http request option.
|
|
5765
|
+
* @throws {RequiredError}
|
|
5766
|
+
*/
|
|
5767
|
+
getElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5768
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5769
|
+
assertParamExists('getElasticsearchSecurityUser', 'orgName', orgName)
|
|
5770
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5771
|
+
assertParamExists('getElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
5772
|
+
// verify required parameter 'username' is not null or undefined
|
|
5773
|
+
assertParamExists('getElasticsearchSecurityUser', 'username', username)
|
|
5774
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
5775
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5776
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5777
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
5778
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5779
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5780
|
+
let baseOptions;
|
|
5781
|
+
if (configuration) {
|
|
5782
|
+
baseOptions = configuration.baseOptions;
|
|
5783
|
+
}
|
|
5784
|
+
|
|
5785
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5786
|
+
const localVarHeaderParameter = {} as any;
|
|
5787
|
+
const localVarQueryParameter = {} as any;
|
|
5788
|
+
|
|
5789
|
+
// authentication BearerToken required
|
|
5790
|
+
// http bearer authentication required
|
|
5791
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5792
|
+
|
|
5793
|
+
// authentication DigestAuth required
|
|
5794
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5795
|
+
|
|
5796
|
+
|
|
5797
|
+
|
|
5798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5800
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5801
|
+
|
|
5802
|
+
return {
|
|
5803
|
+
url: toPathString(localVarUrlObj),
|
|
5804
|
+
options: localVarRequestOptions,
|
|
5805
|
+
};
|
|
5806
|
+
},
|
|
5807
|
+
/**
|
|
5808
|
+
* get engine available console
|
|
5809
|
+
* @summary get engine available console
|
|
5810
|
+
* @param {string} engineName name of the engine
|
|
5811
|
+
* @param {string} orgName name of the Org
|
|
5812
|
+
* @param {string} clusterName name of the cluster
|
|
5813
|
+
* @param {*} [options] Override http request option.
|
|
5814
|
+
* @throws {RequiredError}
|
|
5815
|
+
*/
|
|
5816
|
+
getEngineAvailableConsole: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5817
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5818
|
+
assertParamExists('getEngineAvailableConsole', 'engineName', engineName)
|
|
5819
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5820
|
+
assertParamExists('getEngineAvailableConsole', 'orgName', orgName)
|
|
5821
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5822
|
+
assertParamExists('getEngineAvailableConsole', 'clusterName', clusterName)
|
|
5823
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/console`
|
|
5824
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5825
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5826
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5827
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5828
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5829
|
+
let baseOptions;
|
|
5830
|
+
if (configuration) {
|
|
5831
|
+
baseOptions = configuration.baseOptions;
|
|
5832
|
+
}
|
|
5833
|
+
|
|
5834
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5835
|
+
const localVarHeaderParameter = {} as any;
|
|
5836
|
+
const localVarQueryParameter = {} as any;
|
|
5837
|
+
|
|
5838
|
+
// authentication BearerToken required
|
|
5839
|
+
// http bearer authentication required
|
|
5840
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5841
|
+
|
|
5842
|
+
// authentication DigestAuth required
|
|
5843
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5844
|
+
|
|
5845
|
+
|
|
5846
|
+
|
|
5847
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5849
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5850
|
+
|
|
5851
|
+
return {
|
|
5852
|
+
url: toPathString(localVarUrlObj),
|
|
5853
|
+
options: localVarRequestOptions,
|
|
5854
|
+
};
|
|
5855
|
+
},
|
|
5856
|
+
/**
|
|
5857
|
+
* Get Hive accounts
|
|
5858
|
+
* @summary Get Hive accounts
|
|
5859
|
+
* @param {string} orgName The name of organization
|
|
5860
|
+
* @param {string} clusterName The name of cluster
|
|
5861
|
+
* @param {*} [options] Override http request option.
|
|
5862
|
+
* @throws {RequiredError}
|
|
5863
|
+
*/
|
|
5864
|
+
getHiveAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5865
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5866
|
+
assertParamExists('getHiveAccounts', 'orgName', orgName)
|
|
5867
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5868
|
+
assertParamExists('getHiveAccounts', 'clusterName', clusterName)
|
|
5869
|
+
const localVarPath = `/api/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
5870
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5871
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5874
|
+
let baseOptions;
|
|
5875
|
+
if (configuration) {
|
|
5876
|
+
baseOptions = configuration.baseOptions;
|
|
5877
|
+
}
|
|
5878
|
+
|
|
5879
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5880
|
+
const localVarHeaderParameter = {} as any;
|
|
5881
|
+
const localVarQueryParameter = {} as any;
|
|
5882
|
+
|
|
5883
|
+
// authentication BearerToken required
|
|
5884
|
+
// http bearer authentication required
|
|
5885
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5886
|
+
|
|
5887
|
+
// authentication DigestAuth required
|
|
5888
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5889
|
+
|
|
5890
|
+
|
|
5891
|
+
|
|
5892
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5893
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5894
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5895
|
+
|
|
5896
|
+
return {
|
|
5897
|
+
url: toPathString(localVarUrlObj),
|
|
5898
|
+
options: localVarRequestOptions,
|
|
5899
|
+
};
|
|
5900
|
+
},
|
|
5901
|
+
/**
|
|
5902
|
+
* Retrieves detailed information about a specific data import preflight task by its ID
|
|
5903
|
+
* @summary Get preflight task details
|
|
5904
|
+
* @param {string} orgName Organization name
|
|
5905
|
+
* @param {string} clusterName Cluster name
|
|
5906
|
+
* @param {string} taskId Preflight task ID
|
|
5907
|
+
* @param {*} [options] Override http request option.
|
|
5908
|
+
* @throws {RequiredError}
|
|
5909
|
+
*/
|
|
5910
|
+
getImportPreflightTask: async (orgName: string, clusterName: string, taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5911
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5912
|
+
assertParamExists('getImportPreflightTask', 'orgName', orgName)
|
|
5913
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5914
|
+
assertParamExists('getImportPreflightTask', 'clusterName', clusterName)
|
|
5915
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
5916
|
+
assertParamExists('getImportPreflightTask', 'taskId', taskId)
|
|
5917
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/import/preflight/{taskId}`
|
|
5918
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5919
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5920
|
+
.replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
|
|
5517
5921
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5518
5922
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5519
5923
|
let baseOptions;
|
|
@@ -7863,6 +8267,141 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7863
8267
|
|
|
7864
8268
|
|
|
7865
8269
|
|
|
8270
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8271
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8272
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8273
|
+
|
|
8274
|
+
return {
|
|
8275
|
+
url: toPathString(localVarUrlObj),
|
|
8276
|
+
options: localVarRequestOptions,
|
|
8277
|
+
};
|
|
8278
|
+
},
|
|
8279
|
+
/**
|
|
8280
|
+
*
|
|
8281
|
+
* @summary List Elasticsearch security role mappings
|
|
8282
|
+
* @param {string} orgName
|
|
8283
|
+
* @param {string} clusterName
|
|
8284
|
+
* @param {*} [options] Override http request option.
|
|
8285
|
+
* @throws {RequiredError}
|
|
8286
|
+
*/
|
|
8287
|
+
listElasticsearchSecurityRoleMappings: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8288
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8289
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'orgName', orgName)
|
|
8290
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8291
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'clusterName', clusterName)
|
|
8292
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings`
|
|
8293
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8294
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8295
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8296
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8297
|
+
let baseOptions;
|
|
8298
|
+
if (configuration) {
|
|
8299
|
+
baseOptions = configuration.baseOptions;
|
|
8300
|
+
}
|
|
8301
|
+
|
|
8302
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8303
|
+
const localVarHeaderParameter = {} as any;
|
|
8304
|
+
const localVarQueryParameter = {} as any;
|
|
8305
|
+
|
|
8306
|
+
// authentication BearerToken required
|
|
8307
|
+
// http bearer authentication required
|
|
8308
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8309
|
+
|
|
8310
|
+
// authentication DigestAuth required
|
|
8311
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8312
|
+
|
|
8313
|
+
|
|
8314
|
+
|
|
8315
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8316
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8317
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8318
|
+
|
|
8319
|
+
return {
|
|
8320
|
+
url: toPathString(localVarUrlObj),
|
|
8321
|
+
options: localVarRequestOptions,
|
|
8322
|
+
};
|
|
8323
|
+
},
|
|
8324
|
+
/**
|
|
8325
|
+
*
|
|
8326
|
+
* @summary List Elasticsearch security roles
|
|
8327
|
+
* @param {string} orgName
|
|
8328
|
+
* @param {string} clusterName
|
|
8329
|
+
* @param {*} [options] Override http request option.
|
|
8330
|
+
* @throws {RequiredError}
|
|
8331
|
+
*/
|
|
8332
|
+
listElasticsearchSecurityRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8333
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8334
|
+
assertParamExists('listElasticsearchSecurityRoles', 'orgName', orgName)
|
|
8335
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8336
|
+
assertParamExists('listElasticsearchSecurityRoles', 'clusterName', clusterName)
|
|
8337
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
8338
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8339
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8341
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8342
|
+
let baseOptions;
|
|
8343
|
+
if (configuration) {
|
|
8344
|
+
baseOptions = configuration.baseOptions;
|
|
8345
|
+
}
|
|
8346
|
+
|
|
8347
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8348
|
+
const localVarHeaderParameter = {} as any;
|
|
8349
|
+
const localVarQueryParameter = {} as any;
|
|
8350
|
+
|
|
8351
|
+
// authentication BearerToken required
|
|
8352
|
+
// http bearer authentication required
|
|
8353
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8354
|
+
|
|
8355
|
+
// authentication DigestAuth required
|
|
8356
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8357
|
+
|
|
8358
|
+
|
|
8359
|
+
|
|
8360
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8362
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8363
|
+
|
|
8364
|
+
return {
|
|
8365
|
+
url: toPathString(localVarUrlObj),
|
|
8366
|
+
options: localVarRequestOptions,
|
|
8367
|
+
};
|
|
8368
|
+
},
|
|
8369
|
+
/**
|
|
8370
|
+
*
|
|
8371
|
+
* @summary List Elasticsearch security users
|
|
8372
|
+
* @param {string} orgName
|
|
8373
|
+
* @param {string} clusterName
|
|
8374
|
+
* @param {*} [options] Override http request option.
|
|
8375
|
+
* @throws {RequiredError}
|
|
8376
|
+
*/
|
|
8377
|
+
listElasticsearchSecurityUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8378
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8379
|
+
assertParamExists('listElasticsearchSecurityUsers', 'orgName', orgName)
|
|
8380
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8381
|
+
assertParamExists('listElasticsearchSecurityUsers', 'clusterName', clusterName)
|
|
8382
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8383
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8384
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8385
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8386
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8387
|
+
let baseOptions;
|
|
8388
|
+
if (configuration) {
|
|
8389
|
+
baseOptions = configuration.baseOptions;
|
|
8390
|
+
}
|
|
8391
|
+
|
|
8392
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8393
|
+
const localVarHeaderParameter = {} as any;
|
|
8394
|
+
const localVarQueryParameter = {} as any;
|
|
8395
|
+
|
|
8396
|
+
// authentication BearerToken required
|
|
8397
|
+
// http bearer authentication required
|
|
8398
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8399
|
+
|
|
8400
|
+
// authentication DigestAuth required
|
|
8401
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8402
|
+
|
|
8403
|
+
|
|
8404
|
+
|
|
7866
8405
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7867
8406
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7868
8407
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10067,6 +10606,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10067
10606
|
|
|
10068
10607
|
|
|
10069
10608
|
|
|
10609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10611
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10612
|
+
|
|
10613
|
+
return {
|
|
10614
|
+
url: toPathString(localVarUrlObj),
|
|
10615
|
+
options: localVarRequestOptions,
|
|
10616
|
+
};
|
|
10617
|
+
},
|
|
10618
|
+
/**
|
|
10619
|
+
*
|
|
10620
|
+
* @summary Lock Elasticsearch account
|
|
10621
|
+
* @param {string} orgName
|
|
10622
|
+
* @param {string} clusterName
|
|
10623
|
+
* @param {string} username
|
|
10624
|
+
* @param {*} [options] Override http request option.
|
|
10625
|
+
* @throws {RequiredError}
|
|
10626
|
+
*/
|
|
10627
|
+
lockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10628
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10629
|
+
assertParamExists('lockElasticsearchSecurityUser', 'orgName', orgName)
|
|
10630
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10631
|
+
assertParamExists('lockElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
10632
|
+
// verify required parameter 'username' is not null or undefined
|
|
10633
|
+
assertParamExists('lockElasticsearchSecurityUser', 'username', username)
|
|
10634
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/lock`
|
|
10635
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10636
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10637
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
10638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10639
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10640
|
+
let baseOptions;
|
|
10641
|
+
if (configuration) {
|
|
10642
|
+
baseOptions = configuration.baseOptions;
|
|
10643
|
+
}
|
|
10644
|
+
|
|
10645
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
10646
|
+
const localVarHeaderParameter = {} as any;
|
|
10647
|
+
const localVarQueryParameter = {} as any;
|
|
10648
|
+
|
|
10649
|
+
// authentication BearerToken required
|
|
10650
|
+
// http bearer authentication required
|
|
10651
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10652
|
+
|
|
10653
|
+
// authentication DigestAuth required
|
|
10654
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10655
|
+
|
|
10656
|
+
|
|
10657
|
+
|
|
10070
10658
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10071
10659
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10072
10660
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10525,27 +11113,27 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10525
11113
|
},
|
|
10526
11114
|
/**
|
|
10527
11115
|
*
|
|
10528
|
-
* @summary
|
|
10529
|
-
* @param {string} orgName
|
|
10530
|
-
* @param {string} clusterName
|
|
10531
|
-
* @param {string}
|
|
10532
|
-
* @param {
|
|
11116
|
+
* @summary Create or update Elasticsearch security role
|
|
11117
|
+
* @param {string} orgName
|
|
11118
|
+
* @param {string} clusterName
|
|
11119
|
+
* @param {string} roleName
|
|
11120
|
+
* @param {ESSecurityRoleDescriptor} body
|
|
10533
11121
|
* @param {*} [options] Override http request option.
|
|
10534
11122
|
* @throws {RequiredError}
|
|
10535
11123
|
*/
|
|
10536
|
-
|
|
11124
|
+
putElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10537
11125
|
// verify required parameter 'orgName' is not null or undefined
|
|
10538
|
-
assertParamExists('
|
|
11126
|
+
assertParamExists('putElasticsearchSecurityRole', 'orgName', orgName)
|
|
10539
11127
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10540
|
-
assertParamExists('
|
|
10541
|
-
// verify required parameter '
|
|
10542
|
-
assertParamExists('
|
|
10543
|
-
// verify required parameter '
|
|
10544
|
-
assertParamExists('
|
|
10545
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
11128
|
+
assertParamExists('putElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
11129
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
11130
|
+
assertParamExists('putElasticsearchSecurityRole', 'roleName', roleName)
|
|
11131
|
+
// verify required parameter 'body' is not null or undefined
|
|
11132
|
+
assertParamExists('putElasticsearchSecurityRole', 'body', body)
|
|
11133
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
10546
11134
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10547
11135
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10548
|
-
.replace(`{${"
|
|
11136
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
10549
11137
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10550
11138
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10551
11139
|
let baseOptions;
|
|
@@ -10553,7 +11141,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10553
11141
|
baseOptions = configuration.baseOptions;
|
|
10554
11142
|
}
|
|
10555
11143
|
|
|
10556
|
-
const localVarRequestOptions = { method: '
|
|
11144
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10557
11145
|
const localVarHeaderParameter = {} as any;
|
|
10558
11146
|
const localVarQueryParameter = {} as any;
|
|
10559
11147
|
|
|
@@ -10571,7 +11159,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10571
11159
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10572
11160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10573
11161
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10574
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11162
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
10575
11163
|
|
|
10576
11164
|
return {
|
|
10577
11165
|
url: toPathString(localVarUrlObj),
|
|
@@ -10579,31 +11167,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10579
11167
|
};
|
|
10580
11168
|
},
|
|
10581
11169
|
/**
|
|
10582
|
-
*
|
|
10583
|
-
* @summary
|
|
11170
|
+
*
|
|
11171
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
10584
11172
|
* @param {string} orgName
|
|
10585
11173
|
* @param {string} clusterName
|
|
10586
|
-
* @param {string}
|
|
10587
|
-
* @param {
|
|
10588
|
-
* @param {string} [limit]
|
|
10589
|
-
* @param {string} [componentName]
|
|
10590
|
-
* @param {string} [instanceName]
|
|
10591
|
-
* @param {SortType} [sortType]
|
|
11174
|
+
* @param {string} mappingName
|
|
11175
|
+
* @param {ESSecurityRoleMapping} body
|
|
10592
11176
|
* @param {*} [options] Override http request option.
|
|
10593
11177
|
* @throws {RequiredError}
|
|
10594
11178
|
*/
|
|
10595
|
-
|
|
11179
|
+
putElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10596
11180
|
// verify required parameter 'orgName' is not null or undefined
|
|
10597
|
-
assertParamExists('
|
|
11181
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
10598
11182
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10599
|
-
assertParamExists('
|
|
10600
|
-
// verify required parameter '
|
|
10601
|
-
assertParamExists('
|
|
10602
|
-
// verify required parameter '
|
|
10603
|
-
assertParamExists('
|
|
10604
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
11183
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
11184
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
11185
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
11186
|
+
// verify required parameter 'body' is not null or undefined
|
|
11187
|
+
assertParamExists('putElasticsearchSecurityRoleMapping', 'body', body)
|
|
11188
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
10605
11189
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10606
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11190
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11191
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
10607
11192
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10608
11193
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10609
11194
|
let baseOptions;
|
|
@@ -10611,7 +11196,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10611
11196
|
baseOptions = configuration.baseOptions;
|
|
10612
11197
|
}
|
|
10613
11198
|
|
|
10614
|
-
const localVarRequestOptions = { method: '
|
|
11199
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10615
11200
|
const localVarHeaderParameter = {} as any;
|
|
10616
11201
|
const localVarQueryParameter = {} as any;
|
|
10617
11202
|
|
|
@@ -10622,108 +11207,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10622
11207
|
// authentication DigestAuth required
|
|
10623
11208
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10624
11209
|
|
|
10625
|
-
if (startTime !== undefined) {
|
|
10626
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
10627
|
-
}
|
|
10628
|
-
|
|
10629
|
-
if (endTime !== undefined) {
|
|
10630
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
10631
|
-
}
|
|
10632
|
-
|
|
10633
|
-
if (limit !== undefined) {
|
|
10634
|
-
localVarQueryParameter['limit'] = limit;
|
|
10635
|
-
}
|
|
10636
|
-
|
|
10637
|
-
if (componentName !== undefined) {
|
|
10638
|
-
localVarQueryParameter['componentName'] = componentName;
|
|
10639
|
-
}
|
|
10640
|
-
|
|
10641
|
-
if (instanceName !== undefined) {
|
|
10642
|
-
localVarQueryParameter['instanceName'] = instanceName;
|
|
10643
|
-
}
|
|
10644
|
-
|
|
10645
|
-
if (sortType !== undefined) {
|
|
10646
|
-
localVarQueryParameter['sortType'] = sortType;
|
|
10647
|
-
}
|
|
10648
|
-
|
|
10649
11210
|
|
|
10650
11211
|
|
|
10651
|
-
|
|
10652
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10653
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10654
|
-
|
|
10655
|
-
return {
|
|
10656
|
-
url: toPathString(localVarUrlObj),
|
|
10657
|
-
options: localVarRequestOptions,
|
|
10658
|
-
};
|
|
10659
|
-
},
|
|
10660
|
-
/**
|
|
10661
|
-
* Query cluster metrics by specified metric name and instance name, support instant and range query
|
|
10662
|
-
* @summary Query cluster metrics
|
|
10663
|
-
* @param {string} orgName name of the Org
|
|
10664
|
-
* @param {string} clusterName name of the cluster
|
|
10665
|
-
* @param {string} query The promQL query string
|
|
10666
|
-
* @param {MetricsQueryType} queryType The query type in the query, if use instant, the query will return the lastest instant value, if use range, the query will return a list of values in the time range
|
|
10667
|
-
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
10668
|
-
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
10669
|
-
* @param {*} [options] Override http request option.
|
|
10670
|
-
* @throws {RequiredError}
|
|
10671
|
-
*/
|
|
10672
|
-
queryClusterMetrics: async (orgName: string, clusterName: string, query: string, queryType: MetricsQueryType, start: number, end: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10673
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
10674
|
-
assertParamExists('queryClusterMetrics', 'orgName', orgName)
|
|
10675
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
10676
|
-
assertParamExists('queryClusterMetrics', 'clusterName', clusterName)
|
|
10677
|
-
// verify required parameter 'query' is not null or undefined
|
|
10678
|
-
assertParamExists('queryClusterMetrics', 'query', query)
|
|
10679
|
-
// verify required parameter 'queryType' is not null or undefined
|
|
10680
|
-
assertParamExists('queryClusterMetrics', 'queryType', queryType)
|
|
10681
|
-
// verify required parameter 'start' is not null or undefined
|
|
10682
|
-
assertParamExists('queryClusterMetrics', 'start', start)
|
|
10683
|
-
// verify required parameter 'end' is not null or undefined
|
|
10684
|
-
assertParamExists('queryClusterMetrics', 'end', end)
|
|
10685
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/metrics`
|
|
10686
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10687
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10688
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10689
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10690
|
-
let baseOptions;
|
|
10691
|
-
if (configuration) {
|
|
10692
|
-
baseOptions = configuration.baseOptions;
|
|
10693
|
-
}
|
|
10694
|
-
|
|
10695
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10696
|
-
const localVarHeaderParameter = {} as any;
|
|
10697
|
-
const localVarQueryParameter = {} as any;
|
|
10698
|
-
|
|
10699
|
-
// authentication BearerToken required
|
|
10700
|
-
// http bearer authentication required
|
|
10701
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10702
|
-
|
|
10703
|
-
// authentication DigestAuth required
|
|
10704
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10705
|
-
|
|
10706
|
-
if (query !== undefined) {
|
|
10707
|
-
localVarQueryParameter['query'] = query;
|
|
10708
|
-
}
|
|
10709
|
-
|
|
10710
|
-
if (queryType !== undefined) {
|
|
10711
|
-
localVarQueryParameter['queryType'] = queryType;
|
|
10712
|
-
}
|
|
10713
|
-
|
|
10714
|
-
if (start !== undefined) {
|
|
10715
|
-
localVarQueryParameter['start'] = start;
|
|
10716
|
-
}
|
|
10717
|
-
|
|
10718
|
-
if (end !== undefined) {
|
|
10719
|
-
localVarQueryParameter['end'] = end;
|
|
10720
|
-
}
|
|
10721
|
-
|
|
11212
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10722
11213
|
|
|
10723
|
-
|
|
10724
11214
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10725
11215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10726
11216
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11217
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
10727
11218
|
|
|
10728
11219
|
return {
|
|
10729
11220
|
url: toPathString(localVarUrlObj),
|
|
@@ -10731,33 +11222,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10731
11222
|
};
|
|
10732
11223
|
},
|
|
10733
11224
|
/**
|
|
10734
|
-
*
|
|
10735
|
-
* @summary
|
|
11225
|
+
*
|
|
11226
|
+
* @summary Create or update Elasticsearch security user
|
|
10736
11227
|
* @param {string} orgName
|
|
10737
11228
|
* @param {string} clusterName
|
|
10738
|
-
* @param {string}
|
|
10739
|
-
* @param {
|
|
10740
|
-
* @param {string} [componentName]
|
|
10741
|
-
* @param {string} [instanceName]
|
|
10742
|
-
* @param {string} [filename]
|
|
10743
|
-
* @param {string} [query]
|
|
10744
|
-
* @param {string} [limit]
|
|
10745
|
-
* @param {SortType} [sortType]
|
|
11229
|
+
* @param {string} username
|
|
11230
|
+
* @param {ESPutSecurityUserRequest} body
|
|
10746
11231
|
* @param {*} [options] Override http request option.
|
|
10747
11232
|
* @throws {RequiredError}
|
|
10748
11233
|
*/
|
|
10749
|
-
|
|
11234
|
+
putElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10750
11235
|
// verify required parameter 'orgName' is not null or undefined
|
|
10751
|
-
assertParamExists('
|
|
11236
|
+
assertParamExists('putElasticsearchSecurityUser', 'orgName', orgName)
|
|
10752
11237
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10753
|
-
assertParamExists('
|
|
10754
|
-
// verify required parameter '
|
|
10755
|
-
assertParamExists('
|
|
10756
|
-
// verify required parameter '
|
|
10757
|
-
assertParamExists('
|
|
10758
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
11238
|
+
assertParamExists('putElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
11239
|
+
// verify required parameter 'username' is not null or undefined
|
|
11240
|
+
assertParamExists('putElasticsearchSecurityUser', 'username', username)
|
|
11241
|
+
// verify required parameter 'body' is not null or undefined
|
|
11242
|
+
assertParamExists('putElasticsearchSecurityUser', 'body', body)
|
|
11243
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
10759
11244
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10760
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11245
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11246
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
10761
11247
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10762
11248
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10763
11249
|
let baseOptions;
|
|
@@ -10765,7 +11251,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10765
11251
|
baseOptions = configuration.baseOptions;
|
|
10766
11252
|
}
|
|
10767
11253
|
|
|
10768
|
-
const localVarRequestOptions = { method: '
|
|
11254
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10769
11255
|
const localVarHeaderParameter = {} as any;
|
|
10770
11256
|
const localVarQueryParameter = {} as any;
|
|
10771
11257
|
|
|
@@ -10776,43 +11262,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10776
11262
|
// authentication DigestAuth required
|
|
10777
11263
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10778
11264
|
|
|
10779
|
-
if (componentName !== undefined) {
|
|
10780
|
-
localVarQueryParameter['componentName'] = componentName;
|
|
10781
|
-
}
|
|
10782
|
-
|
|
10783
|
-
if (instanceName !== undefined) {
|
|
10784
|
-
localVarQueryParameter['instanceName'] = instanceName;
|
|
10785
|
-
}
|
|
10786
|
-
|
|
10787
|
-
if (filename !== undefined) {
|
|
10788
|
-
localVarQueryParameter['filename'] = filename;
|
|
10789
|
-
}
|
|
10790
|
-
|
|
10791
|
-
if (startTime !== undefined) {
|
|
10792
|
-
localVarQueryParameter['startTime'] = startTime;
|
|
10793
|
-
}
|
|
10794
|
-
|
|
10795
|
-
if (endTime !== undefined) {
|
|
10796
|
-
localVarQueryParameter['endTime'] = endTime;
|
|
10797
|
-
}
|
|
10798
|
-
|
|
10799
|
-
if (query !== undefined) {
|
|
10800
|
-
localVarQueryParameter['query'] = query;
|
|
10801
|
-
}
|
|
10802
|
-
|
|
10803
|
-
if (limit !== undefined) {
|
|
10804
|
-
localVarQueryParameter['limit'] = limit;
|
|
10805
|
-
}
|
|
10806
|
-
|
|
10807
|
-
if (sortType !== undefined) {
|
|
10808
|
-
localVarQueryParameter['sortType'] = sortType;
|
|
10809
|
-
}
|
|
10810
|
-
|
|
10811
11265
|
|
|
10812
11266
|
|
|
11267
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11268
|
+
|
|
10813
11269
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10814
11270
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10815
11271
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11272
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
10816
11273
|
|
|
10817
11274
|
return {
|
|
10818
11275
|
url: toPathString(localVarUrlObj),
|
|
@@ -10820,24 +11277,320 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10820
11277
|
};
|
|
10821
11278
|
},
|
|
10822
11279
|
/**
|
|
10823
|
-
*
|
|
10824
|
-
* @summary
|
|
10825
|
-
* @param {string} orgName
|
|
10826
|
-
* @param {string} clusterName
|
|
10827
|
-
* @param {
|
|
11280
|
+
*
|
|
11281
|
+
* @summary create a SQL query
|
|
11282
|
+
* @param {string} orgName name of the Org
|
|
11283
|
+
* @param {string} clusterName name of the cluster
|
|
11284
|
+
* @param {string} id id of the datasource
|
|
11285
|
+
* @param {DmsQueryRequest} dmsQueryRequest
|
|
10828
11286
|
* @param {*} [options] Override http request option.
|
|
10829
11287
|
* @throws {RequiredError}
|
|
10830
11288
|
*/
|
|
10831
|
-
|
|
11289
|
+
query: async (orgName: string, clusterName: string, id: string, dmsQueryRequest: DmsQueryRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10832
11290
|
// verify required parameter 'orgName' is not null or undefined
|
|
10833
|
-
assertParamExists('
|
|
11291
|
+
assertParamExists('query', 'orgName', orgName)
|
|
10834
11292
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10835
|
-
assertParamExists('
|
|
10836
|
-
// verify required parameter '
|
|
10837
|
-
assertParamExists('
|
|
10838
|
-
|
|
11293
|
+
assertParamExists('query', 'clusterName', clusterName)
|
|
11294
|
+
// verify required parameter 'id' is not null or undefined
|
|
11295
|
+
assertParamExists('query', 'id', id)
|
|
11296
|
+
// verify required parameter 'dmsQueryRequest' is not null or undefined
|
|
11297
|
+
assertParamExists('query', 'dmsQueryRequest', dmsQueryRequest)
|
|
11298
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/query`
|
|
10839
11299
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10840
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11300
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11301
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11304
|
+
let baseOptions;
|
|
11305
|
+
if (configuration) {
|
|
11306
|
+
baseOptions = configuration.baseOptions;
|
|
11307
|
+
}
|
|
11308
|
+
|
|
11309
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11310
|
+
const localVarHeaderParameter = {} as any;
|
|
11311
|
+
const localVarQueryParameter = {} as any;
|
|
11312
|
+
|
|
11313
|
+
// authentication BearerToken required
|
|
11314
|
+
// http bearer authentication required
|
|
11315
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11316
|
+
|
|
11317
|
+
// authentication DigestAuth required
|
|
11318
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11319
|
+
|
|
11320
|
+
|
|
11321
|
+
|
|
11322
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11323
|
+
|
|
11324
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11326
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11327
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dmsQueryRequest, localVarRequestOptions, configuration)
|
|
11328
|
+
|
|
11329
|
+
return {
|
|
11330
|
+
url: toPathString(localVarUrlObj),
|
|
11331
|
+
options: localVarRequestOptions,
|
|
11332
|
+
};
|
|
11333
|
+
},
|
|
11334
|
+
/**
|
|
11335
|
+
* Query audit logs of a cluster
|
|
11336
|
+
* @summary Query cluster audit logs
|
|
11337
|
+
* @param {string} orgName
|
|
11338
|
+
* @param {string} clusterName
|
|
11339
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
11340
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
11341
|
+
* @param {string} [limit]
|
|
11342
|
+
* @param {string} [componentName]
|
|
11343
|
+
* @param {string} [instanceName]
|
|
11344
|
+
* @param {SortType} [sortType]
|
|
11345
|
+
* @param {*} [options] Override http request option.
|
|
11346
|
+
* @throws {RequiredError}
|
|
11347
|
+
*/
|
|
11348
|
+
queryAuditLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, limit?: string, componentName?: string, instanceName?: string, sortType?: SortType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11349
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11350
|
+
assertParamExists('queryAuditLogs', 'orgName', orgName)
|
|
11351
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11352
|
+
assertParamExists('queryAuditLogs', 'clusterName', clusterName)
|
|
11353
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
11354
|
+
assertParamExists('queryAuditLogs', 'startTime', startTime)
|
|
11355
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
11356
|
+
assertParamExists('queryAuditLogs', 'endTime', endTime)
|
|
11357
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/audit`
|
|
11358
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11359
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11362
|
+
let baseOptions;
|
|
11363
|
+
if (configuration) {
|
|
11364
|
+
baseOptions = configuration.baseOptions;
|
|
11365
|
+
}
|
|
11366
|
+
|
|
11367
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11368
|
+
const localVarHeaderParameter = {} as any;
|
|
11369
|
+
const localVarQueryParameter = {} as any;
|
|
11370
|
+
|
|
11371
|
+
// authentication BearerToken required
|
|
11372
|
+
// http bearer authentication required
|
|
11373
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11374
|
+
|
|
11375
|
+
// authentication DigestAuth required
|
|
11376
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11377
|
+
|
|
11378
|
+
if (startTime !== undefined) {
|
|
11379
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
11380
|
+
}
|
|
11381
|
+
|
|
11382
|
+
if (endTime !== undefined) {
|
|
11383
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
11384
|
+
}
|
|
11385
|
+
|
|
11386
|
+
if (limit !== undefined) {
|
|
11387
|
+
localVarQueryParameter['limit'] = limit;
|
|
11388
|
+
}
|
|
11389
|
+
|
|
11390
|
+
if (componentName !== undefined) {
|
|
11391
|
+
localVarQueryParameter['componentName'] = componentName;
|
|
11392
|
+
}
|
|
11393
|
+
|
|
11394
|
+
if (instanceName !== undefined) {
|
|
11395
|
+
localVarQueryParameter['instanceName'] = instanceName;
|
|
11396
|
+
}
|
|
11397
|
+
|
|
11398
|
+
if (sortType !== undefined) {
|
|
11399
|
+
localVarQueryParameter['sortType'] = sortType;
|
|
11400
|
+
}
|
|
11401
|
+
|
|
11402
|
+
|
|
11403
|
+
|
|
11404
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11405
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11406
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11407
|
+
|
|
11408
|
+
return {
|
|
11409
|
+
url: toPathString(localVarUrlObj),
|
|
11410
|
+
options: localVarRequestOptions,
|
|
11411
|
+
};
|
|
11412
|
+
},
|
|
11413
|
+
/**
|
|
11414
|
+
* Query cluster metrics by specified metric name and instance name, support instant and range query
|
|
11415
|
+
* @summary Query cluster metrics
|
|
11416
|
+
* @param {string} orgName name of the Org
|
|
11417
|
+
* @param {string} clusterName name of the cluster
|
|
11418
|
+
* @param {string} query The promQL query string
|
|
11419
|
+
* @param {MetricsQueryType} queryType The query type in the query, if use instant, the query will return the lastest instant value, if use range, the query will return a list of values in the time range
|
|
11420
|
+
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
11421
|
+
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
11422
|
+
* @param {*} [options] Override http request option.
|
|
11423
|
+
* @throws {RequiredError}
|
|
11424
|
+
*/
|
|
11425
|
+
queryClusterMetrics: async (orgName: string, clusterName: string, query: string, queryType: MetricsQueryType, start: number, end: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11426
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11427
|
+
assertParamExists('queryClusterMetrics', 'orgName', orgName)
|
|
11428
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11429
|
+
assertParamExists('queryClusterMetrics', 'clusterName', clusterName)
|
|
11430
|
+
// verify required parameter 'query' is not null or undefined
|
|
11431
|
+
assertParamExists('queryClusterMetrics', 'query', query)
|
|
11432
|
+
// verify required parameter 'queryType' is not null or undefined
|
|
11433
|
+
assertParamExists('queryClusterMetrics', 'queryType', queryType)
|
|
11434
|
+
// verify required parameter 'start' is not null or undefined
|
|
11435
|
+
assertParamExists('queryClusterMetrics', 'start', start)
|
|
11436
|
+
// verify required parameter 'end' is not null or undefined
|
|
11437
|
+
assertParamExists('queryClusterMetrics', 'end', end)
|
|
11438
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/metrics`
|
|
11439
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11440
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11441
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11442
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11443
|
+
let baseOptions;
|
|
11444
|
+
if (configuration) {
|
|
11445
|
+
baseOptions = configuration.baseOptions;
|
|
11446
|
+
}
|
|
11447
|
+
|
|
11448
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11449
|
+
const localVarHeaderParameter = {} as any;
|
|
11450
|
+
const localVarQueryParameter = {} as any;
|
|
11451
|
+
|
|
11452
|
+
// authentication BearerToken required
|
|
11453
|
+
// http bearer authentication required
|
|
11454
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11455
|
+
|
|
11456
|
+
// authentication DigestAuth required
|
|
11457
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11458
|
+
|
|
11459
|
+
if (query !== undefined) {
|
|
11460
|
+
localVarQueryParameter['query'] = query;
|
|
11461
|
+
}
|
|
11462
|
+
|
|
11463
|
+
if (queryType !== undefined) {
|
|
11464
|
+
localVarQueryParameter['queryType'] = queryType;
|
|
11465
|
+
}
|
|
11466
|
+
|
|
11467
|
+
if (start !== undefined) {
|
|
11468
|
+
localVarQueryParameter['start'] = start;
|
|
11469
|
+
}
|
|
11470
|
+
|
|
11471
|
+
if (end !== undefined) {
|
|
11472
|
+
localVarQueryParameter['end'] = end;
|
|
11473
|
+
}
|
|
11474
|
+
|
|
11475
|
+
|
|
11476
|
+
|
|
11477
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11478
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11479
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11480
|
+
|
|
11481
|
+
return {
|
|
11482
|
+
url: toPathString(localVarUrlObj),
|
|
11483
|
+
options: localVarRequestOptions,
|
|
11484
|
+
};
|
|
11485
|
+
},
|
|
11486
|
+
/**
|
|
11487
|
+
* Query error logs of a cluster
|
|
11488
|
+
* @summary Query cluster error logs
|
|
11489
|
+
* @param {string} orgName
|
|
11490
|
+
* @param {string} clusterName
|
|
11491
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
11492
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
11493
|
+
* @param {string} [componentName]
|
|
11494
|
+
* @param {string} [instanceName]
|
|
11495
|
+
* @param {string} [filename]
|
|
11496
|
+
* @param {string} [query]
|
|
11497
|
+
* @param {string} [limit]
|
|
11498
|
+
* @param {SortType} [sortType]
|
|
11499
|
+
* @param {*} [options] Override http request option.
|
|
11500
|
+
* @throws {RequiredError}
|
|
11501
|
+
*/
|
|
11502
|
+
queryErrorLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, query?: string, limit?: string, sortType?: SortType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11503
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11504
|
+
assertParamExists('queryErrorLogs', 'orgName', orgName)
|
|
11505
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11506
|
+
assertParamExists('queryErrorLogs', 'clusterName', clusterName)
|
|
11507
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
11508
|
+
assertParamExists('queryErrorLogs', 'startTime', startTime)
|
|
11509
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
11510
|
+
assertParamExists('queryErrorLogs', 'endTime', endTime)
|
|
11511
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/error`
|
|
11512
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11513
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11514
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11515
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11516
|
+
let baseOptions;
|
|
11517
|
+
if (configuration) {
|
|
11518
|
+
baseOptions = configuration.baseOptions;
|
|
11519
|
+
}
|
|
11520
|
+
|
|
11521
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11522
|
+
const localVarHeaderParameter = {} as any;
|
|
11523
|
+
const localVarQueryParameter = {} as any;
|
|
11524
|
+
|
|
11525
|
+
// authentication BearerToken required
|
|
11526
|
+
// http bearer authentication required
|
|
11527
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11528
|
+
|
|
11529
|
+
// authentication DigestAuth required
|
|
11530
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11531
|
+
|
|
11532
|
+
if (componentName !== undefined) {
|
|
11533
|
+
localVarQueryParameter['componentName'] = componentName;
|
|
11534
|
+
}
|
|
11535
|
+
|
|
11536
|
+
if (instanceName !== undefined) {
|
|
11537
|
+
localVarQueryParameter['instanceName'] = instanceName;
|
|
11538
|
+
}
|
|
11539
|
+
|
|
11540
|
+
if (filename !== undefined) {
|
|
11541
|
+
localVarQueryParameter['filename'] = filename;
|
|
11542
|
+
}
|
|
11543
|
+
|
|
11544
|
+
if (startTime !== undefined) {
|
|
11545
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
11546
|
+
}
|
|
11547
|
+
|
|
11548
|
+
if (endTime !== undefined) {
|
|
11549
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
11550
|
+
}
|
|
11551
|
+
|
|
11552
|
+
if (query !== undefined) {
|
|
11553
|
+
localVarQueryParameter['query'] = query;
|
|
11554
|
+
}
|
|
11555
|
+
|
|
11556
|
+
if (limit !== undefined) {
|
|
11557
|
+
localVarQueryParameter['limit'] = limit;
|
|
11558
|
+
}
|
|
11559
|
+
|
|
11560
|
+
if (sortType !== undefined) {
|
|
11561
|
+
localVarQueryParameter['sortType'] = sortType;
|
|
11562
|
+
}
|
|
11563
|
+
|
|
11564
|
+
|
|
11565
|
+
|
|
11566
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11567
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11568
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11569
|
+
|
|
11570
|
+
return {
|
|
11571
|
+
url: toPathString(localVarUrlObj),
|
|
11572
|
+
options: localVarRequestOptions,
|
|
11573
|
+
};
|
|
11574
|
+
},
|
|
11575
|
+
/**
|
|
11576
|
+
* Enumerates replication objects (databases, schemas, tables, etc.) for the requested node. The metadata levels depend on the source engine (for example MySQL uses `database -> table`, PostgreSQL uses `schema -> table`).
|
|
11577
|
+
* @summary Query replication objects for import
|
|
11578
|
+
* @param {string} orgName Organization name
|
|
11579
|
+
* @param {string} clusterName Cluster name
|
|
11580
|
+
* @param {ImportQueryObjectsRequest} importQueryObjectsRequest Connection configuration and current object tree position
|
|
11581
|
+
* @param {*} [options] Override http request option.
|
|
11582
|
+
* @throws {RequiredError}
|
|
11583
|
+
*/
|
|
11584
|
+
queryImportObjects: async (orgName: string, clusterName: string, importQueryObjectsRequest: ImportQueryObjectsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11585
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11586
|
+
assertParamExists('queryImportObjects', 'orgName', orgName)
|
|
11587
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11588
|
+
assertParamExists('queryImportObjects', 'clusterName', clusterName)
|
|
11589
|
+
// verify required parameter 'importQueryObjectsRequest' is not null or undefined
|
|
11590
|
+
assertParamExists('queryImportObjects', 'importQueryObjectsRequest', importQueryObjectsRequest)
|
|
11591
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/import/objects`
|
|
11592
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11593
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10841
11594
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10842
11595
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10843
11596
|
let baseOptions;
|
|
@@ -12883,6 +13636,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12883
13636
|
|
|
12884
13637
|
|
|
12885
13638
|
|
|
13639
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13640
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13641
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13642
|
+
|
|
13643
|
+
return {
|
|
13644
|
+
url: toPathString(localVarUrlObj),
|
|
13645
|
+
options: localVarRequestOptions,
|
|
13646
|
+
};
|
|
13647
|
+
},
|
|
13648
|
+
/**
|
|
13649
|
+
*
|
|
13650
|
+
* @summary Unlock Elasticsearch account
|
|
13651
|
+
* @param {string} orgName
|
|
13652
|
+
* @param {string} clusterName
|
|
13653
|
+
* @param {string} username
|
|
13654
|
+
* @param {*} [options] Override http request option.
|
|
13655
|
+
* @throws {RequiredError}
|
|
13656
|
+
*/
|
|
13657
|
+
unlockElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13658
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13659
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'orgName', orgName)
|
|
13660
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13661
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
13662
|
+
// verify required parameter 'username' is not null or undefined
|
|
13663
|
+
assertParamExists('unlockElasticsearchSecurityUser', 'username', username)
|
|
13664
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/unlock`
|
|
13665
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13666
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13667
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
13668
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13670
|
+
let baseOptions;
|
|
13671
|
+
if (configuration) {
|
|
13672
|
+
baseOptions = configuration.baseOptions;
|
|
13673
|
+
}
|
|
13674
|
+
|
|
13675
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
13676
|
+
const localVarHeaderParameter = {} as any;
|
|
13677
|
+
const localVarQueryParameter = {} as any;
|
|
13678
|
+
|
|
13679
|
+
// authentication BearerToken required
|
|
13680
|
+
// http bearer authentication required
|
|
13681
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13682
|
+
|
|
13683
|
+
// authentication DigestAuth required
|
|
13684
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13685
|
+
|
|
13686
|
+
|
|
13687
|
+
|
|
12886
13688
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12887
13689
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12888
13690
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14494,6 +15296,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14494
15296
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.buildBackupObj']?.[localVarOperationServerIndex]?.url;
|
|
14495
15297
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14496
15298
|
},
|
|
15299
|
+
/**
|
|
15300
|
+
*
|
|
15301
|
+
* @summary Change Elasticsearch account password
|
|
15302
|
+
* @param {string} orgName
|
|
15303
|
+
* @param {string} clusterName
|
|
15304
|
+
* @param {string} username
|
|
15305
|
+
* @param {ESSecurityPasswordRequest} body
|
|
15306
|
+
* @param {*} [options] Override http request option.
|
|
15307
|
+
* @throws {RequiredError}
|
|
15308
|
+
*/
|
|
15309
|
+
async changeElasticsearchSecurityUserPassword(orgName: string, clusterName: string, username: string, body: ESSecurityPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options);
|
|
15311
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15312
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.changeElasticsearchSecurityUserPassword']?.[localVarOperationServerIndex]?.url;
|
|
15313
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15314
|
+
},
|
|
14497
15315
|
/**
|
|
14498
15316
|
*
|
|
14499
15317
|
* @summary close the session for the cluster
|
|
@@ -15004,6 +15822,51 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15004
15822
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteDatabase']?.[localVarOperationServerIndex]?.url;
|
|
15005
15823
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15006
15824
|
},
|
|
15825
|
+
/**
|
|
15826
|
+
*
|
|
15827
|
+
* @summary Delete Elasticsearch security role
|
|
15828
|
+
* @param {string} orgName
|
|
15829
|
+
* @param {string} clusterName
|
|
15830
|
+
* @param {string} roleName
|
|
15831
|
+
* @param {*} [options] Override http request option.
|
|
15832
|
+
* @throws {RequiredError}
|
|
15833
|
+
*/
|
|
15834
|
+
async deleteElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
15836
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15837
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
15838
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15839
|
+
},
|
|
15840
|
+
/**
|
|
15841
|
+
*
|
|
15842
|
+
* @summary Delete Elasticsearch security role mapping
|
|
15843
|
+
* @param {string} orgName
|
|
15844
|
+
* @param {string} clusterName
|
|
15845
|
+
* @param {string} mappingName
|
|
15846
|
+
* @param {*} [options] Override http request option.
|
|
15847
|
+
* @throws {RequiredError}
|
|
15848
|
+
*/
|
|
15849
|
+
async deleteElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
15851
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15852
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
15853
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15854
|
+
},
|
|
15855
|
+
/**
|
|
15856
|
+
*
|
|
15857
|
+
* @summary Delete Elasticsearch security user
|
|
15858
|
+
* @param {string} orgName
|
|
15859
|
+
* @param {string} clusterName
|
|
15860
|
+
* @param {string} username
|
|
15861
|
+
* @param {*} [options] Override http request option.
|
|
15862
|
+
* @throws {RequiredError}
|
|
15863
|
+
*/
|
|
15864
|
+
async deleteElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
15866
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15867
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
15868
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15869
|
+
},
|
|
15007
15870
|
/**
|
|
15008
15871
|
* delete an hive account in cluster
|
|
15009
15872
|
* @summary Delete hive account
|
|
@@ -15800,6 +16663,65 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15800
16663
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getDatabaseOptions']?.[localVarOperationServerIndex]?.url;
|
|
15801
16664
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15802
16665
|
},
|
|
16666
|
+
/**
|
|
16667
|
+
*
|
|
16668
|
+
* @summary Get Elasticsearch builtin privileges
|
|
16669
|
+
* @param {string} orgName
|
|
16670
|
+
* @param {string} clusterName
|
|
16671
|
+
* @param {*} [options] Override http request option.
|
|
16672
|
+
* @throws {RequiredError}
|
|
16673
|
+
*/
|
|
16674
|
+
async getElasticsearchBuiltinPrivileges(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Array<string>; }>> {
|
|
16675
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchBuiltinPrivileges(orgName, clusterName, options);
|
|
16676
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16677
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchBuiltinPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
16678
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16679
|
+
},
|
|
16680
|
+
/**
|
|
16681
|
+
*
|
|
16682
|
+
* @summary Get Elasticsearch security role
|
|
16683
|
+
* @param {string} orgName
|
|
16684
|
+
* @param {string} clusterName
|
|
16685
|
+
* @param {string} roleName
|
|
16686
|
+
* @param {*} [options] Override http request option.
|
|
16687
|
+
* @throws {RequiredError}
|
|
16688
|
+
*/
|
|
16689
|
+
async getElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleDescriptor>> {
|
|
16690
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
16691
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16692
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
16693
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16694
|
+
},
|
|
16695
|
+
/**
|
|
16696
|
+
*
|
|
16697
|
+
* @summary Get Elasticsearch security role mapping
|
|
16698
|
+
* @param {string} orgName
|
|
16699
|
+
* @param {string} clusterName
|
|
16700
|
+
* @param {string} mappingName
|
|
16701
|
+
* @param {*} [options] Override http request option.
|
|
16702
|
+
* @throws {RequiredError}
|
|
16703
|
+
*/
|
|
16704
|
+
async getElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityRoleMapping>> {
|
|
16705
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
16706
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16707
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
16708
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16709
|
+
},
|
|
16710
|
+
/**
|
|
16711
|
+
*
|
|
16712
|
+
* @summary Get Elasticsearch security user
|
|
16713
|
+
* @param {string} orgName
|
|
16714
|
+
* @param {string} clusterName
|
|
16715
|
+
* @param {string} username
|
|
16716
|
+
* @param {*} [options] Override http request option.
|
|
16717
|
+
* @throws {RequiredError}
|
|
16718
|
+
*/
|
|
16719
|
+
async getElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESSecurityUser>> {
|
|
16720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
16721
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16722
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
16723
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16724
|
+
},
|
|
15803
16725
|
/**
|
|
15804
16726
|
* get engine available console
|
|
15805
16727
|
* @summary get engine available console
|
|
@@ -16519,6 +17441,48 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16519
17441
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listDmsDatabases']?.[localVarOperationServerIndex]?.url;
|
|
16520
17442
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16521
17443
|
},
|
|
17444
|
+
/**
|
|
17445
|
+
*
|
|
17446
|
+
* @summary List Elasticsearch security role mappings
|
|
17447
|
+
* @param {string} orgName
|
|
17448
|
+
* @param {string} clusterName
|
|
17449
|
+
* @param {*} [options] Override http request option.
|
|
17450
|
+
* @throws {RequiredError}
|
|
17451
|
+
*/
|
|
17452
|
+
async listElasticsearchSecurityRoleMappings(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>> {
|
|
17453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoleMappings(orgName, clusterName, options);
|
|
17454
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17455
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoleMappings']?.[localVarOperationServerIndex]?.url;
|
|
17456
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17457
|
+
},
|
|
17458
|
+
/**
|
|
17459
|
+
*
|
|
17460
|
+
* @summary List Elasticsearch security roles
|
|
17461
|
+
* @param {string} orgName
|
|
17462
|
+
* @param {string} clusterName
|
|
17463
|
+
* @param {*} [options] Override http request option.
|
|
17464
|
+
* @throws {RequiredError}
|
|
17465
|
+
*/
|
|
17466
|
+
async listElasticsearchSecurityRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>> {
|
|
17467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoles(orgName, clusterName, options);
|
|
17468
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17469
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityRoles']?.[localVarOperationServerIndex]?.url;
|
|
17470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17471
|
+
},
|
|
17472
|
+
/**
|
|
17473
|
+
*
|
|
17474
|
+
* @summary List Elasticsearch security users
|
|
17475
|
+
* @param {string} orgName
|
|
17476
|
+
* @param {string} clusterName
|
|
17477
|
+
* @param {*} [options] Override http request option.
|
|
17478
|
+
* @throws {RequiredError}
|
|
17479
|
+
*/
|
|
17480
|
+
async listElasticsearchSecurityUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: ESSecurityUser; }>> {
|
|
17481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityUsers(orgName, clusterName, options);
|
|
17482
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17483
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listElasticsearchSecurityUsers']?.[localVarOperationServerIndex]?.url;
|
|
17484
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17485
|
+
},
|
|
16522
17486
|
/**
|
|
16523
17487
|
*
|
|
16524
17488
|
* @summary List cluster endpoints
|
|
@@ -17177,6 +18141,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17177
18141
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.lockAccount']?.[localVarOperationServerIndex]?.url;
|
|
17178
18142
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17179
18143
|
},
|
|
18144
|
+
/**
|
|
18145
|
+
*
|
|
18146
|
+
* @summary Lock Elasticsearch account
|
|
18147
|
+
* @param {string} orgName
|
|
18148
|
+
* @param {string} clusterName
|
|
18149
|
+
* @param {string} username
|
|
18150
|
+
* @param {*} [options] Override http request option.
|
|
18151
|
+
* @throws {RequiredError}
|
|
18152
|
+
*/
|
|
18153
|
+
async lockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18154
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
18155
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18156
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.lockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
18157
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18158
|
+
},
|
|
17180
18159
|
/**
|
|
17181
18160
|
*
|
|
17182
18161
|
* @summary batch modify database tde status
|
|
@@ -17310,6 +18289,54 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17310
18289
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.promoteCluster']?.[localVarOperationServerIndex]?.url;
|
|
17311
18290
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17312
18291
|
},
|
|
18292
|
+
/**
|
|
18293
|
+
*
|
|
18294
|
+
* @summary Create or update Elasticsearch security role
|
|
18295
|
+
* @param {string} orgName
|
|
18296
|
+
* @param {string} clusterName
|
|
18297
|
+
* @param {string} roleName
|
|
18298
|
+
* @param {ESSecurityRoleDescriptor} body
|
|
18299
|
+
* @param {*} [options] Override http request option.
|
|
18300
|
+
* @throws {RequiredError}
|
|
18301
|
+
*/
|
|
18302
|
+
async putElasticsearchSecurityRole(orgName: string, clusterName: string, roleName: string, body: ESSecurityRoleDescriptor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options);
|
|
18304
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18305
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRole']?.[localVarOperationServerIndex]?.url;
|
|
18306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18307
|
+
},
|
|
18308
|
+
/**
|
|
18309
|
+
*
|
|
18310
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
18311
|
+
* @param {string} orgName
|
|
18312
|
+
* @param {string} clusterName
|
|
18313
|
+
* @param {string} mappingName
|
|
18314
|
+
* @param {ESSecurityRoleMapping} body
|
|
18315
|
+
* @param {*} [options] Override http request option.
|
|
18316
|
+
* @throws {RequiredError}
|
|
18317
|
+
*/
|
|
18318
|
+
async putElasticsearchSecurityRoleMapping(orgName: string, clusterName: string, mappingName: string, body: ESSecurityRoleMapping, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options);
|
|
18320
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18321
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityRoleMapping']?.[localVarOperationServerIndex]?.url;
|
|
18322
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18323
|
+
},
|
|
18324
|
+
/**
|
|
18325
|
+
*
|
|
18326
|
+
* @summary Create or update Elasticsearch security user
|
|
18327
|
+
* @param {string} orgName
|
|
18328
|
+
* @param {string} clusterName
|
|
18329
|
+
* @param {string} username
|
|
18330
|
+
* @param {ESPutSecurityUserRequest} body
|
|
18331
|
+
* @param {*} [options] Override http request option.
|
|
18332
|
+
* @throws {RequiredError}
|
|
18333
|
+
*/
|
|
18334
|
+
async putElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
|
|
18336
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18337
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
18338
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18339
|
+
},
|
|
17313
18340
|
/**
|
|
17314
18341
|
*
|
|
17315
18342
|
* @summary create a SQL query
|
|
@@ -17954,6 +18981,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17954
18981
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockAccount']?.[localVarOperationServerIndex]?.url;
|
|
17955
18982
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17956
18983
|
},
|
|
18984
|
+
/**
|
|
18985
|
+
*
|
|
18986
|
+
* @summary Unlock Elasticsearch account
|
|
18987
|
+
* @param {string} orgName
|
|
18988
|
+
* @param {string} clusterName
|
|
18989
|
+
* @param {string} username
|
|
18990
|
+
* @param {*} [options] Override http request option.
|
|
18991
|
+
* @throws {RequiredError}
|
|
18992
|
+
*/
|
|
18993
|
+
async unlockElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
18995
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18996
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
18997
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18998
|
+
},
|
|
17957
18999
|
/**
|
|
17958
19000
|
* update an account in cluster
|
|
17959
19001
|
* @summary update cluster account
|
|
@@ -18466,6 +19508,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18466
19508
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup> {
|
|
18467
19509
|
return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18468
19510
|
},
|
|
19511
|
+
/**
|
|
19512
|
+
*
|
|
19513
|
+
* @summary Change Elasticsearch account password
|
|
19514
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
19515
|
+
* @param {*} [options] Override http request option.
|
|
19516
|
+
* @throws {RequiredError}
|
|
19517
|
+
*/
|
|
19518
|
+
changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19519
|
+
return localVarFp.changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19520
|
+
},
|
|
18469
19521
|
/**
|
|
18470
19522
|
*
|
|
18471
19523
|
* @summary close the session for the cluster
|
|
@@ -18807,6 +19859,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18807
19859
|
deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18808
19860
|
return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
18809
19861
|
},
|
|
19862
|
+
/**
|
|
19863
|
+
*
|
|
19864
|
+
* @summary Delete Elasticsearch security role
|
|
19865
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
19866
|
+
* @param {*} [options] Override http request option.
|
|
19867
|
+
* @throws {RequiredError}
|
|
19868
|
+
*/
|
|
19869
|
+
deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19870
|
+
return localVarFp.deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
19871
|
+
},
|
|
19872
|
+
/**
|
|
19873
|
+
*
|
|
19874
|
+
* @summary Delete Elasticsearch security role mapping
|
|
19875
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
19876
|
+
* @param {*} [options] Override http request option.
|
|
19877
|
+
* @throws {RequiredError}
|
|
19878
|
+
*/
|
|
19879
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19880
|
+
return localVarFp.deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
19881
|
+
},
|
|
19882
|
+
/**
|
|
19883
|
+
*
|
|
19884
|
+
* @summary Delete Elasticsearch security user
|
|
19885
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
19886
|
+
* @param {*} [options] Override http request option.
|
|
19887
|
+
* @throws {RequiredError}
|
|
19888
|
+
*/
|
|
19889
|
+
deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19890
|
+
return localVarFp.deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
19891
|
+
},
|
|
18810
19892
|
/**
|
|
18811
19893
|
* delete an hive account in cluster
|
|
18812
19894
|
* @summary Delete hive account
|
|
@@ -19306,6 +20388,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19306
20388
|
getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
19307
20389
|
return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
19308
20390
|
},
|
|
20391
|
+
/**
|
|
20392
|
+
*
|
|
20393
|
+
* @summary Get Elasticsearch builtin privileges
|
|
20394
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
20395
|
+
* @param {*} [options] Override http request option.
|
|
20396
|
+
* @throws {RequiredError}
|
|
20397
|
+
*/
|
|
20398
|
+
getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }> {
|
|
20399
|
+
return localVarFp.getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20400
|
+
},
|
|
20401
|
+
/**
|
|
20402
|
+
*
|
|
20403
|
+
* @summary Get Elasticsearch security role
|
|
20404
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
20405
|
+
* @param {*} [options] Override http request option.
|
|
20406
|
+
* @throws {RequiredError}
|
|
20407
|
+
*/
|
|
20408
|
+
getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor> {
|
|
20409
|
+
return localVarFp.getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
20410
|
+
},
|
|
20411
|
+
/**
|
|
20412
|
+
*
|
|
20413
|
+
* @summary Get Elasticsearch security role mapping
|
|
20414
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
20415
|
+
* @param {*} [options] Override http request option.
|
|
20416
|
+
* @throws {RequiredError}
|
|
20417
|
+
*/
|
|
20418
|
+
getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping> {
|
|
20419
|
+
return localVarFp.getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
20420
|
+
},
|
|
20421
|
+
/**
|
|
20422
|
+
*
|
|
20423
|
+
* @summary Get Elasticsearch security user
|
|
20424
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
20425
|
+
* @param {*} [options] Override http request option.
|
|
20426
|
+
* @throws {RequiredError}
|
|
20427
|
+
*/
|
|
20428
|
+
getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser> {
|
|
20429
|
+
return localVarFp.getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
20430
|
+
},
|
|
19309
20431
|
/**
|
|
19310
20432
|
* get engine available console
|
|
19311
20433
|
* @summary get engine available console
|
|
@@ -19756,6 +20878,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19756
20878
|
listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
19757
20879
|
return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
19758
20880
|
},
|
|
20881
|
+
/**
|
|
20882
|
+
*
|
|
20883
|
+
* @summary List Elasticsearch security role mappings
|
|
20884
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
20885
|
+
* @param {*} [options] Override http request option.
|
|
20886
|
+
* @throws {RequiredError}
|
|
20887
|
+
*/
|
|
20888
|
+
listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }> {
|
|
20889
|
+
return localVarFp.listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20890
|
+
},
|
|
20891
|
+
/**
|
|
20892
|
+
*
|
|
20893
|
+
* @summary List Elasticsearch security roles
|
|
20894
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
20895
|
+
* @param {*} [options] Override http request option.
|
|
20896
|
+
* @throws {RequiredError}
|
|
20897
|
+
*/
|
|
20898
|
+
listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }> {
|
|
20899
|
+
return localVarFp.listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20900
|
+
},
|
|
20901
|
+
/**
|
|
20902
|
+
*
|
|
20903
|
+
* @summary List Elasticsearch security users
|
|
20904
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
20905
|
+
* @param {*} [options] Override http request option.
|
|
20906
|
+
* @throws {RequiredError}
|
|
20907
|
+
*/
|
|
20908
|
+
listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }> {
|
|
20909
|
+
return localVarFp.listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20910
|
+
},
|
|
19759
20911
|
/**
|
|
19760
20912
|
*
|
|
19761
20913
|
* @summary List cluster endpoints
|
|
@@ -20194,6 +21346,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20194
21346
|
lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20195
21347
|
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20196
21348
|
},
|
|
21349
|
+
/**
|
|
21350
|
+
*
|
|
21351
|
+
* @summary Lock Elasticsearch account
|
|
21352
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21353
|
+
* @param {*} [options] Override http request option.
|
|
21354
|
+
* @throws {RequiredError}
|
|
21355
|
+
*/
|
|
21356
|
+
lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21357
|
+
return localVarFp.lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
21358
|
+
},
|
|
20197
21359
|
/**
|
|
20198
21360
|
*
|
|
20199
21361
|
* @summary batch modify database tde status
|
|
@@ -20284,6 +21446,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20284
21446
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
20285
21447
|
return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20286
21448
|
},
|
|
21449
|
+
/**
|
|
21450
|
+
*
|
|
21451
|
+
* @summary Create or update Elasticsearch security role
|
|
21452
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
21453
|
+
* @param {*} [options] Override http request option.
|
|
21454
|
+
* @throws {RequiredError}
|
|
21455
|
+
*/
|
|
21456
|
+
putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21457
|
+
return localVarFp.putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21458
|
+
},
|
|
21459
|
+
/**
|
|
21460
|
+
*
|
|
21461
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
21462
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
21463
|
+
* @param {*} [options] Override http request option.
|
|
21464
|
+
* @throws {RequiredError}
|
|
21465
|
+
*/
|
|
21466
|
+
putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21467
|
+
return localVarFp.putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21468
|
+
},
|
|
21469
|
+
/**
|
|
21470
|
+
*
|
|
21471
|
+
* @summary Create or update Elasticsearch security user
|
|
21472
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21473
|
+
* @param {*} [options] Override http request option.
|
|
21474
|
+
* @throws {RequiredError}
|
|
21475
|
+
*/
|
|
21476
|
+
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21477
|
+
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21478
|
+
},
|
|
20287
21479
|
/**
|
|
20288
21480
|
*
|
|
20289
21481
|
* @summary create a SQL query
|
|
@@ -20643,6 +21835,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20643
21835
|
unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20644
21836
|
return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20645
21837
|
},
|
|
21838
|
+
/**
|
|
21839
|
+
*
|
|
21840
|
+
* @summary Unlock Elasticsearch account
|
|
21841
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21842
|
+
* @param {*} [options] Override http request option.
|
|
21843
|
+
* @throws {RequiredError}
|
|
21844
|
+
*/
|
|
21845
|
+
unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21846
|
+
return localVarFp.unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
21847
|
+
},
|
|
20646
21848
|
/**
|
|
20647
21849
|
* update an account in cluster
|
|
20648
21850
|
* @summary update cluster account
|
|
@@ -21001,6 +22203,16 @@ export interface SharedApiInterface {
|
|
|
21001
22203
|
*/
|
|
21002
22204
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup>;
|
|
21003
22205
|
|
|
22206
|
+
/**
|
|
22207
|
+
*
|
|
22208
|
+
* @summary Change Elasticsearch account password
|
|
22209
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
22210
|
+
* @param {*} [options] Override http request option.
|
|
22211
|
+
* @throws {RequiredError}
|
|
22212
|
+
* @memberof SharedApiInterface
|
|
22213
|
+
*/
|
|
22214
|
+
changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22215
|
+
|
|
21004
22216
|
/**
|
|
21005
22217
|
*
|
|
21006
22218
|
* @summary close the session for the cluster
|
|
@@ -21342,6 +22554,36 @@ export interface SharedApiInterface {
|
|
|
21342
22554
|
*/
|
|
21343
22555
|
deleteDatabase(requestParameters: SharedApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21344
22556
|
|
|
22557
|
+
/**
|
|
22558
|
+
*
|
|
22559
|
+
* @summary Delete Elasticsearch security role
|
|
22560
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
22561
|
+
* @param {*} [options] Override http request option.
|
|
22562
|
+
* @throws {RequiredError}
|
|
22563
|
+
* @memberof SharedApiInterface
|
|
22564
|
+
*/
|
|
22565
|
+
deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22566
|
+
|
|
22567
|
+
/**
|
|
22568
|
+
*
|
|
22569
|
+
* @summary Delete Elasticsearch security role mapping
|
|
22570
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
22571
|
+
* @param {*} [options] Override http request option.
|
|
22572
|
+
* @throws {RequiredError}
|
|
22573
|
+
* @memberof SharedApiInterface
|
|
22574
|
+
*/
|
|
22575
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22576
|
+
|
|
22577
|
+
/**
|
|
22578
|
+
*
|
|
22579
|
+
* @summary Delete Elasticsearch security user
|
|
22580
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
22581
|
+
* @param {*} [options] Override http request option.
|
|
22582
|
+
* @throws {RequiredError}
|
|
22583
|
+
* @memberof SharedApiInterface
|
|
22584
|
+
*/
|
|
22585
|
+
deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22586
|
+
|
|
21345
22587
|
/**
|
|
21346
22588
|
* delete an hive account in cluster
|
|
21347
22589
|
* @summary Delete hive account
|
|
@@ -21841,6 +23083,46 @@ export interface SharedApiInterface {
|
|
|
21841
23083
|
*/
|
|
21842
23084
|
getDatabaseOptions(requestParameters: SharedApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
21843
23085
|
|
|
23086
|
+
/**
|
|
23087
|
+
*
|
|
23088
|
+
* @summary Get Elasticsearch builtin privileges
|
|
23089
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
23090
|
+
* @param {*} [options] Override http request option.
|
|
23091
|
+
* @throws {RequiredError}
|
|
23092
|
+
* @memberof SharedApiInterface
|
|
23093
|
+
*/
|
|
23094
|
+
getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<string>; }>;
|
|
23095
|
+
|
|
23096
|
+
/**
|
|
23097
|
+
*
|
|
23098
|
+
* @summary Get Elasticsearch security role
|
|
23099
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
23100
|
+
* @param {*} [options] Override http request option.
|
|
23101
|
+
* @throws {RequiredError}
|
|
23102
|
+
* @memberof SharedApiInterface
|
|
23103
|
+
*/
|
|
23104
|
+
getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleDescriptor>;
|
|
23105
|
+
|
|
23106
|
+
/**
|
|
23107
|
+
*
|
|
23108
|
+
* @summary Get Elasticsearch security role mapping
|
|
23109
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
23110
|
+
* @param {*} [options] Override http request option.
|
|
23111
|
+
* @throws {RequiredError}
|
|
23112
|
+
* @memberof SharedApiInterface
|
|
23113
|
+
*/
|
|
23114
|
+
getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityRoleMapping>;
|
|
23115
|
+
|
|
23116
|
+
/**
|
|
23117
|
+
*
|
|
23118
|
+
* @summary Get Elasticsearch security user
|
|
23119
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
23120
|
+
* @param {*} [options] Override http request option.
|
|
23121
|
+
* @throws {RequiredError}
|
|
23122
|
+
* @memberof SharedApiInterface
|
|
23123
|
+
*/
|
|
23124
|
+
getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ESSecurityUser>;
|
|
23125
|
+
|
|
21844
23126
|
/**
|
|
21845
23127
|
* get engine available console
|
|
21846
23128
|
* @summary get engine available console
|
|
@@ -22291,6 +23573,36 @@ export interface SharedApiInterface {
|
|
|
22291
23573
|
*/
|
|
22292
23574
|
listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
22293
23575
|
|
|
23576
|
+
/**
|
|
23577
|
+
*
|
|
23578
|
+
* @summary List Elasticsearch security role mappings
|
|
23579
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
23580
|
+
* @param {*} [options] Override http request option.
|
|
23581
|
+
* @throws {RequiredError}
|
|
23582
|
+
* @memberof SharedApiInterface
|
|
23583
|
+
*/
|
|
23584
|
+
listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleMapping; }>;
|
|
23585
|
+
|
|
23586
|
+
/**
|
|
23587
|
+
*
|
|
23588
|
+
* @summary List Elasticsearch security roles
|
|
23589
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
23590
|
+
* @param {*} [options] Override http request option.
|
|
23591
|
+
* @throws {RequiredError}
|
|
23592
|
+
* @memberof SharedApiInterface
|
|
23593
|
+
*/
|
|
23594
|
+
listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityRoleDescriptor; }>;
|
|
23595
|
+
|
|
23596
|
+
/**
|
|
23597
|
+
*
|
|
23598
|
+
* @summary List Elasticsearch security users
|
|
23599
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
23600
|
+
* @param {*} [options] Override http request option.
|
|
23601
|
+
* @throws {RequiredError}
|
|
23602
|
+
* @memberof SharedApiInterface
|
|
23603
|
+
*/
|
|
23604
|
+
listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: ESSecurityUser; }>;
|
|
23605
|
+
|
|
22294
23606
|
/**
|
|
22295
23607
|
*
|
|
22296
23608
|
* @summary List cluster endpoints
|
|
@@ -22729,6 +24041,16 @@ export interface SharedApiInterface {
|
|
|
22729
24041
|
*/
|
|
22730
24042
|
lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22731
24043
|
|
|
24044
|
+
/**
|
|
24045
|
+
*
|
|
24046
|
+
* @summary Lock Elasticsearch account
|
|
24047
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
24048
|
+
* @param {*} [options] Override http request option.
|
|
24049
|
+
* @throws {RequiredError}
|
|
24050
|
+
* @memberof SharedApiInterface
|
|
24051
|
+
*/
|
|
24052
|
+
lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24053
|
+
|
|
22732
24054
|
/**
|
|
22733
24055
|
*
|
|
22734
24056
|
* @summary batch modify database tde status
|
|
@@ -22819,6 +24141,36 @@ export interface SharedApiInterface {
|
|
|
22819
24141
|
*/
|
|
22820
24142
|
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
22821
24143
|
|
|
24144
|
+
/**
|
|
24145
|
+
*
|
|
24146
|
+
* @summary Create or update Elasticsearch security role
|
|
24147
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
24148
|
+
* @param {*} [options] Override http request option.
|
|
24149
|
+
* @throws {RequiredError}
|
|
24150
|
+
* @memberof SharedApiInterface
|
|
24151
|
+
*/
|
|
24152
|
+
putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24153
|
+
|
|
24154
|
+
/**
|
|
24155
|
+
*
|
|
24156
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
24157
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
24158
|
+
* @param {*} [options] Override http request option.
|
|
24159
|
+
* @throws {RequiredError}
|
|
24160
|
+
* @memberof SharedApiInterface
|
|
24161
|
+
*/
|
|
24162
|
+
putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24163
|
+
|
|
24164
|
+
/**
|
|
24165
|
+
*
|
|
24166
|
+
* @summary Create or update Elasticsearch security user
|
|
24167
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
24168
|
+
* @param {*} [options] Override http request option.
|
|
24169
|
+
* @throws {RequiredError}
|
|
24170
|
+
* @memberof SharedApiInterface
|
|
24171
|
+
*/
|
|
24172
|
+
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24173
|
+
|
|
22822
24174
|
/**
|
|
22823
24175
|
*
|
|
22824
24176
|
* @summary create a SQL query
|
|
@@ -23178,6 +24530,16 @@ export interface SharedApiInterface {
|
|
|
23178
24530
|
*/
|
|
23179
24531
|
unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23180
24532
|
|
|
24533
|
+
/**
|
|
24534
|
+
*
|
|
24535
|
+
* @summary Unlock Elasticsearch account
|
|
24536
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
24537
|
+
* @param {*} [options] Override http request option.
|
|
24538
|
+
* @throws {RequiredError}
|
|
24539
|
+
* @memberof SharedApiInterface
|
|
24540
|
+
*/
|
|
24541
|
+
unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24542
|
+
|
|
23181
24543
|
/**
|
|
23182
24544
|
* update an account in cluster
|
|
23183
24545
|
* @summary update cluster account
|
|
@@ -23883,6 +25245,41 @@ export interface SharedApiBuildBackupObjRequest {
|
|
|
23883
25245
|
readonly body: BuildBackupObjRequest
|
|
23884
25246
|
}
|
|
23885
25247
|
|
|
25248
|
+
/**
|
|
25249
|
+
* Request parameters for changeElasticsearchSecurityUserPassword operation in SharedApi.
|
|
25250
|
+
* @export
|
|
25251
|
+
* @interface SharedApiChangeElasticsearchSecurityUserPasswordRequest
|
|
25252
|
+
*/
|
|
25253
|
+
export interface SharedApiChangeElasticsearchSecurityUserPasswordRequest {
|
|
25254
|
+
/**
|
|
25255
|
+
*
|
|
25256
|
+
* @type {string}
|
|
25257
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
25258
|
+
*/
|
|
25259
|
+
readonly orgName: string
|
|
25260
|
+
|
|
25261
|
+
/**
|
|
25262
|
+
*
|
|
25263
|
+
* @type {string}
|
|
25264
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
25265
|
+
*/
|
|
25266
|
+
readonly clusterName: string
|
|
25267
|
+
|
|
25268
|
+
/**
|
|
25269
|
+
*
|
|
25270
|
+
* @type {string}
|
|
25271
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
25272
|
+
*/
|
|
25273
|
+
readonly username: string
|
|
25274
|
+
|
|
25275
|
+
/**
|
|
25276
|
+
*
|
|
25277
|
+
* @type {ESSecurityPasswordRequest}
|
|
25278
|
+
* @memberof SharedApiChangeElasticsearchSecurityUserPassword
|
|
25279
|
+
*/
|
|
25280
|
+
readonly body: ESSecurityPasswordRequest
|
|
25281
|
+
}
|
|
25282
|
+
|
|
23886
25283
|
/**
|
|
23887
25284
|
* Request parameters for closeSessions operation in SharedApi.
|
|
23888
25285
|
* @export
|
|
@@ -24828,6 +26225,90 @@ export interface SharedApiDeleteDatabaseRequest {
|
|
|
24828
26225
|
readonly databaseName: string
|
|
24829
26226
|
}
|
|
24830
26227
|
|
|
26228
|
+
/**
|
|
26229
|
+
* Request parameters for deleteElasticsearchSecurityRole operation in SharedApi.
|
|
26230
|
+
* @export
|
|
26231
|
+
* @interface SharedApiDeleteElasticsearchSecurityRoleRequest
|
|
26232
|
+
*/
|
|
26233
|
+
export interface SharedApiDeleteElasticsearchSecurityRoleRequest {
|
|
26234
|
+
/**
|
|
26235
|
+
*
|
|
26236
|
+
* @type {string}
|
|
26237
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
26238
|
+
*/
|
|
26239
|
+
readonly orgName: string
|
|
26240
|
+
|
|
26241
|
+
/**
|
|
26242
|
+
*
|
|
26243
|
+
* @type {string}
|
|
26244
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
26245
|
+
*/
|
|
26246
|
+
readonly clusterName: string
|
|
26247
|
+
|
|
26248
|
+
/**
|
|
26249
|
+
*
|
|
26250
|
+
* @type {string}
|
|
26251
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRole
|
|
26252
|
+
*/
|
|
26253
|
+
readonly roleName: string
|
|
26254
|
+
}
|
|
26255
|
+
|
|
26256
|
+
/**
|
|
26257
|
+
* Request parameters for deleteElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
26258
|
+
* @export
|
|
26259
|
+
* @interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest
|
|
26260
|
+
*/
|
|
26261
|
+
export interface SharedApiDeleteElasticsearchSecurityRoleMappingRequest {
|
|
26262
|
+
/**
|
|
26263
|
+
*
|
|
26264
|
+
* @type {string}
|
|
26265
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
26266
|
+
*/
|
|
26267
|
+
readonly orgName: string
|
|
26268
|
+
|
|
26269
|
+
/**
|
|
26270
|
+
*
|
|
26271
|
+
* @type {string}
|
|
26272
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
26273
|
+
*/
|
|
26274
|
+
readonly clusterName: string
|
|
26275
|
+
|
|
26276
|
+
/**
|
|
26277
|
+
*
|
|
26278
|
+
* @type {string}
|
|
26279
|
+
* @memberof SharedApiDeleteElasticsearchSecurityRoleMapping
|
|
26280
|
+
*/
|
|
26281
|
+
readonly mappingName: string
|
|
26282
|
+
}
|
|
26283
|
+
|
|
26284
|
+
/**
|
|
26285
|
+
* Request parameters for deleteElasticsearchSecurityUser operation in SharedApi.
|
|
26286
|
+
* @export
|
|
26287
|
+
* @interface SharedApiDeleteElasticsearchSecurityUserRequest
|
|
26288
|
+
*/
|
|
26289
|
+
export interface SharedApiDeleteElasticsearchSecurityUserRequest {
|
|
26290
|
+
/**
|
|
26291
|
+
*
|
|
26292
|
+
* @type {string}
|
|
26293
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
26294
|
+
*/
|
|
26295
|
+
readonly orgName: string
|
|
26296
|
+
|
|
26297
|
+
/**
|
|
26298
|
+
*
|
|
26299
|
+
* @type {string}
|
|
26300
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
26301
|
+
*/
|
|
26302
|
+
readonly clusterName: string
|
|
26303
|
+
|
|
26304
|
+
/**
|
|
26305
|
+
*
|
|
26306
|
+
* @type {string}
|
|
26307
|
+
* @memberof SharedApiDeleteElasticsearchSecurityUser
|
|
26308
|
+
*/
|
|
26309
|
+
readonly username: string
|
|
26310
|
+
}
|
|
26311
|
+
|
|
24831
26312
|
/**
|
|
24832
26313
|
* Request parameters for deleteHiveAccount operation in SharedApi.
|
|
24833
26314
|
* @export
|
|
@@ -26557,6 +28038,111 @@ export interface SharedApiGetDatabaseOptionsRequest {
|
|
|
26557
28038
|
readonly filter?: string
|
|
26558
28039
|
}
|
|
26559
28040
|
|
|
28041
|
+
/**
|
|
28042
|
+
* Request parameters for getElasticsearchBuiltinPrivileges operation in SharedApi.
|
|
28043
|
+
* @export
|
|
28044
|
+
* @interface SharedApiGetElasticsearchBuiltinPrivilegesRequest
|
|
28045
|
+
*/
|
|
28046
|
+
export interface SharedApiGetElasticsearchBuiltinPrivilegesRequest {
|
|
28047
|
+
/**
|
|
28048
|
+
*
|
|
28049
|
+
* @type {string}
|
|
28050
|
+
* @memberof SharedApiGetElasticsearchBuiltinPrivileges
|
|
28051
|
+
*/
|
|
28052
|
+
readonly orgName: string
|
|
28053
|
+
|
|
28054
|
+
/**
|
|
28055
|
+
*
|
|
28056
|
+
* @type {string}
|
|
28057
|
+
* @memberof SharedApiGetElasticsearchBuiltinPrivileges
|
|
28058
|
+
*/
|
|
28059
|
+
readonly clusterName: string
|
|
28060
|
+
}
|
|
28061
|
+
|
|
28062
|
+
/**
|
|
28063
|
+
* Request parameters for getElasticsearchSecurityRole operation in SharedApi.
|
|
28064
|
+
* @export
|
|
28065
|
+
* @interface SharedApiGetElasticsearchSecurityRoleRequest
|
|
28066
|
+
*/
|
|
28067
|
+
export interface SharedApiGetElasticsearchSecurityRoleRequest {
|
|
28068
|
+
/**
|
|
28069
|
+
*
|
|
28070
|
+
* @type {string}
|
|
28071
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
28072
|
+
*/
|
|
28073
|
+
readonly orgName: string
|
|
28074
|
+
|
|
28075
|
+
/**
|
|
28076
|
+
*
|
|
28077
|
+
* @type {string}
|
|
28078
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
28079
|
+
*/
|
|
28080
|
+
readonly clusterName: string
|
|
28081
|
+
|
|
28082
|
+
/**
|
|
28083
|
+
*
|
|
28084
|
+
* @type {string}
|
|
28085
|
+
* @memberof SharedApiGetElasticsearchSecurityRole
|
|
28086
|
+
*/
|
|
28087
|
+
readonly roleName: string
|
|
28088
|
+
}
|
|
28089
|
+
|
|
28090
|
+
/**
|
|
28091
|
+
* Request parameters for getElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
28092
|
+
* @export
|
|
28093
|
+
* @interface SharedApiGetElasticsearchSecurityRoleMappingRequest
|
|
28094
|
+
*/
|
|
28095
|
+
export interface SharedApiGetElasticsearchSecurityRoleMappingRequest {
|
|
28096
|
+
/**
|
|
28097
|
+
*
|
|
28098
|
+
* @type {string}
|
|
28099
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
28100
|
+
*/
|
|
28101
|
+
readonly orgName: string
|
|
28102
|
+
|
|
28103
|
+
/**
|
|
28104
|
+
*
|
|
28105
|
+
* @type {string}
|
|
28106
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
28107
|
+
*/
|
|
28108
|
+
readonly clusterName: string
|
|
28109
|
+
|
|
28110
|
+
/**
|
|
28111
|
+
*
|
|
28112
|
+
* @type {string}
|
|
28113
|
+
* @memberof SharedApiGetElasticsearchSecurityRoleMapping
|
|
28114
|
+
*/
|
|
28115
|
+
readonly mappingName: string
|
|
28116
|
+
}
|
|
28117
|
+
|
|
28118
|
+
/**
|
|
28119
|
+
* Request parameters for getElasticsearchSecurityUser operation in SharedApi.
|
|
28120
|
+
* @export
|
|
28121
|
+
* @interface SharedApiGetElasticsearchSecurityUserRequest
|
|
28122
|
+
*/
|
|
28123
|
+
export interface SharedApiGetElasticsearchSecurityUserRequest {
|
|
28124
|
+
/**
|
|
28125
|
+
*
|
|
28126
|
+
* @type {string}
|
|
28127
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
28128
|
+
*/
|
|
28129
|
+
readonly orgName: string
|
|
28130
|
+
|
|
28131
|
+
/**
|
|
28132
|
+
*
|
|
28133
|
+
* @type {string}
|
|
28134
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
28135
|
+
*/
|
|
28136
|
+
readonly clusterName: string
|
|
28137
|
+
|
|
28138
|
+
/**
|
|
28139
|
+
*
|
|
28140
|
+
* @type {string}
|
|
28141
|
+
* @memberof SharedApiGetElasticsearchSecurityUser
|
|
28142
|
+
*/
|
|
28143
|
+
readonly username: string
|
|
28144
|
+
}
|
|
28145
|
+
|
|
26560
28146
|
/**
|
|
26561
28147
|
* Request parameters for getEngineAvailableConsole operation in SharedApi.
|
|
26562
28148
|
* @export
|
|
@@ -28125,6 +29711,69 @@ export interface SharedApiListDmsDatabasesRequest {
|
|
|
28125
29711
|
readonly id: string
|
|
28126
29712
|
}
|
|
28127
29713
|
|
|
29714
|
+
/**
|
|
29715
|
+
* Request parameters for listElasticsearchSecurityRoleMappings operation in SharedApi.
|
|
29716
|
+
* @export
|
|
29717
|
+
* @interface SharedApiListElasticsearchSecurityRoleMappingsRequest
|
|
29718
|
+
*/
|
|
29719
|
+
export interface SharedApiListElasticsearchSecurityRoleMappingsRequest {
|
|
29720
|
+
/**
|
|
29721
|
+
*
|
|
29722
|
+
* @type {string}
|
|
29723
|
+
* @memberof SharedApiListElasticsearchSecurityRoleMappings
|
|
29724
|
+
*/
|
|
29725
|
+
readonly orgName: string
|
|
29726
|
+
|
|
29727
|
+
/**
|
|
29728
|
+
*
|
|
29729
|
+
* @type {string}
|
|
29730
|
+
* @memberof SharedApiListElasticsearchSecurityRoleMappings
|
|
29731
|
+
*/
|
|
29732
|
+
readonly clusterName: string
|
|
29733
|
+
}
|
|
29734
|
+
|
|
29735
|
+
/**
|
|
29736
|
+
* Request parameters for listElasticsearchSecurityRoles operation in SharedApi.
|
|
29737
|
+
* @export
|
|
29738
|
+
* @interface SharedApiListElasticsearchSecurityRolesRequest
|
|
29739
|
+
*/
|
|
29740
|
+
export interface SharedApiListElasticsearchSecurityRolesRequest {
|
|
29741
|
+
/**
|
|
29742
|
+
*
|
|
29743
|
+
* @type {string}
|
|
29744
|
+
* @memberof SharedApiListElasticsearchSecurityRoles
|
|
29745
|
+
*/
|
|
29746
|
+
readonly orgName: string
|
|
29747
|
+
|
|
29748
|
+
/**
|
|
29749
|
+
*
|
|
29750
|
+
* @type {string}
|
|
29751
|
+
* @memberof SharedApiListElasticsearchSecurityRoles
|
|
29752
|
+
*/
|
|
29753
|
+
readonly clusterName: string
|
|
29754
|
+
}
|
|
29755
|
+
|
|
29756
|
+
/**
|
|
29757
|
+
* Request parameters for listElasticsearchSecurityUsers operation in SharedApi.
|
|
29758
|
+
* @export
|
|
29759
|
+
* @interface SharedApiListElasticsearchSecurityUsersRequest
|
|
29760
|
+
*/
|
|
29761
|
+
export interface SharedApiListElasticsearchSecurityUsersRequest {
|
|
29762
|
+
/**
|
|
29763
|
+
*
|
|
29764
|
+
* @type {string}
|
|
29765
|
+
* @memberof SharedApiListElasticsearchSecurityUsers
|
|
29766
|
+
*/
|
|
29767
|
+
readonly orgName: string
|
|
29768
|
+
|
|
29769
|
+
/**
|
|
29770
|
+
*
|
|
29771
|
+
* @type {string}
|
|
29772
|
+
* @memberof SharedApiListElasticsearchSecurityUsers
|
|
29773
|
+
*/
|
|
29774
|
+
readonly clusterName: string
|
|
29775
|
+
}
|
|
29776
|
+
|
|
28128
29777
|
/**
|
|
28129
29778
|
* Request parameters for listEndpoints operation in SharedApi.
|
|
28130
29779
|
* @export
|
|
@@ -29315,6 +30964,34 @@ export interface SharedApiLockAccountRequest {
|
|
|
29315
30964
|
readonly accountName: string
|
|
29316
30965
|
}
|
|
29317
30966
|
|
|
30967
|
+
/**
|
|
30968
|
+
* Request parameters for lockElasticsearchSecurityUser operation in SharedApi.
|
|
30969
|
+
* @export
|
|
30970
|
+
* @interface SharedApiLockElasticsearchSecurityUserRequest
|
|
30971
|
+
*/
|
|
30972
|
+
export interface SharedApiLockElasticsearchSecurityUserRequest {
|
|
30973
|
+
/**
|
|
30974
|
+
*
|
|
30975
|
+
* @type {string}
|
|
30976
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
30977
|
+
*/
|
|
30978
|
+
readonly orgName: string
|
|
30979
|
+
|
|
30980
|
+
/**
|
|
30981
|
+
*
|
|
30982
|
+
* @type {string}
|
|
30983
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
30984
|
+
*/
|
|
30985
|
+
readonly clusterName: string
|
|
30986
|
+
|
|
30987
|
+
/**
|
|
30988
|
+
*
|
|
30989
|
+
* @type {string}
|
|
30990
|
+
* @memberof SharedApiLockElasticsearchSecurityUser
|
|
30991
|
+
*/
|
|
30992
|
+
readonly username: string
|
|
30993
|
+
}
|
|
30994
|
+
|
|
29318
30995
|
/**
|
|
29319
30996
|
* Request parameters for manageMssqlTDEDatabase operation in SharedApi.
|
|
29320
30997
|
* @export
|
|
@@ -29553,6 +31230,111 @@ export interface SharedApiPromoteClusterRequest {
|
|
|
29553
31230
|
readonly body: OpsPromote
|
|
29554
31231
|
}
|
|
29555
31232
|
|
|
31233
|
+
/**
|
|
31234
|
+
* Request parameters for putElasticsearchSecurityRole operation in SharedApi.
|
|
31235
|
+
* @export
|
|
31236
|
+
* @interface SharedApiPutElasticsearchSecurityRoleRequest
|
|
31237
|
+
*/
|
|
31238
|
+
export interface SharedApiPutElasticsearchSecurityRoleRequest {
|
|
31239
|
+
/**
|
|
31240
|
+
*
|
|
31241
|
+
* @type {string}
|
|
31242
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
31243
|
+
*/
|
|
31244
|
+
readonly orgName: string
|
|
31245
|
+
|
|
31246
|
+
/**
|
|
31247
|
+
*
|
|
31248
|
+
* @type {string}
|
|
31249
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
31250
|
+
*/
|
|
31251
|
+
readonly clusterName: string
|
|
31252
|
+
|
|
31253
|
+
/**
|
|
31254
|
+
*
|
|
31255
|
+
* @type {string}
|
|
31256
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
31257
|
+
*/
|
|
31258
|
+
readonly roleName: string
|
|
31259
|
+
|
|
31260
|
+
/**
|
|
31261
|
+
*
|
|
31262
|
+
* @type {ESSecurityRoleDescriptor}
|
|
31263
|
+
* @memberof SharedApiPutElasticsearchSecurityRole
|
|
31264
|
+
*/
|
|
31265
|
+
readonly body: ESSecurityRoleDescriptor
|
|
31266
|
+
}
|
|
31267
|
+
|
|
31268
|
+
/**
|
|
31269
|
+
* Request parameters for putElasticsearchSecurityRoleMapping operation in SharedApi.
|
|
31270
|
+
* @export
|
|
31271
|
+
* @interface SharedApiPutElasticsearchSecurityRoleMappingRequest
|
|
31272
|
+
*/
|
|
31273
|
+
export interface SharedApiPutElasticsearchSecurityRoleMappingRequest {
|
|
31274
|
+
/**
|
|
31275
|
+
*
|
|
31276
|
+
* @type {string}
|
|
31277
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
31278
|
+
*/
|
|
31279
|
+
readonly orgName: string
|
|
31280
|
+
|
|
31281
|
+
/**
|
|
31282
|
+
*
|
|
31283
|
+
* @type {string}
|
|
31284
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
31285
|
+
*/
|
|
31286
|
+
readonly clusterName: string
|
|
31287
|
+
|
|
31288
|
+
/**
|
|
31289
|
+
*
|
|
31290
|
+
* @type {string}
|
|
31291
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
31292
|
+
*/
|
|
31293
|
+
readonly mappingName: string
|
|
31294
|
+
|
|
31295
|
+
/**
|
|
31296
|
+
*
|
|
31297
|
+
* @type {ESSecurityRoleMapping}
|
|
31298
|
+
* @memberof SharedApiPutElasticsearchSecurityRoleMapping
|
|
31299
|
+
*/
|
|
31300
|
+
readonly body: ESSecurityRoleMapping
|
|
31301
|
+
}
|
|
31302
|
+
|
|
31303
|
+
/**
|
|
31304
|
+
* Request parameters for putElasticsearchSecurityUser operation in SharedApi.
|
|
31305
|
+
* @export
|
|
31306
|
+
* @interface SharedApiPutElasticsearchSecurityUserRequest
|
|
31307
|
+
*/
|
|
31308
|
+
export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
31309
|
+
/**
|
|
31310
|
+
*
|
|
31311
|
+
* @type {string}
|
|
31312
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
31313
|
+
*/
|
|
31314
|
+
readonly orgName: string
|
|
31315
|
+
|
|
31316
|
+
/**
|
|
31317
|
+
*
|
|
31318
|
+
* @type {string}
|
|
31319
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
31320
|
+
*/
|
|
31321
|
+
readonly clusterName: string
|
|
31322
|
+
|
|
31323
|
+
/**
|
|
31324
|
+
*
|
|
31325
|
+
* @type {string}
|
|
31326
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
31327
|
+
*/
|
|
31328
|
+
readonly username: string
|
|
31329
|
+
|
|
31330
|
+
/**
|
|
31331
|
+
*
|
|
31332
|
+
* @type {ESPutSecurityUserRequest}
|
|
31333
|
+
* @memberof SharedApiPutElasticsearchSecurityUser
|
|
31334
|
+
*/
|
|
31335
|
+
readonly body: ESPutSecurityUserRequest
|
|
31336
|
+
}
|
|
31337
|
+
|
|
29556
31338
|
/**
|
|
29557
31339
|
* Request parameters for query operation in SharedApi.
|
|
29558
31340
|
* @export
|
|
@@ -31282,6 +33064,34 @@ export interface SharedApiUnlockAccountRequest {
|
|
|
31282
33064
|
readonly accountName: string
|
|
31283
33065
|
}
|
|
31284
33066
|
|
|
33067
|
+
/**
|
|
33068
|
+
* Request parameters for unlockElasticsearchSecurityUser operation in SharedApi.
|
|
33069
|
+
* @export
|
|
33070
|
+
* @interface SharedApiUnlockElasticsearchSecurityUserRequest
|
|
33071
|
+
*/
|
|
33072
|
+
export interface SharedApiUnlockElasticsearchSecurityUserRequest {
|
|
33073
|
+
/**
|
|
33074
|
+
*
|
|
33075
|
+
* @type {string}
|
|
33076
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
33077
|
+
*/
|
|
33078
|
+
readonly orgName: string
|
|
33079
|
+
|
|
33080
|
+
/**
|
|
33081
|
+
*
|
|
33082
|
+
* @type {string}
|
|
33083
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
33084
|
+
*/
|
|
33085
|
+
readonly clusterName: string
|
|
33086
|
+
|
|
33087
|
+
/**
|
|
33088
|
+
*
|
|
33089
|
+
* @type {string}
|
|
33090
|
+
* @memberof SharedApiUnlockElasticsearchSecurityUser
|
|
33091
|
+
*/
|
|
33092
|
+
readonly username: string
|
|
33093
|
+
}
|
|
33094
|
+
|
|
31285
33095
|
/**
|
|
31286
33096
|
* Request parameters for updateAccount operation in SharedApi.
|
|
31287
33097
|
* @export
|
|
@@ -32267,6 +34077,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32267
34077
|
return SharedApiFp(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
32268
34078
|
}
|
|
32269
34079
|
|
|
34080
|
+
/**
|
|
34081
|
+
*
|
|
34082
|
+
* @summary Change Elasticsearch account password
|
|
34083
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
34084
|
+
* @param {*} [options] Override http request option.
|
|
34085
|
+
* @throws {RequiredError}
|
|
34086
|
+
* @memberof SharedApi
|
|
34087
|
+
*/
|
|
34088
|
+
public changeElasticsearchSecurityUserPassword(requestParameters: SharedApiChangeElasticsearchSecurityUserPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
34089
|
+
return SharedApiFp(this.configuration).changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
34090
|
+
}
|
|
34091
|
+
|
|
32270
34092
|
/**
|
|
32271
34093
|
*
|
|
32272
34094
|
* @summary close the session for the cluster
|
|
@@ -32676,6 +34498,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32676
34498
|
return SharedApiFp(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
32677
34499
|
}
|
|
32678
34500
|
|
|
34501
|
+
/**
|
|
34502
|
+
*
|
|
34503
|
+
* @summary Delete Elasticsearch security role
|
|
34504
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
34505
|
+
* @param {*} [options] Override http request option.
|
|
34506
|
+
* @throws {RequiredError}
|
|
34507
|
+
* @memberof SharedApi
|
|
34508
|
+
*/
|
|
34509
|
+
public deleteElasticsearchSecurityRole(requestParameters: SharedApiDeleteElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
34510
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
34511
|
+
}
|
|
34512
|
+
|
|
34513
|
+
/**
|
|
34514
|
+
*
|
|
34515
|
+
* @summary Delete Elasticsearch security role mapping
|
|
34516
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
34517
|
+
* @param {*} [options] Override http request option.
|
|
34518
|
+
* @throws {RequiredError}
|
|
34519
|
+
* @memberof SharedApi
|
|
34520
|
+
*/
|
|
34521
|
+
public deleteElasticsearchSecurityRoleMapping(requestParameters: SharedApiDeleteElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
34522
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
34523
|
+
}
|
|
34524
|
+
|
|
34525
|
+
/**
|
|
34526
|
+
*
|
|
34527
|
+
* @summary Delete Elasticsearch security user
|
|
34528
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
34529
|
+
* @param {*} [options] Override http request option.
|
|
34530
|
+
* @throws {RequiredError}
|
|
34531
|
+
* @memberof SharedApi
|
|
34532
|
+
*/
|
|
34533
|
+
public deleteElasticsearchSecurityUser(requestParameters: SharedApiDeleteElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
34534
|
+
return SharedApiFp(this.configuration).deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
34535
|
+
}
|
|
34536
|
+
|
|
32679
34537
|
/**
|
|
32680
34538
|
* delete an hive account in cluster
|
|
32681
34539
|
* @summary Delete hive account
|
|
@@ -33275,6 +35133,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33275
35133
|
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));
|
|
33276
35134
|
}
|
|
33277
35135
|
|
|
35136
|
+
/**
|
|
35137
|
+
*
|
|
35138
|
+
* @summary Get Elasticsearch builtin privileges
|
|
35139
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
35140
|
+
* @param {*} [options] Override http request option.
|
|
35141
|
+
* @throws {RequiredError}
|
|
35142
|
+
* @memberof SharedApi
|
|
35143
|
+
*/
|
|
35144
|
+
public getElasticsearchBuiltinPrivileges(requestParameters: SharedApiGetElasticsearchBuiltinPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
35145
|
+
return SharedApiFp(this.configuration).getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35146
|
+
}
|
|
35147
|
+
|
|
35148
|
+
/**
|
|
35149
|
+
*
|
|
35150
|
+
* @summary Get Elasticsearch security role
|
|
35151
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
35152
|
+
* @param {*} [options] Override http request option.
|
|
35153
|
+
* @throws {RequiredError}
|
|
35154
|
+
* @memberof SharedApi
|
|
35155
|
+
*/
|
|
35156
|
+
public getElasticsearchSecurityRole(requestParameters: SharedApiGetElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
35157
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
35158
|
+
}
|
|
35159
|
+
|
|
35160
|
+
/**
|
|
35161
|
+
*
|
|
35162
|
+
* @summary Get Elasticsearch security role mapping
|
|
35163
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
35164
|
+
* @param {*} [options] Override http request option.
|
|
35165
|
+
* @throws {RequiredError}
|
|
35166
|
+
* @memberof SharedApi
|
|
35167
|
+
*/
|
|
35168
|
+
public getElasticsearchSecurityRoleMapping(requestParameters: SharedApiGetElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
35169
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
35170
|
+
}
|
|
35171
|
+
|
|
35172
|
+
/**
|
|
35173
|
+
*
|
|
35174
|
+
* @summary Get Elasticsearch security user
|
|
35175
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
35176
|
+
* @param {*} [options] Override http request option.
|
|
35177
|
+
* @throws {RequiredError}
|
|
35178
|
+
* @memberof SharedApi
|
|
35179
|
+
*/
|
|
35180
|
+
public getElasticsearchSecurityUser(requestParameters: SharedApiGetElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
35181
|
+
return SharedApiFp(this.configuration).getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
35182
|
+
}
|
|
35183
|
+
|
|
33278
35184
|
/**
|
|
33279
35185
|
* get engine available console
|
|
33280
35186
|
* @summary get engine available console
|
|
@@ -33815,6 +35721,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33815
35721
|
return SharedApiFp(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
33816
35722
|
}
|
|
33817
35723
|
|
|
35724
|
+
/**
|
|
35725
|
+
*
|
|
35726
|
+
* @summary List Elasticsearch security role mappings
|
|
35727
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
35728
|
+
* @param {*} [options] Override http request option.
|
|
35729
|
+
* @throws {RequiredError}
|
|
35730
|
+
* @memberof SharedApi
|
|
35731
|
+
*/
|
|
35732
|
+
public listElasticsearchSecurityRoleMappings(requestParameters: SharedApiListElasticsearchSecurityRoleMappingsRequest, options?: RawAxiosRequestConfig) {
|
|
35733
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35734
|
+
}
|
|
35735
|
+
|
|
35736
|
+
/**
|
|
35737
|
+
*
|
|
35738
|
+
* @summary List Elasticsearch security roles
|
|
35739
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
35740
|
+
* @param {*} [options] Override http request option.
|
|
35741
|
+
* @throws {RequiredError}
|
|
35742
|
+
* @memberof SharedApi
|
|
35743
|
+
*/
|
|
35744
|
+
public listElasticsearchSecurityRoles(requestParameters: SharedApiListElasticsearchSecurityRolesRequest, options?: RawAxiosRequestConfig) {
|
|
35745
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35746
|
+
}
|
|
35747
|
+
|
|
35748
|
+
/**
|
|
35749
|
+
*
|
|
35750
|
+
* @summary List Elasticsearch security users
|
|
35751
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
35752
|
+
* @param {*} [options] Override http request option.
|
|
35753
|
+
* @throws {RequiredError}
|
|
35754
|
+
* @memberof SharedApi
|
|
35755
|
+
*/
|
|
35756
|
+
public listElasticsearchSecurityUsers(requestParameters: SharedApiListElasticsearchSecurityUsersRequest, options?: RawAxiosRequestConfig) {
|
|
35757
|
+
return SharedApiFp(this.configuration).listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35758
|
+
}
|
|
35759
|
+
|
|
33818
35760
|
/**
|
|
33819
35761
|
*
|
|
33820
35762
|
* @summary List cluster endpoints
|
|
@@ -34341,6 +36283,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34341
36283
|
return SharedApiFp(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
34342
36284
|
}
|
|
34343
36285
|
|
|
36286
|
+
/**
|
|
36287
|
+
*
|
|
36288
|
+
* @summary Lock Elasticsearch account
|
|
36289
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
36290
|
+
* @param {*} [options] Override http request option.
|
|
36291
|
+
* @throws {RequiredError}
|
|
36292
|
+
* @memberof SharedApi
|
|
36293
|
+
*/
|
|
36294
|
+
public lockElasticsearchSecurityUser(requestParameters: SharedApiLockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
36295
|
+
return SharedApiFp(this.configuration).lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
36296
|
+
}
|
|
36297
|
+
|
|
34344
36298
|
/**
|
|
34345
36299
|
*
|
|
34346
36300
|
* @summary batch modify database tde status
|
|
@@ -34449,6 +36403,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34449
36403
|
return SharedApiFp(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
34450
36404
|
}
|
|
34451
36405
|
|
|
36406
|
+
/**
|
|
36407
|
+
*
|
|
36408
|
+
* @summary Create or update Elasticsearch security role
|
|
36409
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
36410
|
+
* @param {*} [options] Override http request option.
|
|
36411
|
+
* @throws {RequiredError}
|
|
36412
|
+
* @memberof SharedApi
|
|
36413
|
+
*/
|
|
36414
|
+
public putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig) {
|
|
36415
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36416
|
+
}
|
|
36417
|
+
|
|
36418
|
+
/**
|
|
36419
|
+
*
|
|
36420
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
36421
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
36422
|
+
* @param {*} [options] Override http request option.
|
|
36423
|
+
* @throws {RequiredError}
|
|
36424
|
+
* @memberof SharedApi
|
|
36425
|
+
*/
|
|
36426
|
+
public putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig) {
|
|
36427
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36428
|
+
}
|
|
36429
|
+
|
|
36430
|
+
/**
|
|
36431
|
+
*
|
|
36432
|
+
* @summary Create or update Elasticsearch security user
|
|
36433
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
36434
|
+
* @param {*} [options] Override http request option.
|
|
36435
|
+
* @throws {RequiredError}
|
|
36436
|
+
* @memberof SharedApi
|
|
36437
|
+
*/
|
|
36438
|
+
public putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
36439
|
+
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36440
|
+
}
|
|
36441
|
+
|
|
34452
36442
|
/**
|
|
34453
36443
|
*
|
|
34454
36444
|
* @summary create a SQL query
|
|
@@ -34880,6 +36870,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34880
36870
|
return SharedApiFp(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
34881
36871
|
}
|
|
34882
36872
|
|
|
36873
|
+
/**
|
|
36874
|
+
*
|
|
36875
|
+
* @summary Unlock Elasticsearch account
|
|
36876
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
36877
|
+
* @param {*} [options] Override http request option.
|
|
36878
|
+
* @throws {RequiredError}
|
|
36879
|
+
* @memberof SharedApi
|
|
36880
|
+
*/
|
|
36881
|
+
public unlockElasticsearchSecurityUser(requestParameters: SharedApiUnlockElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig) {
|
|
36882
|
+
return SharedApiFp(this.configuration).unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
36883
|
+
}
|
|
36884
|
+
|
|
34883
36885
|
/**
|
|
34884
36886
|
* update an account in cluster
|
|
34885
36887
|
* @summary update cluster account
|