kb-cloud-client-typescript 2.3.0-alpha.174 → 2.3.0-alpha.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +2 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +2 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +568 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +636 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/elasticsearch-api.d.ts +1221 -0
- package/dist/adminapi/apis/elasticsearch-api.d.ts.map +1 -0
- package/dist/adminapi/apis/elasticsearch-api.js +1332 -0
- package/dist/adminapi/apis/elasticsearch-api.js.map +1 -0
- package/dist/adminapi/apis/hive-api.d.ts +334 -0
- package/dist/adminapi/apis/hive-api.d.ts.map +1 -0
- package/dist/adminapi/apis/hive-api.js +382 -0
- package/dist/adminapi/apis/hive-api.js.map +1 -0
- package/dist/adminapi/apis/kafka-api.d.ts +286 -0
- package/dist/adminapi/apis/kafka-api.d.ts.map +1 -1
- package/dist/adminapi/apis/kafka-api.js +318 -0
- package/dist/adminapi/apis/kafka-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +1787 -46
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +2060 -156
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/esput-security-user-request.d.ts +63 -0
- package/dist/adminapi/models/esput-security-user-request.d.ts.map +1 -0
- package/dist/adminapi/models/esput-security-user-request.js +16 -0
- package/dist/adminapi/models/esput-security-user-request.js.map +1 -0
- package/dist/adminapi/models/essecurity-application-privileges.d.ts +37 -0
- package/dist/adminapi/models/essecurity-application-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-application-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-application-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-field-security.d.ts +31 -0
- package/dist/adminapi/models/essecurity-field-security.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-field-security.js +16 -0
- package/dist/adminapi/models/essecurity-field-security.js.map +1 -0
- package/dist/adminapi/models/essecurity-index-privileges.d.ts +50 -0
- package/dist/adminapi/models/essecurity-index-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-index-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-index-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-password-request.d.ts +25 -0
- package/dist/adminapi/models/essecurity-password-request.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-password-request.js +16 -0
- package/dist/adminapi/models/essecurity-password-request.js.map +1 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts +56 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-descriptor.d.ts +97 -0
- package/dist/adminapi/models/essecurity-role-descriptor.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-descriptor.js +16 -0
- package/dist/adminapi/models/essecurity-role-descriptor.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-mapping.d.ts +54 -0
- package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-mapping.js +16 -0
- package/dist/adminapi/models/essecurity-role-mapping.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-template-format.d.ts +22 -0
- package/dist/adminapi/models/essecurity-role-template-format.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-template-format.js +26 -0
- package/dist/adminapi/models/essecurity-role-template-format.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-template.d.ts +34 -0
- package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-template.js +16 -0
- package/dist/adminapi/models/essecurity-role-template.js.map +1 -0
- package/dist/adminapi/models/essecurity-user.d.ts +51 -0
- package/dist/adminapi/models/essecurity-user.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-user.js +16 -0
- package/dist/adminapi/models/essecurity-user.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +12 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +12 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/elasticsearch-api.d.ts +1221 -0
- package/dist/openapi/apis/elasticsearch-api.d.ts.map +1 -0
- package/dist/openapi/apis/elasticsearch-api.js +1332 -0
- package/dist/openapi/apis/elasticsearch-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +1187 -14
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1407 -139
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/esput-security-user-request.d.ts +63 -0
- package/dist/openapi/models/esput-security-user-request.d.ts.map +1 -0
- package/dist/openapi/models/esput-security-user-request.js +16 -0
- package/dist/openapi/models/esput-security-user-request.js.map +1 -0
- package/dist/openapi/models/essecurity-application-privileges.d.ts +37 -0
- package/dist/openapi/models/essecurity-application-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-application-privileges.js +16 -0
- package/dist/openapi/models/essecurity-application-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-field-security.d.ts +31 -0
- package/dist/openapi/models/essecurity-field-security.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-field-security.js +16 -0
- package/dist/openapi/models/essecurity-field-security.js.map +1 -0
- package/dist/openapi/models/essecurity-index-privileges.d.ts +50 -0
- package/dist/openapi/models/essecurity-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-index-privileges.js +16 -0
- package/dist/openapi/models/essecurity-index-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-password-request.d.ts +25 -0
- package/dist/openapi/models/essecurity-password-request.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-password-request.js +16 -0
- package/dist/openapi/models/essecurity-password-request.js.map +1 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.js +16 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.d.ts +56 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.js +16 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-role-descriptor.d.ts +97 -0
- package/dist/openapi/models/essecurity-role-descriptor.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-descriptor.js +16 -0
- package/dist/openapi/models/essecurity-role-descriptor.js.map +1 -0
- package/dist/openapi/models/essecurity-role-mapping.d.ts +54 -0
- package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-mapping.js +16 -0
- package/dist/openapi/models/essecurity-role-mapping.js.map +1 -0
- package/dist/openapi/models/essecurity-role-template-format.d.ts +22 -0
- package/dist/openapi/models/essecurity-role-template-format.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-template-format.js +26 -0
- package/dist/openapi/models/essecurity-role-template-format.js.map +1 -0
- package/dist/openapi/models/essecurity-role-template.d.ts +34 -0
- package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-template.js +16 -0
- package/dist/openapi/models/essecurity-role-template.js.map +1 -0
- package/dist/openapi/models/essecurity-user.d.ts +51 -0
- package/dist/openapi/models/essecurity-user.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-user.js +16 -0
- package/dist/openapi/models/essecurity-user.js.map +1 -0
- package/dist/openapi/models/index.d.ts +12 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +12 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +14 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/account-api.ts +1046 -46
- package/src/adminapi/apis/elasticsearch-api.ts +2072 -0
- package/src/adminapi/apis/hive-api.ts +574 -0
- package/src/adminapi/apis/kafka-api.ts +504 -0
- package/src/adminapi/apis/shared-api.ts +3171 -169
- package/src/adminapi/models/esput-security-user-request.ts +66 -0
- package/src/adminapi/models/essecurity-application-privileges.ts +42 -0
- package/src/adminapi/models/essecurity-field-security.ts +36 -0
- package/src/adminapi/models/essecurity-index-privileges.ts +57 -0
- package/src/adminapi/models/essecurity-password-request.ts +30 -0
- package/src/adminapi/models/essecurity-remote-cluster-privileges.ts +36 -0
- package/src/adminapi/models/essecurity-remote-index-privileges.ts +63 -0
- package/src/adminapi/models/essecurity-role-descriptor.ts +102 -0
- package/src/adminapi/models/essecurity-role-mapping.ts +57 -0
- package/src/adminapi/models/essecurity-role-template-format.ts +31 -0
- package/src/adminapi/models/essecurity-role-template.ts +41 -0
- package/src/adminapi/models/essecurity-user.ts +54 -0
- package/src/adminapi/models/index.ts +12 -0
- package/src/adminapi.yaml +1419 -208
- package/src/openapi/.openapi-generator/FILES +13 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/elasticsearch-api.ts +2072 -0
- package/src/openapi/apis/shared-api.ts +2229 -227
- package/src/openapi/models/esput-security-user-request.ts +66 -0
- package/src/openapi/models/essecurity-application-privileges.ts +42 -0
- package/src/openapi/models/essecurity-field-security.ts +36 -0
- package/src/openapi/models/essecurity-index-privileges.ts +57 -0
- package/src/openapi/models/essecurity-password-request.ts +30 -0
- package/src/openapi/models/essecurity-remote-cluster-privileges.ts +36 -0
- package/src/openapi/models/essecurity-remote-index-privileges.ts +63 -0
- package/src/openapi/models/essecurity-role-descriptor.ts +102 -0
- package/src/openapi/models/essecurity-role-mapping.ts +57 -0
- package/src/openapi/models/essecurity-role-template-format.ts +31 -0
- package/src/openapi/models/essecurity-role-template.ts +41 -0
- package/src/openapi/models/essecurity-user.ts +54 -0
- package/src/openapi/models/index.ts +12 -0
- package/src/openapi.yaml +863 -0
|
@@ -76,6 +76,92 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
76
76
|
options: localVarRequestOptions,
|
|
77
77
|
};
|
|
78
78
|
},
|
|
79
|
+
/**
|
|
80
|
+
* create an hive account
|
|
81
|
+
* @summary Create Hive account
|
|
82
|
+
* @param {string} orgName name of the Org
|
|
83
|
+
* @param {string} clusterName name of the Cluster
|
|
84
|
+
* @param {Account} body
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
createHiveAccount: async (orgName, clusterName, body, options = {}) => {
|
|
89
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
90
|
+
(0, common_1.assertParamExists)('createHiveAccount', 'orgName', orgName);
|
|
91
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
92
|
+
(0, common_1.assertParamExists)('createHiveAccount', 'clusterName', clusterName);
|
|
93
|
+
// verify required parameter 'body' is not null or undefined
|
|
94
|
+
(0, common_1.assertParamExists)('createHiveAccount', 'body', body);
|
|
95
|
+
const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
96
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
97
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
98
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
99
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
100
|
+
let baseOptions;
|
|
101
|
+
if (configuration) {
|
|
102
|
+
baseOptions = configuration.baseOptions;
|
|
103
|
+
}
|
|
104
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
105
|
+
const localVarHeaderParameter = {};
|
|
106
|
+
const localVarQueryParameter = {};
|
|
107
|
+
// authentication BearerToken required
|
|
108
|
+
// http bearer authentication required
|
|
109
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
110
|
+
// authentication DigestAuth required
|
|
111
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
112
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
113
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
114
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
115
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
116
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
117
|
+
return {
|
|
118
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
119
|
+
options: localVarRequestOptions,
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* create an account in cluster
|
|
124
|
+
* @summary Create cluster account
|
|
125
|
+
* @param {string} orgName name of the Org
|
|
126
|
+
* @param {string} clusterName name of the Cluster
|
|
127
|
+
* @param {Account} body
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
createKafkaAccount: async (orgName, clusterName, body, options = {}) => {
|
|
132
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
133
|
+
(0, common_1.assertParamExists)('createKafkaAccount', 'orgName', orgName);
|
|
134
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
135
|
+
(0, common_1.assertParamExists)('createKafkaAccount', 'clusterName', clusterName);
|
|
136
|
+
// verify required parameter 'body' is not null or undefined
|
|
137
|
+
(0, common_1.assertParamExists)('createKafkaAccount', 'body', body);
|
|
138
|
+
const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
139
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
140
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
143
|
+
let baseOptions;
|
|
144
|
+
if (configuration) {
|
|
145
|
+
baseOptions = configuration.baseOptions;
|
|
146
|
+
}
|
|
147
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
148
|
+
const localVarHeaderParameter = {};
|
|
149
|
+
const localVarQueryParameter = {};
|
|
150
|
+
// authentication BearerToken required
|
|
151
|
+
// http bearer authentication required
|
|
152
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
153
|
+
// authentication DigestAuth required
|
|
154
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
155
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
156
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
158
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
159
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
160
|
+
return {
|
|
161
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
162
|
+
options: localVarRequestOptions,
|
|
163
|
+
};
|
|
164
|
+
},
|
|
79
165
|
/**
|
|
80
166
|
* create an account in mongodb
|
|
81
167
|
* @summary Create mongodb account
|
|
@@ -255,6 +341,90 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
255
341
|
options: localVarRequestOptions,
|
|
256
342
|
};
|
|
257
343
|
},
|
|
344
|
+
/**
|
|
345
|
+
* delete an hive account in cluster
|
|
346
|
+
* @summary Delete hive account
|
|
347
|
+
* @param {string} orgName name of the organization
|
|
348
|
+
* @param {string} clusterName name of the cluster
|
|
349
|
+
* @param {string} accountName name of the account
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
deleteHiveAccount: async (orgName, clusterName, accountName, options = {}) => {
|
|
354
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
355
|
+
(0, common_1.assertParamExists)('deleteHiveAccount', 'orgName', orgName);
|
|
356
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
357
|
+
(0, common_1.assertParamExists)('deleteHiveAccount', 'clusterName', clusterName);
|
|
358
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
359
|
+
(0, common_1.assertParamExists)('deleteHiveAccount', 'accountName', accountName);
|
|
360
|
+
const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
361
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
362
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
363
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
364
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
365
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
366
|
+
let baseOptions;
|
|
367
|
+
if (configuration) {
|
|
368
|
+
baseOptions = configuration.baseOptions;
|
|
369
|
+
}
|
|
370
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
371
|
+
const localVarHeaderParameter = {};
|
|
372
|
+
const localVarQueryParameter = {};
|
|
373
|
+
// authentication BearerToken required
|
|
374
|
+
// http bearer authentication required
|
|
375
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
376
|
+
// authentication DigestAuth required
|
|
377
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
378
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
380
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
381
|
+
return {
|
|
382
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
383
|
+
options: localVarRequestOptions,
|
|
384
|
+
};
|
|
385
|
+
},
|
|
386
|
+
/**
|
|
387
|
+
* delete an account in cluster
|
|
388
|
+
* @summary Delete cluster account
|
|
389
|
+
* @param {string} orgName name of the Org
|
|
390
|
+
* @param {string} clusterName name of the Cluster
|
|
391
|
+
* @param {string} accountName name of the Cluster
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
*/
|
|
395
|
+
deleteKafkaAccount: async (orgName, clusterName, accountName, options = {}) => {
|
|
396
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
397
|
+
(0, common_1.assertParamExists)('deleteKafkaAccount', 'orgName', orgName);
|
|
398
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
399
|
+
(0, common_1.assertParamExists)('deleteKafkaAccount', 'clusterName', clusterName);
|
|
400
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
401
|
+
(0, common_1.assertParamExists)('deleteKafkaAccount', 'accountName', accountName);
|
|
402
|
+
const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
403
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
404
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
405
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
407
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
408
|
+
let baseOptions;
|
|
409
|
+
if (configuration) {
|
|
410
|
+
baseOptions = configuration.baseOptions;
|
|
411
|
+
}
|
|
412
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
413
|
+
const localVarHeaderParameter = {};
|
|
414
|
+
const localVarQueryParameter = {};
|
|
415
|
+
// authentication BearerToken required
|
|
416
|
+
// http bearer authentication required
|
|
417
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
418
|
+
// authentication DigestAuth required
|
|
419
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
420
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
423
|
+
return {
|
|
424
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
425
|
+
options: localVarRequestOptions,
|
|
426
|
+
};
|
|
427
|
+
},
|
|
258
428
|
/**
|
|
259
429
|
* delete an account in mongodb
|
|
260
430
|
* @summary Delete mongodb account
|
|
@@ -429,6 +599,44 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
429
599
|
options: localVarRequestOptions,
|
|
430
600
|
};
|
|
431
601
|
},
|
|
602
|
+
/**
|
|
603
|
+
* Get Hive accounts
|
|
604
|
+
* @summary Get Hive accounts
|
|
605
|
+
* @param {string} orgName The name of organization
|
|
606
|
+
* @param {string} clusterName The name of cluster
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
*/
|
|
610
|
+
getHiveAccounts: async (orgName, clusterName, options = {}) => {
|
|
611
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
612
|
+
(0, common_1.assertParamExists)('getHiveAccounts', 'orgName', orgName);
|
|
613
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
614
|
+
(0, common_1.assertParamExists)('getHiveAccounts', 'clusterName', clusterName);
|
|
615
|
+
const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
616
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
617
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
618
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
619
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
620
|
+
let baseOptions;
|
|
621
|
+
if (configuration) {
|
|
622
|
+
baseOptions = configuration.baseOptions;
|
|
623
|
+
}
|
|
624
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
625
|
+
const localVarHeaderParameter = {};
|
|
626
|
+
const localVarQueryParameter = {};
|
|
627
|
+
// authentication BearerToken required
|
|
628
|
+
// http bearer authentication required
|
|
629
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
630
|
+
// authentication DigestAuth required
|
|
631
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
632
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
633
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
634
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
635
|
+
return {
|
|
636
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
637
|
+
options: localVarRequestOptions,
|
|
638
|
+
};
|
|
639
|
+
},
|
|
432
640
|
/**
|
|
433
641
|
* get root account password
|
|
434
642
|
* @summary get root account password
|
|
@@ -569,6 +777,44 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
569
777
|
options: localVarRequestOptions,
|
|
570
778
|
};
|
|
571
779
|
},
|
|
780
|
+
/**
|
|
781
|
+
* list accounts in cluster
|
|
782
|
+
* @summary List cluster accounts
|
|
783
|
+
* @param {string} orgName name of the Org
|
|
784
|
+
* @param {string} clusterName name of the Cluster
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
*/
|
|
788
|
+
listKafkaAccounts: async (orgName, clusterName, options = {}) => {
|
|
789
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
790
|
+
(0, common_1.assertParamExists)('listKafkaAccounts', 'orgName', orgName);
|
|
791
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
792
|
+
(0, common_1.assertParamExists)('listKafkaAccounts', 'clusterName', clusterName);
|
|
793
|
+
const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
794
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
795
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
796
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
797
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
798
|
+
let baseOptions;
|
|
799
|
+
if (configuration) {
|
|
800
|
+
baseOptions = configuration.baseOptions;
|
|
801
|
+
}
|
|
802
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
803
|
+
const localVarHeaderParameter = {};
|
|
804
|
+
const localVarQueryParameter = {};
|
|
805
|
+
// authentication BearerToken required
|
|
806
|
+
// http bearer authentication required
|
|
807
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
808
|
+
// authentication DigestAuth required
|
|
809
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
810
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
811
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
812
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
813
|
+
return {
|
|
814
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
815
|
+
options: localVarRequestOptions,
|
|
816
|
+
};
|
|
817
|
+
},
|
|
572
818
|
/**
|
|
573
819
|
* list accounts in mongodb
|
|
574
820
|
* @summary List mongodb accounts
|
|
@@ -885,6 +1131,100 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
885
1131
|
options: localVarRequestOptions,
|
|
886
1132
|
};
|
|
887
1133
|
},
|
|
1134
|
+
/**
|
|
1135
|
+
* update an hive account in cluster
|
|
1136
|
+
* @summary update hive account
|
|
1137
|
+
* @param {string} orgName name of the organization
|
|
1138
|
+
* @param {string} clusterName name of the cluster
|
|
1139
|
+
* @param {string} accountName name of the account
|
|
1140
|
+
* @param {Account} body
|
|
1141
|
+
* @param {*} [options] Override http request option.
|
|
1142
|
+
* @throws {RequiredError}
|
|
1143
|
+
*/
|
|
1144
|
+
updateHiveAccount: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
1145
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1146
|
+
(0, common_1.assertParamExists)('updateHiveAccount', 'orgName', orgName);
|
|
1147
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1148
|
+
(0, common_1.assertParamExists)('updateHiveAccount', 'clusterName', clusterName);
|
|
1149
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1150
|
+
(0, common_1.assertParamExists)('updateHiveAccount', 'accountName', accountName);
|
|
1151
|
+
// verify required parameter 'body' is not null or undefined
|
|
1152
|
+
(0, common_1.assertParamExists)('updateHiveAccount', 'body', body);
|
|
1153
|
+
const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1154
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1155
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1156
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1158
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1159
|
+
let baseOptions;
|
|
1160
|
+
if (configuration) {
|
|
1161
|
+
baseOptions = configuration.baseOptions;
|
|
1162
|
+
}
|
|
1163
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1164
|
+
const localVarHeaderParameter = {};
|
|
1165
|
+
const localVarQueryParameter = {};
|
|
1166
|
+
// authentication BearerToken required
|
|
1167
|
+
// http bearer authentication required
|
|
1168
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1169
|
+
// authentication DigestAuth required
|
|
1170
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1171
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1172
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1174
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1175
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1176
|
+
return {
|
|
1177
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1178
|
+
options: localVarRequestOptions,
|
|
1179
|
+
};
|
|
1180
|
+
},
|
|
1181
|
+
/**
|
|
1182
|
+
* update an account in cluster
|
|
1183
|
+
* @summary update cluster account
|
|
1184
|
+
* @param {string} orgName name of the Org
|
|
1185
|
+
* @param {string} clusterName name of the Cluster
|
|
1186
|
+
* @param {string} accountName name of the account
|
|
1187
|
+
* @param {Account} body
|
|
1188
|
+
* @param {*} [options] Override http request option.
|
|
1189
|
+
* @throws {RequiredError}
|
|
1190
|
+
*/
|
|
1191
|
+
updateKafkaAccount: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
1192
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1193
|
+
(0, common_1.assertParamExists)('updateKafkaAccount', 'orgName', orgName);
|
|
1194
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1195
|
+
(0, common_1.assertParamExists)('updateKafkaAccount', 'clusterName', clusterName);
|
|
1196
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1197
|
+
(0, common_1.assertParamExists)('updateKafkaAccount', 'accountName', accountName);
|
|
1198
|
+
// verify required parameter 'body' is not null or undefined
|
|
1199
|
+
(0, common_1.assertParamExists)('updateKafkaAccount', 'body', body);
|
|
1200
|
+
const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1201
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1202
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1203
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1204
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1205
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1206
|
+
let baseOptions;
|
|
1207
|
+
if (configuration) {
|
|
1208
|
+
baseOptions = configuration.baseOptions;
|
|
1209
|
+
}
|
|
1210
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1211
|
+
const localVarHeaderParameter = {};
|
|
1212
|
+
const localVarQueryParameter = {};
|
|
1213
|
+
// authentication BearerToken required
|
|
1214
|
+
// http bearer authentication required
|
|
1215
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1216
|
+
// authentication DigestAuth required
|
|
1217
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1218
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1219
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1221
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1222
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1223
|
+
return {
|
|
1224
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1225
|
+
options: localVarRequestOptions,
|
|
1226
|
+
};
|
|
1227
|
+
},
|
|
888
1228
|
/**
|
|
889
1229
|
*
|
|
890
1230
|
* @summary update mssql account compatible with windows account
|
|
@@ -1098,6 +1438,38 @@ const AccountApiFp = function (configuration) {
|
|
|
1098
1438
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.createAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1099
1439
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1100
1440
|
},
|
|
1441
|
+
/**
|
|
1442
|
+
* create an hive account
|
|
1443
|
+
* @summary Create Hive account
|
|
1444
|
+
* @param {string} orgName name of the Org
|
|
1445
|
+
* @param {string} clusterName name of the Cluster
|
|
1446
|
+
* @param {Account} body
|
|
1447
|
+
* @param {*} [options] Override http request option.
|
|
1448
|
+
* @throws {RequiredError}
|
|
1449
|
+
*/
|
|
1450
|
+
async createHiveAccount(orgName, clusterName, body, options) {
|
|
1451
|
+
var _a, _b, _c;
|
|
1452
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createHiveAccount(orgName, clusterName, body, options);
|
|
1453
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1454
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.createHiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1455
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1456
|
+
},
|
|
1457
|
+
/**
|
|
1458
|
+
* create an account in cluster
|
|
1459
|
+
* @summary Create cluster account
|
|
1460
|
+
* @param {string} orgName name of the Org
|
|
1461
|
+
* @param {string} clusterName name of the Cluster
|
|
1462
|
+
* @param {Account} body
|
|
1463
|
+
* @param {*} [options] Override http request option.
|
|
1464
|
+
* @throws {RequiredError}
|
|
1465
|
+
*/
|
|
1466
|
+
async createKafkaAccount(orgName, clusterName, body, options) {
|
|
1467
|
+
var _a, _b, _c;
|
|
1468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createKafkaAccount(orgName, clusterName, body, options);
|
|
1469
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1470
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.createKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1471
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1472
|
+
},
|
|
1101
1473
|
/**
|
|
1102
1474
|
* create an account in mongodb
|
|
1103
1475
|
* @summary Create mongodb account
|
|
@@ -1164,6 +1536,38 @@ const AccountApiFp = function (configuration) {
|
|
|
1164
1536
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1165
1537
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1166
1538
|
},
|
|
1539
|
+
/**
|
|
1540
|
+
* delete an hive account in cluster
|
|
1541
|
+
* @summary Delete hive account
|
|
1542
|
+
* @param {string} orgName name of the organization
|
|
1543
|
+
* @param {string} clusterName name of the cluster
|
|
1544
|
+
* @param {string} accountName name of the account
|
|
1545
|
+
* @param {*} [options] Override http request option.
|
|
1546
|
+
* @throws {RequiredError}
|
|
1547
|
+
*/
|
|
1548
|
+
async deleteHiveAccount(orgName, clusterName, accountName, options) {
|
|
1549
|
+
var _a, _b, _c;
|
|
1550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHiveAccount(orgName, clusterName, accountName, options);
|
|
1551
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1552
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteHiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1553
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1554
|
+
},
|
|
1555
|
+
/**
|
|
1556
|
+
* delete an account in cluster
|
|
1557
|
+
* @summary Delete cluster account
|
|
1558
|
+
* @param {string} orgName name of the Org
|
|
1559
|
+
* @param {string} clusterName name of the Cluster
|
|
1560
|
+
* @param {string} accountName name of the Cluster
|
|
1561
|
+
* @param {*} [options] Override http request option.
|
|
1562
|
+
* @throws {RequiredError}
|
|
1563
|
+
*/
|
|
1564
|
+
async deleteKafkaAccount(orgName, clusterName, accountName, options) {
|
|
1565
|
+
var _a, _b, _c;
|
|
1566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKafkaAccount(orgName, clusterName, accountName, options);
|
|
1567
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1568
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1569
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1570
|
+
},
|
|
1167
1571
|
/**
|
|
1168
1572
|
* delete an account in mongodb
|
|
1169
1573
|
* @summary Delete mongodb account
|
|
@@ -1229,6 +1633,21 @@ const AccountApiFp = function (configuration) {
|
|
|
1229
1633
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteServiceAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1230
1634
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1231
1635
|
},
|
|
1636
|
+
/**
|
|
1637
|
+
* Get Hive accounts
|
|
1638
|
+
* @summary Get Hive accounts
|
|
1639
|
+
* @param {string} orgName The name of organization
|
|
1640
|
+
* @param {string} clusterName The name of cluster
|
|
1641
|
+
* @param {*} [options] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
1643
|
+
*/
|
|
1644
|
+
async getHiveAccounts(orgName, clusterName, options) {
|
|
1645
|
+
var _a, _b, _c;
|
|
1646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHiveAccounts(orgName, clusterName, options);
|
|
1647
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1648
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.getHiveAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1649
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1650
|
+
},
|
|
1232
1651
|
/**
|
|
1233
1652
|
* get root account password
|
|
1234
1653
|
* @summary get root account password
|
|
@@ -1280,6 +1699,21 @@ const AccountApiFp = function (configuration) {
|
|
|
1280
1699
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.listAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1281
1700
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1282
1701
|
},
|
|
1702
|
+
/**
|
|
1703
|
+
* list accounts in cluster
|
|
1704
|
+
* @summary List cluster accounts
|
|
1705
|
+
* @param {string} orgName name of the Org
|
|
1706
|
+
* @param {string} clusterName name of the Cluster
|
|
1707
|
+
* @param {*} [options] Override http request option.
|
|
1708
|
+
* @throws {RequiredError}
|
|
1709
|
+
*/
|
|
1710
|
+
async listKafkaAccounts(orgName, clusterName, options) {
|
|
1711
|
+
var _a, _b, _c;
|
|
1712
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listKafkaAccounts(orgName, clusterName, options);
|
|
1713
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1714
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.listKafkaAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1715
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1716
|
+
},
|
|
1283
1717
|
/**
|
|
1284
1718
|
* list accounts in mongodb
|
|
1285
1719
|
* @summary List mongodb accounts
|
|
@@ -1397,6 +1831,40 @@ const AccountApiFp = function (configuration) {
|
|
|
1397
1831
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.updateAccountPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1398
1832
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1399
1833
|
},
|
|
1834
|
+
/**
|
|
1835
|
+
* update an hive account in cluster
|
|
1836
|
+
* @summary update hive account
|
|
1837
|
+
* @param {string} orgName name of the organization
|
|
1838
|
+
* @param {string} clusterName name of the cluster
|
|
1839
|
+
* @param {string} accountName name of the account
|
|
1840
|
+
* @param {Account} body
|
|
1841
|
+
* @param {*} [options] Override http request option.
|
|
1842
|
+
* @throws {RequiredError}
|
|
1843
|
+
*/
|
|
1844
|
+
async updateHiveAccount(orgName, clusterName, accountName, body, options) {
|
|
1845
|
+
var _a, _b, _c;
|
|
1846
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateHiveAccount(orgName, clusterName, accountName, body, options);
|
|
1847
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1848
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.updateHiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1849
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1850
|
+
},
|
|
1851
|
+
/**
|
|
1852
|
+
* update an account in cluster
|
|
1853
|
+
* @summary update cluster account
|
|
1854
|
+
* @param {string} orgName name of the Org
|
|
1855
|
+
* @param {string} clusterName name of the Cluster
|
|
1856
|
+
* @param {string} accountName name of the account
|
|
1857
|
+
* @param {Account} body
|
|
1858
|
+
* @param {*} [options] Override http request option.
|
|
1859
|
+
* @throws {RequiredError}
|
|
1860
|
+
*/
|
|
1861
|
+
async updateKafkaAccount(orgName, clusterName, accountName, body, options) {
|
|
1862
|
+
var _a, _b, _c;
|
|
1863
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateKafkaAccount(orgName, clusterName, accountName, body, options);
|
|
1864
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1865
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.updateKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1866
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1867
|
+
},
|
|
1400
1868
|
/**
|
|
1401
1869
|
*
|
|
1402
1870
|
* @summary update mssql account compatible with windows account
|
|
@@ -1485,6 +1953,26 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
1485
1953
|
createAccount(requestParameters, options) {
|
|
1486
1954
|
return localVarFp.createAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1487
1955
|
},
|
|
1956
|
+
/**
|
|
1957
|
+
* create an hive account
|
|
1958
|
+
* @summary Create Hive account
|
|
1959
|
+
* @param {AccountApiCreateHiveAccountRequest} requestParameters Request parameters.
|
|
1960
|
+
* @param {*} [options] Override http request option.
|
|
1961
|
+
* @throws {RequiredError}
|
|
1962
|
+
*/
|
|
1963
|
+
createHiveAccount(requestParameters, options) {
|
|
1964
|
+
return localVarFp.createHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1965
|
+
},
|
|
1966
|
+
/**
|
|
1967
|
+
* create an account in cluster
|
|
1968
|
+
* @summary Create cluster account
|
|
1969
|
+
* @param {AccountApiCreateKafkaAccountRequest} requestParameters Request parameters.
|
|
1970
|
+
* @param {*} [options] Override http request option.
|
|
1971
|
+
* @throws {RequiredError}
|
|
1972
|
+
*/
|
|
1973
|
+
createKafkaAccount(requestParameters, options) {
|
|
1974
|
+
return localVarFp.createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1975
|
+
},
|
|
1488
1976
|
/**
|
|
1489
1977
|
* create an account in mongodb
|
|
1490
1978
|
* @summary Create mongodb account
|
|
@@ -1525,6 +2013,26 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
1525
2013
|
deleteAccount(requestParameters, options) {
|
|
1526
2014
|
return localVarFp.deleteAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
1527
2015
|
},
|
|
2016
|
+
/**
|
|
2017
|
+
* delete an hive account in cluster
|
|
2018
|
+
* @summary Delete hive account
|
|
2019
|
+
* @param {AccountApiDeleteHiveAccountRequest} requestParameters Request parameters.
|
|
2020
|
+
* @param {*} [options] Override http request option.
|
|
2021
|
+
* @throws {RequiredError}
|
|
2022
|
+
*/
|
|
2023
|
+
deleteHiveAccount(requestParameters, options) {
|
|
2024
|
+
return localVarFp.deleteHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
2025
|
+
},
|
|
2026
|
+
/**
|
|
2027
|
+
* delete an account in cluster
|
|
2028
|
+
* @summary Delete cluster account
|
|
2029
|
+
* @param {AccountApiDeleteKafkaAccountRequest} requestParameters Request parameters.
|
|
2030
|
+
* @param {*} [options] Override http request option.
|
|
2031
|
+
* @throws {RequiredError}
|
|
2032
|
+
*/
|
|
2033
|
+
deleteKafkaAccount(requestParameters, options) {
|
|
2034
|
+
return localVarFp.deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
2035
|
+
},
|
|
1528
2036
|
/**
|
|
1529
2037
|
* delete an account in mongodb
|
|
1530
2038
|
* @summary Delete mongodb account
|
|
@@ -1565,6 +2073,16 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
1565
2073
|
deleteServiceAccount(requestParameters, options) {
|
|
1566
2074
|
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
1567
2075
|
},
|
|
2076
|
+
/**
|
|
2077
|
+
* Get Hive accounts
|
|
2078
|
+
* @summary Get Hive accounts
|
|
2079
|
+
* @param {AccountApiGetHiveAccountsRequest} requestParameters Request parameters.
|
|
2080
|
+
* @param {*} [options] Override http request option.
|
|
2081
|
+
* @throws {RequiredError}
|
|
2082
|
+
*/
|
|
2083
|
+
getHiveAccounts(requestParameters, options) {
|
|
2084
|
+
return localVarFp.getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2085
|
+
},
|
|
1568
2086
|
/**
|
|
1569
2087
|
* get root account password
|
|
1570
2088
|
* @summary get root account password
|
|
@@ -1595,6 +2113,16 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
1595
2113
|
listAccounts(requestParameters, options) {
|
|
1596
2114
|
return localVarFp.listAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
1597
2115
|
},
|
|
2116
|
+
/**
|
|
2117
|
+
* list accounts in cluster
|
|
2118
|
+
* @summary List cluster accounts
|
|
2119
|
+
* @param {AccountApiListKafkaAccountsRequest} requestParameters Request parameters.
|
|
2120
|
+
* @param {*} [options] Override http request option.
|
|
2121
|
+
* @throws {RequiredError}
|
|
2122
|
+
*/
|
|
2123
|
+
listKafkaAccounts(requestParameters, options) {
|
|
2124
|
+
return localVarFp.listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2125
|
+
},
|
|
1598
2126
|
/**
|
|
1599
2127
|
* list accounts in mongodb
|
|
1600
2128
|
* @summary List mongodb accounts
|
|
@@ -1665,6 +2193,26 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
1665
2193
|
updateAccountPrivileges(requestParameters, options) {
|
|
1666
2194
|
return localVarFp.updateAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1667
2195
|
},
|
|
2196
|
+
/**
|
|
2197
|
+
* update an hive account in cluster
|
|
2198
|
+
* @summary update hive account
|
|
2199
|
+
* @param {AccountApiUpdateHiveAccountRequest} requestParameters Request parameters.
|
|
2200
|
+
* @param {*} [options] Override http request option.
|
|
2201
|
+
* @throws {RequiredError}
|
|
2202
|
+
*/
|
|
2203
|
+
updateHiveAccount(requestParameters, options) {
|
|
2204
|
+
return localVarFp.updateHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2205
|
+
},
|
|
2206
|
+
/**
|
|
2207
|
+
* update an account in cluster
|
|
2208
|
+
* @summary update cluster account
|
|
2209
|
+
* @param {AccountApiUpdateKafkaAccountRequest} requestParameters Request parameters.
|
|
2210
|
+
* @param {*} [options] Override http request option.
|
|
2211
|
+
* @throws {RequiredError}
|
|
2212
|
+
*/
|
|
2213
|
+
updateKafkaAccount(requestParameters, options) {
|
|
2214
|
+
return localVarFp.updateKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2215
|
+
},
|
|
1668
2216
|
/**
|
|
1669
2217
|
*
|
|
1670
2218
|
* @summary update mssql account compatible with windows account
|
|
@@ -1726,6 +2274,28 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
1726
2274
|
createAccount(requestParameters, options) {
|
|
1727
2275
|
return (0, exports.AccountApiFp)(this.configuration).createAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1728
2276
|
}
|
|
2277
|
+
/**
|
|
2278
|
+
* create an hive account
|
|
2279
|
+
* @summary Create Hive account
|
|
2280
|
+
* @param {AccountApiCreateHiveAccountRequest} requestParameters Request parameters.
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
2283
|
+
* @memberof AccountApi
|
|
2284
|
+
*/
|
|
2285
|
+
createHiveAccount(requestParameters, options) {
|
|
2286
|
+
return (0, exports.AccountApiFp)(this.configuration).createHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2287
|
+
}
|
|
2288
|
+
/**
|
|
2289
|
+
* create an account in cluster
|
|
2290
|
+
* @summary Create cluster account
|
|
2291
|
+
* @param {AccountApiCreateKafkaAccountRequest} requestParameters Request parameters.
|
|
2292
|
+
* @param {*} [options] Override http request option.
|
|
2293
|
+
* @throws {RequiredError}
|
|
2294
|
+
* @memberof AccountApi
|
|
2295
|
+
*/
|
|
2296
|
+
createKafkaAccount(requestParameters, options) {
|
|
2297
|
+
return (0, exports.AccountApiFp)(this.configuration).createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2298
|
+
}
|
|
1729
2299
|
/**
|
|
1730
2300
|
* create an account in mongodb
|
|
1731
2301
|
* @summary Create mongodb account
|
|
@@ -1770,6 +2340,28 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
1770
2340
|
deleteAccount(requestParameters, options) {
|
|
1771
2341
|
return (0, exports.AccountApiFp)(this.configuration).deleteAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1772
2342
|
}
|
|
2343
|
+
/**
|
|
2344
|
+
* delete an hive account in cluster
|
|
2345
|
+
* @summary Delete hive account
|
|
2346
|
+
* @param {AccountApiDeleteHiveAccountRequest} requestParameters Request parameters.
|
|
2347
|
+
* @param {*} [options] Override http request option.
|
|
2348
|
+
* @throws {RequiredError}
|
|
2349
|
+
* @memberof AccountApi
|
|
2350
|
+
*/
|
|
2351
|
+
deleteHiveAccount(requestParameters, options) {
|
|
2352
|
+
return (0, exports.AccountApiFp)(this.configuration).deleteHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
2353
|
+
}
|
|
2354
|
+
/**
|
|
2355
|
+
* delete an account in cluster
|
|
2356
|
+
* @summary Delete cluster account
|
|
2357
|
+
* @param {AccountApiDeleteKafkaAccountRequest} requestParameters Request parameters.
|
|
2358
|
+
* @param {*} [options] Override http request option.
|
|
2359
|
+
* @throws {RequiredError}
|
|
2360
|
+
* @memberof AccountApi
|
|
2361
|
+
*/
|
|
2362
|
+
deleteKafkaAccount(requestParameters, options) {
|
|
2363
|
+
return (0, exports.AccountApiFp)(this.configuration).deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
2364
|
+
}
|
|
1773
2365
|
/**
|
|
1774
2366
|
* delete an account in mongodb
|
|
1775
2367
|
* @summary Delete mongodb account
|
|
@@ -1814,6 +2406,17 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
1814
2406
|
deleteServiceAccount(requestParameters, options) {
|
|
1815
2407
|
return (0, exports.AccountApiFp)(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
1816
2408
|
}
|
|
2409
|
+
/**
|
|
2410
|
+
* Get Hive accounts
|
|
2411
|
+
* @summary Get Hive accounts
|
|
2412
|
+
* @param {AccountApiGetHiveAccountsRequest} requestParameters Request parameters.
|
|
2413
|
+
* @param {*} [options] Override http request option.
|
|
2414
|
+
* @throws {RequiredError}
|
|
2415
|
+
* @memberof AccountApi
|
|
2416
|
+
*/
|
|
2417
|
+
getHiveAccounts(requestParameters, options) {
|
|
2418
|
+
return (0, exports.AccountApiFp)(this.configuration).getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
2419
|
+
}
|
|
1817
2420
|
/**
|
|
1818
2421
|
* get root account password
|
|
1819
2422
|
* @summary get root account password
|
|
@@ -1847,6 +2450,17 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
1847
2450
|
listAccounts(requestParameters, options) {
|
|
1848
2451
|
return (0, exports.AccountApiFp)(this.configuration).listAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1849
2452
|
}
|
|
2453
|
+
/**
|
|
2454
|
+
* list accounts in cluster
|
|
2455
|
+
* @summary List cluster accounts
|
|
2456
|
+
* @param {AccountApiListKafkaAccountsRequest} requestParameters Request parameters.
|
|
2457
|
+
* @param {*} [options] Override http request option.
|
|
2458
|
+
* @throws {RequiredError}
|
|
2459
|
+
* @memberof AccountApi
|
|
2460
|
+
*/
|
|
2461
|
+
listKafkaAccounts(requestParameters, options) {
|
|
2462
|
+
return (0, exports.AccountApiFp)(this.configuration).listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
2463
|
+
}
|
|
1850
2464
|
/**
|
|
1851
2465
|
* list accounts in mongodb
|
|
1852
2466
|
* @summary List mongodb accounts
|
|
@@ -1924,6 +2538,28 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
1924
2538
|
updateAccountPrivileges(requestParameters, options) {
|
|
1925
2539
|
return (0, exports.AccountApiFp)(this.configuration).updateAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1926
2540
|
}
|
|
2541
|
+
/**
|
|
2542
|
+
* update an hive account in cluster
|
|
2543
|
+
* @summary update hive account
|
|
2544
|
+
* @param {AccountApiUpdateHiveAccountRequest} requestParameters Request parameters.
|
|
2545
|
+
* @param {*} [options] Override http request option.
|
|
2546
|
+
* @throws {RequiredError}
|
|
2547
|
+
* @memberof AccountApi
|
|
2548
|
+
*/
|
|
2549
|
+
updateHiveAccount(requestParameters, options) {
|
|
2550
|
+
return (0, exports.AccountApiFp)(this.configuration).updateHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2551
|
+
}
|
|
2552
|
+
/**
|
|
2553
|
+
* update an account in cluster
|
|
2554
|
+
* @summary update cluster account
|
|
2555
|
+
* @param {AccountApiUpdateKafkaAccountRequest} requestParameters Request parameters.
|
|
2556
|
+
* @param {*} [options] Override http request option.
|
|
2557
|
+
* @throws {RequiredError}
|
|
2558
|
+
* @memberof AccountApi
|
|
2559
|
+
*/
|
|
2560
|
+
updateKafkaAccount(requestParameters, options) {
|
|
2561
|
+
return (0, exports.AccountApiFp)(this.configuration).updateKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2562
|
+
}
|
|
1927
2563
|
/**
|
|
1928
2564
|
*
|
|
1929
2565
|
* @summary update mssql account compatible with windows account
|