kb-cloud-client-typescript 2.3.50 → 2.3.52
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/aiagent-api.d.ts +6 -6
- package/dist/adminapi/apis/aiagent-api.js +4 -4
- package/dist/adminapi/apis/alert-rule-api.d.ts +223 -0
- package/dist/adminapi/apis/alert-rule-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-rule-api.js +241 -0
- package/dist/adminapi/apis/alert-rule-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +222 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +241 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +12 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
- package/dist/adminapi/models/alert-resource-type.d.ts +22 -0
- package/dist/adminapi/models/alert-resource-type.d.ts.map +1 -0
- package/dist/adminapi/models/alert-resource-type.js +26 -0
- package/dist/adminapi/models/alert-resource-type.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/aiagent-api.d.ts +6 -6
- package/dist/openapi/apis/aiagent-api.js +4 -4
- package/dist/openapi/apis/alert-rule-api.d.ts +223 -0
- package/dist/openapi/apis/alert-rule-api.d.ts.map +1 -1
- package/dist/openapi/apis/alert-rule-api.js +241 -0
- package/dist/openapi/apis/alert-rule-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +222 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +241 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts +12 -0
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
- package/dist/openapi/models/alert-resource-type.d.ts +22 -0
- package/dist/openapi/models/alert-resource-type.d.ts.map +1 -0
- package/dist/openapi/models/alert-resource-type.js +26 -0
- package/dist/openapi/models/alert-resource-type.js.map +1 -0
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/aiagent-api.ts +6 -6
- package/src/adminapi/apis/alert-rule-api.ts +388 -0
- package/src/adminapi/apis/shared-api.ts +386 -0
- package/src/adminapi/models/ai-agent-turn-action-list.ts +12 -0
- package/src/adminapi/models/alert-resource-type.ts +31 -0
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi.yaml +131 -0
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/aiagent-api.ts +6 -6
- package/src/openapi/apis/alert-rule-api.ts +388 -0
- package/src/openapi/apis/shared-api.ts +386 -0
- package/src/openapi/models/ai-agent-turn-action-list.ts +12 -0
- package/src/openapi/models/alert-resource-type.ts +31 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi.yaml +131 -0
|
@@ -6285,6 +6285,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6285
6285
|
options: localVarRequestOptions,
|
|
6286
6286
|
};
|
|
6287
6287
|
},
|
|
6288
|
+
/**
|
|
6289
|
+
*
|
|
6290
|
+
* @summary Get resource alert settings
|
|
6291
|
+
* @param {string} orgName name of the Org
|
|
6292
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
6293
|
+
* @param {string} resourceID
|
|
6294
|
+
* @param {*} [options] Override http request option.
|
|
6295
|
+
* @throws {RequiredError}
|
|
6296
|
+
*/
|
|
6297
|
+
getResourceAlertDisabled: async (orgName, resourceType, resourceID, options = {}) => {
|
|
6298
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6299
|
+
(0, common_1.assertParamExists)('getResourceAlertDisabled', 'orgName', orgName);
|
|
6300
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
6301
|
+
(0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceType', resourceType);
|
|
6302
|
+
// verify required parameter 'resourceID' is not null or undefined
|
|
6303
|
+
(0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceID', resourceID);
|
|
6304
|
+
const localVarPath = `/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
|
|
6305
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6306
|
+
.replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
|
|
6307
|
+
.replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
|
|
6308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6309
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6310
|
+
let baseOptions;
|
|
6311
|
+
if (configuration) {
|
|
6312
|
+
baseOptions = configuration.baseOptions;
|
|
6313
|
+
}
|
|
6314
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6315
|
+
const localVarHeaderParameter = {};
|
|
6316
|
+
const localVarQueryParameter = {};
|
|
6317
|
+
// authentication BearerToken required
|
|
6318
|
+
// http bearer authentication required
|
|
6319
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6320
|
+
// authentication DigestAuth required
|
|
6321
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6322
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6323
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6324
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6325
|
+
return {
|
|
6326
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6327
|
+
options: localVarRequestOptions,
|
|
6328
|
+
};
|
|
6329
|
+
},
|
|
6288
6330
|
/**
|
|
6289
6331
|
*
|
|
6290
6332
|
* @summary get restore workload logs of the cluster
|
|
@@ -9548,6 +9590,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9548
9590
|
options: localVarRequestOptions,
|
|
9549
9591
|
};
|
|
9550
9592
|
},
|
|
9593
|
+
/**
|
|
9594
|
+
*
|
|
9595
|
+
* @summary List applicable alert rules for a resource
|
|
9596
|
+
* @param {string} orgName name of the Org
|
|
9597
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
9598
|
+
* @param {string} resourceID
|
|
9599
|
+
* @param {*} [options] Override http request option.
|
|
9600
|
+
* @throws {RequiredError}
|
|
9601
|
+
*/
|
|
9602
|
+
listResourceAlertRules: async (orgName, resourceType, resourceID, options = {}) => {
|
|
9603
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9604
|
+
(0, common_1.assertParamExists)('listResourceAlertRules', 'orgName', orgName);
|
|
9605
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
9606
|
+
(0, common_1.assertParamExists)('listResourceAlertRules', 'resourceType', resourceType);
|
|
9607
|
+
// verify required parameter 'resourceID' is not null or undefined
|
|
9608
|
+
(0, common_1.assertParamExists)('listResourceAlertRules', 'resourceID', resourceID);
|
|
9609
|
+
const localVarPath = `/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules`
|
|
9610
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9611
|
+
.replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
|
|
9612
|
+
.replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
|
|
9613
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9614
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9615
|
+
let baseOptions;
|
|
9616
|
+
if (configuration) {
|
|
9617
|
+
baseOptions = configuration.baseOptions;
|
|
9618
|
+
}
|
|
9619
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9620
|
+
const localVarHeaderParameter = {};
|
|
9621
|
+
const localVarQueryParameter = {};
|
|
9622
|
+
// authentication BearerToken required
|
|
9623
|
+
// http bearer authentication required
|
|
9624
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9625
|
+
// authentication DigestAuth required
|
|
9626
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9627
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9628
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9629
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9630
|
+
return {
|
|
9631
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9632
|
+
options: localVarRequestOptions,
|
|
9633
|
+
};
|
|
9634
|
+
},
|
|
9551
9635
|
/**
|
|
9552
9636
|
* List permissions of a role
|
|
9553
9637
|
* @summary List permissions of a role
|
|
@@ -12741,6 +12825,51 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12741
12825
|
options: localVarRequestOptions,
|
|
12742
12826
|
};
|
|
12743
12827
|
},
|
|
12828
|
+
/**
|
|
12829
|
+
*
|
|
12830
|
+
* @summary Update resource alert settings
|
|
12831
|
+
* @param {string} orgName name of the Org
|
|
12832
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
12833
|
+
* @param {string} resourceID
|
|
12834
|
+
* @param {AlertCluster} [alertCluster]
|
|
12835
|
+
* @param {*} [options] Override http request option.
|
|
12836
|
+
* @throws {RequiredError}
|
|
12837
|
+
*/
|
|
12838
|
+
setResourceAlertDisabled: async (orgName, resourceType, resourceID, alertCluster, options = {}) => {
|
|
12839
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12840
|
+
(0, common_1.assertParamExists)('setResourceAlertDisabled', 'orgName', orgName);
|
|
12841
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
12842
|
+
(0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceType', resourceType);
|
|
12843
|
+
// verify required parameter 'resourceID' is not null or undefined
|
|
12844
|
+
(0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceID', resourceID);
|
|
12845
|
+
const localVarPath = `/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
|
|
12846
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12847
|
+
.replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
|
|
12848
|
+
.replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
|
|
12849
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12850
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12851
|
+
let baseOptions;
|
|
12852
|
+
if (configuration) {
|
|
12853
|
+
baseOptions = configuration.baseOptions;
|
|
12854
|
+
}
|
|
12855
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
12856
|
+
const localVarHeaderParameter = {};
|
|
12857
|
+
const localVarQueryParameter = {};
|
|
12858
|
+
// authentication BearerToken required
|
|
12859
|
+
// http bearer authentication required
|
|
12860
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12861
|
+
// authentication DigestAuth required
|
|
12862
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12863
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12864
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12865
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12866
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12867
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertCluster, localVarRequestOptions, configuration);
|
|
12868
|
+
return {
|
|
12869
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12870
|
+
options: localVarRequestOptions,
|
|
12871
|
+
};
|
|
12872
|
+
},
|
|
12744
12873
|
/**
|
|
12745
12874
|
*
|
|
12746
12875
|
* @summary read data of table or view
|
|
@@ -17245,6 +17374,22 @@ const SharedApiFp = function (configuration) {
|
|
|
17245
17374
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17246
17375
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17247
17376
|
},
|
|
17377
|
+
/**
|
|
17378
|
+
*
|
|
17379
|
+
* @summary Get resource alert settings
|
|
17380
|
+
* @param {string} orgName name of the Org
|
|
17381
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
17382
|
+
* @param {string} resourceID
|
|
17383
|
+
* @param {*} [options] Override http request option.
|
|
17384
|
+
* @throws {RequiredError}
|
|
17385
|
+
*/
|
|
17386
|
+
async getResourceAlertDisabled(orgName, resourceType, resourceID, options) {
|
|
17387
|
+
var _a, _b, _c;
|
|
17388
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getResourceAlertDisabled(orgName, resourceType, resourceID, options);
|
|
17389
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17390
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getResourceAlertDisabled']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17391
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17392
|
+
},
|
|
17248
17393
|
/**
|
|
17249
17394
|
*
|
|
17250
17395
|
* @summary get restore workload logs of the cluster
|
|
@@ -18452,6 +18597,22 @@ const SharedApiFp = function (configuration) {
|
|
|
18452
18597
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listRelatedClusters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18453
18598
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18454
18599
|
},
|
|
18600
|
+
/**
|
|
18601
|
+
*
|
|
18602
|
+
* @summary List applicable alert rules for a resource
|
|
18603
|
+
* @param {string} orgName name of the Org
|
|
18604
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
18605
|
+
* @param {string} resourceID
|
|
18606
|
+
* @param {*} [options] Override http request option.
|
|
18607
|
+
* @throws {RequiredError}
|
|
18608
|
+
*/
|
|
18609
|
+
async listResourceAlertRules(orgName, resourceType, resourceID, options) {
|
|
18610
|
+
var _a, _b, _c;
|
|
18611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listResourceAlertRules(orgName, resourceType, resourceID, options);
|
|
18612
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18613
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listResourceAlertRules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18614
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18615
|
+
},
|
|
18455
18616
|
/**
|
|
18456
18617
|
* List permissions of a role
|
|
18457
18618
|
* @summary List permissions of a role
|
|
@@ -19563,6 +19724,23 @@ const SharedApiFp = function (configuration) {
|
|
|
19563
19724
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.setKafkaTopicConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19564
19725
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19565
19726
|
},
|
|
19727
|
+
/**
|
|
19728
|
+
*
|
|
19729
|
+
* @summary Update resource alert settings
|
|
19730
|
+
* @param {string} orgName name of the Org
|
|
19731
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
19732
|
+
* @param {string} resourceID
|
|
19733
|
+
* @param {AlertCluster} [alertCluster]
|
|
19734
|
+
* @param {*} [options] Override http request option.
|
|
19735
|
+
* @throws {RequiredError}
|
|
19736
|
+
*/
|
|
19737
|
+
async setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options) {
|
|
19738
|
+
var _a, _b, _c;
|
|
19739
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options);
|
|
19740
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19741
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.setResourceAlertDisabled']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19742
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19743
|
+
},
|
|
19566
19744
|
/**
|
|
19567
19745
|
*
|
|
19568
19746
|
* @summary read data of table or view
|
|
@@ -21753,6 +21931,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21753
21931
|
getRecycleBinCluster(requestParameters, options) {
|
|
21754
21932
|
return localVarFp.getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21755
21933
|
},
|
|
21934
|
+
/**
|
|
21935
|
+
*
|
|
21936
|
+
* @summary Get resource alert settings
|
|
21937
|
+
* @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
21938
|
+
* @param {*} [options] Override http request option.
|
|
21939
|
+
* @throws {RequiredError}
|
|
21940
|
+
*/
|
|
21941
|
+
getResourceAlertDisabled(requestParameters, options) {
|
|
21942
|
+
return localVarFp.getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
|
|
21943
|
+
},
|
|
21756
21944
|
/**
|
|
21757
21945
|
*
|
|
21758
21946
|
* @summary get restore workload logs of the cluster
|
|
@@ -22481,6 +22669,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22481
22669
|
listRelatedClusters(requestParameters, options) {
|
|
22482
22670
|
return localVarFp.listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22483
22671
|
},
|
|
22672
|
+
/**
|
|
22673
|
+
*
|
|
22674
|
+
* @summary List applicable alert rules for a resource
|
|
22675
|
+
* @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
|
|
22676
|
+
* @param {*} [options] Override http request option.
|
|
22677
|
+
* @throws {RequiredError}
|
|
22678
|
+
*/
|
|
22679
|
+
listResourceAlertRules(requestParameters, options) {
|
|
22680
|
+
return localVarFp.listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
|
|
22681
|
+
},
|
|
22484
22682
|
/**
|
|
22485
22683
|
* List permissions of a role
|
|
22486
22684
|
* @summary List permissions of a role
|
|
@@ -23090,6 +23288,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
23090
23288
|
setKafkaTopicConfig(requestParameters, options) {
|
|
23091
23289
|
return localVarFp.setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(axios, basePath));
|
|
23092
23290
|
},
|
|
23291
|
+
/**
|
|
23292
|
+
*
|
|
23293
|
+
* @summary Update resource alert settings
|
|
23294
|
+
* @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
23295
|
+
* @param {*} [options] Override http request option.
|
|
23296
|
+
* @throws {RequiredError}
|
|
23297
|
+
*/
|
|
23298
|
+
setResourceAlertDisabled(requestParameters, options) {
|
|
23299
|
+
return localVarFp.setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(axios, basePath));
|
|
23300
|
+
},
|
|
23093
23301
|
/**
|
|
23094
23302
|
*
|
|
23095
23303
|
* @summary read data of table or view
|
|
@@ -25097,6 +25305,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25097
25305
|
getRecycleBinCluster(requestParameters, options) {
|
|
25098
25306
|
return (0, exports.SharedApiFp)(this.configuration).getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25099
25307
|
}
|
|
25308
|
+
/**
|
|
25309
|
+
*
|
|
25310
|
+
* @summary Get resource alert settings
|
|
25311
|
+
* @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
25312
|
+
* @param {*} [options] Override http request option.
|
|
25313
|
+
* @throws {RequiredError}
|
|
25314
|
+
* @memberof SharedApi
|
|
25315
|
+
*/
|
|
25316
|
+
getResourceAlertDisabled(requestParameters, options) {
|
|
25317
|
+
return (0, exports.SharedApiFp)(this.configuration).getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
|
|
25318
|
+
}
|
|
25100
25319
|
/**
|
|
25101
25320
|
*
|
|
25102
25321
|
* @summary get restore workload logs of the cluster
|
|
@@ -25898,6 +26117,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25898
26117
|
listRelatedClusters(requestParameters, options) {
|
|
25899
26118
|
return (0, exports.SharedApiFp)(this.configuration).listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25900
26119
|
}
|
|
26120
|
+
/**
|
|
26121
|
+
*
|
|
26122
|
+
* @summary List applicable alert rules for a resource
|
|
26123
|
+
* @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
|
|
26124
|
+
* @param {*} [options] Override http request option.
|
|
26125
|
+
* @throws {RequiredError}
|
|
26126
|
+
* @memberof SharedApi
|
|
26127
|
+
*/
|
|
26128
|
+
listResourceAlertRules(requestParameters, options) {
|
|
26129
|
+
return (0, exports.SharedApiFp)(this.configuration).listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
|
|
26130
|
+
}
|
|
25901
26131
|
/**
|
|
25902
26132
|
* List permissions of a role
|
|
25903
26133
|
* @summary List permissions of a role
|
|
@@ -26568,6 +26798,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
26568
26798
|
setKafkaTopicConfig(requestParameters, options) {
|
|
26569
26799
|
return (0, exports.SharedApiFp)(this.configuration).setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26570
26800
|
}
|
|
26801
|
+
/**
|
|
26802
|
+
*
|
|
26803
|
+
* @summary Update resource alert settings
|
|
26804
|
+
* @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
26805
|
+
* @param {*} [options] Override http request option.
|
|
26806
|
+
* @throws {RequiredError}
|
|
26807
|
+
* @memberof SharedApi
|
|
26808
|
+
*/
|
|
26809
|
+
setResourceAlertDisabled(requestParameters, options) {
|
|
26810
|
+
return (0, exports.SharedApiFp)(this.configuration).setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(this.axios, this.basePath));
|
|
26811
|
+
}
|
|
26571
26812
|
/**
|
|
26572
26813
|
*
|
|
26573
26814
|
* @summary read data of table or view
|