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

Route interface

友好路由名称映射到任何路由或机密相关信息。

扩展

属性

cacheConfiguration

此路由的缓存配置。 若要禁用缓存,请不要提供 cacheConfiguration 对象。

customDomains

此终结点引用的域。

deploymentStatus

注意:此属性不会序列化。 它只能由服务器填充。

enabledState

是否启用此规则的使用。 允许的值为“Enabled”或“Disabled”

endpointName

保存路由的终结点的名称。 注意:此属性不会序列化。 它只能由服务器填充。

forwardingProtocol

将流量转发到后端时,此规则将使用协议。

httpsRedirect

是否自动将 HTTP 流量重定向到 HTTPS 流量。 请注意,这是设置此规则的一种简单方法,这将是执行的第一个规则。

linkToDefaultDomain

此路由是否将链接到默认终结点域。

originGroup

对源组的引用。

originPath

AzureFrontDoor 可用于从源检索内容的目录路径,例如 contoso.cloudapp.net/originpath。

patternsToMatch

规则的路由模式。

provisioningState

预配状态注意:此属性不会序列化。 它只能由服务器填充。

ruleSets

此终结点引用的规则集。

supportedProtocols

此路由支持的协议列表。

继承属性

id

资源 ID。 注意:此属性不会序列化。 它只能由服务器填充。

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

systemData

只读系统数据注意:此属性不会序列化。 它只能由服务器填充。

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

cacheConfiguration

此路由的缓存配置。 若要禁用缓存,请不要提供 cacheConfiguration 对象。

cacheConfiguration?: AfdRouteCacheConfiguration

属性值

customDomains

此终结点引用的域。

customDomains?: ActivatedResourceReference[]

属性值

deploymentStatus

注意:此属性不会序列化。 它只能由服务器填充。

deploymentStatus?: string

属性值

string

enabledState

是否启用此规则的使用。 允许的值为“Enabled”或“Disabled”

enabledState?: string

属性值

string

endpointName

保存路由的终结点的名称。 注意:此属性不会序列化。 它只能由服务器填充。

endpointName?: string

属性值

string

forwardingProtocol

将流量转发到后端时,此规则将使用协议。

forwardingProtocol?: string

属性值

string

httpsRedirect

是否自动将 HTTP 流量重定向到 HTTPS 流量。 请注意,这是设置此规则的一种简单方法,这将是执行的第一个规则。

httpsRedirect?: string

属性值

string

linkToDefaultDomain

此路由是否将链接到默认终结点域。

linkToDefaultDomain?: string

属性值

string

originGroup

对源组的引用。

originGroup?: ResourceReference

属性值

originPath

AzureFrontDoor 可用于从源检索内容的目录路径,例如 contoso.cloudapp.net/originpath。

originPath?: string

属性值

string

patternsToMatch

规则的路由模式。

patternsToMatch?: string[]

属性值

string[]

provisioningState

预配状态注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

ruleSets

此终结点引用的规则集。

ruleSets?: ResourceReference[]

属性值

supportedProtocols

此路由支持的协议列表。

supportedProtocols?: string[]

属性值

string[]

继承属性详细信息

id

资源 ID。 注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 ProxyResource.id

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 ProxyResource.name

systemData

只读系统数据注意:此属性不会序列化。 它只能由服务器填充。

systemData?: SystemData

属性值

继承自ProxyResource.systemData

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自ProxyResource.type