HttpApiDeployConfig

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

AI API 相关配置。

environmentId

string

环境 ID。

env-xxx

backendScene

string

发布场景。

SingleService

autoDeploy

boolean

是否自动部署。

true

gatewayId

string

网关实例 ID。

gw-xx

routeBackend Backend

后端服务信息。

gatewayInfo GatewayInfo

网关信息。

mock HttpApiMockContract

Mock 配置。

gatewayType

string

网关类型

API

customDomainIds

array

用户自定义域名 ID 列表。

string

域名 ID。

d-xxx

envDomainIds

array

环境域名 ID 列表。未传表示绑定全部环境域名,空数组表示不绑定环境域名。

string

环境域名 ID 列表

d-xxx

serviceConfigs

array

服务配置列表。

object

已有服务配置。

serviceId

string

服务 ID。

svc-xxx

weight

integer

服务权重。

100

modelNamePattern

string

模型名称匹配规则

qwen-*

modelName

string

模型名称

qwen-max

intentCode

string

意图编码

INQUIRY

match HttpApiBackendMatchConditions

匹配条件。

port

integer

服务端口号

80

protocol

string

服务协议(HTTP/HTTPS)

HTTP

gatewayServiceId

string

网关服务 ID

gw-svc-abc123

name

string

服务显示名称

Qwen-Max-Service

version

string

服务版本标签

V2

multiServiceRouteStrategy

string

多服务路由策略类型

ByWeight

observabilityRouteConfig

object

观测指标路由配置

mode

string

路由模式

LeastBusy

rateLimit

number

单个服务最大流量占比

0.8

queueSize

integer

队列大小

100

policyConfigs

array

策略配置列表。

HttpApiPolicyConfigs

策略配置列表。

customDomainInfos

array

用户自定义域名内容列表。

object

用户自定义域名内容列表。

domainId

string

域名 ID。

d-cshee6dlhtgk******

name

string

域名名称。

hello-server.com

protocol

string

协议。

HTTP

envDomainInfos

array

环境域名内容列表。

object

环境域名内容列表

domainId

string

域名 ID。

d-env-xxx

name

string

域名名称。

api.example.com

protocol

string

协议。

HTTPS

subDomains

array

二级域名内容列表。

object

网络类型。

domainId

string

域名 ID。

d-csmn42um******

name

string

域名名称。

test

protocol

string

协议。

HTTP

networkType

string

网络类型。

Intranet

builtinRouteNames

array

内置路由名称列表

string

列表

["chat","completions"]