你当前正在访问 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。 示例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

资源的名称

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。

type

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

属性详细信息

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。 示例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

属性值

string

继承自 ProxyResource.id 的

name

资源的名称

name?: string

属性值

string

继承自 ProxyResource.name 的

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。

systemData?: SystemData

属性值

继承自ProxyResource.systemData

type

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

type?: string

属性值

string

继承自ProxyResource.type