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.
- package/dist/adminapi/apis/account-api.d.ts +158 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +168 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +158 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +168 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +158 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +168 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +6 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +158 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +168 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +158 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +168 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +158 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +168 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +6 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/account-api.ts +272 -0
- package/src/adminapi/apis/rdbms-api.ts +272 -0
- package/src/adminapi/apis/shared-api.ts +272 -0
- package/src/adminapi/models/account-option.ts +6 -0
- package/src/adminapi.yaml +91 -0
- package/src/openapi/apis/account-api.ts +272 -0
- package/src/openapi/apis/rdbms-api.ts +272 -0
- package/src/openapi/apis/shared-api.ts +272 -0
- package/src/openapi/models/account-option.ts +6 -0
- package/src/openapi.yaml +91 -0
|
@@ -9599,6 +9599,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9599
9599
|
|
|
9600
9600
|
|
|
9601
9601
|
|
|
9602
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9603
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9604
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9605
|
+
|
|
9606
|
+
return {
|
|
9607
|
+
url: toPathString(localVarUrlObj),
|
|
9608
|
+
options: localVarRequestOptions,
|
|
9609
|
+
};
|
|
9610
|
+
},
|
|
9611
|
+
/**
|
|
9612
|
+
* lock an account in cluster
|
|
9613
|
+
* @summary Lock cluster account
|
|
9614
|
+
* @param {string} engineName name of the engine
|
|
9615
|
+
* @param {string} orgName name of the organization
|
|
9616
|
+
* @param {string} clusterName name of the cluster
|
|
9617
|
+
* @param {string} accountName name of the account
|
|
9618
|
+
* @param {*} [options] Override http request option.
|
|
9619
|
+
* @throws {RequiredError}
|
|
9620
|
+
*/
|
|
9621
|
+
lockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9622
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
9623
|
+
assertParamExists('lockAccount', 'engineName', engineName)
|
|
9624
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9625
|
+
assertParamExists('lockAccount', 'orgName', orgName)
|
|
9626
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9627
|
+
assertParamExists('lockAccount', 'clusterName', clusterName)
|
|
9628
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
9629
|
+
assertParamExists('lockAccount', 'accountName', accountName)
|
|
9630
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock`
|
|
9631
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
9632
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9633
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9634
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
9635
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9636
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9637
|
+
let baseOptions;
|
|
9638
|
+
if (configuration) {
|
|
9639
|
+
baseOptions = configuration.baseOptions;
|
|
9640
|
+
}
|
|
9641
|
+
|
|
9642
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9643
|
+
const localVarHeaderParameter = {} as any;
|
|
9644
|
+
const localVarQueryParameter = {} as any;
|
|
9645
|
+
|
|
9646
|
+
// authentication BearerToken required
|
|
9647
|
+
// http bearer authentication required
|
|
9648
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9649
|
+
|
|
9650
|
+
// authentication DigestAuth required
|
|
9651
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9652
|
+
|
|
9653
|
+
|
|
9654
|
+
|
|
9602
9655
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9603
9656
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9604
9657
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12462,6 +12515,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12462
12515
|
|
|
12463
12516
|
|
|
12464
12517
|
|
|
12518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12520
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12521
|
+
|
|
12522
|
+
return {
|
|
12523
|
+
url: toPathString(localVarUrlObj),
|
|
12524
|
+
options: localVarRequestOptions,
|
|
12525
|
+
};
|
|
12526
|
+
},
|
|
12527
|
+
/**
|
|
12528
|
+
* unlock an account in cluster
|
|
12529
|
+
* @summary Unlock cluster account
|
|
12530
|
+
* @param {string} engineName name of the engine
|
|
12531
|
+
* @param {string} orgName name of the organization
|
|
12532
|
+
* @param {string} clusterName name of the cluster
|
|
12533
|
+
* @param {string} accountName name of the account
|
|
12534
|
+
* @param {*} [options] Override http request option.
|
|
12535
|
+
* @throws {RequiredError}
|
|
12536
|
+
*/
|
|
12537
|
+
unlockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12538
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12539
|
+
assertParamExists('unlockAccount', 'engineName', engineName)
|
|
12540
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12541
|
+
assertParamExists('unlockAccount', 'orgName', orgName)
|
|
12542
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12543
|
+
assertParamExists('unlockAccount', 'clusterName', clusterName)
|
|
12544
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
12545
|
+
assertParamExists('unlockAccount', 'accountName', accountName)
|
|
12546
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
|
|
12547
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12548
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12549
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12550
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12551
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12552
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12553
|
+
let baseOptions;
|
|
12554
|
+
if (configuration) {
|
|
12555
|
+
baseOptions = configuration.baseOptions;
|
|
12556
|
+
}
|
|
12557
|
+
|
|
12558
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
12559
|
+
const localVarHeaderParameter = {} as any;
|
|
12560
|
+
const localVarQueryParameter = {} as any;
|
|
12561
|
+
|
|
12562
|
+
// authentication BearerToken required
|
|
12563
|
+
// http bearer authentication required
|
|
12564
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12565
|
+
|
|
12566
|
+
// authentication DigestAuth required
|
|
12567
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12568
|
+
|
|
12569
|
+
|
|
12570
|
+
|
|
12465
12571
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12466
12572
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12467
12573
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16574,6 +16680,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16574
16680
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listUpgradeableServiceVersion']?.[localVarOperationServerIndex]?.url;
|
|
16575
16681
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16576
16682
|
},
|
|
16683
|
+
/**
|
|
16684
|
+
* lock an account in cluster
|
|
16685
|
+
* @summary Lock cluster account
|
|
16686
|
+
* @param {string} engineName name of the engine
|
|
16687
|
+
* @param {string} orgName name of the organization
|
|
16688
|
+
* @param {string} clusterName name of the cluster
|
|
16689
|
+
* @param {string} accountName name of the account
|
|
16690
|
+
* @param {*} [options] Override http request option.
|
|
16691
|
+
* @throws {RequiredError}
|
|
16692
|
+
*/
|
|
16693
|
+
async lockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16694
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockAccount(engineName, orgName, clusterName, accountName, options);
|
|
16695
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16696
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.lockAccount']?.[localVarOperationServerIndex]?.url;
|
|
16697
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16698
|
+
},
|
|
16577
16699
|
/**
|
|
16578
16700
|
*
|
|
16579
16701
|
* @summary batch modify database tde status
|
|
@@ -17355,6 +17477,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17355
17477
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.unfreezeMember']?.[localVarOperationServerIndex]?.url;
|
|
17356
17478
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17357
17479
|
},
|
|
17480
|
+
/**
|
|
17481
|
+
* unlock an account in cluster
|
|
17482
|
+
* @summary Unlock cluster account
|
|
17483
|
+
* @param {string} engineName name of the engine
|
|
17484
|
+
* @param {string} orgName name of the organization
|
|
17485
|
+
* @param {string} clusterName name of the cluster
|
|
17486
|
+
* @param {string} accountName name of the account
|
|
17487
|
+
* @param {*} [options] Override http request option.
|
|
17488
|
+
* @throws {RequiredError}
|
|
17489
|
+
*/
|
|
17490
|
+
async unlockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17491
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockAccount(engineName, orgName, clusterName, accountName, options);
|
|
17492
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17493
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.unlockAccount']?.[localVarOperationServerIndex]?.url;
|
|
17494
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17495
|
+
},
|
|
17358
17496
|
/**
|
|
17359
17497
|
* update an account in cluster
|
|
17360
17498
|
* @summary update cluster account
|
|
@@ -19518,6 +19656,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19518
19656
|
listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions> {
|
|
19519
19657
|
return localVarFp.listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
19520
19658
|
},
|
|
19659
|
+
/**
|
|
19660
|
+
* lock an account in cluster
|
|
19661
|
+
* @summary Lock cluster account
|
|
19662
|
+
* @param {SharedApiLockAccountRequest} requestParameters Request parameters.
|
|
19663
|
+
* @param {*} [options] Override http request option.
|
|
19664
|
+
* @throws {RequiredError}
|
|
19665
|
+
*/
|
|
19666
|
+
lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19667
|
+
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
19668
|
+
},
|
|
19521
19669
|
/**
|
|
19522
19670
|
*
|
|
19523
19671
|
* @summary batch modify database tde status
|
|
@@ -19957,6 +20105,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19957
20105
|
unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19958
20106
|
return localVarFp.unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(axios, basePath));
|
|
19959
20107
|
},
|
|
20108
|
+
/**
|
|
20109
|
+
* unlock an account in cluster
|
|
20110
|
+
* @summary Unlock cluster account
|
|
20111
|
+
* @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
|
|
20112
|
+
* @param {*} [options] Override http request option.
|
|
20113
|
+
* @throws {RequiredError}
|
|
20114
|
+
*/
|
|
20115
|
+
unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20116
|
+
return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20117
|
+
},
|
|
19960
20118
|
/**
|
|
19961
20119
|
* update an account in cluster
|
|
19962
20120
|
* @summary update cluster account
|
|
@@ -21973,6 +22131,16 @@ export interface SharedApiInterface {
|
|
|
21973
22131
|
*/
|
|
21974
22132
|
listUpgradeableServiceVersion(requestParameters: SharedApiListUpgradeableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EngineServiceVersions>;
|
|
21975
22133
|
|
|
22134
|
+
/**
|
|
22135
|
+
* lock an account in cluster
|
|
22136
|
+
* @summary Lock cluster account
|
|
22137
|
+
* @param {SharedApiLockAccountRequest} requestParameters Request parameters.
|
|
22138
|
+
* @param {*} [options] Override http request option.
|
|
22139
|
+
* @throws {RequiredError}
|
|
22140
|
+
* @memberof SharedApiInterface
|
|
22141
|
+
*/
|
|
22142
|
+
lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22143
|
+
|
|
21976
22144
|
/**
|
|
21977
22145
|
*
|
|
21978
22146
|
* @summary batch modify database tde status
|
|
@@ -22412,6 +22580,16 @@ export interface SharedApiInterface {
|
|
|
22412
22580
|
*/
|
|
22413
22581
|
unfreezeMember(requestParameters: SharedApiUnfreezeMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22414
22582
|
|
|
22583
|
+
/**
|
|
22584
|
+
* unlock an account in cluster
|
|
22585
|
+
* @summary Unlock cluster account
|
|
22586
|
+
* @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
|
|
22587
|
+
* @param {*} [options] Override http request option.
|
|
22588
|
+
* @throws {RequiredError}
|
|
22589
|
+
* @memberof SharedApiInterface
|
|
22590
|
+
*/
|
|
22591
|
+
unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22592
|
+
|
|
22415
22593
|
/**
|
|
22416
22594
|
* update an account in cluster
|
|
22417
22595
|
* @summary update cluster account
|
|
@@ -28140,6 +28318,41 @@ export interface SharedApiListUpgradeableServiceVersionRequest {
|
|
|
28140
28318
|
readonly component: string
|
|
28141
28319
|
}
|
|
28142
28320
|
|
|
28321
|
+
/**
|
|
28322
|
+
* Request parameters for lockAccount operation in SharedApi.
|
|
28323
|
+
* @export
|
|
28324
|
+
* @interface SharedApiLockAccountRequest
|
|
28325
|
+
*/
|
|
28326
|
+
export interface SharedApiLockAccountRequest {
|
|
28327
|
+
/**
|
|
28328
|
+
* name of the engine
|
|
28329
|
+
* @type {string}
|
|
28330
|
+
* @memberof SharedApiLockAccount
|
|
28331
|
+
*/
|
|
28332
|
+
readonly engineName: string
|
|
28333
|
+
|
|
28334
|
+
/**
|
|
28335
|
+
* name of the organization
|
|
28336
|
+
* @type {string}
|
|
28337
|
+
* @memberof SharedApiLockAccount
|
|
28338
|
+
*/
|
|
28339
|
+
readonly orgName: string
|
|
28340
|
+
|
|
28341
|
+
/**
|
|
28342
|
+
* name of the cluster
|
|
28343
|
+
* @type {string}
|
|
28344
|
+
* @memberof SharedApiLockAccount
|
|
28345
|
+
*/
|
|
28346
|
+
readonly clusterName: string
|
|
28347
|
+
|
|
28348
|
+
/**
|
|
28349
|
+
* name of the account
|
|
28350
|
+
* @type {string}
|
|
28351
|
+
* @memberof SharedApiLockAccount
|
|
28352
|
+
*/
|
|
28353
|
+
readonly accountName: string
|
|
28354
|
+
}
|
|
28355
|
+
|
|
28143
28356
|
/**
|
|
28144
28357
|
* Request parameters for manageMssqlTDEDatabase operation in SharedApi.
|
|
28145
28358
|
* @export
|
|
@@ -30212,6 +30425,41 @@ export interface SharedApiUnfreezeMemberRequest {
|
|
|
30212
30425
|
readonly memberId: string
|
|
30213
30426
|
}
|
|
30214
30427
|
|
|
30428
|
+
/**
|
|
30429
|
+
* Request parameters for unlockAccount operation in SharedApi.
|
|
30430
|
+
* @export
|
|
30431
|
+
* @interface SharedApiUnlockAccountRequest
|
|
30432
|
+
*/
|
|
30433
|
+
export interface SharedApiUnlockAccountRequest {
|
|
30434
|
+
/**
|
|
30435
|
+
* name of the engine
|
|
30436
|
+
* @type {string}
|
|
30437
|
+
* @memberof SharedApiUnlockAccount
|
|
30438
|
+
*/
|
|
30439
|
+
readonly engineName: string
|
|
30440
|
+
|
|
30441
|
+
/**
|
|
30442
|
+
* name of the organization
|
|
30443
|
+
* @type {string}
|
|
30444
|
+
* @memberof SharedApiUnlockAccount
|
|
30445
|
+
*/
|
|
30446
|
+
readonly orgName: string
|
|
30447
|
+
|
|
30448
|
+
/**
|
|
30449
|
+
* name of the cluster
|
|
30450
|
+
* @type {string}
|
|
30451
|
+
* @memberof SharedApiUnlockAccount
|
|
30452
|
+
*/
|
|
30453
|
+
readonly clusterName: string
|
|
30454
|
+
|
|
30455
|
+
/**
|
|
30456
|
+
* name of the account
|
|
30457
|
+
* @type {string}
|
|
30458
|
+
* @memberof SharedApiUnlockAccount
|
|
30459
|
+
*/
|
|
30460
|
+
readonly accountName: string
|
|
30461
|
+
}
|
|
30462
|
+
|
|
30215
30463
|
/**
|
|
30216
30464
|
* Request parameters for updateAccount operation in SharedApi.
|
|
30217
30465
|
* @export
|
|
@@ -33157,6 +33405,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33157
33405
|
return SharedApiFp(this.configuration).listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
33158
33406
|
}
|
|
33159
33407
|
|
|
33408
|
+
/**
|
|
33409
|
+
* lock an account in cluster
|
|
33410
|
+
* @summary Lock cluster account
|
|
33411
|
+
* @param {SharedApiLockAccountRequest} requestParameters Request parameters.
|
|
33412
|
+
* @param {*} [options] Override http request option.
|
|
33413
|
+
* @throws {RequiredError}
|
|
33414
|
+
* @memberof SharedApi
|
|
33415
|
+
*/
|
|
33416
|
+
public lockAccount(requestParameters: SharedApiLockAccountRequest, options?: RawAxiosRequestConfig) {
|
|
33417
|
+
return SharedApiFp(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
33418
|
+
}
|
|
33419
|
+
|
|
33160
33420
|
/**
|
|
33161
33421
|
*
|
|
33162
33422
|
* @summary batch modify database tde status
|
|
@@ -33684,6 +33944,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33684
33944
|
return SharedApiFp(this.configuration).unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(this.axios, this.basePath));
|
|
33685
33945
|
}
|
|
33686
33946
|
|
|
33947
|
+
/**
|
|
33948
|
+
* unlock an account in cluster
|
|
33949
|
+
* @summary Unlock cluster account
|
|
33950
|
+
* @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
|
|
33951
|
+
* @param {*} [options] Override http request option.
|
|
33952
|
+
* @throws {RequiredError}
|
|
33953
|
+
* @memberof SharedApi
|
|
33954
|
+
*/
|
|
33955
|
+
public unlockAccount(requestParameters: SharedApiUnlockAccountRequest, options?: RawAxiosRequestConfig) {
|
|
33956
|
+
return SharedApiFp(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
33957
|
+
}
|
|
33958
|
+
|
|
33687
33959
|
/**
|
|
33688
33960
|
* update an account in cluster
|
|
33689
33961
|
* @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/openapi.yaml
CHANGED
|
@@ -13566,6 +13566,94 @@ paths:
|
|
|
13566
13566
|
- rdbms
|
|
13567
13567
|
- shared
|
|
13568
13568
|
x-codegen-request-body-name: body
|
|
13569
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock:
|
|
13570
|
+
patch:
|
|
13571
|
+
description: lock an account in cluster
|
|
13572
|
+
summary: Lock cluster account
|
|
13573
|
+
operationId: lockAccount
|
|
13574
|
+
parameters:
|
|
13575
|
+
- description: name of the engine
|
|
13576
|
+
in: path
|
|
13577
|
+
name: engineName
|
|
13578
|
+
required: true
|
|
13579
|
+
schema:
|
|
13580
|
+
type: string
|
|
13581
|
+
- description: name of the organization
|
|
13582
|
+
in: path
|
|
13583
|
+
name: orgName
|
|
13584
|
+
required: true
|
|
13585
|
+
schema:
|
|
13586
|
+
type: string
|
|
13587
|
+
- description: name of the cluster
|
|
13588
|
+
in: path
|
|
13589
|
+
name: clusterName
|
|
13590
|
+
required: true
|
|
13591
|
+
schema:
|
|
13592
|
+
type: string
|
|
13593
|
+
- description: name of the account
|
|
13594
|
+
in: path
|
|
13595
|
+
name: accountName
|
|
13596
|
+
required: true
|
|
13597
|
+
schema:
|
|
13598
|
+
type: string
|
|
13599
|
+
responses:
|
|
13600
|
+
'204':
|
|
13601
|
+
content: {}
|
|
13602
|
+
description: Returned when account is locked successfully.
|
|
13603
|
+
'401':
|
|
13604
|
+
$ref: '#/components/responses/401'
|
|
13605
|
+
'403':
|
|
13606
|
+
$ref: '#/components/responses/403'
|
|
13607
|
+
'404':
|
|
13608
|
+
$ref: '#/components/responses/404'
|
|
13609
|
+
tags:
|
|
13610
|
+
- account
|
|
13611
|
+
- rdbms
|
|
13612
|
+
- shared
|
|
13613
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock:
|
|
13614
|
+
patch:
|
|
13615
|
+
description: unlock an account in cluster
|
|
13616
|
+
summary: Unlock cluster account
|
|
13617
|
+
operationId: unlockAccount
|
|
13618
|
+
parameters:
|
|
13619
|
+
- description: name of the engine
|
|
13620
|
+
in: path
|
|
13621
|
+
name: engineName
|
|
13622
|
+
required: true
|
|
13623
|
+
schema:
|
|
13624
|
+
type: string
|
|
13625
|
+
- description: name of the organization
|
|
13626
|
+
in: path
|
|
13627
|
+
name: orgName
|
|
13628
|
+
required: true
|
|
13629
|
+
schema:
|
|
13630
|
+
type: string
|
|
13631
|
+
- description: name of the cluster
|
|
13632
|
+
in: path
|
|
13633
|
+
name: clusterName
|
|
13634
|
+
required: true
|
|
13635
|
+
schema:
|
|
13636
|
+
type: string
|
|
13637
|
+
- description: name of the account
|
|
13638
|
+
in: path
|
|
13639
|
+
name: accountName
|
|
13640
|
+
required: true
|
|
13641
|
+
schema:
|
|
13642
|
+
type: string
|
|
13643
|
+
responses:
|
|
13644
|
+
'204':
|
|
13645
|
+
content: {}
|
|
13646
|
+
description: Returned when account is unlocked successfully.
|
|
13647
|
+
'401':
|
|
13648
|
+
$ref: '#/components/responses/401'
|
|
13649
|
+
'403':
|
|
13650
|
+
$ref: '#/components/responses/403'
|
|
13651
|
+
'404':
|
|
13652
|
+
$ref: '#/components/responses/404'
|
|
13653
|
+
tags:
|
|
13654
|
+
- account
|
|
13655
|
+
- rdbms
|
|
13656
|
+
- shared
|
|
13569
13657
|
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/sessions:
|
|
13570
13658
|
get:
|
|
13571
13659
|
description: list sessions in cluster
|
|
@@ -23756,6 +23844,9 @@ components:
|
|
|
23756
23844
|
type: boolean
|
|
23757
23845
|
delete:
|
|
23758
23846
|
type: boolean
|
|
23847
|
+
lock:
|
|
23848
|
+
type: boolean
|
|
23849
|
+
description: Whether the engine supports account lock and unlock actions.
|
|
23759
23850
|
displayRootAccount:
|
|
23760
23851
|
type: boolean
|
|
23761
23852
|
x-omitempty: false
|