/** * Admin API * The Admin API is used to manage the ApeCloud platform. * * 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 { EnableServiceVersion200Response } from '../models'; import type { EnableServiceVersionRequest } from '../models'; /** * EnableServiceVersionApi - axios parameter creator * @export */ export declare const EnableServiceVersionApiAxiosParamCreator: (configuration?: Configuration) => { /** * enable the service version of the engine and create related resources * @summary enable the service version of the engine * @param {string} environmentName environment name * @param {string} engineName Name of the engine * @param {EnableServiceVersionRequest} enableServiceVersionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableServiceVersion: (environmentName: string, engineName: string, enableServiceVersionRequest: EnableServiceVersionRequest, options?: RawAxiosRequestConfig) => Promise; }; /** * EnableServiceVersionApi - functional programming interface * @export */ export declare const EnableServiceVersionApiFp: (configuration?: Configuration) => { /** * enable the service version of the engine and create related resources * @summary enable the service version of the engine * @param {string} environmentName environment name * @param {string} engineName Name of the engine * @param {EnableServiceVersionRequest} enableServiceVersionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableServiceVersion(environmentName: string, engineName: string, enableServiceVersionRequest: EnableServiceVersionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * EnableServiceVersionApi - factory interface * @export */ export declare const EnableServiceVersionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * enable the service version of the engine and create related resources * @summary enable the service version of the engine * @param {EnableServiceVersionApiEnableServiceVersionRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ enableServiceVersion(requestParameters: EnableServiceVersionApiEnableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * EnableServiceVersionApi - interface * @export * @interface EnableServiceVersionApi */ export interface EnableServiceVersionApiInterface { /** * enable the service version of the engine and create related resources * @summary enable the service version of the engine * @param {EnableServiceVersionApiEnableServiceVersionRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EnableServiceVersionApiInterface */ enableServiceVersion(requestParameters: EnableServiceVersionApiEnableServiceVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for enableServiceVersion operation in EnableServiceVersionApi. * @export * @interface EnableServiceVersionApiEnableServiceVersionRequest */ export interface EnableServiceVersionApiEnableServiceVersionRequest { /** * environment name * @type {string} * @memberof EnableServiceVersionApiEnableServiceVersion */ readonly environmentName: string; /** * Name of the engine * @type {string} * @memberof EnableServiceVersionApiEnableServiceVersion */ readonly engineName: string; /** * * @type {EnableServiceVersionRequest} * @memberof EnableServiceVersionApiEnableServiceVersion */ readonly enableServiceVersionRequest: EnableServiceVersionRequest; } /** * EnableServiceVersionApi - object-oriented interface * @export * @class EnableServiceVersionApi * @extends {BaseAPI} */ export declare class EnableServiceVersionApi extends BaseAPI implements EnableServiceVersionApiInterface { /** * enable the service version of the engine and create related resources * @summary enable the service version of the engine * @param {EnableServiceVersionApiEnableServiceVersionRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EnableServiceVersionApi */ enableServiceVersion(requestParameters: EnableServiceVersionApiEnableServiceVersionRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=enable-service-version-api.d.ts.map