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
|
@@ -6074,6 +6074,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6074
6074
|
options: localVarRequestOptions,
|
|
6075
6075
|
};
|
|
6076
6076
|
},
|
|
6077
|
+
/**
|
|
6078
|
+
*
|
|
6079
|
+
* @summary Get resource alert settings
|
|
6080
|
+
* @param {string} orgName name of the Org
|
|
6081
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
6082
|
+
* @param {string} resourceID
|
|
6083
|
+
* @param {*} [options] Override http request option.
|
|
6084
|
+
* @throws {RequiredError}
|
|
6085
|
+
*/
|
|
6086
|
+
getResourceAlertDisabled: async (orgName, resourceType, resourceID, options = {}) => {
|
|
6087
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6088
|
+
(0, common_1.assertParamExists)('getResourceAlertDisabled', 'orgName', orgName);
|
|
6089
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
6090
|
+
(0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceType', resourceType);
|
|
6091
|
+
// verify required parameter 'resourceID' is not null or undefined
|
|
6092
|
+
(0, common_1.assertParamExists)('getResourceAlertDisabled', 'resourceID', resourceID);
|
|
6093
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
|
|
6094
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6095
|
+
.replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
|
|
6096
|
+
.replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
|
|
6097
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6098
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6099
|
+
let baseOptions;
|
|
6100
|
+
if (configuration) {
|
|
6101
|
+
baseOptions = configuration.baseOptions;
|
|
6102
|
+
}
|
|
6103
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6104
|
+
const localVarHeaderParameter = {};
|
|
6105
|
+
const localVarQueryParameter = {};
|
|
6106
|
+
// authentication BearerToken required
|
|
6107
|
+
// http bearer authentication required
|
|
6108
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6109
|
+
// authentication DigestAuth required
|
|
6110
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6111
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6113
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6114
|
+
return {
|
|
6115
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6116
|
+
options: localVarRequestOptions,
|
|
6117
|
+
};
|
|
6118
|
+
},
|
|
6077
6119
|
/**
|
|
6078
6120
|
*
|
|
6079
6121
|
* @summary get restore workload logs of the cluster
|
|
@@ -9595,6 +9637,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9595
9637
|
options: localVarRequestOptions,
|
|
9596
9638
|
};
|
|
9597
9639
|
},
|
|
9640
|
+
/**
|
|
9641
|
+
*
|
|
9642
|
+
* @summary List applicable alert rules for a resource
|
|
9643
|
+
* @param {string} orgName name of the Org
|
|
9644
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
9645
|
+
* @param {string} resourceID
|
|
9646
|
+
* @param {*} [options] Override http request option.
|
|
9647
|
+
* @throws {RequiredError}
|
|
9648
|
+
*/
|
|
9649
|
+
listResourceAlertRules: async (orgName, resourceType, resourceID, options = {}) => {
|
|
9650
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9651
|
+
(0, common_1.assertParamExists)('listResourceAlertRules', 'orgName', orgName);
|
|
9652
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
9653
|
+
(0, common_1.assertParamExists)('listResourceAlertRules', 'resourceType', resourceType);
|
|
9654
|
+
// verify required parameter 'resourceID' is not null or undefined
|
|
9655
|
+
(0, common_1.assertParamExists)('listResourceAlertRules', 'resourceID', resourceID);
|
|
9656
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}/rules`
|
|
9657
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9658
|
+
.replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
|
|
9659
|
+
.replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
|
|
9660
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9661
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9662
|
+
let baseOptions;
|
|
9663
|
+
if (configuration) {
|
|
9664
|
+
baseOptions = configuration.baseOptions;
|
|
9665
|
+
}
|
|
9666
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9667
|
+
const localVarHeaderParameter = {};
|
|
9668
|
+
const localVarQueryParameter = {};
|
|
9669
|
+
// authentication BearerToken required
|
|
9670
|
+
// http bearer authentication required
|
|
9671
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9672
|
+
// authentication DigestAuth required
|
|
9673
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9674
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9675
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9676
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9677
|
+
return {
|
|
9678
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9679
|
+
options: localVarRequestOptions,
|
|
9680
|
+
};
|
|
9681
|
+
},
|
|
9598
9682
|
/**
|
|
9599
9683
|
* List permissions of a role
|
|
9600
9684
|
* @summary List permissions of a role
|
|
@@ -12707,6 +12791,51 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12707
12791
|
options: localVarRequestOptions,
|
|
12708
12792
|
};
|
|
12709
12793
|
},
|
|
12794
|
+
/**
|
|
12795
|
+
*
|
|
12796
|
+
* @summary Update resource alert settings
|
|
12797
|
+
* @param {string} orgName name of the Org
|
|
12798
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
12799
|
+
* @param {string} resourceID
|
|
12800
|
+
* @param {AlertCluster} [alertCluster]
|
|
12801
|
+
* @param {*} [options] Override http request option.
|
|
12802
|
+
* @throws {RequiredError}
|
|
12803
|
+
*/
|
|
12804
|
+
setResourceAlertDisabled: async (orgName, resourceType, resourceID, alertCluster, options = {}) => {
|
|
12805
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12806
|
+
(0, common_1.assertParamExists)('setResourceAlertDisabled', 'orgName', orgName);
|
|
12807
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
12808
|
+
(0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceType', resourceType);
|
|
12809
|
+
// verify required parameter 'resourceID' is not null or undefined
|
|
12810
|
+
(0, common_1.assertParamExists)('setResourceAlertDisabled', 'resourceID', resourceID);
|
|
12811
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/alerts/resource/{resourceType}/{resourceID}`
|
|
12812
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12813
|
+
.replace(`{${"resourceType"}}`, encodeURIComponent(String(resourceType)))
|
|
12814
|
+
.replace(`{${"resourceID"}}`, encodeURIComponent(String(resourceID)));
|
|
12815
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12816
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12817
|
+
let baseOptions;
|
|
12818
|
+
if (configuration) {
|
|
12819
|
+
baseOptions = configuration.baseOptions;
|
|
12820
|
+
}
|
|
12821
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
12822
|
+
const localVarHeaderParameter = {};
|
|
12823
|
+
const localVarQueryParameter = {};
|
|
12824
|
+
// authentication BearerToken required
|
|
12825
|
+
// http bearer authentication required
|
|
12826
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12827
|
+
// authentication DigestAuth required
|
|
12828
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12829
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12830
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12831
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12832
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12833
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertCluster, localVarRequestOptions, configuration);
|
|
12834
|
+
return {
|
|
12835
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12836
|
+
options: localVarRequestOptions,
|
|
12837
|
+
};
|
|
12838
|
+
},
|
|
12710
12839
|
/**
|
|
12711
12840
|
*
|
|
12712
12841
|
* @summary read data of table or view
|
|
@@ -17106,6 +17235,22 @@ const SharedApiFp = function (configuration) {
|
|
|
17106
17235
|
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;
|
|
17107
17236
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17108
17237
|
},
|
|
17238
|
+
/**
|
|
17239
|
+
*
|
|
17240
|
+
* @summary Get resource alert settings
|
|
17241
|
+
* @param {string} orgName name of the Org
|
|
17242
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
17243
|
+
* @param {string} resourceID
|
|
17244
|
+
* @param {*} [options] Override http request option.
|
|
17245
|
+
* @throws {RequiredError}
|
|
17246
|
+
*/
|
|
17247
|
+
async getResourceAlertDisabled(orgName, resourceType, resourceID, options) {
|
|
17248
|
+
var _a, _b, _c;
|
|
17249
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getResourceAlertDisabled(orgName, resourceType, resourceID, options);
|
|
17250
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17251
|
+
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;
|
|
17252
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17253
|
+
},
|
|
17109
17254
|
/**
|
|
17110
17255
|
*
|
|
17111
17256
|
* @summary get restore workload logs of the cluster
|
|
@@ -18416,6 +18561,22 @@ const SharedApiFp = function (configuration) {
|
|
|
18416
18561
|
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;
|
|
18417
18562
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18418
18563
|
},
|
|
18564
|
+
/**
|
|
18565
|
+
*
|
|
18566
|
+
* @summary List applicable alert rules for a resource
|
|
18567
|
+
* @param {string} orgName name of the Org
|
|
18568
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
18569
|
+
* @param {string} resourceID
|
|
18570
|
+
* @param {*} [options] Override http request option.
|
|
18571
|
+
* @throws {RequiredError}
|
|
18572
|
+
*/
|
|
18573
|
+
async listResourceAlertRules(orgName, resourceType, resourceID, options) {
|
|
18574
|
+
var _a, _b, _c;
|
|
18575
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listResourceAlertRules(orgName, resourceType, resourceID, options);
|
|
18576
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18577
|
+
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;
|
|
18578
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18579
|
+
},
|
|
18419
18580
|
/**
|
|
18420
18581
|
* List permissions of a role
|
|
18421
18582
|
* @summary List permissions of a role
|
|
@@ -19496,6 +19657,23 @@ const SharedApiFp = function (configuration) {
|
|
|
19496
19657
|
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;
|
|
19497
19658
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19498
19659
|
},
|
|
19660
|
+
/**
|
|
19661
|
+
*
|
|
19662
|
+
* @summary Update resource alert settings
|
|
19663
|
+
* @param {string} orgName name of the Org
|
|
19664
|
+
* @param {AlertResourceType} resourceType resourceType
|
|
19665
|
+
* @param {string} resourceID
|
|
19666
|
+
* @param {AlertCluster} [alertCluster]
|
|
19667
|
+
* @param {*} [options] Override http request option.
|
|
19668
|
+
* @throws {RequiredError}
|
|
19669
|
+
*/
|
|
19670
|
+
async setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options) {
|
|
19671
|
+
var _a, _b, _c;
|
|
19672
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setResourceAlertDisabled(orgName, resourceType, resourceID, alertCluster, options);
|
|
19673
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19674
|
+
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;
|
|
19675
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19676
|
+
},
|
|
19499
19677
|
/**
|
|
19500
19678
|
*
|
|
19501
19679
|
* @summary read data of table or view
|
|
@@ -21650,6 +21828,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21650
21828
|
getRecycleBinCluster(requestParameters, options) {
|
|
21651
21829
|
return localVarFp.getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21652
21830
|
},
|
|
21831
|
+
/**
|
|
21832
|
+
*
|
|
21833
|
+
* @summary Get resource alert settings
|
|
21834
|
+
* @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
21835
|
+
* @param {*} [options] Override http request option.
|
|
21836
|
+
* @throws {RequiredError}
|
|
21837
|
+
*/
|
|
21838
|
+
getResourceAlertDisabled(requestParameters, options) {
|
|
21839
|
+
return localVarFp.getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
|
|
21840
|
+
},
|
|
21653
21841
|
/**
|
|
21654
21842
|
*
|
|
21655
21843
|
* @summary get restore workload logs of the cluster
|
|
@@ -22446,6 +22634,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22446
22634
|
listRelatedClusters(requestParameters, options) {
|
|
22447
22635
|
return localVarFp.listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22448
22636
|
},
|
|
22637
|
+
/**
|
|
22638
|
+
*
|
|
22639
|
+
* @summary List applicable alert rules for a resource
|
|
22640
|
+
* @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
|
|
22641
|
+
* @param {*} [options] Override http request option.
|
|
22642
|
+
* @throws {RequiredError}
|
|
22643
|
+
*/
|
|
22644
|
+
listResourceAlertRules(requestParameters, options) {
|
|
22645
|
+
return localVarFp.listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(axios, basePath));
|
|
22646
|
+
},
|
|
22449
22647
|
/**
|
|
22450
22648
|
* List permissions of a role
|
|
22451
22649
|
* @summary List permissions of a role
|
|
@@ -23035,6 +23233,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
23035
23233
|
setKafkaTopicConfig(requestParameters, options) {
|
|
23036
23234
|
return localVarFp.setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(axios, basePath));
|
|
23037
23235
|
},
|
|
23236
|
+
/**
|
|
23237
|
+
*
|
|
23238
|
+
* @summary Update resource alert settings
|
|
23239
|
+
* @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
23240
|
+
* @param {*} [options] Override http request option.
|
|
23241
|
+
* @throws {RequiredError}
|
|
23242
|
+
*/
|
|
23243
|
+
setResourceAlertDisabled(requestParameters, options) {
|
|
23244
|
+
return localVarFp.setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(axios, basePath));
|
|
23245
|
+
},
|
|
23038
23246
|
/**
|
|
23039
23247
|
*
|
|
23040
23248
|
* @summary read data of table or view
|
|
@@ -25010,6 +25218,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25010
25218
|
getRecycleBinCluster(requestParameters, options) {
|
|
25011
25219
|
return (0, exports.SharedApiFp)(this.configuration).getRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25012
25220
|
}
|
|
25221
|
+
/**
|
|
25222
|
+
*
|
|
25223
|
+
* @summary Get resource alert settings
|
|
25224
|
+
* @param {SharedApiGetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
25225
|
+
* @param {*} [options] Override http request option.
|
|
25226
|
+
* @throws {RequiredError}
|
|
25227
|
+
* @memberof SharedApi
|
|
25228
|
+
*/
|
|
25229
|
+
getResourceAlertDisabled(requestParameters, options) {
|
|
25230
|
+
return (0, exports.SharedApiFp)(this.configuration).getResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
|
|
25231
|
+
}
|
|
25013
25232
|
/**
|
|
25014
25233
|
*
|
|
25015
25234
|
* @summary get restore workload logs of the cluster
|
|
@@ -25886,6 +26105,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25886
26105
|
listRelatedClusters(requestParameters, options) {
|
|
25887
26106
|
return (0, exports.SharedApiFp)(this.configuration).listRelatedClusters(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25888
26107
|
}
|
|
26108
|
+
/**
|
|
26109
|
+
*
|
|
26110
|
+
* @summary List applicable alert rules for a resource
|
|
26111
|
+
* @param {SharedApiListResourceAlertRulesRequest} requestParameters Request parameters.
|
|
26112
|
+
* @param {*} [options] Override http request option.
|
|
26113
|
+
* @throws {RequiredError}
|
|
26114
|
+
* @memberof SharedApi
|
|
26115
|
+
*/
|
|
26116
|
+
listResourceAlertRules(requestParameters, options) {
|
|
26117
|
+
return (0, exports.SharedApiFp)(this.configuration).listResourceAlertRules(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, options).then((request) => request(this.axios, this.basePath));
|
|
26118
|
+
}
|
|
25889
26119
|
/**
|
|
25890
26120
|
* List permissions of a role
|
|
25891
26121
|
* @summary List permissions of a role
|
|
@@ -26534,6 +26764,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
26534
26764
|
setKafkaTopicConfig(requestParameters, options) {
|
|
26535
26765
|
return (0, exports.SharedApiFp)(this.configuration).setKafkaTopicConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.updateTopicConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26536
26766
|
}
|
|
26767
|
+
/**
|
|
26768
|
+
*
|
|
26769
|
+
* @summary Update resource alert settings
|
|
26770
|
+
* @param {SharedApiSetResourceAlertDisabledRequest} requestParameters Request parameters.
|
|
26771
|
+
* @param {*} [options] Override http request option.
|
|
26772
|
+
* @throws {RequiredError}
|
|
26773
|
+
* @memberof SharedApi
|
|
26774
|
+
*/
|
|
26775
|
+
setResourceAlertDisabled(requestParameters, options) {
|
|
26776
|
+
return (0, exports.SharedApiFp)(this.configuration).setResourceAlertDisabled(requestParameters.orgName, requestParameters.resourceType, requestParameters.resourceID, requestParameters.alertCluster, options).then((request) => request(this.axios, this.basePath));
|
|
26777
|
+
}
|
|
26537
26778
|
/**
|
|
26538
26779
|
*
|
|
26539
26780
|
* @summary read data of table or view
|