/** * 灰度命中规则 */ export interface BetaLabel { /** *
键
*/ Key?: string; /** *值
*/ 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意图识别模型id
*/ IntentModelServiceId: string; /** *置信度
*/ ConfidenceThreshold: number; /** *默认服务id
*/ DefaultModelServiceId: string; /** *规则
*/ Rules?: Array用户名
*/ Username?: string; /** *密码
*/ Password?: string; } /** * RemoveCloudNativeAPIGatewayConsumerGroupAuth返回参数结构体 */ export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse { /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * AI 网关Rerank场景最大文档数限制配置 */ export interface AIGWRerankMaxDocumentsConfig { /** *是否开启最大文档数限制
枚举值:
最大文档数限制
取值范围:[1, 5000]
*/ MaxDocumentValue?: number; } /** * 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证书类型
枚举值:
证书用途
枚举值:
网关 id。
*/ GatewayId: string; /** *模型服务 ID,全局唯一标识。
*/ ModelServiceId: string; /** *修改服务名称,长度2-50字符,支持中英文、数字、下划线。
*/ Name?: string; /** *修改默认模型,模型选择方式为 Specify 时必填。
*/ DefaultModel?: string; /** *修改模型选择方式,选项:Specify(指定模型)、PassThrough(透传请求模型)。
*/ ModelSelector?: string; /** *修改开启模型降级,模型选择方式为 Specify 时必填。
*/ EnableModelFallback?: boolean; /** *修改可以配置备用模型规则,EnableSpecifyModelFallback 为 true 时必填。
*/ ModelFallbackRule?: CloudNativeAPIGatewayLLMModelFallbackRule; /** *修改开启模型参数校验,是否校验客户端传递的 model 参数, 模型选择方式为 PassThrough 时必填
*/ EnableModelParamCheck?: boolean; /** *修改模型检验信息,EnableModelParamCheck 为 true 时必填。
*/ ModelParamCheckRule?: CloudNativeAPIGatewayLLMModelParamCheckInfo; /** *修改描述。
*/ Description?: string; /** *修改模型服务地址
*/ UpstreamURL?: string; /** *连接超时时间
取值范围:[1, 3600000]
单位:毫秒
默认值:10000
*/ ConnectTimeout?: number; /** *写入超时时间
取值范围:[1, 3600000]
单位:毫秒
默认值:60000
*/ WriteTimeout?: number; /** *读取超时时间
取值范围:[1, 3600000]
单位:毫秒
默认值:60000
*/ ReadTimeout?: number; /** *重试次数
取值范围:[0, 5]
单位:次
默认值:0
*/ Retries?: number; /** *路径拼接模式
枚举值:
SNI
*/ SNI?: string; /** *模型服务级别的配额上限(RPM/TPM)。需要网关版本 ≥ 3.9.4。
*/ QuotaLimit?: AIGWLLMQuotaLimit; /** *标签
*/ Tags?: Array模型改写规则
*/ ModelRewriteRules?: Array来源 id
*/ SourceId?: string; /** *命名空间
*/ Namespace?: string; /** *服务名字
*/ ServiceName?: string; /** *协议
*/ Protocol?: string; /** *扩展参数
*/ ExtParams?: Array密钥轮转开关
*/ KeyRotationEnabled?: boolean; /** *密钥轮转天数
*/ KeyRotationPeriodDays?: number; /** *外部服务来源ID
*/ ExternalInstanceId?: string; /** *自定义供应商名称
仅当Provider值为"custom"时允许填写
*/ CustomProviderName?: string; /** *负载均衡配置
*/ LoadBalanceConfig?: AIGWLoadBalanceConfig; } /** * 分组列表 */ export interface CNAPIGwConsumerGroupList { /** * 总数 */ TotalCount?: number; /** * 消费者分组信息 */ ConsumerGroups?: ArrayJWT 消费者标识,iss claim
*/ Key: string; /** *签名算法,取值:HS256 HS384 HS512 RS256 RS384 RS512 ES256 ES384 ES512
*/ Algorithm: string; /** *HS 对称密钥,仅 Algorithm 为 HS256/HS384/HS512 时必填;RS/ES* 时留空
*/ Secret?: string; /** *RS/ES PEM 格式公钥,仅 Algorithm 为 RS256/RS384/RS512/ES256/ES384/ES512 时必填;HS* 时留空
*/ 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是否开启持久化存储
*/ EnableStorage?: boolean; /** *数据存储方式
*/ StorageType?: string; /** *云硬盘容量
*/ StorageCapacity?: number; /** *计费方式
*/ Paymode?: string; /** *EKS集群的ID
*/ EKSClusterID?: string; /** *集群创建时间
*/ CreateTime?: string; /** *环境配置信息列表
*/ EnvInfos?: Array引擎所在的区域
*/ EngineRegion?: string; /** *注册引擎是否开启公网
*/ EnableInternet?: boolean; /** *私有网络列表信息
*/ VpcInfos?: Array服务治理相关信息列表
*/ ServiceGovernanceInfos?: Array实例的标签信息
*/ Tags?: Array引擎实例是否开启控制台公网访问地址
*/ EnableConsoleInternet?: boolean; /** *引擎实例是否开启控制台内网访问地址
*/ EnableConsoleIntranet?: boolean; /** *引擎实例是否展示参数配置页面
*/ ConfigInfoVisible?: boolean; /** *引擎实例控制台默认密码
*/ ConsoleDefaultPwd?: string; /** *交易付费类型,0后付费/1预付费
*/ TradeType?: number; /** *自动续费标记:0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费
*/ AutoRenewFlag?: number; /** *预付费到期时间
*/ CurDeadline?: string; /** *隔离开始时间
*/ IsolateTime?: string; /** *实例地域相关的描述信息
*/ RegionInfos?: Array所在EKS环境,分为common和yunti
*/ EKSType?: string; /** *引擎的产品版本
*/ FeatureVersion?: string; /** *引擎实例是否开启客户端内网访问地址
*/ EnableClientIntranet?: boolean; /** *存储额外配置选项
*/ StorageOption?: ArrayZookeeper的额外环境数据信息
*/ ZookeeperRegionInfo?: ZookeeperRegionInfo; /** *部署架构
*/ DeployMode?: string; /** *全局属性
*/ GlobalType?: string; /** *所属组类型
*/ GroupType?: string; /** *组id
*/ GroupId?: Array是否为主地域
*/ IsMainRegion?: boolean; /** *是否禁止变更
*/ MutationEnabled?: boolean; /** *禁止限流
*/ MaxCapacityLimitEnabled?: boolean; } /** * DescribeCloudNativeAPIGatewayServices请求参数结构体 */ export interface DescribeCloudNativeAPIGatewayServicesRequest { /** *网关ID
*/ GatewayId: string; /** *列表数量
*/ Limit?: number; /** *列表 offset
*/ Offset?: number; /** *过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType
*/ Filters?: Array排序字段
*/ OrderField?: string; /** *排序方式
枚举值:
网关 id。
*/ GatewayId: string; /** *AI 网关 LLM 模型 API 的唯一标识名称,格式规则:2-50 字符,支持中英文大小写、数字及分隔符(“-”、“_”),不能以数字和分隔符开头,不能以分隔符结尾。
*/ Name: string; /** *选择业务场景, 选项:Chat(聊天)。
*/ SceneType: string; /** *业务场景对应的请求协议,选项:OpenAI(目前只支持 OpenAI)。
*/ RequestProtocol: string; /** *初始化关联的模型服务列表。
*/ ListModelServiceId: Array路由列表
*/ RouteList: Array为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。
*/ BasePath?: string; /** *模型 API 的相关描述。
*/ Description?: string; /** *模型服务路由策略(是指如何路由到模型服务)
*/ ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute; /** *路由 Header 匹配规则
*/ MatchHeaders?: Array跨服务 fallback 开关
*/ EnableCrossServiceFallback?: boolean; /** *跨服务 fallback 配置
*/ CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig; /** *标签
*/ TagFilter?: AIGWTagFilter; /** *模型 API 日志配置。未传时使用默认日志配置。
*/ LogConfig?: AIGWLogConfig; /** *Rerank场景最大文档数限制
*/ MaxDocumentsConfig?: AIGWRerankMaxDocumentsConfig; /** *敏感词路由配置
*/ SensitiveWordRoute?: AIGWSensitiveWordRoute; } /** * 服务实例组 */ export interface GovernanceServiceDestination { /** * 命名空间 注意:此字段可能返回 null,表示取不到有效值。 */ Namespace: string; /** * 服务 注意:此字段可能返回 null,表示取不到有效值。 */ Service: string; /** * 实例标签 注意:此字段可能返回 null,表示取不到有效值。 */ Labels?: Array网关实例id
*/ GatewayId: string; /** *页显示条数,最大20
*/ Limit: number; /** *起始位置
*/ Offset: number; /** *资源类型
枚举值:
资源ID
*/ ResourceId?: string; } /** * 返回kong的服务和路由列表 */ export interface KongServiceWithRoutes { /** * */ ServiceList?: Array网关实例id
*/ GatewayId: string; /** *消费者名称,最长 60 字符。同一网关下唯一。
*/ Name: string; /** *消费者优先级,默认medium
枚举值:
消费者描述。最长 200 字符。
*/ Description?: string; } /** * CreateCloudNativeAPIGatewayCanaryRule返回参数结构体 */ export interface CreateCloudNativeAPIGatewayCanaryRuleResponse { /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * LLM 模型 API */ export interface CloudNativeAPIGatewayLLMModelAPI { /** *模型 API ID。
*/ Id?: string; /** *创建时间
*/ CreateTime?: string; /** *修改时间
*/ ModifyTime?: string; /** *AI 网关 LLM 模型 API 的唯一标识名称,格式规则:2-50 字符,支持英文、数字、下划线。
*/ Name?: string; /** *选择业务场景,xa0 选项:Chat(聊天)。
*/ SceneType?: string; /** *业务场景对应的请求协议,选项:OpenAI(目前只支持 OpenAI)。
*/ RequestProtocol?: string; /** *路由列表
*/ RouteList?: Array为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。
*/ BasePath?: string; /** *路径简化,
启用时:客户端请求路径 → 移除Base Path → 后端接收简洁路径
禁用时:客户端请求路径 → 完整传递给后端。
模型 API 的相关描述。
*/ Description?: string; /** *模型服务Id
*/ ModelServiceId?: string; /** *模型服务名称
*/ ModelServiceName?: string; /** *模型服务路由策略(是指如何路由到模型服务)
*/ ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute; /** *无
*/ MatchHeaders?: Array是否开启跨服务fallback
*/ EnableCrossServiceFallback?: boolean; /** *跨服务fallback配置详情
*/ CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig; /** *是否展示模型API
*/ DescribeCloudNativeAPIGatewayLLMModelAPI?: boolean; /** *标签
*/ TagFilter?: AIGWTagFilter; /** *日志显示相关开关
*/ LogConfig?: AIGWLogConfig; /** *日志脱敏规则
*/ LogDesensitizeConfig?: AIGWLogDesensitizeConfig; /** *转发脱敏规则
*/ ForwardDesensitizeConfig?: AIGWForwardDesensitizeConfig; /** *Rerank场景最大文档数限制配置
*/ MaxDocumentsConfig?: AIGWRerankMaxDocumentsConfig; /** *敏感词路由配置
*/ SensitiveWordRoute?: AIGWSensitiveWordRoute; /** *消费者组的授权模型范围
*/ ConsumerGroupModelScopes?: Array继承自消费者组的授权模型范围
*/ ConsumerInheritModelScope?: AIGWConsumerModelScope; } /** * 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 { /** *云原生API网关ID。
*/ GatewayId?: string; /** *云原生API网关状态。
*/ Status?: string; /** *云原生API网关名。
*/ Name?: string; /** *云原生API网关类型。
*/ Type?: string; /** *实例版本:
云原生API网关节点信息。
*/ NodeConfig?: CloudNativeAPIGatewayNodeConfig; /** *云原生API网关vpc配置。
*/ VpcConfig?: CloudNativeAPIGatewayVpcConfig; /** *云原生API网关描述。
*/ Description?: string; /** *云原生API网关创建时间。
*/ CreateTime?: string; /** *实例的标签信息
*/ Tags?: Array是否开启 cls 日志
*/ EnableCls?: boolean; /** *付费模式,0表示后付费,1预付费
*/ TradeType?: number; /** *实例版本,当前支持开发版、标准版、专业版【TRIAL、STANDARD、PROFESSIONAL】
*/ FeatureVersion?: string; /** *公网出流量带宽,[1,2048]Mbps
*/ InternetMaxBandwidthOut?: number; /** *自动续费标记,0表示默认状态(用户未设置,即初始状态);
1表示自动续费,2表示明确不自动续费(用户设置),若业务无续费概念或无需自动续费,需要设置为0
到期时间,预付费时使用
*/ CurDeadline?: string; /** *隔离时间,实例隔离时使用
*/ IsolateTime?: string; /** *是否开启客户端公网。
*/ EnableInternet?: boolean; /** *实例实际的地域信息
*/ EngineRegion?: string; /** *Ingress class名称
*/ IngressClassName?: string; /** *公网计费方式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。
*/ InternetPayMode?: string; /** *云原生API网关小版本号
*/ GatewayMinorVersion?: string; /** *实例监听的端口信息
*/ InstancePort?: InstancePort; /** *公网CLB默认类型
*/ LoadBalancerType?: string; /** *公网IP地址列表
*/ PublicIpAddresses?: Array是否开启删除保护
*/ DeleteProtect?: boolean; /** *表示可以升级的版本号
注意:此字段可能返回 null,表示取不到有效值。 */ AvailableVersions?: Array网关可以升级的版本号列表
*/ AvailableUpgradeVersions?: Array是否提示可升级
*/ AvailableUpgrade?: boolean; /** *可回退的版本
*/ AvailableRollbackVersion?: string; /** *强制跳转HTTPS开关
*/ 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 网关日志脱敏配置 */ export interface AIGWLogDesensitizeConfig { /** *日志脱敏配置总开关
*/ Enabled: boolean; /** *内置规则类型:Phone、IdCard、BankCard、Email、IP、Name
*/ PredefinedRuleTypes?: Array自定义规则,最多 20 条
*/ CustomRules?: Array脱敏方向:Request、Response;为空时默认两者
*/ Scope?: Array是否成功。
*/ Result?: boolean; /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * DeleteCloudNativeAPIGatewayServiceRateLimit请求参数结构体 */ export interface DeleteCloudNativeAPIGatewayServiceRateLimitRequest { /** * 网关Id */ GatewayId: string; /** * 服务名称,或服务ID */ Name: string; } /** * AI 网关意图路由规则 */ export interface AIGWIntentRouteRule { /** *意图编码
枚举值:
模型服务id
*/ ModelServiceId?: string; } /** * 灰度规则列表 */ export interface CloudAPIGatewayCanaryRuleList { /** * 灰度规则 */ CanaryRuleList?: Array默认tokenizer编码器
枚举值:
token 计数失败、规则为空或未命中任何规则时执行的默认二级路由(暂时只能选择一个指定模型路由)
*/ DefaultTarget?: AIGWLLMModelServiceSubRoute; /** *规则
*/ Rules?: Array前缀缓存感知路由模型服务候选列表
*/ Candidates?: Array网关ID
*/ GatewayId: string; /** *列表数量
*/ Limit?: number; /** *列表 offset
*/ Offset?: number; /** *过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType
*/ Filters?: Array服务信息
*/ Service?: KongServicePreview; /** *路由总条数
*/ RouteTotalCount?: number; /** *是否有未返回的路由
*/ RouteHasMore?: boolean; /** *路由信息
*/ Routes?: ArrayOAuth2 client_id
*/ ClientId: string; /** *OAuth2 client_secret
*/ ClientSecret: string; } /** * DescribeCloudNativeAPIGatewayConsumerGroup返回参数结构体 */ export interface DescribeCloudNativeAPIGatewayConsumerGroupResponse { /** *消费者组详情。
*/ Result?: CNAPIGwConsumerGroup; /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 指标伸缩的规则 */ export interface AutoScalerRules { /** * 稳定窗口时间,扩容时默认0,缩容时默认300 */ StabilizationWindowSeconds?: number; /** * 选择策略依据 */ SelectPolicy?: string; /** * 扩缩容策略 */ Policies?: Array生效的路由算法类型:权重路由,模型名称路由、参数路由等Weighted/ModelName/Query (预留多个,暂时只能填写一个)
*/ SelectedTypes: Array权重路由配置,最多10个
*/ WeightedConfig?: Array延迟路由
*/ LatencyPriorityConfig?: AIGWLatencyPriorityConfig; /** *指定模型路由(暂时只用在Token长度路由时的子路由选择)
*/ ModelServiceConfig?: AIGWRouteModelServiceConfig; } /** * ModifyNativeGatewayServerGroup请求参数结构体 */ export interface ModifyNativeGatewayServerGroupRequest { /** * 云原生API网关实例ID。 */ GatewayId: string; /** * 网关分组 id */ GroupId: string; /** * 云原生API网关名字, 最多支持60个字符。 */ Name?: string; /** * 云原生API网关描述信息, 最多支持120个字符。 */ Description?: string; } /** * AI 网关转发脱敏配置 */ export interface AIGWForwardDesensitizeConfig { /** *转发脱敏配置总开关
*/ Enabled: boolean; /** *内置规则类型:Phone、IdCard、BankCard、Email、IP、Name
*/ PredefinedRuleTypes?: Array自定义规则,最多 20 条
*/ CustomRules?: Array内置规则占位符格式,最长 32;为空时默认 [{type}]
*/ PlaceholderFormat?: string; /** *脱敏失败处理:Reject(拒绝请求)或 Skip(跳过脱敏并转发)
*/ 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模型服务列表。
*/ 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分组列表
*/ 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 { /** *模型服务 Id
*/ ModelServiceId: string; /** *模型服务名
*/ 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无
*/ 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 { /** *键
*/ Key: string; /** *值
*/ Value: string; /** *操作类型
*/ Operator: string; } /** * CreateGovernanceLaneGroups请求参数结构体 */ export interface CreateGovernanceLaneGroupsRequest { /** * 引擎实例ID */ InstanceId: string; /** * 泳道组规则列表 */ LaneGroups: Array模型服务id
*/ ModelServiceId: string; /** *权重值
*/ Weight: number; } /** * AddCloudNativeAPIGatewayConsumerInGroup返回参数结构体 */ export interface AddCloudNativeAPIGatewayConsumerInGroupResponse { /** *是否成功。
*/ Result?: boolean; /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * AI 网关指定模型路由(暂时只用在Token长度路由时的子路由选择) */ export interface AIGWRouteModelServiceConfig { /** *模型服务名字
*/ ModelServiceName?: string; } /** * AI网关标签过滤 */ export interface AIGWTagFilter { /** *匹配策略
枚举值:
标签
*/ Tags?: Array服务名。
*/ Name: string; /** *服务所属命名空间。
*/ Namespace: string; /** *服务描述信息。
*/ Comment?: string; /** *服务元数据。
*/ Metadatas?: Array服务所属部门。
*/ Department?: string; /** *服务所属业务。
*/ Business?: string; /** *被添加进来可以操作此命名空间的用户ID列表
*/ UserIds?: Array被添加进来可以操作此命名空间的用户组ID列表
*/ GroupIds?: Array从操作此命名空间的用户组ID列表被移除的ID列表
*/ RemoveUserIds?: Array从可以操作此命名空间的用户组ID列表中被移除的ID列表
*/ RemoveGroupIds?: Array该服务对哪些命名空间可见
*/ ExportTo?: Array是否开启同步到全局注册中心
*/ SyncToGlobalRegistry?: boolean; /** *服务类型
枚举值:
默认值:0
*/ Type?: number; /** *拓展服务元数据
*/ ExtendedMetadata?: Array密钥id
*/ SecretKeyId?: string; /** *密钥名字
*/ Name?: string; /** *密钥协议类型。
*/ SecretType?: string; /** *状态。
枚举值:
密钥生成方式。
枚举值:
密钥明文
*/ SecretValue?: string; /** *KMS凭证名字
注意:此字段可能返回 null,表示取不到有效值。 */ KmsKeyName?: string; /** *KMS凭证版本
注意:此字段可能返回 null,表示取不到有效值。 */ KmsKeyVersion?: string; /** *描述
注意:此字段可能返回 null,表示取不到有效值。 */ Description?: string; /** *是否可以绑定
注意:此字段可能返回 null,表示取不到有效值。 */ CanBind?: boolean; /** *创建时间
*/ CreateTime?: string; /** *修改时间
*/ ModifyTime?: string; /** *绑定数
*/ BindCount?: number; /** *密钥归属资源类型。
枚举值:
JWT凭证配置
*/ JWTCredentialConfig?: AIGWJWTCredentialConfig; /** *OAuth凭证配置
*/ OAuthCredentialConfig?: AIGWOAuthCredentialConfig; /** *OIDC凭证配置
*/ OIDCCredentialConfig?: AIGWOIDCCredentialConfig; /** *secret key provider方
枚举值:
AK/SK凭证配置
*/ AKSKCredentialConfig?: AIGWAKSKCredentialConfig; /** *CAM凭证配置
*/ CAMCredentialConfig?: AIGWCAMCredentialConfig; /** *Bearer Token凭证配置
*/ BearerTokenCredentialConfig?: AIGWBearerTokenCredentialConfig; /** *Basic Auth凭证配置
*/ BasicCredentialConfig?: AIGWBasicCredentialConfig; /** *自定义Header凭证配置
*/ CustomHeaderCredentialConfig?: AIGWCustomHeaderCredentialConfig; /** *自定义Query参数凭证配置
*/ QueryParamCredentialConfig?: AIGWQueryParamCredentialConfig; /** *同步状态
*/ SyncStatus?: string; /** *来源类型
*/ SourceType?: string; /** *已同步版本
*/ SyncedVersion?: string; } /** * ModifyCloudNativeAPIGatewayLLMModelAPI返回参数结构体 */ export interface ModifyCloudNativeAPIGatewayLLMModelAPIResponse { /** *是否成功
*/ 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后端配置
*/ 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 { /** *是否成功
*/ Result?: boolean; /** *模型服务 ID,全局唯一标识。
*/ ModelServiceId?: string; /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * RemoveCloudNativeAPIGatewayConsumerInGroup请求参数结构体 */ export interface RemoveCloudNativeAPIGatewayConsumerInGroupRequest { /** * 网关实例id */ GatewayId: string; /** *消费者组 ID(以 cg- 开头)。
*/ ConsumerGroupId: string; /** *消费者 ID 列表,长度 1-10。
*/ ConsumerIds: ArrayHeader名
*/ HeaderName?: string; /** *Header值
*/ HeaderValue?: 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实例 ID
*/ GatewayId: string; /** *密钥状态。
枚举值:
密钥 ID(以 secret- 开头)。
*/ SecretKeyId: string; } /** * DeleteGovernanceInstances返回参数结构体 */ export interface DeleteGovernanceInstancesResponse { /** * 操作是否成功。 */ Result?: boolean; /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 获取WAF保护域名列表 */ export interface DescribeWafDomainsResult { /** * WAF防护域名列表 注意:此字段可能返回 null,表示取不到有效值。 */ Domains?: Array消费者详情
*/ Result?: CNAPIGwConsumer; /** * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 云原生网关证书预览信息 */ export interface KongCertificatesPreview { /** *证书名称
*/ Name?: string; /** *Id
*/ Id?: string; /** *绑定的域名
*/ BindDomains?: Array证书状态:expired(已过期)
active(生效中)
证书pem格式
*/ Crt?: string; /** *证书私钥
*/ Key?: string; /** *证书过期时间
*/ ExpireTime?: string; /** *证书上传时间
*/ CreateTime?: string; /** *证书签发时间
*/ IssueTime?: string; /** *证书来源:native(kong自定义证书)
ssl(ssl平台证书)
ssl平台证书Id
*/ CertId?: string; /** *证书类型
枚举值:
证书用途
枚举值:
证书被引用的次数
*/ ReferCount?: number; } /** * 默认kong路由,目前只在 LLM 模型 API相 关接口使用 */ export interface DefaultKongRoute { /** *服务名字
*/ Name: string; /** *服务ID
*/ ID?: string; /** *HTTP Method
*/ Methods?: ArrayHttp Path
*/ Paths?: Array配置文件发布id
*/ Id?: number; /** *配置文件发布名称
*/ Name?: string; /** *配置文件发布命名空间
*/ Namespace?: string; /** *配置文件发布组
*/ Group?: string; /** *配置文件发布文件名称
*/ FileName?: string; /** *配置文件发布内容
*/ Content?: string; /** *配置文件发布注释
*/ Comment?: string; /** *配置文件发布Md5
*/ Md5?: string; /** *配置文件发布版本
*/ Version?: number; /** *配置文件发布创建时间
*/ CreateTime?: string; /** *配置文件发布创建者
*/ CreateBy?: string; /** *配置文件发布修改时间
*/ ModifyTime?: string; /** *配置文件发布修改者
*/ ModifyBy?: string; /** *发布描述
*/ ReleaseDescription?: string; /** *是否生效
*/ Active?: boolean; /** *格式
*/ Format?: string; /** *配置文件ID
*/ ConfigFileId?: string; /** *配置文件类型
*/ ConfigFileSupportedClient?: number; /** *配置文件持久化
*/ ConfigFilePersistent?: ConfigFilePersistent; /** *灰度标签
*/ BetaLabels?: Array发布类型
枚举值:
服务ID
*/ ID: string; /** *服务名字
*/ Name?: string; /** *无
注意:此字段可能返回 null,表示取不到有效值。 */ Methods?: Array无
注意:此字段可能返回 null,表示取不到有效值。 */ Paths?: Array无
注意:此字段可能返回 null,表示取不到有效值。 */ Hosts?: Array无
*/ Protocols?: Array无
*/ PreserveHost?: boolean; /** *无
*/ HttpsRedirectStatusCode?: number; /** *无
*/ StripPath?: boolean; /** *无
*/ CreatedTime?: string; /** *是否开启了强制HTTPS
注意:此字段可能返回 null,表示取不到有效值。 * @deprecated */ ForceHttps?: boolean; /** *服务名
*/ ServiceName?: string; /** *服务ID
*/ ServiceID?: string; /** *目的端口
*/ DestinationPorts?: Array路由的Headers
*/ Headers?: Array是否缓存请求body,默认true
*/ RequestBuffering?: boolean; /** *是否缓存响应body,默认true
*/ ResponseBuffering?: boolean; /** *正则优先级
*/ RegexPriority?: number; /** *querystring参数
*/ QueryStringParameters?: Array路由来源
*/ RouteSource?: string; } /** * 负载均衡配置,仅服务来源(ServiceSource,SourceId 非空)场景生效。 */ export interface AIGWLoadBalanceConfig { /** *负载均衡算法
*/ Algorithm?: string; } /** * 实例地域信息描述 */ export interface DescribeInstanceRegionInfo { /** * 引擎部署地域信息 */ EngineRegion?: string; /** * 引擎在该地域的副本数 */ Replica?: number; /** * 引擎在该地域的规格id */ SpecId?: string; /** * 客户端内网的网络信息 */ IntranetVpcInfos?: Array创建证书结果
*/ 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; } /** * AI网关LLM健康检查配置 */ export interface AIGWLLMHealthCheckSetting { /** *检查间隔
*/ HealthCheckIntervalSecond: number; /** *检查超时时间
*/ HealthCheckTimeout: number; /** *检查失败阈值
*/ HealthCheckFailThreshold: number; /** *检查恢复阈值
*/ HealthCheckRecoverThreshold: number; /** *检查路径
*/ HealthCheckPath?: 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 { /** *实例 ID
*/ GatewayId: string; /** *密钥协议类型。
枚举值:
密钥名称,2-60 字符。
*/ Name: string; /** *密钥生成方式。
枚举值:
密钥归属资源类型。
枚举值:
KMS 密钥名称。GenerateType=KMS 时必填。
*/ KmsKeyName?: string; /** *KMS 密钥版本。GenerateType=KMS 时必填。
*/ KmsKeyVersion?: string; /** *密钥值,长度 8-256。GenerateType=Custom 时必填。
*/ SecretValue?: string; /** *密钥描述。最长 200 字符。
*/ Description?: string; /** *JWT凭证配置
*/ JWTCredentialConfig?: AIGWJWTCredentialConfig; /** *OAuth2.0凭证配置
*/ OAuthCredentialConfig?: AIGWOAuthCredentialConfig; /** *OIDC凭证配置
*/ OIDCCredentialConfig?: AIGWOIDCCredentialConfig; /** *AK/SK凭证配置
*/ AKSKCredentialConfig?: AIGWAKSKCredentialConfig; /** *CAM凭证配置
*/ CAMCredentialConfig?: AIGWCAMCredentialConfig; /** *Bearer Token凭证配置
*/ BearerTokenCredentialConfig?: AIGWBearerTokenCredentialConfig; /** *自定义Header凭证配置
*/ CustomHeaderCredentialConfig?: AIGWCustomHeaderCredentialConfig; /** *自定义Query参数凭证配置
*/ QueryParamCredentialConfig?: AIGWQueryParamCredentialConfig; /** *Basic Auth凭证配置
*/ BasicCredentialConfig?: AIGWBasicCredentialConfig; /** *第三方平台类型
枚举值:
网关ID
*/ GatewayId: string; /** *ssl平台证书 Id
*/ CertId: string; /** *绑定的域名
*/ BindDomains?: Array证书名称
*/ 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