kb-cloud-client-typescript 2.3.0-alpha.105 → 2.3.0-alpha.107

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.
Files changed (39) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +158 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +168 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +158 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +168 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +158 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +168 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/account-option.d.ts +6 -0
  14. package/dist/adminapi/models/account-option.d.ts.map +1 -1
  15. package/dist/openapi/apis/account-api.d.ts +158 -0
  16. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  17. package/dist/openapi/apis/account-api.js +168 -0
  18. package/dist/openapi/apis/account-api.js.map +1 -1
  19. package/dist/openapi/apis/rdbms-api.d.ts +158 -0
  20. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  21. package/dist/openapi/apis/rdbms-api.js +168 -0
  22. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  23. package/dist/openapi/apis/shared-api.d.ts +158 -0
  24. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  25. package/dist/openapi/apis/shared-api.js +168 -0
  26. package/dist/openapi/apis/shared-api.js.map +1 -1
  27. package/dist/openapi/models/account-option.d.ts +6 -0
  28. package/dist/openapi/models/account-option.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/adminapi/apis/account-api.ts +272 -0
  31. package/src/adminapi/apis/rdbms-api.ts +272 -0
  32. package/src/adminapi/apis/shared-api.ts +272 -0
  33. package/src/adminapi/models/account-option.ts +6 -0
  34. package/src/adminapi.yaml +91 -0
  35. package/src/openapi/apis/account-api.ts +272 -0
  36. package/src/openapi/apis/rdbms-api.ts +272 -0
  37. package/src/openapi/apis/shared-api.ts +272 -0
  38. package/src/openapi/models/account-option.ts +6 -0
  39. package/src/openapi.yaml +91 -0
@@ -9355,6 +9355,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9355
9355
 
9356
9356
 
9357
9357
 
9358
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9359
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9360
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9361
+
9362
+ return {
9363
+ url: toPathString(localVarUrlObj),
9364
+ options: localVarRequestOptions,
9365
+ };
9366
+ },
9367
+ /**
9368
+ * lock an account in cluster
9369
+ * @summary Lock cluster account
9370
+ * @param {string} engineName name of the engine
9371
+ * @param {string} orgName name of the organization
9372
+ * @param {string} clusterName name of the cluster
9373
+ * @param {string} accountName name of the account
9374
+ * @param {*} [options] Override http request option.
9375
+ * @throws {RequiredError}
9376
+ */
9377
+ lockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9378
+ // verify required parameter 'engineName' is not null or undefined
9379
+ assertParamExists('lockAccount', 'engineName', engineName)
9380
+ // verify required parameter 'orgName' is not null or undefined
9381
+ assertParamExists('lockAccount', 'orgName', orgName)
9382
+ // verify required parameter 'clusterName' is not null or undefined
9383
+ assertParamExists('lockAccount', 'clusterName', clusterName)
9384
+ // verify required parameter 'accountName' is not null or undefined
9385
+ assertParamExists('lockAccount', 'accountName', accountName)
9386
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock`
9387
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9388
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9389
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9390
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
9391
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9392
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9393
+ let baseOptions;
9394
+ if (configuration) {
9395
+ baseOptions = configuration.baseOptions;
9396
+ }
9397
+
9398
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
9399
+ const localVarHeaderParameter = {} as any;
9400
+ const localVarQueryParameter = {} as any;
9401
+
9402
+ // authentication BearerToken required
9403
+ // http bearer authentication required
9404
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9405
+
9406
+ // authentication DigestAuth required
9407
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9408
+
9409
+
9410
+
9358
9411
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9359
9412
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9360
9413
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12070,6 +12123,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12070
12123
 
12071
12124
 
12072
12125
 
12126
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12127
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12128
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12129
+
12130
+ return {
12131
+ url: toPathString(localVarUrlObj),
12132
+ options: localVarRequestOptions,
12133
+ };
12134
+ },
12135
+ /**
12136
+ * unlock an account in cluster
12137
+ * @summary Unlock cluster account
12138
+ * @param {string} engineName name of the engine
12139
+ * @param {string} orgName name of the organization
12140
+ * @param {string} clusterName name of the cluster
12141
+ * @param {string} accountName name of the account
12142
+ * @param {*} [options] Override http request option.
12143
+ * @throws {RequiredError}
12144
+ */
12145
+ unlockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12146
+ // verify required parameter 'engineName' is not null or undefined
12147
+ assertParamExists('unlockAccount', 'engineName', engineName)
12148
+ // verify required parameter 'orgName' is not null or undefined
12149
+ assertParamExists('unlockAccount', 'orgName', orgName)
12150
+ // verify required parameter 'clusterName' is not null or undefined
12151
+ assertParamExists('unlockAccount', 'clusterName', clusterName)
12152
+ // verify required parameter 'accountName' is not null or undefined
12153
+ assertParamExists('unlockAccount', 'accountName', accountName)
12154
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
12155
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
12156
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12157
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12158
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
12159
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12160
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12161
+ let baseOptions;
12162
+ if (configuration) {
12163
+ baseOptions = configuration.baseOptions;
12164
+ }
12165
+
12166
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
12167
+ const localVarHeaderParameter = {} as any;
12168
+ const localVarQueryParameter = {} as any;
12169
+
12170
+ // authentication BearerToken required
12171
+ // http bearer authentication required
12172
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12173
+
12174
+ // authentication DigestAuth required
12175
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
12176
+
12177
+
12178
+
12073
12179
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12074
12180
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12075
12181
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15962,6 +16068,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
15962
16068
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listUpgradeableServiceVersion']?.[localVarOperationServerIndex]?.url;
15963
16069
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15964
16070
  },
16071
+ /**
16072
+ * lock an account in cluster
16073
+ * @summary Lock cluster account
16074
+ * @param {string} engineName name of the engine
16075
+ * @param {string} orgName name of the organization
16076
+ * @param {string} clusterName name of the cluster
16077
+ * @param {string} accountName name of the account
16078
+ * @param {*} [options] Override http request option.
16079
+ * @throws {RequiredError}
16080
+ */
16081
+ async lockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16082
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lockAccount(engineName, orgName, clusterName, accountName, options);
16083
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16084
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.lockAccount']?.[localVarOperationServerIndex]?.url;
16085
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16086
+ },
15965
16087
  /**
15966
16088
  *
15967
16089
  * @summary batch modify database tde status
@@ -16699,6 +16821,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
16699
16821
  const localVarOperationServerBasePath = operationServerMap['SharedApi.unfreezeMember']?.[localVarOperationServerIndex]?.url;
16700
16822
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16701
16823
  },
16824
+ /**
16825
+ * unlock an account in cluster
16826
+ * @summary Unlock cluster account
16827
+ * @param {string} engineName name of the engine
16828
+ * @param {string} orgName name of the organization
16829
+ * @param {string} clusterName name of the cluster
16830
+ * @param {string} accountName name of the account
16831
+ * @param {*} [options] Override http request option.
16832
+ * @throws {RequiredError}
16833
+ */
16834
+ async unlockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16835
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlockAccount(engineName, orgName, clusterName, accountName, options);
16836
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16837
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockAccount']?.[localVarOperationServerIndex]?.url;
16838
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16839
+ },
16702
16840
  /**
16703
16841
  * update an account in cluster
16704
16842
  * @summary update cluster account
@@ -18803,6 +18941,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18803
18941
  listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions> {
18804
18942
  return localVarFp.listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(axios, basePath));
18805
18943
  },
18944
+ /**
18945
+ * lock an account in cluster
18946
+ * @summary Lock cluster account
18947
+ * @param {SharedApiLockAccountRequest} requestParameters Request parameters.
18948
+ * @param {*} [options] Override http request option.
18949
+ * @throws {RequiredError}
18950
+ */
18951
+ lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
18952
+ return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
18953
+ },
18806
18954
  /**
18807
18955
  *
18808
18956
  * @summary batch modify database tde status
@@ -19212,6 +19360,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19212
19360
  unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19213
19361
  return localVarFp.unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(axios, basePath));
19214
19362
  },
19363
+ /**
19364
+ * unlock an account in cluster
19365
+ * @summary Unlock cluster account
19366
+ * @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
19367
+ * @param {*} [options] Override http request option.
19368
+ * @throws {RequiredError}
19369
+ */
19370
+ unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
19371
+ return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
19372
+ },
19215
19373
  /**
19216
19374
  * update an account in cluster
19217
19375
  * @summary update cluster account
@@ -21186,6 +21344,16 @@ export interface SharedApiInterface {
21186
21344
  */
21187
21345
  listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions>;
21188
21346
 
21347
+ /**
21348
+ * lock an account in cluster
21349
+ * @summary Lock cluster account
21350
+ * @param {SharedApiLockAccountRequest} requestParameters Request parameters.
21351
+ * @param {*} [options] Override http request option.
21352
+ * @throws {RequiredError}
21353
+ * @memberof SharedApiInterface
21354
+ */
21355
+ lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21356
+
21189
21357
  /**
21190
21358
  *
21191
21359
  * @summary batch modify database tde status
@@ -21595,6 +21763,16 @@ export interface SharedApiInterface {
21595
21763
  */
21596
21764
  unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21597
21765
 
21766
+ /**
21767
+ * unlock an account in cluster
21768
+ * @summary Unlock cluster account
21769
+ * @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
21770
+ * @param {*} [options] Override http request option.
21771
+ * @throws {RequiredError}
21772
+ * @memberof SharedApiInterface
21773
+ */
21774
+ unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21775
+
21598
21776
  /**
21599
21777
  * update an account in cluster
21600
21778
  * @summary update cluster account
@@ -26929,6 +27107,41 @@ export interface SharedApiListUpgradeableServiceVersionRequest {
26929
27107
  readonly component: string
26930
27108
  }
26931
27109
 
27110
+ /**
27111
+ * Request parameters for lockAccount operation in SharedApi.
27112
+ * @export
27113
+ * @interface SharedApiLockAccountRequest
27114
+ */
27115
+ export interface SharedApiLockAccountRequest {
27116
+ /**
27117
+ * name of the engine
27118
+ * @type {string}
27119
+ * @memberof SharedApiLockAccount
27120
+ */
27121
+ readonly engineName: string
27122
+
27123
+ /**
27124
+ * name of the organization
27125
+ * @type {string}
27126
+ * @memberof SharedApiLockAccount
27127
+ */
27128
+ readonly orgName: string
27129
+
27130
+ /**
27131
+ * name of the cluster
27132
+ * @type {string}
27133
+ * @memberof SharedApiLockAccount
27134
+ */
27135
+ readonly clusterName: string
27136
+
27137
+ /**
27138
+ * name of the account
27139
+ * @type {string}
27140
+ * @memberof SharedApiLockAccount
27141
+ */
27142
+ readonly accountName: string
27143
+ }
27144
+
26932
27145
  /**
26933
27146
  * Request parameters for manageMssqlTDEDatabase operation in SharedApi.
26934
27147
  * @export
@@ -28924,6 +29137,41 @@ export interface SharedApiUnfreezeMemberRequest {
28924
29137
  readonly memberId: string
28925
29138
  }
28926
29139
 
29140
+ /**
29141
+ * Request parameters for unlockAccount operation in SharedApi.
29142
+ * @export
29143
+ * @interface SharedApiUnlockAccountRequest
29144
+ */
29145
+ export interface SharedApiUnlockAccountRequest {
29146
+ /**
29147
+ * name of the engine
29148
+ * @type {string}
29149
+ * @memberof SharedApiUnlockAccount
29150
+ */
29151
+ readonly engineName: string
29152
+
29153
+ /**
29154
+ * name of the organization
29155
+ * @type {string}
29156
+ * @memberof SharedApiUnlockAccount
29157
+ */
29158
+ readonly orgName: string
29159
+
29160
+ /**
29161
+ * name of the cluster
29162
+ * @type {string}
29163
+ * @memberof SharedApiUnlockAccount
29164
+ */
29165
+ readonly clusterName: string
29166
+
29167
+ /**
29168
+ * name of the account
29169
+ * @type {string}
29170
+ * @memberof SharedApiUnlockAccount
29171
+ */
29172
+ readonly accountName: string
29173
+ }
29174
+
28927
29175
  /**
28928
29176
  * Request parameters for updateAccount operation in SharedApi.
28929
29177
  * @export
@@ -31757,6 +32005,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31757
32005
  return SharedApiFp(this.configuration).listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
31758
32006
  }
31759
32007
 
32008
+ /**
32009
+ * lock an account in cluster
32010
+ * @summary Lock cluster account
32011
+ * @param {SharedApiLockAccountRequest} requestParameters Request parameters.
32012
+ * @param {*} [options] Override http request option.
32013
+ * @throws {RequiredError}
32014
+ * @memberof SharedApi
32015
+ */
32016
+ public lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig) {
32017
+ return SharedApiFp(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
32018
+ }
32019
+
31760
32020
  /**
31761
32021
  *
31762
32022
  * @summary batch modify database tde status
@@ -32248,6 +32508,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32248
32508
  return SharedApiFp(this.configuration).unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(this.axios, this.basePath));
32249
32509
  }
32250
32510
 
32511
+ /**
32512
+ * unlock an account in cluster
32513
+ * @summary Unlock cluster account
32514
+ * @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
32515
+ * @param {*} [options] Override http request option.
32516
+ * @throws {RequiredError}
32517
+ * @memberof SharedApi
32518
+ */
32519
+ public unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig) {
32520
+ return SharedApiFp(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
32521
+ }
32522
+
32251
32523
  /**
32252
32524
  * update an account in cluster
32253
32525
  * @summary update cluster account
@@ -74,6 +74,12 @@ export interface AccountOption {
74
74
  * @memberof AccountOption
75
75
  */
76
76
  'delete': boolean;
77
+ /**
78
+ * Whether the engine supports account lock and unlock actions.
79
+ * @type {boolean}
80
+ * @memberof AccountOption
81
+ */
82
+ 'lock'?: boolean;
77
83
  /**
78
84
  *
79
85
  * @type {boolean}
package/src/adminapi.yaml CHANGED
@@ -18732,6 +18732,94 @@ paths:
18732
18732
  - rdbms
18733
18733
  - shared
18734
18734
  x-codegen-request-body-name: body
18735
+ /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock:
18736
+ patch:
18737
+ description: lock an account in cluster
18738
+ summary: Lock cluster account
18739
+ operationId: lockAccount
18740
+ parameters:
18741
+ - description: name of the engine
18742
+ in: path
18743
+ name: engineName
18744
+ required: true
18745
+ schema:
18746
+ type: string
18747
+ - description: name of the organization
18748
+ in: path
18749
+ name: orgName
18750
+ required: true
18751
+ schema:
18752
+ type: string
18753
+ - description: name of the cluster
18754
+ in: path
18755
+ name: clusterName
18756
+ required: true
18757
+ schema:
18758
+ type: string
18759
+ - description: name of the account
18760
+ in: path
18761
+ name: accountName
18762
+ required: true
18763
+ schema:
18764
+ type: string
18765
+ responses:
18766
+ '204':
18767
+ content: {}
18768
+ description: Returned when account is locked successfully.
18769
+ '401':
18770
+ $ref: '#/components/responses/401'
18771
+ '403':
18772
+ $ref: '#/components/responses/403'
18773
+ '404':
18774
+ $ref: '#/components/responses/404'
18775
+ tags:
18776
+ - account
18777
+ - rdbms
18778
+ - shared
18779
+ /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock:
18780
+ patch:
18781
+ description: unlock an account in cluster
18782
+ summary: Unlock cluster account
18783
+ operationId: unlockAccount
18784
+ parameters:
18785
+ - description: name of the engine
18786
+ in: path
18787
+ name: engineName
18788
+ required: true
18789
+ schema:
18790
+ type: string
18791
+ - description: name of the organization
18792
+ in: path
18793
+ name: orgName
18794
+ required: true
18795
+ schema:
18796
+ type: string
18797
+ - description: name of the cluster
18798
+ in: path
18799
+ name: clusterName
18800
+ required: true
18801
+ schema:
18802
+ type: string
18803
+ - description: name of the account
18804
+ in: path
18805
+ name: accountName
18806
+ required: true
18807
+ schema:
18808
+ type: string
18809
+ responses:
18810
+ '204':
18811
+ content: {}
18812
+ description: Returned when account is unlocked successfully.
18813
+ '401':
18814
+ $ref: '#/components/responses/401'
18815
+ '403':
18816
+ $ref: '#/components/responses/403'
18817
+ '404':
18818
+ $ref: '#/components/responses/404'
18819
+ tags:
18820
+ - account
18821
+ - rdbms
18822
+ - shared
18735
18823
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/sessions:
18736
18824
  get:
18737
18825
  description: list sessions in cluster
@@ -30083,6 +30171,9 @@ components:
30083
30171
  type: boolean
30084
30172
  delete:
30085
30173
  type: boolean
30174
+ lock:
30175
+ type: boolean
30176
+ description: Whether the engine supports account lock and unlock actions.
30086
30177
  displayRootAccount:
30087
30178
  type: boolean
30088
30179
  x-omitempty: false