/* tslint:disable */
/* eslint-disable */
/**
 * 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.
 */


// May contain unused imports in some cases
// @ts-ignore
import type { EngineOptionsServicePattern } from './engine-options-service-pattern';
// May contain unused imports in some cases
// @ts-ignore
import type { LocalizedDescription } from './localized-description';

/**
 * 
 * @export
 * @interface EndpointOption
 */
export interface EndpointOption {
    /**
     * 
     * @type {LocalizedDescription}
     * @memberof EndpointOption
     */
    'title': LocalizedDescription;
    /**
     * 
     * @type {string}
     * @memberof EndpointOption
     */
    'component': string;
    /**
     * 
     * @type {string}
     * @memberof EndpointOption
     */
    'portName': string;
    /**
     * 
     * @type {number}
     * @memberof EndpointOption
     */
    'port': number;
    /**
     * 
     * @type {string}
     * @memberof EndpointOption
     */
    'protocol': string;
    /**
     * 
     * @type {string}
     * @memberof EndpointOption
     */
    'targetPort': string;
    /**
     * 
     * @type {Array<string>}
     * @memberof EndpointOption
     */
    'type': Array<string>;
    /**
     * whether the endpoint supports system use, such as health check, dms, databases & accounts management etc.
     * @type {boolean}
     * @memberof EndpointOption
     */
    'supportsSystemUse'?: boolean;
    /**
     * whether the engine supports readonly endpoint
     * @type {boolean}
     * @memberof EndpointOption
     */
    'supportsReadonly'?: boolean;
    /**
     * 
     * @type {EngineOptionsServicePattern}
     * @memberof EndpointOption
     */
    'servicePattern'?: EngineOptionsServicePattern;
    /**
     * ServiceName regular expression
     * @type {string}
     * @memberof EndpointOption
     */
    'serviceNameRegex'?: string;
    /**
     * service suffix, defined in ComponentDefinition
     * @type {string}
     * @memberof EndpointOption
     */
    'serviceName'?: string;
    /**
     * selector of k8s service
     * @type {{ [key: string]: string; }}
     * @memberof EndpointOption
     */
    'selector'?: { [key: string]: string; };
    /**
     * selector of k8s service
     * @type {{ [key: string]: string; }}
     * @memberof EndpointOption
     */
    'disasterRecoverySelector'?: { [key: string]: string; };
    /**
     * whether the endpoint follows the network mode of the component
     * @type {boolean}
     * @memberof EndpointOption
     */
    'followNetworkMode'?: boolean;
    /**
     * compatible KubeBlocks Major versions
     * @type {string}
     * @memberof EndpointOption
     */
    'compatibleKBVersion'?: string | null;
}



