kb-cloud-client-typescript 2.4.0-alpha.92 → 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 +207 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +198 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +207 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +198 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +207 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +198 -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 +207 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +198 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +207 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +198 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +207 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +198 -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 +352 -0
- package/src/adminapi/apis/rdbms-api.ts +352 -0
- package/src/adminapi/apis/shared-api.ts +352 -0
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/object-privilege-reset-step.ts +36 -0
- package/src/adminapi.yaml +139 -0
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/account-api.ts +352 -0
- package/src/openapi/apis/rdbms-api.ts +352 -0
- package/src/openapi/apis/shared-api.ts +352 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/object-privilege-reset-step.ts +36 -0
- package/src/openapi.yaml +139 -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';
|
|
@@ -12919,6 +12921,74 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12919
12921
|
options: localVarRequestOptions,
|
|
12920
12922
|
};
|
|
12921
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
|
+
},
|
|
12922
12992
|
/**
|
|
12923
12993
|
*
|
|
12924
12994
|
* @summary Produce message to topic
|
|
@@ -15090,6 +15160,74 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15090
15160
|
options: localVarRequestOptions,
|
|
15091
15161
|
};
|
|
15092
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
|
+
},
|
|
15093
15231
|
/**
|
|
15094
15232
|
*
|
|
15095
15233
|
* @summary Reset consumer offset of topic
|
|
@@ -21837,6 +21975,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21837
21975
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.patchOrgParameter']?.[localVarOperationServerIndex]?.url;
|
|
21838
21976
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21839
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
|
+
},
|
|
21840
21997
|
/**
|
|
21841
21998
|
*
|
|
21842
21999
|
* @summary Produce message to topic
|
|
@@ -22397,6 +22554,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
22397
22554
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.reconfigureCluster']?.[localVarOperationServerIndex]?.url;
|
|
22398
22555
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22399
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
|
+
},
|
|
22400
22576
|
/**
|
|
22401
22577
|
*
|
|
22402
22578
|
* @summary Reset consumer offset of topic
|
|
@@ -25639,6 +25815,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25639
25815
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter> {
|
|
25640
25816
|
return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
25641
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
|
+
},
|
|
25642
25828
|
/**
|
|
25643
25829
|
*
|
|
25644
25830
|
* @summary Produce message to topic
|
|
@@ -25918,6 +26104,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
25918
26104
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
25919
26105
|
return localVarFp.reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
25920
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
|
+
},
|
|
25921
26117
|
/**
|
|
25922
26118
|
*
|
|
25923
26119
|
* @summary Reset consumer offset of topic
|
|
@@ -28833,6 +29029,16 @@ export interface SharedApiInterface {
|
|
|
28833
29029
|
*/
|
|
28834
29030
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
|
|
28835
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
|
+
|
|
28836
29042
|
/**
|
|
28837
29043
|
*
|
|
28838
29044
|
* @summary Produce message to topic
|
|
@@ -29112,6 +29318,16 @@ export interface SharedApiInterface {
|
|
|
29112
29318
|
*/
|
|
29113
29319
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
29114
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
|
+
|
|
29115
29331
|
/**
|
|
29116
29332
|
*
|
|
29117
29333
|
* @summary Reset consumer offset of topic
|
|
@@ -37274,6 +37490,62 @@ export interface SharedApiPatchOrgParameterRequest {
|
|
|
37274
37490
|
readonly orgParameter: OrgParameter
|
|
37275
37491
|
}
|
|
37276
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
|
+
|
|
37277
37549
|
/**
|
|
37278
37550
|
* Request parameters for produceKafkaTopicMessage operation in SharedApi.
|
|
37279
37551
|
* @export
|
|
@@ -39031,6 +39303,62 @@ export interface SharedApiReconfigureClusterRequest {
|
|
|
39031
39303
|
readonly body: ReconfigureCreate
|
|
39032
39304
|
}
|
|
39033
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
|
+
|
|
39034
39362
|
/**
|
|
39035
39363
|
* Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
|
|
39036
39364
|
* @export
|
|
@@ -43707,6 +44035,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
43707
44035
|
return SharedApiFp(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
43708
44036
|
}
|
|
43709
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
|
+
|
|
43710
44050
|
/**
|
|
43711
44051
|
*
|
|
43712
44052
|
* @summary Produce message to topic
|
|
@@ -44042,6 +44382,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
44042
44382
|
return SharedApiFp(this.configuration).reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
44043
44383
|
}
|
|
44044
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
|
+
|
|
44045
44397
|
/**
|
|
44046
44398
|
*
|
|
44047
44399
|
* @summary Reset consumer offset of topic
|
|
@@ -669,6 +669,7 @@ export * from './object-privilege-object-list';
|
|
|
669
669
|
export * from './object-privilege-prerequisite-check';
|
|
670
670
|
export * from './object-privilege-prerequisite-status';
|
|
671
671
|
export * from './object-privilege-qualifier';
|
|
672
|
+
export * from './object-privilege-reset-step';
|
|
672
673
|
export * from './object-privilege-snapshot';
|
|
673
674
|
export * from './object-privilege-spec';
|
|
674
675
|
export * from './object-privilege-subject';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* One ordered, engine-generated step of an account privilege reset.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ObjectPrivilegeResetStep
|
|
21
|
+
*/
|
|
22
|
+
export interface ObjectPrivilegeResetStep {
|
|
23
|
+
/**
|
|
24
|
+
* Connection database in which this statement must run. Omitted when no particular database is required, as with MySQL account-wide REVOKE. This is execution context, not the scope of objects affected by the SQL.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ObjectPrivilegeResetStep
|
|
27
|
+
*/
|
|
28
|
+
'databaseName'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Engine-generated SQL for display. Callers cannot submit or modify these steps for execution; reset rebuilds the plan from current grants.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ObjectPrivilegeResetStep
|
|
33
|
+
*/
|
|
34
|
+
'sql': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -19398,6 +19398,131 @@ paths:
|
|
|
19398
19398
|
$ref: '#/components/responses/404'
|
|
19399
19399
|
'500':
|
|
19400
19400
|
$ref: '#/components/responses/500'
|
|
19401
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset:
|
|
19402
|
+
get:
|
|
19403
|
+
tags:
|
|
19404
|
+
- account
|
|
19405
|
+
- rdbms
|
|
19406
|
+
- shared
|
|
19407
|
+
summary: Preview clearing all MySQL account privileges
|
|
19408
|
+
operationId: previewAccountPrivilegeReset
|
|
19409
|
+
description: 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.
|
|
19410
|
+
parameters:
|
|
19411
|
+
- name: engineName
|
|
19412
|
+
in: path
|
|
19413
|
+
required: true
|
|
19414
|
+
schema:
|
|
19415
|
+
type: string
|
|
19416
|
+
- name: orgName
|
|
19417
|
+
in: path
|
|
19418
|
+
required: true
|
|
19419
|
+
schema:
|
|
19420
|
+
type: string
|
|
19421
|
+
- name: clusterName
|
|
19422
|
+
in: path
|
|
19423
|
+
required: true
|
|
19424
|
+
schema:
|
|
19425
|
+
type: string
|
|
19426
|
+
- name: accountName
|
|
19427
|
+
in: path
|
|
19428
|
+
required: true
|
|
19429
|
+
schema:
|
|
19430
|
+
type: string
|
|
19431
|
+
- name: subjectType
|
|
19432
|
+
in: query
|
|
19433
|
+
required: false
|
|
19434
|
+
schema:
|
|
19435
|
+
$ref: '#/components/schemas/ObjectPrivilegeSubjectType'
|
|
19436
|
+
description: Native subject kind; path account name identifies the subject.
|
|
19437
|
+
- name: host
|
|
19438
|
+
in: query
|
|
19439
|
+
required: false
|
|
19440
|
+
schema:
|
|
19441
|
+
type: string
|
|
19442
|
+
description: Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
19443
|
+
- name: subjectQualifiers
|
|
19444
|
+
in: query
|
|
19445
|
+
schema:
|
|
19446
|
+
type: string
|
|
19447
|
+
description: JSON identity qualifiers; MySQL host defaults to %.
|
|
19448
|
+
responses:
|
|
19449
|
+
'200':
|
|
19450
|
+
description: Server-generated steps with connection database, in execution order
|
|
19451
|
+
content:
|
|
19452
|
+
application/json:
|
|
19453
|
+
schema:
|
|
19454
|
+
type: array
|
|
19455
|
+
items:
|
|
19456
|
+
$ref: '#/components/schemas/ObjectPrivilegeResetStep'
|
|
19457
|
+
'400':
|
|
19458
|
+
$ref: '#/components/responses/400'
|
|
19459
|
+
'401':
|
|
19460
|
+
$ref: '#/components/responses/401'
|
|
19461
|
+
'403':
|
|
19462
|
+
$ref: '#/components/responses/403'
|
|
19463
|
+
'404':
|
|
19464
|
+
$ref: '#/components/responses/404'
|
|
19465
|
+
'500':
|
|
19466
|
+
$ref: '#/components/responses/500'
|
|
19467
|
+
delete:
|
|
19468
|
+
tags:
|
|
19469
|
+
- account
|
|
19470
|
+
- rdbms
|
|
19471
|
+
- shared
|
|
19472
|
+
summary: Clear all MySQL account privileges
|
|
19473
|
+
operationId: resetAccountPrivileges
|
|
19474
|
+
description: 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.
|
|
19475
|
+
parameters:
|
|
19476
|
+
- name: engineName
|
|
19477
|
+
in: path
|
|
19478
|
+
required: true
|
|
19479
|
+
schema:
|
|
19480
|
+
type: string
|
|
19481
|
+
- name: orgName
|
|
19482
|
+
in: path
|
|
19483
|
+
required: true
|
|
19484
|
+
schema:
|
|
19485
|
+
type: string
|
|
19486
|
+
- name: clusterName
|
|
19487
|
+
in: path
|
|
19488
|
+
required: true
|
|
19489
|
+
schema:
|
|
19490
|
+
type: string
|
|
19491
|
+
- name: accountName
|
|
19492
|
+
in: path
|
|
19493
|
+
required: true
|
|
19494
|
+
schema:
|
|
19495
|
+
type: string
|
|
19496
|
+
- name: subjectType
|
|
19497
|
+
in: query
|
|
19498
|
+
required: false
|
|
19499
|
+
schema:
|
|
19500
|
+
$ref: '#/components/schemas/ObjectPrivilegeSubjectType'
|
|
19501
|
+
description: Native subject kind; path account name identifies the subject.
|
|
19502
|
+
- name: host
|
|
19503
|
+
in: query
|
|
19504
|
+
required: false
|
|
19505
|
+
schema:
|
|
19506
|
+
type: string
|
|
19507
|
+
description: Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
19508
|
+
- name: subjectQualifiers
|
|
19509
|
+
in: query
|
|
19510
|
+
schema:
|
|
19511
|
+
type: string
|
|
19512
|
+
description: JSON identity qualifiers; MySQL host defaults to %.
|
|
19513
|
+
responses:
|
|
19514
|
+
'204':
|
|
19515
|
+
description: Privileges cleared; account and password preserved
|
|
19516
|
+
'400':
|
|
19517
|
+
$ref: '#/components/responses/400'
|
|
19518
|
+
'401':
|
|
19519
|
+
$ref: '#/components/responses/401'
|
|
19520
|
+
'403':
|
|
19521
|
+
$ref: '#/components/responses/403'
|
|
19522
|
+
'404':
|
|
19523
|
+
$ref: '#/components/responses/404'
|
|
19524
|
+
'500':
|
|
19525
|
+
$ref: '#/components/responses/500'
|
|
19401
19526
|
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns:
|
|
19402
19527
|
get:
|
|
19403
19528
|
tags:
|
|
@@ -40633,6 +40758,20 @@ components:
|
|
|
40633
40758
|
type: array
|
|
40634
40759
|
items:
|
|
40635
40760
|
$ref: '#/components/schemas/ObjectPrivilegeQualifier'
|
|
40761
|
+
ObjectPrivilegeResetStep:
|
|
40762
|
+
type: object
|
|
40763
|
+
description: One ordered, engine-generated step of an account privilege reset.
|
|
40764
|
+
required:
|
|
40765
|
+
- sql
|
|
40766
|
+
properties:
|
|
40767
|
+
databaseName:
|
|
40768
|
+
type: string
|
|
40769
|
+
description: Connection database in which this statement must run. Omitted when no particular database is required, as with MySQL account-wide REVOKE. This is execution context, not the scope of objects affected by the SQL.
|
|
40770
|
+
sql:
|
|
40771
|
+
type: string
|
|
40772
|
+
x-nullable: false
|
|
40773
|
+
minLength: 1
|
|
40774
|
+
description: Engine-generated SQL for display. Callers cannot submit or modify these steps for execution; reset rebuilds the plan from current grants.
|
|
40636
40775
|
ObjectPrivilegeObject:
|
|
40637
40776
|
type: object
|
|
40638
40777
|
required:
|