kb-cloud-client-typescript 2.4.0-alpha.94 → 2.4.0-alpha.96
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 +1129 -38
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +1283 -149
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/mongodb-api.d.ts +943 -4
- package/dist/adminapi/apis/mongodb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/mongodb-api.js +1005 -0
- package/dist/adminapi/apis/mongodb-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +186 -34
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +166 -37
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +1196 -105
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1273 -139
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +11 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +11 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/mongo-rbacbinding-change.d.ts +32 -0
- package/dist/adminapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacbinding-change.js +16 -0
- package/dist/adminapi/models/mongo-rbacbinding-change.js.map +1 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.d.ts +32 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.js +16 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.d.ts +25 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.js +16 -0
- package/dist/adminapi/models/mongo-rbacpassword-change.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacprivilege.d.ts +32 -0
- package/dist/adminapi/models/mongo-rbacprivilege.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacprivilege.js +16 -0
- package/dist/adminapi/models/mongo-rbacprivilege.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.d.ts +31 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.js +16 -0
- package/dist/adminapi/models/mongo-rbacresource-capability.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource.d.ts +43 -0
- package/dist/adminapi/models/mongo-rbacresource.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacresource.js +16 -0
- package/dist/adminapi/models/mongo-rbacresource.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.d.ts +31 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.js +16 -0
- package/dist/adminapi/models/mongo-rbacrole-ref.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-write.d.ts +51 -0
- package/dist/adminapi/models/mongo-rbacrole-write.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole-write.js +16 -0
- package/dist/adminapi/models/mongo-rbacrole-write.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole.d.ts +69 -0
- package/dist/adminapi/models/mongo-rbacrole.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacrole.js +16 -0
- package/dist/adminapi/models/mongo-rbacrole.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser-create.d.ts +44 -0
- package/dist/adminapi/models/mongo-rbacuser-create.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser-create.js +16 -0
- package/dist/adminapi/models/mongo-rbacuser-create.js.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser.d.ts +57 -0
- package/dist/adminapi/models/mongo-rbacuser.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-rbacuser.js +16 -0
- package/dist/adminapi/models/mongo-rbacuser.js.map +1 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts +6 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -1
- package/dist/adminapi/models/object-privilege-reset-step.d.ts +1 -1
- package/dist/openapi/apis/account-api.d.ts +1129 -38
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +1283 -149
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/mongodb-api.d.ts +943 -4
- package/dist/openapi/apis/mongodb-api.d.ts.map +1 -1
- package/dist/openapi/apis/mongodb-api.js +1005 -0
- package/dist/openapi/apis/mongodb-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +186 -34
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +166 -37
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +1196 -105
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1273 -139
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +11 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +11 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/mongo-rbacbinding-change.d.ts +32 -0
- package/dist/openapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacbinding-change.js +16 -0
- package/dist/openapi/models/mongo-rbacbinding-change.js.map +1 -0
- package/dist/openapi/models/mongo-rbaccapabilities.d.ts +32 -0
- package/dist/openapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbaccapabilities.js +16 -0
- package/dist/openapi/models/mongo-rbaccapabilities.js.map +1 -0
- package/dist/openapi/models/mongo-rbacpassword-change.d.ts +25 -0
- package/dist/openapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacpassword-change.js +16 -0
- package/dist/openapi/models/mongo-rbacpassword-change.js.map +1 -0
- package/dist/openapi/models/mongo-rbacprivilege.d.ts +32 -0
- package/dist/openapi/models/mongo-rbacprivilege.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacprivilege.js +16 -0
- package/dist/openapi/models/mongo-rbacprivilege.js.map +1 -0
- package/dist/openapi/models/mongo-rbacresource-capability.d.ts +31 -0
- package/dist/openapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacresource-capability.js +16 -0
- package/dist/openapi/models/mongo-rbacresource-capability.js.map +1 -0
- package/dist/openapi/models/mongo-rbacresource.d.ts +43 -0
- package/dist/openapi/models/mongo-rbacresource.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacresource.js +16 -0
- package/dist/openapi/models/mongo-rbacresource.js.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-ref.d.ts +31 -0
- package/dist/openapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-ref.js +16 -0
- package/dist/openapi/models/mongo-rbacrole-ref.js.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-write.d.ts +51 -0
- package/dist/openapi/models/mongo-rbacrole-write.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacrole-write.js +16 -0
- package/dist/openapi/models/mongo-rbacrole-write.js.map +1 -0
- package/dist/openapi/models/mongo-rbacrole.d.ts +69 -0
- package/dist/openapi/models/mongo-rbacrole.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacrole.js +16 -0
- package/dist/openapi/models/mongo-rbacrole.js.map +1 -0
- package/dist/openapi/models/mongo-rbacuser-create.d.ts +44 -0
- package/dist/openapi/models/mongo-rbacuser-create.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacuser-create.js +16 -0
- package/dist/openapi/models/mongo-rbacuser-create.js.map +1 -0
- package/dist/openapi/models/mongo-rbacuser.d.ts +57 -0
- package/dist/openapi/models/mongo-rbacuser.d.ts.map +1 -0
- package/dist/openapi/models/mongo-rbacuser.js +16 -0
- package/dist/openapi/models/mongo-rbacuser.js.map +1 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts +6 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -1
- package/dist/openapi/models/object-privilege-reset-step.d.ts +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +11 -0
- package/src/adminapi/apis/account-api.ts +3961 -2069
- package/src/adminapi/apis/mongodb-api.ts +1757 -120
- package/src/adminapi/apis/rdbms-api.ts +298 -43
- package/src/adminapi/apis/shared-api.ts +2363 -471
- package/src/adminapi/models/index.ts +11 -0
- package/src/adminapi/models/mongo-rbacbinding-change.ts +39 -0
- package/src/adminapi/models/mongo-rbaccapabilities.ts +39 -0
- package/src/adminapi/models/mongo-rbacpassword-change.ts +30 -0
- package/src/adminapi/models/mongo-rbacprivilege.ts +39 -0
- package/src/adminapi/models/mongo-rbacresource-capability.ts +36 -0
- package/src/adminapi/models/mongo-rbacresource.ts +48 -0
- package/src/adminapi/models/mongo-rbacrole-ref.ts +36 -0
- package/src/adminapi/models/mongo-rbacrole-write.ts +60 -0
- package/src/adminapi/models/mongo-rbacrole.ts +78 -0
- package/src/adminapi/models/mongo-rbacuser-create.ts +51 -0
- package/src/adminapi/models/mongo-rbacuser.ts +66 -0
- package/src/adminapi/models/object-privilege-evidence.ts +6 -0
- package/src/adminapi/models/object-privilege-reset-step.ts +1 -1
- package/src/adminapi.yaml +958 -134
- package/src/openapi/.openapi-generator/FILES +11 -0
- package/src/openapi/apis/account-api.ts +3961 -2069
- package/src/openapi/apis/mongodb-api.ts +1757 -120
- package/src/openapi/apis/rdbms-api.ts +298 -43
- package/src/openapi/apis/shared-api.ts +2168 -276
- package/src/openapi/models/index.ts +11 -0
- package/src/openapi/models/mongo-rbacbinding-change.ts +39 -0
- package/src/openapi/models/mongo-rbaccapabilities.ts +39 -0
- package/src/openapi/models/mongo-rbacpassword-change.ts +30 -0
- package/src/openapi/models/mongo-rbacprivilege.ts +39 -0
- package/src/openapi/models/mongo-rbacresource-capability.ts +36 -0
- package/src/openapi/models/mongo-rbacresource.ts +48 -0
- package/src/openapi/models/mongo-rbacrole-ref.ts +36 -0
- package/src/openapi/models/mongo-rbacrole-write.ts +60 -0
- package/src/openapi/models/mongo-rbacrole.ts +78 -0
- package/src/openapi/models/mongo-rbacuser-create.ts +51 -0
- package/src/openapi/models/mongo-rbacuser.ts +66 -0
- package/src/openapi/models/object-privilege-evidence.ts +6 -0
- package/src/openapi/models/object-privilege-reset-step.ts +1 -1
- package/src/openapi.yaml +958 -134
|
@@ -135,10 +135,18 @@ import type { MilvusRole } from '../models';
|
|
|
135
135
|
import type { MilvusRoleCreateRequest } from '../models';
|
|
136
136
|
import type { MilvusRoleList } from '../models';
|
|
137
137
|
import type { MilvusRoleRequest } from '../models';
|
|
138
|
+
import type { MongoRBACBindingChange } from '../models';
|
|
139
|
+
import type { MongoRBACCapabilities } from '../models';
|
|
140
|
+
import type { MongoRBACPasswordChange } from '../models';
|
|
141
|
+
import type { MongoRBACRole } from '../models';
|
|
142
|
+
import type { MongoRBACRoleWrite } from '../models';
|
|
143
|
+
import type { MongoRBACUser } from '../models';
|
|
144
|
+
import type { MongoRBACUserCreate } from '../models';
|
|
138
145
|
import type { NodeList } from '../models';
|
|
139
146
|
import type { NodeResourceStatsList } from '../models';
|
|
140
147
|
import type { ObjectPrivilegeCapabilities } from '../models';
|
|
141
148
|
import type { ObjectPrivilegeChange } from '../models';
|
|
149
|
+
import type { ObjectPrivilegeEvidence } from '../models';
|
|
142
150
|
import type { ObjectPrivilegeObjectList } from '../models';
|
|
143
151
|
import type { ObjectPrivilegeResetStep } from '../models';
|
|
144
152
|
import type { ObjectPrivilegeSnapshot } from '../models';
|
|
@@ -1310,6 +1318,21 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1310
1318
|
* @throws {RequiredError}
|
|
1311
1319
|
*/
|
|
1312
1320
|
getAccountObjectPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, objectName?: string, objectId?: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, catalogName?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1321
|
+
/**
|
|
1322
|
+
* Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
|
|
1323
|
+
* @summary Read native account privilege summary or selected database evidence
|
|
1324
|
+
* @param {string} engineName
|
|
1325
|
+
* @param {string} orgName
|
|
1326
|
+
* @param {string} clusterName
|
|
1327
|
+
* @param {string} accountName
|
|
1328
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
1329
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
1330
|
+
* @param {string} [subjectQualifiers]
|
|
1331
|
+
* @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
*/
|
|
1335
|
+
getAccountPrivilegeOverview: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1313
1336
|
/**
|
|
1314
1337
|
*
|
|
1315
1338
|
* @summary Get alert config
|
|
@@ -1959,19 +1982,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1959
1982
|
*/
|
|
1960
1983
|
killSession: (engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1961
1984
|
/**
|
|
1962
|
-
* Read MySQL
|
|
1985
|
+
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
1963
1986
|
* @summary List exact column names for account object privileges
|
|
1964
1987
|
* @param {string} engineName
|
|
1965
1988
|
* @param {string} orgName
|
|
1966
1989
|
* @param {string} clusterName
|
|
1967
1990
|
* @param {string} accountName
|
|
1968
|
-
* @param {string} objectType Object type,
|
|
1991
|
+
* @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
|
|
1969
1992
|
* @param {string} databaseName
|
|
1970
1993
|
* @param {string} objectName
|
|
1994
|
+
* @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
|
|
1971
1995
|
* @param {*} [options] Override http request option.
|
|
1972
1996
|
* @throws {RequiredError}
|
|
1973
1997
|
*/
|
|
1974
|
-
listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1998
|
+
listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1975
1999
|
/**
|
|
1976
2000
|
* 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.
|
|
1977
2001
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -2664,6 +2688,136 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2664
2688
|
* @throws {RequiredError}
|
|
2665
2689
|
*/
|
|
2666
2690
|
markClusterRestoreCompleted: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2691
|
+
/**
|
|
2692
|
+
*
|
|
2693
|
+
* @summary ChangeRBACUserPassword
|
|
2694
|
+
* @param {string} orgName
|
|
2695
|
+
* @param {string} clusterName
|
|
2696
|
+
* @param {string} database
|
|
2697
|
+
* @param {string} username
|
|
2698
|
+
* @param {MongoRBACPasswordChange} mongoRBACPasswordChange
|
|
2699
|
+
* @param {*} [options] Override http request option.
|
|
2700
|
+
* @throws {RequiredError}
|
|
2701
|
+
*/
|
|
2702
|
+
mongoChangeRBACUserPassword: (orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2703
|
+
/**
|
|
2704
|
+
*
|
|
2705
|
+
* @summary ChangeRBACUserRoles
|
|
2706
|
+
* @param {string} orgName
|
|
2707
|
+
* @param {string} clusterName
|
|
2708
|
+
* @param {string} database
|
|
2709
|
+
* @param {string} username
|
|
2710
|
+
* @param {MongoRBACBindingChange} mongoRBACBindingChange
|
|
2711
|
+
* @param {*} [options] Override http request option.
|
|
2712
|
+
* @throws {RequiredError}
|
|
2713
|
+
*/
|
|
2714
|
+
mongoChangeRBACUserRoles: (orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @summary CreateRBACRole
|
|
2718
|
+
* @param {string} orgName
|
|
2719
|
+
* @param {string} clusterName
|
|
2720
|
+
* @param {MongoRBACRoleWrite} mongoRBACRoleWrite
|
|
2721
|
+
* @param {*} [options] Override http request option.
|
|
2722
|
+
* @throws {RequiredError}
|
|
2723
|
+
*/
|
|
2724
|
+
mongoCreateRBACRole: (orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2725
|
+
/**
|
|
2726
|
+
*
|
|
2727
|
+
* @summary CreateRBACUser
|
|
2728
|
+
* @param {string} orgName
|
|
2729
|
+
* @param {string} clusterName
|
|
2730
|
+
* @param {MongoRBACUserCreate} mongoRBACUserCreate
|
|
2731
|
+
* @param {*} [options] Override http request option.
|
|
2732
|
+
* @throws {RequiredError}
|
|
2733
|
+
*/
|
|
2734
|
+
mongoCreateRBACUser: (orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2735
|
+
/**
|
|
2736
|
+
*
|
|
2737
|
+
* @summary DeleteRBACRole
|
|
2738
|
+
* @param {string} orgName
|
|
2739
|
+
* @param {string} clusterName
|
|
2740
|
+
* @param {string} database
|
|
2741
|
+
* @param {string} roleName
|
|
2742
|
+
* @param {string} expectedRevision
|
|
2743
|
+
* @param {*} [options] Override http request option.
|
|
2744
|
+
* @throws {RequiredError}
|
|
2745
|
+
*/
|
|
2746
|
+
mongoDeleteRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2747
|
+
/**
|
|
2748
|
+
*
|
|
2749
|
+
* @summary DeleteRBACUser
|
|
2750
|
+
* @param {string} orgName
|
|
2751
|
+
* @param {string} clusterName
|
|
2752
|
+
* @param {string} database
|
|
2753
|
+
* @param {string} username
|
|
2754
|
+
* @param {*} [options] Override http request option.
|
|
2755
|
+
* @throws {RequiredError}
|
|
2756
|
+
*/
|
|
2757
|
+
mongoDeleteRBACUser: (orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2758
|
+
/**
|
|
2759
|
+
*
|
|
2760
|
+
* @summary GetRBACCapabilities
|
|
2761
|
+
* @param {string} orgName
|
|
2762
|
+
* @param {string} clusterName
|
|
2763
|
+
* @param {*} [options] Override http request option.
|
|
2764
|
+
* @throws {RequiredError}
|
|
2765
|
+
*/
|
|
2766
|
+
mongoGetRBACCapabilities: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2767
|
+
/**
|
|
2768
|
+
*
|
|
2769
|
+
* @summary GetRBACRole
|
|
2770
|
+
* @param {string} orgName
|
|
2771
|
+
* @param {string} clusterName
|
|
2772
|
+
* @param {string} database
|
|
2773
|
+
* @param {string} roleName
|
|
2774
|
+
* @param {*} [options] Override http request option.
|
|
2775
|
+
* @throws {RequiredError}
|
|
2776
|
+
*/
|
|
2777
|
+
mongoGetRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2778
|
+
/**
|
|
2779
|
+
*
|
|
2780
|
+
* @summary GetRBACUser
|
|
2781
|
+
* @param {string} orgName
|
|
2782
|
+
* @param {string} clusterName
|
|
2783
|
+
* @param {string} database
|
|
2784
|
+
* @param {string} username
|
|
2785
|
+
* @param {*} [options] Override http request option.
|
|
2786
|
+
* @throws {RequiredError}
|
|
2787
|
+
*/
|
|
2788
|
+
mongoGetRBACUser: (orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2789
|
+
/**
|
|
2790
|
+
*
|
|
2791
|
+
* @summary ListRBACRoles
|
|
2792
|
+
* @param {string} orgName
|
|
2793
|
+
* @param {string} clusterName
|
|
2794
|
+
* @param {string} [database]
|
|
2795
|
+
* @param {*} [options] Override http request option.
|
|
2796
|
+
* @throws {RequiredError}
|
|
2797
|
+
*/
|
|
2798
|
+
mongoListRBACRoles: (orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2799
|
+
/**
|
|
2800
|
+
*
|
|
2801
|
+
* @summary ListRBACUsers
|
|
2802
|
+
* @param {string} orgName
|
|
2803
|
+
* @param {string} clusterName
|
|
2804
|
+
* @param {string} [database]
|
|
2805
|
+
* @param {*} [options] Override http request option.
|
|
2806
|
+
* @throws {RequiredError}
|
|
2807
|
+
*/
|
|
2808
|
+
mongoListRBACUsers: (orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2809
|
+
/**
|
|
2810
|
+
*
|
|
2811
|
+
* @summary UpdateRBACRole
|
|
2812
|
+
* @param {string} orgName
|
|
2813
|
+
* @param {string} clusterName
|
|
2814
|
+
* @param {string} database
|
|
2815
|
+
* @param {string} roleName
|
|
2816
|
+
* @param {MongoRBACRoleWrite} mongoRBACRoleWrite
|
|
2817
|
+
* @param {*} [options] Override http request option.
|
|
2818
|
+
* @throws {RequiredError}
|
|
2819
|
+
*/
|
|
2820
|
+
mongoUpdateRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2667
2821
|
/**
|
|
2668
2822
|
* partially update the specified apikey
|
|
2669
2823
|
* @summary Update apikey information
|
|
@@ -2713,8 +2867,8 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2713
2867
|
*/
|
|
2714
2868
|
patchOrgParameter: (orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2715
2869
|
/**
|
|
2716
|
-
* MySQL
|
|
2717
|
-
* @summary Preview clearing
|
|
2870
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
2871
|
+
* @summary Preview clearing explicit account privileges
|
|
2718
2872
|
* @param {string} engineName
|
|
2719
2873
|
* @param {string} orgName
|
|
2720
2874
|
* @param {string} clusterName
|
|
@@ -2722,10 +2876,12 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2722
2876
|
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
2723
2877
|
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
2724
2878
|
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
2879
|
+
* @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
2880
|
+
* @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
2725
2881
|
* @param {*} [options] Override http request option.
|
|
2726
2882
|
* @throws {RequiredError}
|
|
2727
2883
|
*/
|
|
2728
|
-
previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2884
|
+
previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2729
2885
|
/**
|
|
2730
2886
|
*
|
|
2731
2887
|
* @summary Produce message to topic
|
|
@@ -3149,8 +3305,8 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3149
3305
|
*/
|
|
3150
3306
|
reconfigureCluster: (orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3151
3307
|
/**
|
|
3152
|
-
* MySQL
|
|
3153
|
-
* @summary Clear
|
|
3308
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
3309
|
+
* @summary Clear explicit account privileges
|
|
3154
3310
|
* @param {string} engineName
|
|
3155
3311
|
* @param {string} orgName
|
|
3156
3312
|
* @param {string} clusterName
|
|
@@ -3158,10 +3314,12 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3158
3314
|
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
3159
3315
|
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
3160
3316
|
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
3317
|
+
* @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
3318
|
+
* @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
3161
3319
|
* @param {*} [options] Override http request option.
|
|
3162
3320
|
* @throws {RequiredError}
|
|
3163
3321
|
*/
|
|
3164
|
-
resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3322
|
+
resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3165
3323
|
/**
|
|
3166
3324
|
*
|
|
3167
3325
|
* @summary Reset consumer offset of topic
|
|
@@ -4867,6 +5025,21 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
4867
5025
|
* @throws {RequiredError}
|
|
4868
5026
|
*/
|
|
4869
5027
|
getAccountObjectPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, objectName?: string, objectId?: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, catalogName?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectPrivilegeSnapshot>>;
|
|
5028
|
+
/**
|
|
5029
|
+
* Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
|
|
5030
|
+
* @summary Read native account privilege summary or selected database evidence
|
|
5031
|
+
* @param {string} engineName
|
|
5032
|
+
* @param {string} orgName
|
|
5033
|
+
* @param {string} clusterName
|
|
5034
|
+
* @param {string} accountName
|
|
5035
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
5036
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
5037
|
+
* @param {string} [subjectQualifiers]
|
|
5038
|
+
* @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
|
|
5039
|
+
* @param {*} [options] Override http request option.
|
|
5040
|
+
* @throws {RequiredError}
|
|
5041
|
+
*/
|
|
5042
|
+
getAccountPrivilegeOverview(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectPrivilegeEvidence>>>;
|
|
4870
5043
|
/**
|
|
4871
5044
|
*
|
|
4872
5045
|
* @summary Get alert config
|
|
@@ -5518,19 +5691,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
5518
5691
|
*/
|
|
5519
5692
|
killSession(engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5520
5693
|
/**
|
|
5521
|
-
* Read MySQL
|
|
5694
|
+
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
5522
5695
|
* @summary List exact column names for account object privileges
|
|
5523
5696
|
* @param {string} engineName
|
|
5524
5697
|
* @param {string} orgName
|
|
5525
5698
|
* @param {string} clusterName
|
|
5526
5699
|
* @param {string} accountName
|
|
5527
|
-
* @param {string} objectType Object type,
|
|
5700
|
+
* @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
|
|
5528
5701
|
* @param {string} databaseName
|
|
5529
5702
|
* @param {string} objectName
|
|
5703
|
+
* @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
|
|
5530
5704
|
* @param {*} [options] Override http request option.
|
|
5531
5705
|
* @throws {RequiredError}
|
|
5532
5706
|
*/
|
|
5533
|
-
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>>>;
|
|
5707
|
+
listAccountObjectPrivilegeColumns(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
5534
5708
|
/**
|
|
5535
5709
|
* 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.
|
|
5536
5710
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -6229,6 +6403,136 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
6229
6403
|
* @throws {RequiredError}
|
|
6230
6404
|
*/
|
|
6231
6405
|
markClusterRestoreCompleted(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6406
|
+
/**
|
|
6407
|
+
*
|
|
6408
|
+
* @summary ChangeRBACUserPassword
|
|
6409
|
+
* @param {string} orgName
|
|
6410
|
+
* @param {string} clusterName
|
|
6411
|
+
* @param {string} database
|
|
6412
|
+
* @param {string} username
|
|
6413
|
+
* @param {MongoRBACPasswordChange} mongoRBACPasswordChange
|
|
6414
|
+
* @param {*} [options] Override http request option.
|
|
6415
|
+
* @throws {RequiredError}
|
|
6416
|
+
*/
|
|
6417
|
+
mongoChangeRBACUserPassword(orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6418
|
+
/**
|
|
6419
|
+
*
|
|
6420
|
+
* @summary ChangeRBACUserRoles
|
|
6421
|
+
* @param {string} orgName
|
|
6422
|
+
* @param {string} clusterName
|
|
6423
|
+
* @param {string} database
|
|
6424
|
+
* @param {string} username
|
|
6425
|
+
* @param {MongoRBACBindingChange} mongoRBACBindingChange
|
|
6426
|
+
* @param {*} [options] Override http request option.
|
|
6427
|
+
* @throws {RequiredError}
|
|
6428
|
+
*/
|
|
6429
|
+
mongoChangeRBACUserRoles(orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6430
|
+
/**
|
|
6431
|
+
*
|
|
6432
|
+
* @summary CreateRBACRole
|
|
6433
|
+
* @param {string} orgName
|
|
6434
|
+
* @param {string} clusterName
|
|
6435
|
+
* @param {MongoRBACRoleWrite} mongoRBACRoleWrite
|
|
6436
|
+
* @param {*} [options] Override http request option.
|
|
6437
|
+
* @throws {RequiredError}
|
|
6438
|
+
*/
|
|
6439
|
+
mongoCreateRBACRole(orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6440
|
+
/**
|
|
6441
|
+
*
|
|
6442
|
+
* @summary CreateRBACUser
|
|
6443
|
+
* @param {string} orgName
|
|
6444
|
+
* @param {string} clusterName
|
|
6445
|
+
* @param {MongoRBACUserCreate} mongoRBACUserCreate
|
|
6446
|
+
* @param {*} [options] Override http request option.
|
|
6447
|
+
* @throws {RequiredError}
|
|
6448
|
+
*/
|
|
6449
|
+
mongoCreateRBACUser(orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6450
|
+
/**
|
|
6451
|
+
*
|
|
6452
|
+
* @summary DeleteRBACRole
|
|
6453
|
+
* @param {string} orgName
|
|
6454
|
+
* @param {string} clusterName
|
|
6455
|
+
* @param {string} database
|
|
6456
|
+
* @param {string} roleName
|
|
6457
|
+
* @param {string} expectedRevision
|
|
6458
|
+
* @param {*} [options] Override http request option.
|
|
6459
|
+
* @throws {RequiredError}
|
|
6460
|
+
*/
|
|
6461
|
+
mongoDeleteRBACRole(orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6462
|
+
/**
|
|
6463
|
+
*
|
|
6464
|
+
* @summary DeleteRBACUser
|
|
6465
|
+
* @param {string} orgName
|
|
6466
|
+
* @param {string} clusterName
|
|
6467
|
+
* @param {string} database
|
|
6468
|
+
* @param {string} username
|
|
6469
|
+
* @param {*} [options] Override http request option.
|
|
6470
|
+
* @throws {RequiredError}
|
|
6471
|
+
*/
|
|
6472
|
+
mongoDeleteRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6473
|
+
/**
|
|
6474
|
+
*
|
|
6475
|
+
* @summary GetRBACCapabilities
|
|
6476
|
+
* @param {string} orgName
|
|
6477
|
+
* @param {string} clusterName
|
|
6478
|
+
* @param {*} [options] Override http request option.
|
|
6479
|
+
* @throws {RequiredError}
|
|
6480
|
+
*/
|
|
6481
|
+
mongoGetRBACCapabilities(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACCapabilities>>;
|
|
6482
|
+
/**
|
|
6483
|
+
*
|
|
6484
|
+
* @summary GetRBACRole
|
|
6485
|
+
* @param {string} orgName
|
|
6486
|
+
* @param {string} clusterName
|
|
6487
|
+
* @param {string} database
|
|
6488
|
+
* @param {string} roleName
|
|
6489
|
+
* @param {*} [options] Override http request option.
|
|
6490
|
+
* @throws {RequiredError}
|
|
6491
|
+
*/
|
|
6492
|
+
mongoGetRBACRole(orgName: string, clusterName: string, database: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACRole>>;
|
|
6493
|
+
/**
|
|
6494
|
+
*
|
|
6495
|
+
* @summary GetRBACUser
|
|
6496
|
+
* @param {string} orgName
|
|
6497
|
+
* @param {string} clusterName
|
|
6498
|
+
* @param {string} database
|
|
6499
|
+
* @param {string} username
|
|
6500
|
+
* @param {*} [options] Override http request option.
|
|
6501
|
+
* @throws {RequiredError}
|
|
6502
|
+
*/
|
|
6503
|
+
mongoGetRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACUser>>;
|
|
6504
|
+
/**
|
|
6505
|
+
*
|
|
6506
|
+
* @summary ListRBACRoles
|
|
6507
|
+
* @param {string} orgName
|
|
6508
|
+
* @param {string} clusterName
|
|
6509
|
+
* @param {string} [database]
|
|
6510
|
+
* @param {*} [options] Override http request option.
|
|
6511
|
+
* @throws {RequiredError}
|
|
6512
|
+
*/
|
|
6513
|
+
mongoListRBACRoles(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACRole>>>;
|
|
6514
|
+
/**
|
|
6515
|
+
*
|
|
6516
|
+
* @summary ListRBACUsers
|
|
6517
|
+
* @param {string} orgName
|
|
6518
|
+
* @param {string} clusterName
|
|
6519
|
+
* @param {string} [database]
|
|
6520
|
+
* @param {*} [options] Override http request option.
|
|
6521
|
+
* @throws {RequiredError}
|
|
6522
|
+
*/
|
|
6523
|
+
mongoListRBACUsers(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACUser>>>;
|
|
6524
|
+
/**
|
|
6525
|
+
*
|
|
6526
|
+
* @summary UpdateRBACRole
|
|
6527
|
+
* @param {string} orgName
|
|
6528
|
+
* @param {string} clusterName
|
|
6529
|
+
* @param {string} database
|
|
6530
|
+
* @param {string} roleName
|
|
6531
|
+
* @param {MongoRBACRoleWrite} mongoRBACRoleWrite
|
|
6532
|
+
* @param {*} [options] Override http request option.
|
|
6533
|
+
* @throws {RequiredError}
|
|
6534
|
+
*/
|
|
6535
|
+
mongoUpdateRBACRole(orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6232
6536
|
/**
|
|
6233
6537
|
* partially update the specified apikey
|
|
6234
6538
|
* @summary Update apikey information
|
|
@@ -6278,8 +6582,8 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
6278
6582
|
*/
|
|
6279
6583
|
patchOrgParameter(orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgParameter>>;
|
|
6280
6584
|
/**
|
|
6281
|
-
* MySQL
|
|
6282
|
-
* @summary Preview clearing
|
|
6585
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
6586
|
+
* @summary Preview clearing explicit account privileges
|
|
6283
6587
|
* @param {string} engineName
|
|
6284
6588
|
* @param {string} orgName
|
|
6285
6589
|
* @param {string} clusterName
|
|
@@ -6287,10 +6591,12 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
6287
6591
|
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
6288
6592
|
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
6289
6593
|
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
6594
|
+
* @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
6595
|
+
* @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
6290
6596
|
* @param {*} [options] Override http request option.
|
|
6291
6597
|
* @throws {RequiredError}
|
|
6292
6598
|
*/
|
|
6293
|
-
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>>>;
|
|
6599
|
+
previewAccountPrivilegeReset(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectPrivilegeResetStep>>>;
|
|
6294
6600
|
/**
|
|
6295
6601
|
*
|
|
6296
6602
|
* @summary Produce message to topic
|
|
@@ -6714,8 +7020,8 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
6714
7020
|
*/
|
|
6715
7021
|
reconfigureCluster(orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpsRequestName>>;
|
|
6716
7022
|
/**
|
|
6717
|
-
* MySQL
|
|
6718
|
-
* @summary Clear
|
|
7023
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
7024
|
+
* @summary Clear explicit account privileges
|
|
6719
7025
|
* @param {string} engineName
|
|
6720
7026
|
* @param {string} orgName
|
|
6721
7027
|
* @param {string} clusterName
|
|
@@ -6723,10 +7029,12 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
6723
7029
|
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
6724
7030
|
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
6725
7031
|
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
7032
|
+
* @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
7033
|
+
* @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
6726
7034
|
* @param {*} [options] Override http request option.
|
|
6727
7035
|
* @throws {RequiredError}
|
|
6728
7036
|
*/
|
|
6729
|
-
resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7037
|
+
resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6730
7038
|
/**
|
|
6731
7039
|
*
|
|
6732
7040
|
* @summary Reset consumer offset of topic
|
|
@@ -8135,6 +8443,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
|
|
|
8135
8443
|
* @throws {RequiredError}
|
|
8136
8444
|
*/
|
|
8137
8445
|
getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
|
|
8446
|
+
/**
|
|
8447
|
+
* Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
|
|
8448
|
+
* @summary Read native account privilege summary or selected database evidence
|
|
8449
|
+
* @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
|
|
8450
|
+
* @param {*} [options] Override http request option.
|
|
8451
|
+
* @throws {RequiredError}
|
|
8452
|
+
*/
|
|
8453
|
+
getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>>;
|
|
8138
8454
|
/**
|
|
8139
8455
|
*
|
|
8140
8456
|
* @summary Get alert config
|
|
@@ -8616,7 +8932,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
|
|
|
8616
8932
|
*/
|
|
8617
8933
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
8618
8934
|
/**
|
|
8619
|
-
* Read MySQL
|
|
8935
|
+
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
8620
8936
|
* @summary List exact column names for account object privileges
|
|
8621
8937
|
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
8622
8938
|
* @param {*} [options] Override http request option.
|
|
@@ -9180,104 +9496,200 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
|
|
|
9180
9496
|
*/
|
|
9181
9497
|
markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9182
9498
|
/**
|
|
9183
|
-
*
|
|
9184
|
-
* @summary
|
|
9185
|
-
* @param {
|
|
9499
|
+
*
|
|
9500
|
+
* @summary ChangeRBACUserPassword
|
|
9501
|
+
* @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
|
|
9186
9502
|
* @param {*} [options] Override http request option.
|
|
9187
9503
|
* @throws {RequiredError}
|
|
9188
9504
|
*/
|
|
9189
|
-
|
|
9505
|
+
mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9190
9506
|
/**
|
|
9191
|
-
*
|
|
9192
|
-
* @summary
|
|
9193
|
-
* @param {
|
|
9507
|
+
*
|
|
9508
|
+
* @summary ChangeRBACUserRoles
|
|
9509
|
+
* @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
|
|
9194
9510
|
* @param {*} [options] Override http request option.
|
|
9195
9511
|
* @throws {RequiredError}
|
|
9196
9512
|
*/
|
|
9197
|
-
|
|
9513
|
+
mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9198
9514
|
/**
|
|
9199
|
-
*
|
|
9200
|
-
* @summary
|
|
9201
|
-
* @param {
|
|
9515
|
+
*
|
|
9516
|
+
* @summary CreateRBACRole
|
|
9517
|
+
* @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
|
|
9202
9518
|
* @param {*} [options] Override http request option.
|
|
9203
9519
|
* @throws {RequiredError}
|
|
9204
9520
|
*/
|
|
9205
|
-
|
|
9521
|
+
mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9206
9522
|
/**
|
|
9207
|
-
*
|
|
9208
|
-
* @summary
|
|
9209
|
-
* @param {
|
|
9523
|
+
*
|
|
9524
|
+
* @summary CreateRBACUser
|
|
9525
|
+
* @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
|
|
9210
9526
|
* @param {*} [options] Override http request option.
|
|
9211
9527
|
* @throws {RequiredError}
|
|
9212
9528
|
*/
|
|
9213
|
-
|
|
9529
|
+
mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9214
9530
|
/**
|
|
9215
|
-
*
|
|
9216
|
-
* @summary
|
|
9217
|
-
* @param {
|
|
9531
|
+
*
|
|
9532
|
+
* @summary DeleteRBACRole
|
|
9533
|
+
* @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
|
|
9218
9534
|
* @param {*} [options] Override http request option.
|
|
9219
9535
|
* @throws {RequiredError}
|
|
9220
9536
|
*/
|
|
9221
|
-
|
|
9537
|
+
mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9222
9538
|
/**
|
|
9223
|
-
*
|
|
9224
|
-
* @summary
|
|
9225
|
-
* @param {
|
|
9539
|
+
*
|
|
9540
|
+
* @summary DeleteRBACUser
|
|
9541
|
+
* @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
|
|
9226
9542
|
* @param {*} [options] Override http request option.
|
|
9227
9543
|
* @throws {RequiredError}
|
|
9228
9544
|
*/
|
|
9229
|
-
|
|
9545
|
+
mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9230
9546
|
/**
|
|
9231
9547
|
*
|
|
9232
|
-
* @summary
|
|
9233
|
-
* @param {
|
|
9548
|
+
* @summary GetRBACCapabilities
|
|
9549
|
+
* @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
|
|
9234
9550
|
* @param {*} [options] Override http request option.
|
|
9235
9551
|
* @throws {RequiredError}
|
|
9236
9552
|
*/
|
|
9237
|
-
|
|
9553
|
+
mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities>;
|
|
9238
9554
|
/**
|
|
9239
9555
|
*
|
|
9240
|
-
* @summary
|
|
9241
|
-
* @param {
|
|
9556
|
+
* @summary GetRBACRole
|
|
9557
|
+
* @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
|
|
9242
9558
|
* @param {*} [options] Override http request option.
|
|
9243
9559
|
* @throws {RequiredError}
|
|
9244
9560
|
*/
|
|
9245
|
-
|
|
9561
|
+
mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole>;
|
|
9246
9562
|
/**
|
|
9247
9563
|
*
|
|
9248
|
-
* @summary
|
|
9249
|
-
* @param {
|
|
9564
|
+
* @summary GetRBACUser
|
|
9565
|
+
* @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
|
|
9250
9566
|
* @param {*} [options] Override http request option.
|
|
9251
9567
|
* @throws {RequiredError}
|
|
9252
9568
|
*/
|
|
9253
|
-
|
|
9569
|
+
mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser>;
|
|
9254
9570
|
/**
|
|
9255
9571
|
*
|
|
9256
|
-
* @summary
|
|
9257
|
-
* @param {
|
|
9572
|
+
* @summary ListRBACRoles
|
|
9573
|
+
* @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
|
|
9258
9574
|
* @param {*} [options] Override http request option.
|
|
9259
9575
|
* @throws {RequiredError}
|
|
9260
9576
|
*/
|
|
9261
|
-
|
|
9577
|
+
mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>>;
|
|
9262
9578
|
/**
|
|
9263
9579
|
*
|
|
9264
|
-
* @summary
|
|
9265
|
-
* @param {
|
|
9580
|
+
* @summary ListRBACUsers
|
|
9581
|
+
* @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
|
|
9266
9582
|
* @param {*} [options] Override http request option.
|
|
9267
9583
|
* @throws {RequiredError}
|
|
9268
9584
|
*/
|
|
9269
|
-
|
|
9585
|
+
mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>>;
|
|
9270
9586
|
/**
|
|
9271
|
-
*
|
|
9272
|
-
* @summary
|
|
9273
|
-
* @param {
|
|
9587
|
+
*
|
|
9588
|
+
* @summary UpdateRBACRole
|
|
9589
|
+
* @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
|
|
9274
9590
|
* @param {*} [options] Override http request option.
|
|
9275
9591
|
* @throws {RequiredError}
|
|
9276
9592
|
*/
|
|
9277
|
-
|
|
9593
|
+
mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9278
9594
|
/**
|
|
9279
|
-
*
|
|
9280
|
-
* @summary
|
|
9595
|
+
* partially update the specified apikey
|
|
9596
|
+
* @summary Update apikey information
|
|
9597
|
+
* @param {SharedApiPatchAPIkeyRequest} requestParameters Request parameters.
|
|
9598
|
+
* @param {*} [options] Override http request option.
|
|
9599
|
+
* @throws {RequiredError}
|
|
9600
|
+
*/
|
|
9601
|
+
patchAPIkey(requestParameters: SharedApiPatchAPIkeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Apikey>;
|
|
9602
|
+
/**
|
|
9603
|
+
* Update the specified Cluster
|
|
9604
|
+
* @summary Update cluster specified fields
|
|
9605
|
+
* @param {SharedApiPatchClusterRequest} requestParameters Request parameters.
|
|
9606
|
+
* @param {*} [options] Override http request option.
|
|
9607
|
+
* @throws {RequiredError}
|
|
9608
|
+
*/
|
|
9609
|
+
patchCluster(requestParameters: SharedApiPatchClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
9610
|
+
/**
|
|
9611
|
+
* partially update the specified Org
|
|
9612
|
+
* @summary Update organization
|
|
9613
|
+
* @param {SharedApiPatchOrgRequest} requestParameters Request parameters.
|
|
9614
|
+
* @param {*} [options] Override http request option.
|
|
9615
|
+
* @throws {RequiredError}
|
|
9616
|
+
*/
|
|
9617
|
+
patchOrg(requestParameters: SharedApiPatchOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org>;
|
|
9618
|
+
/**
|
|
9619
|
+
* Only authenticated organization admins can update the member\'s role
|
|
9620
|
+
* @summary Update member role
|
|
9621
|
+
* @param {SharedApiPatchOrgMemberRequest} requestParameters Request parameters.
|
|
9622
|
+
* @param {*} [options] Override http request option.
|
|
9623
|
+
* @throws {RequiredError}
|
|
9624
|
+
*/
|
|
9625
|
+
patchOrgMember(requestParameters: SharedApiPatchOrgMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgMember>;
|
|
9626
|
+
/**
|
|
9627
|
+
* Update a parameter of an organization
|
|
9628
|
+
* @summary Update a parameter of an organization
|
|
9629
|
+
* @param {SharedApiPatchOrgParameterRequest} requestParameters Request parameters.
|
|
9630
|
+
* @param {*} [options] Override http request option.
|
|
9631
|
+
* @throws {RequiredError}
|
|
9632
|
+
*/
|
|
9633
|
+
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
|
|
9634
|
+
/**
|
|
9635
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
9636
|
+
* @summary Preview clearing explicit account privileges
|
|
9637
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
9638
|
+
* @param {*} [options] Override http request option.
|
|
9639
|
+
* @throws {RequiredError}
|
|
9640
|
+
*/
|
|
9641
|
+
previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
|
|
9642
|
+
/**
|
|
9643
|
+
*
|
|
9644
|
+
* @summary Produce message to topic
|
|
9645
|
+
* @param {SharedApiProduceKafkaTopicMessageRequest} requestParameters Request parameters.
|
|
9646
|
+
* @param {*} [options] Override http request option.
|
|
9647
|
+
* @throws {RequiredError}
|
|
9648
|
+
*/
|
|
9649
|
+
produceKafkaTopicMessage(requestParameters: SharedApiProduceKafkaTopicMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
9650
|
+
/**
|
|
9651
|
+
*
|
|
9652
|
+
* @summary Promote cluster intance to primary
|
|
9653
|
+
* @param {SharedApiPromoteClusterRequest} requestParameters Request parameters.
|
|
9654
|
+
* @param {*} [options] Override http request option.
|
|
9655
|
+
* @throws {RequiredError}
|
|
9656
|
+
*/
|
|
9657
|
+
promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
9658
|
+
/**
|
|
9659
|
+
*
|
|
9660
|
+
* @summary Create or update Elasticsearch security role
|
|
9661
|
+
* @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
|
|
9662
|
+
* @param {*} [options] Override http request option.
|
|
9663
|
+
* @throws {RequiredError}
|
|
9664
|
+
*/
|
|
9665
|
+
putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9666
|
+
/**
|
|
9667
|
+
*
|
|
9668
|
+
* @summary Create or update Elasticsearch security role mapping
|
|
9669
|
+
* @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
|
|
9670
|
+
* @param {*} [options] Override http request option.
|
|
9671
|
+
* @throws {RequiredError}
|
|
9672
|
+
*/
|
|
9673
|
+
putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9674
|
+
/**
|
|
9675
|
+
*
|
|
9676
|
+
* @summary Create or update Elasticsearch security user
|
|
9677
|
+
* @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
|
|
9678
|
+
* @param {*} [options] Override http request option.
|
|
9679
|
+
* @throws {RequiredError}
|
|
9680
|
+
*/
|
|
9681
|
+
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9682
|
+
/**
|
|
9683
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
9684
|
+
* @summary putSeaweedFSPolicy
|
|
9685
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
9686
|
+
* @param {*} [options] Override http request option.
|
|
9687
|
+
* @throws {RequiredError}
|
|
9688
|
+
*/
|
|
9689
|
+
putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9690
|
+
/**
|
|
9691
|
+
*
|
|
9692
|
+
* @summary create a SQL query
|
|
9281
9693
|
* @param {SharedApiQueryRequest} requestParameters Request parameters.
|
|
9282
9694
|
* @param {*} [options] Override http request option.
|
|
9283
9695
|
* @throws {RequiredError}
|
|
@@ -9451,8 +9863,8 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
|
|
|
9451
9863
|
*/
|
|
9452
9864
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
9453
9865
|
/**
|
|
9454
|
-
* MySQL
|
|
9455
|
-
* @summary Clear
|
|
9866
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
9867
|
+
* @summary Clear explicit account privileges
|
|
9456
9868
|
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
9457
9869
|
* @param {*} [options] Override http request option.
|
|
9458
9870
|
* @throws {RequiredError}
|
|
@@ -10811,6 +11223,15 @@ export interface SharedApiInterface {
|
|
|
10811
11223
|
* @memberof SharedApiInterface
|
|
10812
11224
|
*/
|
|
10813
11225
|
getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
|
|
11226
|
+
/**
|
|
11227
|
+
* Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
|
|
11228
|
+
* @summary Read native account privilege summary or selected database evidence
|
|
11229
|
+
* @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
|
|
11230
|
+
* @param {*} [options] Override http request option.
|
|
11231
|
+
* @throws {RequiredError}
|
|
11232
|
+
* @memberof SharedApiInterface
|
|
11233
|
+
*/
|
|
11234
|
+
getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>>;
|
|
10814
11235
|
/**
|
|
10815
11236
|
*
|
|
10816
11237
|
* @summary Get alert config
|
|
@@ -11352,7 +11773,7 @@ export interface SharedApiInterface {
|
|
|
11352
11773
|
*/
|
|
11353
11774
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
11354
11775
|
/**
|
|
11355
|
-
* Read MySQL
|
|
11776
|
+
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
11356
11777
|
* @summary List exact column names for account object privileges
|
|
11357
11778
|
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
11358
11779
|
* @param {*} [options] Override http request option.
|
|
@@ -11985,6 +12406,114 @@ export interface SharedApiInterface {
|
|
|
11985
12406
|
* @memberof SharedApiInterface
|
|
11986
12407
|
*/
|
|
11987
12408
|
markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12409
|
+
/**
|
|
12410
|
+
*
|
|
12411
|
+
* @summary ChangeRBACUserPassword
|
|
12412
|
+
* @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
|
|
12413
|
+
* @param {*} [options] Override http request option.
|
|
12414
|
+
* @throws {RequiredError}
|
|
12415
|
+
* @memberof SharedApiInterface
|
|
12416
|
+
*/
|
|
12417
|
+
mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12418
|
+
/**
|
|
12419
|
+
*
|
|
12420
|
+
* @summary ChangeRBACUserRoles
|
|
12421
|
+
* @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
|
|
12422
|
+
* @param {*} [options] Override http request option.
|
|
12423
|
+
* @throws {RequiredError}
|
|
12424
|
+
* @memberof SharedApiInterface
|
|
12425
|
+
*/
|
|
12426
|
+
mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12427
|
+
/**
|
|
12428
|
+
*
|
|
12429
|
+
* @summary CreateRBACRole
|
|
12430
|
+
* @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
|
|
12431
|
+
* @param {*} [options] Override http request option.
|
|
12432
|
+
* @throws {RequiredError}
|
|
12433
|
+
* @memberof SharedApiInterface
|
|
12434
|
+
*/
|
|
12435
|
+
mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12436
|
+
/**
|
|
12437
|
+
*
|
|
12438
|
+
* @summary CreateRBACUser
|
|
12439
|
+
* @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
|
|
12440
|
+
* @param {*} [options] Override http request option.
|
|
12441
|
+
* @throws {RequiredError}
|
|
12442
|
+
* @memberof SharedApiInterface
|
|
12443
|
+
*/
|
|
12444
|
+
mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12445
|
+
/**
|
|
12446
|
+
*
|
|
12447
|
+
* @summary DeleteRBACRole
|
|
12448
|
+
* @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
|
|
12449
|
+
* @param {*} [options] Override http request option.
|
|
12450
|
+
* @throws {RequiredError}
|
|
12451
|
+
* @memberof SharedApiInterface
|
|
12452
|
+
*/
|
|
12453
|
+
mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12454
|
+
/**
|
|
12455
|
+
*
|
|
12456
|
+
* @summary DeleteRBACUser
|
|
12457
|
+
* @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
|
|
12458
|
+
* @param {*} [options] Override http request option.
|
|
12459
|
+
* @throws {RequiredError}
|
|
12460
|
+
* @memberof SharedApiInterface
|
|
12461
|
+
*/
|
|
12462
|
+
mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12463
|
+
/**
|
|
12464
|
+
*
|
|
12465
|
+
* @summary GetRBACCapabilities
|
|
12466
|
+
* @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
|
|
12467
|
+
* @param {*} [options] Override http request option.
|
|
12468
|
+
* @throws {RequiredError}
|
|
12469
|
+
* @memberof SharedApiInterface
|
|
12470
|
+
*/
|
|
12471
|
+
mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities>;
|
|
12472
|
+
/**
|
|
12473
|
+
*
|
|
12474
|
+
* @summary GetRBACRole
|
|
12475
|
+
* @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
|
|
12476
|
+
* @param {*} [options] Override http request option.
|
|
12477
|
+
* @throws {RequiredError}
|
|
12478
|
+
* @memberof SharedApiInterface
|
|
12479
|
+
*/
|
|
12480
|
+
mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole>;
|
|
12481
|
+
/**
|
|
12482
|
+
*
|
|
12483
|
+
* @summary GetRBACUser
|
|
12484
|
+
* @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
|
|
12485
|
+
* @param {*} [options] Override http request option.
|
|
12486
|
+
* @throws {RequiredError}
|
|
12487
|
+
* @memberof SharedApiInterface
|
|
12488
|
+
*/
|
|
12489
|
+
mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser>;
|
|
12490
|
+
/**
|
|
12491
|
+
*
|
|
12492
|
+
* @summary ListRBACRoles
|
|
12493
|
+
* @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
|
|
12494
|
+
* @param {*} [options] Override http request option.
|
|
12495
|
+
* @throws {RequiredError}
|
|
12496
|
+
* @memberof SharedApiInterface
|
|
12497
|
+
*/
|
|
12498
|
+
mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>>;
|
|
12499
|
+
/**
|
|
12500
|
+
*
|
|
12501
|
+
* @summary ListRBACUsers
|
|
12502
|
+
* @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
|
|
12503
|
+
* @param {*} [options] Override http request option.
|
|
12504
|
+
* @throws {RequiredError}
|
|
12505
|
+
* @memberof SharedApiInterface
|
|
12506
|
+
*/
|
|
12507
|
+
mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>>;
|
|
12508
|
+
/**
|
|
12509
|
+
*
|
|
12510
|
+
* @summary UpdateRBACRole
|
|
12511
|
+
* @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
|
|
12512
|
+
* @param {*} [options] Override http request option.
|
|
12513
|
+
* @throws {RequiredError}
|
|
12514
|
+
* @memberof SharedApiInterface
|
|
12515
|
+
*/
|
|
12516
|
+
mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
11988
12517
|
/**
|
|
11989
12518
|
* partially update the specified apikey
|
|
11990
12519
|
* @summary Update apikey information
|
|
@@ -12031,8 +12560,8 @@ export interface SharedApiInterface {
|
|
|
12031
12560
|
*/
|
|
12032
12561
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
|
|
12033
12562
|
/**
|
|
12034
|
-
* MySQL
|
|
12035
|
-
* @summary Preview clearing
|
|
12563
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
12564
|
+
* @summary Preview clearing explicit account privileges
|
|
12036
12565
|
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
12037
12566
|
* @param {*} [options] Override http request option.
|
|
12038
12567
|
* @throws {RequiredError}
|
|
@@ -12291,8 +12820,8 @@ export interface SharedApiInterface {
|
|
|
12291
12820
|
*/
|
|
12292
12821
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
12293
12822
|
/**
|
|
12294
|
-
* MySQL
|
|
12295
|
-
* @summary Clear
|
|
12823
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
12824
|
+
* @summary Clear explicit account privileges
|
|
12296
12825
|
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
12297
12826
|
* @param {*} [options] Override http request option.
|
|
12298
12827
|
* @throws {RequiredError}
|
|
@@ -15877,6 +16406,61 @@ export interface SharedApiGetAccountObjectPrivilegesRequest {
|
|
|
15877
16406
|
*/
|
|
15878
16407
|
readonly subjectQualifiers?: string;
|
|
15879
16408
|
}
|
|
16409
|
+
/**
|
|
16410
|
+
* Request parameters for getAccountPrivilegeOverview operation in SharedApi.
|
|
16411
|
+
* @export
|
|
16412
|
+
* @interface SharedApiGetAccountPrivilegeOverviewRequest
|
|
16413
|
+
*/
|
|
16414
|
+
export interface SharedApiGetAccountPrivilegeOverviewRequest {
|
|
16415
|
+
/**
|
|
16416
|
+
*
|
|
16417
|
+
* @type {string}
|
|
16418
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16419
|
+
*/
|
|
16420
|
+
readonly engineName: string;
|
|
16421
|
+
/**
|
|
16422
|
+
*
|
|
16423
|
+
* @type {string}
|
|
16424
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16425
|
+
*/
|
|
16426
|
+
readonly orgName: string;
|
|
16427
|
+
/**
|
|
16428
|
+
*
|
|
16429
|
+
* @type {string}
|
|
16430
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16431
|
+
*/
|
|
16432
|
+
readonly clusterName: string;
|
|
16433
|
+
/**
|
|
16434
|
+
*
|
|
16435
|
+
* @type {string}
|
|
16436
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16437
|
+
*/
|
|
16438
|
+
readonly accountName: string;
|
|
16439
|
+
/**
|
|
16440
|
+
* Native subject kind; path account name identifies the subject.
|
|
16441
|
+
* @type {ObjectPrivilegeSubjectType}
|
|
16442
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16443
|
+
*/
|
|
16444
|
+
readonly subjectType?: ObjectPrivilegeSubjectType;
|
|
16445
|
+
/**
|
|
16446
|
+
* Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
16447
|
+
* @type {string}
|
|
16448
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16449
|
+
*/
|
|
16450
|
+
readonly host?: string;
|
|
16451
|
+
/**
|
|
16452
|
+
*
|
|
16453
|
+
* @type {string}
|
|
16454
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16455
|
+
*/
|
|
16456
|
+
readonly subjectQualifiers?: string;
|
|
16457
|
+
/**
|
|
16458
|
+
* PostgreSQL database to inspect on demand. Omit for the global summary.
|
|
16459
|
+
* @type {string}
|
|
16460
|
+
* @memberof SharedApiGetAccountPrivilegeOverview
|
|
16461
|
+
*/
|
|
16462
|
+
readonly databaseName?: string;
|
|
16463
|
+
}
|
|
15880
16464
|
/**
|
|
15881
16465
|
* Request parameters for getAlertConfig operation in SharedApi.
|
|
15882
16466
|
* @export
|
|
@@ -17708,7 +18292,7 @@ export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
|
|
|
17708
18292
|
*/
|
|
17709
18293
|
readonly accountName: string;
|
|
17710
18294
|
/**
|
|
17711
|
-
* Object type,
|
|
18295
|
+
* Object type, table/view; PostgreSQL also supports materializedView/foreignTable
|
|
17712
18296
|
* @type {string}
|
|
17713
18297
|
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
17714
18298
|
*/
|
|
@@ -17725,6 +18309,12 @@ export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
|
|
|
17725
18309
|
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
17726
18310
|
*/
|
|
17727
18311
|
readonly objectName: string;
|
|
18312
|
+
/**
|
|
18313
|
+
* Required for PostgreSQL; not accepted for MySQL
|
|
18314
|
+
* @type {string}
|
|
18315
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
18316
|
+
*/
|
|
18317
|
+
readonly schemaName?: string;
|
|
17728
18318
|
}
|
|
17729
18319
|
/**
|
|
17730
18320
|
* Request parameters for listAccountObjectPrivilegeObjects operation in SharedApi.
|
|
@@ -19437,55 +20027,415 @@ export interface SharedApiMarkClusterRestoreCompletedRequest {
|
|
|
19437
20027
|
readonly clusterName: string;
|
|
19438
20028
|
}
|
|
19439
20029
|
/**
|
|
19440
|
-
* Request parameters for
|
|
20030
|
+
* Request parameters for mongoChangeRBACUserPassword operation in SharedApi.
|
|
19441
20031
|
* @export
|
|
19442
|
-
* @interface
|
|
20032
|
+
* @interface SharedApiMongoChangeRBACUserPasswordRequest
|
|
19443
20033
|
*/
|
|
19444
|
-
export interface
|
|
20034
|
+
export interface SharedApiMongoChangeRBACUserPasswordRequest {
|
|
19445
20035
|
/**
|
|
19446
|
-
*
|
|
20036
|
+
*
|
|
19447
20037
|
* @type {string}
|
|
19448
|
-
* @memberof
|
|
20038
|
+
* @memberof SharedApiMongoChangeRBACUserPassword
|
|
19449
20039
|
*/
|
|
19450
|
-
readonly
|
|
20040
|
+
readonly orgName: string;
|
|
19451
20041
|
/**
|
|
19452
20042
|
*
|
|
19453
|
-
* @type {
|
|
19454
|
-
* @memberof
|
|
20043
|
+
* @type {string}
|
|
20044
|
+
* @memberof SharedApiMongoChangeRBACUserPassword
|
|
19455
20045
|
*/
|
|
19456
|
-
readonly
|
|
19457
|
-
}
|
|
19458
|
-
/**
|
|
19459
|
-
* Request parameters for patchCluster operation in SharedApi.
|
|
19460
|
-
* @export
|
|
19461
|
-
* @interface SharedApiPatchClusterRequest
|
|
19462
|
-
*/
|
|
19463
|
-
export interface SharedApiPatchClusterRequest {
|
|
20046
|
+
readonly clusterName: string;
|
|
19464
20047
|
/**
|
|
19465
|
-
*
|
|
20048
|
+
*
|
|
19466
20049
|
* @type {string}
|
|
19467
|
-
* @memberof
|
|
20050
|
+
* @memberof SharedApiMongoChangeRBACUserPassword
|
|
19468
20051
|
*/
|
|
19469
|
-
readonly
|
|
20052
|
+
readonly database: string;
|
|
19470
20053
|
/**
|
|
19471
|
-
*
|
|
20054
|
+
*
|
|
19472
20055
|
* @type {string}
|
|
19473
|
-
* @memberof
|
|
20056
|
+
* @memberof SharedApiMongoChangeRBACUserPassword
|
|
19474
20057
|
*/
|
|
19475
|
-
readonly
|
|
20058
|
+
readonly username: string;
|
|
19476
20059
|
/**
|
|
19477
20060
|
*
|
|
19478
|
-
* @type {
|
|
19479
|
-
* @memberof
|
|
20061
|
+
* @type {MongoRBACPasswordChange}
|
|
20062
|
+
* @memberof SharedApiMongoChangeRBACUserPassword
|
|
19480
20063
|
*/
|
|
19481
|
-
readonly
|
|
20064
|
+
readonly mongoRBACPasswordChange: MongoRBACPasswordChange;
|
|
19482
20065
|
}
|
|
19483
20066
|
/**
|
|
19484
|
-
* Request parameters for
|
|
20067
|
+
* Request parameters for mongoChangeRBACUserRoles operation in SharedApi.
|
|
19485
20068
|
* @export
|
|
19486
|
-
* @interface
|
|
20069
|
+
* @interface SharedApiMongoChangeRBACUserRolesRequest
|
|
19487
20070
|
*/
|
|
19488
|
-
export interface
|
|
20071
|
+
export interface SharedApiMongoChangeRBACUserRolesRequest {
|
|
20072
|
+
/**
|
|
20073
|
+
*
|
|
20074
|
+
* @type {string}
|
|
20075
|
+
* @memberof SharedApiMongoChangeRBACUserRoles
|
|
20076
|
+
*/
|
|
20077
|
+
readonly orgName: string;
|
|
20078
|
+
/**
|
|
20079
|
+
*
|
|
20080
|
+
* @type {string}
|
|
20081
|
+
* @memberof SharedApiMongoChangeRBACUserRoles
|
|
20082
|
+
*/
|
|
20083
|
+
readonly clusterName: string;
|
|
20084
|
+
/**
|
|
20085
|
+
*
|
|
20086
|
+
* @type {string}
|
|
20087
|
+
* @memberof SharedApiMongoChangeRBACUserRoles
|
|
20088
|
+
*/
|
|
20089
|
+
readonly database: string;
|
|
20090
|
+
/**
|
|
20091
|
+
*
|
|
20092
|
+
* @type {string}
|
|
20093
|
+
* @memberof SharedApiMongoChangeRBACUserRoles
|
|
20094
|
+
*/
|
|
20095
|
+
readonly username: string;
|
|
20096
|
+
/**
|
|
20097
|
+
*
|
|
20098
|
+
* @type {MongoRBACBindingChange}
|
|
20099
|
+
* @memberof SharedApiMongoChangeRBACUserRoles
|
|
20100
|
+
*/
|
|
20101
|
+
readonly mongoRBACBindingChange: MongoRBACBindingChange;
|
|
20102
|
+
}
|
|
20103
|
+
/**
|
|
20104
|
+
* Request parameters for mongoCreateRBACRole operation in SharedApi.
|
|
20105
|
+
* @export
|
|
20106
|
+
* @interface SharedApiMongoCreateRBACRoleRequest
|
|
20107
|
+
*/
|
|
20108
|
+
export interface SharedApiMongoCreateRBACRoleRequest {
|
|
20109
|
+
/**
|
|
20110
|
+
*
|
|
20111
|
+
* @type {string}
|
|
20112
|
+
* @memberof SharedApiMongoCreateRBACRole
|
|
20113
|
+
*/
|
|
20114
|
+
readonly orgName: string;
|
|
20115
|
+
/**
|
|
20116
|
+
*
|
|
20117
|
+
* @type {string}
|
|
20118
|
+
* @memberof SharedApiMongoCreateRBACRole
|
|
20119
|
+
*/
|
|
20120
|
+
readonly clusterName: string;
|
|
20121
|
+
/**
|
|
20122
|
+
*
|
|
20123
|
+
* @type {MongoRBACRoleWrite}
|
|
20124
|
+
* @memberof SharedApiMongoCreateRBACRole
|
|
20125
|
+
*/
|
|
20126
|
+
readonly mongoRBACRoleWrite: MongoRBACRoleWrite;
|
|
20127
|
+
}
|
|
20128
|
+
/**
|
|
20129
|
+
* Request parameters for mongoCreateRBACUser operation in SharedApi.
|
|
20130
|
+
* @export
|
|
20131
|
+
* @interface SharedApiMongoCreateRBACUserRequest
|
|
20132
|
+
*/
|
|
20133
|
+
export interface SharedApiMongoCreateRBACUserRequest {
|
|
20134
|
+
/**
|
|
20135
|
+
*
|
|
20136
|
+
* @type {string}
|
|
20137
|
+
* @memberof SharedApiMongoCreateRBACUser
|
|
20138
|
+
*/
|
|
20139
|
+
readonly orgName: string;
|
|
20140
|
+
/**
|
|
20141
|
+
*
|
|
20142
|
+
* @type {string}
|
|
20143
|
+
* @memberof SharedApiMongoCreateRBACUser
|
|
20144
|
+
*/
|
|
20145
|
+
readonly clusterName: string;
|
|
20146
|
+
/**
|
|
20147
|
+
*
|
|
20148
|
+
* @type {MongoRBACUserCreate}
|
|
20149
|
+
* @memberof SharedApiMongoCreateRBACUser
|
|
20150
|
+
*/
|
|
20151
|
+
readonly mongoRBACUserCreate: MongoRBACUserCreate;
|
|
20152
|
+
}
|
|
20153
|
+
/**
|
|
20154
|
+
* Request parameters for mongoDeleteRBACRole operation in SharedApi.
|
|
20155
|
+
* @export
|
|
20156
|
+
* @interface SharedApiMongoDeleteRBACRoleRequest
|
|
20157
|
+
*/
|
|
20158
|
+
export interface SharedApiMongoDeleteRBACRoleRequest {
|
|
20159
|
+
/**
|
|
20160
|
+
*
|
|
20161
|
+
* @type {string}
|
|
20162
|
+
* @memberof SharedApiMongoDeleteRBACRole
|
|
20163
|
+
*/
|
|
20164
|
+
readonly orgName: string;
|
|
20165
|
+
/**
|
|
20166
|
+
*
|
|
20167
|
+
* @type {string}
|
|
20168
|
+
* @memberof SharedApiMongoDeleteRBACRole
|
|
20169
|
+
*/
|
|
20170
|
+
readonly clusterName: string;
|
|
20171
|
+
/**
|
|
20172
|
+
*
|
|
20173
|
+
* @type {string}
|
|
20174
|
+
* @memberof SharedApiMongoDeleteRBACRole
|
|
20175
|
+
*/
|
|
20176
|
+
readonly database: string;
|
|
20177
|
+
/**
|
|
20178
|
+
*
|
|
20179
|
+
* @type {string}
|
|
20180
|
+
* @memberof SharedApiMongoDeleteRBACRole
|
|
20181
|
+
*/
|
|
20182
|
+
readonly roleName: string;
|
|
20183
|
+
/**
|
|
20184
|
+
*
|
|
20185
|
+
* @type {string}
|
|
20186
|
+
* @memberof SharedApiMongoDeleteRBACRole
|
|
20187
|
+
*/
|
|
20188
|
+
readonly expectedRevision: string;
|
|
20189
|
+
}
|
|
20190
|
+
/**
|
|
20191
|
+
* Request parameters for mongoDeleteRBACUser operation in SharedApi.
|
|
20192
|
+
* @export
|
|
20193
|
+
* @interface SharedApiMongoDeleteRBACUserRequest
|
|
20194
|
+
*/
|
|
20195
|
+
export interface SharedApiMongoDeleteRBACUserRequest {
|
|
20196
|
+
/**
|
|
20197
|
+
*
|
|
20198
|
+
* @type {string}
|
|
20199
|
+
* @memberof SharedApiMongoDeleteRBACUser
|
|
20200
|
+
*/
|
|
20201
|
+
readonly orgName: string;
|
|
20202
|
+
/**
|
|
20203
|
+
*
|
|
20204
|
+
* @type {string}
|
|
20205
|
+
* @memberof SharedApiMongoDeleteRBACUser
|
|
20206
|
+
*/
|
|
20207
|
+
readonly clusterName: string;
|
|
20208
|
+
/**
|
|
20209
|
+
*
|
|
20210
|
+
* @type {string}
|
|
20211
|
+
* @memberof SharedApiMongoDeleteRBACUser
|
|
20212
|
+
*/
|
|
20213
|
+
readonly database: string;
|
|
20214
|
+
/**
|
|
20215
|
+
*
|
|
20216
|
+
* @type {string}
|
|
20217
|
+
* @memberof SharedApiMongoDeleteRBACUser
|
|
20218
|
+
*/
|
|
20219
|
+
readonly username: string;
|
|
20220
|
+
}
|
|
20221
|
+
/**
|
|
20222
|
+
* Request parameters for mongoGetRBACCapabilities operation in SharedApi.
|
|
20223
|
+
* @export
|
|
20224
|
+
* @interface SharedApiMongoGetRBACCapabilitiesRequest
|
|
20225
|
+
*/
|
|
20226
|
+
export interface SharedApiMongoGetRBACCapabilitiesRequest {
|
|
20227
|
+
/**
|
|
20228
|
+
*
|
|
20229
|
+
* @type {string}
|
|
20230
|
+
* @memberof SharedApiMongoGetRBACCapabilities
|
|
20231
|
+
*/
|
|
20232
|
+
readonly orgName: string;
|
|
20233
|
+
/**
|
|
20234
|
+
*
|
|
20235
|
+
* @type {string}
|
|
20236
|
+
* @memberof SharedApiMongoGetRBACCapabilities
|
|
20237
|
+
*/
|
|
20238
|
+
readonly clusterName: string;
|
|
20239
|
+
}
|
|
20240
|
+
/**
|
|
20241
|
+
* Request parameters for mongoGetRBACRole operation in SharedApi.
|
|
20242
|
+
* @export
|
|
20243
|
+
* @interface SharedApiMongoGetRBACRoleRequest
|
|
20244
|
+
*/
|
|
20245
|
+
export interface SharedApiMongoGetRBACRoleRequest {
|
|
20246
|
+
/**
|
|
20247
|
+
*
|
|
20248
|
+
* @type {string}
|
|
20249
|
+
* @memberof SharedApiMongoGetRBACRole
|
|
20250
|
+
*/
|
|
20251
|
+
readonly orgName: string;
|
|
20252
|
+
/**
|
|
20253
|
+
*
|
|
20254
|
+
* @type {string}
|
|
20255
|
+
* @memberof SharedApiMongoGetRBACRole
|
|
20256
|
+
*/
|
|
20257
|
+
readonly clusterName: string;
|
|
20258
|
+
/**
|
|
20259
|
+
*
|
|
20260
|
+
* @type {string}
|
|
20261
|
+
* @memberof SharedApiMongoGetRBACRole
|
|
20262
|
+
*/
|
|
20263
|
+
readonly database: string;
|
|
20264
|
+
/**
|
|
20265
|
+
*
|
|
20266
|
+
* @type {string}
|
|
20267
|
+
* @memberof SharedApiMongoGetRBACRole
|
|
20268
|
+
*/
|
|
20269
|
+
readonly roleName: string;
|
|
20270
|
+
}
|
|
20271
|
+
/**
|
|
20272
|
+
* Request parameters for mongoGetRBACUser operation in SharedApi.
|
|
20273
|
+
* @export
|
|
20274
|
+
* @interface SharedApiMongoGetRBACUserRequest
|
|
20275
|
+
*/
|
|
20276
|
+
export interface SharedApiMongoGetRBACUserRequest {
|
|
20277
|
+
/**
|
|
20278
|
+
*
|
|
20279
|
+
* @type {string}
|
|
20280
|
+
* @memberof SharedApiMongoGetRBACUser
|
|
20281
|
+
*/
|
|
20282
|
+
readonly orgName: string;
|
|
20283
|
+
/**
|
|
20284
|
+
*
|
|
20285
|
+
* @type {string}
|
|
20286
|
+
* @memberof SharedApiMongoGetRBACUser
|
|
20287
|
+
*/
|
|
20288
|
+
readonly clusterName: string;
|
|
20289
|
+
/**
|
|
20290
|
+
*
|
|
20291
|
+
* @type {string}
|
|
20292
|
+
* @memberof SharedApiMongoGetRBACUser
|
|
20293
|
+
*/
|
|
20294
|
+
readonly database: string;
|
|
20295
|
+
/**
|
|
20296
|
+
*
|
|
20297
|
+
* @type {string}
|
|
20298
|
+
* @memberof SharedApiMongoGetRBACUser
|
|
20299
|
+
*/
|
|
20300
|
+
readonly username: string;
|
|
20301
|
+
}
|
|
20302
|
+
/**
|
|
20303
|
+
* Request parameters for mongoListRBACRoles operation in SharedApi.
|
|
20304
|
+
* @export
|
|
20305
|
+
* @interface SharedApiMongoListRBACRolesRequest
|
|
20306
|
+
*/
|
|
20307
|
+
export interface SharedApiMongoListRBACRolesRequest {
|
|
20308
|
+
/**
|
|
20309
|
+
*
|
|
20310
|
+
* @type {string}
|
|
20311
|
+
* @memberof SharedApiMongoListRBACRoles
|
|
20312
|
+
*/
|
|
20313
|
+
readonly orgName: string;
|
|
20314
|
+
/**
|
|
20315
|
+
*
|
|
20316
|
+
* @type {string}
|
|
20317
|
+
* @memberof SharedApiMongoListRBACRoles
|
|
20318
|
+
*/
|
|
20319
|
+
readonly clusterName: string;
|
|
20320
|
+
/**
|
|
20321
|
+
*
|
|
20322
|
+
* @type {string}
|
|
20323
|
+
* @memberof SharedApiMongoListRBACRoles
|
|
20324
|
+
*/
|
|
20325
|
+
readonly database?: string;
|
|
20326
|
+
}
|
|
20327
|
+
/**
|
|
20328
|
+
* Request parameters for mongoListRBACUsers operation in SharedApi.
|
|
20329
|
+
* @export
|
|
20330
|
+
* @interface SharedApiMongoListRBACUsersRequest
|
|
20331
|
+
*/
|
|
20332
|
+
export interface SharedApiMongoListRBACUsersRequest {
|
|
20333
|
+
/**
|
|
20334
|
+
*
|
|
20335
|
+
* @type {string}
|
|
20336
|
+
* @memberof SharedApiMongoListRBACUsers
|
|
20337
|
+
*/
|
|
20338
|
+
readonly orgName: string;
|
|
20339
|
+
/**
|
|
20340
|
+
*
|
|
20341
|
+
* @type {string}
|
|
20342
|
+
* @memberof SharedApiMongoListRBACUsers
|
|
20343
|
+
*/
|
|
20344
|
+
readonly clusterName: string;
|
|
20345
|
+
/**
|
|
20346
|
+
*
|
|
20347
|
+
* @type {string}
|
|
20348
|
+
* @memberof SharedApiMongoListRBACUsers
|
|
20349
|
+
*/
|
|
20350
|
+
readonly database?: string;
|
|
20351
|
+
}
|
|
20352
|
+
/**
|
|
20353
|
+
* Request parameters for mongoUpdateRBACRole operation in SharedApi.
|
|
20354
|
+
* @export
|
|
20355
|
+
* @interface SharedApiMongoUpdateRBACRoleRequest
|
|
20356
|
+
*/
|
|
20357
|
+
export interface SharedApiMongoUpdateRBACRoleRequest {
|
|
20358
|
+
/**
|
|
20359
|
+
*
|
|
20360
|
+
* @type {string}
|
|
20361
|
+
* @memberof SharedApiMongoUpdateRBACRole
|
|
20362
|
+
*/
|
|
20363
|
+
readonly orgName: string;
|
|
20364
|
+
/**
|
|
20365
|
+
*
|
|
20366
|
+
* @type {string}
|
|
20367
|
+
* @memberof SharedApiMongoUpdateRBACRole
|
|
20368
|
+
*/
|
|
20369
|
+
readonly clusterName: string;
|
|
20370
|
+
/**
|
|
20371
|
+
*
|
|
20372
|
+
* @type {string}
|
|
20373
|
+
* @memberof SharedApiMongoUpdateRBACRole
|
|
20374
|
+
*/
|
|
20375
|
+
readonly database: string;
|
|
20376
|
+
/**
|
|
20377
|
+
*
|
|
20378
|
+
* @type {string}
|
|
20379
|
+
* @memberof SharedApiMongoUpdateRBACRole
|
|
20380
|
+
*/
|
|
20381
|
+
readonly roleName: string;
|
|
20382
|
+
/**
|
|
20383
|
+
*
|
|
20384
|
+
* @type {MongoRBACRoleWrite}
|
|
20385
|
+
* @memberof SharedApiMongoUpdateRBACRole
|
|
20386
|
+
*/
|
|
20387
|
+
readonly mongoRBACRoleWrite: MongoRBACRoleWrite;
|
|
20388
|
+
}
|
|
20389
|
+
/**
|
|
20390
|
+
* Request parameters for patchAPIkey operation in SharedApi.
|
|
20391
|
+
* @export
|
|
20392
|
+
* @interface SharedApiPatchAPIkeyRequest
|
|
20393
|
+
*/
|
|
20394
|
+
export interface SharedApiPatchAPIkeyRequest {
|
|
20395
|
+
/**
|
|
20396
|
+
* Name of the apikey
|
|
20397
|
+
* @type {string}
|
|
20398
|
+
* @memberof SharedApiPatchAPIkey
|
|
20399
|
+
*/
|
|
20400
|
+
readonly keyName: string;
|
|
20401
|
+
/**
|
|
20402
|
+
*
|
|
20403
|
+
* @type {ApikeyCreate}
|
|
20404
|
+
* @memberof SharedApiPatchAPIkey
|
|
20405
|
+
*/
|
|
20406
|
+
readonly body: ApikeyCreate;
|
|
20407
|
+
}
|
|
20408
|
+
/**
|
|
20409
|
+
* Request parameters for patchCluster operation in SharedApi.
|
|
20410
|
+
* @export
|
|
20411
|
+
* @interface SharedApiPatchClusterRequest
|
|
20412
|
+
*/
|
|
20413
|
+
export interface SharedApiPatchClusterRequest {
|
|
20414
|
+
/**
|
|
20415
|
+
* name of the Org
|
|
20416
|
+
* @type {string}
|
|
20417
|
+
* @memberof SharedApiPatchCluster
|
|
20418
|
+
*/
|
|
20419
|
+
readonly orgName: string;
|
|
20420
|
+
/**
|
|
20421
|
+
* name of the KubeBlocks cluster
|
|
20422
|
+
* @type {string}
|
|
20423
|
+
* @memberof SharedApiPatchCluster
|
|
20424
|
+
*/
|
|
20425
|
+
readonly clusterName: string;
|
|
20426
|
+
/**
|
|
20427
|
+
*
|
|
20428
|
+
* @type {ClusterUpdate}
|
|
20429
|
+
* @memberof SharedApiPatchCluster
|
|
20430
|
+
*/
|
|
20431
|
+
readonly body: ClusterUpdate;
|
|
20432
|
+
}
|
|
20433
|
+
/**
|
|
20434
|
+
* Request parameters for patchOrg operation in SharedApi.
|
|
20435
|
+
* @export
|
|
20436
|
+
* @interface SharedApiPatchOrgRequest
|
|
20437
|
+
*/
|
|
20438
|
+
export interface SharedApiPatchOrgRequest {
|
|
19489
20439
|
/**
|
|
19490
20440
|
* name of the Org
|
|
19491
20441
|
* @type {string}
|
|
@@ -19597,6 +20547,18 @@ export interface SharedApiPreviewAccountPrivilegeResetRequest {
|
|
|
19597
20547
|
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
19598
20548
|
*/
|
|
19599
20549
|
readonly subjectQualifiers?: string;
|
|
20550
|
+
/**
|
|
20551
|
+
* PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
20552
|
+
* @type {Array<string>}
|
|
20553
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
20554
|
+
*/
|
|
20555
|
+
readonly databaseNames?: Array<string>;
|
|
20556
|
+
/**
|
|
20557
|
+
* PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
20558
|
+
* @type {boolean}
|
|
20559
|
+
* @memberof SharedApiPreviewAccountPrivilegeReset
|
|
20560
|
+
*/
|
|
20561
|
+
readonly allDatabases?: boolean;
|
|
19600
20562
|
}
|
|
19601
20563
|
/**
|
|
19602
20564
|
* Request parameters for produceKafkaTopicMessage operation in SharedApi.
|
|
@@ -21181,6 +22143,18 @@ export interface SharedApiResetAccountPrivilegesRequest {
|
|
|
21181
22143
|
* @memberof SharedApiResetAccountPrivileges
|
|
21182
22144
|
*/
|
|
21183
22145
|
readonly subjectQualifiers?: string;
|
|
22146
|
+
/**
|
|
22147
|
+
* PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
|
|
22148
|
+
* @type {Array<string>}
|
|
22149
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
22150
|
+
*/
|
|
22151
|
+
readonly databaseNames?: Array<string>;
|
|
22152
|
+
/**
|
|
22153
|
+
* PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
|
|
22154
|
+
* @type {boolean}
|
|
22155
|
+
* @memberof SharedApiResetAccountPrivileges
|
|
22156
|
+
*/
|
|
22157
|
+
readonly allDatabases?: boolean;
|
|
21184
22158
|
}
|
|
21185
22159
|
/**
|
|
21186
22160
|
* Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
|
|
@@ -23740,6 +24714,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
23740
24714
|
* @memberof SharedApi
|
|
23741
24715
|
*/
|
|
23742
24716
|
getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeSnapshot, any, {}>>;
|
|
24717
|
+
/**
|
|
24718
|
+
* Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
|
|
24719
|
+
* @summary Read native account privilege summary or selected database evidence
|
|
24720
|
+
* @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
|
|
24721
|
+
* @param {*} [options] Override http request option.
|
|
24722
|
+
* @throws {RequiredError}
|
|
24723
|
+
* @memberof SharedApi
|
|
24724
|
+
*/
|
|
24725
|
+
getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeEvidence[], any, {}>>;
|
|
23743
24726
|
/**
|
|
23744
24727
|
*
|
|
23745
24728
|
* @summary Get alert config
|
|
@@ -24281,7 +25264,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
24281
25264
|
*/
|
|
24282
25265
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24283
25266
|
/**
|
|
24284
|
-
* Read MySQL
|
|
25267
|
+
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
24285
25268
|
* @summary List exact column names for account object privileges
|
|
24286
25269
|
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
24287
25270
|
* @param {*} [options] Override http request option.
|
|
@@ -24914,6 +25897,114 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
24914
25897
|
* @memberof SharedApi
|
|
24915
25898
|
*/
|
|
24916
25899
|
markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25900
|
+
/**
|
|
25901
|
+
*
|
|
25902
|
+
* @summary ChangeRBACUserPassword
|
|
25903
|
+
* @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
|
|
25904
|
+
* @param {*} [options] Override http request option.
|
|
25905
|
+
* @throws {RequiredError}
|
|
25906
|
+
* @memberof SharedApi
|
|
25907
|
+
*/
|
|
25908
|
+
mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25909
|
+
/**
|
|
25910
|
+
*
|
|
25911
|
+
* @summary ChangeRBACUserRoles
|
|
25912
|
+
* @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
|
|
25913
|
+
* @param {*} [options] Override http request option.
|
|
25914
|
+
* @throws {RequiredError}
|
|
25915
|
+
* @memberof SharedApi
|
|
25916
|
+
*/
|
|
25917
|
+
mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25918
|
+
/**
|
|
25919
|
+
*
|
|
25920
|
+
* @summary CreateRBACRole
|
|
25921
|
+
* @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
|
|
25922
|
+
* @param {*} [options] Override http request option.
|
|
25923
|
+
* @throws {RequiredError}
|
|
25924
|
+
* @memberof SharedApi
|
|
25925
|
+
*/
|
|
25926
|
+
mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25927
|
+
/**
|
|
25928
|
+
*
|
|
25929
|
+
* @summary CreateRBACUser
|
|
25930
|
+
* @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
|
|
25931
|
+
* @param {*} [options] Override http request option.
|
|
25932
|
+
* @throws {RequiredError}
|
|
25933
|
+
* @memberof SharedApi
|
|
25934
|
+
*/
|
|
25935
|
+
mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25936
|
+
/**
|
|
25937
|
+
*
|
|
25938
|
+
* @summary DeleteRBACRole
|
|
25939
|
+
* @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
|
|
25940
|
+
* @param {*} [options] Override http request option.
|
|
25941
|
+
* @throws {RequiredError}
|
|
25942
|
+
* @memberof SharedApi
|
|
25943
|
+
*/
|
|
25944
|
+
mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25945
|
+
/**
|
|
25946
|
+
*
|
|
25947
|
+
* @summary DeleteRBACUser
|
|
25948
|
+
* @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
|
|
25949
|
+
* @param {*} [options] Override http request option.
|
|
25950
|
+
* @throws {RequiredError}
|
|
25951
|
+
* @memberof SharedApi
|
|
25952
|
+
*/
|
|
25953
|
+
mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25954
|
+
/**
|
|
25955
|
+
*
|
|
25956
|
+
* @summary GetRBACCapabilities
|
|
25957
|
+
* @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
|
|
25958
|
+
* @param {*} [options] Override http request option.
|
|
25959
|
+
* @throws {RequiredError}
|
|
25960
|
+
* @memberof SharedApi
|
|
25961
|
+
*/
|
|
25962
|
+
mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACCapabilities, any, {}>>;
|
|
25963
|
+
/**
|
|
25964
|
+
*
|
|
25965
|
+
* @summary GetRBACRole
|
|
25966
|
+
* @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
|
|
25967
|
+
* @param {*} [options] Override http request option.
|
|
25968
|
+
* @throws {RequiredError}
|
|
25969
|
+
* @memberof SharedApi
|
|
25970
|
+
*/
|
|
25971
|
+
mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACRole, any, {}>>;
|
|
25972
|
+
/**
|
|
25973
|
+
*
|
|
25974
|
+
* @summary GetRBACUser
|
|
25975
|
+
* @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
|
|
25976
|
+
* @param {*} [options] Override http request option.
|
|
25977
|
+
* @throws {RequiredError}
|
|
25978
|
+
* @memberof SharedApi
|
|
25979
|
+
*/
|
|
25980
|
+
mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACUser, any, {}>>;
|
|
25981
|
+
/**
|
|
25982
|
+
*
|
|
25983
|
+
* @summary ListRBACRoles
|
|
25984
|
+
* @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
|
|
25985
|
+
* @param {*} [options] Override http request option.
|
|
25986
|
+
* @throws {RequiredError}
|
|
25987
|
+
* @memberof SharedApi
|
|
25988
|
+
*/
|
|
25989
|
+
mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACRole[], any, {}>>;
|
|
25990
|
+
/**
|
|
25991
|
+
*
|
|
25992
|
+
* @summary ListRBACUsers
|
|
25993
|
+
* @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
|
|
25994
|
+
* @param {*} [options] Override http request option.
|
|
25995
|
+
* @throws {RequiredError}
|
|
25996
|
+
* @memberof SharedApi
|
|
25997
|
+
*/
|
|
25998
|
+
mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACUser[], any, {}>>;
|
|
25999
|
+
/**
|
|
26000
|
+
*
|
|
26001
|
+
* @summary UpdateRBACRole
|
|
26002
|
+
* @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
|
|
26003
|
+
* @param {*} [options] Override http request option.
|
|
26004
|
+
* @throws {RequiredError}
|
|
26005
|
+
* @memberof SharedApi
|
|
26006
|
+
*/
|
|
26007
|
+
mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24917
26008
|
/**
|
|
24918
26009
|
* partially update the specified apikey
|
|
24919
26010
|
* @summary Update apikey information
|
|
@@ -24960,8 +26051,8 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
24960
26051
|
*/
|
|
24961
26052
|
patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgParameter, any, {}>>;
|
|
24962
26053
|
/**
|
|
24963
|
-
* MySQL
|
|
24964
|
-
* @summary Preview clearing
|
|
26054
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
26055
|
+
* @summary Preview clearing explicit account privileges
|
|
24965
26056
|
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
24966
26057
|
* @param {*} [options] Override http request option.
|
|
24967
26058
|
* @throws {RequiredError}
|
|
@@ -25220,8 +26311,8 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
25220
26311
|
*/
|
|
25221
26312
|
reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpsRequestName, any, {}>>;
|
|
25222
26313
|
/**
|
|
25223
|
-
* MySQL
|
|
25224
|
-
* @summary Clear
|
|
26314
|
+
* MySQL 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. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
|
|
26315
|
+
* @summary Clear explicit account privileges
|
|
25225
26316
|
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
25226
26317
|
* @param {*} [options] Override http request option.
|
|
25227
26318
|
* @throws {RequiredError}
|