全部產品
Search
文件中心

API Gateway:HttpApiDeployConfig

更新時間:Jul 09, 2026

名稱

類型

描述

樣本值

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

策略設定清單。

object

策略設定清單。

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"]