Route Interface
Implements
public interface Route
extends ExternalChildResource<Route,AfdEndpoint>, HasInnerModel<RouteInner>
An immutable client-side representation of an Azure Front Door (AFD) route that lives under an AfdEndpoint.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Afd |
cacheConfiguration()
Gets the cache configuration for this route. |
|
abstract
Deployment |
deploymentStatus()
Gets the deployment status for the route. |
|
abstract
Enabled |
enabledState()
Gets the enabled state of this route. |
| abstract String |
endpointName()
Gets the name of the endpoint which contains this route. |
|
abstract
Forwarding |
forwardingProtocol()
Gets the forwarding protocol for this route. |
|
abstract
Https |
httpsRedirect()
Gets the HTTPS redirect configuration for this route. |
|
abstract
Link |
linkToDefaultDomain()
Gets whether this route is linked to the default endpoint domain. |
| abstract String |
originGroupResourceId()
Gets the resource ID of the origin group associated with this route. |
| abstract String |
originPath()
Gets the path to use when routing to the origin. |
| abstract List<String> |
patternsToMatch()
Gets the patterns to match for this route. |
|
abstract
Afd |
provisioningState()
Gets the provisioning state reported by the service. |
| abstract List<String> |
ruleSetResourceIds()
Gets the resource IDs of the rule sets associated with this route. |
|
abstract
List<Afd |
supportedProtocols()
Gets the supported protocols for this route. |
Method Details
cacheConfiguration
public abstract AfdRouteCacheConfiguration cacheConfiguration()
Gets the cache configuration for this route.
Returns:
deploymentStatus
public abstract DeploymentStatus deploymentStatus()
Gets the deployment status for the route.
Returns:
enabledState
public abstract EnabledState enabledState()
Gets the enabled state of this route.
Returns:
endpointName
public abstract String endpointName()
Gets the name of the endpoint which contains this route.
Returns:
forwardingProtocol
public abstract ForwardingProtocol forwardingProtocol()
Gets the forwarding protocol for this route.
Returns:
httpsRedirect
public abstract HttpsRedirect httpsRedirect()
Gets the HTTPS redirect configuration for this route.
Returns:
linkToDefaultDomain
public abstract LinkToDefaultDomain linkToDefaultDomain()
Gets whether this route is linked to the default endpoint domain.
Returns:
originGroupResourceId
public abstract String originGroupResourceId()
Gets the resource ID of the origin group associated with this route.
Returns:
originPath
public abstract String originPath()
Gets the path to use when routing to the origin.
Returns:
patternsToMatch
public abstract List<String> patternsToMatch()
Gets the patterns to match for this route.
Returns:
provisioningState
public abstract AfdProvisioningState provisioningState()
Gets the provisioning state reported by the service.
Returns:
ruleSetResourceIds
public abstract List<String> ruleSetResourceIds()
Gets the resource IDs of the rule sets associated with this route.
Returns:
supportedProtocols
public abstract List<AfdEndpointProtocols> supportedProtocols()
Gets the supported protocols for this route.
Returns: