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 AfdRouteCacheConfiguration cacheConfiguration()

Gets the cache configuration for this route.

abstract DeploymentStatus deploymentStatus()

Gets the deployment status for the route.

abstract EnabledState enabledState()

Gets the enabled state of this route.

abstract String endpointName()

Gets the name of the endpoint which contains this route.

abstract ForwardingProtocol forwardingProtocol()

Gets the forwarding protocol for this route.

abstract HttpsRedirect httpsRedirect()

Gets the HTTPS redirect configuration for this route.

abstract LinkToDefaultDomain 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 AfdProvisioningState 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<AfdEndpointProtocols> supportedProtocols()

Gets the supported protocols for this route.

Method Details

cacheConfiguration

public abstract AfdRouteCacheConfiguration cacheConfiguration()

Gets the cache configuration for this route.

Returns:

the cache configuration

deploymentStatus

public abstract DeploymentStatus deploymentStatus()

Gets the deployment status for the route.

Returns:

the deployment status

enabledState

public abstract EnabledState enabledState()

Gets the enabled state of this route.

Returns:

the enabled state

endpointName

public abstract String endpointName()

Gets the name of the endpoint which contains this route.

Returns:

the endpoint name

forwardingProtocol

public abstract ForwardingProtocol forwardingProtocol()

Gets the forwarding protocol for this route.

Returns:

the forwarding protocol

httpsRedirect

public abstract HttpsRedirect httpsRedirect()

Gets the HTTPS redirect configuration for this route.

Returns:

the HTTPS redirect setting

linkToDefaultDomain

public abstract LinkToDefaultDomain linkToDefaultDomain()

Gets whether this route is linked to the default endpoint domain.

Returns:

the link-to-default-domain setting

originGroupResourceId

public abstract String originGroupResourceId()

Gets the resource ID of the origin group associated with this route.

Returns:

the origin group resource ID

originPath

public abstract String originPath()

Gets the path to use when routing to the origin.

Returns:

the origin path

patternsToMatch

public abstract List<String> patternsToMatch()

Gets the patterns to match for this route.

Returns:

the patterns to match

provisioningState

public abstract AfdProvisioningState provisioningState()

Gets the provisioning state reported by the service.

Returns:

the provisioning state

ruleSetResourceIds

public abstract List<String> ruleSetResourceIds()

Gets the resource IDs of the rule sets associated with this route.

Returns:

the rule set resource IDs

supportedProtocols

public abstract List<AfdEndpointProtocols> supportedProtocols()

Gets the supported protocols for this route.

Returns:

the supported protocols

Applies to