/* 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 { OpsExposePortsMappingInner } from './ops-expose-ports-mapping-inner';
// May contain unused imports in some cases
// @ts-ignore
import type { OpsExposeType } from './ops-expose-type';
// May contain unused imports in some cases
// @ts-ignore
import type { OpsExposeVPCServiceType } from './ops-expose-vpcservice-type';

/**
 * OpsExpose is the payload to expose a KubeBlocks cluster
 * @export
 * @interface OpsExpose
 */
export interface OpsExpose {
    /**
     * 
     * @type {string}
     * @memberof OpsExpose
     */
    'component': string;
    /**
     * 
     * @type {boolean}
     * @memberof OpsExpose
     */
    'enable': boolean;
    /**
     * 
     * @type {boolean}
     * @memberof OpsExpose
     */
    'readonly'?: boolean;
    /**
     * 
     * @type {OpsExposeType}
     * @memberof OpsExpose
     */
    'type': OpsExposeType;
    /**
     * 
     * @type {OpsExposeVPCServiceType}
     * @memberof OpsExpose
     */
    'vpcServiceType'?: OpsExposeVPCServiceType;
    /**
     * 
     * @type {Array<OpsExposePortsMappingInner>}
     * @memberof OpsExpose
     */
    'portsMapping'?: Array<OpsExposePortsMappingInner>;
    /**
     * The IP address of the LoadBalancer service. If not set, the IP address will be assigned by the system. Only available when vpcServiceType is LoadBalancer.
     * @type {string}
     * @memberof OpsExpose
     */
    'loadBalancerIP'?: string | null;
    /**
     * The IP pool ID of the LoadBalancer service. If not set, the IP pool will be assigned by the system. Only available when vpcServiceType is LoadBalancer.
     * @type {string}
     * @memberof OpsExpose
     */
    'loadBalancerIPPoolID'?: string | null;
    /**
     * The custom domain for accessing the cluster. If not set, the default domain will be used. Max 253 characters in total (1-63 characters per segment), allowing only lowercase letters, numbers, and hyphens (-); each segment must start and end with a letter or number.
     * @type {string}
     * @memberof OpsExpose
     */
    'domain'?: string | null;
}



