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
|
@@ -282,6 +282,8 @@ import type { ObjectPrivilegeChange } from '../models';
|
|
|
282
282
|
// @ts-ignore
|
|
283
283
|
import type { ObjectPrivilegeObjectList } from '../models';
|
|
284
284
|
// @ts-ignore
|
|
285
|
+
import type { ObjectPrivilegeResetStep } from '../models';
|
|
286
|
+
// @ts-ignore
|
|
285
287
|
import type { ObjectPrivilegeSnapshot } from '../models';
|
|
286
288
|
// @ts-ignore
|
|
287
289
|
import type { ObjectPrivilegeSubjectType } from '../models';
|
|
@@ -9117,6 +9119,80 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9117
9119
|
|
|
9118
9120
|
|
|
9119
9121
|
|
|
9122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9124
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9125
|
+
|
|
9126
|
+
return {
|
|
9127
|
+
url: toPathString(localVarUrlObj),
|
|
9128
|
+
options: localVarRequestOptions,
|
|
9129
|
+
};
|
|
9130
|
+
},
|
|
9131
|
+
/**
|
|
9132
|
+
* 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.
|
|
9133
|
+
* @summary List exact column names for account object privileges
|
|
9134
|
+
* @param {string} engineName
|
|
9135
|
+
* @param {string} orgName
|
|
9136
|
+
* @param {string} clusterName
|
|
9137
|
+
* @param {string} accountName
|
|
9138
|
+
* @param {string} objectType Object type, either table or view
|
|
9139
|
+
* @param {string} databaseName
|
|
9140
|
+
* @param {string} objectName
|
|
9141
|
+
* @param {*} [options] Override http request option.
|
|
9142
|
+
* @throws {RequiredError}
|
|
9143
|
+
*/
|
|
9144
|
+
listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9145
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
9146
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
|
|
9147
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9148
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
|
|
9149
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9150
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
|
|
9151
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
9152
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
|
|
9153
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
9154
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
|
|
9155
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
9156
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
|
|
9157
|
+
// verify required parameter 'objectName' is not null or undefined
|
|
9158
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
|
|
9159
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
|
|
9160
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
9161
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9162
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9163
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
9164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9165
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9166
|
+
let baseOptions;
|
|
9167
|
+
if (configuration) {
|
|
9168
|
+
baseOptions = configuration.baseOptions;
|
|
9169
|
+
}
|
|
9170
|
+
|
|
9171
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9172
|
+
const localVarHeaderParameter = {} as any;
|
|
9173
|
+
const localVarQueryParameter = {} as any;
|
|
9174
|
+
|
|
9175
|
+
// authentication BearerToken required
|
|
9176
|
+
// http bearer authentication required
|
|
9177
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9178
|
+
|
|
9179
|
+
// authentication DigestAuth required
|
|
9180
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9181
|
+
|
|
9182
|
+
if (objectType !== undefined) {
|
|
9183
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
9184
|
+
}
|
|
9185
|
+
|
|
9186
|
+
if (databaseName !== undefined) {
|
|
9187
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
9188
|
+
}
|
|
9189
|
+
|
|
9190
|
+
if (objectName !== undefined) {
|
|
9191
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
9192
|
+
}
|
|
9193
|
+
|
|
9194
|
+
|
|
9195
|
+
|
|
9120
9196
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9121
9197
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9122
9198
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12845,6 +12921,74 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12845
12921
|
options: localVarRequestOptions,
|
|
12846
12922
|
};
|
|
12847
12923
|
},
|
|
12924
|
+
/**
|
|
12925
|
+
* 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.
|
|
12926
|
+
* @summary Preview clearing all MySQL account privileges
|
|
12927
|
+
* @param {string} engineName
|
|
12928
|
+
* @param {string} orgName
|
|
12929
|
+
* @param {string} clusterName
|
|
12930
|
+
* @param {string} accountName
|
|
12931
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
12932
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
12933
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
12934
|
+
* @param {*} [options] Override http request option.
|
|
12935
|
+
* @throws {RequiredError}
|
|
12936
|
+
*/
|
|
12937
|
+
previewAccountPrivilegeReset: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12938
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12939
|
+
assertParamExists('previewAccountPrivilegeReset', 'engineName', engineName)
|
|
12940
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12941
|
+
assertParamExists('previewAccountPrivilegeReset', 'orgName', orgName)
|
|
12942
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12943
|
+
assertParamExists('previewAccountPrivilegeReset', 'clusterName', clusterName)
|
|
12944
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
12945
|
+
assertParamExists('previewAccountPrivilegeReset', 'accountName', accountName)
|
|
12946
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
|
|
12947
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12948
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12949
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12950
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12951
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12952
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12953
|
+
let baseOptions;
|
|
12954
|
+
if (configuration) {
|
|
12955
|
+
baseOptions = configuration.baseOptions;
|
|
12956
|
+
}
|
|
12957
|
+
|
|
12958
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12959
|
+
const localVarHeaderParameter = {} as any;
|
|
12960
|
+
const localVarQueryParameter = {} as any;
|
|
12961
|
+
|
|
12962
|
+
// authentication BearerToken required
|
|
12963
|
+
// http bearer authentication required
|
|
12964
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12965
|
+
|
|
12966
|
+
// authentication DigestAuth required
|
|
12967
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12968
|
+
|
|
12969
|
+
if (subjectType !== undefined) {
|
|
12970
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
12971
|
+
}
|
|
12972
|
+
|
|
12973
|
+
if (host !== undefined) {
|
|
12974
|
+
localVarQueryParameter['host'] = host;
|
|
12975
|
+
}
|
|
12976
|
+
|
|
12977
|
+
if (subjectQualifiers !== undefined) {
|
|
12978
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
12979
|
+
}
|
|
12980
|
+
|
|
12981
|
+
|
|
12982
|
+
|
|
12983
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12984
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12985
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12986
|
+
|
|
12987
|
+
return {
|
|
12988
|
+
url: toPathString(localVarUrlObj),
|
|
12989
|
+
options: localVarRequestOptions,
|
|
12990
|
+
};
|
|
12991
|
+
},
|
|
12848
12992
|
/**
|
|
12849
12993
|
*
|
|
12850
12994
|
* @summary Produce message to topic
|
|
@@ -15016,6 +15160,74 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15016
15160
|
options: localVarRequestOptions,
|
|
15017
15161
|
};
|
|
15018
15162
|
},
|
|
15163
|
+
/**
|
|
15164
|
+
* 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.
|
|
15165
|
+
* @summary Clear all MySQL account privileges
|
|
15166
|
+
* @param {string} engineName
|
|
15167
|
+
* @param {string} orgName
|
|
15168
|
+
* @param {string} clusterName
|
|
15169
|
+
* @param {string} accountName
|
|
15170
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
15171
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
15172
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
15173
|
+
* @param {*} [options] Override http request option.
|
|
15174
|
+
* @throws {RequiredError}
|
|
15175
|
+
*/
|
|
15176
|
+
resetAccountPrivileges: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15177
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
15178
|
+
assertParamExists('resetAccountPrivileges', 'engineName', engineName)
|
|
15179
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15180
|
+
assertParamExists('resetAccountPrivileges', 'orgName', orgName)
|
|
15181
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15182
|
+
assertParamExists('resetAccountPrivileges', 'clusterName', clusterName)
|
|
15183
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15184
|
+
assertParamExists('resetAccountPrivileges', 'accountName', accountName)
|
|
15185
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
|
|
15186
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
15187
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15188
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15189
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15190
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15191
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15192
|
+
let baseOptions;
|
|
15193
|
+
if (configuration) {
|
|
15194
|
+
baseOptions = configuration.baseOptions;
|
|
15195
|
+
}
|
|
15196
|
+
|
|
15197
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
15198
|
+
const localVarHeaderParameter = {} as any;
|
|
15199
|
+
const localVarQueryParameter = {} as any;
|
|
15200
|
+
|
|
15201
|
+
// authentication BearerToken required
|
|
15202
|
+
// http bearer authentication required
|
|
15203
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15204
|
+
|
|
15205
|
+
// authentication DigestAuth required
|
|
15206
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15207
|
+
|
|
15208
|
+
if (subjectType !== undefined) {
|
|
15209
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
15210
|
+
}
|
|
15211
|
+
|
|
15212
|
+
if (host !== undefined) {
|
|
15213
|
+
localVarQueryParameter['host'] = host;
|
|
15214
|
+
}
|
|
15215
|
+
|
|
15216
|
+
if (subjectQualifiers !== undefined) {
|
|
15217
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
15218
|
+
}
|
|
15219
|
+
|
|
15220
|
+
|
|
15221
|
+
|
|
15222
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15223
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15224
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15225
|
+
|
|
15226
|
+
return {
|
|
15227
|
+
url: toPathString(localVarUrlObj),
|
|
15228
|
+
options: localVarRequestOptions,
|
|
15229
|
+
};
|
|
15230
|
+
},
|
|
15019
15231
|
/**
|
|
15020
15232
|
*
|
|
15021
15233
|
* @summary Reset consumer offset of topic
|
|
@@ -20634,6 +20846,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20634
20846
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.killSession']?.[localVarOperationServerIndex]?.url;
|
|
20635
20847
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20636
20848
|
},
|
|
20849
|
+
/**
|
|
20850
|
+
* 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.
|
|
20851
|
+
* @summary List exact column names for account object privileges
|
|
20852
|
+
* @param {string} engineName
|
|
20853
|
+
* @param {string} orgName
|
|
20854
|
+
* @param {string} clusterName
|
|
20855
|
+
* @param {string} accountName
|
|
20856
|
+
* @param {string} objectType Object type, either table or view
|
|
20857
|
+
* @param {string} databaseName
|
|
20858
|
+
* @param {string} objectName
|
|
20859
|
+
* @param {*} [options] Override http request option.
|
|
20860
|
+
* @throws {RequiredError}
|
|
20861
|
+
*/
|
|
20862
|
+
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>>> {
|
|
20863
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options);
|
|
20864
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20865
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listAccountObjectPrivilegeColumns']?.[localVarOperationServerIndex]?.url;
|
|
20866
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20867
|
+
},
|
|
20637
20868
|
/**
|
|
20638
20869
|
* 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.
|
|
20639
20870
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -21744,6 +21975,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21744
21975
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.patchOrgParameter']?.[localVarOperationServerIndex]?.url;
|
|
21745
21976
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21746
21977
|
},
|
|
21978
|
+
/**
|
|
21979
|
+
* 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.
|
|
21980
|
+
* @summary Preview clearing all MySQL account privileges
|
|
21981
|
+
* @param {string} engineName
|
|
21982
|
+
* @param {string} orgName
|
|
21983
|
+
* @param {string} clusterName
|
|
21984
|
+
* @param {string} accountName
|
|
21985
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
21986
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
21987
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
21988
|
+
* @param {*} [options] Override http request option.
|
|
21989
|
+
* @throws {RequiredError}
|
|
21990
|
+
*/
|
|
21991
|
+
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>>> {
|
|
21992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
|
|
21993
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21994
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.previewAccountPrivilegeReset']?.[localVarOperationServerIndex]?.url;
|
|
21995
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21996
|
+
},
|
|
21747
21997
|
/**
|
|
21748
21998
|
*
|
|
21749
21999
|
* @summary Produce message to topic
|
|
@@ -22304,6 +22554,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
22304
22554
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.reconfigureCluster']?.[localVarOperationServerIndex]?.url;
|
|
22305
22555
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22306
22556
|
},
|
|
22557
|
+
/**
|
|
22558
|
+
* 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.
|
|
22559
|
+
* @summary Clear all MySQL account privileges
|
|
22560
|
+
* @param {string} engineName
|
|
22561
|
+
* @param {string} orgName
|
|
22562
|
+
* @param {string} clusterName
|
|
22563
|
+
* @param {string} accountName
|
|
22564
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
22565
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
22566
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
22567
|
+
* @param {*} [options] Override http request option.
|
|
22568
|
+
* @throws {RequiredError}
|
|
22569
|
+
*/
|
|
22570
|
+
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>> {
|
|
22571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
|
|
22572
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22573
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.resetAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
22574
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22575
|
+
},
|
|
22307
22576
|
/**
|
|
22308
22577
|
*
|
|
22309
22578
|
* @summary Reset consumer offset of topic
|
|
@@ -24798,6 +25067,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24798
25067
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24799
25068
|
return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
|
|
24800
25069
|
},
|
|
25070
|
+
/**
|
|
25071
|
+
* 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.
|
|
25072
|
+
* @summary List exact column names for account object privileges
|
|
25073
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
25074
|
+
* @param {*} [options] Override http request option.
|
|
25075
|
+
* @throws {RequiredError}
|
|
25076
|
+
*/
|
|
25077
|
+
listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
25078
|
+
return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(axios, basePath));
|
|
25079
|
+
},
|
|
24801
25080
|
/**
|
|
24802
25081
|
* 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.
|
|
24803
25082
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -25536,6 +25815,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25536
25815
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter> {
|
|
25537
25816
|
return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
25538
25817
|
},
|
|
25818
|
+
/**
|
|
25819
|
+
* 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.
|
|
25820
|
+
* @summary Preview clearing all MySQL account privileges
|
|
25821
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
25822
|
+
* @param {*} [options] Override http request option.
|
|
25823
|
+
* @throws {RequiredError}
|
|
25824
|
+
*/
|
|
25825
|
+
previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>> {
|
|
25826
|
+
return localVarFp.previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
25827
|
+
},
|
|
25539
25828
|
/**
|
|
25540
25829
|
*
|
|
25541
25830
|
* @summary Produce message to topic
|
|
@@ -25815,6 +26104,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25815
26104
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
25816
26105
|
return localVarFp.reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
25817
26106
|
},
|
|
26107
|
+
/**
|
|
26108
|
+
* 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.
|
|
26109
|
+
* @summary Clear all MySQL account privileges
|
|
26110
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
26111
|
+
* @param {*} [options] Override http request option.
|
|
26112
|
+
* @throws {RequiredError}
|
|
26113
|
+
*/
|
|
26114
|
+
resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26115
|
+
return localVarFp.resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
26116
|
+
},
|
|
25818
26117
|
/**
|
|
25819
26118
|
*
|
|
25820
26119
|
* @summary Reset consumer offset of topic
|
|
@@ -27982,6 +28281,16 @@ export interface SharedApiInterface {
|
|
|
27982
28281
|
*/
|
|
27983
28282
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27984
28283
|
|
|
28284
|
+
/**
|
|
28285
|
+
* 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.
|
|
28286
|
+
* @summary List exact column names for account object privileges
|
|
28287
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
28288
|
+
* @param {*} [options] Override http request option.
|
|
28289
|
+
* @throws {RequiredError}
|
|
28290
|
+
* @memberof SharedApiInterface
|
|
28291
|
+
*/
|
|
28292
|
+
listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
28293
|
+
|
|
27985
28294
|
/**
|
|
27986
28295
|
* 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.
|
|
27987
28296
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -28720,6 +29029,16 @@ export interface SharedApiInterface {
|
|
|
28720
29029
|
*/
|
|
28721
29030
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
|
|
28722
29031
|
|
|
29032
|
+
/**
|
|
29033
|
+
* 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.
|
|
29034
|
+
* @summary Preview clearing all MySQL account privileges
|
|
29035
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
29036
|
+
* @param {*} [options] Override http request option.
|
|
29037
|
+
* @throws {RequiredError}
|
|
29038
|
+
* @memberof SharedApiInterface
|
|
29039
|
+
*/
|
|
29040
|
+
previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
|
|
29041
|
+
|
|
28723
29042
|
/**
|
|
28724
29043
|
*
|
|
28725
29044
|
* @summary Produce message to topic
|
|
@@ -28999,6 +29318,16 @@ export interface SharedApiInterface {
|
|
|
28999
29318
|
*/
|
|
29000
29319
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
29001
29320
|
|
|
29321
|
+
/**
|
|
29322
|
+
* 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.
|
|
29323
|
+
* @summary Clear all MySQL account privileges
|
|
29324
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
29325
|
+
* @param {*} [options] Override http request option.
|
|
29326
|
+
* @throws {RequiredError}
|
|
29327
|
+
* @memberof SharedApiInterface
|
|
29328
|
+
*/
|
|
29329
|
+
resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
29330
|
+
|
|
29002
29331
|
/**
|
|
29003
29332
|
*
|
|
29004
29333
|
* @summary Reset consumer offset of topic
|
|
@@ -35061,6 +35390,62 @@ export interface SharedApiKillSessionRequest {
|
|
|
35061
35390
|
readonly keep?: boolean
|
|
35062
35391
|
}
|
|
35063
35392
|
|
|
35393
|
+
/**
|
|
35394
|
+
* Request parameters for listAccountObjectPrivilegeColumns operation in SharedApi.
|
|
35395
|
+
* @export
|
|
35396
|
+
* @interface SharedApiListAccountObjectPrivilegeColumnsRequest
|
|
35397
|
+
*/
|
|
35398
|
+
export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
|
|
35399
|
+
/**
|
|
35400
|
+
*
|
|
35401
|
+
* @type {string}
|
|
35402
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35403
|
+
*/
|
|
35404
|
+
readonly engineName: string
|
|
35405
|
+
|
|
35406
|
+
/**
|
|
35407
|
+
*
|
|
35408
|
+
* @type {string}
|
|
35409
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35410
|
+
*/
|
|
35411
|
+
readonly orgName: string
|
|
35412
|
+
|
|
35413
|
+
/**
|
|
35414
|
+
*
|
|
35415
|
+
* @type {string}
|
|
35416
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35417
|
+
*/
|
|
35418
|
+
readonly clusterName: string
|
|
35419
|
+
|
|
35420
|
+
/**
|
|
35421
|
+
*
|
|
35422
|
+
* @type {string}
|
|
35423
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35424
|
+
*/
|
|
35425
|
+
readonly accountName: string
|
|
35426
|
+
|
|
35427
|
+
/**
|
|
35428
|
+
* Object type, either table or view
|
|
35429
|
+
* @type {string}
|
|
35430
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35431
|
+
*/
|
|
35432
|
+
readonly objectType: string
|
|
35433
|
+
|
|
35434
|
+
/**
|
|
35435
|
+
*
|
|
35436
|
+
* @type {string}
|
|
35437
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35438
|
+
*/
|
|
35439
|
+
readonly databaseName: string
|
|
35440
|
+
|
|
35441
|
+
/**
|
|
35442
|
+
*
|
|
35443
|
+
* @type {string}
|
|
35444
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
35445
|
+
*/
|
|
35446
|
+
readonly objectName: string
|
|
35447
|
+
}
|
|
35448
|
+
|
|
35064
35449
|
/**
|
|
35065
35450
|
* Request parameters for listAccountObjectPrivilegeObjects operation in SharedApi.
|
|
35066
35451
|
* @export
|
|
@@ -37105,6 +37490,62 @@ export interface SharedApiPatchOrgParameterRequest {
|
|
|
37105
37490
|
readonly orgParameter: OrgParameter
|
|
37106
37491
|
}
|
|
37107
37492
|
|
|
37493
|
+
/**
|
|
37494
|
+
* Request parameters for previewAccountPrivilegeReset operation in SharedApi.
|
|
37495
|
+
* @export
|
|
37496
|
+
* @interface SharedApiPreviewAccountPrivilegeResetRequest
|
|
37497
|
+
*/
|
|
37498
|
+
export interface SharedApiPreviewAccountPrivilegeResetRequest {
|
|
37499
|
+
/**
|
|
37500
|
+
*
|
|
37501
|
+
* @type {string}
|
|
37502
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37503
|
+
*/
|
|
37504
|
+
readonly engineName: string
|
|
37505
|
+
|
|
37506
|
+
/**
|
|
37507
|
+
*
|
|
37508
|
+
* @type {string}
|
|
37509
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37510
|
+
*/
|
|
37511
|
+
readonly orgName: string
|
|
37512
|
+
|
|
37513
|
+
/**
|
|
37514
|
+
*
|
|
37515
|
+
* @type {string}
|
|
37516
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37517
|
+
*/
|
|
37518
|
+
readonly clusterName: string
|
|
37519
|
+
|
|
37520
|
+
/**
|
|
37521
|
+
*
|
|
37522
|
+
* @type {string}
|
|
37523
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37524
|
+
*/
|
|
37525
|
+
readonly accountName: string
|
|
37526
|
+
|
|
37527
|
+
/**
|
|
37528
|
+
* Native subject kind; path account name identifies the subject.
|
|
37529
|
+
* @type {ObjectPrivilegeSubjectType}
|
|
37530
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37531
|
+
*/
|
|
37532
|
+
readonly subjectType?: ObjectPrivilegeSubjectType
|
|
37533
|
+
|
|
37534
|
+
/**
|
|
37535
|
+
* Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
37536
|
+
* @type {string}
|
|
37537
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37538
|
+
*/
|
|
37539
|
+
readonly host?: string
|
|
37540
|
+
|
|
37541
|
+
/**
|
|
37542
|
+
* JSON identity qualifiers; MySQL host defaults to %.
|
|
37543
|
+
* @type {string}
|
|
37544
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
37545
|
+
*/
|
|
37546
|
+
readonly subjectQualifiers?: string
|
|
37547
|
+
}
|
|
37548
|
+
|
|
37108
37549
|
/**
|
|
37109
37550
|
* Request parameters for produceKafkaTopicMessage operation in SharedApi.
|
|
37110
37551
|
* @export
|
|
@@ -38862,6 +39303,62 @@ export interface SharedApiReconfigureClusterRequest {
|
|
|
38862
39303
|
readonly body: ReconfigureCreate
|
|
38863
39304
|
}
|
|
38864
39305
|
|
|
39306
|
+
/**
|
|
39307
|
+
* Request parameters for resetAccountPrivileges operation in SharedApi.
|
|
39308
|
+
* @export
|
|
39309
|
+
* @interface SharedApiResetAccountPrivilegesRequest
|
|
39310
|
+
*/
|
|
39311
|
+
export interface SharedApiResetAccountPrivilegesRequest {
|
|
39312
|
+
/**
|
|
39313
|
+
*
|
|
39314
|
+
* @type {string}
|
|
39315
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39316
|
+
*/
|
|
39317
|
+
readonly engineName: string
|
|
39318
|
+
|
|
39319
|
+
/**
|
|
39320
|
+
*
|
|
39321
|
+
* @type {string}
|
|
39322
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39323
|
+
*/
|
|
39324
|
+
readonly orgName: string
|
|
39325
|
+
|
|
39326
|
+
/**
|
|
39327
|
+
*
|
|
39328
|
+
* @type {string}
|
|
39329
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39330
|
+
*/
|
|
39331
|
+
readonly clusterName: string
|
|
39332
|
+
|
|
39333
|
+
/**
|
|
39334
|
+
*
|
|
39335
|
+
* @type {string}
|
|
39336
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39337
|
+
*/
|
|
39338
|
+
readonly accountName: string
|
|
39339
|
+
|
|
39340
|
+
/**
|
|
39341
|
+
* Native subject kind; path account name identifies the subject.
|
|
39342
|
+
* @type {ObjectPrivilegeSubjectType}
|
|
39343
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39344
|
+
*/
|
|
39345
|
+
readonly subjectType?: ObjectPrivilegeSubjectType
|
|
39346
|
+
|
|
39347
|
+
/**
|
|
39348
|
+
* Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
39349
|
+
* @type {string}
|
|
39350
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39351
|
+
*/
|
|
39352
|
+
readonly host?: string
|
|
39353
|
+
|
|
39354
|
+
/**
|
|
39355
|
+
* JSON identity qualifiers; MySQL host defaults to %.
|
|
39356
|
+
* @type {string}
|
|
39357
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
39358
|
+
*/
|
|
39359
|
+
readonly subjectQualifiers?: string
|
|
39360
|
+
}
|
|
39361
|
+
|
|
38865
39362
|
/**
|
|
38866
39363
|
* Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
|
|
38867
39364
|
* @export
|
|
@@ -42640,6 +43137,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
42640
43137
|
return SharedApiFp(this.configuration).killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(this.axios, this.basePath));
|
|
42641
43138
|
}
|
|
42642
43139
|
|
|
43140
|
+
/**
|
|
43141
|
+
* 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.
|
|
43142
|
+
* @summary List exact column names for account object privileges
|
|
43143
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
43144
|
+
* @param {*} [options] Override http request option.
|
|
43145
|
+
* @throws {RequiredError}
|
|
43146
|
+
* @memberof SharedApi
|
|
43147
|
+
*/
|
|
43148
|
+
public listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig) {
|
|
43149
|
+
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));
|
|
43150
|
+
}
|
|
43151
|
+
|
|
42643
43152
|
/**
|
|
42644
43153
|
* 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.
|
|
42645
43154
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -43526,6 +44035,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43526
44035
|
return SharedApiFp(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
43527
44036
|
}
|
|
43528
44037
|
|
|
44038
|
+
/**
|
|
44039
|
+
* 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.
|
|
44040
|
+
* @summary Preview clearing all MySQL account privileges
|
|
44041
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
44042
|
+
* @param {*} [options] Override http request option.
|
|
44043
|
+
* @throws {RequiredError}
|
|
44044
|
+
* @memberof SharedApi
|
|
44045
|
+
*/
|
|
44046
|
+
public previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig) {
|
|
44047
|
+
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));
|
|
44048
|
+
}
|
|
44049
|
+
|
|
43529
44050
|
/**
|
|
43530
44051
|
*
|
|
43531
44052
|
* @summary Produce message to topic
|
|
@@ -43861,6 +44382,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43861
44382
|
return SharedApiFp(this.configuration).reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
43862
44383
|
}
|
|
43863
44384
|
|
|
44385
|
+
/**
|
|
44386
|
+
* 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.
|
|
44387
|
+
* @summary Clear all MySQL account privileges
|
|
44388
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
44389
|
+
* @param {*} [options] Override http request option.
|
|
44390
|
+
* @throws {RequiredError}
|
|
44391
|
+
* @memberof SharedApi
|
|
44392
|
+
*/
|
|
44393
|
+
public resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
44394
|
+
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));
|
|
44395
|
+
}
|
|
44396
|
+
|
|
43864
44397
|
/**
|
|
43865
44398
|
*
|
|
43866
44399
|
* @summary Reset consumer offset of topic
|