/**
 * 灰度命中规则
 */
export interface BetaLabel {
    /**
     * <p>键</p>
     */
    Key?: string;
    /**
     * <p>值</p>
     */
    Value?: BetaLabelMatchString;
}
/**
 * DescribeNacosReplicas请求参数结构体
 */
export interface DescribeNacosReplicasRequest {
    /**
     * 引擎实例ID
     */
    InstanceId: string;
    /**
     * 副本列表Limit
     */
    Limit?: number;
    /**
     * 副本列表Offset
     */
    Offset?: number;
}
/**
 * DeleteWafDomains请求参数结构体
 */
export interface DeleteWafDomainsRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * WAF 防护域名列表
     */
    Domains: Array<string>;
}
/**
 * 列表过滤条件，模糊匹配
 */
export interface ListFilter {
    /**
     * 过滤字段
     */
    Key?: string;
    /**
     * 过滤值
     */
    Value?: string;
}
/**
 * DescribeCloudNativeAPIGatewayNodes请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayNodesRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 实例分组id
     */
    GroupId?: string;
    /**
     * 翻页获取多少个
     */
    Limit?: number;
    /**
     * 翻页从第几个开始获取
     */
    Offset?: number;
}
/**
 * 服务别名结构信息
 */
export interface GovernanceAlias {
    /**
     * 服务别名
     */
    Alias?: string;
    /**
     * 服务别名命名空间
     */
    AliasNamespace?: string;
    /**
     * 服务别名指向的服务名
     */
    Service?: string;
    /**
     * 服务别名指向的服务命名空间
     */
    Namespace?: string;
    /**
     * 服务别名的描述信息
     */
    Comment?: string;
    /**
     * 服务别名创建时间
     */
    CreateTime?: string;
    /**
     * 服务别名修改时间
     */
    ModifyTime?: string;
    /**
     * 服务别名ID
     */
    Id?: string;
    /**
     * 该服务别名是否可以编辑
     */
    Editable?: boolean;
    /**
     * 元数据信息
     */
    Metadatas?: Array<Metadata>;
}
/**
 * DescribeCloudNativeAPIGatewayUpstream请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayUpstreamRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务名字
     */
    ServiceName: string;
}
/**
 * AI 网关意图路由配置
 */
export interface AIGWIntentRoute {
    /**
     * <p>意图识别模型id</p>
     */
    IntentModelServiceId: string;
    /**
     * <p>置信度</p>
     */
    ConfidenceThreshold: number;
    /**
     * <p>默认服务id</p>
     */
    DefaultModelServiceId: string;
    /**
     * <p>规则</p>
     */
    Rules?: Array<AIGWIntentRouteRule>;
}
/**
 * 元数据信息
 */
export interface Metadata {
    /**
     * 元数据键名。
     */
    Key: string;
    /**
     * 元数据键值。不填则默认为空字符串。
     */
    Value?: string;
}
/**
 * RemoveCloudNativeAPIGatewayConsumerGroupAuth返回参数结构体
 */
export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeUpstreamHealthCheckConfig请求参数结构体
 */
export interface DescribeUpstreamHealthCheckConfigRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 网关服务名称
     */
    Name: string;
}
/**
 * Key/Value结构
 */
export interface KeyValue {
    /**
     * 条件的Key
     */
    Key?: string;
    /**
     * 条件的Value
     */
    Value?: string;
}
/**
 * CreateNativeGatewayServerGroup请求参数结构体
 */
export interface CreateNativeGatewayServerGroupRequest {
    /**
     * 网关实例id。
  只支持后付费实例
     */
    GatewayId: string;
    /**
     * 网关分组名
     */
    Name: string;
    /**
     * 节点配置
     */
    NodeConfig: CloudNativeAPIGatewayNodeConfig;
    /**
     * 子网id
     */
    SubnetId: string;
    /**
     * 描述信息
     */
    Description?: string;
    /**
     * 公网带宽信息
     */
    InternetMaxBandwidthOut?: number;
    /**
     * 公网配置。
     */
    InternetConfig?: InternetConfig;
}
/**
 * DescribeCloudNativeAPIGatewayCertificates请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCertificatesRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 列表数量
     */
    Limit?: number;
    /**
     * 列表offset
     */
    Offset?: number;
    /**
     * 过滤条件，多个过滤条件之间是与的关系，支持BindDomain ，Name
     */
    Filters?: Array<ListFilter>;
}
/**
 * DeleteGovernanceLaneGroups返回参数结构体
 */
export interface DeleteGovernanceLaneGroupsResponse {
    /**
     * 是否创建成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 删除云原生API网关响应结果。
 */
export interface DeleteCloudNativeAPIGatewayResult {
    /**
     * 云原生网关ID。
     */
    GatewayId: string;
    /**
     * 云原生网关状态。
     */
    Status: string;
}
/**
 * CloseWafProtection请求参数结构体
 */
export interface CloseWafProtectionRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     *  防护资源的类型。
  - Global  实例
  - Service  服务
  - Route  路由
  - Object  对象
     */
    Type: string;
    /**
     * 当资源类型 Type 是 Service 或 Route 的时候，传入的服务或路由的列表
     */
    List?: Array<string>;
}
/**
 * 泳道组
 */
export interface DeleteGovernanceLaneGroup {
    /**
     * 泳道名称
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Name: string;
    /**
     * 泳道组ID
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ID?: string;
    /**
     * 泳道入口服务列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    TrafficEntries?: Array<LaneTrafficEntry>;
    /**
     * 泳道服务列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Destinations?: Array<GovernanceServiceDestination>;
    /**
     * 泳道组描述
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Description?: string;
    /**
     * 规则内容摘要
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Revision?: string;
    /**
     * 创建时间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    CreateTime?: string;
    /**
     * 修改时间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ModifyTime?: string;
    /**
     * 规则一致性状态
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Consistency?: string;
    /**
     * 泳道规则列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Rules?: Array<GovernanceLaneRule>;
}
/**
 * DescribeCloudNativeAPIGatewayNodes返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayNodesResponse {
    /**
     * 获取云原生网关节点列表结果。
     */
    Result: DescribeCloudNativeAPIGatewayNodesResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGateway返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayResponse {
    /**
     * 创建云原生API网关实例响应结果。
     */
    Result?: CreateCloudNativeAPIGatewayResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyCloudNativeAPIGatewayLLMModelService请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayLLMModelServiceRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>模型服务 ID，全局唯一标识。</p>
     */
    ModelServiceId: string;
    /**
     * <p>修改服务名称，长度2-50字符，支持中英文、数字、下划线。</p>
     */
    Name?: string;
    /**
     * <p>修改默认模型，模型选择方式为 Specify 时必填。</p>
     */
    DefaultModel?: string;
    /**
     * <p>修改模型选择方式，选项：Specify（指定模型）、PassThrough（透传请求模型）。</p>
     */
    ModelSelector?: string;
    /**
     * <p>修改开启模型降级，模型选择方式为 Specify 时必填。</p>
     */
    EnableModelFallback?: boolean;
    /**
     * <p>修改可以配置备用模型规则，EnableSpecifyModelFallback 为 true 时必填。</p>
     */
    ModelFallbackRule?: CloudNativeAPIGatewayLLMModelFallbackRule;
    /**
     * <p>修改开启模型参数校验，是否校验客户端传递的 model 参数, 模型选择方式为 PassThrough 时必填</p>
     */
    EnableModelParamCheck?: boolean;
    /**
     * <p>修改模型检验信息，EnableModelParamCheck 为 true 时必填。</p>
     */
    ModelParamCheckRule?: CloudNativeAPIGatewayLLMModelParamCheckInfo;
    /**
     * <p>修改描述。</p>
     */
    Description?: string;
    /**
     * <p>修改模型服务地址</p>
     */
    UpstreamURL?: string;
    /**
     * <p>连接超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：10000</p>
     */
    ConnectTimeout?: number;
    /**
     * <p>写入超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：60000</p>
     */
    WriteTimeout?: number;
    /**
     * <p>读取超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：60000</p>
     */
    ReadTimeout?: number;
    /**
     * <p>重试次数</p><p>取值范围：[0, 5]</p><p>单位：次</p><p>默认值：0</p>
     */
    Retries?: number;
    /**
     * <p>路径拼接模式</p><p>枚举值：</p><ul><li>FixedPath： 固定路径</li><li>AutoConcat： 自动拼接</li></ul>
     */
    UpstreamUrlMode?: string;
    /**
     * <p>SNI</p>
     */
    SNI?: string;
    /**
     * <p>模型服务级别的配额上限（RPM/TPM）。需要网关版本 ≥ 3.9.4。</p>
     */
    QuotaLimit?: AIGWLLMQuotaLimit;
    /**
     * <p>标签</p>
     */
    Tags?: Array<string>;
    /**
     * <p>模型改写规则</p>
     */
    ModelRewriteRules?: Array<AIGWModelRewriteRule>;
    /**
     * <p>来源 id</p>
     */
    SourceId?: string;
    /**
     * <p>命名空间</p>
     */
    Namespace?: string;
    /**
     * <p>服务名字</p>
     */
    ServiceName?: string;
    /**
     * <p>协议</p>
     */
    Protocol?: string;
    /**
     * <p>扩展参数</p>
     */
    ExtParams?: Array<KeyValue>;
    /**
     * <p>密钥轮转开关</p>
     */
    KeyRotationEnabled?: boolean;
    /**
     * <p>密钥轮转天数</p>
     */
    KeyRotationPeriodDays?: number;
    /**
     * <p>外部服务来源ID</p>
     */
    ExternalInstanceId?: string;
}
/**
 * 分组列表
 */
export interface CNAPIGwConsumerGroupList {
    /**
     * 总数
     */
    TotalCount?: number;
    /**
     * 消费者分组信息
     */
    ConsumerGroups?: Array<CNAPIGwConsumerGroup>;
}
/**
 * 网络访问策略
 */
export interface NetworkAccessControl {
    /**
     * 访问模式：Whitelist|Blacklist
     */
    Mode: string;
    /**
     * 白名单列表
     */
    CidrWhiteList?: Array<string>;
    /**
     * 黑名单列表
     */
    CidrBlackList?: Array<string>;
}
/**
 * 查询客户端公网信息
 */
export interface DescribePublicNetworkResult {
    /**
     * 网关实例ID
     */
    GatewayId?: string;
    /**
     * 网关分组ID
     */
    GroupId?: string;
    /**
     * 客户端公网信息
     */
    PublicNetwork?: CloudNativeAPIGatewayConfig;
}
/**
 * DescribeGovernanceLaneGroups返回参数结构体
 */
export interface DescribeGovernanceLaneGroupsResponse {
    /**
     * 总数
     */
    Total?: number;
    /**
     * 泳道规则列表
     */
    LaneGroups?: Array<GovernanceLaneGroup>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 网关数据来源单个描述
 */
export interface NativeGatewayServiceSourceItem {
    /**
     * 网关实例ID
     */
    GatewayID: string;
    /**
     * 服务来源ID
     */
    SourceID: string;
    /**
     * 服务来源名称
     */
    SourceName: string;
    /**
     * 服务来源类型
     */
    SourceType: string;
    /**
     * 服务来源额外信息
     */
    SourceInfo: SourceInfo;
    /**
     * 创建时间
     */
    CreateTime: string;
    /**
     * 修改时间
     */
    ModifyTime: string;
}
/**
 * CreateNativeGatewayServiceSource返回参数结构体
 */
export interface CreateNativeGatewayServiceSourceResponse {
    /**
     * 创建是否成功
     */
    Result?: boolean;
    /**
     * 服务来源ID
     */
    SourceID?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayService请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayServiceRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务名称
     */
    Name: string;
    /**
     * 请求协议：
  - https
  - http
  - tcp
  - udp
     */
    Protocol: string;
    /**
     * 超时时间，单位ms
     */
    Timeout: number;
    /**
     * 重试次数
     */
    Retries: number;
    /**
     * 服务类型:
  - Kubernetes
  - Registry
  - IPList
  - HostIP
  - Scf
     */
    UpstreamType: string;
    /**
     * 服务配置信息
     */
    UpstreamInfo: KongUpstreamInfo;
    /**
     * 请求路径
     */
    Path?: string;
}
/**
 * AI网关 JWT 凭证物料配置
 */
export interface AIGWJWTCredentialConfig {
    /**
     * <p>JWT 消费者标识，iss claim</p>
     */
    Key: string;
    /**
     * <p>签名算法，取值：HS256 HS384 HS512 RS256 RS384 RS512 ES256 ES384 ES512</p>
     */
    Algorithm: string;
    /**
     * <p>HS 对称密钥，仅 Algorithm 为 HS256/HS384/HS512 时必填；RS/ES* 时留空</p>
     */
    Secret?: string;
    /**
     * <p>RS/ES PEM 格式公钥，仅 Algorithm 为 RS256/RS384/RS512/ES256/ES384/ES512 时必填；HS* 时留空</p>
     */
    RSAPublicKey?: string;
}
/**
 * ModifyConsoleNetwork请求参数结构体
 */
export interface ModifyConsoleNetworkRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 网络类型：
  - Open 公网
  - Internal 内网（暂不支持）
     */
    NetworkType: string;
    /**
     * 开启Konga网络，不填时默认为Open
  - Open，开启
  - Close，关闭
     */
    Operate?: string;
    /**
     * 访问控制策略
     */
    AccessControl?: NetworkAccessControl;
}
/**
 * 公网地址信息
 */
export interface PublicAddressConfig {
    /**
     * 公网 ip
     */
    Vip?: string;
    /**
     * 公网最大带宽
     */
    InternetMaxBandwidthOut?: number;
    /**
     * 公网所属分组 id
     */
    GroupId?: string;
    /**
     * 公网所属分组名
     */
    GroupName?: string;
    /**
     * 公网负载均衡 id
     */
    NetworkId?: string;
    /**
     * 公网负载均衡描述
     */
    Description?: string;
}
/**
 * 微服务注册引擎实例
 */
export interface SREInstance {
    /**
     * 实例ID
     */
    InstanceId?: string;
    /**
     * 名称
     */
    Name?: string;
    /**
     * 版本号
     */
    Edition?: string;
    /**
     * 状态, 枚举值:creating/create_fail/running/updating/update_fail/restarting/restart_fail/destroying/destroy_fail
     */
    Status?: string;
    /**
     * 规格ID
     */
    SpecId?: string;
    /**
     * 副本数
     */
    Replica?: number;
    /**
     * 类型
     */
    Type?: string;
    /**
     * Vpc iD
     */
    VpcId?: string;
    /**
     * 子网ID
     */
    SubnetIds?: Array<string>;
    /**
     * 是否开启持久化存储
     */
    EnableStorage?: boolean;
    /**
     * 数据存储方式
     */
    StorageType?: string;
    /**
     * 云硬盘容量
     */
    StorageCapacity?: number;
    /**
     * 计费方式
     */
    Paymode?: string;
    /**
     * EKS集群的ID
     */
    EKSClusterID?: string;
    /**
     * 集群创建时间
     */
    CreateTime?: string;
    /**
     * 环境配置信息列表
     */
    EnvInfos?: Array<EnvInfo>;
    /**
     * 引擎所在的区域
     */
    EngineRegion?: string;
    /**
     * 注册引擎是否开启公网
     */
    EnableInternet?: boolean;
    /**
     * 私有网络列表信息
     */
    VpcInfos?: Array<VpcInfo>;
    /**
     * 服务治理相关信息列表
     */
    ServiceGovernanceInfos?: Array<ServiceGovernanceInfo>;
    /**
     * 实例的标签信息
     */
    Tags?: Array<KVPair>;
    /**
     * 引擎实例是否开启控制台公网访问地址
     */
    EnableConsoleInternet?: boolean;
    /**
     * 引擎实例是否开启控制台内网访问地址
     */
    EnableConsoleIntranet?: boolean;
    /**
     * 引擎实例是否展示参数配置页面
     */
    ConfigInfoVisible?: boolean;
    /**
     * 引擎实例控制台默认密码
     */
    ConsoleDefaultPwd?: string;
    /**
     * 交易付费类型，0后付费/1预付费
     */
    TradeType?: number;
    /**
     * 自动续费标记：0表示默认状态(用户未设置，即初始状态)， 1表示自动续费，2表示明确不自动续费
     */
    AutoRenewFlag?: number;
    /**
     * 预付费到期时间
     */
    CurDeadline?: string;
    /**
     * 隔离开始时间
     */
    IsolateTime?: string;
    /**
     * 实例地域相关的描述信息
     */
    RegionInfos?: Array<DescribeInstanceRegionInfo>;
    /**
     * 所在EKS环境，分为common和yunti
     */
    EKSType?: string;
    /**
     * 引擎的产品版本
     */
    FeatureVersion?: string;
    /**
     * 引擎实例是否开启客户端内网访问地址
     */
    EnableClientIntranet?: boolean;
    /**
     * 存储额外配置选项
     */
    StorageOption?: Array<StorageOption>;
    /**
     * Zookeeper的额外环境数据信息
     */
    ZookeeperRegionInfo?: ZookeeperRegionInfo;
    /**
     * 部署架构
     */
    DeployMode?: string;
    /**
     * 全局属性
     */
    GlobalType?: string;
    /**
     * 所属组类型
     */
    GroupType?: string;
    /**
     * 组id
     */
    GroupId?: Array<string>;
    /**
     * 是否为主地域
     */
    IsMainRegion?: boolean;
}
/**
 * DescribeCloudNativeAPIGatewayServices请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayServicesRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 列表数量
     */
    Limit?: number;
    /**
     * 列表 offset
     */
    Offset?: number;
    /**
     * 过滤条件，多个过滤条件之间是与的关系，支持 name,upstreamType
     */
    Filters?: Array<ListFilter>;
}
/**
 * CreateCloudNativeAPIGatewayLLMModelAPI请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayLLMModelAPIRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>模型 API 名称，最长 60 字符。同一网关下唯一。</p>
     */
    Name: string;
    /**
     * <p>业务场景。</p><p>枚举值：</p><ul><li>Chat：聊天</li><li>Image：图像（需要网关版本 ≥ 3.9.3）</li></ul>
     */
    SceneType: string;
    /**
     * <p>请求协议（小写）。当前仅支持：</p><ul><li>openai</li></ul>
     */
    RequestProtocol: string;
    /**
     * <p>关联的模型服务 ID 列表，长度 1-10。</p><p>注：字段名建议改为 ModelServiceIds，当前保留用于兼容。</p>
     */
    ListModelServiceId: Array<string>;
    /**
     * <p>路由列表，至少 1 条。每条包含 Methods/Paths/Hosts 等 Kong 路由属性。</p>
     */
    RouteList: Array<DefaultKongRoute>;
    /**
     * <p>统一前缀路径（可选）。例如 /v1/openai。</p>
     */
    BasePath?: string;
    /**
     * <p>模型 API 描述。最长 200 字符。</p>
     */
    Description?: string;
    /**
     * <p>多模型服务路由策略。ListModelServiceId 多于 1 项时必填。</p>
     */
    ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
    /**
     * <p>Header 路由匹配规则。当前仅支持 Operator=exact。</p>
     */
    MatchHeaders?: Array<AIGWKVMatch>;
    /**
     * <p>是否启用跨服务 Fallback。开启后需提供 CrossServiceFallbackConfig。</p>
     */
    EnableCrossServiceFallback?: boolean;
    /**
     * <p>跨服务 Fallback 配置。EnableCrossServiceFallback=true 时必填。</p>
     */
    CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
    /**
     * <p>标签过滤策略。需要网关版本 ≥ 3.9.4。</p>
     */
    TagFilter?: AIGWTagFilter;
    /**
     * <p>日志输出配置（请求/响应 payload 落 LLM Log）。需要网关版本 ≥ 3.9.4。</p>
     */
    LogConfig?: AIGWLogConfig;
}
/**
 * 服务实例组
 */
export interface GovernanceServiceDestination {
    /**
     * 命名空间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Namespace: string;
    /**
     * 服务
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Service: string;
    /**
     * 实例标签
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Labels?: Array<RoutingDestinationRuleLabel>;
}
/**
 * DescribeCloudNativeAPIGatewayConsumerList请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerListRequest {
    /**
     * <p>网关实例id</p>
     */
    GatewayId: string;
    /**
     * <p>页显示条数，最大20</p>
     */
    Limit: number;
    /**
     * <p>起始位置</p>
     */
    Offset: number;
    /**
     * <p>资源类型</p><p>枚举值：</p><ul><li>ModelAPI： 模型API</li><li>MCPServer： MCP服务</li></ul>
     */
    ResourceType?: string;
    /**
     * <p>资源ID</p>
     */
    ResourceId?: string;
}
/**
 * CreateCloudNativeAPIGatewayConsumer请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayConsumerRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * <p>消费者名称，最长 60 字符。同一网关下唯一。</p>
     */
    Name: string;
    /**
     * <p>消费者描述。最长 200 字符。</p>
     */
    Description?: string;
}
/**
 * CreateCloudNativeAPIGatewayCanaryRule返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayCanaryRuleResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * LLM 模型 API
 */
export interface CloudNativeAPIGatewayLLMModelAPI {
    /**
     * <p>模型 API ID。</p>
     */
    Id?: string;
    /**
     * <p>创建时间</p>
     */
    CreateTime?: string;
    /**
     * <p>修改时间</p>
     */
    ModifyTime?: string;
    /**
     * <p>AI 网关 LLM 模型 API 的唯一标识名称，格式规则：2-50 字符，支持英文、数字、下划线。</p>
     */
    Name?: string;
    /**
     * <p>选择业务场景,xa0 选项：Chat（聊天）。</p>
     */
    SceneType?: string;
    /**
     * <p>业务场景对应的请求协议，选项：OpenAI（目前只支持 OpenAI）。</p>
     */
    RequestProtocol?: string;
    /**
     * <p>路由列表</p>
     */
    RouteList?: Array<DefaultKongRoute>;
    /**
     * <p>为API设置统一的前缀，格式：以/开头，支持字母、数字、短横线。</p>
     */
    BasePath?: string;
    /**
     * <p>路径简化，<br>启用时：客户端请求路径 → 移除Base Path → 后端接收简洁路径<br>禁用时：客户端请求路径 → 完整传递给后端。</p>
     */
    StripPath?: boolean;
    /**
     * <p>模型 API 的相关描述。</p>
     */
    Description?: string;
    /**
     * <p>模型服务Id</p>
     */
    ModelServiceId?: string;
    /**
     * <p>模型服务名称</p>
     */
    ModelServiceName?: string;
    /**
     * <p>模型服务路由策略（是指如何路由到模型服务）</p>
     */
    ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
    /**
     * <p>无</p>
     */
    MatchHeaders?: Array<AIGWKVMatch>;
    /**
     * <p>是否开启跨服务fallback</p>
     */
    EnableCrossServiceFallback?: boolean;
    /**
     * <p>跨服务fallback配置详情</p>
     */
    CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
    /**
     * <p>是否展示模型API</p>
     */
    DescribeCloudNativeAPIGatewayLLMModelAPI?: boolean;
    /**
     * <p>标签</p>
     */
    TagFilter?: AIGWTagFilter;
    /**
     * <p>日志显示相关开关</p>
     */
    LogConfig?: AIGWLogConfig;
    /**
     * <p>日志脱敏规则</p>
     */
    LogDesensitizeConfig?: AIGWLogDesensitizeConfig;
    /**
     * <p>转发脱敏规则</p>
     */
    ForwardDesensitizeConfig?: AIGWForwardDesensitizeConfig;
}
/**
 * DeleteGovernanceNamespaces返回参数结构体
 */
export interface DeleteGovernanceNamespacesResponse {
    /**
     * 删除是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 标签
 */
export interface Label {
    /**
     * 标签键名称
     */
    Key?: string;
    /**
     * 标签值
     */
    Value?: string;
}
/**
 * DescribeCloudNativeAPIGatewayRoutes返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayRoutesResponse {
    /**
     * 无
     */
    Result?: KongServiceRouteList;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeWafProtection返回参数结构体
 */
export interface DescribeWafProtectionResponse {
    /**
     * 保护状态
     */
    Result?: DescribeWafProtectionResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeZookeeperReplicas请求参数结构体
 */
export interface DescribeZookeeperReplicasRequest {
    /**
     * 注册引擎实例ID
     */
    InstanceId: string;
    /**
     * 副本列表Limit
     */
    Limit?: number;
    /**
     * 副本列表Offset
     */
    Offset?: number;
}
/**
 * DescribeAutoScalerResourceStrategies返回参数结构体
 */
export interface DescribeAutoScalerResourceStrategiesResponse {
    /**
     * 获取云原生API网关实例弹性伸缩策略列表响应结果。
     */
    Result?: ListCloudNativeAPIGatewayStrategyResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 获取云原生API网关基础信息响应结果。
 */
export interface DescribeCloudNativeAPIGatewayResult {
    /**
     * <p>云原生API网关ID。</p>
     */
    GatewayId?: string;
    /**
     * <p>云原生API网关状态。</p>
     */
    Status?: string;
    /**
     * <p>云原生API网关名。</p>
     */
    Name?: string;
    /**
     * <p>云原生API网关类型。</p>
     */
    Type?: string;
    /**
     * <p>实例版本：</p><ul><li>2.4.1</li><li>2.5.1</li></ul>
     */
    GatewayVersion?: string;
    /**
     * <p>云原生API网关节点信息。</p>
     */
    NodeConfig?: CloudNativeAPIGatewayNodeConfig;
    /**
     * <p>云原生API网关vpc配置。</p>
     */
    VpcConfig?: CloudNativeAPIGatewayVpcConfig;
    /**
     * <p>云原生API网关描述。</p>
     */
    Description?: string;
    /**
     * <p>云原生API网关创建时间。</p>
     */
    CreateTime?: string;
    /**
     * <p>实例的标签信息</p>
     */
    Tags?: Array<InstanceTagInfo>;
    /**
     * <p>是否开启 cls 日志</p>
     */
    EnableCls?: boolean;
    /**
     * <p>付费模式，0表示后付费，1预付费</p>
     */
    TradeType?: number;
    /**
     * <p>实例版本，当前支持开发版、标准版、专业版【TRIAL、STANDARD、PROFESSIONAL】</p>
     */
    FeatureVersion?: string;
    /**
     * <p>公网出流量带宽，[1,2048]Mbps</p>
     */
    InternetMaxBandwidthOut?: number;
    /**
     * <p>自动续费标记，0表示默认状态(用户未设置，即初始状态)；<br>1表示自动续费，2表示明确不自动续费(用户设置)，若业务无续费概念或无需自动续费，需要设置为0</p>
     */
    AutoRenewFlag?: number;
    /**
     * <p>到期时间，预付费时使用</p>
     */
    CurDeadline?: string;
    /**
     * <p>隔离时间，实例隔离时使用</p>
     */
    IsolateTime?: string;
    /**
     * <p>是否开启客户端公网。</p>
     */
    EnableInternet?: boolean;
    /**
     * <p>实例实际的地域信息</p>
     */
    EngineRegion?: string;
    /**
     * <p>Ingress class名称</p>
     */
    IngressClassName?: string;
    /**
     * <p>公网计费方式。可选取值 BANDWIDTH | TRAFFIC ，表示按带宽和按流量计费。</p>
     */
    InternetPayMode?: string;
    /**
     * <p>云原生API网关小版本号</p>
     */
    GatewayMinorVersion?: string;
    /**
     * <p>实例监听的端口信息</p>
     */
    InstancePort?: InstancePort;
    /**
     * <p>公网CLB默认类型</p>
     */
    LoadBalancerType?: string;
    /**
     * <p>公网IP地址列表</p>
     */
    PublicIpAddresses?: Array<string>;
    /**
     * <p>是否开启删除保护</p>
     */
    DeleteProtect?: boolean;
    /**
     * <p>表示可以升级的版本号</p>
  注意：此字段可能返回 null，表示取不到有效值。
     */
    AvailableVersions?: Array<string>;
    /**
     * <p>网关可以升级的版本号列表</p>
     */
    AvailableUpgradeVersions?: Array<string>;
    /**
     * <p>是否提示可升级</p>
     */
    AvailableUpgrade?: boolean;
    /**
     * <p>可回退的版本</p>
     */
    AvailableRollbackVersion?: string;
    /**
     * <p>强制跳转HTTPS开关</p>
     */
    ForceHTTPSRedirect?: boolean;
}
/**
 * 北极星日志主题信息
 */
export interface PolarisCLSTopicInfo {
    /**
     * 日志集ID
     */
    LogSetId?: string;
    /**
     * 日志集名称
     */
    LogSetName?: string;
    /**
     * 日志主题ID
     */
    TopicId?: string;
    /**
     * 日志主题名称
     */
    TopicName?: string;
}
/**
 * DeleteCloudNativeAPIGatewayRoute返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayRouteResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * AI 网关 B 层日志脱敏配置（写入 LLM Log 前对 payload 掩码）
 */
export interface AIGWLogDesensitizeConfig {
    /**
     * <p>日志脱敏开关</p>
     */
    Enabled: boolean;
    /**
     * <p>预定义规则类型</p><p>枚举值：</p><ul><li>Phone： 电话号码</li><li>IdCard： 身份证号</li><li>BankCard： 银行卡号</li><li>Email： 邮箱地址</li><li>IP： IP地址</li><li>Name： 姓名</li></ul>
     */
    PredefinedRuleTypes?: Array<string>;
    /**
     * <p>自定义脱敏规则</p>
     */
    CustomRules?: Array<AIGWCustomDesensitizeRule>;
    /**
     * <p>日志脱敏范围</p><p>枚举值：</p><ul><li>Request： 请求</li><li>Response： 响应</li></ul>
     */
    Scope?: Array<string>;
}
/**
 * DeleteCloudNativeAPIGatewayLLMModelService返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayLLMModelServiceResponse {
    /**
     * <p>是否成功。</p>
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayServiceRateLimit请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayServiceRateLimitRequest {
    /**
     * 网关Id
     */
    GatewayId: string;
    /**
     * 服务名称，或服务ID
     */
    Name: string;
}
/**
 * AI 网关意图路由规则
 */
export interface AIGWIntentRouteRule {
    /**
     * <p>意图编码</p><p>枚举值：</p><ul><li>Coder： 代码编写</li><li>Math： 数学计算</li><li>Translation： 翻译</li><li>Flash： 快速问答</li><li>Complex： 复杂推理</li></ul>
     */
    IntentCode?: string;
    /**
     * <p>模型服务id</p>
     */
    ModelServiceId?: string;
}
/**
 * 灰度规则列表
 */
export interface CloudAPIGatewayCanaryRuleList {
    /**
     * 灰度规则
     */
    CanaryRuleList?: Array<CloudNativeAPIGatewayCanaryRule>;
    /**
     * 总数
     */
    TotalCount?: number;
}
/**
 * ModifyUpstreamNodeStatus请求参数结构体
 */
export interface ModifyUpstreamNodeStatusRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 服务名称
     */
    ServiceName: string;
    /**
     * 访问IP地址或域名
     */
    Host: string;
    /**
     * 访问端口
     */
    Port: number;
    /**
     * HEALTHY或UNHEALTHY
     */
    Status: string;
}
/**
 * 云原生网关Tse 限流插件配置
 */
export interface CloudNativeAPIGatewayRateLimitDetail {
    /**
     * 插件启用状态
     */
    Enabled?: boolean;
    /**
     * qps阈值
     */
    QpsThresholds?: Array<QpsThreshold>;
    /**
     * 需要进行流量控制的请求路径
     */
    Path?: string;
    /**
     * 需要进行流量控制的请求头Key
     */
    Header?: string;
    /**
     * 限流依据
  ip service consumer credential path header
     */
    LimitBy?: string;
    /**
     * 外部redis配置
     */
    ExternalRedis?: ExternalRedis;
    /**
     * 全局配置中的redis配置
     */
    GlobalConfigId?: string;
    /**
     * 计数器策略
  local 单机
  redis  默认redis
  external_redis 外部redis
  
     */
    Policy?: string;
    /**
     * 响应配置，响应策略为text
  
     */
    RateLimitResponse?: RateLimitResponse;
    /**
     * 请求转发地址
     */
    RateLimitResponseUrl?: string;
    /**
     * 响应策略
  url请求转发
  text 响应配置
  default 直接返回
  
     */
    ResponseType?: string;
    /**
     * 是否隐藏限流客户端响应头
     */
    HideClientHeaders?: boolean;
    /**
     * 排队时间
     */
    LineUpTime?: number;
    /**
     * 是否开启请求排队
     */
    IsDelay?: boolean;
    /**
     * 基础限流
  注意：此字段可能返回 null，表示取不到有效值。
     */
    BasicLimitQpsThresholds?: Array<QpsThreshold>;
    /**
     * 参数限流的规则
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LimitRules?: Array<LimitRule>;
}
/**
 * DescribeConfigFileRelease请求参数结构体
 */
export interface DescribeConfigFileReleaseRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
    /**
     * 命名空间名称
     */
    Namespace?: string;
    /**
     * 配置分组名称
     */
    Group?: string;
    /**
     * 配置文件名称
     */
    Name?: string;
    /**
     * 配置文件发布名称
     */
    ReleaseName?: string;
    /**
     * 配置文件发布Id
     */
    Id?: string;
}
/**
 * DescribeCloudNativeAPIGatewayConfig请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConfigRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 分组id，不填时为默认分组
     */
    GroupId?: string;
}
/**
 * Kong Upstream中的Target
 */
export interface KongTarget {
    /**
     * Host
     */
    Host: string;
    /**
     * 端口
     */
    Port: number;
    /**
     * 权重
     */
    Weight: number;
    /**
     * 健康状态
     */
    Health?: string;
    /**
     * 创建时间
     */
    CreatedTime?: string;
    /**
     * Target的来源
     */
    Source?: string;
    /**
     * CVM实例ID
     */
    CvmInstanceId?: string;
    /**
     * CVM实例名称
     */
    CvmInstanceName?: string;
    /**
     * target标签
     */
    Tags?: Array<string>;
}
/**
 * 实例鉴权信息
 */
export interface SourceInstanceAuth {
    /**
     * 用户名
     */
    Username?: string;
    /**
     * 账户密码
     */
    Password?: string;
    /**
     * 访问凭据 token
     */
    AccessToken?: string;
}
/**
 * 扩容策略
 */
export interface AutoScalerPolicy {
    /**
     * 类型，Pods
     */
    Type?: string;
    /**
     * 数量
     */
    Value?: number;
    /**
     * 扩容周期
     */
    PeriodSeconds?: number;
}
/**
 * DescribeNacosServerInterfaces返回参数结构体
 */
export interface DescribeNacosServerInterfacesResponse {
    /**
     * 接口总个数
     */
    TotalCount?: number;
    /**
     * 接口列表
     */
    Content?: Array<NacosServerInterface>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 键值对
 */
export interface KVMapping {
    /**
     * key
     */
    Key?: string;
    /**
     * value
     */
    Value?: string;
}
/**
 * AI 网关token长度路由配置
 */
export interface AIGWTokenLengthRoute {
    /**
     * <p>默认tokenizer编码器</p><p>枚举值：</p><ul><li>o200k_base： OpenApi o200k_base</li><li>cl100k_base： OpenApi cl100k_base</li><li>p50k_base： OpenApi p50k_base</li><li>r50k_base： OpenApi r50k_base</li></ul>
     */
    DefaultEncodingName?: string;
    /**
     * <p>token 计数失败、规则为空或未命中任何规则时执行的默认二级路由（暂时只能选择一个指定模型路由）</p>
     */
    DefaultTarget?: AIGWLLMModelServiceSubRoute;
    /**
     * <p>规则</p>
     */
    Rules?: Array<AIGWTokenLengthRouteRule>;
}
/**
 * 环境具体信息
 */
export interface EnvInfo {
    /**
     * 环境名称
     */
    EnvName: string;
    /**
     * 环境对应的网络信息
     */
    VpcInfos: Array<VpcInfo>;
    /**
     * 云硬盘容量
     */
    StorageCapacity: number;
    /**
     * 运行状态
     */
    Status?: string;
    /**
     * Admin service 访问地址
     */
    AdminServiceIp?: string;
    /**
     * Config service访问地址
     */
    ConfigServiceIp?: string;
    /**
     * 是否开启config-server公网
     */
    EnableConfigInternet?: boolean;
    /**
     * config-server公网访问地址
     */
    ConfigInternetServiceIp?: string;
    /**
     * 规格ID
     */
    SpecId?: string;
    /**
     * 环境的节点数
     */
    EnvReplica?: number;
    /**
     * 环境运行的节点数
     */
    RunningCount?: number;
    /**
     * 环境别名
     */
    AliasEnvName?: string;
    /**
     * 环境描述
     */
    EnvDesc?: string;
    /**
     * 客户端带宽
     */
    ClientBandWidth?: number;
    /**
     * 客户端内网开关
     */
    EnableConfigIntranet?: boolean;
}
/**
 * ModifyCloudNativeAPIGatewayConsumer返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayConsumerResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 定时伸缩配置参数
 */
export interface CloudNativeAPIGatewayStrategyCronScalerConfigParam {
    /**
     * 定时伸缩周期
     */
    Period?: string;
    /**
     * 定时伸缩开始时间
     */
    StartAt?: string;
    /**
     * 定时伸缩目标节点数，不超过指标伸缩中定义的最大节点数
     */
    TargetReplicas?: number;
    /**
     * 定时伸缩cron表达式，无需输入
     */
    Crontab?: string;
}
/**
 * DeleteGovernanceInstances请求参数结构体
 */
export interface DeleteGovernanceInstancesRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 要删除的服务实例信息。
     */
    GovernanceInstances: Array<GovernanceInstanceUpdate>;
}
/**
 * 配置文件模板
 */
export interface ConfigFileTemplate {
    /**
     * 配置文件模板id
     */
    Id?: number;
    /**
     * 配置文件模板名称
     */
    Name?: string;
    /**
     * 配置文件模板内容
     */
    Content?: string;
    /**
     * 配置文件模板格式
     */
    Format?: string;
    /**
     * 配置文件模板注释
     */
    Comment?: string;
    /**
     * 配置文件模板创建时间
     */
    CreateTime?: string;
    /**
     * 配置文件模板创建者
     */
    CreateBy?: string;
    /**
     * 配置文件模板修改时间
     */
    ModifyTime?: string;
    /**
     * 配置文件模板修改者
     */
    ModifyBy?: string;
}
/**
 * 网关实例策略
 */
export interface CloudNativeAPIGatewayStrategy {
    /**
     * 策略ID
     */
    StrategyId?: string;
    /**
     * 策略名称
     */
    StrategyName?: string;
    /**
     * 创建时间
     */
    CreateTime?: string;
    /**
     * 更新时间
     */
    ModifyTime?: string;
    /**
     * 策略描述
     */
    Description?: string;
    /**
     * 弹性伸缩配置
     */
    Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
    /**
     * 网关实例ID
     */
    GatewayId?: string;
    /**
     * 定时伸缩配置
     */
    CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
    /**
     * 最大节点数
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    MaxReplicas?: number;
}
/**
 * LLM-单模型内降级规则
 */
export interface CloudNativeAPIGatewayLLMModelFallbackRule {
    /**
     * 备选模型，主模型不可用时将依次按顺序尝试。
     */
    FallbackModels?: Array<string>;
}
/**
 * UpdateEngineInternetAccess返回参数结构体
 */
export interface UpdateEngineInternetAccessResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayRouteRateLimit请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayRouteRateLimitRequest {
    /**
     * 网关Id
     */
    GatewayId: string;
    /**
     * 路由Id，或路由名称。
  不支持“未命名”
     */
    Id: string;
}
/**
 * 指标伸缩行为
 */
export interface AutoScalerBehavior {
    /**
     * 扩容行为配置
     */
    ScaleUp?: AutoScalerRules;
    /**
     * 缩容行为配置
     */
    ScaleDown?: AutoScalerRules;
}
/**
 * 缓存感知路由
 */
export interface AIGWCacheAwareRouteConfig {
    /**
     * <p>前缀缓存感知路由模型服务候选列表</p>
     */
    Candidates?: Array<AIGWCacheAwareRouteCandidate>;
}
/**
 * CreateCloudNativeAPIGatewayPublicNetwork返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayPublicNetworkResponse {
    /**
     * 返回结果
     */
    Result?: CreatePublicNetworkResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyGovernanceServices请求参数结构体
 */
export interface ModifyGovernanceServicesRequest {
    /**
     * tse 实例 id。
     */
    InstanceId: string;
    /**
     * 服务信息。
     */
    GovernanceServices: Array<GovernanceServiceInput>;
}
/**
 * DescribeConfigFileReleases返回参数结构体
 */
export interface DescribeConfigFileReleasesResponse {
    /**
     * 总条数
     */
    TotalCount?: number;
    /**
     * 发布列表
     */
    Releases?: Array<ConfigFileRelease>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayServiceRateLimit返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayServiceRateLimitResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateGovernanceServices请求参数结构体
 */
export interface CreateGovernanceServicesRequest {
    /**
     * tse 实例 id。
     */
    InstanceId: string;
    /**
     * 服务信息。
     */
    GovernanceServices: Array<GovernanceServiceInput>;
}
/**
 * 弹性伸缩配置指标
 */
export interface CloudNativeAPIGatewayStrategyAutoScalerConfigMetric {
    /**
     * 指标类型
  - Resource
     */
    Type?: string;
    /**
     * 指标资源名称
  - cpu
  - memory
     */
    ResourceName?: string;
    /**
     * 指标目标类型，目前只支持百分比Utilization
     */
    TargetType?: string;
    /**
     * 指标目标值
     */
    TargetValue?: number;
}
/**
 * 云原生API网关节点信息。
 */
export interface CloudNativeAPIGatewayNode {
    /**
     * 云原生网关节点 id
     */
    NodeId?: string;
    /**
     * 节点 ip
     */
    NodeIp?: string;
    /**
     * Zone id
     */
    ZoneId?: string;
    /**
     * Zone
     */
    Zone?: string;
    /**
     * 分组ID
     */
    GroupId?: string;
    /**
     * 分组名
     */
    GroupName?: string;
    /**
     * 状态
     */
    Status?: string;
    /**
     * 节点权重
     */
    Weight?: number;
    /**
     * 是否默认权重
     */
    IsDefaultWeight?: boolean;
}
/**
 * ModifyNetworkAccessStrategy返回参数结构体
 */
export interface ModifyNetworkAccessStrategyResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyAutoScalerResourceStrategy请求参数结构体
 */
export interface ModifyAutoScalerResourceStrategyRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 策略ID
     */
    StrategyId: string;
    /**
     * 策略名称
     */
    StrategyName?: string;
    /**
     * 策略描述
     */
    Description?: string;
    /**
     * 指标伸缩配置
     */
    Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
    /**
     * 定时伸缩配置
     * @deprecated
     */
    CronScalerConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
    /**
     * 最大节点数
     * @deprecated
     */
    MaxReplicas?: number;
    /**
     * 指标伸缩配置
     */
    CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
}
/**
 * UnbindAutoScalerResourceStrategyFromGroups请求参数结构体
 */
export interface UnbindAutoScalerResourceStrategyFromGroupsRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 策略ID
     */
    StrategyId: string;
    /**
     * 网关分组ID列表
     */
    GroupIds: Array<string>;
}
/**
 * 公网负载均衡配置
 */
export interface InternetConfig {
    /**
     * 公网地址版本，可选："IPV4" | "IPV6" 。不填默认 IPV4 。
     */
    InternetAddressVersion?: string;
    /**
     * 公网付费类型，当前仅可选："BANDWIDTH"。不填默认为 "BANDWIDTH"
     */
    InternetPayMode?: string;
    /**
     * 公网带宽。
     */
    InternetMaxBandwidthOut?: number;
    /**
     * 负载均衡描述
     */
    Description?: string;
    /**
     * 负载均衡的规格类型，支持clb.c2.medium、clb.c3.small、clb.c3.medium、clb.c4.small、clb.c4.medium、clb.c4.large、clb.c4.xlarge，不传为共享型。
     */
    SlaType?: string;
    /**
     * 负载均衡是否多可用区
     */
    MultiZoneFlag?: boolean;
    /**
     * 主可用区
     */
    MasterZoneId?: string;
    /**
     * 备可用区
     */
    SlaveZoneId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayPublicNetwork请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayPublicNetworkRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 分组id，kong类型时必填
     */
    GroupId?: string;
    /**
     * 公网类型
  - IPV4 （默认值）
  - IPV6
     */
    InternetAddressVersion?: string;
    /**
     * 公网ip，存在多个公网时必填
     */
    Vip?: string;
}
/**
 * 配置发布版本信息
 */
export interface ReleaseVersion {
    /**
     * 配置发布的版本
     */
    Name?: string;
    /**
     * 是否生效
     */
    Active?: boolean;
    /**
     * 配置发布的ID
     */
    Id?: string;
    /**
     * 配置发布的命名空间
     */
    Namespace?: string;
    /**
     * 配置发布的分组
     */
    Group?: string;
    /**
     * 配置发布的文件名
     */
    FileName?: string;
}
/**
 * DeleteEngine返回参数结构体
 */
export interface DeleteEngineResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateConfigFileGroup返回参数结构体
 */
export interface CreateConfigFileGroupResponse {
    /**
     * 是否创建成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateGovernanceAlias请求参数结构体
 */
export interface CreateGovernanceAliasRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 服务别名
     */
    Alias: string;
    /**
     * 服务别名命名空间
     */
    AliasNamespace: string;
    /**
     * 服务别名所指向的服务名
     */
    Service: string;
    /**
     * 服务别名所指向的命名空间
     */
    Namespace: string;
    /**
     * 服务别名描述
     */
    Comment?: string;
}
/**
 * ModifyCloudNativeAPIGatewayService请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayServiceRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务名称
     */
    Name: string;
    /**
     * 请求协议：
  - https
  - http
  - tcp
  - udp
     */
    Protocol: string;
    /**
     * 超时时间，单位ms
     */
    Timeout: number;
    /**
     * 重试次数
     */
    Retries: number;
    /**
     * 服务类型:
  - Kubernetes
  - Registry
  - IPList
  - HostIP
  - Scf
     */
    UpstreamType: string;
    /**
     * 服务配置
     */
    UpstreamInfo: KongUpstreamInfo;
    /**
     * 服务ID
     */
    ID: string;
    /**
     * 请求路径
     */
    Path?: string;
}
/**
 * DescribeAutoScalerResourceStrategyBindingGroups请求参数结构体
 */
export interface DescribeAutoScalerResourceStrategyBindingGroupsRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 策略ID
     */
    StrategyId: string;
    /**
     * 查询偏移量
     */
    Offset?: number;
    /**
     * 查询数量限制
     */
    Limit?: number;
}
/**
 * DescribeWafProtection请求参数结构体
 */
export interface DescribeWafProtectionRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     *  防护资源的类型。
  - Global  实例
  - Service  服务
  - Route  路由
  - Object  对象
     * @deprecated
     */
    Type?: string;
    /**
     * 防护资源类型列表，支持查询多个类型（Global、Service、Route、Object）。为空时，默认查询Global类型。
     */
    TypeList?: Array<string>;
}
/**
 * DescribeAutoScalerResourceStrategies请求参数结构体
 */
export interface DescribeAutoScalerResourceStrategiesRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 策略ID
     */
    StrategyId?: string;
}
/**
 * 参数限流的规则
 */
export interface LimitRule {
    /**
     * 请求匹配条件
     */
    Filters?: Array<RuleFilter>;
    /**
     * 参数限流依据组合
     */
    LimitBy?: Array<KeyValue>;
    /**
     * 限流阈值
     */
    QpsThresholds?: Array<QpsThreshold>;
    /**
     * 精确限流阈值
     */
    AccurateQpsThresholds?: Array<AccurateQpsThreshold>;
}
/**
 * 限流规则的Filter
 */
export interface RuleFilter {
    /**
     * 限流条件的Key
     */
    Key?: string;
    /**
     * 限流条件的Values
     */
    Values?: Array<string>;
    /**
     * 操作符
     */
    Operator?: string;
    /**
     * header或query对应的name
     */
    Name?: string;
}
/**
 * DeleteCloudNativeAPIGatewayCORS请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayCORSRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 跨域插件绑定的资源类型：route|service
     */
    SourceType: string;
    /**
     * 路由或服务的id
     */
    SourceId: string;
}
/**
 * DeleteCloudNativeAPIGatewayConsumer请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayConsumerRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * 消费者ID
     */
    ConsumerId: string;
}
/**
 * DescribeGovernanceInstances请求参数结构体
 */
export interface DescribeGovernanceInstancesRequest {
    /**
     * 实例所在的服务名。
     */
    Service: string;
    /**
     * 实例所在命名空间名。
     */
    Namespace: string;
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 根据实例ip过滤，多个ip使用英文逗号分隔。
     */
    Host?: string;
    /**
     * 根据实例版本过滤。
     */
    InstanceVersion?: string;
    /**
     * 根据实例协议过滤。
     */
    Protocol?: string;
    /**
     * 根据实例健康状态过滤。false：表示不健康，true：表示健康。
     */
    HealthStatus?: boolean;
    /**
     * 根据实例隔离状态过滤。false：表示非隔离，true：表示隔离中。
     */
    Isolate?: boolean;
    /**
     * 根据元数据信息过滤。目前只支持一组元数据键值，若传了多个键值对，只会以第一个过滤。
     */
    Metadatas?: Array<Metadata>;
    /**
     * 偏移量，默认为0。
     */
    Offset?: number;
    /**
     * 返回数量，默认为20，最大值为100。
     */
    Limit?: number;
    /**
     * 地域
     */
    Location?: Location;
}
/**
 * DescribeGovernanceServiceContracts请求参数结构体
 */
export interface DescribeGovernanceServiceContractsRequest {
    /**
     * 北极星引擎实例ID
     */
    InstanceId: string;
    /**
     * 分页偏移量
     */
    Offset?: number;
    /**
     * 分页条数
     */
    Limit?: number;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 服务名
     */
    Service?: string;
    /**
     * 契约名称
     */
    Name?: string;
    /**
     * 契约版本
     */
    ContractVersion?: string;
    /**
     * 契约协议
     */
    Protocol?: string;
    /**
     * 是否只展示基本信息
     */
    Brief?: boolean;
}
/**
 * 实例信息
 */
export interface GovernanceInstanceUpdate {
    /**
     * 实例所在服务名。
     */
    Service: string;
    /**
     * 实例服务所在命名空间。
     */
    Namespace: string;
    /**
     * 实例负载均衡权重信息。不填默认为100。
     */
    Weight?: number;
    /**
     * 实例默认健康信息。不填默认为健康。
     */
    Healthy?: boolean;
    /**
     * 实例隔离信息。不填默认为非隔离。
     */
    Isolate?: boolean;
    /**
     * 实例ip。
     */
    Host?: string;
    /**
     * 实例监听端口。
     */
    Port?: number;
    /**
     * 实例使用协议。不填默认为空。
     */
    Protocol?: string;
    /**
     * 实例版本。不填默认为空。
     */
    InstanceVersion?: string;
    /**
     * 是否启用健康检查。不填默认不启用。
     */
    EnableHealthCheck?: boolean;
    /**
     * 上报心跳时间间隔。若 EnableHealthCheck 为不启用，则此参数不生效；若 EnableHealthCheck 启用，此参数不填，则默认 ttl 为 5s。
     */
    Ttl?: number;
    /**
     * 治理中心服务实例id。
     */
    Id?: string;
    /**
     * 元数据信息。
     */
    Metadatas?: Array<Metadata>;
}
/**
 * 配置文件持久化
 */
export interface ConfigFilePersistent {
    /**
     * 文件编码
     */
    Encoding?: string;
    /**
     * 文件下发路径
     */
    Path?: string;
    /**
     * 文件后置命令
     */
    PostCmd?: string;
}
/**
 * kong后端upstream列表
 */
export interface KongUpstreamList {
    /**
     * 无
     */
    UpstreamList?: Array<KongUpstreamPreview>;
}
/**
 * DescribeConfigFiles请求参数结构体
 */
export interface DescribeConfigFilesRequest {
    /**
     * 命名空间名称
     */
    Namespace: string;
    /**
     * TSE实例id
     */
    InstanceId?: string;
    /**
     * 组名
     */
    Group?: string;
    /**
     * 配置文件名称
     */
    Name?: string;
    /**
     * 标签列表
     */
    Tags?: Array<ConfigFileTag>;
    /**
     * 返回数量，默认为20，最大值为100。
     */
    Limit?: number;
    /**
     * 偏移量，默认为0。
     */
    Offset?: number;
    /**
     * 配置文件ID
     */
    Id?: string;
}
/**
 * DeleteCloudNativeAPIGatewayRoute请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayRouteRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 路由的ID或名字，不支持名称“未命名”
     */
    Name: string;
}
/**
 * DescribeConfigFileReleases请求参数结构体
 */
export interface DescribeConfigFileReleasesRequest {
    /**
     * 实例id
     */
    InstanceId: string;
    /**
     * 条数
     */
    Limit: number;
    /**
     * 偏移量
     */
    Offset: number;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 配置分组
     */
    Group?: string;
    /**
     * 文件名称
     */
    FileName?: string;
    /**
     * 只保护处于使用状态
     */
    OnlyUse?: boolean;
    /**
     * 发布名称
     */
    ReleaseName?: string;
    /**
     * 排序字段，mtime/version/name
  ，默认version
     */
    OrderField?: string;
    /**
     * 排序，asc/desc，默认 desc
     */
    OrderDesc?: string;
    /**
     * 配置发布ID
     */
    Id?: string;
}
/**
 * ModifyCloudNativeAPIGatewayServiceRateLimit返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayServiceRateLimitResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 弹性伸缩策略
 */
export interface CloudNativeAPIGatewayStrategyAutoScalerConfig {
    /**
     * 最大副本数
     */
    MaxReplicas?: number;
    /**
     * 指标列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Metrics?: Array<CloudNativeAPIGatewayStrategyAutoScalerConfigMetric>;
    /**
     * 是否开启指标伸缩
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    Enabled?: boolean;
    /**
     * 创建时间
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    CreateTime?: string;
    /**
     * 修改时间
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    ModifyTime?: string;
    /**
     * 弹性策略ID
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    StrategyId?: string;
    /**
     * 指标配置ID
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    AutoScalerId?: string;
    /**
     * 指标伸缩行为配置
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Behavior?: AutoScalerBehavior;
}
/**
 * 灰度规则中的条件配置
 */
export interface CloudNativeAPIGatewayCanaryRuleCondition {
    /**
     * 条件类型，支持 path, method, query, header, cookie, body 和 system。
     */
    Type: string;
    /**
     * 参数名
     */
    Key?: string;
    /**
     * 操作符，支持 "le", "eq", "lt", "ne", "ge", "gt", "regex", "exists", "in", "not in",  "prefix" ,"exact", "regex" 等
     */
    Operator?: string;
    /**
     * 目标参数值
     */
    Value?: string;
    /**
     * 分隔符，当 Operator 为 in 或者 not in 时生效。支持值为英文逗号，英文分号，空格，换行符。
     */
    Delimiter?: string;
    /**
     * 全局配置 Id
     */
    GlobalConfigId?: string;
    /**
     * 全局配置名称
     */
    GlobalConfigName?: string;
}
/**
 * DescribeGovernanceNamespaces请求参数结构体
 */
export interface DescribeGovernanceNamespacesRequest {
    /**
     * tse实例id
     */
    InstanceId: string;
    /**
     * 根据命名空间名称过滤。
     */
    Name?: string;
    /**
     * 是否开启同步到全局注册中心
     */
    SyncToGlobalRegistry?: string;
    /**
     * 偏移量，默认为0。
     */
    Offset?: number;
    /**
     * 返回数量，默认为20，最大值为100。
     */
    Limit?: number;
}
/**
 * DescribeSREInstances返回参数结构体
 */
export interface DescribeSREInstancesResponse {
    /**
     * 总数量
     */
    TotalCount?: number;
    /**
     * 实例记录
     */
    Content?: Array<SREInstance>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * OAuth2 凭证物料配置
 */
export interface AIGWOAuthCredentialConfig {
    /**
     * <p>OAuth2 client_id</p>
     */
    ClientId: string;
    /**
     * <p>OAuth2 client_secret</p>
     */
    ClientSecret: string;
}
/**
 * DescribeCloudNativeAPIGatewayConsumerGroup返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerGroupResponse {
    /**
     * <p>消费者组详情。</p>
     */
    Result?: CNAPIGwConsumerGroup;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 指标伸缩的规则
 */
export interface AutoScalerRules {
    /**
     * 稳定窗口时间，扩容时默认0，缩容时默认300
     */
    StabilizationWindowSeconds?: number;
    /**
     * 选择策略依据
     */
    SelectPolicy?: string;
    /**
     * 扩缩容策略
     */
    Policies?: Array<AutoScalerPolicy>;
}
/**
 * CreateWafDomains请求参数结构体
 */
export interface CreateWafDomainsRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * WAF 防护域名列表
     */
    Domains: Array<string>;
}
/**
 * CreateCloudNativeAPIGatewayServiceRateLimit请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayServiceRateLimitRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务名称，或服务ID
     */
    Name: string;
    /**
     * 限流配置
     */
    LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
}
/**
 * 模型服务二级路由配置
 */
export interface AIGWLLMModelServiceSubRoute {
    /**
     * <p>生效的路由算法类型：权重路由，模型名称路由、参数路由等Weighted/ModelName/Query (预留多个，暂时只能填写一个)</p>
     */
    SelectedTypes: Array<string>;
    /**
     * <p>权重路由配置，最多10个</p>
     */
    WeightedConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy>;
    /**
     * <p>延迟路由</p>
     */
    LatencyPriorityConfig?: AIGWLatencyPriorityConfig;
    /**
     * <p>指定模型路由（暂时只用在Token长度路由时的子路由选择）</p>
     */
    ModelServiceConfig?: AIGWRouteModelServiceConfig;
}
/**
 * ModifyNativeGatewayServerGroup请求参数结构体
 */
export interface ModifyNativeGatewayServerGroupRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 网关分组 id
     */
    GroupId: string;
    /**
     * 云原生API网关名字, 最多支持60个字符。
     */
    Name?: string;
    /**
     * 云原生API网关描述信息, 最多支持120个字符。
     */
    Description?: string;
}
/**
 * AI 网关 A 层转发脱敏配置（请求转发到 LLM 供应商前对 messages 替换为占位符）
 */
export interface AIGWForwardDesensitizeConfig {
    /**
     * <p>转发脱敏开关</p>
     */
    Enabled: boolean;
    /**
     * <p>预定义规则类型</p><p>枚举值：</p><ul><li>Phone： 电话号码</li><li>IdCard： 身份证号</li><li>BankCard： 银行卡号</li><li>Email： 电子邮箱地址</li><li>IP： IP地址</li><li>Name： 姓名</li></ul>
     */
    PredefinedRuleTypes?: Array<string>;
    /**
     * <p>自定义脱敏规则</p>
     */
    CustomRules?: Array<AIGWCustomDesensitizeRule>;
    /**
     * <p>掩码</p>
     */
    PlaceholderFormat?: string;
    /**
     * <p>脱敏异常处理</p><p>枚举值：</p><ul><li>Reject： 拒绝请求</li><li>Skip： 跳过</li></ul>
     */
    OnFailure?: string;
}
/**
 * ModifyConsoleNetwork返回参数结构体
 */
export interface ModifyConsoleNetworkResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeWafDomains返回参数结构体
 */
export interface DescribeWafDomainsResponse {
    /**
     * 已被 WAF 防护域名
     */
    Result?: DescribeWafDomainsResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeSREInstanceAccessAddress请求参数结构体
 */
export interface DescribeSREInstanceAccessAddressRequest {
    /**
     * 注册引擎实例Id
     */
    InstanceId?: string;
    /**
     * VPC ID
     */
    VpcId?: string;
    /**
     * 子网ID
     */
    SubnetId?: string;
    /**
     * 引擎其他组件名称（pushgateway、polaris-limiter）
     */
    Workload?: string;
    /**
     * 部署地域
     */
    EngineRegion?: string;
}
/**
 * ModifyGovernanceLaneGroups请求参数结构体
 */
export interface ModifyGovernanceLaneGroupsRequest {
    /**
     * 引擎实例ID
     */
    InstanceId: string;
    /**
     * 泳道组规则列表
     */
    LaneGroups: Array<GovernanceLaneGroup>;
}
/**
 * DescribeUpstreamHealthCheckConfig返回参数结构体
 */
export interface DescribeUpstreamHealthCheckConfigResponse {
    /**
     * 健康检查配置
     */
    Result?: UpstreamHealthCheckConfig;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyGovernanceInstances返回参数结构体
 */
export interface ModifyGovernanceInstancesResponse {
    /**
     * 修改是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelServices返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelServicesResponse {
    /**
     * <p>模型服务列表。</p>
     */
    Result?: ListCloudNativeAPIGatewayLLMModelService;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayPublicNetwork返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayPublicNetworkResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateOrUpdateConfigFileAndRelease请求参数结构体
 */
export interface CreateOrUpdateConfigFileAndReleaseRequest {
    /**
     * 实例id
     */
    InstanceId: string;
    /**
     * 配置文件列表详情
     */
    ConfigFilePublishInfo: ConfigFilePublishInfo;
    /**
     * 控制开启校验配置版本是否已经存在
     */
    StrictEnable?: boolean;
}
/**
 * Apollo 环境配置参数
 */
export interface ApolloEnvParam {
    /**
     * 环境名称
     */
    Name: string;
    /**
     * 环境内引擎的节点规格 ID
  -1C2G
  -2C4G
  兼容原spec-xxxxxx形式的规格ID
     */
    EngineResourceSpec: string;
    /**
     * 环境内引擎的节点数量
     */
    EngineNodeNum: number;
    /**
     * 配置存储空间大小，以GB为单位
     */
    StorageCapacity: number;
    /**
     * VPC ID。在 VPC 的子网内分配一个 IP 作为 ConfigServer 的访问地址
     */
    VpcId: string;
    /**
     * 子网 ID。在 VPC 的子网内分配一个 IP 作为 ConfigServer 的访问地址
     */
    SubnetId: string;
    /**
     * 环境描述
     */
    EnvDesc?: string;
}
/**
 * DeleteNativeGatewayServiceSource返回参数结构体
 */
export interface DeleteNativeGatewayServiceSourceResponse {
    /**
     * 结果
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayServiceRateLimit请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayServiceRateLimitRequest {
    /**
     * 网关Id
     */
    GatewayId: string;
    /**
     * 服务名称，或服务ID。
     */
    Name: string;
}
/**
 * 含百分比流量配置的服务
 */
export interface CloudNativeAPIGatewayBalancedService {
    /**
     * 服务 ID，作为入参时，必填
     */
    ServiceID?: string;
    /**
     * 服务名称，作为入参时，无意义
     */
    ServiceName?: string;
    /**
     * Upstream 名称，作为入参时，无意义
     */
    UpstreamName?: string;
    /**
     * 百分比，10 即 10%，范围0-100
     */
    Percent?: number;
}
/**
 * DescribeConfigFileGroups返回参数结构体
 */
export interface DescribeConfigFileGroupsResponse {
    /**
     * 列表总数量
     */
    TotalCount?: number;
    /**
     * 配置文件组列表
     */
    ConfigFileGroups?: Array<ConfigFileGroup>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 定时伸缩策略配置
 */
export interface CloudNativeAPIGatewayStrategyCronScalerConfig {
    /**
     * 是否开启定时伸缩
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    Enabled?: boolean;
    /**
     * 定时伸缩配置参数列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Params?: Array<CloudNativeAPIGatewayStrategyCronScalerConfigParam>;
    /**
     * 创建时间
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    CreateTime?: string;
    /**
     * 修改时间
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    ModifyTime?: string;
    /**
     * 弹性策略ID
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    StrategyId?: string;
}
/**
 * UpdateEngineInternetAccess请求参数结构体
 */
export interface UpdateEngineInternetAccessRequest {
    /**
     * 引擎ID
     */
    InstanceId: string;
    /**
     * 引擎类型
     */
    EngineType: string;
    /**
     * 是否开启客户端公网访问，true开 false关
     */
    EnableClientInternetAccess?: boolean;
}
/**
 * DescribeCloudNativeAPIGatewayConsumerGroupList返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerGroupListResponse {
    /**
     * <p>分组列表</p>
     */
    Result?: CNAPIGwConsumerGroupList;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteNativeGatewayServerGroup返回参数结构体
 */
export interface DeleteNativeGatewayServerGroupResponse {
    /**
     * 删除信息
     */
    Result?: DeleteNativeGatewayServerGroupResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyCloudNativeAPIGatewayCertificate返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayCertificateResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 降级服务元素
 */
export interface AIGWFallbackServiceItem {
    /**
     * <p>模型服务 Id</p>
     */
    ModelServiceId: string;
    /**
     * <p>模型服务名</p>
     */
    ModelServiceName?: string;
}
/**
 * DescribeCloudNativeAPIGatewayIPRestriction请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayIPRestrictionRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 访问控制插件绑定的资源类型：route|service
     */
    SourceType: string;
    /**
     * 路由或服务的id
     */
    SourceId: string;
}
/**
 * DescribeSREInstanceAccessAddress返回参数结构体
 */
export interface DescribeSREInstanceAccessAddressResponse {
    /**
     * 内网访问地址
     */
    IntranetAddress?: string;
    /**
     * 公网访问地址
     */
    InternetAddress?: string;
    /**
     * apollo多环境公网ip
     */
    EnvAddressInfos?: Array<EnvAddressInfo>;
    /**
     * 控制台公网访问地址
     */
    ConsoleInternetAddress?: string;
    /**
     * 控制台内网访问地址
     */
    ConsoleIntranetAddress?: string;
    /**
     * 客户端公网带宽
     */
    InternetBandWidth?: number;
    /**
     * 控制台公网带宽
     */
    ConsoleInternetBandWidth?: number;
    /**
     * 北极星限流server节点接入IP
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LimiterAddressInfos?: Array<PolarisLimiterAddress>;
    /**
     * InternetAddress 的公网 CLB 多可用区信息
     */
    CLBMultiRegion?: CLBMultiRegion;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateConfigFile请求参数结构体
 */
export interface CreateConfigFileRequest {
    /**
     * TSE 实例id
     */
    InstanceId: string;
    /**
     * 配置文件列表详情
     */
    ConfigFile: ConfigFile;
}
/**
 * DescribeCloudNativeAPIGatewayCORS请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCORSRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 跨域插件绑定的资源类型：route|service
     */
    SourceType: string;
    /**
     * 路由或服务的id
     */
    SourceId: string;
}
/**
 * DescribeConfigFiles返回参数结构体
 */
export interface DescribeConfigFilesResponse {
    /**
     * 分页总数量
     */
    TotalCount?: number;
    /**
     * 配置文件列表
     */
    ConfigFiles?: Array<ConfigFile>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayServices返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayServicesResponse {
    /**
     * 无
     */
    Result?: KongServices;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateNativeGatewayServiceSource请求参数结构体
 */
export interface CreateNativeGatewayServiceSourceRequest {
    /**
     * 网关实例ID
     */
    GatewayID: string;
    /**
     * 服务来源类型，参考值：
  - TSE-Nacos
  - TSE-Consul
  - TSE-PolarisMesh
  - Customer-Nacos
  - Customer-Consul
  - Customer-PolarisMesh
  - TSF
  - TKE
  - EKS
  - PrivateDNS
  - Customer-DNS
     */
    SourceType: string;
    /**
     * 服务来源实例ID，当SourceType的值不为PrivateDNS或Customer-DNS时，必填
     */
    SourceID?: string;
    /**
     * 服务来源实例名称，当SourceType的值不为PrivateDNS时，必填
     */
    SourceName?: string;
    /**
     * 服务来源实例额外信息
     */
    SourceInfo?: SourceInfo;
}
/**
 * 路由匹配规则
 */
export interface AIGWKVMatch {
    /**
     * <p>键</p>
     */
    Key: string;
    /**
     * <p>值</p>
     */
    Value: string;
    /**
     * <p>操作类型</p>
     */
    Operator: string;
}
/**
 * CreateGovernanceLaneGroups请求参数结构体
 */
export interface CreateGovernanceLaneGroupsRequest {
    /**
     * 引擎实例ID
     */
    InstanceId: string;
    /**
     * 泳道组规则列表
     */
    LaneGroups: Array<GovernanceLaneGroup>;
}
/**
 * 获取云原生API网关实例策略响应结果。
 */
export interface ListCloudNativeAPIGatewayStrategyResult {
    /**
     * 总数。
     */
    TotalCount: number;
    /**
     * 云原生API网关实例策略列表。
     */
    StrategyList: Array<CloudNativeAPIGatewayStrategy>;
}
/**
 * 权重路由配置
 */
export interface CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy {
    /**
     * <p>模型服务id</p>
     */
    ModelServiceId: string;
    /**
     * <p>权重值</p>
     */
    Weight: number;
}
/**
 * AddCloudNativeAPIGatewayConsumerInGroup返回参数结构体
 */
export interface AddCloudNativeAPIGatewayConsumerInGroupResponse {
    /**
     * <p>是否成功。</p>
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * AI 网关指定模型路由（暂时只用在Token长度路由时的子路由选择）
 */
export interface AIGWRouteModelServiceConfig {
    /**
     * <p>模型服务名字</p>
     */
    ModelServiceName?: string;
}
/**
 * AI网关标签过滤
 */
export interface AIGWTagFilter {
    /**
     * <p>匹配策略</p><p>枚举值：</p><ul><li>AND： 并</li><li>OR： 或</li></ul>
     */
    MatchStrategy?: string;
    /**
     * <p>标签</p>
     */
    Tags?: Array<string>;
}
/**
 * 治理中心服务入参
 */
export interface GovernanceServiceInput {
    /**
     * <p>服务名。</p>
     */
    Name: string;
    /**
     * <p>服务所属命名空间。</p>
     */
    Namespace: string;
    /**
     * <p>服务描述信息。</p>
     */
    Comment?: string;
    /**
     * <p>服务元数据。</p>
     */
    Metadatas?: Array<Metadata>;
    /**
     * <p>服务所属部门。</p>
     */
    Department?: string;
    /**
     * <p>服务所属业务。</p>
     */
    Business?: string;
    /**
     * <p>被添加进来可以操作此命名空间的用户ID列表</p>
     */
    UserIds?: Array<string>;
    /**
     * <p>被添加进来可以操作此命名空间的用户组ID列表</p>
     */
    GroupIds?: Array<string>;
    /**
     * <p>从操作此命名空间的用户组ID列表被移除的ID列表</p>
     */
    RemoveUserIds?: Array<string>;
    /**
     * <p>从可以操作此命名空间的用户组ID列表中被移除的ID列表</p>
     */
    RemoveGroupIds?: Array<string>;
    /**
     * <p>该服务对哪些命名空间可见</p>
     */
    ExportTo?: Array<string>;
    /**
     * <p>是否开启同步到全局注册中心</p>
     */
    SyncToGlobalRegistry?: boolean;
    /**
     * <p>服务类型</p><p>枚举值：</p><ul><li>0： 微服务（默认）</li><li>1： MCP Server</li><li>2： AI Agent</li></ul><p>默认值：0</p>
     */
    Type?: number;
}
/**
 * LLM-模型参数检查信息
 */
export interface CloudNativeAPIGatewayLLMModelParamCheckInfo {
    /**
     * 允许的模型列表。
     */
    AllowModelList?: Array<string>;
    /**
     * 模型参数校验失败时的处理策略，选项：Return404（返回404）、FallBackToDefaultModel（使用默认模型降级）。
     */
    ModelValidationFailureStrategy?: string;
}
/**
 * 配置文件
 */
export interface ConfigFile {
    /**
     * 配置文件id
     */
    Id?: number;
    /**
     * 配置文件名称
     */
    Name?: string;
    /**
     * 配置文件命名空间
     */
    Namespace?: string;
    /**
     * 配置文件组
     */
    Group?: string;
    /**
     * 配置文件内容
     */
    Content?: string;
    /**
     * 配置文件格式
     */
    Format?: string;
    /**
     * 配置文件注释
     */
    Comment?: string;
    /**
     * 配置文件状态
     */
    Status?: string;
    /**
     * 配置文件标签数组
     */
    Tags?: Array<ConfigFileTag>;
    /**
     * 配置文件创建时间
     */
    CreateTime?: string;
    /**
     * 配置文件创建者
     */
    CreateBy?: string;
    /**
     * 配置文件修改时间
     */
    ModifyTime?: string;
    /**
     * 配置文件修改者
     */
    ModifyBy?: string;
    /**
     * 配置文件发布时间
     */
    ReleaseTime?: string;
    /**
     * 配置文件发布者
     */
    ReleaseBy?: string;
    /**
     * 配置文件类型
     */
    ConfigFileSupportedClient?: number;
    /**
     * 配置文件持久化
     */
    ConfigFilePersistent?: ConfigFilePersistent;
    /**
     * 是否开启加密算法
     */
    Encrypted?: boolean;
    /**
     * 加密算法
     */
    EncryptAlgo?: string;
}
/**
 * ModifyNativeGatewayServiceSource请求参数结构体
 */
export interface ModifyNativeGatewayServiceSourceRequest {
    /**
     * 网关实例ID
     */
    GatewayID: string;
    /**
     * 服务来源实例ID
     */
    SourceID: string;
    /**
     * 服务来源名称
     */
    SourceName: string;
    /**
     * 服务来源实例额外信息
     */
    SourceInfo?: SourceInfo;
}
/**
 * 密钥信息
 */
export interface CNAPIGwSecretKey {
    /**
     * <p>密钥id</p>
     */
    SecretKeyId?: string;
    /**
     * <p>密钥名字</p>
     */
    Name?: string;
    /**
     * <p>密钥协议类型。</p>
     */
    SecretType?: string;
    /**
     * <p>状态。</p><p>枚举值：</p><ul><li>Enable： 启用</li><li>Disable： 禁用</li></ul>
     */
    Status?: string;
    /**
     * <p>密钥生成方式。</p><p>枚举值：</p><ul><li>System： 系统自动生成</li><li>Custom： 用户自定义</li><li>KMS： 使用 KMS 密钥</li></ul>
     */
    GenerateType?: string;
    /**
     * <p>密钥明文</p>
     */
    SecretValue?: string;
    /**
     * <p>KMS凭证名字</p>
  注意：此字段可能返回 null，表示取不到有效值。
     */
    KmsKeyName?: string;
    /**
     * <p>KMS凭证版本</p>
  注意：此字段可能返回 null，表示取不到有效值。
     */
    KmsKeyVersion?: string;
    /**
     * <p>描述</p>
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Description?: string;
    /**
     * <p>是否可以绑定</p>
  注意：此字段可能返回 null，表示取不到有效值。
     */
    CanBind?: boolean;
    /**
     * <p>创建时间</p>
     */
    CreateTime?: string;
    /**
     * <p>修改时间</p>
     */
    ModifyTime?: string;
    /**
     * <p>绑定数</p>
     */
    BindCount?: number;
    /**
     * <p>密钥归属资源类型。</p><p>枚举值：</p><ul><li>Consumer： 消费者</li><li>ModelService： 模型服务</li></ul>
     */
    ResourceType?: string;
    /**
     * <p>JWT凭证配置</p>
     */
    JWTCredentialConfig?: AIGWJWTCredentialConfig;
    /**
     * <p>OAuth凭证配置</p>
     */
    OAuthCredentialConfig?: AIGWOAuthCredentialConfig;
    /**
     * <p>OIDC凭证配置</p>
     */
    OIDCCredentialConfig?: AIGWOIDCCredentialConfig;
    /**
     * <p>secret key provider方</p><p>枚举值：</p><ul><li>Dify： Dify</li></ul>
     */
    Provider?: string;
}
/**
 * ModifyCloudNativeAPIGatewayLLMModelAPI返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayLLMModelAPIResponse {
    /**
     * <p>是否成功。</p>
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyCloudNativeAPIGatewayCanaryRule返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayCanaryRuleResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关服务预览信息
 */
export interface KongServicePreview {
    /**
     * 服务ID
     */
    ID: string;
    /**
     * 服务名字
     */
    Name?: string;
    /**
     * 标签
     */
    Tags?: Array<string>;
    /**
     * 后端配置
     */
    UpstreamInfo?: KongUpstreamInfo;
    /**
     * 后端类型
     */
    UpstreamType?: string;
    /**
     * 创建时间
     */
    CreatedTime?: string;
    /**
     * 是否可编辑
     */
    Editable?: boolean;
    /**
     * 请求路径
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Path?: string;
}
/**
 * DescribeAutoScalerResourceStrategyBindingGroups返回参数结构体
 */
export interface DescribeAutoScalerResourceStrategyBindingGroupsResponse {
    /**
     * 云原生API网关实例策略绑定网关分组列表响应结果
     */
    Result?: ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayLLMModelService返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayLLMModelServiceResponse {
    /**
     * <p>是否成功</p>
     */
    Result?: boolean;
    /**
     * <p>模型服务 ID，全局唯一标识。</p>
     */
    ModelServiceId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * RemoveCloudNativeAPIGatewayConsumerInGroup请求参数结构体
 */
export interface RemoveCloudNativeAPIGatewayConsumerInGroupRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * <p>消费者组 ID（以 cg- 开头）。</p>
     */
    ConsumerGroupId: string;
    /**
     * <p>消费者 ID 列表，长度 1-10。</p>
     */
    ConsumerIds: Array<string>;
}
/**
 * 引擎实例的标签信息
 */
export interface InstanceTagInfo {
    /**
     * 标签键
     */
    TagKey?: string;
    /**
     * 标签值
     */
    TagValue?: string;
}
/**
 * UnbindAutoScalerResourceStrategyFromGroups返回参数结构体
 */
export interface UnbindAutoScalerResourceStrategyFromGroupsResponse {
    /**
     * 是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * UpdateUpstreamTargets返回参数结构体
 */
export interface UpdateUpstreamTargetsResponse {
    /**
     * 是否更新成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 服务契约接口定义
 */
export interface GovernanceInterfaceDescription {
    /**
     * 契约接口ID
     */
    ID?: string;
    /**
     * 方法名称
     */
    Method?: string;
    /**
     * 路径/接口名称
     */
    Path?: string;
    /**
     * 内容
     */
    Content?: string;
    /**
     * 创建来源
     */
    Source?: string;
    /**
     * 信息摘要
     */
    Revision?: string;
    /**
     * 创建时间
     */
    CreateTime?: string;
    /**
     * 修改时间
     */
    ModifyTime?: string;
    /**
     * 接口名称
     */
    Name?: string;
}
/**
 * DescribeGovernanceServiceContractVersions请求参数结构体
 */
export interface DescribeGovernanceServiceContractVersionsRequest {
    /**
     * 引擎实例ID
     */
    InstanceId: string;
    /**
     * 命名空间
     */
    Namespace: string;
    /**
     * 服务名
     */
    Service?: string;
}
/**
 * DescribeCloudNativeAPIGatewayCertificates返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCertificatesResponse {
    /**
     * 无
     */
    Result?: KongCertificatesList;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关Upstream信息
 */
export interface KongUpstreamPreview {
    /**
     * 服务ID
     */
    ID: string;
    /**
     * 服务名字
     */
    Name?: string;
    /**
     * 后端配置
     */
    Target?: Array<KongTarget>;
}
/**
 * ModifyCloudNativeAPIGatewaySecretKeyStatus返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewaySecretKeyStatusResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关证书
 */
export interface KongCertificate {
    /**
     * 无
     */
    Cert?: KongCertificatesPreview;
}
/**
 * 服务来源
 */
export interface SourceInfo {
    /**
     * 微服务引擎接入IP地址信息
     */
    Addresses?: Array<string>;
    /**
     * 微服务引擎VPC信息
     */
    VpcInfo?: SourceInstanceVpcInfo;
    /**
     * 微服务引擎鉴权信息
     */
    Auth?: SourceInstanceAuth;
}
/**
 * ModifyCloudNativeAPIGatewaySecretKeyStatus请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewaySecretKeyStatusRequest {
    /**
     * <p>实例 ID</p>
     */
    GatewayId: string;
    /**
     * <p>密钥状态。</p><p>枚举值：</p><ul><li>Enable：启用</li><li>Disable：禁用</li></ul>
     */
    Status: string;
    /**
     * <p>密钥 ID（以 secret- 开头）。</p>
     */
    SecretKeyId: string;
}
/**
 * DeleteGovernanceInstances返回参数结构体
 */
export interface DeleteGovernanceInstancesResponse {
    /**
     * 操作是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 获取WAF保护域名列表
 */
export interface DescribeWafDomainsResult {
    /**
     * WAF防护域名列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Domains?: Array<string>;
}
/**
 * BindAutoScalerResourceStrategyToGroups返回参数结构体
 */
export interface BindAutoScalerResourceStrategyToGroupsResponse {
    /**
     * 是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyConfigFiles请求参数结构体
 */
export interface ModifyConfigFilesRequest {
    /**
     * ins-df344df5
     */
    InstanceId: string;
    /**
     * 配置文件列表
     */
    ConfigFile: ConfigFile;
}
/**
 * ModifyGovernanceAlias请求参数结构体
 */
export interface ModifyGovernanceAliasRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 服务别名
     */
    Alias: string;
    /**
     * 服务别名命名空间
     */
    AliasNamespace: string;
    /**
     * 服务别名所指向的服务名
     */
    Service: string;
    /**
     * 服务别名所指向的命名空间
     */
    Namespace: string;
    /**
     * 服务别名描述
     */
    Comment?: string;
}
/**
 * ModifyNetworkAccessStrategy请求参数结构体
 */
export interface ModifyNetworkAccessStrategyRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 分组id
     */
    GroupId: string;
    /**
     * 网络类型：
  - Open 公网
  - Internal 内网	（暂不支持）
     */
    NetworkType: string;
    /**
     * ip地址
     */
    Vip: string;
    /**
     * 访问控制策略
     */
    AccessControl: NetworkAccessControl;
}
/**
 * CreateCloudNativeAPIGatewayRouteRateLimit请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayRouteRateLimitRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 路由id，或路由名称。
  不支持“未命名”
     */
    Id: string;
    /**
     * 限流配置
     */
    LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
}
/**
 * 多环境网络信息
 */
export interface EnvAddressInfo {
    /**
     * 环境名
     */
    EnvName?: string;
    /**
     * 是否开启config公网
     */
    EnableConfigInternet?: boolean;
    /**
     * config公网ip
     */
    ConfigInternetServiceIp?: string;
    /**
     * config内网访问地址
     */
    ConfigIntranetAddress?: string;
    /**
     * 是否开启config内网clb
     */
    EnableConfigIntranet?: boolean;
    /**
     * 客户端公网带宽
     */
    InternetBandWidth?: number;
    /**
     * 客户端公网CLB多可用区信息
     */
    CLBMultiRegion?: CLBMultiRegion;
}
/**
 * ModifyCloudNativeAPIGatewayRoute返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayRouteResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayConsumer返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerResponse {
    /**
     * <p>消费者详情</p>
     */
    Result?: CNAPIGwConsumer;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关证书预览信息
 */
export interface KongCertificatesPreview {
    /**
     * 证书名称
     */
    Name?: string;
    /**
     * Id
     */
    Id?: string;
    /**
     * 绑定的域名
     */
    BindDomains?: Array<string>;
    /**
     * 证书状态：expired(已过期)
                     active(生效中)
     */
    Status?: string;
    /**
     * 证书pem格式
     */
    Crt?: string;
    /**
     * 证书私钥
     */
    Key?: string;
    /**
     * 证书过期时间
     */
    ExpireTime?: string;
    /**
     * 证书上传时间
     */
    CreateTime?: string;
    /**
     * 证书签发时间
     */
    IssueTime?: string;
    /**
     * 证书来源：native(kong自定义证书)
                      ssl(ssl平台证书)
     */
    CertSource?: string;
    /**
     * ssl平台证书Id
     */
    CertId?: string;
}
/**
 * 默认kong路由，目前只在 LLM 模型 API相 关接口使用
 */
export interface DefaultKongRoute {
    /**
     * <p>服务名字</p>
     */
    Name: string;
    /**
     * <p>服务ID</p>
     */
    ID?: string;
    /**
     * <p>HTTP Method</p>
     */
    Methods?: Array<string>;
    /**
     * <p>Http Path</p>
     */
    Paths?: Array<string>;
}
/**
 * 配置文件发布
 */
export interface ConfigFileRelease {
    /**
     * <p>配置文件发布id</p>
     */
    Id?: number;
    /**
     * <p>配置文件发布名称</p>
     */
    Name?: string;
    /**
     * <p>配置文件发布命名空间</p>
     */
    Namespace?: string;
    /**
     * <p>配置文件发布组</p>
     */
    Group?: string;
    /**
     * <p>配置文件发布文件名称</p>
     */
    FileName?: string;
    /**
     * <p>配置文件发布内容</p>
     */
    Content?: string;
    /**
     * <p>配置文件发布注释</p>
     */
    Comment?: string;
    /**
     * <p>配置文件发布Md5</p>
     */
    Md5?: string;
    /**
     * <p>配置文件发布版本</p>
     */
    Version?: number;
    /**
     * <p>配置文件发布创建时间</p>
     */
    CreateTime?: string;
    /**
     * <p>配置文件发布创建者</p>
     */
    CreateBy?: string;
    /**
     * <p>配置文件发布修改时间</p>
     */
    ModifyTime?: string;
    /**
     * <p>配置文件发布修改者</p>
     */
    ModifyBy?: string;
    /**
     * <p>发布描述</p>
     */
    ReleaseDescription?: string;
    /**
     * <p>是否生效</p>
     */
    Active?: boolean;
    /**
     * <p>格式</p>
     */
    Format?: string;
    /**
     * <p>配置文件ID</p>
     */
    ConfigFileId?: string;
    /**
     * <p>配置文件类型</p>
     */
    ConfigFileSupportedClient?: number;
    /**
     * <p>配置文件持久化</p>
     */
    ConfigFilePersistent?: ConfigFilePersistent;
    /**
     * <p>灰度标签</p>
     */
    BetaLabels?: Array<BetaLabel>;
    /**
     * <p>发布类型</p><p>枚举值：</p><ul><li>gary： 灰度发布</li></ul>
     */
    ReleaseType?: string;
}
/**
 * 云原生网关路由信息
 */
export interface KongRoutePreview {
    /**
     * 服务ID
     */
    ID: string;
    /**
     * 服务名字
     */
    Name?: string;
    /**
     * 无
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Methods?: Array<string>;
    /**
     * 无
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Paths?: Array<string>;
    /**
     * 无
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Hosts?: Array<string>;
    /**
     * 无
     */
    Protocols?: Array<string>;
    /**
     * 无
     */
    PreserveHost?: boolean;
    /**
     * 无
     */
    HttpsRedirectStatusCode?: number;
    /**
     * 无
     */
    StripPath?: boolean;
    /**
     * 无
     */
    CreatedTime?: string;
    /**
     * 是否开启了强制HTTPS
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    ForceHttps?: boolean;
    /**
     * 服务名
     */
    ServiceName?: string;
    /**
     * 服务ID
     */
    ServiceID?: string;
    /**
     * 目的端口
     */
    DestinationPorts?: Array<number | bigint>;
    /**
     * 路由的Headers
     */
    Headers?: Array<KVMapping>;
    /**
     * 是否缓存请求body，默认true
     */
    RequestBuffering?: boolean;
    /**
     * 是否缓存响应body，默认true
     */
    ResponseBuffering?: boolean;
    /**
     * 正则优先级
     */
    RegexPriority?: number;
    /**
     * querystring参数
     */
    QueryStringParameters?: Array<KVMapping>;
}
/**
 * 实例地域信息描述
 */
export interface DescribeInstanceRegionInfo {
    /**
     * 引擎部署地域信息
     */
    EngineRegion?: string;
    /**
     * 引擎在该地域的副本数
     */
    Replica?: number;
    /**
     * 引擎在该地域的规格id
     */
    SpecId?: string;
    /**
     * 客户端内网的网络信息
     */
    IntranetVpcInfos?: Array<VpcInfo>;
    /**
     * 控制台内网的网络信息
     */
    ConsoleIntranetVpcInfos?: Array<VpcInfo>;
    /**
     * 是否开公网
     */
    EnableClientInternet?: boolean;
    /**
     * 限流客户端内网的网络信息
     */
    LimiterIntranetVpcInfos?: Array<VpcInfo>;
    /**
     * 是否为主地域，仅在服务治理中心多地域有效
     */
    MainRegion?: boolean;
    /**
     * 该地域所在的EKS集群
     */
    EKSClusterID?: string;
}
/**
 * 服务契约定义
 */
export interface GovernanceServiceContract {
    /**
     * 契约名称
     */
    Name: string;
    /**
     * 所属服务命名空间
     */
    Namespace: string;
    /**
     * 协议
     */
    Protocol: string;
    /**
     * 契约ID
     */
    ID?: string;
    /**
     * 所属服务名称
     */
    Service?: string;
    /**
     * 版本
     */
    Version?: string;
    /**
     * 信息摘要
     */
    Revision?: string;
    /**
     * 额外内容描述
     */
    Content?: string;
    /**
     * 创建时间
     */
    CreateTime?: string;
    /**
     * 修改时间
     */
    ModifyTime?: string;
    /**
     * 契约接口列表
     */
    Interfaces?: Array<GovernanceInterfaceDescription>;
    /**
     * 元数据
     */
    Metadatas?: Array<Metadata>;
}
/**
 * CreateGovernanceInstances请求参数结构体
 */
export interface CreateGovernanceInstancesRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 服务实例信息。
     */
    GovernanceInstances: Array<GovernanceInstanceInput>;
}
/**
 * BindAutoScalerResourceStrategyToGroups请求参数结构体
 */
export interface BindAutoScalerResourceStrategyToGroupsRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 策略ID
     */
    StrategyId: string;
    /**
     * 网关分组ID列表
     */
    GroupIds: Array<string>;
}
/**
 * DescribeConfigFilesByGroup返回参数结构体
 */
export interface DescribeConfigFilesByGroupResponse {
    /**
     * 记录总数量
     */
    TotalCount?: number;
    /**
     * 配置文件列表
     */
    ConfigFiles?: Array<ConfigFile>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayServiceRateLimit返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayServiceRateLimitResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyAutoScalerResourceStrategy返回参数结构体
 */
export interface ModifyAutoScalerResourceStrategyResponse {
    /**
     * 是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayCertificate返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayCertificateResponse {
    /**
     * 创建证书结果
     */
    Result?: CertificateInfo;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 存储的额外选项
 */
export interface StorageOption {
    /**
     * 存储对象，分为snap和txn两种
     */
    Name?: string;
    /**
     * 存储类型，分为三类CLOUD_PREMIUM/CLOUD_SSD/CLOUD_SSD_PLUS，分别对应高性能云硬盘、SSD云硬盘、增强型SSD云硬盘
     */
    Type?: string;
    /**
     * 存储容量，[50, 3200]的范围
     */
    Capacity?: number;
}
/**
 * DescribeCloudNativeAPIGatewayRouteRateLimit请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayRouteRateLimitRequest {
    /**
     * 网关Id
     */
    GatewayId: string;
    /**
     * 路由Id，或路由名称。
  不支持“未命名”
     */
    Id: string;
}
/**
 * UpdateUpstreamHealthCheckConfig请求参数结构体
 */
export interface UpdateUpstreamHealthCheckConfigRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 网关服务名称
     */
    Name: string;
    /**
     * 健康检查配置
     */
    HealthCheckConfig: UpstreamHealthCheckConfig;
}
/**
 * DescribeConfigFile返回参数结构体
 */
export interface DescribeConfigFileResponse {
    /**
     * 配置文件
     */
    ConfigFile?: ConfigFile;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * Nacos副本信息
 */
export interface NacosReplica {
    /**
     * 名称
     */
    Name?: string;
    /**
     * 角色
     */
    Role?: string;
    /**
     * 状态
     */
    Status?: string;
    /**
     * 子网ID
     */
    SubnetId?: string;
    /**
     * 可用区ID
     */
    Zone?: string;
    /**
     * 可用区ID
     */
    ZoneId?: string;
    /**
     * VPC ID
     */
    VpcId?: string;
}
/**
 * 云原生网关限流插件参数限流的精确Qps阈值
 */
export interface AccurateQpsThreshold {
    /**
     * qps阈值控制维度,包含:second、minute、hour、day、month、year
     */
    Unit: string;
    /**
     * 全局配置ID
     */
    GlobalConfigId: string;
}
/**
 * CreateCloudNativeAPIGatewaySecretKey请求参数结构体
 */
export interface CreateCloudNativeAPIGatewaySecretKeyRequest {
    /**
     * <p>实例 ID</p>
     */
    GatewayId: string;
    /**
     * <p>密钥协议类型。</p><p>枚举值：</p><ul><li>ApiKey</li><li>Basic</li><li>Hmac</li><li>OAuth2</li><li>JWT</li></ul>
     */
    SecretType: string;
    /**
     * <p>密钥名称，2-60 字符。</p>
     */
    Name: string;
    /**
     * <p>密钥生成方式。</p><p>枚举值：</p><ul><li>System：系统自动生成</li><li>Custom：用户自定义（需传 SecretValue）</li><li>KMS：使用 KMS 密钥（需传 KmsKeyName 与 KmsKeyVersion）</li></ul>
     */
    GenerateType: string;
    /**
     * <p>密钥归属资源类型。</p><p>枚举值：</p><ul><li>Consumer：消费者</li><li>ModelService：模型服务</li></ul>
     */
    ResourceType: string;
    /**
     * <p>KMS 密钥名称。GenerateType=KMS 时必填。</p>
     */
    KmsKeyName?: string;
    /**
     * <p>KMS 密钥版本。GenerateType=KMS 时必填。</p>
     */
    KmsKeyVersion?: string;
    /**
     * <p>密钥值，长度 8-256。GenerateType=Custom 时必填。</p>
     */
    SecretValue?: string;
    /**
     * <p>密钥描述。最长 200 字符。</p>
     */
    Description?: string;
    /**
     * <p>JWT凭证配置</p>
     */
    JWTCredentialConfig?: AIGWJWTCredentialConfig;
    /**
     * <p>OAuth2.0凭证配置</p>
     */
    OAuthCredentialConfig?: AIGWOAuthCredentialConfig;
    /**
     * <p>OIDC凭证配置</p>
     */
    OIDCCredentialConfig?: AIGWOIDCCredentialConfig;
    /**
     * <p>第三方平台类型</p><p>枚举值：</p><ul><li>Dify： Dify平台</li></ul>
     */
    Provider?: string;
}
/**
 * Zookeeper的地域信息的 myid 信息记录
 */
export interface ZookeeperRegionMyIdInfo {
    /**
     * 地域信息
     */
    Region?: string;
    /**
     * myid 的起始号段
     */
    MyIdStart?: number;
    /**
     * myid 的结束号段
     */
    MyIdEnd?: number;
}
/**
 * DeleteCloudNativeAPIGatewayCORS返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayCORSResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 轻量查询网关服务列表出参
 */
export interface GatewayServices {
    /**
     * 服务列表
     */
    ServiceList?: Array<KongServiceLightPreview>;
    /**
     * 结果总数
     */
    TotalCount?: number;
}
/**
 * UpdateCloudNativeAPIGatewaySpec返回参数结构体
 */
export interface UpdateCloudNativeAPIGatewaySpecResponse {
    /**
     * 更新云原生API网关实例规格的响应结果。
     */
    Result?: UpdateCloudNativeAPIGatewayResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 获取云原生API网关实例协议端口列表响应结果
 */
export interface DescribeGatewayInstancePortResult {
    /**
     * 云原生API网关ID
     */
    GatewayId?: string;
    /**
     * 网关实例协议端口列表
     */
    GatewayInstancePortList?: Array<GatewayInstanceSchemeAndPorts>;
}
/**
 * 云原生网关服务简洁预览信息
 */
export interface KongServiceLightPreview {
    /**
     * 服务ID
     */
    ID?: string;
    /**
     * 服务名字
     */
    Name?: string;
    /**
     * 后端配置
     */
    UpstreamInfo?: KongUpstreamInfo;
    /**
     * 后端类型
     */
    UpstreamType?: string;
    /**
     * 创建时间
     */
    CreatedTime?: string;
    /**
     * 请求路径
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Path?: string;
    /**
     * 后端协议
     */
    Protocol?: string;
    /**
     * 重试次数
     */
    Retries?: number;
    /**
     * 后端延时，单位ms
     */
    Timeout?: number;
}
/**
 * DescribeNativeGatewayServerGroups请求参数结构体
 */
export interface DescribeNativeGatewayServerGroupsRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 偏移量，默认为 0。
     */
    Offset?: number;
    /**
     * 返回数量，默认为 20。
     */
    Limit?: number;
    /**
     * 过滤参数，支持按照分组名称、分组ID（Name、GroupId）筛选
     */
    Filters?: Array<Filter>;
}
/**
 * 云原生API网关配置信息。
 */
export interface CloudNativeAPIGatewayConfig {
    /**
     * 控制台类型。
     */
    ConsoleType?: string;
    /**
     * HTTP链接地址。
     */
    HttpUrl?: string;
    /**
     * HTTPS链接地址。
     */
    HttpsUrl?: string;
    /**
     * 网络类型, Open|Internal。
     */
    NetType?: string;
    /**
     * 管理员用户名。
     */
    AdminUser?: string;
    /**
     * 管理员密码。
     */
    AdminPassword?: string;
    /**
     * 网络状态, Open|Closed|Updating
     */
    Status?: string;
    /**
     * 网络访问策略
  注意：此字段可能返回 null，表示取不到有效值。
     */
    AccessControl?: NetworkAccessControl;
    /**
     * 内网子网 ID
     */
    SubnetId?: string;
    /**
     * 内网VPC ID
     */
    VpcId?: string;
    /**
     * 负载均衡的描述
     */
    Description?: string;
    /**
     * 负载均衡的规格类型
     */
    SlaType?: string;
    /**
     * clb规格名称
     */
    SlaName?: string;
    /**
     * clb vip
     */
    Vip?: string;
    /**
     * 带宽
     */
    InternetMaxBandwidthOut?: number;
    /**
     * 是否多可用区
     */
    MultiZoneFlag?: boolean;
    /**
     * 主可用区
     */
    MasterZoneId?: string;
    /**
     * 备可用区
     */
    SlaveZoneId?: string;
    /**
     * 主可用区名称
     */
    MasterZoneName?: string;
    /**
     * 备可用区名称
     */
    SlaveZoneName?: string;
    /**
     * 网络 id
     */
    NetworkId?: string;
    /**
     * 是否为新 ipv6 CLB
     */
    IPV6FullChain?: boolean;
    /**
     * 负载均衡个性化配置内容
     */
    CustomizedConfigContent?: string;
}
/**
 * DescribePublicNetwork请求参数结构体
 */
export interface DescribePublicNetworkRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 网关分组ID
     */
    GroupId: string;
    /**
     * 网络ID
     */
    NetworkId: string;
}
/**
 * DescribeGovernanceNamespaces返回参数结构体
 */
export interface DescribeGovernanceNamespacesResponse {
    /**
     * 列表总数量。
     */
    TotalCount?: number;
    /**
     * 治理中心命名空间实例列表。
     */
    Content?: Array<GovernanceNamespace>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeConfigFilesByGroup请求参数结构体
 */
export interface DescribeConfigFilesByGroupRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
    /**
     * 命名空间名
     */
    Namespace: string;
    /**
     * 组名
     */
    Group: string;
    /**
     * 返回数量，默认为20，最大值为100。
     */
    Limit?: number;
    /**
     * 偏移量，默认为0。
     */
    Offset?: number;
}
/**
 * DeleteGovernanceInstancesByHost返回参数结构体
 */
export interface DeleteGovernanceInstancesByHostResponse {
    /**
     * 操作是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 查询Limiter的接入地址
 */
export interface PolarisLimiterAddress {
    /**
     * VPC接入IP列表
     */
    IntranetAddress?: string;
}
/**
 * 引擎的初始管理账号，当前仅支持Apollo引擎
 */
export interface EngineAdmin {
    /**
     * 控制台初始用户名
     */
    Name?: string;
    /**
     * 控制台初始密码
     */
    Password?: string;
    /**
     * 引擎接口的管理员 Token
     */
    Token?: string;
}
/**
 * DescribeGovernanceAliases返回参数结构体
 */
export interface DescribeGovernanceAliasesResponse {
    /**
     * 服务别名总数量。
     */
    TotalCount?: number;
    /**
     * 服务别名列表。
     */
    Content?: Array<GovernanceAlias>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 服务的 WAF 状态
 */
export interface ServiceWafStatus {
    /**
     *  服务的名字
     */
    Name?: string;
    /**
     * 服务的 ID
     */
    Id?: string;
    /**
     * 服务的类型
     */
    Type?: string;
    /**
     *  服务是否开启 WAF 防护
     */
    Status?: string;
}
/**
 * DeleteCloudNativeAPIGateway返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayResponse {
    /**
     * 删除云原生API网关实例响应结果。
     */
    Result: DeleteCloudNativeAPIGatewayResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayCertificate请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayCertificateRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 绑定的域名
     */
    BindDomains: Array<string>;
    /**
     * ssl平台证书 Id
     */
    CertId: string;
    /**
     * 证书名称
     */
    Name?: string;
    /**
     * 证书私钥
     * @deprecated
     */
    Key?: string;
    /**
     * 证书pem格式
     * @deprecated
     */
    Crt?: string;
}
/**
 * ModifyCloudNativeAPIGateway返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayPublicNetwork请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayPublicNetworkRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 分组id。
     */
    GroupId?: string;
    /**
     * 公网负载均衡配置。
     */
    InternetConfig?: InternetConfig;
}
/**
 * 更新云原生API网关响应结果。
 */
export interface UpdateCloudNativeAPIGatewayResult {
    /**
     * 云原生API网关ID。
     */
    GatewayId?: string;
    /**
     * 云原生网关状态。
     */
    Status?: string;
    /**
     * 任务ID
     */
    TaskId?: string;
}
/**
 * 普通服务选择器
 */
export interface ServiceSelector {
    /**
     * 命名空间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Namespace: string;
    /**
     * 服务
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Service: string;
    /**
     * 实例标签
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Labels?: Array<Label>;
}
/**
 * 泳道流量灰度规则
 */
export interface TrafficGray {
    /**
     * 流量灰度规则，按比例灰度或预热方式
     */
    Mode?: string;
    /**
     * 按比例灰度的百分比值1-100
     */
    Percent?: number;
    /**
     * 预热的间隔
     */
    IntervalSecond?: number;
    /**
     * 预热的曲度
     */
    Curvature?: number;
}
/**
 * 路由 WAF 状态
 */
export interface RouteWafStatus {
    /**
     * 路由的名字
     */
    Name?: string;
    /**
     * 路由的 ID
     */
    Id?: string;
    /**
     *  路由是否开启 WAF 防护
     */
    Status?: string;
    /**
     * 方法
     */
    Methods?: Array<string>;
    /**
     * 路径
     */
    Paths?: Array<string>;
    /**
     * 域名
     */
    Hosts?: Array<string>;
    /**
     * 路由对应服务的名字
     */
    ServiceName?: string;
    /**
     * 路由对应服务的ID
     */
    ServiceId?: string;
}
/**
 * ModifyGovernanceNamespaces请求参数结构体
 */
export interface ModifyGovernanceNamespacesRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 命名空间信息。
     */
    GovernanceNamespaces: Array<GovernanceNamespaceInput>;
}
/**
 * 微服务引擎实例的VPC信息
 */
export interface SourceInstanceVpcInfo {
    /**
     * 微服务引擎VPC信息
     */
    VpcID?: string;
    /**
     * 微服务引擎子网信息
     */
    SubnetID?: string;
}
/**
 * ModifyConfigFileGroup返回参数结构体
 */
export interface ModifyConfigFileGroupResponse {
    /**
     * 修改是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 被调服务配置表达式
 */
export interface ArgumentValue {
    /**
     * 表达式类型
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Type: string;
    /**
     * 匹配值
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Value: string;
    /**
     * 值类型
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ValueType: string;
}
/**
 * 命中匹配方式与值
 */
export interface BetaLabelMatchString {
    /**
     * <p>类型</p><p>枚举值：</p><ul><li>EXAT： 精确匹配</li></ul>
     */
    Type?: string;
    /**
     * <p>值</p>
     */
    Value?: string;
    /**
     * <p>值类型</p><p>枚举值：</p><ul><li>TEXT： 文本</li></ul>
     */
    ValueType?: string;
}
/**
 * 云原生网关限流插件自定义响应
 */
export interface RateLimitResponse {
    /**
     * 自定义响应体
     */
    Body?: string;
    /**
     * Headers
     */
    Headers?: Array<KVMapping>;
    /**
     * http状态码
     */
    HttpStatus?: number;
}
/**
 * RollbackConfigFileReleases请求参数结构体
 */
export interface RollbackConfigFileReleasesRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
    /**
     * 回滚发布
     */
    RollbackConfigFileReleases: Array<ConfigFileRelease>;
}
/**
 * DescribeCloudNativeAPIGatewayInfoByIp返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayInfoByIpResponse {
    /**
     * 出参
     */
    Result?: DescribeInstanceInfoByIpResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 灰度规则
 */
export interface CloudNativeAPIGatewayCanaryRule {
    /**
     * 优先级，值范围为 0 到 100；值越大，优先级越高；不同规则间优先级不可重复
     */
    Priority: number;
    /**
     * 是否启用规则
     */
    Enabled: boolean;
    /**
     * 参数匹配条件
     */
    ConditionList?: Array<CloudNativeAPIGatewayCanaryRuleCondition>;
    /**
     * 服务的流量百分比配置
  注意：此字段可能返回 null，表示取不到有效值。
     */
    BalancedServiceList?: Array<CloudNativeAPIGatewayBalancedService>;
    /**
     * 归属服务 ID
     */
    ServiceId?: string;
    /**
     * 归属服务名称
     */
    ServiceName?: string;
    /**
     * 灰度规则类别
  Standard｜Lane
     */
    RuleType?: string;
    /**
     * 全链路灰度策略多个条件之间的匹配方式，与AND，或OR
     */
    MatchType?: string;
    /**
     * 泳道组ID
     */
    GroupId?: string;
    /**
     * 泳道组名称
     */
    GroupName?: string;
    /**
     * 泳道ID
     */
    LaneId?: string;
    /**
     * 泳道名称
     */
    LaneName?: string;
    /**
     * 泳道匹配规则：严格STRICT｜宽松PERMISSIVE
     */
    MatchMode?: string;
    /**
     * 泳道标签
     */
    LaneTag?: string;
}
/**
 * AI 网关Token长度路由规则
 */
export interface AIGWTokenLengthRouteRule {
    /**
     * <p>token 长度下界，闭区间；0 合法</p>
     */
    MinTokenLength: number;
    /**
     * <p>token 长度上界，闭区间</p>
     */
    MaxTokenLength: number;
    /**
     * <p>命中该分段后执行的二级路由</p>
     */
    Target: AIGWLLMModelServiceSubRoute;
}
/**
 * LLM 模型服务
 */
export interface CloudNativeAPIGatewayLLMModelService {
    /**
     * <p>模型服务 ID。</p>
     */
    Id?: string;
    /**
     * <p>模型服务名称。</p>
     */
    Name?: string;
    /**
     * <p>创建时间。</p>
     */
    CreateTime?: string;
    /**
     * <p>修改时间。</p>
     */
    ModifyTime?: string;
    /**
     * <p>服务类型，目前只支持xa0LLMService。</p>
     */
    ServiceType?: string;
    /**
     * <p>选择模型提供商, 选项：OpenAI、Anthropic、Azure OpenAI、自定义HTTP。</p>
     */
    ModelProvider?: string;
    /**
     * <p>API协议标准，根据供应商动态变化：OpenAI→OpenAI/v1，Anthropic→Anthropic/v1等</p>
     */
    ModelProtocol?: string;
    /**
     * <p>自定义的模型请求 URL。</p>
     */
    UpstreamURL?: string;
    /**
     * <p>模型选择方式，选项：Specify（指定模型）、PassThrough（透传请求模型）。</p>
     */
    ModelSelector?: string;
    /**
     * <p>默认模型，模型选择方式为 Specify 时必填。</p>
     */
    DefaultModel?: string;
    /**
     * <p>开启模型降级，模型选择方式为 Specify 时必填。</p>
     */
    EnableModelFallback?: boolean;
    /**
     * <p>可以配置备用模型规则，EnableSpecifyModelFallbackxa0为 true 时必填。</p>
     */
    ModelFallbackRule?: CloudNativeAPIGatewayLLMModelFallbackRule;
    /**
     * <p>开启模型参数校验，是否校验客户端传递的 model 参数,xa0模型选择方式为 PassThrough 时必填。</p>
     */
    EnableModelParamCheck?: boolean;
    /**
     * <p>模型检验信息，EnableModelParamCheckxa0为 true 时必填。</p>
     */
    ModelParamCheckRule?: CloudNativeAPIGatewayLLMModelParamCheckInfo;
    /**
     * <p>描述。</p>
     */
    Description?: string;
    /**
     * <p>连接超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：10000</p>
     */
    ConnectTimeout?: number;
    /**
     * <p>写入超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：60000</p>
     */
    WriteTimeout?: number;
    /**
     * <p>读取超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p>
     */
    ReadTimeout?: number;
    /**
     * <p>重试次数</p><p>取值范围：[0, 5]</p><p>单位：次</p><p>默认值：0</p>
     */
    Retries?: number;
    /**
     * <p>路径拼接模式</p><p>枚举值：</p><ul><li>FixedPath： 固定路径</li><li>AutoConcat： 自动拼接</li></ul>
     */
    UpstreamUrlMode?: string;
    /**
     * <p>sni</p>
     */
    SNI?: string;
    /**
     * <p>配额限制</p>
     */
    QuotaLimit?: AIGWLLMQuotaLimit;
    /**
     * <p>标签</p>
     */
    Tags?: string;
    /**
     * <p>绑定的模型服务秘钥</p>
     */
    SecretKeyIds?: Array<string>;
    /**
     * <p>模型改写规则</p>
     */
    ModelRewriteRules?: Array<AIGWModelRewriteRule>;
    /**
     * <p>服务来源ID</p>
     */
    SourceId?: string;
    /**
     * <p>命名空间</p>
     */
    Namespace?: string;
    /**
     * <p>服务名称</p>
     */
    ServiceName?: string;
    /**
     * <p>协议</p>
     */
    Protocol?: string;
    /**
     * <p>扩展参数</p>
     */
    ExtParams?: Array<KeyValue>;
    /**
     * <p>自定义供应商名称</p>
     */
    CustomProviderName?: string;
    /**
     * <p>是否开启密钥轮转</p>
     */
    KeyRotationEnabled?: boolean;
    /**
     * <p>密钥轮转周期</p><p>单位：天数</p>
     */
    KeyRotationPeriodDays?: number;
    /**
     * <p>外部服务来源ID</p>
     */
    ExternalInstanceId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayServicesLight请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayServicesLightRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 列表数量
     */
    Limit?: number;
    /**
     * 列表 offset
     */
    Offset?: number;
    /**
     * 过滤条件，多个过滤条件之间是与的关系，支持 id、name、upstreamType
     */
    Filters?: Array<ListFilter>;
}
/**
 * PublishConfigFiles返回参数结构体
 */
export interface PublishConfigFilesResponse {
    /**
     * 配置文件发布是否成功
     */
    Result?: boolean;
    /**
     * 配置文件发布Id
     */
    ConfigFileReleaseId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * UpdateCloudNativeAPIGatewayCertificateInfo请求参数结构体
 */
export interface UpdateCloudNativeAPIGatewayCertificateInfoRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 证书id
     */
    Id: string;
    /**
     * 绑定的域名列表
     */
    BindDomains: Array<string>;
    /**
     * 证书名称
     */
    Name?: string;
}
/**
 * 服务治理引擎绑定的kubernetes信息
 */
export interface BoundK8SInfo {
    /**
     * 绑定的kubernetes集群ID
     */
    BoundClusterId: string;
    /**
     * 绑定的kubernetes的集群类型，分tke和eks两种
     */
    BoundClusterType: string;
    /**
     * 服务同步模式，all为全量同步，demand为按需同步
     */
    SyncMode?: string;
    /**
     * 绑定的kubernetes集群所在地域
     */
    BindRegion?: string;
}
/**
 * DescribeCloudNativeAPIGatewayCertificateDetails请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCertificateDetailsRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 证书Id
     */
    Id: string;
}
/**
 * 配置文件标签
 */
export interface ConfigFileTag {
    /**
     * key-value 键
     */
    Key?: string;
    /**
     * key-value 值
     */
    Value?: string;
}
/**
 * 实例信息
 */
export interface GovernanceInstanceInput {
    /**
     * 实例所在服务名。
     */
    Service: string;
    /**
     * 实例服务所在命名空间。
     */
    Namespace: string;
    /**
     * 实例负载均衡权重信息。不填默认为100。
     */
    Weight?: number;
    /**
     * 实例默认健康信息。不填默认为健康。
     */
    Healthy?: boolean;
    /**
     * 实例隔离信息。不填默认为非隔离。
     */
    Isolate?: boolean;
    /**
     * 实例ip。
     */
    Host?: string;
    /**
     * 实例监听端口。
     */
    Port?: number;
    /**
     * 实例使用协议。不填默认为空。
     */
    Protocol?: string;
    /**
     * 实例版本。不填默认为空。
     */
    InstanceVersion?: string;
    /**
     * 是否启用健康检查。不填默认不启用。
     */
    EnableHealthCheck?: boolean;
    /**
     * 上报心跳时间间隔。若 EnableHealthCheck 为不启用，则此参数不生效；若 EnableHealthCheck 启用，此参数不填，则默认 ttl 为 5s。
     */
    Ttl?: number;
}
/**
 * CreateNativeGatewayServerGroup返回参数结构体
 */
export interface CreateNativeGatewayServerGroupResponse {
    /**
     * 网关分组创建信息
     */
    Result?: CreateCloudNativeAPIGatewayServerGroupResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * AddCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
 */
export interface AddCloudNativeAPIGatewayConsumerGroupAuthRequest {
    /**
     * <p>网关实例id</p>
     */
    GatewayId: string;
    /**
     * <p>授权资源类型。</p><p>枚举值：</p><ul><li>ModelAPI：模型 API</li><li>MCPServer：MCP Server</li></ul>
     */
    ResourceType: string;
    /**
     * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
     */
    ResourceId: string;
    /**
     * <p>消费者组 ID 列表（每个 ID 以 cg- 开头），长度 1-10。</p>
     */
    ConsumerGroupIds: Array<string>;
}
/**
 * DeleteConfigFileReleases返回参数结构体
 */
export interface DeleteConfigFileReleasesResponse {
    /**
     * 删除配置发布结果
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyGovernanceInstances请求参数结构体
 */
export interface ModifyGovernanceInstancesRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 服务实例信息。
     */
    GovernanceInstances: Array<GovernanceInstanceUpdate>;
}
/**
 * 治理中心命名空间
 */
export interface GovernanceNamespace {
    /**
     * 命名空间名称。
     */
    Name?: string;
    /**
     * 命名空间描述信息。
     */
    Comment?: string;
    /**
     * 创建时间。
     */
    CreateTime?: string;
    /**
     * 修改时间。
     */
    ModifyTime?: string;
    /**
     * 命名空间下总服务数据量
     */
    TotalServiceCount?: number;
    /**
     * 命名空间下总健康实例数量
     */
    TotalHealthInstanceCount?: number;
    /**
     * 命名空间下总实例数量
     */
    TotalInstanceCount?: number;
    /**
     * 命名空间ID
     */
    Id?: string;
    /**
     * 是否可以编辑
     */
    Editable?: boolean;
    /**
     * 可以操作此命名空间的用户ID列表
     */
    UserIds?: Array<string>;
    /**
     * 可以操作此命名空间的用户组ID列表
     */
    GroupIds?: Array<string>;
    /**
     * 移除可以操作此命名空间的用户ID列表
     */
    RemoveUserIds?: Array<string>;
    /**
     * 移除可以操作此命名空间的用户组ID列表
     */
    RemoveGroupIds?: Array<string>;
    /**
     * 该命名空间下的服务对哪些命名空间可见
     */
    ServiceExportTo?: Array<string>;
    /**
     * 是否开启同步到全局注册中心
     */
    SyncToGlobalRegistry?: boolean;
    /**
     * 元数据
     */
    Metadatas?: Array<Metadata>;
}
/**
 * ModifyCloudNativeAPIGatewayLLMModelService返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayLLMModelServiceResponse {
    /**
     * <p>是否成功</p>
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayCanaryRule返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayCanaryRuleResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayIPRestriction返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayIPRestrictionResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * UpdateCloudNativeAPIGatewayCertificateInfo返回参数结构体
 */
export interface UpdateCloudNativeAPIGatewayCertificateInfoResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyNetworkBasicInfo返回参数结构体
 */
export interface ModifyNetworkBasicInfoResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateOrModifyCloudNativeAPIGatewayCORS请求参数结构体
 */
export interface CreateOrModifyCloudNativeAPIGatewayCORSRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 跨域插件绑定的资源类型：route|service
     */
    SourceType: string;
    /**
     * 路由或服务的id
     */
    SourceId: string;
    /**
     * 是否启用插件
     */
    Enabled: boolean;
    /**
     * 跨域 Access-Control-Allow-Origin
     */
    Origins?: Array<string>;
    /**
     * 跨域 Access-Control-Allow-Headers header
     */
    Headers?: Array<string>;
    /**
     * 跨域 Access-Control-Allow-Methods
     */
    Methods?: Array<string>;
    /**
     * 跨域 Access-Control-Expose-Headers
     */
    ExposedHeaders?: Array<string>;
    /**
     * preflight 请求缓存时间
     */
    MaxAge?: number;
    /**
     * 跨域 Access-Control-Allow-Credentials
     */
    Credentials?: boolean;
    /**
     * 是否把OPTIONS请求透传后端
     */
    PreFlightContinue?: boolean;
}
/**
 * DescribeCloudNativeAPIGateway返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayResponse {
    /**
     * 获取云原生API网关基础信息响应结果。
     */
    Result?: DescribeCloudNativeAPIGatewayResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyCloudNativeAPIGatewayConsumerGroup返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayConsumerGroupResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGateway请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayRequest {
    /**
     * 云原生API网关名字, 最多支持60个字符。
     */
    Name: string;
    /**
     * 云原生API网关类型, 目前只支持kong。
     */
    Type: string;
    /**
     * 云原生API网关版本。参考值：
  - 2.4.1
  - 2.5.1
     */
    GatewayVersion: string;
    /**
     * 云原生API网关节点配置。
     */
    NodeConfig: CloudNativeAPIGatewayNodeConfig;
    /**
     * 云原生API网关vpc配置。
     */
    VpcConfig: CloudNativeAPIGatewayVpcConfig;
    /**
     * 云原生API网关描述信息, 最多支持120个字符。
     */
    Description?: string;
    /**
     * 标签列表
     */
    Tags?: Array<InstanceTagInfo>;
    /**
     * 是否开启 CLS 日志。默认值：fasle
     */
    EnableCls?: boolean;
    /**
     * 产品版本。参考值：
  - TRIAL：开发版
  - STANDARD：标准版 （默认值）
  - PROFESSIONAL：专业版
     */
    FeatureVersion?: string;
    /**
     * 公网出流量带宽，[1,2048]Mbps
     */
    InternetMaxBandwidthOut?: number;
    /**
     * 实例实际的地域信息，默认值：ap-guangzhou
     */
    EngineRegion?: string;
    /**
     * ingress Class名称
     */
    IngressClassName?: string;
    /**
     * 付费类型。参考值：
  0：后付费（默认值）
  1：预付费（接口暂不支持创建预付费实例）
     */
    TradeType?: number;
    /**
     * 公网相关配置
     */
    InternetConfig?: InternetConfig;
    /**
     * 关联的prometheus ID
     */
    PromId?: string;
}
/**
 * 策略绑定的网关分组信息
 */
export interface CloudNativeAPIGatewayStrategyBindingGroupInfo {
    /**
     * 网关分组ID
     */
    GroupId?: string;
    /**
     * 节点配置
     */
    NodeConfig?: CloudNativeAPIGatewayNodeConfig;
    /**
     * 绑定时间
     */
    BindTime?: string;
    /**
     * 网关分组名称
     */
    GroupName?: string;
    /**
     * 绑定状态
     */
    Status?: string;
}
/**
 * DescribeGovernanceServiceContractVersions返回参数结构体
 */
export interface DescribeGovernanceServiceContractVersionsResponse {
    /**
     * 服务契约版本列表
     */
    GovernanceServiceContractVersions?: Array<GovernanceServiceContractVersion>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 目标服务实例实例标签信息
 */
export interface RoutingDestinationRuleLabel {
    /**
     * 标签键
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LabelKey?: string;
    /**
     * 标签值
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LabelValue?: string;
    /**
     * 表达式类型
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LabelType?: string;
    /**
     * 值类型
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LabelValueType?: string;
}
/**
 * DescribeCloudNativeAPIGatewaySecretKeyValue请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewaySecretKeyValueRequest {
    /**
     * 实例 ID
     */
    GatewayId: string;
    /**
     * 密钥id
     */
    SecretKeyId: string;
}
/**
 * AI 网关延迟优先路由模型服务
 */
export interface AIGWLatencyPriorityRouteRule {
    /**
     * <p>模型服务id</p>
     */
    ModelServiceId: string;
}
/**
 * ModifyConfigFiles返回参数结构体
 */
export interface ModifyConfigFilesResponse {
    /**
     * 修改是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewaySecretKey返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewaySecretKeyResponse {
    /**
     * <p>密钥详情。</p>
     */
    Result?: CNAPIGwSecretKey;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeAllConfigFileTemplates返回参数结构体
 */
export interface DescribeAllConfigFileTemplatesResponse {
    /**
     * 数据总数量
     */
    TotalCount?: number;
    /**
     * 配置文件模板列表
     */
    ConfigFileTemplates?: Array<ConfigFileTemplate>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 配置文件标签
 */
export interface ConfigFileGroupTag {
    /**
     * key-value 键
     */
    Key?: string;
    /**
     * key-value 值
     */
    Value?: string;
}
/**
 * DescribeConfigFileReleaseVersions请求参数结构体
 */
export interface DescribeConfigFileReleaseVersionsRequest {
    /**
     * 实例id
     */
    InstanceId: string;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 配置分组
     */
    Group?: string;
    /**
     * 文件名称
     */
    FileName?: string;
    /**
     * 配置文件ID
     */
    ConfigFileId?: string;
}
/**
 * DescribeCloudNativeAPIGatewaySecretKeyList返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewaySecretKeyListResponse {
    /**
     * <p>密钥列表</p>
     */
    Result?: CNAPIGwSecretKeyList;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 服务契约版本信息
 */
export interface GovernanceServiceContractVersion {
    /**
     * 契约版本
     */
    Version?: string;
    /**
     * 契约名称
     */
    Name?: string;
    /**
     * 唯一名称
     */
    Key?: string;
}
/**
 * CreateCloudNativeAPIGatewayConsumerGroup请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayConsumerGroupRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * <p>消费者组名称，最长 60 字符。同一网关下唯一。</p>
     */
    Name: string;
    /**
     * <p>启用状态。</p><p>枚举值：</p><ul><li>Enable：启用</li><li>Disable：禁用</li></ul>
     */
    Status: string;
    /**
     * <p>消费者组描述。最长 200 字符。</p>
     */
    Description?: string;
}
/**
 * AI 网关日志输出配置
 */
export interface AIGWLogConfig {
    /**
     * <p>是否开启请求 payload 记录日志</p>
     */
    EnableRequestLogPayloads?: boolean;
    /**
     * <p>是否开启响应 payload 记录日志</p>
     */
    EnableResponseLogPayloads?: boolean;
    /**
     * <p>日志记录的请求body的最大字节数</p><p>取值范围：[512, 1048576]</p><p>EnableRequestLogPayloads 为true时必填</p>
     */
    RequestLogPayloadMaxSize?: number;
    /**
     * <p>日志记录的响应body的最大字节数</p><p>取值范围：[512, 1048576]</p><p>EnableResponseLogPayloads 为true时必填</p>
     */
    ResponseLogPayloadMaxSize?: number;
    /**
     * <p>请求 payload access log 输出模式</p><p>枚举值：</p><ul><li>raw： access log 中 body 记录客户端原始请求</li><li>processed： access log 中 body 记录 AI 网关协议适配、改写、归一化后的 OpenAI-compatible 内容</li></ul>
     */
    RequestLogPayloadMode?: string;
    /**
     * <p>上游原始 payload access log 输出模式</p><p>枚举值：</p><ul><li>raw： access log 中 body 记录客户端原始上游响应</li><li>processed： access log 中 body 记录 AI 网关协议适配、改写、归一化后的 OpenAI-compatible 内容</li></ul>
     */
    ResponseLogPayloadMode?: string;
}
/**
 * ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayRouteRateLimitRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 路由id，或路由名称。
  不支持“未命名”
     */
    Id: string;
    /**
     * 限流配置
     */
    LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
}
/**
 * Kong网关主动健康检查配置
 */
export interface KongActiveHealthCheck {
    /**
     * 主动健康检查健康探测间隔，单位：秒，0表示不开启
     */
    HealthyInterval?: number;
    /**
     * 主动健康检查异常探测间隔，单位：秒，0表示不开启
     */
    UnHealthyInterval?: number;
    /**
     * 在 GET HTTP 请求中使用的路径，以作为主动运行状况检查的探测器运行。默认： ”/”。
     */
    HttpPath?: string;
    /**
     * GET HTTP 请求的超时时间，单位：秒。默认 60。
     */
    Timeout?: number;
}
/**
 * 云原生网关限流插件外部redis配置
 */
export interface ExternalRedis {
    /**
     * redis ip
     */
    RedisHost: string;
    /**
     * redis密码
     */
    RedisPassword: string;
    /**
     * redis端口
     */
    RedisPort: number;
    /**
     * 超时时间  ms
     */
    RedisTimeout: number;
}
/**
 * ModifyCloudNativeAPIGatewayCertificate请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayCertificateRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 证书id
     */
    Id: string;
    /**
     * 证书名称，即将废弃
     * @deprecated
     */
    Name?: string;
    /**
     * 证书私钥，CertSource为native时必填。
     */
    Key?: string;
    /**
     * 证书pem格式，CertSource为native时必填。
     */
    Crt?: string;
    /**
     * 绑定的域名，即将废弃
     * @deprecated
     */
    BindDomains?: Array<string>;
    /**
     * ssl平台证书 Id，CertSource为ssl时必填。
     */
    CertId?: string;
    /**
     * 证书来源
  - ssl (ssl平台证书)，默认值
  - native (kong自定义证书)
  
     */
    CertSource?: string;
}
/**
 * DeleteGovernanceAliases返回参数结构体
 */
export interface DeleteGovernanceAliasesResponse {
    /**
     * 创建是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 治理中心服务信息。
 */
export interface GovernanceService {
    /**
     * <p>服务名称。</p>
     */
    Name?: string;
    /**
     * <p>命名空间名称。</p>
     */
    Namespace?: string;
    /**
     * <p>元数据信息数组。</p>
     */
    Metadatas?: Array<Metadata>;
    /**
     * <p>描述信息。</p>
     */
    Comment?: string;
    /**
     * <p>创建时间。</p>
     */
    CreateTime?: string;
    /**
     * <p>修改时间。</p>
     */
    ModifyTime?: string;
    /**
     * <p>服务所属部门。</p>
     */
    Department?: string;
    /**
     * <p>服务所属业务。</p>
     */
    Business?: string;
    /**
     * <p>健康服务实例数</p>
     */
    HealthyInstanceCount?: number;
    /**
     * <p>服务实例总数</p>
     */
    TotalInstanceCount?: number;
    /**
     * <p>服务ID</p>
     */
    Id?: string;
    /**
     * <p>是否可以编辑</p>
     */
    Editable?: boolean;
    /**
     * <p>可以编辑该资源的用户ID</p>
     */
    UserIds?: Array<string>;
    /**
     * <p>可以编辑该资源的用户组ID</p>
     */
    GroupIds?: Array<string>;
    /**
     * <p>移除可以编辑该资源的用户ID</p>
     */
    RemoveUserIds?: Array<string>;
    /**
     * <p>移除可以编辑该资源的用户组ID</p>
     */
    RemoveGroupIds?: Array<string>;
    /**
     * <p>该服务对哪些命名空间可见</p>
     */
    ExportTo?: Array<string>;
    /**
     * <p>该服务信息摘要签名</p>
     */
    Revision?: string;
    /**
     * <p>是否开启同步到全局注册中心</p>
     */
    SyncToGlobalRegistry?: boolean;
    /**
     * <p>隔离实例数</p>
     */
    IsolateInstanceCount?: number;
    /**
     * <p>服务健康状态</p>
     */
    ServiceStatus?: number;
    /**
     * <p>服务类型</p><p>枚举值：</p><ul><li>0： 微服务（默认）</li><li>1： MCP Server</li><li>2： AI Agent</li></ul>
     */
    Type?: number;
}
/**
 * DeleteAutoScalerResourceStrategy请求参数结构体
 */
export interface DeleteAutoScalerResourceStrategyRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 策略ID
     */
    StrategyId: string;
}
/**
 * DescribeCloudNativeAPIGatewayConsumerGroup请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerGroupRequest {
    /**
     * <p>网关实例id</p>
     */
    GatewayId: string;
    /**
     * <p>消费者组ID</p>
     */
    ConsumerGroupId: string;
}
/**
 * CreateGovernanceInstances返回参数结构体
 */
export interface CreateGovernanceInstancesResponse {
    /**
     * 创建是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayLLMModelAPI请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayLLMModelAPIRequest {
    /**
     * 网关 id。
     */
    GatewayId: string;
    /**
     * 模型 API ID，全局唯一标识。
     */
    ModelAPIId: string;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelAPIs请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelAPIsRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>每页条数，范围 [1, 1000]，默认 10。</p>
     */
    Limit?: number;
    /**
     * <p>起始位置，从 0 开始。</p>
     */
    Offset?: number;
    /**
     * <p>过滤条件。当前未启用具体字段。</p>
     */
    Filters?: Array<Filter>;
    /**
     * <p>模糊匹配模型 API 名称。</p>
     */
    Keyword?: string;
    /**
     * <p>消费者组 ID（以 cg- 开头），与 UseToBind 搭配使用。</p>
     */
    ConsumerGroupId?: string;
    /**
     * <p>是否用于绑定场景。true 时仅返回可被绑定到指定消费者组的模型 API。</p>
     */
    UseToBind?: boolean;
    /**
     * <p>消费者ID</p>
     */
    ConsumerId?: string;
}
/**
 * 创建云原生网关服务结果
 */
export interface CreateGatewayServiceResult {
    /**
     * 网关服务ID
     */
    ServiceId?: string;
}
/**
 * 根据公网IP查询云原生网关实例信息出参
 */
export interface DescribeInstanceInfoByIpResult {
    /**
     * 实例id
     */
    GatewayId?: string;
    /**
     * 分组id
     */
    GroupId?: string;
}
/**
 * CreateGovernanceLaneGroups返回参数结构体
 */
export interface CreateGovernanceLaneGroupsResponse {
    /**
     * 是否创建成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 创建资源通用结果
 */
export interface CNAPIGwCreateCommonResult {
    /**
     * 是否成功
     */
    Success?: boolean;
    /**
     * 对应的id 值
     */
    ID?: string;
}
/**
 * 模型服务路由配置
 */
export interface CloudNativeAPIGatewayLLMModelServiceRoute {
    /**
     * <p>生效的路由算法类型：权重路由，模型名称路由、参数路由等Weighted/ModelName/Query (预留多个，暂时只能填写一个)</p>
     */
    SelectedTypes: Array<string>;
    /**
     * <p>权重路由配置，最多10个</p>
     */
    WeightedConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy>;
    /**
     * <p>模型名称路由配置，最多10个</p>
     */
    ModelNameConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy>;
    /**
     * <p>意图识别</p>
     */
    IntentRouteConfig?: AIGWIntentRoute;
    /**
     * <p>延迟路由</p>
     */
    LatencyPriorityConfig?: AIGWLatencyPriorityConfig;
    /**
     * <p>缓存感知路由配置（前缀缓存）</p>
     */
    CacheAwareRouteConfig?: AIGWCacheAwareRouteConfig;
    /**
     * <p>token 长度路由</p>
     */
    TokenLengthRouteConfig?: AIGWTokenLengthRoute;
}
/**
 * 消费者组结构
 */
export interface CNAPIGwConsumerGroup {
    /**
     * 分组id
     */
    ConsumerGroupId: string;
    /**
     * 名字
     */
    Name: string;
    /**
     * 状态Disable/Enable
     */
    Status: string;
    /**
     * 描述
     */
    Description: string;
    /**
     * 创建时间
     */
    CreateTime?: string;
    /**
     * 更新时间 yyyy-MM-dd hh:mm:ss
     */
    ModifyTime?: string;
    /**
     * 绑定的消费者数量
  注意：此字段可能返回 null，表示取不到有效值。
     */
    BindCount?: number;
}
/**
 * 新增Location字段，展示zone/region/campus
 */
export interface Location {
    /**
     * 大区
     */
    Region?: string;
    /**
     * 可用区
     */
    Zone?: string;
    /**
     * 机房
     */
    Campus?: string;
}
/**
 * 查询跨域配置出参
 */
export interface DescribeKongCORSResult {
    /**
     * 资源类型
     */
    SourceType?: string;
    /**
     * 资源id
     */
    SourceId?: string;
    /**
     * 是否启用
     */
    Enabled?: boolean;
    /**
     * 跨域 Origins
     */
    Origins?: Array<string>;
    /**
     * 跨域 Headers
     */
    Headers?: Array<string>;
    /**
     * 跨域 Methods
     */
    Methods?: Array<string>;
    /**
     * 跨域 ExposedHeaders
     */
    ExposedHeaders?: Array<string>;
    /**
     * 跨域OPTIONS请求缓存时间
     */
    MaxAge?: number;
    /**
     * 跨域请求是否允许携带身份信息
     */
    Credentials?: boolean;
    /**
     * 跨域请求是否透传后端
     */
    PreFlightContinue?: boolean;
}
/**
 * ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayCanaryRuleRequest {
    /**
     * 网关 ID
     */
    GatewayId: string;
    /**
     * 服务 ID
     */
    ServiceId: string;
    /**
     * 优先级，同一个服务的灰度规则优先级是唯一的
     */
    Priority?: number;
    /**
     * 灰度规则配置
     */
    CanaryRule?: CloudNativeAPIGatewayCanaryRule;
    /**
     * 灰度规则配置列表，如果配置了此参数，将以此参数为准，忽略Priority和CanaryRule参数
     */
    CanaryRuleList?: Array<CanaryPriorityRule>;
}
/**
 * DescribeCloudNativeAPIGatewayPorts返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayPortsResponse {
    /**
     * 云原生API网关实例协议端口列表响应结果
     */
    Result?: DescribeGatewayInstancePortResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 网关服务信息匹配条件
 */
export interface TSEGatewaySelector {
    /**
     * 网关引擎实例ID
  注意：此字段可能返回 null，表示取不到有效值。
     */
    GatewayId: string;
    /**
     * 网关服务
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Services?: Array<string>;
}
/**
 * DeleteGovernanceNamespaces请求参数结构体
 */
export interface DeleteGovernanceNamespacesRequest {
    /**
     * tse 实例 id。
     */
    InstanceId: string;
    /**
     * 命名空间信息。
     */
    GovernanceNamespaces: Array<GovernanceNamespaceInput>;
}
/**
 * DescribeCloudNativeAPIGatewayConfig返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConfigResponse {
    /**
     * 获取云原生API网关响应结果。
     */
    Result?: DescribeCloudNativeAPIGatewayConfigResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * OIDC 凭证物料配置
 */
export interface AIGWOIDCCredentialConfig {
    /**
     * <p>IdP 注册的 client_id</p>
     */
    ClientId: string;
    /**
     * <p>IdP 注册的 client_secret</p>
     */
    ClientSecret: string;
    /**
     * <p>IdP Issuer URL</p>
     */
    IssuerURL: string;
    /**
     * <p>IdP 中该用户的 claim 值</p>
     */
    ConsumerClaimValue?: string;
}
/**
 * CreateCloudNativeAPIGatewayConsumerGroup返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayConsumerGroupResponse {
    /**
     * <p>创建结果。包含成功标识与新建资源 ID。</p>
     */
    Result?: CNAPIGwCreateCommonResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelAPI返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelAPIResponse {
    /**
     * <p>模型 API 信息。</p>
     */
    Result?: CloudNativeAPIGatewayLLMModelAPI;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayRoute返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayRouteResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteConfigFiles返回参数结构体
 */
export interface DeleteConfigFilesResponse {
    /**
     * 修改是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 引擎地域配置详情
 */
export interface EngineRegionInfo {
    /**
     * 引擎节点所在地域
     */
    EngineRegion: string;
    /**
     * 此地域节点分配数量
     */
    Replica: number;
    /**
     * 集群网络信息
     */
    VpcInfos: Array<VpcInfo>;
    /**
     * Polaris: 是否为主地域
  Zookeeper: 是否为Leader固定地域
     */
    MainRegion?: boolean;
    /**
     * 引擎规格ID
     */
    SpecId?: string;
}
/**
 * 配置发布删除
 */
export interface ConfigFileReleaseDeletion {
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 配置分组
     */
    Group?: string;
    /**
     * 文件名称
     */
    FileName?: string;
    /**
     * 发布版本
     */
    ReleaseVersion?: string;
    /**
     * 配置发布ID
     */
    Id?: number;
}
/**
 * DescribeCloudNativeAPIGatewayServiceRateLimit返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayServiceRateLimitResponse {
    /**
     * 获取云原生网关限流插件(服务)
     */
    Result?: CloudNativeAPIGatewayRateLimitDetail;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyGovernanceAlias返回参数结构体
 */
export interface ModifyGovernanceAliasResponse {
    /**
     * 创建是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 获取云原生API网关实例策略绑定网关分组列表响应结果。
 */
export interface ListCloudNativeAPIGatewayStrategyBindingGroupInfoResult {
    /**
     * 数量
     */
    TotalCount: number;
    /**
     * 云原生API网关实例策略绑定网关分组列表
     */
    GroupInfos: Array<CloudNativeAPIGatewayStrategyBindingGroupInfo>;
}
/**
 * 缓存感知路由候选模型服务
 */
export interface AIGWCacheAwareRouteCandidate {
    /**
     * <p>模型服务ID</p>
     */
    ModelServiceId?: string;
    /**
     * <p>模型服务名称</p>
     */
    ModelServiceName?: string;
}
/**
 * DeleteGovernanceInstancesByHost请求参数结构体
 */
export interface DeleteGovernanceInstancesByHostRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 要删除的服务实例信息。
     */
    GovernanceInstances: Array<GovernanceInstanceUpdate>;
}
/**
 * DescribeCloudNativeAPIGatewayIPRestriction返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayIPRestrictionResponse {
    /**
     * 出参
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Result?: DescribeKongIpRestrictionResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayRouteRateLimit返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayRouteRateLimitResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGateways返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewaysResponse {
    /**
     * <p>获取云原生API网关实例列表响应结果。</p>
     */
    Result?: ListCloudNativeAPIGatewayResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateGovernanceNamespaces返回参数结构体
 */
export interface CreateGovernanceNamespacesResponse {
    /**
     * 操作是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayConsumer返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayConsumerResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关健康检查配置
 */
export interface UpstreamHealthCheckConfig {
    /**
     * 开启主动健康检查
     */
    EnableActiveHealthCheck?: boolean;
    /**
     * 主动健康检查配置
     */
    ActiveHealthCheck?: KongActiveHealthCheck;
    /**
     * 开启被动健康检查
     */
    EnablePassiveHealthCheck?: boolean;
    /**
     * 被动健康检查配置
     */
    PassiveHealthCheck?: KongPassiveHealthCheck;
    /**
     * 连续健康阈值，单位：次
     */
    Successes?: number;
    /**
     * 连续异常阈值，单位：次
     */
    Failures?: number;
    /**
     * 超时阈值，单位：次
     */
    Timeouts?: number;
    /**
     * 健康HTTP状态码
     */
    HealthyHttpStatuses?: Array<number | bigint>;
    /**
     * 异常HTTP状态码
     */
    UnhealthyHttpStatuses?: Array<number | bigint>;
    /**
     * 健康检查监控上报的数据屏蔽权重为0的节点
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    IgnoreZeroWeightNodes?: boolean;
    /**
     * 健康检查支持权重为0节点
     */
    ZeroWeightHeathCheck?: boolean;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelServices请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelServicesRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>返回数量，默认为 10，最大值为 1000。</p>
     */
    Limit?: number;
    /**
     * <p>偏移量，默认为 0。</p>
     */
    Offset?: number;
    /**
     * <p>过滤条件，多个过滤条件之间是“与”的关系，支持 Name</p>
     */
    Filters?: Array<Filter>;
    /**
     * <p>通过模型 API 筛选模型服务</p>
     */
    ModelAPIId?: string;
    /**
     * <p>通过密匙查询绑定的模型服务</p>
     */
    SecretKeyId?: string;
    /**
     * <p>搜索关键词，模糊匹配 name 和 description</p>
     */
    Keyword?: string;
}
/**
 * Zookeeper副本信息
 */
export interface ZookeeperReplica {
    /**
     * 名称
     */
    Name?: string;
    /**
     * 角色
     */
    Role?: string;
    /**
     * 状态
     */
    Status?: string;
    /**
     * 子网ID
     */
    SubnetId?: string;
    /**
     * 可用区ID
     */
    Zone?: string;
    /**
     * 可用区ID
     */
    ZoneId?: string;
    /**
     * 别名
     */
    AliasName?: string;
    /**
     * VPC ID
     */
    VpcId?: string;
}
/**
 * DeleteAutoScalerResourceStrategy返回参数结构体
 */
export interface DeleteAutoScalerResourceStrategyResponse {
    /**
     * 是否成功
     */
    Result: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeOneCloudNativeAPIGatewayService请求参数结构体
 */
export interface DescribeOneCloudNativeAPIGatewayServiceRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务名字，或服务ID
     */
    Name: string;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelAPIs返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelAPIsResponse {
    /**
     * <p>模型 API 列表。</p>
     */
    Result?: ListCloudNativeAPIGatewayLLMModelAPI;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关模型LLM配额限制信息
 */
export interface AIGWLLMQuotaLimit {
    /**
     * <p>该模型服务每分钟请求数上限，0 表示该维度不限</p>
     */
    RPMLimit?: number;
    /**
     * <p>该模型服务每分钟 Token 数上限，0 表示该维度不限</p>
     */
    TPMLimit?: number;
    /**
     * <p>并发限流数</p>
     */
    ConcurrentCountLimit?: number;
}
/**
 * DeleteGovernanceAliases请求参数结构体
 */
export interface DeleteGovernanceAliasesRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 服务别名列表
     */
    GovernanceAliases: Array<GovernanceAlias>;
}
/**
 * 证书信息
 */
export interface CertificateInfo {
    /**
     * 唯一id
     */
    Id?: string;
}
/**
 * DescribeCloudNativeAPIGatewayConsumerList返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerListResponse {
    /**
     * <p>消费者列表</p>
     */
    Result?: CNAPIGwConsumerList;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateOrModifyCloudNativeAPIGatewayIPRestriction请求参数结构体
 */
export interface CreateOrModifyCloudNativeAPIGatewayIPRestrictionRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 访问控制插件绑定的资源类型：route|service
     */
    SourceType: string;
    /**
     * 路由或服务的id
     */
    SourceId: string;
    /**
     * 是否启用插件
     */
    Enabled: boolean;
    /**
     * 访问控制类型：whiteList｜blackList
     */
    RestrictionType: string;
    /**
     * cidr｜ip
     */
    AddressList: Array<string>;
}
/**
 * LLM 模型服务列表
 */
export interface ListCloudNativeAPIGatewayLLMModelService {
    /**
     * 模型服务数量。
     */
    TotalCount?: number;
    /**
     * 模型服务列表。
     */
    DataList?: Array<CloudNativeAPIGatewayLLMModelService>;
}
/**
 * DescribeWafDomains请求参数结构体
 */
export interface DescribeWafDomainsRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
}
/**
 * ModifyUpstreamNodeStatus返回参数结构体
 */
export interface ModifyUpstreamNodeStatusResponse {
    /**
     * 是否成功
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * OpenWafProtection返回参数结构体
 */
export interface OpenWafProtectionResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关模型API 配额降级触发条件信息
 */
export interface AIGWLLMQuotaFallbackTrigger {
    /**
     * <p>配额感知阈值百分比（RPM 与 TPM 共用）</p><p>取值范围：[0, 99]</p>
     */
    ThresholdPercent?: number;
    /**
     * <p>检查维度策略</p><p>枚举值：</p><ul><li>AnyInsufficient：  RPM 或 TPM 任一不足即触发</li><li>AllInsufficient： RPM 和 TPM 同时不足才触发</li></ul>
     */
    CheckDimension?: string;
}
/**
 * DescribeCloudNativeAPIGatewayRouteRateLimit返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayRouteRateLimitResponse {
    /**
     * 获取云原生网关限流插件(路由)
     */
    Result?: CloudNativeAPIGatewayRateLimitDetail;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * AddCloudNativeAPIGatewayConsumerGroupAuth返回参数结构体
 */
export interface AddCloudNativeAPIGatewayConsumerGroupAuthResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGateway请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayRequest {
    /**
     * 云原生API网关实例ID
     */
    GatewayId: string;
}
/**
 * DeleteConfigFileGroup请求参数结构体
 */
export interface DeleteConfigFileGroupRequest {
    /**
     * tse 实例 id。
     */
    InstanceId: string;
    /**
     * 命名空间
     */
    Namespace: string;
    /**
     * 组
     */
    Group: string;
}
/**
 * kong证书列表
 */
export interface KongCertificatesList {
    /**
     * 证书列表总数
     */
    Total?: number;
    /**
     * 无
  注意：此字段可能返回 null，表示取不到有效值。
     */
    CertificatesList?: Array<KongCertificatesPreview>;
    /**
     * 证书列表总页数
  注意：此字段可能返回 null，表示取不到有效值。
     * @deprecated
     */
    Pages?: number;
}
/**
 * 云原生网关限流插件Qps阈值
 */
export interface QpsThreshold {
    /**
     * qps阈值控制维度,包含:second、minute、hour、day、month、year
     */
    Unit: string;
    /**
     * 阈值
     */
    Max: number;
}
/**
 * CreateCloudNativeAPIGatewayCanaryRule请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayCanaryRuleRequest {
    /**
     * 网关 ID
     */
    GatewayId: string;
    /**
     * 服务 ID
     */
    ServiceId: string;
    /**
     * 灰度规则配置
     */
    CanaryRule?: CloudNativeAPIGatewayCanaryRule;
    /**
     * 灰度规则配置列表，如果配置了此参数，将以此参数为准，忽略CanaryRule参数
     */
    CanaryRuleList?: Array<CloudNativeAPIGatewayCanaryRule>;
}
/**
 * OpenWafProtection请求参数结构体
 */
export interface OpenWafProtectionRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     *  防护资源的类型。
  - Global  实例
  - Service  服务
  - Route  路由
  - Object  对象（接口暂不支持）
     */
    Type: string;
    /**
     * 当资源类型 Type 是 Service 或 Route 的时候，传入的服务或路由的列表
     */
    List?: Array<string>;
}
/**
 * 治理中心实例信息。
 */
export interface GovernanceInstance {
    /**
     * 实例id。
     */
    Id?: string;
    /**
     * 实例所在服务名。
     */
    Service?: string;
    /**
     * 实例所在命名空间名。
     */
    Namespace?: string;
    /**
     * 实例ip地址。
     */
    Host?: string;
    /**
     * 实例端口信息。
     */
    Port?: number;
    /**
     * 通信协议。
     */
    Protocol?: string;
    /**
     * 版本信息。
     */
    Version?: string;
    /**
     * 负载均衡权重。
     */
    Weight?: number;
    /**
     * 是否开启健康检查。
     */
    EnableHealthCheck?: boolean;
    /**
     * 实例是否健康。
     */
    Healthy?: boolean;
    /**
     * 实例是否隔离。
     */
    Isolate?: boolean;
    /**
     * 实例创建时间。
     */
    CreateTime?: string;
    /**
     * 实例修改时间。
     */
    ModifyTime?: string;
    /**
     * 元数据数组。
     */
    Metadatas?: Array<Metadata>;
    /**
     * 上报心跳间隔。
     */
    Ttl?: number;
    /**
     * 版本信息。
     */
    InstanceVersion?: string;
    /**
     * 状态信息
     */
    HealthStatus?: string;
    /**
     * 描述
     */
    Comment?: string;
}
/**
 * DeleteCloudNativeAPIGatewaySecretKey返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewaySecretKeyResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayRoutes请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayRoutesRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 翻页单页查询限制数量[0,1000], 默认值0
     */
    Limit?: number;
    /**
     * 翻页单页偏移量，默认值0
     */
    Offset?: number;
    /**
     * 服务的名字，精确匹配
     */
    ServiceName?: string;
    /**
     * 路由的名字，精确匹配
     */
    RouteName?: string;
    /**
     * 过滤条件，多个过滤条件之间是与的关系，支持 name, path, host, method, service, protocol
     */
    Filters?: Array<ListFilter>;
}
/**
 * CreateEngine返回参数结构体
 */
export interface CreateEngineResponse {
    /**
     * 引擎实例 ID
     */
    InstanceId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 配置文件组
 */
export interface ConfigFileGroup {
    /**
     * 配置文件组id
     */
    Id?: number;
    /**
     * 配置文件组名称
     */
    Name?: string;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 备注
     */
    Comment?: string;
    /**
     * 创建时间
     */
    CreateTime?: string;
    /**
     * 创建者
     */
    CreateBy?: string;
    /**
     * 修改时间
     */
    ModifyTime?: string;
    /**
     * 修改者
     */
    ModifyBy?: string;
    /**
     * 文件数
     */
    FileCount?: number;
    /**
     * 关联用户，link_users
     */
    UserIds?: Array<string>;
    /**
     * 组id，link_groups
     */
    GroupIds?: Array<string>;
    /**
     * remove_link_users
     */
    RemoveUserIds?: Array<string>;
    /**
     * remove_link_groups
     */
    RemoveGroupIds?: Array<string>;
    /**
     * 是否可编辑
     */
    Editable?: boolean;
    /**
     * 归属者
     */
    Owner?: string;
    /**
     * 部门
     */
    Department?: string;
    /**
     * 业务
     */
    Business?: string;
    /**
     * 配置文件组标签
     */
    ConfigFileGroupTags?: Array<ConfigFileGroupTag>;
}
/**
 * 获取网关节点信息
 */
export interface DescribeCloudNativeAPIGatewayNodesResult {
    /**
     * 获取云原生API网关节点列表响应结果。
     */
    TotalCount: number;
    /**
     * 云原生API网关节点列表。
     */
    NodeList: Array<CloudNativeAPIGatewayNode>;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelAPI请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelAPIRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>模型 API ID，全局唯一标识。</p>
     */
    ModelAPIId: string;
}
/**
 * DescribeNacosServerInterfaces请求参数结构体
 */
export interface DescribeNacosServerInterfacesRequest {
    /**
     * 实例id
     */
    InstanceId?: string;
    /**
     * 返回的列表个数
     */
    Limit?: number;
    /**
     * 返回的列表起始偏移量
     */
    Offset?: number;
}
/**
 * ModifyCloudNativeAPIGatewayConsumerGroup请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayConsumerGroupRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * <p>消费者组 ID（以 cg- 开头）。</p>
     */
    ConsumerGroupId: string;
    /**
     * <p>消费者组名称，最长 60 字符。</p>
     */
    Name: string;
    /**
     * <p>启用状态。</p><p>枚举值：</p><ul><li>Enable：启用</li><li>Disable：禁用</li></ul>
     */
    Status: string;
    /**
     * <p>消费者组描述。最长 200 字符。</p>
     */
    Description?: string;
}
/**
 * DescribeCloudNativeAPIGatewayCORS返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCORSResponse {
    /**
     * 出参
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Result?: DescribeKongCORSResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * RemoveCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
 */
export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest {
    /**
     * <p>网关实例id</p>
     */
    GatewayId: string;
    /**
     * <p>授权资源类型。</p><p>枚举值：</p><ul><li>ModelAPI：模型 API</li><li>MCPServer：MCP Server</li></ul>
     */
    ResourceType: string;
    /**
     * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
     */
    ResourceId: string;
    /**
     * <p>消费者组 ID 列表（每个 ID 以 cg- 开头），长度 1-10。</p>
     */
    ConsumerGroupIds: Array<string>;
}
/**
 * 延迟优先路由配置
 */
export interface AIGWLatencyPriorityConfig {
    /**
     * <p>路由规则列表</p>
     */
    Rules: Array<AIGWLatencyPriorityRouteRule>;
    /**
     * <p>延迟指标</p><p>枚举值：</p><ul><li>LLMLatency： LLM 延迟</li><li>NetworkLatency： 网络延迟</li></ul>
     */
    LatencyMetric: string;
    /**
     * <p>路由策略</p><p>枚举值：</p><ul><li>FastMode： 快速模式</li><li>BalanceMode： 均衡模式</li></ul>
     */
    RouteMode?: string;
}
/**
 * 服务的后端配置
 */
export interface KongUpstreamInfo {
    /**
     * IP或域名
     */
    Host?: string;
    /**
     * 端口
     */
    Port?: number;
    /**
     * 服务来源ID
     */
    SourceID?: string;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 服务（注册中心或Kubernetes中的服务）名字
     */
    ServiceName?: string;
    /**
     * 服务后端类型是IPList时提供
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Targets?: Array<KongTarget>;
    /**
     * 服务来源类型
     */
    SourceType?: string;
    /**
     * SCF函数类型
     */
    ScfType?: string;
    /**
     * SCF函数命名空间
     */
    ScfNamespace?: string;
    /**
     * SCF函数名
     */
    ScfLambdaName?: string;
    /**
     * SCF函数版本
     */
    ScfLambdaQualifier?: string;
    /**
     * 冷启动时间，单位秒
     */
    SlowStart?: number;
    /**
     * 负载均衡算法，默认为 round-robin，还支持 least-connections，consisten_hashing
     */
    Algorithm?: string;
    /**
     * CVM弹性伸缩组ID
     */
    AutoScalingGroupID?: string;
    /**
     * CVM弹性伸缩组端口
     */
    AutoScalingCvmPort?: number;
    /**
     * CVM弹性伸缩组使用的CVM TAT命令状态
     */
    AutoScalingTatCmdStatus?: string;
    /**
     * CVM弹性伸缩组生命周期挂钩状态
     */
    AutoScalingHookStatus?: string;
    /**
     * 服务来源的名字
     */
    SourceName?: string;
    /**
     * 精确的服务来源类型，新建服务来源时候传入的类型
     */
    RealSourceType?: string;
    /**
     * upstream健康状态HEALTHY（健康）, UNHEALTHY（异常）, HEALTHCHECKS_OFF（未开启）和NONE（不支持健康检查）
     */
    HealthStatus?: string;
    /**
     * 云函数是否开启CAM鉴权，不填时默认为开启(true)
     */
    ScfCamAuthEnable?: boolean;
    /**
     * 云函数是否开启Base64编码，默认为false
     */
    ScfIsBase64Encoded?: boolean;
    /**
     * 云函数是否开启响应集成，默认为false
     */
    ScfIsIntegratedResponse?: boolean;
}
/**
 * DescribeSREInstances请求参数结构体
 */
export interface DescribeSREInstancesRequest {
    /**
     * 请求过滤参数
     */
    Filters?: Array<Filter>;
    /**
     * 翻页单页查询限制数量[0,1000], 默认值0
     */
    Limit?: number;
    /**
     * 翻页单页偏移量，默认值0
     */
    Offset?: number;
    /**
     * 查询类型
     */
    QueryType?: string;
    /**
     * 调用方来源
     */
    QuerySource?: string;
}
/**
 * 泳道入口信息
 */
export interface LaneTrafficEntry {
    /**
     *    // type == "polarismesh.cn/gateway/tse-gateway, 则 selector 为 TSEGatewaySelector
     // type == "polarismesh.cn/gateway/spring-cloud-gateway", 则 selector 为 ServiceGatewaySelector
     // type == "polarismesh.cn/service, 则 selector 为 ServiceSelector
  注意：此字段可能返回 null，表示取不到有效值。
     */
    EntryType?: string;
    /**
     * TSE云原生网关选择器
  注意：此字段可能返回 null，表示取不到有效值。
     */
    TSEGatewaySelector?: TSEGatewaySelector;
    /**
     * 微服务网关选择器
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ServiceGatewaySelector?: ServiceGatewaySelector;
    /**
     * 普通微服务选择器
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ServiceSelector?: ServiceSelector;
}
/**
 * DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayInfoByIpRequest {
    /**
     * 云原生网关的公网ip
     */
    PublicNetworkIP: string;
}
/**
 * DescribeZookeeperReplicas返回参数结构体
 */
export interface DescribeZookeeperReplicasResponse {
    /**
     * 注册引擎实例副本信息
     */
    Replicas?: Array<ZookeeperReplica>;
    /**
     * 副本个数
     */
    TotalCount?: number;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyConfigFileGroup请求参数结构体
 */
export interface ModifyConfigFileGroupRequest {
    /**
     * tse实例id
     */
    InstanceId: string;
    /**
     * 配置文件组
     */
    ConfigFileGroup: ConfigFileGroup;
}
/**
 * DescribePublicAddressConfig返回参数结构体
 */
export interface DescribePublicAddressConfigResponse {
    /**
     * 公网地址信息
     */
    Result?: DescribePublicAddressConfigResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 私有网络信息
 */
export interface VpcInfo {
    /**
     * Vpc Id
     */
    VpcId: string;
    /**
     * 子网ID
     */
    SubnetId: string;
    /**
     * 内网访问地址
     */
    IntranetAddress?: string;
    /**
     * 负载均衡均衡接入点子网ID
     */
    LbSubnetId?: string;
}
/**
 * PublishConfigFiles请求参数结构体
 */
export interface PublishConfigFilesRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
    /**
     * 配置文件发布
     */
    ConfigFileReleases: ConfigFileRelease;
    /**
     * 控制开启校验配置版本是否已经存在
     */
    StrictEnable?: boolean;
}
/**
 * DescribeConfigFileReleaseHistories请求参数结构体
 */
export interface DescribeConfigFileReleaseHistoriesRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 组
     */
    Group?: string;
    /**
     * 名称
     */
    Name?: string;
    /**
     * 发布历史记录id，用于分页优化，一般指定 EndId，就不用指定 Offset，否则分页可能不连续
     */
    EndId?: number;
    /**
     * 配置文件ID
     */
    ConfigFileId?: string;
    /**
     * 返回数量，默认为20，最大值为100。
     */
    Limit?: number;
    /**
     * 偏移量，默认为0。
     */
    Offset?: number;
}
/**
 * ModifyCloudNativeAPIGateway请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 云原生API网关名字, 最多支持60个字符。
     */
    Name?: string;
    /**
     * 云原生API网关描述信息, 最多支持120个字符。
     */
    Description?: string;
    /**
     * 是否开启 CLS 日志。暂时取值只能是 true，即只能从关闭状态变成开启状态。
     */
    EnableCls?: boolean;
    /**
     * 公网计费模式。可选取值 BANDWIDTH | TRAFFIC ，表示按带宽和按流量计费。
     */
    InternetPayMode?: string;
    /**
     * 是否开启实例删除保护,默认false
     */
    DeleteProtect?: boolean;
}
/**
 * 泳道组
 */
export interface GovernanceLaneGroup {
    /**
     * 泳道名称
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Name: string;
    /**
     * 泳道组ID
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ID?: string;
    /**
     * 泳道入口服务列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    TrafficEntries?: Array<LaneTrafficEntry>;
    /**
     * 泳道服务列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Destinations?: Array<GovernanceServiceDestination>;
    /**
     * 泳道组描述
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Description?: string;
    /**
     * 该泳道组下的所有泳道规则列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Rules?: Array<GovernanceLaneRule>;
    /**
     * 规则内容摘要
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Revision?: string;
    /**
     * 创建时间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    CreateTime?: string;
    /**
     * 修改时间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ModifyTime?: string;
    /**
     * 规则一致性状态
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Consistency?: string;
}
/**
 * DescribeNativeGatewayServerGroups返回参数结构体
 */
export interface DescribeNativeGatewayServerGroupsResponse {
    /**
     * 分组列表信息
     */
    Result?: NativeGatewayServerGroups;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyNativeGatewayServerGroup返回参数结构体
 */
export interface ModifyNativeGatewayServerGroupResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayLLMModelService请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayLLMModelServiceRequest {
    /**
     * 网关 id。
     */
    GatewayId: string;
    /**
     * 模型服务 ID，全局唯一标识。
     */
    ModelServiceId: string;
}
/**
 * DeleteCloudNativeAPIGatewayConsumerGroup返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayConsumerGroupResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeNativeGatewayServiceSources返回参数结构体
 */
export interface DescribeNativeGatewayServiceSourcesResponse {
    /**
     * 总实例数
     */
    Total?: number;
    /**
     * 服务来源实例列表
     */
    List?: Array<NativeGatewayServiceSourceItem>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 获取云原生API网关实例列表响应结果。
 */
export interface ListCloudNativeAPIGatewayResult {
    /**
     * 总数。
     */
    TotalCount: number;
    /**
     * 云原生API网关实例列表。
     */
    GatewayList: Array<DescribeCloudNativeAPIGatewayResult>;
}
/**
 * CreateCloudNativeAPIGatewayService返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayServiceResponse {
    /**
     * 网关服务创建结果
     */
    Result?: CreateGatewayServiceResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * ModifyGovernanceLaneGroups返回参数结构体
 */
export interface ModifyGovernanceLaneGroupsResponse {
    /**
     * 是否创建成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 密钥列表
 */
export interface CNAPIGwSecretKeyList {
    /**
     * 总数
     */
    TotalCount?: number;
    /**
     * 密钥列表
     */
    SecretKeys?: Array<CNAPIGwSecretKey>;
}
/**
 * DeleteCloudNativeAPIGatewayRouteRateLimit返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayRouteRateLimitResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateOrModifyCloudNativeAPIGatewayCORS返回参数结构体
 */
export interface CreateOrModifyCloudNativeAPIGatewayCORSResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeConfigFileGroups请求参数结构体
 */
export interface DescribeConfigFileGroupsRequest {
    /**
     * tse实例id
     */
    InstanceId: string;
    /**
     * 根据命名空间过滤
     */
    Namespace?: string;
    /**
     * 根据配置文件组名过滤
     */
    Group?: string;
    /**
     * 根据配置文件组名过滤
     */
    FileName?: string;
    /**
     * 返回数量，默认为20，最大值为100。
     */
    Limit?: number;
    /**
     * 偏移量，默认为0。
     */
    Offset?: number;
}
/**
 * CreateGovernanceNamespaces请求参数结构体
 */
export interface CreateGovernanceNamespacesRequest {
    /**
     * tse 实例id。
     */
    InstanceId: string;
    /**
     * 命名空间信息。
     */
    GovernanceNamespaces: Array<GovernanceNamespaceInput>;
}
/**
 * ModifyCloudNativeAPIGatewayRoute请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayRouteRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 所属服务的ID
     */
    ServiceID: string;
    /**
     * 路由的ID，实例级别唯一
     */
    RouteID: string;
    /**
     * 路由的名字，实例级别唯一，可以不提供
     */
    RouteName?: string;
    /**
     * 路由的方法，其中方法可选值：
  - GET
  - POST
  - DELETE
  - PUT
  - OPTIONS
  - PATCH
  - HEAD
  - ANY
  - TRACE
  - COPY
  - MOVE
  - PROPFIND
  - PROPPATCH
  - MKCOL
  - LOCK
  - UNLOCK
     */
    Methods?: Array<string>;
    /**
     * 路由的域名
     */
    Hosts?: Array<string>;
    /**
     * 路由的路径
     */
    Paths?: Array<string>;
    /**
     * 路由的协议，可选
  - https
  - http
     */
    Protocols?: Array<string>;
    /**
     * 转发到后端时是否保留Host
     */
    PreserveHost?: boolean;
    /**
     * https重定向状态码
     */
    HttpsRedirectStatusCode?: number;
    /**
     * 转发到后端时是否StripPath
     */
    StripPath?: boolean;
    /**
     * 是否开启强制HTTPS
     * @deprecated
     */
    ForceHttps?: boolean;
    /**
     * 四层匹配的目的端口
     */
    DestinationPorts?: Array<number | bigint>;
    /**
     * 路由的Headers
     */
    Headers?: Array<KVMapping>;
    /**
     * 是否缓存请求body，默认true
     */
    RequestBuffering?: boolean;
    /**
     * 是否缓存响应body，默认true
     */
    ResponseBuffering?: boolean;
    /**
     * 增加优先级
     */
    RegexPriority?: number;
    /**
     * querysring参数
     */
    QueryStringParameters?: Array<KVMapping>;
}
/**
 * DeleteCloudNativeAPIGatewayIPRestriction请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayIPRestrictionRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 访问控制插件绑定的资源类型：route|service
     */
    SourceType: string;
    /**
     * 路由或服务的id
     */
    SourceId: string;
}
/**
 * 消费者结构
 */
export interface CNAPIGwConsumer {
    /**
     * <p>消费者 ID。</p>
     */
    ConsumerId: string;
    /**
     * <p>名字</p>
     */
    Name: string;
    /**
     * <p>创建时间</p>
     */
    CreateTime: string;
    /**
     * <p>更新时间 yyyy-MM-dd hh:mm:ss</p>
     */
    ModifyTime: string;
    /**
     * <p>描述</p>
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Description?: string;
    /**
     * <p>消费者分组</p>
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ConsumerGroups?: Array<CNAPIGwConsumerGroup>;
}
/**
 * CreateGovernanceAlias返回参数结构体
 */
export interface CreateGovernanceAliasResponse {
    /**
     * 创建是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生API网关节点配置。
 */
export interface CloudNativeAPIGatewayNodeConfig {
    /**
     * 节点配置, 1c2g|2c4g|4c8g|8c16g。
     */
    Specification: string;
    /**
     * 节点数量，2-9。
     */
    Number: number;
}
/**
 * DeleteConfigFileGroup返回参数结构体
 */
export interface DeleteConfigFileGroupResponse {
    /**
     * 是否删除成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * kong服务路由列表
 */
export interface KongServiceRouteList {
    /**
     * 无
     */
    RouteList?: Array<KongRoutePreview>;
    /**
     * 总数
     */
    TotalCount?: number;
}
/**
 * 发布详情
 */
export interface ConfigFilePublishInfo {
    /**
     * 发布名称
     */
    ReleaseName?: string;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 发布组
     */
    Group?: string;
    /**
     * 文件名
     */
    FileName?: string;
    /**
     * 内容
     */
    Content?: string;
    /**
     * 描述
     */
    Comment?: string;
    /**
     * 格式
     */
    Format?: string;
    /**
     * 创建者
     */
    CreateBy?: string;
    /**
     * 修改者
     */
    ModifyBy?: string;
    /**
     * 标签
     */
    Tags?: Array<ConfigFileTag>;
}
/**
 * DeleteCloudNativeAPIGatewayConsumerGroup请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayConsumerGroupRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * 消费者组ID
     */
    ConsumerGroupId: string;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelService请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelServiceRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>模型服务 ID，全局唯一标识。</p>
     */
    ModelServiceId: string;
}
/**
 * DescribeGovernanceAliases请求参数结构体
 */
export interface DescribeGovernanceAliasesRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 服务别名所指向的服务名。
     */
    Service?: string;
    /**
     * 服务别名所指向的命名空间名。
     */
    Namespace?: string;
    /**
     * 服务别名。
     */
    Alias?: string;
    /**
     * 服务别名命名空间。
     */
    AliasNamespace?: string;
    /**
     * 服务别名描述。
     */
    Comment?: string;
    /**
     * 偏移量，默认为0。
     */
    Offset?: number;
    /**
     * 返回数量，默认为20，最大值为100。
     */
    Limit?: number;
}
/**
 * ModifyCloudNativeAPIGatewayService返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayServiceResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * nacos服务端接口列表，用于云监控
 */
export interface NacosServerInterface {
    /**
     * 接口名
     */
    Interface?: string;
}
/**
 * DescribeInstanceTagInfos请求参数结构体
 */
export interface DescribeInstanceTagInfosRequest {
    /**
     * 实例ID
     */
    InstanceId: string;
}
/**
 * 治理中心命名空间输入参数
 */
export interface GovernanceNamespaceInput {
    /**
     * 命名空间名。
     */
    Name: string;
    /**
     * 描述信息。
     */
    Comment?: string;
    /**
     * 新增的可以操作此命名空间的用户ID列表
     */
    UserIds?: Array<string>;
    /**
     * 新增的可以操作此命名空间的用户组ID列表
     */
    GroupIds?: Array<string>;
    /**
     * 移除可以操作此命名空间的用户ID列表
     */
    RemoveUserIds?: Array<string>;
    /**
     * 移除可以操作此命名空间的用户组ID列表
     */
    RemoveGroupIds?: Array<string>;
    /**
     * 该命名空间下的服务对哪些命名空间下可见，
  1、为空或者不填写，表示仅当前命名空间可见
  2、列表内容仅一个元素，且为字符 *，表示所有命名空间可见（包括新增）
  3、列表内容为部份命名空间名称，则只对这些命名空间下可见
     */
    ServiceExportTo?: Array<string>;
    /**
     * 是否开启同步到全局注册中心
     */
    SyncToGlobalRegistry?: boolean;
}
/**
 * DeleteGovernanceServices返回参数结构体
 */
export interface DeleteGovernanceServicesResponse {
    /**
     * 删除服务结果。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewaySecretKey请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewaySecretKeyRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 密钥id
     */
    SecretKeyId: string;
}
/**
 * DeleteCloudNativeAPIGatewayCertificate返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayCertificateResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayCanaryRule请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayCanaryRuleRequest {
    /**
     * 网关 ID
     */
    GatewayId: string;
    /**
     * 服务 ID
     */
    ServiceId: string;
    /**
     * 优先级
     */
    Priority?: number;
    /**
     * 优先级列表，如果配置了此参数，将以此参数为准，忽略Priority参数
     */
    PriorityList?: Array<number | bigint>;
}
/**
 * 网关实例协议端口列表
 */
export interface GatewayInstanceSchemeAndPorts {
    /**
     * 端口协议，可选HTTP、HTTPS、TCP和UDP
     */
    Scheme?: string;
    /**
     * 端口列表
     */
    PortList?: Array<number | bigint>;
}
/**
 * 创建kong客户端公网结果
 */
export interface CreatePublicNetworkResult {
    /**
     * 网关实例ID
     */
    GatewayId?: string;
    /**
     * 分组ID
     */
    GroupId?: string;
    /**
     * 客户端公网网络ID
     */
    NetworkId?: string;
}
/**
 * CreateCloudNativeAPIGatewayLLMModelService请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayLLMModelServiceRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>服务名称，最长60个字符，支持中英文大小写、数字及分隔符（“-”、“_”)，不能以数字和分隔符开头，不能以分隔符结尾。</p>
     */
    Name: string;
    /**
     * <p>服务类型。目前仅支持 LLMService。</p><p>枚举值：</p><ul><li>LLMService： 大语言模型服务</li></ul>
     */
    ServiceType: string;
    /**
     * <p>选择模型提供商, 选项：OpenAI、Anthropic、Azure OpenAI等。</p>
     */
    ModelProvider: string;
    /**
     * <p>API协议标准，根据供应商动态变化：OpenAI→OpenAI/v1，Anthropic→Anthropic/v1等</p>
     */
    ModelProtocol: string;
    /**
     * <p>模型选择方式，选项：Specify（指定模型）、PassThrough（透传请求模型）。</p>
     */
    ModelSelector: string;
    /**
     * <p>LLM 厂商颁发的认证信息 token 。</p>
     */
    SecretKeyIds?: Array<string>;
    /**
     * <p>默认模型，模型选择方式为 Specify 时必填。</p>
     */
    DefaultModel?: string;
    /**
     * <p>开启模型降级，模型选择方式为 Specify 时必填。</p>
     */
    EnableModelFallback?: boolean;
    /**
     * <p>可以配置备用模型规则，EnableSpecifyModelFallbackxa0为 true 时必填。</p>
     */
    ModelFallbackRule?: CloudNativeAPIGatewayLLMModelFallbackRule;
    /**
     * <p>开启模型参数校验，是否校验客户端传递的 model 参数,xa0模型选择方式为 PassThrough 时必填</p>
     */
    EnableModelParamCheck?: boolean;
    /**
     * <p>模型检验信息，EnableModelParamCheckxa0为 true 时必填。</p>
     */
    ModelParamCheckRule?: CloudNativeAPIGatewayLLMModelParamCheckInfo;
    /**
     * <p>描述。</p>
     */
    Description?: string;
    /**
     * <p>服务提供商自定义 url</p>
     */
    UpstreamURL?: string;
    /**
     * <p>连接超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：10000</p>
     */
    ConnectTimeout?: number;
    /**
     * <p>写入超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：60000</p>
     */
    WriteTimeout?: number;
    /**
     * <p>读取超时时间</p><p>取值范围：[1, 3600000]</p><p>单位：毫秒</p><p>默认值：60000</p>
     */
    ReadTimeout?: number;
    /**
     * <p>重试次数</p><p>取值范围：[0, 5]</p><p>单位：次</p><p>默认值：0</p>
     */
    Retries?: number;
    /**
     * <p>路径拼接模式</p><p>枚举值：</p><ul><li>FixedPath： 固定地址</li><li>AutoConcat： 自动拼接</li></ul>
     */
    UpstreamUrlMode?: string;
    /**
     * <p>sni</p>
     */
    SNI?: string;
    /**
     * <p>模型服务级别的配额上限（RPM/TPM）。需要网关版本 ≥ 3.9.4。</p>
     */
    QuotaLimit?: AIGWLLMQuotaLimit;
    /**
     * <p>标签</p>
     */
    Tags?: Array<string>;
    /**
     * <p>模型改写规则</p>
     */
    ModelRewriteRules?: Array<AIGWModelRewriteRule>;
    /**
     * <p>服务来源ID</p>
     */
    SourceId?: string;
    /**
     * <p>服务来源命名空间</p>
     */
    Namespace?: string;
    /**
     * <p>服务来源服务名</p>
     */
    ServiceName?: string;
    /**
     * <p>服务来源协议</p>
     */
    Protocol?: string;
    /**
     * <p>扩展参数</p>
     */
    ExtParams?: Array<KeyValue>;
    /**
     * <p>自定义供应商名字</p>
     */
    CustomProviderName?: string;
    /**
     * <p>是否开启密钥轮转</p>
     */
    KeyRotationEnabled?: boolean;
    /**
     * <p>密钥轮转周期</p><p>单位：天数</p>
     */
    KeyRotationPeriodDays?: number;
    /**
     * <p>外部服务来源ID</p>
     */
    ExternalInstanceId?: string;
}
/**
 * DescribeNativeGatewayServiceSources请求参数结构体
 */
export interface DescribeNativeGatewayServiceSourcesRequest {
    /**
     * 网关实例ID
     */
    GatewayID: string;
    /**
     * 单页条数，最大100
     */
    Limit: number;
    /**
     * 分页偏移量
     */
    Offset: number;
    /**
     * 服务来源ID
     */
    SourceID?: string;
    /**
     * 服务来源实例名称，模糊搜索
     */
    SourceName?: string;
    /**
     * 微服务引擎类型：TSE-Nacos｜TSE-Consul｜TSE-PolarisMesh｜Customer-Nacos｜Customer-Consul｜Customer-PolarisMesh
     */
    SourceTypes?: Array<string>;
    /**
     * 排序字段类型，当前仅支持SourceName
     */
    OrderField?: string;
    /**
     * 排序类型，AES/DESC
     */
    OrderType?: string;
}
/**
 * CLB多可用区信息
 */
export interface CLBMultiRegion {
    /**
     * 是否启用多可用区
     */
    CLBMultiZoneFlag?: boolean;
    /**
     * 主可用区信息
     */
    CLBMasterZone?: string;
    /**
     * 备可用区信息
     */
    CLBSlaveZone?: string;
}
/**
 * CreateWafDomains返回参数结构体
 */
export interface CreateWafDomainsResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribePublicAddressConfig请求参数结构体
 */
export interface DescribePublicAddressConfigRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * 查询该分组的公网信息，不传则查询实例所有的公网负载均衡信息
     */
    GroupId?: string;
}
/**
 * CreateConfigFileGroup请求参数结构体
 */
export interface CreateConfigFileGroupRequest {
    /**
     * tse 实例 id
     */
    InstanceId: string;
    /**
     * 配置文件组实体
     */
    ConfigFileGroup: ConfigFileGroup;
}
/**
 * DescribeCloudNativeAPIGatewayUpstream返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayUpstreamResponse {
    /**
     * 无
     */
    Result?: KongUpstreamList;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateOrModifyCloudNativeAPIGatewayIPRestriction返回参数结构体
 */
export interface CreateOrModifyCloudNativeAPIGatewayIPRestrictionResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 模型名字重写规则
 */
export interface AIGWModelRewriteRule {
    /**
     * <p>原始模型</p>
     */
    SourceModel?: string;
    /**
     * <p>目标模型</p>
     */
    TargetModel?: string;
}
/**
 * 键值对
 */
export interface KVPair {
    /**
     * 键
     */
    Key?: string;
    /**
     * 值
     */
    Value?: string;
}
/**
 * 消费者列表
 */
export interface CNAPIGwConsumerList {
    /**
     * 总数
     */
    TotalCount?: number;
    /**
     * 消费者列表
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Consumers?: Array<CNAPIGwConsumer>;
}
/**
 * UpdateUpstreamTargets请求参数结构体
 */
export interface UpdateUpstreamTargetsRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 服务名称或ID
     */
    Name: string;
    /**
     * 实例列表
     */
    Targets?: Array<KongTarget>;
}
/**
 * DeleteCloudNativeAPIGatewayService返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayServiceResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeConfigFile请求参数结构体
 */
export interface DescribeConfigFileRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 组
     */
    Group?: string;
    /**
     * 配置文件名称
     */
    Name?: string;
    /**
     * 配置文件Id
     */
    Id?: string;
}
/**
 * 实例监听端口信息
 */
export interface InstancePort {
    /**
     * 监听的 http 端口范围。
     */
    HttpPort?: string;
    /**
     * 监听的 https 端口范围。
     */
    HttpsPort?: string;
    /**
     * 监听的 tcp 端口范围。
     */
    TcpPort?: string;
    /**
     * 监听的 udp 端口范围。
     */
    UdpPort?: string;
}
/**
 * ModifyCloudNativeAPIGatewayConsumer请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayConsumerRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * <p>消费者 ID。</p>
     */
    ConsumerId: string;
    /**
     * <p>消费者名称，最长 60 字符。</p>
     */
    Name: string;
    /**
     * <p>消费者描述。最长 200 字符。</p>
     */
    Description?: string;
}
/**
 * DeleteNativeGatewayServerGroup请求参数结构体
 */
export interface DeleteNativeGatewayServerGroupRequest {
    /**
     * 网关实例id。
  只支持后付费实例
     */
    GatewayId: string;
    /**
     * 网关分组id
     */
    GroupId: string;
}
/**
 * DescribeCloudNativeAPIGatewayConsumerGroupList请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerGroupListRequest {
    /**
     * <p>网关实例id</p>
     */
    GatewayId: string;
    /**
     * <p>每页条数，范围 [1, 100]，默认 10。</p>
     */
    Limit: number;
    /**
     * <p>起始位置，从 0 开始。</p>
     */
    Offset: number;
}
/**
 * RollbackConfigFileReleases返回参数结构体
 */
export interface RollbackConfigFileReleasesResponse {
    /**
     * 回滚结果
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 配置文件发布历史
 */
export interface ConfigFileReleaseHistory {
    /**
     * 配置文件发布历史记录id
     */
    Id?: number;
    /**
     * 配置文件发布历史名称
     */
    Name?: string;
    /**
     * 配置文件发布历史命名空间
     */
    Namespace?: string;
    /**
     * 配置文件发布历史组
     */
    Group?: string;
    /**
     * 配置文件发布历史名称
     */
    FileName?: string;
    /**
     * 配置文件发布历史内容
     */
    Content?: string;
    /**
     * 配置文件发布历史格式
     */
    Format?: string;
    /**
     * 配置文件发布历史注释
     */
    Comment?: string;
    /**
     * 配置文件发布历史Md5
     */
    Md5?: string;
    /**
     * 配置文件发布历史类型
     */
    Type?: string;
    /**
     * 配置文件发布历史状态
     */
    Status?: string;
    /**
     * 配置文件发布历史标签组
     */
    Tags?: Array<ConfigFileTag>;
    /**
     * 配置文件发布创建时间
     */
    CreateTime?: string;
    /**
     * 配置文件发布创建者
     */
    CreateBy?: string;
    /**
     * 配置文件发布修改时间
     */
    ModifyTime?: string;
    /**
     * 配置文件发布修改者
     */
    ModifyBy?: string;
    /**
     * 发布描述
     */
    ReleaseDescription?: string;
    /**
     * 原因，用于失败时原因展示
     */
    ReleaseReason?: string;
    /**
     * 配置文件类型
  
     */
    ConfigFileSupportedClient?: number;
    /**
     * 配置文件持久化
     */
    ConfigFilePersistent?: ConfigFilePersistent;
}
/**
 * 删除网关实例结果
 */
export interface DeleteNativeGatewayServerGroupResult {
    /**
     * 网关实例id
     */
    GatewayId?: string;
    /**
     * 网关分组id
     */
    GroupId?: string;
    /**
     * 删除状态
     */
    Status?: string;
    /**
     * 任务ID
     */
    TaskId?: string;
}
/**
 * 服务治理相关的信息
 */
export interface ServiceGovernanceInfo {
    /**
     * 引擎所在的地域
     */
    EngineRegion: string;
    /**
     * 服务治理引擎绑定的kubernetes集群信息
     */
    BoundK8SInfos?: Array<BoundK8SInfo>;
    /**
     * 服务治理引擎绑定的网络信息
     */
    VpcInfos?: Array<VpcInfo>;
    /**
     * 当前实例鉴权是否开启
     */
    AuthOpen?: boolean;
    /**
     * 该实例支持的功能，鉴权就是 Auth
     */
    Features?: Array<string>;
    /**
     * 主账户名默认为 polaris，该值为主账户的默认密码
     */
    MainPassword?: string;
    /**
     * 服务治理pushgateway引擎绑定的网络信息
     */
    PgwVpcInfos?: Array<VpcInfo>;
    /**
     * 服务治理限流server引擎绑定的网络信息
     */
    LimiterVpcInfos?: Array<VpcInfo>;
    /**
     * 引擎关联CLS日志主题信息
     */
    CLSTopics?: Array<PolarisCLSTopicInfo>;
    /**
     * 子用户密码
     */
    SubPassword?: string;
}
/**
 * DescribeNacosReplicas返回参数结构体
 */
export interface DescribeNacosReplicasResponse {
    /**
     * 引擎实例副本信息
     */
    Replicas?: Array<NacosReplica>;
    /**
     * 副本个数
     */
    TotalCount?: number;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * Kong网关被动健康检查配置
 */
export interface KongPassiveHealthCheck {
    /**
     * 后端target协议类型，被动健康检查支持http和tcp，主动健康检查支持http
     */
    Type?: string;
}
/**
 * 灰度规则 Priority - Rule
 */
export interface CanaryPriorityRule {
    /**
     * 优先级
     */
    Priority?: number;
    /**
     * 灰度规则配置
     */
    CanaryRule?: CloudNativeAPIGatewayCanaryRule;
}
/**
 * 云原生API网关vpc配置。
 */
export interface CloudNativeAPIGatewayVpcConfig {
    /**
     * 私有网络ID。
     */
    VpcId?: string;
    /**
     * 子网ID。
     */
    SubnetId?: string;
}
/**
 * DescribeGovernanceInstances返回参数结构体
 */
export interface DescribeGovernanceInstancesResponse {
    /**
     * 服务实例总数量。
     */
    TotalCount?: number;
    /**
     * 服务里实例列表。
     */
    Content?: Array<GovernanceInstance>;
    /**
     * 地域
     */
    Location?: Location;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * LLM 模型 API 列表
 */
export interface ListCloudNativeAPIGatewayLLMModelAPI {
    /**
     * 总数
     */
    TotalCount?: number;
    /**
     * AI 网关模型 API 列表。
     */
    DataList?: Array<CloudNativeAPIGatewayLLMModelAPI>;
}
/**
 * ModifyGovernanceNamespaces返回参数结构体
 */
export interface ModifyGovernanceNamespacesResponse {
    /**
     * 操作是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateConfigFile返回参数结构体
 */
export interface CreateConfigFileResponse {
    /**
     * 是否创建成功
     */
    Result?: boolean;
    /**
     * 创建的配置文件Id
     */
    ConfigFileId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGateways请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewaysRequest {
    /**
     * <p>返回数量，默认为 20，最大值为 100。</p>
     */
    Limit?: number;
    /**
     * <p>偏移量，默认为 0。</p>
     */
    Offset?: number;
    /**
     * <p>请求过滤参数，支持按照实例名称、ID和标签键值（Name、GatewayId、Tag）筛选</p>
     */
    Filters?: Array<Filter>;
}
/**
 * DescribeCloudNativeAPIGatewaySecretKeyList请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewaySecretKeyListRequest {
    /**
     * <p>实例 ID</p>
     */
    GatewayId: string;
    /**
     * <p>每页条数，范围 [1, 100]，默认 10。</p>
     */
    Limit: number;
    /**
     * <p>起始位置，从 0 开始。</p>
     */
    Offset: number;
    /**
     * <p>密钥归属资源类型。UseToBind=true 时必填。</p><p>枚举值：</p><ul><li>Consumer：消费者</li><li>ModelService：模型服务</li></ul>
     */
    ResourceType?: string;
}
/**
 * 获取云原生API网关实例网络配置结果。
 */
export interface DescribeCloudNativeAPIGatewayConfigResult {
    /**
     * 网关实例ID。
     */
    GatewayId?: string;
    /**
     * 分组网络配置列表。
     */
    ConfigList?: Array<CloudNativeAPIGatewayConfig>;
    /**
     * 分组子网信息
     */
    GroupSubnetId?: string;
    /**
     * 分组VPC信息
     */
    GroupVpcId?: string;
    /**
     * 分组ID
     */
    GroupId?: string;
}
/**
 * 泳道规则
 */
export interface GovernanceLaneRule {
    /**
     * 泳道规则ID
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ID?: string;
    /**
     * 泳道名称
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Name?: string;
    /**
     * 泳道所属泳道组
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LaneGroup?: string;
    /**
     * 泳道规则启用状态
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Enable?: boolean;
    /**
     * 流量标签
  注意：此字段可能返回 null，表示取不到有效值。
     */
    TrafficLabels?: Array<Argument>;
    /**
     * 多个流量标签匹配方式
  AND：与
  OR：或
  注意：此字段可能返回 null，表示取不到有效值。
     */
    TrafficMatchMode?: string;
    /**
     * 泳道匹配方式
  STRICT：严格匹配
  PERMISSIVE：宽松匹配
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LaneMatchMode?: string;
    /**
     * 泳道灰度规则
     */
    TrafficGray?: TrafficGray;
    /**
     * 泳道规则描述
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Description?: string;
    /**
     * 泳道标签内容
  注意：此字段可能返回 null，表示取不到有效值。
     */
    LaneLabelValue?: string;
    /**
     * 创建时间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    CreateTime?: string;
    /**
     * 启用时间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    EnableTime?: string;
    /**
     * 修改时间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    ModifyTime?: string;
    /**
     * 泳道规则优先级
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Priority?: number;
    /**
     * 规则摘要
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Revision?: string;
}
/**
 * DeleteCloudNativeAPIGatewayService请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayServiceRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务名字，服务ID
     */
    Name: string;
    /**
     * 是否同步删除服务上绑定的路由
     */
    DeleteRoutes?: boolean;
}
/**
 * 路由规则来源服务的请求规则配置详情
 */
export interface Argument {
    /**
     * 类型
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Type?: string;
    /**
     * key值
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Key?: string;
    /**
     * 匹配条件参数
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Value?: ArgumentValue;
}
/**
 * 查询云原生网关访问控制配置出参
 */
export interface DescribeKongIpRestrictionResult {
    /**
     * 访问控制插件绑定的资源类型：route | service
  注意：此字段可能返回 null，表示取不到有效值。
     */
    SourceType?: string;
    /**
     * 路由或服务的id
  注意：此字段可能返回 null，表示取不到有效值。
     */
    SourceId?: string;
    /**
     * 是否启用插件
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Enabled?: boolean;
    /**
     * 访问控制类型：whiteList｜blackList
  注意：此字段可能返回 null，表示取不到有效值。
     */
    RestrictionType?: string;
    /**
     * cidr｜ip
  注意：此字段可能返回 null，表示取不到有效值。
     */
    AddressList?: Array<string>;
}
/**
 * 微服务网关选择器
 */
export interface ServiceGatewaySelector {
    /**
     * 命名空间
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Namespace: string;
    /**
     * 服务
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Service: string;
    /**
     * 实例标签
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Labels?: Array<Label>;
}
/**
 * DescribePublicNetwork返回参数结构体
 */
export interface DescribePublicNetworkResponse {
    /**
     * 获取云原生API网关公网详情响应结果。
     */
    Result?: DescribePublicNetworkResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * RemoveCloudNativeAPIGatewayConsumerInGroup返回参数结构体
 */
export interface RemoveCloudNativeAPIGatewayConsumerInGroupResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * Zookeeper的地域额外信息记录
 */
export interface ZookeeperRegionInfo {
    /**
     * 部署架构信息
  
  - SingleRegion: 普通单地域
  - MultiRegion: 普通多地域场景
  - MasterSlave: 两地域，主备地域场景
     */
    DeployMode?: string;
    /**
     * 主地域的额外信息
     */
    MainRegion?: ZookeeperRegionMyIdInfo;
    /**
     * 其他地域的额外信息
     */
    OtherRegions?: Array<ZookeeperRegionMyIdInfo>;
}
/**
 * DescribeInstanceTagInfos返回参数结构体
 */
export interface DescribeInstanceTagInfosResponse {
    /**
     * 实例ID
     */
    InstanceId?: string;
    /**
     * 实例标签集合
     */
    TagInfos?: Array<InstanceTagInfo>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteConfigFiles请求参数结构体
 */
export interface DeleteConfigFilesRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
    /**
     * 命名空间
     */
    Namespace?: string;
    /**
     * 配置分组名称
     */
    Group?: string;
    /**
     * 配置文件名称
     */
    Name?: string;
    /**
     * 配置文件Id
     */
    Id?: string;
}
/**
 * DescribeGovernanceServices返回参数结构体
 */
export interface DescribeGovernanceServicesResponse {
    /**
     * <p>服务数总量。</p>
     */
    TotalCount?: number;
    /**
     * <p>服务信息详情。</p>
     */
    Content?: Array<GovernanceService>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CloseWafProtection返回参数结构体
 */
export interface CloseWafProtectionResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateAutoScalerResourceStrategy返回参数结构体
 */
export interface CreateAutoScalerResourceStrategyResponse {
    /**
     * 是否成功
     * @deprecated
     */
    Result?: boolean;
    /**
     * 策略Id
     */
    StrategyId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * UpdateCloudNativeAPIGatewaySpec请求参数结构体
 */
export interface UpdateCloudNativeAPIGatewaySpecRequest {
    /**
     * 云原生API网关实例ID。
  只支持后付费实例
     */
    GatewayId: string;
    /**
     * 网关分组id
     */
    GroupId: string;
    /**
     * 网关分组节点规格配置。
     */
    NodeConfig: CloudNativeAPIGatewayNodeConfig;
}
/**
 * DeleteEngine请求参数结构体
 */
export interface DeleteEngineRequest {
    /**
     * 引擎实例 ID
     */
    InstanceId: string;
}
/**
 * ModifyNetworkBasicInfo请求参数结构体
 */
export interface ModifyNetworkBasicInfoRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 分组id
     */
    GroupId: string;
    /**
     * 网络类型：
  - Open 公网ipv4
  - Open-IPv6 公网ipv6
  - Internal 内网
     */
    NetworkType: string;
    /**
     * ip地址
     */
    Vip: string;
    /**
     * 公网出流量带宽[1,2048]Mbps
     */
    InternetMaxBandwidthOut?: number;
    /**
     * 负载均衡描述
     */
    Description?: string;
    /**
     * 负载均衡的规格类型，支持：
  - 不传为共享型。
  - clb.c2.medium：标准型规格
  - clb.c3.small：高阶型1规格
  - clb.c3.medium：高阶型2规格
  - clb.c4.small：超强型1规格
  - clb.c4.medium：超强型2规格
  - clb.c4.large：超强型3规格
  - clb.c4.xlarge：超强型4规格
     */
    SlaType?: string;
}
/**
 * ModifyCloudNativeAPIGatewayServiceRateLimit请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayServiceRateLimitRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务名称，或服务ID
     */
    Name: string;
    /**
     * 限流配置
     */
    LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
}
/**
 * DescribeCloudNativeAPIGatewayCanaryRules返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCanaryRulesResponse {
    /**
     * 灰度规则列表
     */
    Result?: CloudAPIGatewayCanaryRuleList;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGatewayCertificate请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayCertificateRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 证书Id
     */
    Id: string;
}
/**
 * 云原生网关分组信息
 */
export interface NativeGatewayServerGroup {
    /**
     * 云原生网关分组唯一id
     */
    GroupId?: string;
    /**
     * 分组名
     */
    Name?: string;
    /**
     * 描述信息
     */
    Description?: string;
    /**
     * 节点规格、节点数信息
     */
    NodeConfig?: CloudNativeAPIGatewayNodeConfig;
    /**
     * 网关分组状态。
     */
    Status?: string;
    /**
     * 创建时间
     */
    CreateTime?: string;
    /**
     * 是否是默认分组。
  0：否。
  1：是。
     */
    IsFirstGroup?: number;
    /**
     * 关联策略信息
     */
    BindingStrategy?: CloudNativeAPIGatewayStrategy;
    /**
     * 网关实例 id
     */
    GatewayId?: string;
    /**
     * 带宽
     */
    InternetMaxBandwidthOut?: number;
    /**
     * 修改时间
     */
    ModifyTime?: string;
    /**
     * 子网id
     */
    SubnetIds?: string;
    /**
     * 分组默认权重
     */
    DefaultWeight?: number;
    /**
     * 弹性节点
     */
    ElasticNumber?: number;
    /**
     * 是否支持TOA
     */
    SupportTOA?: boolean;
    /**
     * 是否支持IPV6
     */
    SupportIPV6?: boolean;
}
/**
 * 跨服务降级配置
 */
export interface AIGWCrossServiceFallbackConfig {
    /**
     * <p>触发条件</p><p>枚举值：</p><ul><li>ServiceUnavailable： 服务不可用</li><li>ConnectionTimeout： 连接超时</li><li>RateLimited： 限流</li></ul>
     */
    TriggerConditions: Array<string>;
    /**
     * <p>fallback 服务链</p>
     */
    FallbackServiceChain: Array<AIGWFallbackServiceItem>;
    /**
     * <p>额度降级触发配置</p>
     */
    QuotaFallbackTrigger?: AIGWLLMQuotaFallbackTrigger;
}
/**
 * DescribeZookeeperServerInterfaces返回参数结构体
 */
export interface DescribeZookeeperServerInterfacesResponse {
    /**
     * 接口总个数
     */
    TotalCount?: number;
    /**
     * 接口列表
     */
    Content?: Array<ZookeeperServerInterface>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * AddCloudNativeAPIGatewayConsumerInGroup请求参数结构体
 */
export interface AddCloudNativeAPIGatewayConsumerInGroupRequest {
    /**
     * 网关实例id
     */
    GatewayId: string;
    /**
     * <p>消费者组 ID（以 cg- 开头）。</p>
     */
    ConsumerGroupId: string;
    /**
     * <p>消费者 ID 列表，长度 1-10。</p>
     */
    ConsumerIds: Array<string>;
}
/**
 * DescribeConfigFileReleaseVersions返回参数结构体
 */
export interface DescribeConfigFileReleaseVersionsResponse {
    /**
     * 版本信息
     */
    ReleaseVersions?: Array<ReleaseVersion>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateCloudNativeAPIGatewayConsumer返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayConsumerResponse {
    /**
     * <p>创建结果。包含成功标识与新建资源 ID。</p>
     */
    Result?: CNAPIGwCreateCommonResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 模型服务模型名称路由策略
 */
export interface CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy {
    /**
     * <p>模型服务id</p>
     */
    ModelServiceId: string;
    /**
     * <p>匹配模型服务</p>
     */
    MatchModelName: string;
    /**
     * <p>重写模型</p>
     */
    RewriteModelName?: string;
}
/**
 * DeleteCloudNativeAPIGatewayLLMModelAPI返回参数结构体
 */
export interface DeleteCloudNativeAPIGatewayLLMModelAPIResponse {
    /**
     * <p>是否成功。</p>
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteCloudNativeAPIGateway请求参数结构体
 */
export interface DeleteCloudNativeAPIGatewayRequest {
    /**
     * 云原生API网关实例ID。
     */
    GatewayId: string;
    /**
     * 是否删除实例关联的 CLS 日志主题。
     */
    DeleteClsTopic?: boolean;
}
/**
 * DescribeCloudNativeAPIGatewayCertificateDetails返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCertificateDetailsResponse {
    /**
     * 无
     */
    Result?: KongCertificate;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * CreateGovernanceServices返回参数结构体
 */
export interface CreateGovernanceServicesResponse {
    /**
     * 创建是否成功。
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 查询过滤通用对象
 */
export interface Filter {
    /**
     * 过滤参数名
     */
    Name: string;
    /**
     * 过滤参数值
     */
    Values: Array<string>;
}
/**
 * RestartSREInstance请求参数结构体
 */
export interface RestartSREInstanceRequest {
    /**
     * 微服务引擎实例Id
     */
    InstanceId: string;
    /**
     * 重启的环境类型（PROD，DEV，UAT等）
     */
    EnvTypes?: Array<string>;
    /**
     * 指定需要重启的实例节点（当前仅支持zk单节点重启）
     */
    NodeName?: string;
}
/**
 * CreateOrUpdateConfigFileAndRelease返回参数结构体
 */
export interface CreateOrUpdateConfigFileAndReleaseResponse {
    /**
     * 操作是否成功
     */
    Result?: boolean;
    /**
     * 配置发布Id
     */
    ConfigFileReleaseId?: string;
    /**
     * 配置文件Id
     */
    ConfigFileId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeOneCloudNativeAPIGatewayService返回参数结构体
 */
export interface DescribeOneCloudNativeAPIGatewayServiceResponse {
    /**
     * 无
     */
    Result?: KongServiceDetail;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteNativeGatewayServiceSource请求参数结构体
 */
export interface DeleteNativeGatewayServiceSourceRequest {
    /**
     * 网关实例 ID
     */
    GatewayID: string;
    /**
     * 服务来源实例 ID
     */
    SourceID: string;
}
/**
 * DescribeCloudNativeAPIGatewayServicesLight返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayServicesLightResponse {
    /**
     * 无
     */
    Result?: GatewayServices;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * RestartSREInstance返回参数结构体
 */
export interface RestartSREInstanceResponse {
    /**
     * 任务ID
     */
    TaskId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeZookeeperServerInterfaces请求参数结构体
 */
export interface DescribeZookeeperServerInterfacesRequest {
    /**
     * 实例id
     */
    InstanceId?: string;
    /**
     * 返回的列表个数
     */
    Limit?: number;
    /**
     * 返回的列表起始偏移量
     */
    Offset?: number;
}
/**
 * DescribeCloudNativeAPIGatewayLLMModelService返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewayLLMModelServiceResponse {
    /**
     * <p>模型服务。</p>
     */
    Result?: CloudNativeAPIGatewayLLMModelService;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewaySecretKey请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewaySecretKeyRequest {
    /**
     * <p>实例 ID</p>
     */
    GatewayId: string;
    /**
     * <p>密钥id</p>
     */
    SecretKeyId: string;
}
/**
 * DeleteGovernanceLaneGroups请求参数结构体
 */
export interface DeleteGovernanceLaneGroupsRequest {
    /**
     * 引擎实例ID
     */
    InstanceId: string;
    /**
     * 泳道组规则列表
     */
    LaneGroups: Array<DeleteGovernanceLaneGroup>;
}
/**
 * DeleteGovernanceServices请求参数结构体
 */
export interface DeleteGovernanceServicesRequest {
    /**
     * tse实例id。
     */
    InstanceId: string;
    /**
     * 服务信息。
     */
    GovernanceServices: Array<GovernanceServiceInput>;
}
/**
 * ModifyGovernanceServices返回参数结构体
 */
export interface ModifyGovernanceServicesResponse {
    /**
     * 是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteConfigFileReleases请求参数结构体
 */
export interface DeleteConfigFileReleasesRequest {
    /**
     * 实例id
     */
    InstanceId: string;
    /**
     * 待删除配置发布详情
     */
    ConfigFileReleases: Array<ConfigFileReleaseDeletion>;
}
/**
 * CreateAutoScalerResourceStrategy请求参数结构体
 */
export interface CreateAutoScalerResourceStrategyRequest {
    /**
     * 网关实例ID
     */
    GatewayId: string;
    /**
     * 策略名称
     */
    StrategyName: string;
    /**
     * 策略描述
     */
    Description?: string;
    /**
     * 指标伸缩配置
     */
    Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
    /**
     * 定时伸缩配置列表
     * @deprecated
     */
    CronScalerConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
    /**
     * 最大节点数
     * @deprecated
     */
    MaxReplicas?: number;
    /**
     * 定时伸缩配置
     */
    CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
}
/**
 * AI 网关自定义脱敏规则（A 层 / B 层共用结构体，MaskFormat 含义随所属层不同）
 */
export interface AIGWCustomDesensitizeRule {
    /**
     * <p>自定义脱敏规则名称</p>
     */
    Name: string;
    /**
     * <p>自定义脱敏规则匹配正则</p>
     */
    Pattern: string;
    /**
     * <p>自定义脱敏规则掩码</p>
     */
    MaskFormat: string;
    /**
     * <p>自定义脱敏规则开关</p>
     */
    Enabled: boolean;
}
/**
 * kong实例的服务列表
 */
export interface KongServices {
    /**
     * kong实例的服务列表
     */
    ServiceList?: Array<KongServicePreview>;
    /**
     * 列表总数
     */
    TotalCount?: number;
}
/**
 * ModifyNativeGatewayServiceSource返回参数结构体
 */
export interface ModifyNativeGatewayServiceSourceResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 创建网关分组信息
 */
export interface CreateCloudNativeAPIGatewayServerGroupResult {
    /**
     * 网关实例id
     */
    GatewayId?: string;
    /**
     * 分组id
     */
    GroupId?: string;
    /**
     * 状态
     */
    Status?: string;
    /**
     * 任务ID
     */
    TaskId?: string;
}
/**
 * DescribeGovernanceServiceContracts返回参数结构体
 */
export interface DescribeGovernanceServiceContractsResponse {
    /**
     * 总数
     */
    TotalCount?: number;
    /**
     * 返回条数
     */
    Size?: number;
    /**
     * 契约定义列表
     */
    ServiceContracts?: Array<GovernanceServiceContract>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * UpdateUpstreamHealthCheckConfig返回参数结构体
 */
export interface UpdateUpstreamHealthCheckConfigResponse {
    /**
     * 是否成功
     */
    Result?: boolean;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 云原生网关服务详细信息
 */
export interface KongServiceDetail {
    /**
     * 服务ID
     */
    ID: string;
    /**
     * 服务名字
     */
    Name?: string;
    /**
     * 后端协议
     */
    Protocol?: string;
    /**
     * 后端路径
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Path?: string;
    /**
     * 后端延时，单位ms
     */
    Timeout?: number;
    /**
     * 重试次数
     */
    Retries?: number;
    /**
     * 标签
  注意：此字段可能返回 null，表示取不到有效值。
     */
    Tags?: Array<string>;
    /**
     * 后端配置
     */
    UpstreamInfo?: KongUpstreamInfo;
    /**
     * 后端类型
     */
    UpstreamType?: string;
    /**
     * 是否可编辑
     */
    Editable?: boolean;
    /**
     * 创建时间
     */
    CreatedTime?: string;
}
/**
 * Zookeeper服务端接口列表，用于云监控
 */
export interface ZookeeperServerInterface {
    /**
     * 接口名
     */
    Interface?: string;
}
/**
 * DescribeCloudNativeAPIGatewayConsumer请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayConsumerRequest {
    /**
     * <p>网关实例id</p>
     */
    GatewayId: string;
    /**
     * <p>消费者ID</p>
     */
    ConsumerId: string;
}
/**
 * 获取云原生api网关公网地址信息响应结果
 */
export interface DescribePublicAddressConfigResult {
    /**
     * 网关实例id
     */
    GatewayId?: string;
    /**
     * 公网地址信息
     */
    ConfigList?: Array<PublicAddressConfig>;
    /**
     * 总个数
     */
    TotalCount?: number;
}
/**
 * CreateCloudNativeAPIGatewayRoute请求参数结构体
 */
export interface CreateCloudNativeAPIGatewayRouteRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 所属服务的ID
     */
    ServiceID: string;
    /**
     * 路由的名字，实例级别唯一，可以不提供
     */
    RouteName?: string;
    /**
     * 路由的方法，其中方法可选值：
  - GET
  - POST
  - DELETE
  - PUT
  - OPTIONS
  - PATCH
  - HEAD
  - ANY
  - TRACE
  - COPY
  - MOVE
  - PROPFIND
  - PROPPATCH
  - MKCOL
  - LOCK
  - UNLOCK
     */
    Methods?: Array<string>;
    /**
     * 路由的域名
     */
    Hosts?: Array<string>;
    /**
     * 路由的路径
     */
    Paths?: Array<string>;
    /**
     * 路由的协议，可选
  - https
  - http
     */
    Protocols?: Array<string>;
    /**
     * 转发到后端时是否保留Host
     */
    PreserveHost?: boolean;
    /**
     * https重定向状态码
     */
    HttpsRedirectStatusCode?: number;
    /**
     * 转发到后端时是否StripPath
     */
    StripPath?: boolean;
    /**
     * 是否开启强制HTTPS
     * @deprecated
     */
    ForceHttps?: boolean;
    /**
     * 四层匹配的目的端口
     */
    DestinationPorts?: Array<number | bigint>;
    /**
     * 路由的Headers
     */
    Headers?: Array<KVMapping>;
    /**
     * 是否缓存请求body，默认true
     */
    RequestBuffering?: boolean;
    /**
     * 是否缓存响应body，默认true
     */
    ResponseBuffering?: boolean;
    /**
     * 正则优先级
     */
    RegexPriority?: number;
    /**
     * queryString参数
     */
    QueryStringParameters?: Array<KVMapping>;
}
/**
 * 网关分组列表
 */
export interface NativeGatewayServerGroups {
    /**
     * 总数
     */
    TotalCount: number;
    /**
     * 分组信息数组。
     */
    GatewayGroupList: Array<NativeGatewayServerGroup>;
}
/**
 * CreateEngine请求参数结构体
 */
export interface CreateEngineRequest {
    /**
     * 引擎类型。参考值：
  - zookeeper
  - nacos
  - consul
  - apollo
  - eureka
  - polaris
     */
    EngineType: string;
    /**
     * 引擎的开源版本。每种引擎支持的开源版本不同，请参考产品文档或者控制台购买页
     */
    EngineVersion: string;
    /**
     * 引擎的产品版本。参考值：
  - STANDARD： 标准版
  - PROFESSIONAL: 专业版（Zookeeper）/企业版（PolarisMesh）
  
  引擎各版本及可选择的规格、节点数说明：
  apollo - STANDARD版本
  规格列表：1C2G、2C4G、4C8G、8C16G、16C32G
  节点数：1，2，3，4，5
  
  eureka - STANDARD版本
  规格列表：1C2G、2C4G、4C8G、8C16G、16C32G
  节点数：3，4，5
  
  polarismesh - STANDARD版本
  规格列表：NUM50、NUM100、NUM200、NUM500、NUM1000、NUM5000、NUM10000、NUM50000
  
  兼容原spec-xxxxxx形式的规格ID
     */
    EngineProductVersion: string;
    /**
     * 引擎所在地域。参考值说明：
  中国区 参考值：
  - ap-guangzhou：广州
  - ap-beijing：北京
  - ap-chengdu：成都
  - ap-chongqing：重庆
  - ap-nanjing：南京
  - ap-shanghai：上海
  - ap-hongkong：香港
  - ap-taipei：台北
  亚太区 参考值：
  - ap-jakarta：雅加达
  - ap-singapore：新加坡
  北美区 参考值
  - na-siliconvalley：硅谷
  - na-ashburn: 弗吉尼亚
  金融专区 参考值
  - ap-beijing-fsi：北京金融
  - ap-shanghai-fsi：上海金融
  - ap-shenzhen-fsi：深圳金融
     */
    EngineRegion: string;
    /**
     * 引擎名称。参考值：
  - eurek-test
     */
    EngineName: string;
    /**
     * 付费类型。参考值：
  - 0：后付费
  - 1：预付费（接口暂不支持创建预付费实例）
     */
    TradeType: number;
    /**
     * 引擎的节点规格 ID。参见EngineProductVersion字段说明
  北极星支持的引擎规格ID与节点数对应关系：
  基础版：
  spec-c160bas1 500
  spec-c160bas2 1000
  spec-c160bas3 2000
  spec-c160bas4 5000
  spec-c160bas5 10000
  spec-c160bas6 20000
  spec-c160bas7 50000
  企业版：
  spec-c160pro50 50
  spec-c160pro100 100
  spec-c160pro200 200
  spec-c160pro500 500
  spec-c160pro1k 1000
  spec-c160pro5k 5000
  spec-c160pro10k 10000
  spec-c160pro20k 20000
  spec-c160pro50k 50000
  开发版：
  spec-c160dev1 50
     */
    EngineResourceSpec?: string;
    /**
     * 引擎的节点数量。参见EngineProductVersion字段说明
     */
    EngineNodeNum?: number;
    /**
     * VPC ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值：
  - vpc-conz6aix
     */
    VpcId?: string;
    /**
     * 子网 ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值：
  - subnet-ahde9me9
     */
    SubnetId?: string;
    /**
     * Apollo 环境配置参数列表。参数说明：
  如果创建Apollo类型，此参数为必填的环境信息列表，最多可选4个环境。环境信息参数说明：
  - Name：环境名。参考值：prod, dev, fat, uat
  - EngineResourceSpec：环境内引擎的节点规格ID。参见EngineProductVersion参数说明
  - EngineNodeNum：环境内引擎的节点数量。参见EngineProductVersion参数说明，其中prod环境支持的节点数为2，3，4，5
  - StorageCapacity：配置存储空间大小，以GB为单位，步长为5.参考值：35
  - VpcId：VPC ID。参考值：vpc-conz6aix
  - SubnetId：子网 ID。参考值：subnet-ahde9me9
     */
    ApolloEnvParams?: Array<ApolloEnvParam>;
    /**
     * 引擎的标签列表。用户自定义的key/value形式，无参考值
     */
    EngineTags?: Array<InstanceTagInfo>;
    /**
     * 引擎的初始账号信息。可设置参数：
  - Name：控制台初始用户名
  - Password：控制台初始密码
  - Token：引擎接口的管理员 Token
     */
    EngineAdmin?: EngineAdmin;
    /**
     * 预付费时长，以月为单位
     */
    PrepaidPeriod?: number;
    /**
     * 自动续费标记，仅预付费使用。参考值：
  - 0：不自动续费
  - 1：自动续费
     */
    PrepaidRenewFlag?: number;
    /**
     * 跨地域部署的引擎地域配置详情
  zk标准版没有跨地域部署，请不要填写
  zk专业版跨地域部署开启了固定Leader所在地域，需要满足以下条件
  - 固定Leader所在地域当前仅支持跨两个地域
  - leader地域的副本数必须是3/2 + 1，5/2+1，7/2+1，也就是 2，3，4
     */
    EngineRegionInfos?: Array<EngineRegionInfo>;
    /**
     * zk标准版请填CLOUD_PREMIUM，zk标准版无法选择磁盘类型和磁盘容量，默认为CLOUD_PREMIUM
  zk专业版可以为：CLOUD_SSD,CLOUD_SSD_PLUS,CLOUD_PREMIUM
     */
    StorageType?: string;
    /**
     * zk标准版请填50，zk标准版无法选择磁盘类型和磁盘容量，磁盘容量默认为50
     */
    StorageCapacity?: number;
    /**
     * zk专业版至多有两个盘，且磁盘的容量在50-3200之间
  如果只有一个磁盘，storageCapacity与storageOption里面的capacity应该一致
     */
    StorageOption?: Array<StorageOption>;
    /**
     * ZK引擎实例，可用区分布约束，STRICT:强约束，PERMISSIVE: 弱约束
     */
    AffinityConstraint?: string;
    /**
     * 指定zone id列表
     */
    ZoneIds?: Array<number | bigint>;
    /**
     * 地域特殊标签，用于区分相同地域，不通的业务属性
     */
    EngineRegionTag?: string;
}
/**
 * DescribeGovernanceLaneGroups请求参数结构体
 */
export interface DescribeGovernanceLaneGroupsRequest {
    /**
     * 引擎实例ID
     */
    InstanceId: string;
    /**
     * 分页查询偏移量
     */
    Offset: number;
    /**
     * 分页条数
     */
    Limit: number;
    /**
     * 泳道名称
     */
    Name?: string;
    /**
     * 泳道ID
     */
    GroupID?: string;
    /**
     * 是否展示泳道规则列表
     */
    Brief?: boolean;
}
/**
 * DescribeCloudNativeAPIGatewaySecretKeyValue返回参数结构体
 */
export interface DescribeCloudNativeAPIGatewaySecretKeyValueResponse {
    /**
     * 密钥值
     */
    Result?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DeleteWafDomains返回参数结构体
 */
export interface DeleteWafDomainsResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 创建云原生API网关响应结果。
 */
export interface CreateCloudNativeAPIGatewayResult {
    /**
     * 云原生API网关ID。
     */
    GatewayId?: string;
    /**
     * 云原生网关状态。
     */
    Status?: string;
    /**
     * 任务ID
     */
    TaskId?: string;
}
/**
 * ModifyCloudNativeAPIGatewayRouteRateLimit返回参数结构体
 */
export interface ModifyCloudNativeAPIGatewayRouteRateLimitResponse {
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeConfigFileReleaseHistories返回参数结构体
 */
export interface DescribeConfigFileReleaseHistoriesResponse {
    /**
     * 数据总数量
     */
    TotalCount?: number;
    /**
     * 配置文件发布历史列表
     */
    ConfigFileReleaseHistories?: Array<ConfigFileReleaseHistory>;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayCanaryRules请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayCanaryRulesRequest {
    /**
     * 网关ID
     */
    GatewayId: string;
    /**
     * 服务 ID
     */
    ServiceId: string;
    /**
     * 灰度规则类别 Standard｜Lane
     */
    RuleType?: string;
    /**
     * 列表数量
     */
    Limit?: number;
    /**
     * 列表offset
     */
    Offset?: number;
}
/**
 * CreateCloudNativeAPIGatewayLLMModelAPI返回参数结构体
 */
export interface CreateCloudNativeAPIGatewayLLMModelAPIResponse {
    /**
     * <p>是否成功。</p>
     */
    Result?: boolean;
    /**
     * <p>模型 API ID，全局唯一标识。</p>
     */
    ModelAPIId?: string;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeCloudNativeAPIGatewayPorts请求参数结构体
 */
export interface DescribeCloudNativeAPIGatewayPortsRequest {
    /**
     * 云原生API网关实例ID
     */
    GatewayId: string;
}
/**
 * DescribeGovernanceServices请求参数结构体
 */
export interface DescribeGovernanceServicesRequest {
    /**
     * <p>按照服务名过滤，精确匹配。</p>
     */
    Name?: string;
    /**
     * <p>按照命名空间过滤，精确匹配。</p>
     */
    Namespace?: string;
    /**
     * <p>使用元数据过滤，目前只支持一组元组数，若传了多条，只会使用第一条元数据过滤。</p>
     */
    Metadatas?: Array<Metadata>;
    /**
     * <p>偏移量，默认为0。</p>
     */
    Offset?: number;
    /**
     * <p>返回数量，默认为20，最大值为100。</p>
     */
    Limit?: number;
    /**
     * <p>tse 实例 id。</p>
     */
    InstanceId?: string;
    /**
     * <p>服务所属部门。</p>
     */
    Department?: string;
    /**
     * <p>服务所属业务。</p>
     */
    Business?: string;
    /**
     * <p>服务中实例的ip，用来过滤服务。</p>
     */
    Host?: string;
    /**
     * <p>是否只查询存在健康实例的服务</p>
     */
    OnlyExistHealthyInstance?: boolean;
    /**
     * <p>是否开启同步到全局注册中心</p>
     */
    SyncToGlobalRegistry?: string;
    /**
     * <p>过滤筛选条件</p>
     */
    StatusFilter?: Array<Filter>;
    /**
     * <p>服务类型</p><p>枚举值：</p><ul><li>0： 微服务（默认）</li><li>1： MCP Server</li><li>2： AI Agent</li></ul>
     */
    Type?: number;
}
/**
 * ModifyCloudNativeAPIGatewayLLMModelAPI请求参数结构体
 */
export interface ModifyCloudNativeAPIGatewayLLMModelAPIRequest {
    /**
     * <p>网关 id。</p>
     */
    GatewayId: string;
    /**
     * <p>模型 API ID，全局唯一标识。</p>
     */
    ModelAPIId: string;
    /**
     * <p>模型 API 名称，最长 60 字符。</p>
     */
    Name?: string;
    /**
     * <p>统一前缀路径（可选）。例如 /v1/openai。</p>
     */
    BasePath?: string;
    /**
     * <p>模型 API 描述。最长 200 字符。</p>
     */
    Description?: string;
    /**
     * <p>关联的模型服务 ID 列表，长度 1-10。</p>
     */
    ListModelServiceId?: Array<string>;
    /**
     * <p>多模型服务路由策略。ListModelServiceId 多于 1 项时必填。</p>
     */
    ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
    /**
     * <p>Header 路由匹配规则。当前仅支持 Operator=exact。</p>
     */
    MatchHeaders?: Array<AIGWKVMatch>;
    /**
     * <p>是否启用跨服务 Fallback。</p>
     */
    EnableCrossServiceFallback?: boolean;
    /**
     * <p>跨服务 Fallback 配置。EnableCrossServiceFallback=true 时必填。</p>
     */
    CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
    /**
     * <p>标签过滤策略。需要网关版本 ≥ 3.9.4。</p>
     */
    TagFilter?: AIGWTagFilter;
    /**
     * <p>日志输出配置。需要网关版本 ≥ 3.9.4。</p>
     */
    LogConfig?: AIGWLogConfig;
}
/**
 * DescribeConfigFileRelease返回参数结构体
 */
export interface DescribeConfigFileReleaseResponse {
    /**
     * 配置文件发布详情
     */
    ConfigFileRelease?: ConfigFileRelease;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * 获取WAF保护资源状态
 */
export interface DescribeWafProtectionResult {
    /**
     * 全局防护状态
     */
    GlobalStatus?: string;
    /**
     * 服务防护状态
     */
    ServicesStatus?: Array<ServiceWafStatus>;
    /**
     * 路由防护状态
     */
    RouteStatus?: Array<RouteWafStatus>;
    /**
     * 对象防护状态
     */
    ObjectStatus?: string;
}
/**
 * CreateCloudNativeAPIGatewaySecretKey返回参数结构体
 */
export interface CreateCloudNativeAPIGatewaySecretKeyResponse {
    /**
     * <p>创建结果。包含成功标识与新建资源 ID。</p>
     */
    Result?: CNAPIGwCreateCommonResult;
    /**
     * 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问题时需要提供该次请求的 RequestId。
     */
    RequestId?: string;
}
/**
 * DescribeAllConfigFileTemplates请求参数结构体
 */
export interface DescribeAllConfigFileTemplatesRequest {
    /**
     * TSE实例id
     */
    InstanceId: string;
}
