你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationGatewayBackendHttpSettingsPropertiesFormat interface

应用程序网关的后端地址池设置的属性。

属性

affinityCookieName

要用于关联 Cookie 的 Cookie 名称。

authenticationCertificates

对应用程序网关身份验证证书的引用数组。

connectionDraining

后端 http 设置资源的连接耗尽。

cookieBasedAffinity

基于 Cookie 的相关性。

hostName

要发送到后端服务器的主机标头。

path

应用作所有 HTTP 请求前缀的路径。 Null 表示不会为路径添加前缀。 默认值为 null。

pickHostNameFromBackendAddress

是否应从后端服务器的主机名中选择主机标头。 默认值为 false。

port

后端上的目标端口。

probe

探测应用程序网关的资源。

probeEnabled

探测是否已启用。 默认值为 false。

protocol

用于与后端通信的协议。

requestTimeout

请求超时(以秒为单位)。 如果未在 RequestTimeout 中收到响应,应用程序网关将失败请求。 可接受的值为 1 秒到 86400 秒。

trustedRootCertificates

对应用程序网关受信任根证书的引用数组。

属性详细信息

affinityCookieName

要用于关联 Cookie 的 Cookie 名称。

affinityCookieName?: string

属性值

string

authenticationCertificates

对应用程序网关身份验证证书的引用数组。

authenticationCertificates?: SubResource[]

属性值

connectionDraining

后端 http 设置资源的连接耗尽。

connectionDraining?: ApplicationGatewayConnectionDraining

属性值

cookieBasedAffinity

基于 Cookie 的相关性。

cookieBasedAffinity?: "Enabled" | "Disabled"

属性值

"Enabled" | "Disabled"

hostName

要发送到后端服务器的主机标头。

hostName?: string

属性值

string

path

应用作所有 HTTP 请求前缀的路径。 Null 表示不会为路径添加前缀。 默认值为 null。

path?: string

属性值

string

pickHostNameFromBackendAddress

是否应从后端服务器的主机名中选择主机标头。 默认值为 false。

pickHostNameFromBackendAddress?: boolean

属性值

boolean

port

后端上的目标端口。

port?: number

属性值

number

probe

探测应用程序网关的资源。

probe?: SubResource

属性值

probeEnabled

探测是否已启用。 默认值为 false。

probeEnabled?: boolean

属性值

boolean

protocol

用于与后端通信的协议。

protocol?: "Http" | "Https" | "Tcp" | "Tls"

属性值

"Http" | "Https" | "Tcp" | "Tls"

requestTimeout

请求超时(以秒为单位)。 如果未在 RequestTimeout 中收到响应,应用程序网关将失败请求。 可接受的值为 1 秒到 86400 秒。

requestTimeout?: number

属性值

number

trustedRootCertificates

对应用程序网关受信任根证书的引用数组。

trustedRootCertificates?: SubResource[]

属性值