/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { AlertInhibit } from '../models'; import type { AlertInhibitList } from '../models'; /** * AlertInhibitApi - axios parameter creator * @export */ export declare const AlertInhibitApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Create alert inhibit * @param {string} orgName name of the Org * @param {AlertInhibit} [alertInhibit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAlertInhibit: (orgName: string, alertInhibit?: AlertInhibit, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Delete alert inhibit * @param {string} orgName name of the Org * @param {string} inhibitId inhibit id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAlertInhibit: (orgName: string, inhibitId: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Get alert inhibit * @param {string} orgName name of the Org * @param {string} inhibitId inhibit id * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAlertInhibit: (orgName: string, inhibitId: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary List alert inhibits * @param {string} orgName name of the Org * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAlertInhibits: (orgName: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Patch alert inhibit * @param {string} orgName name of the Org * @param {AlertInhibit} [alertInhibit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAlertInhibit: (orgName: string, alertInhibit?: AlertInhibit, options?: RawAxiosRequestConfig) => Promise; }; /** * AlertInhibitApi - functional programming interface * @export */ export declare const AlertInhibitApiFp: (configuration?: Configuration) => { /** * * @summary Create alert inhibit * @param {string} orgName name of the Org * @param {AlertInhibit} [alertInhibit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAlertInhibit(orgName: string, alertInhibit?: AlertInhibit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Delete alert inhibit * @param {string} orgName name of the Org * @param {string} inhibitId inhibit id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAlertInhibit(orgName: string, inhibitId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Get alert inhibit * @param {string} orgName name of the Org * @param {string} inhibitId inhibit id * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAlertInhibit(orgName: string, inhibitId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary List alert inhibits * @param {string} orgName name of the Org * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAlertInhibits(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Patch alert inhibit * @param {string} orgName name of the Org * @param {AlertInhibit} [alertInhibit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAlertInhibit(orgName: string, alertInhibit?: AlertInhibit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AlertInhibitApi - factory interface * @export */ export declare const AlertInhibitApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Create alert inhibit * @param {AlertInhibitApiCreateAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAlertInhibit(requestParameters: AlertInhibitApiCreateAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Delete alert inhibit * @param {AlertInhibitApiDeleteAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAlertInhibit(requestParameters: AlertInhibitApiDeleteAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Get alert inhibit * @param {AlertInhibitApiGetAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAlertInhibit(requestParameters: AlertInhibitApiGetAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary List alert inhibits * @param {AlertInhibitApiListAlertInhibitsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAlertInhibits(requestParameters: AlertInhibitApiListAlertInhibitsRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Patch alert inhibit * @param {AlertInhibitApiPatchAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchAlertInhibit(requestParameters: AlertInhibitApiPatchAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * AlertInhibitApi - interface * @export * @interface AlertInhibitApi */ export interface AlertInhibitApiInterface { /** * * @summary Create alert inhibit * @param {AlertInhibitApiCreateAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApiInterface */ createAlertInhibit(requestParameters: AlertInhibitApiCreateAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Delete alert inhibit * @param {AlertInhibitApiDeleteAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApiInterface */ deleteAlertInhibit(requestParameters: AlertInhibitApiDeleteAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Get alert inhibit * @param {AlertInhibitApiGetAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApiInterface */ getAlertInhibit(requestParameters: AlertInhibitApiGetAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary List alert inhibits * @param {AlertInhibitApiListAlertInhibitsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApiInterface */ listAlertInhibits(requestParameters: AlertInhibitApiListAlertInhibitsRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Patch alert inhibit * @param {AlertInhibitApiPatchAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApiInterface */ patchAlertInhibit(requestParameters: AlertInhibitApiPatchAlertInhibitRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for createAlertInhibit operation in AlertInhibitApi. * @export * @interface AlertInhibitApiCreateAlertInhibitRequest */ export interface AlertInhibitApiCreateAlertInhibitRequest { /** * name of the Org * @type {string} * @memberof AlertInhibitApiCreateAlertInhibit */ readonly orgName: string; /** * * @type {AlertInhibit} * @memberof AlertInhibitApiCreateAlertInhibit */ readonly alertInhibit?: AlertInhibit; } /** * Request parameters for deleteAlertInhibit operation in AlertInhibitApi. * @export * @interface AlertInhibitApiDeleteAlertInhibitRequest */ export interface AlertInhibitApiDeleteAlertInhibitRequest { /** * name of the Org * @type {string} * @memberof AlertInhibitApiDeleteAlertInhibit */ readonly orgName: string; /** * inhibit id * @type {string} * @memberof AlertInhibitApiDeleteAlertInhibit */ readonly inhibitId: string; } /** * Request parameters for getAlertInhibit operation in AlertInhibitApi. * @export * @interface AlertInhibitApiGetAlertInhibitRequest */ export interface AlertInhibitApiGetAlertInhibitRequest { /** * name of the Org * @type {string} * @memberof AlertInhibitApiGetAlertInhibit */ readonly orgName: string; /** * inhibit id * @type {string} * @memberof AlertInhibitApiGetAlertInhibit */ readonly inhibitId: string; } /** * Request parameters for listAlertInhibits operation in AlertInhibitApi. * @export * @interface AlertInhibitApiListAlertInhibitsRequest */ export interface AlertInhibitApiListAlertInhibitsRequest { /** * name of the Org * @type {string} * @memberof AlertInhibitApiListAlertInhibits */ readonly orgName: string; } /** * Request parameters for patchAlertInhibit operation in AlertInhibitApi. * @export * @interface AlertInhibitApiPatchAlertInhibitRequest */ export interface AlertInhibitApiPatchAlertInhibitRequest { /** * name of the Org * @type {string} * @memberof AlertInhibitApiPatchAlertInhibit */ readonly orgName: string; /** * * @type {AlertInhibit} * @memberof AlertInhibitApiPatchAlertInhibit */ readonly alertInhibit?: AlertInhibit; } /** * AlertInhibitApi - object-oriented interface * @export * @class AlertInhibitApi * @extends {BaseAPI} */ export declare class AlertInhibitApi extends BaseAPI implements AlertInhibitApiInterface { /** * * @summary Create alert inhibit * @param {AlertInhibitApiCreateAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApi */ createAlertInhibit(requestParameters: AlertInhibitApiCreateAlertInhibitRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Delete alert inhibit * @param {AlertInhibitApiDeleteAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApi */ deleteAlertInhibit(requestParameters: AlertInhibitApiDeleteAlertInhibitRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Get alert inhibit * @param {AlertInhibitApiGetAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApi */ getAlertInhibit(requestParameters: AlertInhibitApiGetAlertInhibitRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary List alert inhibits * @param {AlertInhibitApiListAlertInhibitsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApi */ listAlertInhibits(requestParameters: AlertInhibitApiListAlertInhibitsRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Patch alert inhibit * @param {AlertInhibitApiPatchAlertInhibitRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertInhibitApi */ patchAlertInhibit(requestParameters: AlertInhibitApiPatchAlertInhibitRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=alert-inhibit-api.d.ts.map