kb-cloud-client-typescript 2.4.0-alpha.89 → 2.4.0-alpha.90
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 +473 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +436 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +473 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +436 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +473 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +436 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +17 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +17 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/object-privilege-capabilities.d.ts +46 -0
- package/dist/adminapi/models/object-privilege-capabilities.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-capabilities.js +16 -0
- package/dist/adminapi/models/object-privilege-capabilities.js.map +1 -0
- package/dist/adminapi/models/object-privilege-capability.d.ts +95 -0
- package/dist/adminapi/models/object-privilege-capability.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-capability.js +16 -0
- package/dist/adminapi/models/object-privilege-capability.js.map +1 -0
- package/dist/adminapi/models/object-privilege-change.d.ts +71 -0
- package/dist/adminapi/models/object-privilege-change.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-change.js +16 -0
- package/dist/adminapi/models/object-privilege-change.js.map +1 -0
- package/dist/adminapi/models/object-privilege-definition.d.ts +38 -0
- package/dist/adminapi/models/object-privilege-definition.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-definition.js +16 -0
- package/dist/adminapi/models/object-privilege-definition.js.map +1 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts +37 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-evidence.js +16 -0
- package/dist/adminapi/models/object-privilege-evidence.js.map +1 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.d.ts +23 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.js +27 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.js.map +1 -0
- package/dist/adminapi/models/object-privilege-grant.d.ts +43 -0
- package/dist/adminapi/models/object-privilege-grant.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-grant.js +16 -0
- package/dist/adminapi/models/object-privilege-grant.js.map +1 -0
- package/dist/adminapi/models/object-privilege-object-list.d.ts +38 -0
- package/dist/adminapi/models/object-privilege-object-list.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-object-list.js +16 -0
- package/dist/adminapi/models/object-privilege-object-list.js.map +1 -0
- package/dist/adminapi/models/object-privilege-object.d.ts +32 -0
- package/dist/adminapi/models/object-privilege-object.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-object.js +16 -0
- package/dist/adminapi/models/object-privilege-object.js.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.d.ts +45 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.js +16 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.js.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.d.ts +23 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.js +27 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.js.map +1 -0
- package/dist/adminapi/models/object-privilege-qualifier.d.ts +43 -0
- package/dist/adminapi/models/object-privilege-qualifier.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-qualifier.js +16 -0
- package/dist/adminapi/models/object-privilege-qualifier.js.map +1 -0
- package/dist/adminapi/models/object-privilege-snapshot.d.ts +92 -0
- package/dist/adminapi/models/object-privilege-snapshot.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-snapshot.js +16 -0
- package/dist/adminapi/models/object-privilege-snapshot.js.map +1 -0
- package/dist/adminapi/models/object-privilege-spec.d.ts +31 -0
- package/dist/adminapi/models/object-privilege-spec.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-spec.js +16 -0
- package/dist/adminapi/models/object-privilege-spec.js.map +1 -0
- package/dist/adminapi/models/object-privilege-subject-type.d.ts +22 -0
- package/dist/adminapi/models/object-privilege-subject-type.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-subject-type.js +26 -0
- package/dist/adminapi/models/object-privilege-subject-type.js.map +1 -0
- package/dist/adminapi/models/object-privilege-subject.d.ts +40 -0
- package/dist/adminapi/models/object-privilege-subject.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-subject.js +16 -0
- package/dist/adminapi/models/object-privilege-subject.js.map +1 -0
- package/dist/adminapi/models/object-privilege-target.d.ts +55 -0
- package/dist/adminapi/models/object-privilege-target.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-target.js +16 -0
- package/dist/adminapi/models/object-privilege-target.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +473 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +436 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +473 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +436 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +473 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +436 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +17 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +17 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/object-privilege-capabilities.d.ts +46 -0
- package/dist/openapi/models/object-privilege-capabilities.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-capabilities.js +16 -0
- package/dist/openapi/models/object-privilege-capabilities.js.map +1 -0
- package/dist/openapi/models/object-privilege-capability.d.ts +95 -0
- package/dist/openapi/models/object-privilege-capability.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-capability.js +16 -0
- package/dist/openapi/models/object-privilege-capability.js.map +1 -0
- package/dist/openapi/models/object-privilege-change.d.ts +71 -0
- package/dist/openapi/models/object-privilege-change.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-change.js +16 -0
- package/dist/openapi/models/object-privilege-change.js.map +1 -0
- package/dist/openapi/models/object-privilege-definition.d.ts +38 -0
- package/dist/openapi/models/object-privilege-definition.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-definition.js +16 -0
- package/dist/openapi/models/object-privilege-definition.js.map +1 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts +37 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-evidence.js +16 -0
- package/dist/openapi/models/object-privilege-evidence.js.map +1 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.d.ts +23 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.js +27 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.js.map +1 -0
- package/dist/openapi/models/object-privilege-grant.d.ts +43 -0
- package/dist/openapi/models/object-privilege-grant.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-grant.js +16 -0
- package/dist/openapi/models/object-privilege-grant.js.map +1 -0
- package/dist/openapi/models/object-privilege-object-list.d.ts +38 -0
- package/dist/openapi/models/object-privilege-object-list.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-object-list.js +16 -0
- package/dist/openapi/models/object-privilege-object-list.js.map +1 -0
- package/dist/openapi/models/object-privilege-object.d.ts +32 -0
- package/dist/openapi/models/object-privilege-object.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-object.js +16 -0
- package/dist/openapi/models/object-privilege-object.js.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.d.ts +45 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.js +16 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.js.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.d.ts +23 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.js +27 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.js.map +1 -0
- package/dist/openapi/models/object-privilege-qualifier.d.ts +43 -0
- package/dist/openapi/models/object-privilege-qualifier.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-qualifier.js +16 -0
- package/dist/openapi/models/object-privilege-qualifier.js.map +1 -0
- package/dist/openapi/models/object-privilege-snapshot.d.ts +92 -0
- package/dist/openapi/models/object-privilege-snapshot.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-snapshot.js +16 -0
- package/dist/openapi/models/object-privilege-snapshot.js.map +1 -0
- package/dist/openapi/models/object-privilege-spec.d.ts +31 -0
- package/dist/openapi/models/object-privilege-spec.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-spec.js +16 -0
- package/dist/openapi/models/object-privilege-spec.js.map +1 -0
- package/dist/openapi/models/object-privilege-subject-type.d.ts +22 -0
- package/dist/openapi/models/object-privilege-subject-type.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-subject-type.js +26 -0
- package/dist/openapi/models/object-privilege-subject-type.js.map +1 -0
- package/dist/openapi/models/object-privilege-subject.d.ts +40 -0
- package/dist/openapi/models/object-privilege-subject.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-subject.js +16 -0
- package/dist/openapi/models/object-privilege-subject.js.map +1 -0
- package/dist/openapi/models/object-privilege-target.d.ts +55 -0
- package/dist/openapi/models/object-privilege-target.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-target.js +16 -0
- package/dist/openapi/models/object-privilege-target.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +17 -0
- package/src/adminapi/apis/account-api.ts +811 -5
- package/src/adminapi/apis/rdbms-api.ts +806 -0
- package/src/adminapi/apis/shared-api.ts +806 -0
- package/src/adminapi/models/index.ts +17 -0
- package/src/adminapi/models/object-privilege-capabilities.ts +57 -0
- package/src/adminapi/models/object-privilege-capability.ts +104 -0
- package/src/adminapi/models/object-privilege-change.ts +78 -0
- package/src/adminapi/models/object-privilege-definition.ts +47 -0
- package/src/adminapi/models/object-privilege-evidence.ts +42 -0
- package/src/adminapi/models/object-privilege-grant-option-scope.ts +32 -0
- package/src/adminapi/models/object-privilege-grant.ts +48 -0
- package/src/adminapi/models/object-privilege-object-list.ts +45 -0
- package/src/adminapi/models/object-privilege-object.ts +39 -0
- package/src/adminapi/models/object-privilege-prerequisite-check.ts +56 -0
- package/src/adminapi/models/object-privilege-prerequisite-status.ts +32 -0
- package/src/adminapi/models/object-privilege-qualifier.ts +48 -0
- package/src/adminapi/models/object-privilege-snapshot.ts +105 -0
- package/src/adminapi/models/object-privilege-spec.ts +36 -0
- package/src/adminapi/models/object-privilege-subject-type.ts +31 -0
- package/src/adminapi/models/object-privilege-subject.ts +47 -0
- package/src/adminapi/models/object-privilege-target.ts +60 -0
- package/src/adminapi.yaml +675 -0
- package/src/openapi/.openapi-generator/FILES +17 -0
- package/src/openapi/apis/account-api.ts +811 -5
- package/src/openapi/apis/rdbms-api.ts +806 -0
- package/src/openapi/apis/shared-api.ts +942 -136
- package/src/openapi/models/index.ts +17 -0
- package/src/openapi/models/object-privilege-capabilities.ts +57 -0
- package/src/openapi/models/object-privilege-capability.ts +104 -0
- package/src/openapi/models/object-privilege-change.ts +78 -0
- package/src/openapi/models/object-privilege-definition.ts +47 -0
- package/src/openapi/models/object-privilege-evidence.ts +42 -0
- package/src/openapi/models/object-privilege-grant-option-scope.ts +32 -0
- package/src/openapi/models/object-privilege-grant.ts +48 -0
- package/src/openapi/models/object-privilege-object-list.ts +45 -0
- package/src/openapi/models/object-privilege-object.ts +39 -0
- package/src/openapi/models/object-privilege-prerequisite-check.ts +56 -0
- package/src/openapi/models/object-privilege-prerequisite-status.ts +32 -0
- package/src/openapi/models/object-privilege-qualifier.ts +48 -0
- package/src/openapi/models/object-privilege-snapshot.ts +105 -0
- package/src/openapi/models/object-privilege-spec.ts +36 -0
- package/src/openapi/models/object-privilege-subject-type.ts +31 -0
- package/src/openapi/models/object-privilege-subject.ts +47 -0
- package/src/openapi/models/object-privilege-target.ts +60 -0
- package/src/openapi.yaml +675 -0
|
@@ -288,6 +288,16 @@ import type { NodeList } from '../models';
|
|
|
288
288
|
// @ts-ignore
|
|
289
289
|
import type { NodeResourceStatsList } from '../models';
|
|
290
290
|
// @ts-ignore
|
|
291
|
+
import type { ObjectPrivilegeCapabilities } from '../models';
|
|
292
|
+
// @ts-ignore
|
|
293
|
+
import type { ObjectPrivilegeChange } from '../models';
|
|
294
|
+
// @ts-ignore
|
|
295
|
+
import type { ObjectPrivilegeObjectList } from '../models';
|
|
296
|
+
// @ts-ignore
|
|
297
|
+
import type { ObjectPrivilegeSnapshot } from '../models';
|
|
298
|
+
// @ts-ignore
|
|
299
|
+
import type { ObjectPrivilegeSubjectType } from '../models';
|
|
300
|
+
// @ts-ignore
|
|
291
301
|
import type { OfflineInstanceList } from '../models';
|
|
292
302
|
// @ts-ignore
|
|
293
303
|
import type { OpsCustom } from '../models';
|
|
@@ -1100,6 +1110,80 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1100
1110
|
|
|
1101
1111
|
|
|
1102
1112
|
|
|
1113
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1114
|
+
|
|
1115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1117
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1118
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1119
|
+
|
|
1120
|
+
return {
|
|
1121
|
+
url: toPathString(localVarUrlObj),
|
|
1122
|
+
options: localVarRequestOptions,
|
|
1123
|
+
};
|
|
1124
|
+
},
|
|
1125
|
+
/**
|
|
1126
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
1127
|
+
* @summary Grant or revoke native object and column privileges
|
|
1128
|
+
* @param {string} engineName
|
|
1129
|
+
* @param {string} orgName
|
|
1130
|
+
* @param {string} clusterName
|
|
1131
|
+
* @param {string} accountName
|
|
1132
|
+
* @param {ObjectPrivilegeChange} body
|
|
1133
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
1134
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
1135
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
1136
|
+
* @param {*} [options] Override http request option.
|
|
1137
|
+
* @throws {RequiredError}
|
|
1138
|
+
*/
|
|
1139
|
+
changeAccountObjectPrivileges: async (engineName: string, orgName: string, clusterName: string, accountName: string, body: ObjectPrivilegeChange, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1140
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1141
|
+
assertParamExists('changeAccountObjectPrivileges', 'engineName', engineName)
|
|
1142
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1143
|
+
assertParamExists('changeAccountObjectPrivileges', 'orgName', orgName)
|
|
1144
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1145
|
+
assertParamExists('changeAccountObjectPrivileges', 'clusterName', clusterName)
|
|
1146
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1147
|
+
assertParamExists('changeAccountObjectPrivileges', 'accountName', accountName)
|
|
1148
|
+
// verify required parameter 'body' is not null or undefined
|
|
1149
|
+
assertParamExists('changeAccountObjectPrivileges', 'body', body)
|
|
1150
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges`
|
|
1151
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1152
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1153
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1154
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1155
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1156
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1157
|
+
let baseOptions;
|
|
1158
|
+
if (configuration) {
|
|
1159
|
+
baseOptions = configuration.baseOptions;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1163
|
+
const localVarHeaderParameter = {} as any;
|
|
1164
|
+
const localVarQueryParameter = {} as any;
|
|
1165
|
+
|
|
1166
|
+
// authentication BearerToken required
|
|
1167
|
+
// http bearer authentication required
|
|
1168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1169
|
+
|
|
1170
|
+
// authentication DigestAuth required
|
|
1171
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1172
|
+
|
|
1173
|
+
if (subjectType !== undefined) {
|
|
1174
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
if (host !== undefined) {
|
|
1178
|
+
localVarQueryParameter['host'] = host;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
if (subjectQualifiers !== undefined) {
|
|
1182
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
1103
1187
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1104
1188
|
|
|
1105
1189
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5432,6 +5516,159 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5432
5516
|
|
|
5433
5517
|
|
|
5434
5518
|
|
|
5519
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5520
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5521
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5522
|
+
|
|
5523
|
+
return {
|
|
5524
|
+
url: toPathString(localVarUrlObj),
|
|
5525
|
+
options: localVarRequestOptions,
|
|
5526
|
+
};
|
|
5527
|
+
},
|
|
5528
|
+
/**
|
|
5529
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
5530
|
+
* @summary List native object privilege capabilities for the connected server
|
|
5531
|
+
* @param {string} engineName
|
|
5532
|
+
* @param {string} orgName
|
|
5533
|
+
* @param {string} clusterName
|
|
5534
|
+
* @param {string} accountName
|
|
5535
|
+
* @param {*} [options] Override http request option.
|
|
5536
|
+
* @throws {RequiredError}
|
|
5537
|
+
*/
|
|
5538
|
+
getAccountObjectPrivilegeCapabilities: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5539
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5540
|
+
assertParamExists('getAccountObjectPrivilegeCapabilities', 'engineName', engineName)
|
|
5541
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5542
|
+
assertParamExists('getAccountObjectPrivilegeCapabilities', 'orgName', orgName)
|
|
5543
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5544
|
+
assertParamExists('getAccountObjectPrivilegeCapabilities', 'clusterName', clusterName)
|
|
5545
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
5546
|
+
assertParamExists('getAccountObjectPrivilegeCapabilities', 'accountName', accountName)
|
|
5547
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/capabilities`
|
|
5548
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5549
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5550
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5551
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
5552
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5553
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5554
|
+
let baseOptions;
|
|
5555
|
+
if (configuration) {
|
|
5556
|
+
baseOptions = configuration.baseOptions;
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5560
|
+
const localVarHeaderParameter = {} as any;
|
|
5561
|
+
const localVarQueryParameter = {} as any;
|
|
5562
|
+
|
|
5563
|
+
// authentication BearerToken required
|
|
5564
|
+
// http bearer authentication required
|
|
5565
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5566
|
+
|
|
5567
|
+
// authentication DigestAuth required
|
|
5568
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5569
|
+
|
|
5570
|
+
|
|
5571
|
+
|
|
5572
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5573
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5574
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5575
|
+
|
|
5576
|
+
return {
|
|
5577
|
+
url: toPathString(localVarUrlObj),
|
|
5578
|
+
options: localVarRequestOptions,
|
|
5579
|
+
};
|
|
5580
|
+
},
|
|
5581
|
+
/**
|
|
5582
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
5583
|
+
* @summary Inspect native object and column privileges
|
|
5584
|
+
* @param {string} engineName
|
|
5585
|
+
* @param {string} orgName
|
|
5586
|
+
* @param {string} clusterName
|
|
5587
|
+
* @param {string} accountName
|
|
5588
|
+
* @param {string} objectType
|
|
5589
|
+
* @param {string} [databaseName]
|
|
5590
|
+
* @param {string} [schemaName]
|
|
5591
|
+
* @param {string} [objectName]
|
|
5592
|
+
* @param {string} [objectId]
|
|
5593
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
5594
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
5595
|
+
* @param {string} [catalogName]
|
|
5596
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
5597
|
+
* @param {*} [options] Override http request option.
|
|
5598
|
+
* @throws {RequiredError}
|
|
5599
|
+
*/
|
|
5600
|
+
getAccountObjectPrivileges: async (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> => {
|
|
5601
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5602
|
+
assertParamExists('getAccountObjectPrivileges', 'engineName', engineName)
|
|
5603
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5604
|
+
assertParamExists('getAccountObjectPrivileges', 'orgName', orgName)
|
|
5605
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5606
|
+
assertParamExists('getAccountObjectPrivileges', 'clusterName', clusterName)
|
|
5607
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
5608
|
+
assertParamExists('getAccountObjectPrivileges', 'accountName', accountName)
|
|
5609
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
5610
|
+
assertParamExists('getAccountObjectPrivileges', 'objectType', objectType)
|
|
5611
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges`
|
|
5612
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5613
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5614
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5615
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
5616
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5617
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5618
|
+
let baseOptions;
|
|
5619
|
+
if (configuration) {
|
|
5620
|
+
baseOptions = configuration.baseOptions;
|
|
5621
|
+
}
|
|
5622
|
+
|
|
5623
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5624
|
+
const localVarHeaderParameter = {} as any;
|
|
5625
|
+
const localVarQueryParameter = {} as any;
|
|
5626
|
+
|
|
5627
|
+
// authentication BearerToken required
|
|
5628
|
+
// http bearer authentication required
|
|
5629
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5630
|
+
|
|
5631
|
+
// authentication DigestAuth required
|
|
5632
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5633
|
+
|
|
5634
|
+
if (objectType !== undefined) {
|
|
5635
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
if (databaseName !== undefined) {
|
|
5639
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
5640
|
+
}
|
|
5641
|
+
|
|
5642
|
+
if (schemaName !== undefined) {
|
|
5643
|
+
localVarQueryParameter['schemaName'] = schemaName;
|
|
5644
|
+
}
|
|
5645
|
+
|
|
5646
|
+
if (objectName !== undefined) {
|
|
5647
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
if (objectId !== undefined) {
|
|
5651
|
+
localVarQueryParameter['objectId'] = objectId;
|
|
5652
|
+
}
|
|
5653
|
+
|
|
5654
|
+
if (subjectType !== undefined) {
|
|
5655
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
5656
|
+
}
|
|
5657
|
+
|
|
5658
|
+
if (host !== undefined) {
|
|
5659
|
+
localVarQueryParameter['host'] = host;
|
|
5660
|
+
}
|
|
5661
|
+
|
|
5662
|
+
if (catalogName !== undefined) {
|
|
5663
|
+
localVarQueryParameter['catalogName'] = catalogName;
|
|
5664
|
+
}
|
|
5665
|
+
|
|
5666
|
+
if (subjectQualifiers !== undefined) {
|
|
5667
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
|
|
5671
|
+
|
|
5435
5672
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5436
5673
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5437
5674
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8644,6 +8881,91 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8644
8881
|
|
|
8645
8882
|
|
|
8646
8883
|
|
|
8884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8886
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8887
|
+
|
|
8888
|
+
return {
|
|
8889
|
+
url: toPathString(localVarUrlObj),
|
|
8890
|
+
options: localVarRequestOptions,
|
|
8891
|
+
};
|
|
8892
|
+
},
|
|
8893
|
+
/**
|
|
8894
|
+
* 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.
|
|
8895
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
8896
|
+
* @param {string} engineName
|
|
8897
|
+
* @param {string} orgName
|
|
8898
|
+
* @param {string} clusterName
|
|
8899
|
+
* @param {string} accountName
|
|
8900
|
+
* @param {string} objectType
|
|
8901
|
+
* @param {string} [databaseName]
|
|
8902
|
+
* @param {string} [schemaName]
|
|
8903
|
+
* @param {number} [offset]
|
|
8904
|
+
* @param {number} [limit]
|
|
8905
|
+
* @param {string} [catalogName]
|
|
8906
|
+
* @param {*} [options] Override http request option.
|
|
8907
|
+
* @throws {RequiredError}
|
|
8908
|
+
*/
|
|
8909
|
+
listAccountObjectPrivilegeObjects: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, offset?: number, limit?: number, catalogName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8910
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
8911
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'engineName', engineName)
|
|
8912
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8913
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'orgName', orgName)
|
|
8914
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8915
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'clusterName', clusterName)
|
|
8916
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
8917
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'accountName', accountName)
|
|
8918
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
8919
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'objectType', objectType)
|
|
8920
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/objects`
|
|
8921
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
8922
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8923
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8924
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
8925
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8926
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8927
|
+
let baseOptions;
|
|
8928
|
+
if (configuration) {
|
|
8929
|
+
baseOptions = configuration.baseOptions;
|
|
8930
|
+
}
|
|
8931
|
+
|
|
8932
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8933
|
+
const localVarHeaderParameter = {} as any;
|
|
8934
|
+
const localVarQueryParameter = {} as any;
|
|
8935
|
+
|
|
8936
|
+
// authentication BearerToken required
|
|
8937
|
+
// http bearer authentication required
|
|
8938
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8939
|
+
|
|
8940
|
+
// authentication DigestAuth required
|
|
8941
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8942
|
+
|
|
8943
|
+
if (objectType !== undefined) {
|
|
8944
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
8945
|
+
}
|
|
8946
|
+
|
|
8947
|
+
if (databaseName !== undefined) {
|
|
8948
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
8949
|
+
}
|
|
8950
|
+
|
|
8951
|
+
if (schemaName !== undefined) {
|
|
8952
|
+
localVarQueryParameter['schemaName'] = schemaName;
|
|
8953
|
+
}
|
|
8954
|
+
|
|
8955
|
+
if (offset !== undefined) {
|
|
8956
|
+
localVarQueryParameter['offset'] = offset;
|
|
8957
|
+
}
|
|
8958
|
+
|
|
8959
|
+
if (limit !== undefined) {
|
|
8960
|
+
localVarQueryParameter['limit'] = limit;
|
|
8961
|
+
}
|
|
8962
|
+
|
|
8963
|
+
if (catalogName !== undefined) {
|
|
8964
|
+
localVarQueryParameter['catalogName'] = catalogName;
|
|
8965
|
+
}
|
|
8966
|
+
|
|
8967
|
+
|
|
8968
|
+
|
|
8647
8969
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8648
8970
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8649
8971
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17910,6 +18232,26 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17910
18232
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.buildBackupObj']?.[localVarOperationServerIndex]?.url;
|
|
17911
18233
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17912
18234
|
},
|
|
18235
|
+
/**
|
|
18236
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
18237
|
+
* @summary Grant or revoke native object and column privileges
|
|
18238
|
+
* @param {string} engineName
|
|
18239
|
+
* @param {string} orgName
|
|
18240
|
+
* @param {string} clusterName
|
|
18241
|
+
* @param {string} accountName
|
|
18242
|
+
* @param {ObjectPrivilegeChange} body
|
|
18243
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
18244
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
18245
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
18246
|
+
* @param {*} [options] Override http request option.
|
|
18247
|
+
* @throws {RequiredError}
|
|
18248
|
+
*/
|
|
18249
|
+
async changeAccountObjectPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, body: ObjectPrivilegeChange, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changeAccountObjectPrivileges(engineName, orgName, clusterName, accountName, body, subjectType, host, subjectQualifiers, options);
|
|
18251
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18252
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.changeAccountObjectPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
18253
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18254
|
+
},
|
|
17913
18255
|
/**
|
|
17914
18256
|
*
|
|
17915
18257
|
* @summary Change Elasticsearch account password
|
|
@@ -19189,6 +19531,47 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19189
19531
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.generateDemoData']?.[localVarOperationServerIndex]?.url;
|
|
19190
19532
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19191
19533
|
},
|
|
19534
|
+
/**
|
|
19535
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
19536
|
+
* @summary List native object privilege capabilities for the connected server
|
|
19537
|
+
* @param {string} engineName
|
|
19538
|
+
* @param {string} orgName
|
|
19539
|
+
* @param {string} clusterName
|
|
19540
|
+
* @param {string} accountName
|
|
19541
|
+
* @param {*} [options] Override http request option.
|
|
19542
|
+
* @throws {RequiredError}
|
|
19543
|
+
*/
|
|
19544
|
+
async getAccountObjectPrivilegeCapabilities(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectPrivilegeCapabilities>> {
|
|
19545
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountObjectPrivilegeCapabilities(engineName, orgName, clusterName, accountName, options);
|
|
19546
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19547
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getAccountObjectPrivilegeCapabilities']?.[localVarOperationServerIndex]?.url;
|
|
19548
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19549
|
+
},
|
|
19550
|
+
/**
|
|
19551
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
19552
|
+
* @summary Inspect native object and column privileges
|
|
19553
|
+
* @param {string} engineName
|
|
19554
|
+
* @param {string} orgName
|
|
19555
|
+
* @param {string} clusterName
|
|
19556
|
+
* @param {string} accountName
|
|
19557
|
+
* @param {string} objectType
|
|
19558
|
+
* @param {string} [databaseName]
|
|
19559
|
+
* @param {string} [schemaName]
|
|
19560
|
+
* @param {string} [objectName]
|
|
19561
|
+
* @param {string} [objectId]
|
|
19562
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
19563
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
19564
|
+
* @param {string} [catalogName]
|
|
19565
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
19566
|
+
* @param {*} [options] Override http request option.
|
|
19567
|
+
* @throws {RequiredError}
|
|
19568
|
+
*/
|
|
19569
|
+
async 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>> {
|
|
19570
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountObjectPrivileges(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, objectName, objectId, subjectType, host, catalogName, subjectQualifiers, options);
|
|
19571
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19572
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getAccountObjectPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
19573
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19574
|
+
},
|
|
19192
19575
|
/**
|
|
19193
19576
|
*
|
|
19194
19577
|
* @summary Get backup
|
|
@@ -20126,6 +20509,28 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20126
20509
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.killSession']?.[localVarOperationServerIndex]?.url;
|
|
20127
20510
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20128
20511
|
},
|
|
20512
|
+
/**
|
|
20513
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
20514
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
20515
|
+
* @param {string} engineName
|
|
20516
|
+
* @param {string} orgName
|
|
20517
|
+
* @param {string} clusterName
|
|
20518
|
+
* @param {string} accountName
|
|
20519
|
+
* @param {string} objectType
|
|
20520
|
+
* @param {string} [databaseName]
|
|
20521
|
+
* @param {string} [schemaName]
|
|
20522
|
+
* @param {number} [offset]
|
|
20523
|
+
* @param {number} [limit]
|
|
20524
|
+
* @param {string} [catalogName]
|
|
20525
|
+
* @param {*} [options] Override http request option.
|
|
20526
|
+
* @throws {RequiredError}
|
|
20527
|
+
*/
|
|
20528
|
+
async listAccountObjectPrivilegeObjects(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, offset?: number, limit?: number, catalogName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectPrivilegeObjectList>> {
|
|
20529
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeObjects(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, offset, limit, catalogName, options);
|
|
20530
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20531
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listAccountObjectPrivilegeObjects']?.[localVarOperationServerIndex]?.url;
|
|
20532
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20533
|
+
},
|
|
20129
20534
|
/**
|
|
20130
20535
|
* list accounts in cluster
|
|
20131
20536
|
* @summary List cluster accounts
|
|
@@ -22850,6 +23255,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22850
23255
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup> {
|
|
22851
23256
|
return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22852
23257
|
},
|
|
23258
|
+
/**
|
|
23259
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
23260
|
+
* @summary Grant or revoke native object and column privileges
|
|
23261
|
+
* @param {SharedApiChangeAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
23262
|
+
* @param {*} [options] Override http request option.
|
|
23263
|
+
* @throws {RequiredError}
|
|
23264
|
+
*/
|
|
23265
|
+
changeAccountObjectPrivileges(requestParameters: SharedApiChangeAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23266
|
+
return localVarFp.changeAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
23267
|
+
},
|
|
22853
23268
|
/**
|
|
22854
23269
|
*
|
|
22855
23270
|
* @summary Change Elasticsearch account password
|
|
@@ -23681,6 +24096,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23681
24096
|
generateDemoData(requestParameters: SharedApiGenerateDemoDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23682
24097
|
return localVarFp.generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
23683
24098
|
},
|
|
24099
|
+
/**
|
|
24100
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
24101
|
+
* @summary List native object privilege capabilities for the connected server
|
|
24102
|
+
* @param {SharedApiGetAccountObjectPrivilegeCapabilitiesRequest} requestParameters Request parameters.
|
|
24103
|
+
* @param {*} [options] Override http request option.
|
|
24104
|
+
* @throws {RequiredError}
|
|
24105
|
+
*/
|
|
24106
|
+
getAccountObjectPrivilegeCapabilities(requestParameters: SharedApiGetAccountObjectPrivilegeCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeCapabilities> {
|
|
24107
|
+
return localVarFp.getAccountObjectPrivilegeCapabilities(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
24108
|
+
},
|
|
24109
|
+
/**
|
|
24110
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
24111
|
+
* @summary Inspect native object and column privileges
|
|
24112
|
+
* @param {SharedApiGetAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
24113
|
+
* @param {*} [options] Override http request option.
|
|
24114
|
+
* @throws {RequiredError}
|
|
24115
|
+
*/
|
|
24116
|
+
getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot> {
|
|
24117
|
+
return localVarFp.getAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.objectName, requestParameters.objectId, requestParameters.subjectType, requestParameters.host, requestParameters.catalogName, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
24118
|
+
},
|
|
23684
24119
|
/**
|
|
23685
24120
|
*
|
|
23686
24121
|
* @summary Get backup
|
|
@@ -24270,6 +24705,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24270
24705
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24271
24706
|
return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
|
|
24272
24707
|
},
|
|
24708
|
+
/**
|
|
24709
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
24710
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
24711
|
+
* @param {SharedApiListAccountObjectPrivilegeObjectsRequest} requestParameters Request parameters.
|
|
24712
|
+
* @param {*} [options] Override http request option.
|
|
24713
|
+
* @throws {RequiredError}
|
|
24714
|
+
*/
|
|
24715
|
+
listAccountObjectPrivilegeObjects(requestParameters: SharedApiListAccountObjectPrivilegeObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeObjectList> {
|
|
24716
|
+
return localVarFp.listAccountObjectPrivilegeObjects(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.offset, requestParameters.limit, requestParameters.catalogName, options).then((request) => request(axios, basePath));
|
|
24717
|
+
},
|
|
24273
24718
|
/**
|
|
24274
24719
|
* list accounts in cluster
|
|
24275
24720
|
* @summary List cluster accounts
|
|
@@ -26012,6 +26457,16 @@ export interface SharedApiInterface {
|
|
|
26012
26457
|
*/
|
|
26013
26458
|
buildBackupObj(requestParameters: SharedApiBuildBackupObjRequest, options?: RawAxiosRequestConfig): AxiosPromise<Backup>;
|
|
26014
26459
|
|
|
26460
|
+
/**
|
|
26461
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
26462
|
+
* @summary Grant or revoke native object and column privileges
|
|
26463
|
+
* @param {SharedApiChangeAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
26464
|
+
* @param {*} [options] Override http request option.
|
|
26465
|
+
* @throws {RequiredError}
|
|
26466
|
+
* @memberof SharedApiInterface
|
|
26467
|
+
*/
|
|
26468
|
+
changeAccountObjectPrivileges(requestParameters: SharedApiChangeAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26469
|
+
|
|
26015
26470
|
/**
|
|
26016
26471
|
*
|
|
26017
26472
|
* @summary Change Elasticsearch account password
|
|
@@ -26843,6 +27298,26 @@ export interface SharedApiInterface {
|
|
|
26843
27298
|
*/
|
|
26844
27299
|
generateDemoData(requestParameters: SharedApiGenerateDemoDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26845
27300
|
|
|
27301
|
+
/**
|
|
27302
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
27303
|
+
* @summary List native object privilege capabilities for the connected server
|
|
27304
|
+
* @param {SharedApiGetAccountObjectPrivilegeCapabilitiesRequest} requestParameters Request parameters.
|
|
27305
|
+
* @param {*} [options] Override http request option.
|
|
27306
|
+
* @throws {RequiredError}
|
|
27307
|
+
* @memberof SharedApiInterface
|
|
27308
|
+
*/
|
|
27309
|
+
getAccountObjectPrivilegeCapabilities(requestParameters: SharedApiGetAccountObjectPrivilegeCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeCapabilities>;
|
|
27310
|
+
|
|
27311
|
+
/**
|
|
27312
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
27313
|
+
* @summary Inspect native object and column privileges
|
|
27314
|
+
* @param {SharedApiGetAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
27315
|
+
* @param {*} [options] Override http request option.
|
|
27316
|
+
* @throws {RequiredError}
|
|
27317
|
+
* @memberof SharedApiInterface
|
|
27318
|
+
*/
|
|
27319
|
+
getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
|
|
27320
|
+
|
|
26846
27321
|
/**
|
|
26847
27322
|
*
|
|
26848
27323
|
* @summary Get backup
|
|
@@ -27432,6 +27907,16 @@ export interface SharedApiInterface {
|
|
|
27432
27907
|
*/
|
|
27433
27908
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27434
27909
|
|
|
27910
|
+
/**
|
|
27911
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
27912
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
27913
|
+
* @param {SharedApiListAccountObjectPrivilegeObjectsRequest} requestParameters Request parameters.
|
|
27914
|
+
* @param {*} [options] Override http request option.
|
|
27915
|
+
* @throws {RequiredError}
|
|
27916
|
+
* @memberof SharedApiInterface
|
|
27917
|
+
*/
|
|
27918
|
+
listAccountObjectPrivilegeObjects(requestParameters: SharedApiListAccountObjectPrivilegeObjectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeObjectList>;
|
|
27919
|
+
|
|
27435
27920
|
/**
|
|
27436
27921
|
* list accounts in cluster
|
|
27437
27922
|
* @summary List cluster accounts
|
|
@@ -29485,6 +29970,69 @@ export interface SharedApiBuildBackupObjRequest {
|
|
|
29485
29970
|
readonly body: BuildBackupObjRequest
|
|
29486
29971
|
}
|
|
29487
29972
|
|
|
29973
|
+
/**
|
|
29974
|
+
* Request parameters for changeAccountObjectPrivileges operation in SharedApi.
|
|
29975
|
+
* @export
|
|
29976
|
+
* @interface SharedApiChangeAccountObjectPrivilegesRequest
|
|
29977
|
+
*/
|
|
29978
|
+
export interface SharedApiChangeAccountObjectPrivilegesRequest {
|
|
29979
|
+
/**
|
|
29980
|
+
*
|
|
29981
|
+
* @type {string}
|
|
29982
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
29983
|
+
*/
|
|
29984
|
+
readonly engineName: string
|
|
29985
|
+
|
|
29986
|
+
/**
|
|
29987
|
+
*
|
|
29988
|
+
* @type {string}
|
|
29989
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
29990
|
+
*/
|
|
29991
|
+
readonly orgName: string
|
|
29992
|
+
|
|
29993
|
+
/**
|
|
29994
|
+
*
|
|
29995
|
+
* @type {string}
|
|
29996
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
29997
|
+
*/
|
|
29998
|
+
readonly clusterName: string
|
|
29999
|
+
|
|
30000
|
+
/**
|
|
30001
|
+
*
|
|
30002
|
+
* @type {string}
|
|
30003
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
30004
|
+
*/
|
|
30005
|
+
readonly accountName: string
|
|
30006
|
+
|
|
30007
|
+
/**
|
|
30008
|
+
*
|
|
30009
|
+
* @type {ObjectPrivilegeChange}
|
|
30010
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
30011
|
+
*/
|
|
30012
|
+
readonly body: ObjectPrivilegeChange
|
|
30013
|
+
|
|
30014
|
+
/**
|
|
30015
|
+
* Native subject kind; path account name identifies the subject.
|
|
30016
|
+
* @type {ObjectPrivilegeSubjectType}
|
|
30017
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
30018
|
+
*/
|
|
30019
|
+
readonly subjectType?: ObjectPrivilegeSubjectType
|
|
30020
|
+
|
|
30021
|
+
/**
|
|
30022
|
+
* Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
30023
|
+
* @type {string}
|
|
30024
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
30025
|
+
*/
|
|
30026
|
+
readonly host?: string
|
|
30027
|
+
|
|
30028
|
+
/**
|
|
30029
|
+
* JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
30030
|
+
* @type {string}
|
|
30031
|
+
* @memberof SharedApiChangeAccountObjectPrivileges
|
|
30032
|
+
*/
|
|
30033
|
+
readonly subjectQualifiers?: string
|
|
30034
|
+
}
|
|
30035
|
+
|
|
29488
30036
|
/**
|
|
29489
30037
|
* Request parameters for changeElasticsearchSecurityUserPassword operation in SharedApi.
|
|
29490
30038
|
* @export
|
|
@@ -32040,6 +32588,139 @@ export interface SharedApiGenerateDemoDataRequest {
|
|
|
32040
32588
|
readonly accountName: string
|
|
32041
32589
|
}
|
|
32042
32590
|
|
|
32591
|
+
/**
|
|
32592
|
+
* Request parameters for getAccountObjectPrivilegeCapabilities operation in SharedApi.
|
|
32593
|
+
* @export
|
|
32594
|
+
* @interface SharedApiGetAccountObjectPrivilegeCapabilitiesRequest
|
|
32595
|
+
*/
|
|
32596
|
+
export interface SharedApiGetAccountObjectPrivilegeCapabilitiesRequest {
|
|
32597
|
+
/**
|
|
32598
|
+
*
|
|
32599
|
+
* @type {string}
|
|
32600
|
+
* @memberof SharedApiGetAccountObjectPrivilegeCapabilities
|
|
32601
|
+
*/
|
|
32602
|
+
readonly engineName: string
|
|
32603
|
+
|
|
32604
|
+
/**
|
|
32605
|
+
*
|
|
32606
|
+
* @type {string}
|
|
32607
|
+
* @memberof SharedApiGetAccountObjectPrivilegeCapabilities
|
|
32608
|
+
*/
|
|
32609
|
+
readonly orgName: string
|
|
32610
|
+
|
|
32611
|
+
/**
|
|
32612
|
+
*
|
|
32613
|
+
* @type {string}
|
|
32614
|
+
* @memberof SharedApiGetAccountObjectPrivilegeCapabilities
|
|
32615
|
+
*/
|
|
32616
|
+
readonly clusterName: string
|
|
32617
|
+
|
|
32618
|
+
/**
|
|
32619
|
+
*
|
|
32620
|
+
* @type {string}
|
|
32621
|
+
* @memberof SharedApiGetAccountObjectPrivilegeCapabilities
|
|
32622
|
+
*/
|
|
32623
|
+
readonly accountName: string
|
|
32624
|
+
}
|
|
32625
|
+
|
|
32626
|
+
/**
|
|
32627
|
+
* Request parameters for getAccountObjectPrivileges operation in SharedApi.
|
|
32628
|
+
* @export
|
|
32629
|
+
* @interface SharedApiGetAccountObjectPrivilegesRequest
|
|
32630
|
+
*/
|
|
32631
|
+
export interface SharedApiGetAccountObjectPrivilegesRequest {
|
|
32632
|
+
/**
|
|
32633
|
+
*
|
|
32634
|
+
* @type {string}
|
|
32635
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32636
|
+
*/
|
|
32637
|
+
readonly engineName: string
|
|
32638
|
+
|
|
32639
|
+
/**
|
|
32640
|
+
*
|
|
32641
|
+
* @type {string}
|
|
32642
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32643
|
+
*/
|
|
32644
|
+
readonly orgName: string
|
|
32645
|
+
|
|
32646
|
+
/**
|
|
32647
|
+
*
|
|
32648
|
+
* @type {string}
|
|
32649
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32650
|
+
*/
|
|
32651
|
+
readonly clusterName: string
|
|
32652
|
+
|
|
32653
|
+
/**
|
|
32654
|
+
*
|
|
32655
|
+
* @type {string}
|
|
32656
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32657
|
+
*/
|
|
32658
|
+
readonly accountName: string
|
|
32659
|
+
|
|
32660
|
+
/**
|
|
32661
|
+
*
|
|
32662
|
+
* @type {string}
|
|
32663
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32664
|
+
*/
|
|
32665
|
+
readonly objectType: string
|
|
32666
|
+
|
|
32667
|
+
/**
|
|
32668
|
+
*
|
|
32669
|
+
* @type {string}
|
|
32670
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32671
|
+
*/
|
|
32672
|
+
readonly databaseName?: string
|
|
32673
|
+
|
|
32674
|
+
/**
|
|
32675
|
+
*
|
|
32676
|
+
* @type {string}
|
|
32677
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32678
|
+
*/
|
|
32679
|
+
readonly schemaName?: string
|
|
32680
|
+
|
|
32681
|
+
/**
|
|
32682
|
+
*
|
|
32683
|
+
* @type {string}
|
|
32684
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32685
|
+
*/
|
|
32686
|
+
readonly objectName?: string
|
|
32687
|
+
|
|
32688
|
+
/**
|
|
32689
|
+
*
|
|
32690
|
+
* @type {string}
|
|
32691
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32692
|
+
*/
|
|
32693
|
+
readonly objectId?: string
|
|
32694
|
+
|
|
32695
|
+
/**
|
|
32696
|
+
* Native subject kind; path account name identifies the subject.
|
|
32697
|
+
* @type {ObjectPrivilegeSubjectType}
|
|
32698
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32699
|
+
*/
|
|
32700
|
+
readonly subjectType?: ObjectPrivilegeSubjectType
|
|
32701
|
+
|
|
32702
|
+
/**
|
|
32703
|
+
* Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
32704
|
+
* @type {string}
|
|
32705
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32706
|
+
*/
|
|
32707
|
+
readonly host?: string
|
|
32708
|
+
|
|
32709
|
+
/**
|
|
32710
|
+
*
|
|
32711
|
+
* @type {string}
|
|
32712
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32713
|
+
*/
|
|
32714
|
+
readonly catalogName?: string
|
|
32715
|
+
|
|
32716
|
+
/**
|
|
32717
|
+
* JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
32718
|
+
* @type {string}
|
|
32719
|
+
* @memberof SharedApiGetAccountObjectPrivileges
|
|
32720
|
+
*/
|
|
32721
|
+
readonly subjectQualifiers?: string
|
|
32722
|
+
}
|
|
32723
|
+
|
|
32043
32724
|
/**
|
|
32044
32725
|
* Request parameters for getBackup operation in SharedApi.
|
|
32045
32726
|
* @export
|
|
@@ -34063,6 +34744,83 @@ export interface SharedApiKillSessionRequest {
|
|
|
34063
34744
|
readonly keep?: boolean
|
|
34064
34745
|
}
|
|
34065
34746
|
|
|
34747
|
+
/**
|
|
34748
|
+
* Request parameters for listAccountObjectPrivilegeObjects operation in SharedApi.
|
|
34749
|
+
* @export
|
|
34750
|
+
* @interface SharedApiListAccountObjectPrivilegeObjectsRequest
|
|
34751
|
+
*/
|
|
34752
|
+
export interface SharedApiListAccountObjectPrivilegeObjectsRequest {
|
|
34753
|
+
/**
|
|
34754
|
+
*
|
|
34755
|
+
* @type {string}
|
|
34756
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34757
|
+
*/
|
|
34758
|
+
readonly engineName: string
|
|
34759
|
+
|
|
34760
|
+
/**
|
|
34761
|
+
*
|
|
34762
|
+
* @type {string}
|
|
34763
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34764
|
+
*/
|
|
34765
|
+
readonly orgName: string
|
|
34766
|
+
|
|
34767
|
+
/**
|
|
34768
|
+
*
|
|
34769
|
+
* @type {string}
|
|
34770
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34771
|
+
*/
|
|
34772
|
+
readonly clusterName: string
|
|
34773
|
+
|
|
34774
|
+
/**
|
|
34775
|
+
*
|
|
34776
|
+
* @type {string}
|
|
34777
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34778
|
+
*/
|
|
34779
|
+
readonly accountName: string
|
|
34780
|
+
|
|
34781
|
+
/**
|
|
34782
|
+
*
|
|
34783
|
+
* @type {string}
|
|
34784
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34785
|
+
*/
|
|
34786
|
+
readonly objectType: string
|
|
34787
|
+
|
|
34788
|
+
/**
|
|
34789
|
+
*
|
|
34790
|
+
* @type {string}
|
|
34791
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34792
|
+
*/
|
|
34793
|
+
readonly databaseName?: string
|
|
34794
|
+
|
|
34795
|
+
/**
|
|
34796
|
+
*
|
|
34797
|
+
* @type {string}
|
|
34798
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34799
|
+
*/
|
|
34800
|
+
readonly schemaName?: string
|
|
34801
|
+
|
|
34802
|
+
/**
|
|
34803
|
+
*
|
|
34804
|
+
* @type {number}
|
|
34805
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34806
|
+
*/
|
|
34807
|
+
readonly offset?: number
|
|
34808
|
+
|
|
34809
|
+
/**
|
|
34810
|
+
*
|
|
34811
|
+
* @type {number}
|
|
34812
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34813
|
+
*/
|
|
34814
|
+
readonly limit?: number
|
|
34815
|
+
|
|
34816
|
+
/**
|
|
34817
|
+
*
|
|
34818
|
+
* @type {string}
|
|
34819
|
+
* @memberof SharedApiListAccountObjectPrivilegeObjects
|
|
34820
|
+
*/
|
|
34821
|
+
readonly catalogName?: string
|
|
34822
|
+
}
|
|
34823
|
+
|
|
34066
34824
|
/**
|
|
34067
34825
|
* Request parameters for listAccounts operation in SharedApi.
|
|
34068
34826
|
* @export
|
|
@@ -39843,6 +40601,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39843
40601
|
return SharedApiFp(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39844
40602
|
}
|
|
39845
40603
|
|
|
40604
|
+
/**
|
|
40605
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
40606
|
+
* @summary Grant or revoke native object and column privileges
|
|
40607
|
+
* @param {SharedApiChangeAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
40608
|
+
* @param {*} [options] Override http request option.
|
|
40609
|
+
* @throws {RequiredError}
|
|
40610
|
+
* @memberof SharedApi
|
|
40611
|
+
*/
|
|
40612
|
+
public changeAccountObjectPrivileges(requestParameters: SharedApiChangeAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
40613
|
+
return SharedApiFp(this.configuration).changeAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
|
|
40614
|
+
}
|
|
40615
|
+
|
|
39846
40616
|
/**
|
|
39847
40617
|
*
|
|
39848
40618
|
* @summary Change Elasticsearch account password
|
|
@@ -40840,6 +41610,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40840
41610
|
return SharedApiFp(this.configuration).generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
40841
41611
|
}
|
|
40842
41612
|
|
|
41613
|
+
/**
|
|
41614
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
41615
|
+
* @summary List native object privilege capabilities for the connected server
|
|
41616
|
+
* @param {SharedApiGetAccountObjectPrivilegeCapabilitiesRequest} requestParameters Request parameters.
|
|
41617
|
+
* @param {*} [options] Override http request option.
|
|
41618
|
+
* @throws {RequiredError}
|
|
41619
|
+
* @memberof SharedApi
|
|
41620
|
+
*/
|
|
41621
|
+
public getAccountObjectPrivilegeCapabilities(requestParameters: SharedApiGetAccountObjectPrivilegeCapabilitiesRequest, options?: RawAxiosRequestConfig) {
|
|
41622
|
+
return SharedApiFp(this.configuration).getAccountObjectPrivilegeCapabilities(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
41623
|
+
}
|
|
41624
|
+
|
|
41625
|
+
/**
|
|
41626
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
41627
|
+
* @summary Inspect native object and column privileges
|
|
41628
|
+
* @param {SharedApiGetAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
41629
|
+
* @param {*} [options] Override http request option.
|
|
41630
|
+
* @throws {RequiredError}
|
|
41631
|
+
* @memberof SharedApi
|
|
41632
|
+
*/
|
|
41633
|
+
public getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
41634
|
+
return SharedApiFp(this.configuration).getAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.objectName, requestParameters.objectId, requestParameters.subjectType, requestParameters.host, requestParameters.catalogName, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
|
|
41635
|
+
}
|
|
41636
|
+
|
|
40843
41637
|
/**
|
|
40844
41638
|
*
|
|
40845
41639
|
* @summary Get backup
|
|
@@ -41547,6 +42341,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
41547
42341
|
return SharedApiFp(this.configuration).killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(this.axios, this.basePath));
|
|
41548
42342
|
}
|
|
41549
42343
|
|
|
42344
|
+
/**
|
|
42345
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
42346
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
42347
|
+
* @param {SharedApiListAccountObjectPrivilegeObjectsRequest} requestParameters Request parameters.
|
|
42348
|
+
* @param {*} [options] Override http request option.
|
|
42349
|
+
* @throws {RequiredError}
|
|
42350
|
+
* @memberof SharedApi
|
|
42351
|
+
*/
|
|
42352
|
+
public listAccountObjectPrivilegeObjects(requestParameters: SharedApiListAccountObjectPrivilegeObjectsRequest, options?: RawAxiosRequestConfig) {
|
|
42353
|
+
return SharedApiFp(this.configuration).listAccountObjectPrivilegeObjects(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.offset, requestParameters.limit, requestParameters.catalogName, options).then((request) => request(this.axios, this.basePath));
|
|
42354
|
+
}
|
|
42355
|
+
|
|
41550
42356
|
/**
|
|
41551
42357
|
* list accounts in cluster
|
|
41552
42358
|
* @summary List cluster accounts
|