kb-cloud-client-typescript 2.4.0-alpha.104 → 2.4.0-alpha.105

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 (61) hide show
  1. package/dist/adminapi/apis/aiagent-api.d.ts +6 -6
  2. package/dist/adminapi/apis/aiagent-api.js +4 -4
  3. package/dist/adminapi/apis/alert-rule-api.d.ts +223 -0
  4. package/dist/adminapi/apis/alert-rule-api.d.ts.map +1 -1
  5. package/dist/adminapi/apis/alert-rule-api.js +241 -0
  6. package/dist/adminapi/apis/alert-rule-api.js.map +1 -1
  7. package/dist/adminapi/apis/shared-api.d.ts +222 -0
  8. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/shared-api.js +241 -0
  10. package/dist/adminapi/apis/shared-api.js.map +1 -1
  11. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +12 -0
  12. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  13. package/dist/adminapi/models/alert-resource-type.d.ts +22 -0
  14. package/dist/adminapi/models/alert-resource-type.d.ts.map +1 -0
  15. package/dist/adminapi/models/alert-resource-type.js +26 -0
  16. package/dist/adminapi/models/alert-resource-type.js.map +1 -0
  17. package/dist/adminapi/models/index.d.ts +1 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +1 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/adminapi/models/inspection-task.d.ts +2 -2
  22. package/dist/openapi/apis/aiagent-api.d.ts +6 -6
  23. package/dist/openapi/apis/aiagent-api.js +4 -4
  24. package/dist/openapi/apis/alert-rule-api.d.ts +223 -0
  25. package/dist/openapi/apis/alert-rule-api.d.ts.map +1 -1
  26. package/dist/openapi/apis/alert-rule-api.js +241 -0
  27. package/dist/openapi/apis/alert-rule-api.js.map +1 -1
  28. package/dist/openapi/apis/shared-api.d.ts +222 -0
  29. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  30. package/dist/openapi/apis/shared-api.js +241 -0
  31. package/dist/openapi/apis/shared-api.js.map +1 -1
  32. package/dist/openapi/models/ai-agent-turn-action-list.d.ts +12 -0
  33. package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
  34. package/dist/openapi/models/alert-resource-type.d.ts +22 -0
  35. package/dist/openapi/models/alert-resource-type.d.ts.map +1 -0
  36. package/dist/openapi/models/alert-resource-type.js +26 -0
  37. package/dist/openapi/models/alert-resource-type.js.map +1 -0
  38. package/dist/openapi/models/index.d.ts +1 -0
  39. package/dist/openapi/models/index.d.ts.map +1 -1
  40. package/dist/openapi/models/index.js +1 -0
  41. package/dist/openapi/models/index.js.map +1 -1
  42. package/dist/openapi/models/inspection-task.d.ts +2 -2
  43. package/package.json +1 -1
  44. package/src/adminapi/.openapi-generator/FILES +1 -0
  45. package/src/adminapi/apis/aiagent-api.ts +6 -6
  46. package/src/adminapi/apis/alert-rule-api.ts +388 -0
  47. package/src/adminapi/apis/shared-api.ts +386 -0
  48. package/src/adminapi/models/ai-agent-turn-action-list.ts +12 -0
  49. package/src/adminapi/models/alert-resource-type.ts +31 -0
  50. package/src/adminapi/models/index.ts +1 -0
  51. package/src/adminapi/models/inspection-task.ts +2 -2
  52. package/src/adminapi.yaml +133 -2
  53. package/src/openapi/.openapi-generator/FILES +1 -0
  54. package/src/openapi/apis/aiagent-api.ts +6 -6
  55. package/src/openapi/apis/alert-rule-api.ts +388 -0
  56. package/src/openapi/apis/shared-api.ts +386 -0
  57. package/src/openapi/models/ai-agent-turn-action-list.ts +12 -0
  58. package/src/openapi/models/alert-resource-type.ts +31 -0
  59. package/src/openapi/models/index.ts +1 -0
  60. package/src/openapi/models/inspection-task.ts +2 -2
  61. package/src/openapi.yaml +133 -2
@@ -6501,6 +6501,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
6501
6501
  options: localVarRequestOptions,
6502
6502
  };
6503
6503
  },
6504
+ /**
6505
+ *
6506
+ * @summary Get resource alert settings
6507
+ * @param {string} orgName name of the Org
6508
+ * @param {AlertResourceType} resourceType resourceType
6509
+ * @param {string} resourceID
6510
+ * @param {*} [options] Override http request option.
6511
+ * @throws {RequiredError}
6512
+ */
6513
+ getResourceAlertDisabled: async (orgName, resourceType, resourceID, options = {}) => {
6514
+ // verify required parameter 'orgName' is not null or undefined
6515
+ (0, common_1.assertParamExists)('getResourceAlertDisabled', 'orgName', orgName);
6516
+ // verify required parameter 'resourceType' is not null or undefined
6517
+ (0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceType', resourceType);
6518
+ // verify required parameter 'resourceID' is not null or undefined
6519
+ (0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceID', resourceID);
6520
+ const localVarPath = `/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
6521
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6522
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
6523
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
6524
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6525
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6526
+ let baseOptions;
6527
+ if (configuration) {
6528
+ baseOptions = configuration.baseOptions;
6529
+ }
6530
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6531
+ const localVarHeaderParameter = {};
6532
+ const localVarQueryParameter = {};
6533
+ // authentication BearerToken required
6534
+ // http bearer authentication required
6535
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6536
+ // authentication DigestAuth required
6537
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6538
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6539
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6540
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6541
+ return {
6542
+ url: (0, common_1.toPathString)(localVarUrlObj),
6543
+ options: localVarRequestOptions,
6544
+ };
6545
+ },
6504
6546
  /**
6505
6547
  *
6506
6548
  * @summary get restore workload logs of the cluster
@@ -9814,6 +9856,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
9814
9856
  options: localVarRequestOptions,
9815
9857
  };
9816
9858
  },
9859
+ /**
9860
+ *
9861
+ * @summary List applicable alert rules for a resource
9862
+ * @param {string} orgName name of the Org
9863
+ * @param {AlertResourceType} resourceType resourceType
9864
+ * @param {string} resourceID
9865
+ * @param {*} [options] Override http request option.
9866
+ * @throws {RequiredError}
9867
+ */
9868
+ listResourceAlertRules: async (orgName, resourceType, resourceID, options = {}) => {
9869
+ // verify required parameter 'orgName' is not null or undefined
9870
+ (0, common_1.assertParamExists)('listResourceAlertRules', 'orgName', orgName);
9871
+ // verify required parameter 'resourceType' is not null or undefined
9872
+ (0, common_1.assertParamExists)('listResourceAlertRules', 'resourceType', resourceType);
9873
+ // verify required parameter 'resourceID' is not null or undefined
9874
+ (0, common_1.assertParamExists)('listResourceAlertRules', 'resourceID', resourceID);
9875
+ const localVarPath = `/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules`
9876
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9877
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
9878
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
9879
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9880
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9881
+ let baseOptions;
9882
+ if (configuration) {
9883
+ baseOptions = configuration.baseOptions;
9884
+ }
9885
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9886
+ const localVarHeaderParameter = {};
9887
+ const localVarQueryParameter = {};
9888
+ // authentication BearerToken required
9889
+ // http bearer authentication required
9890
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9891
+ // authentication DigestAuth required
9892
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9893
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9894
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9895
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9896
+ return {
9897
+ url: (0, common_1.toPathString)(localVarUrlObj),
9898
+ options: localVarRequestOptions,
9899
+ };
9900
+ },
9817
9901
  /**
9818
9902
  * List permissions of a role
9819
9903
  * @summary List permissions of a role
@@ -13774,6 +13858,51 @@ const SharedApiAxiosParamCreator = function (configuration) {
13774
13858
  options: localVarRequestOptions,
13775
13859
  };
13776
13860
  },
13861
+ /**
13862
+ *
13863
+ * @summary Update resource alert settings
13864
+ * @param {string} orgName name of the Org
13865
+ * @param {AlertResourceType} resourceType resourceType
13866
+ * @param {string} resourceID
13867
+ * @param {AlertCluster} [alertCluster]
13868
+ * @param {*} [options] Override http request option.
13869
+ * @throws {RequiredError}
13870
+ */
13871
+ setResourceAlertDisabled: async (orgName, resourceType, resourceID, alertCluster, options = {}) => {
13872
+ // verify required parameter 'orgName' is not null or undefined
13873
+ (0, common_1.assertParamExists)('setResourceAlertDisabled', 'orgName', orgName);
13874
+ // verify required parameter 'resourceType' is not null or undefined
13875
+ (0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceType', resourceType);
13876
+ // verify required parameter 'resourceID' is not null or undefined
13877
+ (0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceID', resourceID);
13878
+ const localVarPath = `/api/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
13879
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13880
+ .replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
13881
+ .replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
13882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13883
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13884
+ let baseOptions;
13885
+ if (configuration) {
13886
+ baseOptions = configuration.baseOptions;
13887
+ }
13888
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
13889
+ const localVarHeaderParameter = {};
13890
+ const localVarQueryParameter = {};
13891
+ // authentication BearerToken required
13892
+ // http bearer authentication required
13893
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13894
+ // authentication DigestAuth required
13895
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13896
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13897
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13898
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13899
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13900
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertCluster, localVarRequestOptions, configuration);
13901
+ return {
13902
+ url: (0, common_1.toPathString)(localVarUrlObj),
13903
+ options: localVarRequestOptions,
13904
+ };
13905
+ },
13777
13906
  /**
13778
13907
  *
13779
13908
  * @summary read data of table or view
@@ -18347,6 +18476,22 @@ const SharedApiFp = function (configuration) {
18347
18476
  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;
18348
18477
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18349
18478
  },
18479
+ /**
18480
+ *
18481
+ * @summary Get resource alert settings
18482
+ * @param {string} orgName name of the Org
18483
+ * @param {AlertResourceType} resourceType resourceType
18484
+ * @param {string} resourceID
18485
+ * @param {*} [options] Override http request option.
18486
+ * @throws {RequiredError}
18487
+ */
18488
+ async getResourceAlertDisabled(orgName, resourceType, resourceID, options) {
18489
+ var _a, _b, _c;
18490
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getResourceAlertDisabled(orgName, resourceType, resourceID, options);
18491
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18492
+ 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;
18493
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18494
+ },
18350
18495
  /**
18351
18496
  *
18352
18497
  * @summary get restore workload logs of the cluster
@@ -19565,6 +19710,22 @@ const SharedApiFp = function (configuration) {
19565
19710
  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;
19566
19711
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19567
19712
  },
19713
+ /**
19714
+ *
19715
+ * @summary List applicable alert rules for a resource
19716
+ * @param {string} orgName name of the Org
19717
+ * @param {AlertResourceType} resourceType resourceType
19718
+ * @param {string} resourceID
19719
+ * @param {*} [options] Override http request option.
19720
+ * @throws {RequiredError}
19721
+ */
19722
+ async listResourceAlertRules(orgName, resourceType, resourceID, options) {
19723
+ var _a, _b, _c;
19724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listResourceAlertRules(orgName, resourceType, resourceID, options);
19725
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19726
+ 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;
19727
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19728
+ },
19568
19729
  /**
19569
19730
  * List permissions of a role
19570
19731
  * @summary List permissions of a role
@@ -20954,6 +21115,23 @@ const SharedApiFp = function (configuration) {
20954
21115
  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;
20955
21116
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20956
21117
  },
21118
+ /**
21119
+ *
21120
+ * @summary Update resource alert settings
21121
+ * @param {string} orgName name of the Org
21122
+ * @param {AlertResourceType} resourceType resourceType
21123
+ * @param {string} resourceID
21124
+ * @param {AlertCluster} [alertCluster]
21125
+ * @param {*} [options] Override http request option.
21126
+ * @throws {RequiredError}
21127
+ */
21128
+ async setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options) {
21129
+ var _a, _b, _c;
21130
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options);
21131
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21132
+ 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;
21133
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21134
+ },
20957
21135
  /**
20958
21136
  *
20959
21137
  * @summary read data of table or view
@@ -23173,6 +23351,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23173
23351
  getRecycleBinCluster(requestParameters, options) {
23174
23352
  return localVarFp.getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23175
23353
  },
23354
+ /**
23355
+ *
23356
+ * @summary Get resource alert settings
23357
+ * @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
23358
+ * @param {*} [options] Override http request option.
23359
+ * @throws {RequiredError}
23360
+ */
23361
+ getResourceAlertDisabled(requestParameters, options) {
23362
+ return localVarFp.getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
23363
+ },
23176
23364
  /**
23177
23365
  *
23178
23366
  * @summary get restore workload logs of the cluster
@@ -23901,6 +24089,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23901
24089
  listRelatedClusters(requestParameters, options) {
23902
24090
  return localVarFp.listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23903
24091
  },
24092
+ /**
24093
+ *
24094
+ * @summary List applicable alert rules for a resource
24095
+ * @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
24096
+ * @param {*} [options] Override http request option.
24097
+ * @throws {RequiredError}
24098
+ */
24099
+ listResourceAlertRules(requestParameters, options) {
24100
+ return localVarFp.listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
24101
+ },
23904
24102
  /**
23905
24103
  * List permissions of a role
23906
24104
  * @summary List permissions of a role
@@ -24670,6 +24868,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
24670
24868
  setKafkaTopicConfig(requestParameters, options) {
24671
24869
  return localVarFp.setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(axios, basePath));
24672
24870
  },
24871
+ /**
24872
+ *
24873
+ * @summary Update resource alert settings
24874
+ * @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
24875
+ * @param {*} [options] Override http request option.
24876
+ * @throws {RequiredError}
24877
+ */
24878
+ setResourceAlertDisabled(requestParameters, options) {
24879
+ return localVarFp.setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(axios, basePath));
24880
+ },
24673
24881
  /**
24674
24882
  *
24675
24883
  * @summary read data of table or view
@@ -26709,6 +26917,17 @@ class SharedApi extends base_1.BaseAPI {
26709
26917
  getRecycleBinCluster(requestParameters, options) {
26710
26918
  return (0, exports.SharedApiFp)(this.configuration).getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
26711
26919
  }
26920
+ /**
26921
+ *
26922
+ * @summary Get resource alert settings
26923
+ * @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
26924
+ * @param {*} [options] Override http request option.
26925
+ * @throws {RequiredError}
26926
+ * @memberof SharedApi
26927
+ */
26928
+ getResourceAlertDisabled(requestParameters, options) {
26929
+ return (0, exports.SharedApiFp)(this.configuration).getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
26930
+ }
26712
26931
  /**
26713
26932
  *
26714
26933
  * @summary get restore workload logs of the cluster
@@ -27510,6 +27729,17 @@ class SharedApi extends base_1.BaseAPI {
27510
27729
  listRelatedClusters(requestParameters, options) {
27511
27730
  return (0, exports.SharedApiFp)(this.configuration).listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27512
27731
  }
27732
+ /**
27733
+ *
27734
+ * @summary List applicable alert rules for a resource
27735
+ * @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
27736
+ * @param {*} [options] Override http request option.
27737
+ * @throws {RequiredError}
27738
+ * @memberof SharedApi
27739
+ */
27740
+ listResourceAlertRules(requestParameters, options) {
27741
+ return (0, exports.SharedApiFp)(this.configuration).listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
27742
+ }
27513
27743
  /**
27514
27744
  * List permissions of a role
27515
27745
  * @summary List permissions of a role
@@ -28356,6 +28586,17 @@ class SharedApi extends base_1.BaseAPI {
28356
28586
  setKafkaTopicConfig(requestParameters, options) {
28357
28587
  return (0, exports.SharedApiFp)(this.configuration).setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(this.axios, this.basePath));
28358
28588
  }
28589
+ /**
28590
+ *
28591
+ * @summary Update resource alert settings
28592
+ * @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
28593
+ * @param {*} [options] Override http request option.
28594
+ * @throws {RequiredError}
28595
+ * @memberof SharedApi
28596
+ */
28597
+ setResourceAlertDisabled(requestParameters, options) {
28598
+ return (0, exports.SharedApiFp)(this.configuration).setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(this.axios, this.basePath));
28599
+ }
28359
28600
  /**
28360
28601
  *
28361
28602
  * @summary read data of table or view