RouteProperties interface
The JSON object that contains the properties of the Routes to create.
- Extends
Inherited Properties
cache |
The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. |
custom |
Domains referenced by this endpoint. |
deployment |
NOTE: This property will not be serialized. It can only be populated by the server. |
enabled |
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' |
endpoint |
The name of the endpoint which holds the route. NOTE: This property will not be serialized. It can only be populated by the server. |
forwarding |
Protocol this rule will use when forwarding traffic to backends. |
https |
Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. |
link |
whether this route will be linked to the default endpoint domain. |
origin |
A reference to the origin group. |
origin |
A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. |
patterns |
The route patterns of the rule. |
provisioning |
Provisioning status NOTE: This property will not be serialized. It can only be populated by the server. |
rule |
rule sets referenced by this endpoint. |
supported |
List of supported protocols for this route. |
Inherited Property Details
cacheConfiguration
The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object.
cacheConfiguration?: AfdRouteCacheConfiguration
Property Value
Inherited From RouteUpdatePropertiesParameters.cacheConfiguration
customDomains
Domains referenced by this endpoint.
customDomains?: ActivatedResourceReference[]
Property Value
Inherited From RouteUpdatePropertiesParameters.customDomains
deploymentStatus
NOTE: This property will not be serialized. It can only be populated by the server.
deploymentStatus?: string
Property Value
string
Inherited From AFDStateProperties.deploymentStatus
enabledState
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'
enabledState?: string
Property Value
string
Inherited From RouteUpdatePropertiesParameters.enabledState
endpointName
The name of the endpoint which holds the route. NOTE: This property will not be serialized. It can only be populated by the server.
endpointName?: string
Property Value
string
Inherited From RouteUpdatePropertiesParameters.endpointName
forwardingProtocol
Protocol this rule will use when forwarding traffic to backends.
forwardingProtocol?: string
Property Value
string
Inherited From RouteUpdatePropertiesParameters.forwardingProtocol
httpsRedirect
Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed.
httpsRedirect?: string
Property Value
string
Inherited From RouteUpdatePropertiesParameters.httpsRedirect
linkToDefaultDomain
whether this route will be linked to the default endpoint domain.
linkToDefaultDomain?: string
Property Value
string
Inherited From RouteUpdatePropertiesParameters.linkToDefaultDomain
originGroup
A reference to the origin group.
originGroup?: ResourceReference
Property Value
Inherited From RouteUpdatePropertiesParameters.originGroup
originPath
A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
originPath?: string
Property Value
string
Inherited From RouteUpdatePropertiesParameters.originPath
patternsToMatch
The route patterns of the rule.
patternsToMatch?: string[]
Property Value
string[]
Inherited From RouteUpdatePropertiesParameters.patternsToMatch
provisioningState
Provisioning status NOTE: This property will not be serialized. It can only be populated by the server.
provisioningState?: string
Property Value
string
Inherited From AFDStateProperties.provisioningState
ruleSets
rule sets referenced by this endpoint.
ruleSets?: ResourceReference[]
Property Value
Inherited From RouteUpdatePropertiesParameters.ruleSets
supportedProtocols
List of supported protocols for this route.
supportedProtocols?: string[]
Property Value
string[]
Inherited From RouteUpdatePropertiesParameters.supportedProtocols