/* 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; /** * Select the configured read-only role. Must be true for internal exposure. * @type {boolean} * @memberof OpsExpose */ 'readonly'?: boolean; /** * * @type {OpsExposeType} * @memberof OpsExpose */ 'type': OpsExposeType; /** * * @type {OpsExposeVPCServiceType} * @memberof OpsExpose */ 'vpcServiceType'?: OpsExposeVPCServiceType; /** * * @type {Array} * @memberof OpsExpose */ 'portsMapping'?: Array; /** * The requested IPv4 or IPv6 address of the LoadBalancer service. If not set, IP addresses will be assigned by the system. For dual-stack MetalLB services, the system allocates the missing address family from the same VIP pool. 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. All VIPs of a dual-stack MetalLB service are allocated from the same pool. 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; }