kb-cloud-client-typescript 2.4.0-alpha.91 → 2.4.0-alpha.93
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/apis/account-api.d.ts +310 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +303 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +310 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +303 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +310 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +303 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/object-privilege-reset-step.d.ts +31 -0
- package/dist/adminapi/models/object-privilege-reset-step.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-reset-step.js +16 -0
- package/dist/adminapi/models/object-privilege-reset-step.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +310 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +303 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +310 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +303 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +310 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +303 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/object-privilege-reset-step.d.ts +31 -0
- package/dist/openapi/models/object-privilege-reset-step.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-reset-step.js +16 -0
- package/dist/openapi/models/object-privilege-reset-step.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/account-api.ts +533 -0
- package/src/adminapi/apis/rdbms-api.ts +533 -0
- package/src/adminapi/apis/shared-api.ts +533 -0
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/object-privilege-reset-step.ts +36 -0
- package/src/adminapi.yaml +204 -0
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/account-api.ts +533 -0
- package/src/openapi/apis/rdbms-api.ts +533 -0
- package/src/openapi/apis/shared-api.ts +533 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/object-privilege-reset-step.ts +36 -0
- package/src/openapi.yaml +204 -0
|
@@ -294,6 +294,8 @@ import type { ObjectPrivilegeChange } from '../models';
|
|
|
294
294
|
// @ts-ignore
|
|
295
295
|
import type { ObjectPrivilegeObjectList } from '../models';
|
|
296
296
|
// @ts-ignore
|
|
297
|
+
import type { ObjectPrivilegeResetStep } from '../models';
|
|
298
|
+
// @ts-ignore
|
|
297
299
|
import type { ObjectPrivilegeSnapshot } from '../models';
|
|
298
300
|
// @ts-ignore
|
|
299
301
|
import type { ObjectPrivilegeSubjectType } from '../models';
|
|
@@ -8881,6 +8883,80 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8881
8883
|
|
|
8882
8884
|
|
|
8883
8885
|
|
|
8886
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8887
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8888
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8889
|
+
|
|
8890
|
+
return {
|
|
8891
|
+
url: toPathString(localVarUrlObj),
|
|
8892
|
+
options: localVarRequestOptions,
|
|
8893
|
+
};
|
|
8894
|
+
},
|
|
8895
|
+
/**
|
|
8896
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
8897
|
+
* @summary List exact column names for account object privileges
|
|
8898
|
+
* @param {string} engineName
|
|
8899
|
+
* @param {string} orgName
|
|
8900
|
+
* @param {string} clusterName
|
|
8901
|
+
* @param {string} accountName
|
|
8902
|
+
* @param {string} objectType Object type, either table or view
|
|
8903
|
+
* @param {string} databaseName
|
|
8904
|
+
* @param {string} objectName
|
|
8905
|
+
* @param {*} [options] Override http request option.
|
|
8906
|
+
* @throws {RequiredError}
|
|
8907
|
+
*/
|
|
8908
|
+
listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8909
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
8910
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
|
|
8911
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8912
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
|
|
8913
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8914
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
|
|
8915
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
8916
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
|
|
8917
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
8918
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
|
|
8919
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
8920
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
|
|
8921
|
+
// verify required parameter 'objectName' is not null or undefined
|
|
8922
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
|
|
8923
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
|
|
8924
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
8925
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8926
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8927
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
8928
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8929
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8930
|
+
let baseOptions;
|
|
8931
|
+
if (configuration) {
|
|
8932
|
+
baseOptions = configuration.baseOptions;
|
|
8933
|
+
}
|
|
8934
|
+
|
|
8935
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8936
|
+
const localVarHeaderParameter = {} as any;
|
|
8937
|
+
const localVarQueryParameter = {} as any;
|
|
8938
|
+
|
|
8939
|
+
// authentication BearerToken required
|
|
8940
|
+
// http bearer authentication required
|
|
8941
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8942
|
+
|
|
8943
|
+
// authentication DigestAuth required
|
|
8944
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8945
|
+
|
|
8946
|
+
if (objectType !== undefined) {
|
|
8947
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
8948
|
+
}
|
|
8949
|
+
|
|
8950
|
+
if (databaseName !== undefined) {
|
|
8951
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
8952
|
+
}
|
|
8953
|
+
|
|
8954
|
+
if (objectName !== undefined) {
|
|
8955
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
8956
|
+
}
|
|
8957
|
+
|
|
8958
|
+
|
|
8959
|
+
|
|
8884
8960
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8885
8961
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8886
8962
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12928,6 +13004,74 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12928
13004
|
options: localVarRequestOptions,
|
|
12929
13005
|
};
|
|
12930
13006
|
},
|
|
13007
|
+
/**
|
|
13008
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
13009
|
+
* @summary Preview clearing all MySQL account privileges
|
|
13010
|
+
* @param {string} engineName
|
|
13011
|
+
* @param {string} orgName
|
|
13012
|
+
* @param {string} clusterName
|
|
13013
|
+
* @param {string} accountName
|
|
13014
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
13015
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
13016
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
13017
|
+
* @param {*} [options] Override http request option.
|
|
13018
|
+
* @throws {RequiredError}
|
|
13019
|
+
*/
|
|
13020
|
+
previewAccountPrivilegeReset: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13021
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
13022
|
+
assertParamExists('previewAccountPrivilegeReset', 'engineName', engineName)
|
|
13023
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13024
|
+
assertParamExists('previewAccountPrivilegeReset', 'orgName', orgName)
|
|
13025
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13026
|
+
assertParamExists('previewAccountPrivilegeReset', 'clusterName', clusterName)
|
|
13027
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
13028
|
+
assertParamExists('previewAccountPrivilegeReset', 'accountName', accountName)
|
|
13029
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
|
|
13030
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
13031
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13032
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13033
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
13034
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13035
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13036
|
+
let baseOptions;
|
|
13037
|
+
if (configuration) {
|
|
13038
|
+
baseOptions = configuration.baseOptions;
|
|
13039
|
+
}
|
|
13040
|
+
|
|
13041
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13042
|
+
const localVarHeaderParameter = {} as any;
|
|
13043
|
+
const localVarQueryParameter = {} as any;
|
|
13044
|
+
|
|
13045
|
+
// authentication BearerToken required
|
|
13046
|
+
// http bearer authentication required
|
|
13047
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13048
|
+
|
|
13049
|
+
// authentication DigestAuth required
|
|
13050
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13051
|
+
|
|
13052
|
+
if (subjectType !== undefined) {
|
|
13053
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
13054
|
+
}
|
|
13055
|
+
|
|
13056
|
+
if (host !== undefined) {
|
|
13057
|
+
localVarQueryParameter['host'] = host;
|
|
13058
|
+
}
|
|
13059
|
+
|
|
13060
|
+
if (subjectQualifiers !== undefined) {
|
|
13061
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
13062
|
+
}
|
|
13063
|
+
|
|
13064
|
+
|
|
13065
|
+
|
|
13066
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13067
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13068
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13069
|
+
|
|
13070
|
+
return {
|
|
13071
|
+
url: toPathString(localVarUrlObj),
|
|
13072
|
+
options: localVarRequestOptions,
|
|
13073
|
+
};
|
|
13074
|
+
},
|
|
12931
13075
|
/**
|
|
12932
13076
|
*
|
|
12933
13077
|
* @summary Produce message to topic
|
|
@@ -15099,6 +15243,74 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15099
15243
|
options: localVarRequestOptions,
|
|
15100
15244
|
};
|
|
15101
15245
|
},
|
|
15246
|
+
/**
|
|
15247
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
15248
|
+
* @summary Clear all MySQL account privileges
|
|
15249
|
+
* @param {string} engineName
|
|
15250
|
+
* @param {string} orgName
|
|
15251
|
+
* @param {string} clusterName
|
|
15252
|
+
* @param {string} accountName
|
|
15253
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
15254
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
15255
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
15256
|
+
* @param {*} [options] Override http request option.
|
|
15257
|
+
* @throws {RequiredError}
|
|
15258
|
+
*/
|
|
15259
|
+
resetAccountPrivileges: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15260
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
15261
|
+
assertParamExists('resetAccountPrivileges', 'engineName', engineName)
|
|
15262
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15263
|
+
assertParamExists('resetAccountPrivileges', 'orgName', orgName)
|
|
15264
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15265
|
+
assertParamExists('resetAccountPrivileges', 'clusterName', clusterName)
|
|
15266
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15267
|
+
assertParamExists('resetAccountPrivileges', 'accountName', accountName)
|
|
15268
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
|
|
15269
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
15270
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15271
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15272
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15273
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15274
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15275
|
+
let baseOptions;
|
|
15276
|
+
if (configuration) {
|
|
15277
|
+
baseOptions = configuration.baseOptions;
|
|
15278
|
+
}
|
|
15279
|
+
|
|
15280
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
15281
|
+
const localVarHeaderParameter = {} as any;
|
|
15282
|
+
const localVarQueryParameter = {} as any;
|
|
15283
|
+
|
|
15284
|
+
// authentication BearerToken required
|
|
15285
|
+
// http bearer authentication required
|
|
15286
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15287
|
+
|
|
15288
|
+
// authentication DigestAuth required
|
|
15289
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15290
|
+
|
|
15291
|
+
if (subjectType !== undefined) {
|
|
15292
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
15293
|
+
}
|
|
15294
|
+
|
|
15295
|
+
if (host !== undefined) {
|
|
15296
|
+
localVarQueryParameter['host'] = host;
|
|
15297
|
+
}
|
|
15298
|
+
|
|
15299
|
+
if (subjectQualifiers !== undefined) {
|
|
15300
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
15301
|
+
}
|
|
15302
|
+
|
|
15303
|
+
|
|
15304
|
+
|
|
15305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15307
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15308
|
+
|
|
15309
|
+
return {
|
|
15310
|
+
url: toPathString(localVarUrlObj),
|
|
15311
|
+
options: localVarRequestOptions,
|
|
15312
|
+
};
|
|
15313
|
+
},
|
|
15102
15314
|
/**
|
|
15103
15315
|
*
|
|
15104
15316
|
* @summary Reset consumer offset of topic
|
|
@@ -20509,6 +20721,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20509
20721
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.killSession']?.[localVarOperationServerIndex]?.url;
|
|
20510
20722
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20511
20723
|
},
|
|
20724
|
+
/**
|
|
20725
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
20726
|
+
* @summary List exact column names for account object privileges
|
|
20727
|
+
* @param {string} engineName
|
|
20728
|
+
* @param {string} orgName
|
|
20729
|
+
* @param {string} clusterName
|
|
20730
|
+
* @param {string} accountName
|
|
20731
|
+
* @param {string} objectType Object type, either table or view
|
|
20732
|
+
* @param {string} databaseName
|
|
20733
|
+
* @param {string} objectName
|
|
20734
|
+
* @param {*} [options] Override http request option.
|
|
20735
|
+
* @throws {RequiredError}
|
|
20736
|
+
*/
|
|
20737
|
+
async listAccountObjectPrivilegeColumns(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
20738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options);
|
|
20739
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20740
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listAccountObjectPrivilegeColumns']?.[localVarOperationServerIndex]?.url;
|
|
20741
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20742
|
+
},
|
|
20512
20743
|
/**
|
|
20513
20744
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
20514
20745
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -21715,6 +21946,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21715
21946
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.patchOrgParameter']?.[localVarOperationServerIndex]?.url;
|
|
21716
21947
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21717
21948
|
},
|
|
21949
|
+
/**
|
|
21950
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
21951
|
+
* @summary Preview clearing all MySQL account privileges
|
|
21952
|
+
* @param {string} engineName
|
|
21953
|
+
* @param {string} orgName
|
|
21954
|
+
* @param {string} clusterName
|
|
21955
|
+
* @param {string} accountName
|
|
21956
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
21957
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
21958
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
21959
|
+
* @param {*} [options] Override http request option.
|
|
21960
|
+
* @throws {RequiredError}
|
|
21961
|
+
*/
|
|
21962
|
+
async previewAccountPrivilegeReset(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectPrivilegeResetStep>>> {
|
|
21963
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
|
|
21964
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21965
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.previewAccountPrivilegeReset']?.[localVarOperationServerIndex]?.url;
|
|
21966
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21967
|
+
},
|
|
21718
21968
|
/**
|
|
21719
21969
|
*
|
|
21720
21970
|
* @summary Produce message to topic
|
|
@@ -22275,6 +22525,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
22275
22525
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.reconfigureCluster']?.[localVarOperationServerIndex]?.url;
|
|
22276
22526
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22277
22527
|
},
|
|
22528
|
+
/**
|
|
22529
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
22530
|
+
* @summary Clear all MySQL account privileges
|
|
22531
|
+
* @param {string} engineName
|
|
22532
|
+
* @param {string} orgName
|
|
22533
|
+
* @param {string} clusterName
|
|
22534
|
+
* @param {string} accountName
|
|
22535
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
22536
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
22537
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
22538
|
+
* @param {*} [options] Override http request option.
|
|
22539
|
+
* @throws {RequiredError}
|
|
22540
|
+
*/
|
|
22541
|
+
async resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
|
|
22543
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22544
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.resetAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
22545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22546
|
+
},
|
|
22278
22547
|
/**
|
|
22279
22548
|
*
|
|
22280
22549
|
* @summary Reset consumer offset of topic
|
|
@@ -24705,6 +24974,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24705
24974
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24706
24975
|
return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
|
|
24707
24976
|
},
|
|
24977
|
+
/**
|
|
24978
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
24979
|
+
* @summary List exact column names for account object privileges
|
|
24980
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
24981
|
+
* @param {*} [options] Override http request option.
|
|
24982
|
+
* @throws {RequiredError}
|
|
24983
|
+
*/
|
|
24984
|
+
listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
24985
|
+
return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(axios, basePath));
|
|
24986
|
+
},
|
|
24708
24987
|
/**
|
|
24709
24988
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
24710
24989
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -25511,6 +25790,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25511
25790
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter> {
|
|
25512
25791
|
return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
25513
25792
|
},
|
|
25793
|
+
/**
|
|
25794
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
25795
|
+
* @summary Preview clearing all MySQL account privileges
|
|
25796
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
25797
|
+
* @param {*} [options] Override http request option.
|
|
25798
|
+
* @throws {RequiredError}
|
|
25799
|
+
*/
|
|
25800
|
+
previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>> {
|
|
25801
|
+
return localVarFp.previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
25802
|
+
},
|
|
25514
25803
|
/**
|
|
25515
25804
|
*
|
|
25516
25805
|
* @summary Produce message to topic
|
|
@@ -25790,6 +26079,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25790
26079
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
25791
26080
|
return localVarFp.reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
25792
26081
|
},
|
|
26082
|
+
/**
|
|
26083
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
26084
|
+
* @summary Clear all MySQL account privileges
|
|
26085
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
26086
|
+
* @param {*} [options] Override http request option.
|
|
26087
|
+
* @throws {RequiredError}
|
|
26088
|
+
*/
|
|
26089
|
+
resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26090
|
+
return localVarFp.resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
26091
|
+
},
|
|
25793
26092
|
/**
|
|
25794
26093
|
*
|
|
25795
26094
|
* @summary Reset consumer offset of topic
|
|
@@ -27907,6 +28206,16 @@ export interface SharedApiInterface {
|
|
|
27907
28206
|
*/
|
|
27908
28207
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27909
28208
|
|
|
28209
|
+
/**
|
|
28210
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
28211
|
+
* @summary List exact column names for account object privileges
|
|
28212
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
28213
|
+
* @param {*} [options] Override http request option.
|
|
28214
|
+
* @throws {RequiredError}
|
|
28215
|
+
* @memberof SharedApiInterface
|
|
28216
|
+
*/
|
|
28217
|
+
listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
28218
|
+
|
|
27910
28219
|
/**
|
|
27911
28220
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
27912
28221
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -28713,6 +29022,16 @@ export interface SharedApiInterface {
|
|
|
28713
29022
|
*/
|
|
28714
29023
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
|
|
28715
29024
|
|
|
29025
|
+
/**
|
|
29026
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
29027
|
+
* @summary Preview clearing all MySQL account privileges
|
|
29028
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
29029
|
+
* @param {*} [options] Override http request option.
|
|
29030
|
+
* @throws {RequiredError}
|
|
29031
|
+
* @memberof SharedApiInterface
|
|
29032
|
+
*/
|
|
29033
|
+
previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
|
|
29034
|
+
|
|
28716
29035
|
/**
|
|
28717
29036
|
*
|
|
28718
29037
|
* @summary Produce message to topic
|
|
@@ -28992,6 +29311,16 @@ export interface SharedApiInterface {
|
|
|
28992
29311
|
*/
|
|
28993
29312
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
28994
29313
|
|
|
29314
|
+
/**
|
|
29315
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
29316
|
+
* @summary Clear all MySQL account privileges
|
|
29317
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
29318
|
+
* @param {*} [options] Override http request option.
|
|
29319
|
+
* @throws {RequiredError}
|
|
29320
|
+
* @memberof SharedApiInterface
|
|
29321
|
+
*/
|
|
29322
|
+
resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
29323
|
+
|
|
28995
29324
|
/**
|
|
28996
29325
|
*
|
|
28997
29326
|
* @summary Reset consumer offset of topic
|
|
@@ -34744,6 +35073,62 @@ export interface SharedApiKillSessionRequest {
|
|
|
34744
35073
|
readonly keep?: boolean
|
|
34745
35074
|
}
|
|
34746
35075
|
|
|
35076
|
+
/**
|
|
35077
|
+
* Request parameters for listAccountObjectPrivilegeColumns operation in SharedApi.
|
|
35078
|
+
* @export
|
|
35079
|
+
* @interface SharedApiListAccountObjectPrivilegeColumnsRequest
|
|
35080
|
+
*/
|
|
35081
|
+
export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
|
|
35082
|
+
/**
|
|
35083
|
+
*
|
|
35084
|
+
* @type {string}
|
|
35085
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35086
|
+
*/
|
|
35087
|
+
readonly engineName: string
|
|
35088
|
+
|
|
35089
|
+
/**
|
|
35090
|
+
*
|
|
35091
|
+
* @type {string}
|
|
35092
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35093
|
+
*/
|
|
35094
|
+
readonly orgName: string
|
|
35095
|
+
|
|
35096
|
+
/**
|
|
35097
|
+
*
|
|
35098
|
+
* @type {string}
|
|
35099
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35100
|
+
*/
|
|
35101
|
+
readonly clusterName: string
|
|
35102
|
+
|
|
35103
|
+
/**
|
|
35104
|
+
*
|
|
35105
|
+
* @type {string}
|
|
35106
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35107
|
+
*/
|
|
35108
|
+
readonly accountName: string
|
|
35109
|
+
|
|
35110
|
+
/**
|
|
35111
|
+
* Object type, either table or view
|
|
35112
|
+
* @type {string}
|
|
35113
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35114
|
+
*/
|
|
35115
|
+
readonly objectType: string
|
|
35116
|
+
|
|
35117
|
+
/**
|
|
35118
|
+
*
|
|
35119
|
+
* @type {string}
|
|
35120
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35121
|
+
*/
|
|
35122
|
+
readonly databaseName: string
|
|
35123
|
+
|
|
35124
|
+
/**
|
|
35125
|
+
*
|
|
35126
|
+
* @type {string}
|
|
35127
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35128
|
+
*/
|
|
35129
|
+
readonly objectName: string
|
|
35130
|
+
}
|
|
35131
|
+
|
|
34747
35132
|
/**
|
|
34748
35133
|
* Request parameters for listAccountObjectPrivilegeObjects operation in SharedApi.
|
|
34749
35134
|
* @export
|
|
@@ -36907,6 +37292,62 @@ export interface SharedApiPatchOrgParameterRequest {
|
|
|
36907
37292
|
readonly orgParameter: OrgParameter
|
|
36908
37293
|
}
|
|
36909
37294
|
|
|
37295
|
+
/**
|
|
37296
|
+
* Request parameters for previewAccountPrivilegeReset operation in SharedApi.
|
|
37297
|
+
* @export
|
|
37298
|
+
* @interface SharedApiPreviewAccountPrivilegeResetRequest
|
|
37299
|
+
*/
|
|
37300
|
+
export interface SharedApiPreviewAccountPrivilegeResetRequest {
|
|
37301
|
+
/**
|
|
37302
|
+
*
|
|
37303
|
+
* @type {string}
|
|
37304
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37305
|
+
*/
|
|
37306
|
+
readonly engineName: string
|
|
37307
|
+
|
|
37308
|
+
/**
|
|
37309
|
+
*
|
|
37310
|
+
* @type {string}
|
|
37311
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37312
|
+
*/
|
|
37313
|
+
readonly orgName: string
|
|
37314
|
+
|
|
37315
|
+
/**
|
|
37316
|
+
*
|
|
37317
|
+
* @type {string}
|
|
37318
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37319
|
+
*/
|
|
37320
|
+
readonly clusterName: string
|
|
37321
|
+
|
|
37322
|
+
/**
|
|
37323
|
+
*
|
|
37324
|
+
* @type {string}
|
|
37325
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37326
|
+
*/
|
|
37327
|
+
readonly accountName: string
|
|
37328
|
+
|
|
37329
|
+
/**
|
|
37330
|
+
* Native subject kind; path account name identifies the subject.
|
|
37331
|
+
* @type {ObjectPrivilegeSubjectType}
|
|
37332
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37333
|
+
*/
|
|
37334
|
+
readonly subjectType?: ObjectPrivilegeSubjectType
|
|
37335
|
+
|
|
37336
|
+
/**
|
|
37337
|
+
* Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
37338
|
+
* @type {string}
|
|
37339
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37340
|
+
*/
|
|
37341
|
+
readonly host?: string
|
|
37342
|
+
|
|
37343
|
+
/**
|
|
37344
|
+
* JSON identity qualifiers; MySQL host defaults to %.
|
|
37345
|
+
* @type {string}
|
|
37346
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37347
|
+
*/
|
|
37348
|
+
readonly subjectQualifiers?: string
|
|
37349
|
+
}
|
|
37350
|
+
|
|
36910
37351
|
/**
|
|
36911
37352
|
* Request parameters for produceKafkaTopicMessage operation in SharedApi.
|
|
36912
37353
|
* @export
|
|
@@ -38664,6 +39105,62 @@ export interface SharedApiReconfigureClusterRequest {
|
|
|
38664
39105
|
readonly body: ReconfigureCreate
|
|
38665
39106
|
}
|
|
38666
39107
|
|
|
39108
|
+
/**
|
|
39109
|
+
* Request parameters for resetAccountPrivileges operation in SharedApi.
|
|
39110
|
+
* @export
|
|
39111
|
+
* @interface SharedApiResetAccountPrivilegesRequest
|
|
39112
|
+
*/
|
|
39113
|
+
export interface SharedApiResetAccountPrivilegesRequest {
|
|
39114
|
+
/**
|
|
39115
|
+
*
|
|
39116
|
+
* @type {string}
|
|
39117
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39118
|
+
*/
|
|
39119
|
+
readonly engineName: string
|
|
39120
|
+
|
|
39121
|
+
/**
|
|
39122
|
+
*
|
|
39123
|
+
* @type {string}
|
|
39124
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39125
|
+
*/
|
|
39126
|
+
readonly orgName: string
|
|
39127
|
+
|
|
39128
|
+
/**
|
|
39129
|
+
*
|
|
39130
|
+
* @type {string}
|
|
39131
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39132
|
+
*/
|
|
39133
|
+
readonly clusterName: string
|
|
39134
|
+
|
|
39135
|
+
/**
|
|
39136
|
+
*
|
|
39137
|
+
* @type {string}
|
|
39138
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39139
|
+
*/
|
|
39140
|
+
readonly accountName: string
|
|
39141
|
+
|
|
39142
|
+
/**
|
|
39143
|
+
* Native subject kind; path account name identifies the subject.
|
|
39144
|
+
* @type {ObjectPrivilegeSubjectType}
|
|
39145
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39146
|
+
*/
|
|
39147
|
+
readonly subjectType?: ObjectPrivilegeSubjectType
|
|
39148
|
+
|
|
39149
|
+
/**
|
|
39150
|
+
* Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
39151
|
+
* @type {string}
|
|
39152
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39153
|
+
*/
|
|
39154
|
+
readonly host?: string
|
|
39155
|
+
|
|
39156
|
+
/**
|
|
39157
|
+
* JSON identity qualifiers; MySQL host defaults to %.
|
|
39158
|
+
* @type {string}
|
|
39159
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39160
|
+
*/
|
|
39161
|
+
readonly subjectQualifiers?: string
|
|
39162
|
+
}
|
|
39163
|
+
|
|
38667
39164
|
/**
|
|
38668
39165
|
* Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
|
|
38669
39166
|
* @export
|
|
@@ -42341,6 +42838,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
42341
42838
|
return SharedApiFp(this.configuration).killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(this.axios, this.basePath));
|
|
42342
42839
|
}
|
|
42343
42840
|
|
|
42841
|
+
/**
|
|
42842
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
42843
|
+
* @summary List exact column names for account object privileges
|
|
42844
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
42845
|
+
* @param {*} [options] Override http request option.
|
|
42846
|
+
* @throws {RequiredError}
|
|
42847
|
+
* @memberof SharedApi
|
|
42848
|
+
*/
|
|
42849
|
+
public listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig) {
|
|
42850
|
+
return SharedApiFp(this.configuration).listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
|
|
42851
|
+
}
|
|
42852
|
+
|
|
42344
42853
|
/**
|
|
42345
42854
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
42346
42855
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -43309,6 +43818,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43309
43818
|
return SharedApiFp(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
43310
43819
|
}
|
|
43311
43820
|
|
|
43821
|
+
/**
|
|
43822
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
43823
|
+
* @summary Preview clearing all MySQL account privileges
|
|
43824
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
43825
|
+
* @param {*} [options] Override http request option.
|
|
43826
|
+
* @throws {RequiredError}
|
|
43827
|
+
* @memberof SharedApi
|
|
43828
|
+
*/
|
|
43829
|
+
public previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig) {
|
|
43830
|
+
return SharedApiFp(this.configuration).previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
|
|
43831
|
+
}
|
|
43832
|
+
|
|
43312
43833
|
/**
|
|
43313
43834
|
*
|
|
43314
43835
|
* @summary Produce message to topic
|
|
@@ -43644,6 +44165,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43644
44165
|
return SharedApiFp(this.configuration).reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
43645
44166
|
}
|
|
43646
44167
|
|
|
44168
|
+
/**
|
|
44169
|
+
* MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
|
|
44170
|
+
* @summary Clear all MySQL account privileges
|
|
44171
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
44172
|
+
* @param {*} [options] Override http request option.
|
|
44173
|
+
* @throws {RequiredError}
|
|
44174
|
+
* @memberof SharedApi
|
|
44175
|
+
*/
|
|
44176
|
+
public resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
44177
|
+
return SharedApiFp(this.configuration).resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
|
|
44178
|
+
}
|
|
44179
|
+
|
|
43647
44180
|
/**
|
|
43648
44181
|
*
|
|
43649
44182
|
* @summary Reset consumer offset of topic
|