kb-cloud-client-typescript 2.3.0-alpha.174 → 2.3.0-alpha.175
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/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/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/dist/openapi/models/put-security-user-request.d.ts +63 -0
- package/dist/openapi/models/put-security-user-request.d.ts.map +1 -0
- package/dist/openapi/models/put-security-user-request.js +16 -0
- package/dist/openapi/models/put-security-user-request.js.map +1 -0
- package/dist/openapi/models/security-application-privileges.d.ts +37 -0
- package/dist/openapi/models/security-application-privileges.d.ts.map +1 -0
- package/dist/openapi/models/security-application-privileges.js +16 -0
- package/dist/openapi/models/security-application-privileges.js.map +1 -0
- package/dist/openapi/models/security-field-security.d.ts +31 -0
- package/dist/openapi/models/security-field-security.d.ts.map +1 -0
- package/dist/openapi/models/security-field-security.js +16 -0
- package/dist/openapi/models/security-field-security.js.map +1 -0
- package/dist/openapi/models/security-index-privileges.d.ts +50 -0
- package/dist/openapi/models/security-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/security-index-privileges.js +16 -0
- package/dist/openapi/models/security-index-privileges.js.map +1 -0
- package/dist/openapi/models/security-password-request.d.ts +25 -0
- package/dist/openapi/models/security-password-request.d.ts.map +1 -0
- package/dist/openapi/models/security-password-request.js +16 -0
- package/dist/openapi/models/security-password-request.js.map +1 -0
- package/dist/openapi/models/security-remote-cluster-privileges.d.ts +31 -0
- package/dist/openapi/models/security-remote-cluster-privileges.d.ts.map +1 -0
- package/dist/openapi/models/security-remote-cluster-privileges.js +16 -0
- package/dist/openapi/models/security-remote-cluster-privileges.js.map +1 -0
- package/dist/openapi/models/security-remote-index-privileges.d.ts +56 -0
- package/dist/openapi/models/security-remote-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/security-remote-index-privileges.js +16 -0
- package/dist/openapi/models/security-remote-index-privileges.js.map +1 -0
- package/dist/openapi/models/security-role-descriptor.d.ts +97 -0
- package/dist/openapi/models/security-role-descriptor.d.ts.map +1 -0
- package/dist/openapi/models/security-role-descriptor.js +16 -0
- package/dist/openapi/models/security-role-descriptor.js.map +1 -0
- package/dist/openapi/models/security-role-mapping.d.ts +54 -0
- package/dist/openapi/models/security-role-mapping.d.ts.map +1 -0
- package/dist/openapi/models/security-role-mapping.js +16 -0
- package/dist/openapi/models/security-role-mapping.js.map +1 -0
- package/dist/openapi/models/security-role-template-format.d.ts +22 -0
- package/dist/openapi/models/security-role-template-format.d.ts.map +1 -0
- package/dist/openapi/models/security-role-template-format.js +26 -0
- package/dist/openapi/models/security-role-template-format.js.map +1 -0
- package/dist/openapi/models/security-role-template.d.ts +34 -0
- package/dist/openapi/models/security-role-template.d.ts.map +1 -0
- package/dist/openapi/models/security-role-template.js +16 -0
- package/dist/openapi/models/security-role-template.js.map +1 -0
- package/dist/openapi/models/security-user.d.ts +51 -0
- package/dist/openapi/models/security-user.d.ts.map +1 -0
- package/dist/openapi/models/security-user.js +16 -0
- package/dist/openapi/models/security-user.js.map +1 -0
- package/package.json +1 -1
- 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/index.ts +12 -0
- package/src/openapi/models/put-security-user-request.ts +66 -0
- package/src/openapi/models/security-application-privileges.ts +42 -0
- package/src/openapi/models/security-field-security.ts +36 -0
- package/src/openapi/models/security-index-privileges.ts +57 -0
- package/src/openapi/models/security-password-request.ts +30 -0
- package/src/openapi/models/security-remote-cluster-privileges.ts +36 -0
- package/src/openapi/models/security-remote-index-privileges.ts +63 -0
- package/src/openapi/models/security-role-descriptor.ts +102 -0
- package/src/openapi/models/security-role-mapping.ts +57 -0
- package/src/openapi/models/security-role-template-format.ts +31 -0
- package/src/openapi/models/security-role-template.ts +41 -0
- package/src/openapi/models/security-user.ts +54 -0
- package/src/openapi.yaml +840 -0
|
@@ -499,6 +499,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
499
499
|
options: localVarRequestOptions,
|
|
500
500
|
};
|
|
501
501
|
},
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @summary Change Elasticsearch account password
|
|
505
|
+
* @param {string} orgName
|
|
506
|
+
* @param {string} clusterName
|
|
507
|
+
* @param {string} username
|
|
508
|
+
* @param {SecurityPasswordRequest} body
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
changeElasticsearchSecurityUserPassword: async (orgName, clusterName, username, body, options = {}) => {
|
|
513
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
514
|
+
(0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'orgName', orgName);
|
|
515
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
516
|
+
(0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'clusterName', clusterName);
|
|
517
|
+
// verify required parameter 'username' is not null or undefined
|
|
518
|
+
(0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'username', username);
|
|
519
|
+
// verify required parameter 'body' is not null or undefined
|
|
520
|
+
(0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'body', body);
|
|
521
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
522
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
523
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
524
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
525
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
526
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
527
|
+
let baseOptions;
|
|
528
|
+
if (configuration) {
|
|
529
|
+
baseOptions = configuration.baseOptions;
|
|
530
|
+
}
|
|
531
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
532
|
+
const localVarHeaderParameter = {};
|
|
533
|
+
const localVarQueryParameter = {};
|
|
534
|
+
// authentication BearerToken required
|
|
535
|
+
// http bearer authentication required
|
|
536
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
537
|
+
// authentication DigestAuth required
|
|
538
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
539
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
540
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
541
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
542
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
543
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
544
|
+
return {
|
|
545
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
546
|
+
options: localVarRequestOptions,
|
|
547
|
+
};
|
|
548
|
+
},
|
|
502
549
|
/**
|
|
503
550
|
*
|
|
504
551
|
* @summary close the session for the cluster
|
|
@@ -1946,6 +1993,132 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1946
1993
|
options: localVarRequestOptions,
|
|
1947
1994
|
};
|
|
1948
1995
|
},
|
|
1996
|
+
/**
|
|
1997
|
+
*
|
|
1998
|
+
* @summary Delete Elasticsearch security role
|
|
1999
|
+
* @param {string} orgName
|
|
2000
|
+
* @param {string} clusterName
|
|
2001
|
+
* @param {string} roleName
|
|
2002
|
+
* @param {*} [options] Override http request option.
|
|
2003
|
+
* @throws {RequiredError}
|
|
2004
|
+
*/
|
|
2005
|
+
deleteElasticsearchSecurityRole: async (orgName, clusterName, roleName, options = {}) => {
|
|
2006
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2007
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityRole', 'orgName', orgName);
|
|
2008
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2009
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityRole', 'clusterName', clusterName);
|
|
2010
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2011
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityRole', 'roleName', roleName);
|
|
2012
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2013
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2014
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2015
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2016
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2017
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2018
|
+
let baseOptions;
|
|
2019
|
+
if (configuration) {
|
|
2020
|
+
baseOptions = configuration.baseOptions;
|
|
2021
|
+
}
|
|
2022
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2023
|
+
const localVarHeaderParameter = {};
|
|
2024
|
+
const localVarQueryParameter = {};
|
|
2025
|
+
// authentication BearerToken required
|
|
2026
|
+
// http bearer authentication required
|
|
2027
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2028
|
+
// authentication DigestAuth required
|
|
2029
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2030
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2031
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2032
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2033
|
+
return {
|
|
2034
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2035
|
+
options: localVarRequestOptions,
|
|
2036
|
+
};
|
|
2037
|
+
},
|
|
2038
|
+
/**
|
|
2039
|
+
*
|
|
2040
|
+
* @summary Delete Elasticsearch security role mapping
|
|
2041
|
+
* @param {string} orgName
|
|
2042
|
+
* @param {string} clusterName
|
|
2043
|
+
* @param {string} mappingName
|
|
2044
|
+
* @param {*} [options] Override http request option.
|
|
2045
|
+
* @throws {RequiredError}
|
|
2046
|
+
*/
|
|
2047
|
+
deleteElasticsearchSecurityRoleMapping: async (orgName, clusterName, mappingName, options = {}) => {
|
|
2048
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2049
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName);
|
|
2050
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2051
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName);
|
|
2052
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
2053
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName);
|
|
2054
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
2055
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2056
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2057
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
2058
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2059
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2060
|
+
let baseOptions;
|
|
2061
|
+
if (configuration) {
|
|
2062
|
+
baseOptions = configuration.baseOptions;
|
|
2063
|
+
}
|
|
2064
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2065
|
+
const localVarHeaderParameter = {};
|
|
2066
|
+
const localVarQueryParameter = {};
|
|
2067
|
+
// authentication BearerToken required
|
|
2068
|
+
// http bearer authentication required
|
|
2069
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2070
|
+
// authentication DigestAuth required
|
|
2071
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2072
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2073
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2074
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2075
|
+
return {
|
|
2076
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2077
|
+
options: localVarRequestOptions,
|
|
2078
|
+
};
|
|
2079
|
+
},
|
|
2080
|
+
/**
|
|
2081
|
+
*
|
|
2082
|
+
* @summary Delete Elasticsearch security user
|
|
2083
|
+
* @param {string} orgName
|
|
2084
|
+
* @param {string} clusterName
|
|
2085
|
+
* @param {string} username
|
|
2086
|
+
* @param {*} [options] Override http request option.
|
|
2087
|
+
* @throws {RequiredError}
|
|
2088
|
+
*/
|
|
2089
|
+
deleteElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
|
|
2090
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2091
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityUser', 'orgName', orgName);
|
|
2092
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2093
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityUser', 'clusterName', clusterName);
|
|
2094
|
+
// verify required parameter 'username' is not null or undefined
|
|
2095
|
+
(0, common_1.assertParamExists)('deleteElasticsearchSecurityUser', 'username', username);
|
|
2096
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
2097
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2098
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2099
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2101
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2102
|
+
let baseOptions;
|
|
2103
|
+
if (configuration) {
|
|
2104
|
+
baseOptions = configuration.baseOptions;
|
|
2105
|
+
}
|
|
2106
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2107
|
+
const localVarHeaderParameter = {};
|
|
2108
|
+
const localVarQueryParameter = {};
|
|
2109
|
+
// authentication BearerToken required
|
|
2110
|
+
// http bearer authentication required
|
|
2111
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2112
|
+
// authentication DigestAuth required
|
|
2113
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2114
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2115
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2116
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2117
|
+
return {
|
|
2118
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2119
|
+
options: localVarRequestOptions,
|
|
2120
|
+
};
|
|
2121
|
+
},
|
|
1949
2122
|
/**
|
|
1950
2123
|
* delete an hive account in cluster
|
|
1951
2124
|
* @summary Delete hive account
|
|
@@ -4258,23 +4431,19 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4258
4431
|
};
|
|
4259
4432
|
},
|
|
4260
4433
|
/**
|
|
4261
|
-
*
|
|
4262
|
-
* @summary
|
|
4263
|
-
* @param {string}
|
|
4264
|
-
* @param {string}
|
|
4265
|
-
* @param {string} clusterName name of the cluster
|
|
4434
|
+
*
|
|
4435
|
+
* @summary Get Elasticsearch builtin privileges
|
|
4436
|
+
* @param {string} orgName
|
|
4437
|
+
* @param {string} clusterName
|
|
4266
4438
|
* @param {*} [options] Override http request option.
|
|
4267
4439
|
* @throws {RequiredError}
|
|
4268
4440
|
*/
|
|
4269
|
-
|
|
4270
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
4271
|
-
(0, common_1.assertParamExists)('getEngineAvailableConsole', 'engineName', engineName);
|
|
4441
|
+
getElasticsearchBuiltinPrivileges: async (orgName, clusterName, options = {}) => {
|
|
4272
4442
|
// verify required parameter 'orgName' is not null or undefined
|
|
4273
|
-
(0, common_1.assertParamExists)('
|
|
4443
|
+
(0, common_1.assertParamExists)('getElasticsearchBuiltinPrivileges', 'orgName', orgName);
|
|
4274
4444
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4275
|
-
(0, common_1.assertParamExists)('
|
|
4276
|
-
const localVarPath = `/api/v1/data/
|
|
4277
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4445
|
+
(0, common_1.assertParamExists)('getElasticsearchBuiltinPrivileges', 'clusterName', clusterName);
|
|
4446
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/privileges/builtin`
|
|
4278
4447
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4279
4448
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4280
4449
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4300,21 +4469,25 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4300
4469
|
};
|
|
4301
4470
|
},
|
|
4302
4471
|
/**
|
|
4303
|
-
*
|
|
4304
|
-
* @summary Get
|
|
4305
|
-
* @param {string} orgName
|
|
4306
|
-
* @param {string} clusterName
|
|
4472
|
+
*
|
|
4473
|
+
* @summary Get Elasticsearch security role
|
|
4474
|
+
* @param {string} orgName
|
|
4475
|
+
* @param {string} clusterName
|
|
4476
|
+
* @param {string} roleName
|
|
4307
4477
|
* @param {*} [options] Override http request option.
|
|
4308
4478
|
* @throws {RequiredError}
|
|
4309
4479
|
*/
|
|
4310
|
-
|
|
4480
|
+
getElasticsearchSecurityRole: async (orgName, clusterName, roleName, options = {}) => {
|
|
4311
4481
|
// verify required parameter 'orgName' is not null or undefined
|
|
4312
|
-
(0, common_1.assertParamExists)('
|
|
4482
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityRole', 'orgName', orgName);
|
|
4313
4483
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4314
|
-
(0, common_1.assertParamExists)('
|
|
4315
|
-
|
|
4484
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityRole', 'clusterName', clusterName);
|
|
4485
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
4486
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityRole', 'roleName', roleName);
|
|
4487
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
4316
4488
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4317
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4489
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4490
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
4318
4491
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4319
4492
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4320
4493
|
let baseOptions;
|
|
@@ -4338,25 +4511,25 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4338
4511
|
};
|
|
4339
4512
|
},
|
|
4340
4513
|
/**
|
|
4341
|
-
*
|
|
4342
|
-
* @summary Get
|
|
4343
|
-
* @param {string} orgName
|
|
4344
|
-
* @param {string} clusterName
|
|
4345
|
-
* @param {string}
|
|
4514
|
+
*
|
|
4515
|
+
* @summary Get Elasticsearch security role mapping
|
|
4516
|
+
* @param {string} orgName
|
|
4517
|
+
* @param {string} clusterName
|
|
4518
|
+
* @param {string} mappingName
|
|
4346
4519
|
* @param {*} [options] Override http request option.
|
|
4347
4520
|
* @throws {RequiredError}
|
|
4348
4521
|
*/
|
|
4349
|
-
|
|
4522
|
+
getElasticsearchSecurityRoleMapping: async (orgName, clusterName, mappingName, options = {}) => {
|
|
4350
4523
|
// verify required parameter 'orgName' is not null or undefined
|
|
4351
|
-
(0, common_1.assertParamExists)('
|
|
4524
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityRoleMapping', 'orgName', orgName);
|
|
4352
4525
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4353
|
-
(0, common_1.assertParamExists)('
|
|
4354
|
-
// verify required parameter '
|
|
4355
|
-
(0, common_1.assertParamExists)('
|
|
4356
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
4526
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityRoleMapping', 'clusterName', clusterName);
|
|
4527
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
4528
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityRoleMapping', 'mappingName', mappingName);
|
|
4529
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
4357
4530
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4358
4531
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4359
|
-
.replace(`{${"
|
|
4532
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
4360
4533
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4361
4534
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4362
4535
|
let baseOptions;
|
|
@@ -4380,25 +4553,25 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4380
4553
|
};
|
|
4381
4554
|
},
|
|
4382
4555
|
/**
|
|
4383
|
-
*
|
|
4384
|
-
* @summary Get
|
|
4385
|
-
* @param {string} orgName
|
|
4386
|
-
* @param {string} clusterName
|
|
4387
|
-
* @param {string}
|
|
4556
|
+
*
|
|
4557
|
+
* @summary Get Elasticsearch security user
|
|
4558
|
+
* @param {string} orgName
|
|
4559
|
+
* @param {string} clusterName
|
|
4560
|
+
* @param {string} username
|
|
4388
4561
|
* @param {*} [options] Override http request option.
|
|
4389
4562
|
* @throws {RequiredError}
|
|
4390
4563
|
*/
|
|
4391
|
-
|
|
4564
|
+
getElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
|
|
4392
4565
|
// verify required parameter 'orgName' is not null or undefined
|
|
4393
|
-
(0, common_1.assertParamExists)('
|
|
4566
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityUser', 'orgName', orgName);
|
|
4394
4567
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4395
|
-
(0, common_1.assertParamExists)('
|
|
4396
|
-
// verify required parameter '
|
|
4397
|
-
(0, common_1.assertParamExists)('
|
|
4398
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
4568
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityUser', 'clusterName', clusterName);
|
|
4569
|
+
// verify required parameter 'username' is not null or undefined
|
|
4570
|
+
(0, common_1.assertParamExists)('getElasticsearchSecurityUser', 'username', username);
|
|
4571
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
4399
4572
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4400
4573
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4401
|
-
.replace(`{${"
|
|
4574
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
4402
4575
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4403
4576
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4404
4577
|
let baseOptions;
|
|
@@ -4422,19 +4595,23 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4422
4595
|
};
|
|
4423
4596
|
},
|
|
4424
4597
|
/**
|
|
4425
|
-
*
|
|
4426
|
-
* @summary
|
|
4598
|
+
* get engine available console
|
|
4599
|
+
* @summary get engine available console
|
|
4600
|
+
* @param {string} engineName name of the engine
|
|
4427
4601
|
* @param {string} orgName name of the Org
|
|
4428
|
-
* @param {string} clusterName name of the
|
|
4602
|
+
* @param {string} clusterName name of the cluster
|
|
4429
4603
|
* @param {*} [options] Override http request option.
|
|
4430
4604
|
* @throws {RequiredError}
|
|
4431
4605
|
*/
|
|
4432
|
-
|
|
4606
|
+
getEngineAvailableConsole: async (engineName, orgName, clusterName, options = {}) => {
|
|
4607
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4608
|
+
(0, common_1.assertParamExists)('getEngineAvailableConsole', 'engineName', engineName);
|
|
4433
4609
|
// verify required parameter 'orgName' is not null or undefined
|
|
4434
|
-
(0, common_1.assertParamExists)('
|
|
4610
|
+
(0, common_1.assertParamExists)('getEngineAvailableConsole', 'orgName', orgName);
|
|
4435
4611
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4436
|
-
(0, common_1.assertParamExists)('
|
|
4437
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
4612
|
+
(0, common_1.assertParamExists)('getEngineAvailableConsole', 'clusterName', clusterName);
|
|
4613
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/console`
|
|
4614
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4438
4615
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4439
4616
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4440
4617
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4460,28 +4637,21 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4460
4637
|
};
|
|
4461
4638
|
},
|
|
4462
4639
|
/**
|
|
4463
|
-
*
|
|
4464
|
-
* @summary
|
|
4465
|
-
* @param {string} orgName name of
|
|
4466
|
-
* @param {string} clusterName name of
|
|
4467
|
-
* @param {string} instanceName name of the instance
|
|
4468
|
-
* @param {string} [container] specify container name to get specific container log, if not specified, will return the log of the default container
|
|
4469
|
-
* @param {number} [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.
|
|
4470
|
-
* @param {number} [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime
|
|
4640
|
+
* Get Hive accounts
|
|
4641
|
+
* @summary Get Hive accounts
|
|
4642
|
+
* @param {string} orgName The name of organization
|
|
4643
|
+
* @param {string} clusterName The name of cluster
|
|
4471
4644
|
* @param {*} [options] Override http request option.
|
|
4472
4645
|
* @throws {RequiredError}
|
|
4473
4646
|
*/
|
|
4474
|
-
|
|
4647
|
+
getHiveAccounts: async (orgName, clusterName, options = {}) => {
|
|
4475
4648
|
// verify required parameter 'orgName' is not null or undefined
|
|
4476
|
-
(0, common_1.assertParamExists)('
|
|
4649
|
+
(0, common_1.assertParamExists)('getHiveAccounts', 'orgName', orgName);
|
|
4477
4650
|
// verify required parameter 'clusterName' is not null or undefined
|
|
4478
|
-
(0, common_1.assertParamExists)('
|
|
4479
|
-
|
|
4480
|
-
(0, common_1.assertParamExists)('getInstanceContainerLog', 'instanceName', instanceName);
|
|
4481
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/instances/{instanceName}/log`
|
|
4651
|
+
(0, common_1.assertParamExists)('getHiveAccounts', 'clusterName', clusterName);
|
|
4652
|
+
const localVarPath = `/api/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
4482
4653
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4483
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4484
|
-
.replace(`{${"instanceName"}}`, encodeURIComponent(String(instanceName)));
|
|
4654
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4485
4655
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4486
4656
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4487
4657
|
let baseOptions;
|
|
@@ -4496,15 +4666,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4496
4666
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4497
4667
|
// authentication DigestAuth required
|
|
4498
4668
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4499
|
-
if (container !== undefined) {
|
|
4500
|
-
localVarQueryParameter['container'] = container;
|
|
4501
|
-
}
|
|
4502
|
-
if (sinceSeconds !== undefined) {
|
|
4503
|
-
localVarQueryParameter['sinceSeconds'] = sinceSeconds;
|
|
4504
|
-
}
|
|
4505
|
-
if (tailLines !== undefined) {
|
|
4506
|
-
localVarQueryParameter['tailLines'] = tailLines;
|
|
4507
|
-
}
|
|
4508
4669
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4509
4670
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4510
4671
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4514,11 +4675,187 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4514
4675
|
};
|
|
4515
4676
|
},
|
|
4516
4677
|
/**
|
|
4517
|
-
*
|
|
4518
|
-
* @summary Get
|
|
4519
|
-
* @param {string} orgName
|
|
4520
|
-
* @param {string} clusterName
|
|
4521
|
-
* @param {
|
|
4678
|
+
* Retrieves detailed information about a specific data import preflight task by its ID
|
|
4679
|
+
* @summary Get preflight task details
|
|
4680
|
+
* @param {string} orgName Organization name
|
|
4681
|
+
* @param {string} clusterName Cluster name
|
|
4682
|
+
* @param {string} taskId Preflight task ID
|
|
4683
|
+
* @param {*} [options] Override http request option.
|
|
4684
|
+
* @throws {RequiredError}
|
|
4685
|
+
*/
|
|
4686
|
+
getImportPreflightTask: async (orgName, clusterName, taskId, options = {}) => {
|
|
4687
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4688
|
+
(0, common_1.assertParamExists)('getImportPreflightTask', 'orgName', orgName);
|
|
4689
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4690
|
+
(0, common_1.assertParamExists)('getImportPreflightTask', 'clusterName', clusterName);
|
|
4691
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
4692
|
+
(0, common_1.assertParamExists)('getImportPreflightTask', 'taskId', taskId);
|
|
4693
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/import/preflight/{taskId}`
|
|
4694
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4695
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4696
|
+
.replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
|
|
4697
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4698
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4699
|
+
let baseOptions;
|
|
4700
|
+
if (configuration) {
|
|
4701
|
+
baseOptions = configuration.baseOptions;
|
|
4702
|
+
}
|
|
4703
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4704
|
+
const localVarHeaderParameter = {};
|
|
4705
|
+
const localVarQueryParameter = {};
|
|
4706
|
+
// authentication BearerToken required
|
|
4707
|
+
// http bearer authentication required
|
|
4708
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4709
|
+
// authentication DigestAuth required
|
|
4710
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4711
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4713
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4714
|
+
return {
|
|
4715
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4716
|
+
options: localVarRequestOptions,
|
|
4717
|
+
};
|
|
4718
|
+
},
|
|
4719
|
+
/**
|
|
4720
|
+
* Gets detailed information about a specific import task by its ID
|
|
4721
|
+
* @summary Get import task details
|
|
4722
|
+
* @param {string} orgName Organization name
|
|
4723
|
+
* @param {string} clusterName Cluster name
|
|
4724
|
+
* @param {string} id Import task ID
|
|
4725
|
+
* @param {*} [options] Override http request option.
|
|
4726
|
+
* @throws {RequiredError}
|
|
4727
|
+
*/
|
|
4728
|
+
getImportTask: async (orgName, clusterName, id, options = {}) => {
|
|
4729
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4730
|
+
(0, common_1.assertParamExists)('getImportTask', 'orgName', orgName);
|
|
4731
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4732
|
+
(0, common_1.assertParamExists)('getImportTask', 'clusterName', clusterName);
|
|
4733
|
+
// verify required parameter 'id' is not null or undefined
|
|
4734
|
+
(0, common_1.assertParamExists)('getImportTask', 'id', id);
|
|
4735
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/import/{id}`
|
|
4736
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4737
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4738
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4739
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4740
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4741
|
+
let baseOptions;
|
|
4742
|
+
if (configuration) {
|
|
4743
|
+
baseOptions = configuration.baseOptions;
|
|
4744
|
+
}
|
|
4745
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4746
|
+
const localVarHeaderParameter = {};
|
|
4747
|
+
const localVarQueryParameter = {};
|
|
4748
|
+
// authentication BearerToken required
|
|
4749
|
+
// http bearer authentication required
|
|
4750
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4751
|
+
// authentication DigestAuth required
|
|
4752
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4753
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4754
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4755
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4756
|
+
return {
|
|
4757
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4758
|
+
options: localVarRequestOptions,
|
|
4759
|
+
};
|
|
4760
|
+
},
|
|
4761
|
+
/**
|
|
4762
|
+
*
|
|
4763
|
+
* @summary Get instaces metrics in cluster
|
|
4764
|
+
* @param {string} orgName name of the Org
|
|
4765
|
+
* @param {string} clusterName name of the Cluster
|
|
4766
|
+
* @param {*} [options] Override http request option.
|
|
4767
|
+
* @throws {RequiredError}
|
|
4768
|
+
*/
|
|
4769
|
+
getInstacesMetrics: async (orgName, clusterName, options = {}) => {
|
|
4770
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4771
|
+
(0, common_1.assertParamExists)('getInstacesMetrics', 'orgName', orgName);
|
|
4772
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4773
|
+
(0, common_1.assertParamExists)('getInstacesMetrics', 'clusterName', clusterName);
|
|
4774
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/instances/metrics`
|
|
4775
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4776
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4777
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4778
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4779
|
+
let baseOptions;
|
|
4780
|
+
if (configuration) {
|
|
4781
|
+
baseOptions = configuration.baseOptions;
|
|
4782
|
+
}
|
|
4783
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4784
|
+
const localVarHeaderParameter = {};
|
|
4785
|
+
const localVarQueryParameter = {};
|
|
4786
|
+
// authentication BearerToken required
|
|
4787
|
+
// http bearer authentication required
|
|
4788
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4789
|
+
// authentication DigestAuth required
|
|
4790
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4791
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4792
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4793
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4794
|
+
return {
|
|
4795
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4796
|
+
options: localVarRequestOptions,
|
|
4797
|
+
};
|
|
4798
|
+
},
|
|
4799
|
+
/**
|
|
4800
|
+
* read log of the specified cluster instance
|
|
4801
|
+
* @summary Tail cluster instance container log
|
|
4802
|
+
* @param {string} orgName name of the Org
|
|
4803
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
4804
|
+
* @param {string} instanceName name of the instance
|
|
4805
|
+
* @param {string} [container] specify container name to get specific container log, if not specified, will return the log of the default container
|
|
4806
|
+
* @param {number} [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.
|
|
4807
|
+
* @param {number} [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime
|
|
4808
|
+
* @param {*} [options] Override http request option.
|
|
4809
|
+
* @throws {RequiredError}
|
|
4810
|
+
*/
|
|
4811
|
+
getInstanceContainerLog: async (orgName, clusterName, instanceName, container, sinceSeconds, tailLines, options = {}) => {
|
|
4812
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4813
|
+
(0, common_1.assertParamExists)('getInstanceContainerLog', 'orgName', orgName);
|
|
4814
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4815
|
+
(0, common_1.assertParamExists)('getInstanceContainerLog', 'clusterName', clusterName);
|
|
4816
|
+
// verify required parameter 'instanceName' is not null or undefined
|
|
4817
|
+
(0, common_1.assertParamExists)('getInstanceContainerLog', 'instanceName', instanceName);
|
|
4818
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/instances/{instanceName}/log`
|
|
4819
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4820
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4821
|
+
.replace(`{${"instanceName"}}`, encodeURIComponent(String(instanceName)));
|
|
4822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4823
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4824
|
+
let baseOptions;
|
|
4825
|
+
if (configuration) {
|
|
4826
|
+
baseOptions = configuration.baseOptions;
|
|
4827
|
+
}
|
|
4828
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4829
|
+
const localVarHeaderParameter = {};
|
|
4830
|
+
const localVarQueryParameter = {};
|
|
4831
|
+
// authentication BearerToken required
|
|
4832
|
+
// http bearer authentication required
|
|
4833
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4834
|
+
// authentication DigestAuth required
|
|
4835
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4836
|
+
if (container !== undefined) {
|
|
4837
|
+
localVarQueryParameter['container'] = container;
|
|
4838
|
+
}
|
|
4839
|
+
if (sinceSeconds !== undefined) {
|
|
4840
|
+
localVarQueryParameter['sinceSeconds'] = sinceSeconds;
|
|
4841
|
+
}
|
|
4842
|
+
if (tailLines !== undefined) {
|
|
4843
|
+
localVarQueryParameter['tailLines'] = tailLines;
|
|
4844
|
+
}
|
|
4845
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4846
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4847
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4848
|
+
return {
|
|
4849
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4850
|
+
options: localVarRequestOptions,
|
|
4851
|
+
};
|
|
4852
|
+
},
|
|
4853
|
+
/**
|
|
4854
|
+
*
|
|
4855
|
+
* @summary Get all configs of a broker
|
|
4856
|
+
* @param {string} orgName The name of organization
|
|
4857
|
+
* @param {string} clusterName The name of cluster
|
|
4858
|
+
* @param {number} brokerId The id of broker
|
|
4522
4859
|
* @param {*} [options] Override http request option.
|
|
4523
4860
|
* @throws {RequiredError}
|
|
4524
4861
|
*/
|
|
@@ -6349,6 +6686,120 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6349
6686
|
options: localVarRequestOptions,
|
|
6350
6687
|
};
|
|
6351
6688
|
},
|
|
6689
|
+
/**
|
|
6690
|
+
*
|
|
6691
|
+
* @summary List Elasticsearch security role mappings
|
|
6692
|
+
* @param {string} orgName
|
|
6693
|
+
* @param {string} clusterName
|
|
6694
|
+
* @param {*} [options] Override http request option.
|
|
6695
|
+
* @throws {RequiredError}
|
|
6696
|
+
*/
|
|
6697
|
+
listElasticsearchSecurityRoleMappings: async (orgName, clusterName, options = {}) => {
|
|
6698
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6699
|
+
(0, common_1.assertParamExists)('listElasticsearchSecurityRoleMappings', 'orgName', orgName);
|
|
6700
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6701
|
+
(0, common_1.assertParamExists)('listElasticsearchSecurityRoleMappings', 'clusterName', clusterName);
|
|
6702
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings`
|
|
6703
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6704
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6705
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6706
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6707
|
+
let baseOptions;
|
|
6708
|
+
if (configuration) {
|
|
6709
|
+
baseOptions = configuration.baseOptions;
|
|
6710
|
+
}
|
|
6711
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6712
|
+
const localVarHeaderParameter = {};
|
|
6713
|
+
const localVarQueryParameter = {};
|
|
6714
|
+
// authentication BearerToken required
|
|
6715
|
+
// http bearer authentication required
|
|
6716
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6717
|
+
// authentication DigestAuth required
|
|
6718
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6719
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6720
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6721
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6722
|
+
return {
|
|
6723
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6724
|
+
options: localVarRequestOptions,
|
|
6725
|
+
};
|
|
6726
|
+
},
|
|
6727
|
+
/**
|
|
6728
|
+
*
|
|
6729
|
+
* @summary List Elasticsearch security roles
|
|
6730
|
+
* @param {string} orgName
|
|
6731
|
+
* @param {string} clusterName
|
|
6732
|
+
* @param {*} [options] Override http request option.
|
|
6733
|
+
* @throws {RequiredError}
|
|
6734
|
+
*/
|
|
6735
|
+
listElasticsearchSecurityRoles: async (orgName, clusterName, options = {}) => {
|
|
6736
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6737
|
+
(0, common_1.assertParamExists)('listElasticsearchSecurityRoles', 'orgName', orgName);
|
|
6738
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6739
|
+
(0, common_1.assertParamExists)('listElasticsearchSecurityRoles', 'clusterName', clusterName);
|
|
6740
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
6741
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6742
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6744
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6745
|
+
let baseOptions;
|
|
6746
|
+
if (configuration) {
|
|
6747
|
+
baseOptions = configuration.baseOptions;
|
|
6748
|
+
}
|
|
6749
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6750
|
+
const localVarHeaderParameter = {};
|
|
6751
|
+
const localVarQueryParameter = {};
|
|
6752
|
+
// authentication BearerToken required
|
|
6753
|
+
// http bearer authentication required
|
|
6754
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6755
|
+
// authentication DigestAuth required
|
|
6756
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6757
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6758
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6759
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6760
|
+
return {
|
|
6761
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6762
|
+
options: localVarRequestOptions,
|
|
6763
|
+
};
|
|
6764
|
+
},
|
|
6765
|
+
/**
|
|
6766
|
+
*
|
|
6767
|
+
* @summary List Elasticsearch security users
|
|
6768
|
+
* @param {string} orgName
|
|
6769
|
+
* @param {string} clusterName
|
|
6770
|
+
* @param {*} [options] Override http request option.
|
|
6771
|
+
* @throws {RequiredError}
|
|
6772
|
+
*/
|
|
6773
|
+
listElasticsearchSecurityUsers: async (orgName, clusterName, options = {}) => {
|
|
6774
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6775
|
+
(0, common_1.assertParamExists)('listElasticsearchSecurityUsers', 'orgName', orgName);
|
|
6776
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6777
|
+
(0, common_1.assertParamExists)('listElasticsearchSecurityUsers', 'clusterName', clusterName);
|
|
6778
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
6779
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6780
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6781
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6782
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6783
|
+
let baseOptions;
|
|
6784
|
+
if (configuration) {
|
|
6785
|
+
baseOptions = configuration.baseOptions;
|
|
6786
|
+
}
|
|
6787
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6788
|
+
const localVarHeaderParameter = {};
|
|
6789
|
+
const localVarQueryParameter = {};
|
|
6790
|
+
// authentication BearerToken required
|
|
6791
|
+
// http bearer authentication required
|
|
6792
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6793
|
+
// authentication DigestAuth required
|
|
6794
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6795
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6796
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6797
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6798
|
+
return {
|
|
6799
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6800
|
+
options: localVarRequestOptions,
|
|
6801
|
+
};
|
|
6802
|
+
},
|
|
6352
6803
|
/**
|
|
6353
6804
|
*
|
|
6354
6805
|
* @summary List cluster endpoints
|
|
@@ -8204,6 +8655,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8204
8655
|
options: localVarRequestOptions,
|
|
8205
8656
|
};
|
|
8206
8657
|
},
|
|
8658
|
+
/**
|
|
8659
|
+
*
|
|
8660
|
+
* @summary Lock Elasticsearch account
|
|
8661
|
+
* @param {string} orgName
|
|
8662
|
+
* @param {string} clusterName
|
|
8663
|
+
* @param {string} username
|
|
8664
|
+
* @param {*} [options] Override http request option.
|
|
8665
|
+
* @throws {RequiredError}
|
|
8666
|
+
*/
|
|
8667
|
+
lockElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
|
|
8668
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8669
|
+
(0, common_1.assertParamExists)('lockElasticsearchSecurityUser', 'orgName', orgName);
|
|
8670
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8671
|
+
(0, common_1.assertParamExists)('lockElasticsearchSecurityUser', 'clusterName', clusterName);
|
|
8672
|
+
// verify required parameter 'username' is not null or undefined
|
|
8673
|
+
(0, common_1.assertParamExists)('lockElasticsearchSecurityUser', 'username', username);
|
|
8674
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/lock`
|
|
8675
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8676
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8677
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
8678
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8679
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8680
|
+
let baseOptions;
|
|
8681
|
+
if (configuration) {
|
|
8682
|
+
baseOptions = configuration.baseOptions;
|
|
8683
|
+
}
|
|
8684
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8685
|
+
const localVarHeaderParameter = {};
|
|
8686
|
+
const localVarQueryParameter = {};
|
|
8687
|
+
// authentication BearerToken required
|
|
8688
|
+
// http bearer authentication required
|
|
8689
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8690
|
+
// authentication DigestAuth required
|
|
8691
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8692
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8694
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8695
|
+
return {
|
|
8696
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8697
|
+
options: localVarRequestOptions,
|
|
8698
|
+
};
|
|
8699
|
+
},
|
|
8207
8700
|
/**
|
|
8208
8701
|
*
|
|
8209
8702
|
* @summary batch modify database tde status
|
|
@@ -8405,31 +8898,164 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8405
8898
|
};
|
|
8406
8899
|
},
|
|
8407
8900
|
/**
|
|
8408
|
-
* Only authenticated organization admins can update the member\'s role
|
|
8409
|
-
* @summary Update member role
|
|
8901
|
+
* Only authenticated organization admins can update the member\'s role
|
|
8902
|
+
* @summary Update member role
|
|
8903
|
+
* @param {string} orgName name of the Org
|
|
8904
|
+
* @param {string} memberId ID of the member
|
|
8905
|
+
* @param {OrgMemberUpdate} body
|
|
8906
|
+
* @param {*} [options] Override http request option.
|
|
8907
|
+
* @throws {RequiredError}
|
|
8908
|
+
*/
|
|
8909
|
+
patchOrgMember: async (orgName, memberId, body, options = {}) => {
|
|
8910
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8911
|
+
(0, common_1.assertParamExists)('patchOrgMember', 'orgName', orgName);
|
|
8912
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
8913
|
+
(0, common_1.assertParamExists)('patchOrgMember', 'memberId', memberId);
|
|
8914
|
+
// verify required parameter 'body' is not null or undefined
|
|
8915
|
+
(0, common_1.assertParamExists)('patchOrgMember', 'body', body);
|
|
8916
|
+
const localVarPath = `/api/v1/organizations/{orgName}/members/{memberId}`
|
|
8917
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8918
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
8919
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8920
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8921
|
+
let baseOptions;
|
|
8922
|
+
if (configuration) {
|
|
8923
|
+
baseOptions = configuration.baseOptions;
|
|
8924
|
+
}
|
|
8925
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8926
|
+
const localVarHeaderParameter = {};
|
|
8927
|
+
const localVarQueryParameter = {};
|
|
8928
|
+
// authentication BearerToken required
|
|
8929
|
+
// http bearer authentication required
|
|
8930
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8931
|
+
// authentication DigestAuth required
|
|
8932
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8933
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8934
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8935
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8936
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8937
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8938
|
+
return {
|
|
8939
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8940
|
+
options: localVarRequestOptions,
|
|
8941
|
+
};
|
|
8942
|
+
},
|
|
8943
|
+
/**
|
|
8944
|
+
* Update a parameter of an organization
|
|
8945
|
+
* @summary Update a parameter of an organization
|
|
8946
|
+
* @param {string} orgName The name of the organization
|
|
8947
|
+
* @param {string} parameterName The name of the parameter
|
|
8948
|
+
* @param {OrgParameter} orgParameter
|
|
8949
|
+
* @param {*} [options] Override http request option.
|
|
8950
|
+
* @throws {RequiredError}
|
|
8951
|
+
*/
|
|
8952
|
+
patchOrgParameter: async (orgName, parameterName, orgParameter, options = {}) => {
|
|
8953
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8954
|
+
(0, common_1.assertParamExists)('patchOrgParameter', 'orgName', orgName);
|
|
8955
|
+
// verify required parameter 'parameterName' is not null or undefined
|
|
8956
|
+
(0, common_1.assertParamExists)('patchOrgParameter', 'parameterName', parameterName);
|
|
8957
|
+
// verify required parameter 'orgParameter' is not null or undefined
|
|
8958
|
+
(0, common_1.assertParamExists)('patchOrgParameter', 'orgParameter', orgParameter);
|
|
8959
|
+
const localVarPath = `/api/v1/organizations/{orgName}/parameters/{parameterName}`
|
|
8960
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8961
|
+
.replace(`{${"parameterName"}}`, encodeURIComponent(String(parameterName)));
|
|
8962
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8963
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8964
|
+
let baseOptions;
|
|
8965
|
+
if (configuration) {
|
|
8966
|
+
baseOptions = configuration.baseOptions;
|
|
8967
|
+
}
|
|
8968
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8969
|
+
const localVarHeaderParameter = {};
|
|
8970
|
+
const localVarQueryParameter = {};
|
|
8971
|
+
// authentication BearerToken required
|
|
8972
|
+
// http bearer authentication required
|
|
8973
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8974
|
+
// authentication DigestAuth required
|
|
8975
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8976
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8977
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8979
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8980
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orgParameter, localVarRequestOptions, configuration);
|
|
8981
|
+
return {
|
|
8982
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8983
|
+
options: localVarRequestOptions,
|
|
8984
|
+
};
|
|
8985
|
+
},
|
|
8986
|
+
/**
|
|
8987
|
+
*
|
|
8988
|
+
* @summary Produce message to topic
|
|
8989
|
+
* @param {string} orgName The name of organization
|
|
8990
|
+
* @param {string} clusterName The name of cluster
|
|
8991
|
+
* @param {string} topic
|
|
8992
|
+
* @param {TopicMessageRequest} topicMessageRequest
|
|
8993
|
+
* @param {*} [options] Override http request option.
|
|
8994
|
+
* @throws {RequiredError}
|
|
8995
|
+
*/
|
|
8996
|
+
produceKafkaTopicMessage: async (orgName, clusterName, topic, topicMessageRequest, options = {}) => {
|
|
8997
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8998
|
+
(0, common_1.assertParamExists)('produceKafkaTopicMessage', 'orgName', orgName);
|
|
8999
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9000
|
+
(0, common_1.assertParamExists)('produceKafkaTopicMessage', 'clusterName', clusterName);
|
|
9001
|
+
// verify required parameter 'topic' is not null or undefined
|
|
9002
|
+
(0, common_1.assertParamExists)('produceKafkaTopicMessage', 'topic', topic);
|
|
9003
|
+
// verify required parameter 'topicMessageRequest' is not null or undefined
|
|
9004
|
+
(0, common_1.assertParamExists)('produceKafkaTopicMessage', 'topicMessageRequest', topicMessageRequest);
|
|
9005
|
+
const localVarPath = `/api/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/topic/{topic}/messages`
|
|
9006
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9007
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9008
|
+
.replace(`{${"topic"}}`, encodeURIComponent(String(topic)));
|
|
9009
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9010
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9011
|
+
let baseOptions;
|
|
9012
|
+
if (configuration) {
|
|
9013
|
+
baseOptions = configuration.baseOptions;
|
|
9014
|
+
}
|
|
9015
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9016
|
+
const localVarHeaderParameter = {};
|
|
9017
|
+
const localVarQueryParameter = {};
|
|
9018
|
+
// authentication BearerToken required
|
|
9019
|
+
// http bearer authentication required
|
|
9020
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9021
|
+
// authentication DigestAuth required
|
|
9022
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9023
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9024
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9025
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9026
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9027
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(topicMessageRequest, localVarRequestOptions, configuration);
|
|
9028
|
+
return {
|
|
9029
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9030
|
+
options: localVarRequestOptions,
|
|
9031
|
+
};
|
|
9032
|
+
},
|
|
9033
|
+
/**
|
|
9034
|
+
*
|
|
9035
|
+
* @summary Promote cluster intance to primary
|
|
8410
9036
|
* @param {string} orgName name of the Org
|
|
8411
|
-
* @param {string}
|
|
8412
|
-
* @param {
|
|
9037
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
9038
|
+
* @param {OpsPromote} body
|
|
8413
9039
|
* @param {*} [options] Override http request option.
|
|
8414
9040
|
* @throws {RequiredError}
|
|
8415
9041
|
*/
|
|
8416
|
-
|
|
9042
|
+
promoteCluster: async (orgName, clusterName, body, options = {}) => {
|
|
8417
9043
|
// verify required parameter 'orgName' is not null or undefined
|
|
8418
|
-
(0, common_1.assertParamExists)('
|
|
8419
|
-
// verify required parameter '
|
|
8420
|
-
(0, common_1.assertParamExists)('
|
|
9044
|
+
(0, common_1.assertParamExists)('promoteCluster', 'orgName', orgName);
|
|
9045
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9046
|
+
(0, common_1.assertParamExists)('promoteCluster', 'clusterName', clusterName);
|
|
8421
9047
|
// verify required parameter 'body' is not null or undefined
|
|
8422
|
-
(0, common_1.assertParamExists)('
|
|
8423
|
-
const localVarPath = `/api/v1/organizations/{orgName}/
|
|
9048
|
+
(0, common_1.assertParamExists)('promoteCluster', 'body', body);
|
|
9049
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/promote`
|
|
8424
9050
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8425
|
-
.replace(`{${"
|
|
9051
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8426
9052
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8427
9053
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8428
9054
|
let baseOptions;
|
|
8429
9055
|
if (configuration) {
|
|
8430
9056
|
baseOptions = configuration.baseOptions;
|
|
8431
9057
|
}
|
|
8432
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
9058
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8433
9059
|
const localVarHeaderParameter = {};
|
|
8434
9060
|
const localVarQueryParameter = {};
|
|
8435
9061
|
// authentication BearerToken required
|
|
@@ -8448,31 +9074,35 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8448
9074
|
};
|
|
8449
9075
|
},
|
|
8450
9076
|
/**
|
|
8451
|
-
*
|
|
8452
|
-
* @summary
|
|
8453
|
-
* @param {string} orgName
|
|
8454
|
-
* @param {string}
|
|
8455
|
-
* @param {
|
|
9077
|
+
*
|
|
9078
|
+
* @summary Create or update Elasticsearch security role
|
|
9079
|
+
* @param {string} orgName
|
|
9080
|
+
* @param {string} clusterName
|
|
9081
|
+
* @param {string} roleName
|
|
9082
|
+
* @param {SecurityRoleDescriptor} body
|
|
8456
9083
|
* @param {*} [options] Override http request option.
|
|
8457
9084
|
* @throws {RequiredError}
|
|
8458
9085
|
*/
|
|
8459
|
-
|
|
9086
|
+
putElasticsearchSecurityRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
8460
9087
|
// verify required parameter 'orgName' is not null or undefined
|
|
8461
|
-
(0, common_1.assertParamExists)('
|
|
8462
|
-
// verify required parameter '
|
|
8463
|
-
(0, common_1.assertParamExists)('
|
|
8464
|
-
// verify required parameter '
|
|
8465
|
-
(0, common_1.assertParamExists)('
|
|
8466
|
-
|
|
9088
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'orgName', orgName);
|
|
9089
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9090
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'clusterName', clusterName);
|
|
9091
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
9092
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'roleName', roleName);
|
|
9093
|
+
// verify required parameter 'body' is not null or undefined
|
|
9094
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'body', body);
|
|
9095
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
8467
9096
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8468
|
-
.replace(`{${"
|
|
9097
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9098
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
8469
9099
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8470
9100
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8471
9101
|
let baseOptions;
|
|
8472
9102
|
if (configuration) {
|
|
8473
9103
|
baseOptions = configuration.baseOptions;
|
|
8474
9104
|
}
|
|
8475
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
9105
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8476
9106
|
const localVarHeaderParameter = {};
|
|
8477
9107
|
const localVarQueryParameter = {};
|
|
8478
9108
|
// authentication BearerToken required
|
|
@@ -8484,7 +9114,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8484
9114
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8485
9115
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8486
9116
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8487
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
9117
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8488
9118
|
return {
|
|
8489
9119
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8490
9120
|
options: localVarRequestOptions,
|
|
@@ -8492,34 +9122,34 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8492
9122
|
},
|
|
8493
9123
|
/**
|
|
8494
9124
|
*
|
|
8495
|
-
* @summary
|
|
8496
|
-
* @param {string} orgName
|
|
8497
|
-
* @param {string} clusterName
|
|
8498
|
-
* @param {string}
|
|
8499
|
-
* @param {
|
|
9125
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
9126
|
+
* @param {string} orgName
|
|
9127
|
+
* @param {string} clusterName
|
|
9128
|
+
* @param {string} mappingName
|
|
9129
|
+
* @param {SecurityRoleMapping} body
|
|
8500
9130
|
* @param {*} [options] Override http request option.
|
|
8501
9131
|
* @throws {RequiredError}
|
|
8502
9132
|
*/
|
|
8503
|
-
|
|
9133
|
+
putElasticsearchSecurityRoleMapping: async (orgName, clusterName, mappingName, body, options = {}) => {
|
|
8504
9134
|
// verify required parameter 'orgName' is not null or undefined
|
|
8505
|
-
(0, common_1.assertParamExists)('
|
|
9135
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'orgName', orgName);
|
|
8506
9136
|
// verify required parameter 'clusterName' is not null or undefined
|
|
8507
|
-
(0, common_1.assertParamExists)('
|
|
8508
|
-
// verify required parameter '
|
|
8509
|
-
(0, common_1.assertParamExists)('
|
|
8510
|
-
// verify required parameter '
|
|
8511
|
-
(0, common_1.assertParamExists)('
|
|
8512
|
-
const localVarPath = `/api/v1/data/
|
|
9137
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName);
|
|
9138
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
9139
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName);
|
|
9140
|
+
// verify required parameter 'body' is not null or undefined
|
|
9141
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'body', body);
|
|
9142
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
8513
9143
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8514
9144
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8515
|
-
.replace(`{${"
|
|
9145
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
8516
9146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8517
9147
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8518
9148
|
let baseOptions;
|
|
8519
9149
|
if (configuration) {
|
|
8520
9150
|
baseOptions = configuration.baseOptions;
|
|
8521
9151
|
}
|
|
8522
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
9152
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8523
9153
|
const localVarHeaderParameter = {};
|
|
8524
9154
|
const localVarQueryParameter = {};
|
|
8525
9155
|
// authentication BearerToken required
|
|
@@ -8531,7 +9161,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8531
9161
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8532
9162
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8533
9163
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8534
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
9164
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
8535
9165
|
return {
|
|
8536
9166
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8537
9167
|
options: localVarRequestOptions,
|
|
@@ -8539,30 +9169,34 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8539
9169
|
},
|
|
8540
9170
|
/**
|
|
8541
9171
|
*
|
|
8542
|
-
* @summary
|
|
8543
|
-
* @param {string} orgName
|
|
8544
|
-
* @param {string} clusterName
|
|
8545
|
-
* @param {
|
|
9172
|
+
* @summary Create or update Elasticsearch security user
|
|
9173
|
+
* @param {string} orgName
|
|
9174
|
+
* @param {string} clusterName
|
|
9175
|
+
* @param {string} username
|
|
9176
|
+
* @param {PutSecurityUserRequest} body
|
|
8546
9177
|
* @param {*} [options] Override http request option.
|
|
8547
9178
|
* @throws {RequiredError}
|
|
8548
9179
|
*/
|
|
8549
|
-
|
|
9180
|
+
putElasticsearchSecurityUser: async (orgName, clusterName, username, body, options = {}) => {
|
|
8550
9181
|
// verify required parameter 'orgName' is not null or undefined
|
|
8551
|
-
(0, common_1.assertParamExists)('
|
|
9182
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'orgName', orgName);
|
|
8552
9183
|
// verify required parameter 'clusterName' is not null or undefined
|
|
8553
|
-
(0, common_1.assertParamExists)('
|
|
9184
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'clusterName', clusterName);
|
|
9185
|
+
// verify required parameter 'username' is not null or undefined
|
|
9186
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'username', username);
|
|
8554
9187
|
// verify required parameter 'body' is not null or undefined
|
|
8555
|
-
(0, common_1.assertParamExists)('
|
|
8556
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
9188
|
+
(0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'body', body);
|
|
9189
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
8557
9190
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8558
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9191
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9192
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
8559
9193
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8560
9194
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8561
9195
|
let baseOptions;
|
|
8562
9196
|
if (configuration) {
|
|
8563
9197
|
baseOptions = configuration.baseOptions;
|
|
8564
9198
|
}
|
|
8565
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
9199
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
8566
9200
|
const localVarHeaderParameter = {};
|
|
8567
9201
|
const localVarQueryParameter = {};
|
|
8568
9202
|
// authentication BearerToken required
|
|
@@ -10563,6 +11197,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
10563
11197
|
options: localVarRequestOptions,
|
|
10564
11198
|
};
|
|
10565
11199
|
},
|
|
11200
|
+
/**
|
|
11201
|
+
*
|
|
11202
|
+
* @summary Unlock Elasticsearch account
|
|
11203
|
+
* @param {string} orgName
|
|
11204
|
+
* @param {string} clusterName
|
|
11205
|
+
* @param {string} username
|
|
11206
|
+
* @param {*} [options] Override http request option.
|
|
11207
|
+
* @throws {RequiredError}
|
|
11208
|
+
*/
|
|
11209
|
+
unlockElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
|
|
11210
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11211
|
+
(0, common_1.assertParamExists)('unlockElasticsearchSecurityUser', 'orgName', orgName);
|
|
11212
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11213
|
+
(0, common_1.assertParamExists)('unlockElasticsearchSecurityUser', 'clusterName', clusterName);
|
|
11214
|
+
// verify required parameter 'username' is not null or undefined
|
|
11215
|
+
(0, common_1.assertParamExists)('unlockElasticsearchSecurityUser', 'username', username);
|
|
11216
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/unlock`
|
|
11217
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11218
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11219
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
11220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11221
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11222
|
+
let baseOptions;
|
|
11223
|
+
if (configuration) {
|
|
11224
|
+
baseOptions = configuration.baseOptions;
|
|
11225
|
+
}
|
|
11226
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
11227
|
+
const localVarHeaderParameter = {};
|
|
11228
|
+
const localVarQueryParameter = {};
|
|
11229
|
+
// authentication BearerToken required
|
|
11230
|
+
// http bearer authentication required
|
|
11231
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11232
|
+
// authentication DigestAuth required
|
|
11233
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11234
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11235
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11236
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11237
|
+
return {
|
|
11238
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11239
|
+
options: localVarRequestOptions,
|
|
11240
|
+
};
|
|
11241
|
+
},
|
|
10566
11242
|
/**
|
|
10567
11243
|
* update an account in cluster
|
|
10568
11244
|
* @summary update cluster account
|
|
@@ -11956,6 +12632,23 @@ const SharedApiFp = function (configuration) {
|
|
|
11956
12632
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.buildBackupObj']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11957
12633
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11958
12634
|
},
|
|
12635
|
+
/**
|
|
12636
|
+
*
|
|
12637
|
+
* @summary Change Elasticsearch account password
|
|
12638
|
+
* @param {string} orgName
|
|
12639
|
+
* @param {string} clusterName
|
|
12640
|
+
* @param {string} username
|
|
12641
|
+
* @param {SecurityPasswordRequest} body
|
|
12642
|
+
* @param {*} [options] Override http request option.
|
|
12643
|
+
* @throws {RequiredError}
|
|
12644
|
+
*/
|
|
12645
|
+
async changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options) {
|
|
12646
|
+
var _a, _b, _c;
|
|
12647
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options);
|
|
12648
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12649
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.changeElasticsearchSecurityUserPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12650
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12651
|
+
},
|
|
11959
12652
|
/**
|
|
11960
12653
|
*
|
|
11961
12654
|
* @summary close the session for the cluster
|
|
@@ -12500,6 +13193,54 @@ const SharedApiFp = function (configuration) {
|
|
|
12500
13193
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12501
13194
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12502
13195
|
},
|
|
13196
|
+
/**
|
|
13197
|
+
*
|
|
13198
|
+
* @summary Delete Elasticsearch security role
|
|
13199
|
+
* @param {string} orgName
|
|
13200
|
+
* @param {string} clusterName
|
|
13201
|
+
* @param {string} roleName
|
|
13202
|
+
* @param {*} [options] Override http request option.
|
|
13203
|
+
* @throws {RequiredError}
|
|
13204
|
+
*/
|
|
13205
|
+
async deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options) {
|
|
13206
|
+
var _a, _b, _c;
|
|
13207
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
13208
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13209
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteElasticsearchSecurityRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13210
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13211
|
+
},
|
|
13212
|
+
/**
|
|
13213
|
+
*
|
|
13214
|
+
* @summary Delete Elasticsearch security role mapping
|
|
13215
|
+
* @param {string} orgName
|
|
13216
|
+
* @param {string} clusterName
|
|
13217
|
+
* @param {string} mappingName
|
|
13218
|
+
* @param {*} [options] Override http request option.
|
|
13219
|
+
* @throws {RequiredError}
|
|
13220
|
+
*/
|
|
13221
|
+
async deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options) {
|
|
13222
|
+
var _a, _b, _c;
|
|
13223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
13224
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13225
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteElasticsearchSecurityRoleMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13226
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13227
|
+
},
|
|
13228
|
+
/**
|
|
13229
|
+
*
|
|
13230
|
+
* @summary Delete Elasticsearch security user
|
|
13231
|
+
* @param {string} orgName
|
|
13232
|
+
* @param {string} clusterName
|
|
13233
|
+
* @param {string} username
|
|
13234
|
+
* @param {*} [options] Override http request option.
|
|
13235
|
+
* @throws {RequiredError}
|
|
13236
|
+
*/
|
|
13237
|
+
async deleteElasticsearchSecurityUser(orgName, clusterName, username, options) {
|
|
13238
|
+
var _a, _b, _c;
|
|
13239
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
13240
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13241
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13242
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13243
|
+
},
|
|
12503
13244
|
/**
|
|
12504
13245
|
* delete an hive account in cluster
|
|
12505
13246
|
* @summary Delete hive account
|
|
@@ -13346,6 +14087,69 @@ const SharedApiFp = function (configuration) {
|
|
|
13346
14087
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getDatabaseOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13347
14088
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13348
14089
|
},
|
|
14090
|
+
/**
|
|
14091
|
+
*
|
|
14092
|
+
* @summary Get Elasticsearch builtin privileges
|
|
14093
|
+
* @param {string} orgName
|
|
14094
|
+
* @param {string} clusterName
|
|
14095
|
+
* @param {*} [options] Override http request option.
|
|
14096
|
+
* @throws {RequiredError}
|
|
14097
|
+
*/
|
|
14098
|
+
async getElasticsearchBuiltinPrivileges(orgName, clusterName, options) {
|
|
14099
|
+
var _a, _b, _c;
|
|
14100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchBuiltinPrivileges(orgName, clusterName, options);
|
|
14101
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14102
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchBuiltinPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14103
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14104
|
+
},
|
|
14105
|
+
/**
|
|
14106
|
+
*
|
|
14107
|
+
* @summary Get Elasticsearch security role
|
|
14108
|
+
* @param {string} orgName
|
|
14109
|
+
* @param {string} clusterName
|
|
14110
|
+
* @param {string} roleName
|
|
14111
|
+
* @param {*} [options] Override http request option.
|
|
14112
|
+
* @throws {RequiredError}
|
|
14113
|
+
*/
|
|
14114
|
+
async getElasticsearchSecurityRole(orgName, clusterName, roleName, options) {
|
|
14115
|
+
var _a, _b, _c;
|
|
14116
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRole(orgName, clusterName, roleName, options);
|
|
14117
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14118
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchSecurityRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14119
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14120
|
+
},
|
|
14121
|
+
/**
|
|
14122
|
+
*
|
|
14123
|
+
* @summary Get Elasticsearch security role mapping
|
|
14124
|
+
* @param {string} orgName
|
|
14125
|
+
* @param {string} clusterName
|
|
14126
|
+
* @param {string} mappingName
|
|
14127
|
+
* @param {*} [options] Override http request option.
|
|
14128
|
+
* @throws {RequiredError}
|
|
14129
|
+
*/
|
|
14130
|
+
async getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options) {
|
|
14131
|
+
var _a, _b, _c;
|
|
14132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
|
|
14133
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14134
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchSecurityRoleMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14135
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14136
|
+
},
|
|
14137
|
+
/**
|
|
14138
|
+
*
|
|
14139
|
+
* @summary Get Elasticsearch security user
|
|
14140
|
+
* @param {string} orgName
|
|
14141
|
+
* @param {string} clusterName
|
|
14142
|
+
* @param {string} username
|
|
14143
|
+
* @param {*} [options] Override http request option.
|
|
14144
|
+
* @throws {RequiredError}
|
|
14145
|
+
*/
|
|
14146
|
+
async getElasticsearchSecurityUser(orgName, clusterName, username, options) {
|
|
14147
|
+
var _a, _b, _c;
|
|
14148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
14149
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14150
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14151
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14152
|
+
},
|
|
13349
14153
|
/**
|
|
13350
14154
|
* get engine available console
|
|
13351
14155
|
* @summary get engine available console
|
|
@@ -14110,6 +14914,51 @@ const SharedApiFp = function (configuration) {
|
|
|
14110
14914
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listDmsDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14111
14915
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14112
14916
|
},
|
|
14917
|
+
/**
|
|
14918
|
+
*
|
|
14919
|
+
* @summary List Elasticsearch security role mappings
|
|
14920
|
+
* @param {string} orgName
|
|
14921
|
+
* @param {string} clusterName
|
|
14922
|
+
* @param {*} [options] Override http request option.
|
|
14923
|
+
* @throws {RequiredError}
|
|
14924
|
+
*/
|
|
14925
|
+
async listElasticsearchSecurityRoleMappings(orgName, clusterName, options) {
|
|
14926
|
+
var _a, _b, _c;
|
|
14927
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoleMappings(orgName, clusterName, options);
|
|
14928
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14929
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listElasticsearchSecurityRoleMappings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14930
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14931
|
+
},
|
|
14932
|
+
/**
|
|
14933
|
+
*
|
|
14934
|
+
* @summary List Elasticsearch security roles
|
|
14935
|
+
* @param {string} orgName
|
|
14936
|
+
* @param {string} clusterName
|
|
14937
|
+
* @param {*} [options] Override http request option.
|
|
14938
|
+
* @throws {RequiredError}
|
|
14939
|
+
*/
|
|
14940
|
+
async listElasticsearchSecurityRoles(orgName, clusterName, options) {
|
|
14941
|
+
var _a, _b, _c;
|
|
14942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoles(orgName, clusterName, options);
|
|
14943
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14944
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listElasticsearchSecurityRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14945
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14946
|
+
},
|
|
14947
|
+
/**
|
|
14948
|
+
*
|
|
14949
|
+
* @summary List Elasticsearch security users
|
|
14950
|
+
* @param {string} orgName
|
|
14951
|
+
* @param {string} clusterName
|
|
14952
|
+
* @param {*} [options] Override http request option.
|
|
14953
|
+
* @throws {RequiredError}
|
|
14954
|
+
*/
|
|
14955
|
+
async listElasticsearchSecurityUsers(orgName, clusterName, options) {
|
|
14956
|
+
var _a, _b, _c;
|
|
14957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityUsers(orgName, clusterName, options);
|
|
14958
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14959
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listElasticsearchSecurityUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14960
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14961
|
+
},
|
|
14113
14962
|
/**
|
|
14114
14963
|
*
|
|
14115
14964
|
* @summary List cluster endpoints
|
|
@@ -14805,11 +15654,27 @@ const SharedApiFp = function (configuration) {
|
|
|
14805
15654
|
* @param {*} [options] Override http request option.
|
|
14806
15655
|
* @throws {RequiredError}
|
|
14807
15656
|
*/
|
|
14808
|
-
async lockAccount(engineName, orgName, clusterName, accountName, options) {
|
|
15657
|
+
async lockAccount(engineName, orgName, clusterName, accountName, options) {
|
|
15658
|
+
var _a, _b, _c;
|
|
15659
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockAccount(engineName, orgName, clusterName, accountName, options);
|
|
15660
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15661
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.lockAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15662
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15663
|
+
},
|
|
15664
|
+
/**
|
|
15665
|
+
*
|
|
15666
|
+
* @summary Lock Elasticsearch account
|
|
15667
|
+
* @param {string} orgName
|
|
15668
|
+
* @param {string} clusterName
|
|
15669
|
+
* @param {string} username
|
|
15670
|
+
* @param {*} [options] Override http request option.
|
|
15671
|
+
* @throws {RequiredError}
|
|
15672
|
+
*/
|
|
15673
|
+
async lockElasticsearchSecurityUser(orgName, clusterName, username, options) {
|
|
14809
15674
|
var _a, _b, _c;
|
|
14810
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15675
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
14811
15676
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14812
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.
|
|
15677
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.lockElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14813
15678
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14814
15679
|
},
|
|
14815
15680
|
/**
|
|
@@ -14954,6 +15819,57 @@ const SharedApiFp = function (configuration) {
|
|
|
14954
15819
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.promoteCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14955
15820
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14956
15821
|
},
|
|
15822
|
+
/**
|
|
15823
|
+
*
|
|
15824
|
+
* @summary Create or update Elasticsearch security role
|
|
15825
|
+
* @param {string} orgName
|
|
15826
|
+
* @param {string} clusterName
|
|
15827
|
+
* @param {string} roleName
|
|
15828
|
+
* @param {SecurityRoleDescriptor} body
|
|
15829
|
+
* @param {*} [options] Override http request option.
|
|
15830
|
+
* @throws {RequiredError}
|
|
15831
|
+
*/
|
|
15832
|
+
async putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options) {
|
|
15833
|
+
var _a, _b, _c;
|
|
15834
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options);
|
|
15835
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15836
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15837
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15838
|
+
},
|
|
15839
|
+
/**
|
|
15840
|
+
*
|
|
15841
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
15842
|
+
* @param {string} orgName
|
|
15843
|
+
* @param {string} clusterName
|
|
15844
|
+
* @param {string} mappingName
|
|
15845
|
+
* @param {SecurityRoleMapping} body
|
|
15846
|
+
* @param {*} [options] Override http request option.
|
|
15847
|
+
* @throws {RequiredError}
|
|
15848
|
+
*/
|
|
15849
|
+
async putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options) {
|
|
15850
|
+
var _a, _b, _c;
|
|
15851
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options);
|
|
15852
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15853
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityRoleMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15854
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15855
|
+
},
|
|
15856
|
+
/**
|
|
15857
|
+
*
|
|
15858
|
+
* @summary Create or update Elasticsearch security user
|
|
15859
|
+
* @param {string} orgName
|
|
15860
|
+
* @param {string} clusterName
|
|
15861
|
+
* @param {string} username
|
|
15862
|
+
* @param {PutSecurityUserRequest} body
|
|
15863
|
+
* @param {*} [options] Override http request option.
|
|
15864
|
+
* @throws {RequiredError}
|
|
15865
|
+
*/
|
|
15866
|
+
async putElasticsearchSecurityUser(orgName, clusterName, username, body, options) {
|
|
15867
|
+
var _a, _b, _c;
|
|
15868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
|
|
15869
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15870
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15871
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15872
|
+
},
|
|
14957
15873
|
/**
|
|
14958
15874
|
*
|
|
14959
15875
|
* @summary create a SQL query
|
|
@@ -15634,6 +16550,22 @@ const SharedApiFp = function (configuration) {
|
|
|
15634
16550
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.unlockAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15635
16551
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15636
16552
|
},
|
|
16553
|
+
/**
|
|
16554
|
+
*
|
|
16555
|
+
* @summary Unlock Elasticsearch account
|
|
16556
|
+
* @param {string} orgName
|
|
16557
|
+
* @param {string} clusterName
|
|
16558
|
+
* @param {string} username
|
|
16559
|
+
* @param {*} [options] Override http request option.
|
|
16560
|
+
* @throws {RequiredError}
|
|
16561
|
+
*/
|
|
16562
|
+
async unlockElasticsearchSecurityUser(orgName, clusterName, username, options) {
|
|
16563
|
+
var _a, _b, _c;
|
|
16564
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockElasticsearchSecurityUser(orgName, clusterName, username, options);
|
|
16565
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16566
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.unlockElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16567
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16568
|
+
},
|
|
15637
16569
|
/**
|
|
15638
16570
|
* update an account in cluster
|
|
15639
16571
|
* @summary update cluster account
|
|
@@ -16173,6 +17105,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
16173
17105
|
buildBackupObj(requestParameters, options) {
|
|
16174
17106
|
return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
16175
17107
|
},
|
|
17108
|
+
/**
|
|
17109
|
+
*
|
|
17110
|
+
* @summary Change Elasticsearch account password
|
|
17111
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
17112
|
+
* @param {*} [options] Override http request option.
|
|
17113
|
+
* @throws {RequiredError}
|
|
17114
|
+
*/
|
|
17115
|
+
changeElasticsearchSecurityUserPassword(requestParameters, options) {
|
|
17116
|
+
return localVarFp.changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
17117
|
+
},
|
|
16176
17118
|
/**
|
|
16177
17119
|
*
|
|
16178
17120
|
* @summary close the session for the cluster
|
|
@@ -16514,6 +17456,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
16514
17456
|
deleteDatabase(requestParameters, options) {
|
|
16515
17457
|
return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
16516
17458
|
},
|
|
17459
|
+
/**
|
|
17460
|
+
*
|
|
17461
|
+
* @summary Delete Elasticsearch security role
|
|
17462
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
17463
|
+
* @param {*} [options] Override http request option.
|
|
17464
|
+
* @throws {RequiredError}
|
|
17465
|
+
*/
|
|
17466
|
+
deleteElasticsearchSecurityRole(requestParameters, options) {
|
|
17467
|
+
return localVarFp.deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
17468
|
+
},
|
|
17469
|
+
/**
|
|
17470
|
+
*
|
|
17471
|
+
* @summary Delete Elasticsearch security role mapping
|
|
17472
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
17473
|
+
* @param {*} [options] Override http request option.
|
|
17474
|
+
* @throws {RequiredError}
|
|
17475
|
+
*/
|
|
17476
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters, options) {
|
|
17477
|
+
return localVarFp.deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
17478
|
+
},
|
|
17479
|
+
/**
|
|
17480
|
+
*
|
|
17481
|
+
* @summary Delete Elasticsearch security user
|
|
17482
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
17483
|
+
* @param {*} [options] Override http request option.
|
|
17484
|
+
* @throws {RequiredError}
|
|
17485
|
+
*/
|
|
17486
|
+
deleteElasticsearchSecurityUser(requestParameters, options) {
|
|
17487
|
+
return localVarFp.deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
17488
|
+
},
|
|
16517
17489
|
/**
|
|
16518
17490
|
* delete an hive account in cluster
|
|
16519
17491
|
* @summary Delete hive account
|
|
@@ -17013,6 +17985,46 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17013
17985
|
getDatabaseOptions(requestParameters, options) {
|
|
17014
17986
|
return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
17015
17987
|
},
|
|
17988
|
+
/**
|
|
17989
|
+
*
|
|
17990
|
+
* @summary Get Elasticsearch builtin privileges
|
|
17991
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
17992
|
+
* @param {*} [options] Override http request option.
|
|
17993
|
+
* @throws {RequiredError}
|
|
17994
|
+
*/
|
|
17995
|
+
getElasticsearchBuiltinPrivileges(requestParameters, options) {
|
|
17996
|
+
return localVarFp.getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
17997
|
+
},
|
|
17998
|
+
/**
|
|
17999
|
+
*
|
|
18000
|
+
* @summary Get Elasticsearch security role
|
|
18001
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
18002
|
+
* @param {*} [options] Override http request option.
|
|
18003
|
+
* @throws {RequiredError}
|
|
18004
|
+
*/
|
|
18005
|
+
getElasticsearchSecurityRole(requestParameters, options) {
|
|
18006
|
+
return localVarFp.getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
18007
|
+
},
|
|
18008
|
+
/**
|
|
18009
|
+
*
|
|
18010
|
+
* @summary Get Elasticsearch security role mapping
|
|
18011
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
18012
|
+
* @param {*} [options] Override http request option.
|
|
18013
|
+
* @throws {RequiredError}
|
|
18014
|
+
*/
|
|
18015
|
+
getElasticsearchSecurityRoleMapping(requestParameters, options) {
|
|
18016
|
+
return localVarFp.getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
|
|
18017
|
+
},
|
|
18018
|
+
/**
|
|
18019
|
+
*
|
|
18020
|
+
* @summary Get Elasticsearch security user
|
|
18021
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
18022
|
+
* @param {*} [options] Override http request option.
|
|
18023
|
+
* @throws {RequiredError}
|
|
18024
|
+
*/
|
|
18025
|
+
getElasticsearchSecurityUser(requestParameters, options) {
|
|
18026
|
+
return localVarFp.getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
18027
|
+
},
|
|
17016
18028
|
/**
|
|
17017
18029
|
* get engine available console
|
|
17018
18030
|
* @summary get engine available console
|
|
@@ -17463,6 +18475,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17463
18475
|
listDmsDatabases(requestParameters, options) {
|
|
17464
18476
|
return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
17465
18477
|
},
|
|
18478
|
+
/**
|
|
18479
|
+
*
|
|
18480
|
+
* @summary List Elasticsearch security role mappings
|
|
18481
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
18482
|
+
* @param {*} [options] Override http request option.
|
|
18483
|
+
* @throws {RequiredError}
|
|
18484
|
+
*/
|
|
18485
|
+
listElasticsearchSecurityRoleMappings(requestParameters, options) {
|
|
18486
|
+
return localVarFp.listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18487
|
+
},
|
|
18488
|
+
/**
|
|
18489
|
+
*
|
|
18490
|
+
* @summary List Elasticsearch security roles
|
|
18491
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
18492
|
+
* @param {*} [options] Override http request option.
|
|
18493
|
+
* @throws {RequiredError}
|
|
18494
|
+
*/
|
|
18495
|
+
listElasticsearchSecurityRoles(requestParameters, options) {
|
|
18496
|
+
return localVarFp.listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18497
|
+
},
|
|
18498
|
+
/**
|
|
18499
|
+
*
|
|
18500
|
+
* @summary List Elasticsearch security users
|
|
18501
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
18502
|
+
* @param {*} [options] Override http request option.
|
|
18503
|
+
* @throws {RequiredError}
|
|
18504
|
+
*/
|
|
18505
|
+
listElasticsearchSecurityUsers(requestParameters, options) {
|
|
18506
|
+
return localVarFp.listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18507
|
+
},
|
|
17466
18508
|
/**
|
|
17467
18509
|
*
|
|
17468
18510
|
* @summary List cluster endpoints
|
|
@@ -17901,6 +18943,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17901
18943
|
lockAccount(requestParameters, options) {
|
|
17902
18944
|
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
17903
18945
|
},
|
|
18946
|
+
/**
|
|
18947
|
+
*
|
|
18948
|
+
* @summary Lock Elasticsearch account
|
|
18949
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
18950
|
+
* @param {*} [options] Override http request option.
|
|
18951
|
+
* @throws {RequiredError}
|
|
18952
|
+
*/
|
|
18953
|
+
lockElasticsearchSecurityUser(requestParameters, options) {
|
|
18954
|
+
return localVarFp.lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
18955
|
+
},
|
|
17904
18956
|
/**
|
|
17905
18957
|
*
|
|
17906
18958
|
* @summary batch modify database tde status
|
|
@@ -17991,6 +19043,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17991
19043
|
promoteCluster(requestParameters, options) {
|
|
17992
19044
|
return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
17993
19045
|
},
|
|
19046
|
+
/**
|
|
19047
|
+
*
|
|
19048
|
+
* @summary Create or update Elasticsearch security role
|
|
19049
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
19050
|
+
* @param {*} [options] Override http request option.
|
|
19051
|
+
* @throws {RequiredError}
|
|
19052
|
+
*/
|
|
19053
|
+
putElasticsearchSecurityRole(requestParameters, options) {
|
|
19054
|
+
return localVarFp.putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19055
|
+
},
|
|
19056
|
+
/**
|
|
19057
|
+
*
|
|
19058
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
19059
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
19060
|
+
* @param {*} [options] Override http request option.
|
|
19061
|
+
* @throws {RequiredError}
|
|
19062
|
+
*/
|
|
19063
|
+
putElasticsearchSecurityRoleMapping(requestParameters, options) {
|
|
19064
|
+
return localVarFp.putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19065
|
+
},
|
|
19066
|
+
/**
|
|
19067
|
+
*
|
|
19068
|
+
* @summary Create or update Elasticsearch security user
|
|
19069
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
19070
|
+
* @param {*} [options] Override http request option.
|
|
19071
|
+
* @throws {RequiredError}
|
|
19072
|
+
*/
|
|
19073
|
+
putElasticsearchSecurityUser(requestParameters, options) {
|
|
19074
|
+
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19075
|
+
},
|
|
17994
19076
|
/**
|
|
17995
19077
|
*
|
|
17996
19078
|
* @summary create a SQL query
|
|
@@ -18350,6 +19432,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18350
19432
|
unlockAccount(requestParameters, options) {
|
|
18351
19433
|
return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
18352
19434
|
},
|
|
19435
|
+
/**
|
|
19436
|
+
*
|
|
19437
|
+
* @summary Unlock Elasticsearch account
|
|
19438
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
19439
|
+
* @param {*} [options] Override http request option.
|
|
19440
|
+
* @throws {RequiredError}
|
|
19441
|
+
*/
|
|
19442
|
+
unlockElasticsearchSecurityUser(requestParameters, options) {
|
|
19443
|
+
return localVarFp.unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
19444
|
+
},
|
|
18353
19445
|
/**
|
|
18354
19446
|
* update an account in cluster
|
|
18355
19447
|
* @summary update cluster account
|
|
@@ -18717,6 +19809,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
18717
19809
|
buildBackupObj(requestParameters, options) {
|
|
18718
19810
|
return (0, exports.SharedApiFp)(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
18719
19811
|
}
|
|
19812
|
+
/**
|
|
19813
|
+
*
|
|
19814
|
+
* @summary Change Elasticsearch account password
|
|
19815
|
+
* @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
|
|
19816
|
+
* @param {*} [options] Override http request option.
|
|
19817
|
+
* @throws {RequiredError}
|
|
19818
|
+
* @memberof SharedApi
|
|
19819
|
+
*/
|
|
19820
|
+
changeElasticsearchSecurityUserPassword(requestParameters, options) {
|
|
19821
|
+
return (0, exports.SharedApiFp)(this.configuration).changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
19822
|
+
}
|
|
18720
19823
|
/**
|
|
18721
19824
|
*
|
|
18722
19825
|
* @summary close the session for the cluster
|
|
@@ -19092,6 +20195,39 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
19092
20195
|
deleteDatabase(requestParameters, options) {
|
|
19093
20196
|
return (0, exports.SharedApiFp)(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
19094
20197
|
}
|
|
20198
|
+
/**
|
|
20199
|
+
*
|
|
20200
|
+
* @summary Delete Elasticsearch security role
|
|
20201
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
20202
|
+
* @param {*} [options] Override http request option.
|
|
20203
|
+
* @throws {RequiredError}
|
|
20204
|
+
* @memberof SharedApi
|
|
20205
|
+
*/
|
|
20206
|
+
deleteElasticsearchSecurityRole(requestParameters, options) {
|
|
20207
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
20208
|
+
}
|
|
20209
|
+
/**
|
|
20210
|
+
*
|
|
20211
|
+
* @summary Delete Elasticsearch security role mapping
|
|
20212
|
+
* @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
20213
|
+
* @param {*} [options] Override http request option.
|
|
20214
|
+
* @throws {RequiredError}
|
|
20215
|
+
* @memberof SharedApi
|
|
20216
|
+
*/
|
|
20217
|
+
deleteElasticsearchSecurityRoleMapping(requestParameters, options) {
|
|
20218
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
20219
|
+
}
|
|
20220
|
+
/**
|
|
20221
|
+
*
|
|
20222
|
+
* @summary Delete Elasticsearch security user
|
|
20223
|
+
* @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
20224
|
+
* @param {*} [options] Override http request option.
|
|
20225
|
+
* @throws {RequiredError}
|
|
20226
|
+
* @memberof SharedApi
|
|
20227
|
+
*/
|
|
20228
|
+
deleteElasticsearchSecurityUser(requestParameters, options) {
|
|
20229
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
20230
|
+
}
|
|
19095
20231
|
/**
|
|
19096
20232
|
* delete an hive account in cluster
|
|
19097
20233
|
* @summary Delete hive account
|
|
@@ -19641,6 +20777,50 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
19641
20777
|
getDatabaseOptions(requestParameters, options) {
|
|
19642
20778
|
return (0, exports.SharedApiFp)(this.configuration).getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
|
|
19643
20779
|
}
|
|
20780
|
+
/**
|
|
20781
|
+
*
|
|
20782
|
+
* @summary Get Elasticsearch builtin privileges
|
|
20783
|
+
* @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
|
|
20784
|
+
* @param {*} [options] Override http request option.
|
|
20785
|
+
* @throws {RequiredError}
|
|
20786
|
+
* @memberof SharedApi
|
|
20787
|
+
*/
|
|
20788
|
+
getElasticsearchBuiltinPrivileges(requestParameters, options) {
|
|
20789
|
+
return (0, exports.SharedApiFp)(this.configuration).getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
20790
|
+
}
|
|
20791
|
+
/**
|
|
20792
|
+
*
|
|
20793
|
+
* @summary Get Elasticsearch security role
|
|
20794
|
+
* @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
20795
|
+
* @param {*} [options] Override http request option.
|
|
20796
|
+
* @throws {RequiredError}
|
|
20797
|
+
* @memberof SharedApi
|
|
20798
|
+
*/
|
|
20799
|
+
getElasticsearchSecurityRole(requestParameters, options) {
|
|
20800
|
+
return (0, exports.SharedApiFp)(this.configuration).getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
20801
|
+
}
|
|
20802
|
+
/**
|
|
20803
|
+
*
|
|
20804
|
+
* @summary Get Elasticsearch security role mapping
|
|
20805
|
+
* @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
20806
|
+
* @param {*} [options] Override http request option.
|
|
20807
|
+
* @throws {RequiredError}
|
|
20808
|
+
* @memberof SharedApi
|
|
20809
|
+
*/
|
|
20810
|
+
getElasticsearchSecurityRoleMapping(requestParameters, options) {
|
|
20811
|
+
return (0, exports.SharedApiFp)(this.configuration).getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
|
|
20812
|
+
}
|
|
20813
|
+
/**
|
|
20814
|
+
*
|
|
20815
|
+
* @summary Get Elasticsearch security user
|
|
20816
|
+
* @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
20817
|
+
* @param {*} [options] Override http request option.
|
|
20818
|
+
* @throws {RequiredError}
|
|
20819
|
+
* @memberof SharedApi
|
|
20820
|
+
*/
|
|
20821
|
+
getElasticsearchSecurityUser(requestParameters, options) {
|
|
20822
|
+
return (0, exports.SharedApiFp)(this.configuration).getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
20823
|
+
}
|
|
19644
20824
|
/**
|
|
19645
20825
|
* get engine available console
|
|
19646
20826
|
* @summary get engine available console
|
|
@@ -20136,6 +21316,39 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
20136
21316
|
listDmsDatabases(requestParameters, options) {
|
|
20137
21317
|
return (0, exports.SharedApiFp)(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
20138
21318
|
}
|
|
21319
|
+
/**
|
|
21320
|
+
*
|
|
21321
|
+
* @summary List Elasticsearch security role mappings
|
|
21322
|
+
* @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
|
|
21323
|
+
* @param {*} [options] Override http request option.
|
|
21324
|
+
* @throws {RequiredError}
|
|
21325
|
+
* @memberof SharedApi
|
|
21326
|
+
*/
|
|
21327
|
+
listElasticsearchSecurityRoleMappings(requestParameters, options) {
|
|
21328
|
+
return (0, exports.SharedApiFp)(this.configuration).listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
21329
|
+
}
|
|
21330
|
+
/**
|
|
21331
|
+
*
|
|
21332
|
+
* @summary List Elasticsearch security roles
|
|
21333
|
+
* @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
|
|
21334
|
+
* @param {*} [options] Override http request option.
|
|
21335
|
+
* @throws {RequiredError}
|
|
21336
|
+
* @memberof SharedApi
|
|
21337
|
+
*/
|
|
21338
|
+
listElasticsearchSecurityRoles(requestParameters, options) {
|
|
21339
|
+
return (0, exports.SharedApiFp)(this.configuration).listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
21340
|
+
}
|
|
21341
|
+
/**
|
|
21342
|
+
*
|
|
21343
|
+
* @summary List Elasticsearch security users
|
|
21344
|
+
* @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
|
|
21345
|
+
* @param {*} [options] Override http request option.
|
|
21346
|
+
* @throws {RequiredError}
|
|
21347
|
+
* @memberof SharedApi
|
|
21348
|
+
*/
|
|
21349
|
+
listElasticsearchSecurityUsers(requestParameters, options) {
|
|
21350
|
+
return (0, exports.SharedApiFp)(this.configuration).listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
21351
|
+
}
|
|
20139
21352
|
/**
|
|
20140
21353
|
*
|
|
20141
21354
|
* @summary List cluster endpoints
|
|
@@ -20618,6 +21831,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
20618
21831
|
lockAccount(requestParameters, options) {
|
|
20619
21832
|
return (0, exports.SharedApiFp)(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
20620
21833
|
}
|
|
21834
|
+
/**
|
|
21835
|
+
*
|
|
21836
|
+
* @summary Lock Elasticsearch account
|
|
21837
|
+
* @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21838
|
+
* @param {*} [options] Override http request option.
|
|
21839
|
+
* @throws {RequiredError}
|
|
21840
|
+
* @memberof SharedApi
|
|
21841
|
+
*/
|
|
21842
|
+
lockElasticsearchSecurityUser(requestParameters, options) {
|
|
21843
|
+
return (0, exports.SharedApiFp)(this.configuration).lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
21844
|
+
}
|
|
20621
21845
|
/**
|
|
20622
21846
|
*
|
|
20623
21847
|
* @summary batch modify database tde status
|
|
@@ -20717,6 +21941,39 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
20717
21941
|
promoteCluster(requestParameters, options) {
|
|
20718
21942
|
return (0, exports.SharedApiFp)(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
20719
21943
|
}
|
|
21944
|
+
/**
|
|
21945
|
+
*
|
|
21946
|
+
* @summary Create or update Elasticsearch security role
|
|
21947
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
21948
|
+
* @param {*} [options] Override http request option.
|
|
21949
|
+
* @throws {RequiredError}
|
|
21950
|
+
* @memberof SharedApi
|
|
21951
|
+
*/
|
|
21952
|
+
putElasticsearchSecurityRole(requestParameters, options) {
|
|
21953
|
+
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
21954
|
+
}
|
|
21955
|
+
/**
|
|
21956
|
+
*
|
|
21957
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
21958
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
21959
|
+
* @param {*} [options] Override http request option.
|
|
21960
|
+
* @throws {RequiredError}
|
|
21961
|
+
* @memberof SharedApi
|
|
21962
|
+
*/
|
|
21963
|
+
putElasticsearchSecurityRoleMapping(requestParameters, options) {
|
|
21964
|
+
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
21965
|
+
}
|
|
21966
|
+
/**
|
|
21967
|
+
*
|
|
21968
|
+
* @summary Create or update Elasticsearch security user
|
|
21969
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
21970
|
+
* @param {*} [options] Override http request option.
|
|
21971
|
+
* @throws {RequiredError}
|
|
21972
|
+
* @memberof SharedApi
|
|
21973
|
+
*/
|
|
21974
|
+
putElasticsearchSecurityUser(requestParameters, options) {
|
|
21975
|
+
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
21976
|
+
}
|
|
20720
21977
|
/**
|
|
20721
21978
|
*
|
|
20722
21979
|
* @summary create a SQL query
|
|
@@ -21112,6 +22369,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21112
22369
|
unlockAccount(requestParameters, options) {
|
|
21113
22370
|
return (0, exports.SharedApiFp)(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
21114
22371
|
}
|
|
22372
|
+
/**
|
|
22373
|
+
*
|
|
22374
|
+
* @summary Unlock Elasticsearch account
|
|
22375
|
+
* @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
22376
|
+
* @param {*} [options] Override http request option.
|
|
22377
|
+
* @throws {RequiredError}
|
|
22378
|
+
* @memberof SharedApi
|
|
22379
|
+
*/
|
|
22380
|
+
unlockElasticsearchSecurityUser(requestParameters, options) {
|
|
22381
|
+
return (0, exports.SharedApiFp)(this.configuration).unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
22382
|
+
}
|
|
21115
22383
|
/**
|
|
21116
22384
|
* update an account in cluster
|
|
21117
22385
|
* @summary update cluster account
|