/* tslint:disable */
/* eslint-disable */
/**
 * KubeBlocks Cloud Internal API
 * The Internal API is using for interaction of ApeCloud platform microservices. 
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * 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 { ServiceDescriptor } from './service-descriptor';

/**
 * defines a serviceRef that references service provided by other cluster or external service. Only one of cluster or serviceDescriptor field should be set. 
 * @export
 * @interface ServiceRef
 */
export interface ServiceRef {
    /**
     * refers to the serviceRef name defined in engineoption
     * @type {string}
     * @memberof ServiceRef
     */
    'name': string;
    /**
     * the cluster name that will be used in serviceRef. The referenced cluster should  be at the same organization as the current cluster. 
     * @type {string}
     * @memberof ServiceRef
     */
    'cluster'?: string;
    /**
     * the cluster definition of the referenced cluster.
     * @type {string}
     * @memberof ServiceRef
     */
    'clusterDefinition'?: string;
    /**
     * 
     * @type {ServiceDescriptor}
     * @memberof ServiceRef
     */
    'serviceDescriptor'?: ServiceDescriptor;
}

