RoutingRuleArgs

data class RoutingRuleArgs(val acceptedProtocols: Output<List<Either<String, FrontDoorProtocol>>>? = null, val enabledState: Output<Either<String, RoutingRuleEnabledState>>? = null, val frontendEndpoints: Output<List<SubResourceArgs>>? = null, val id: Output<String>? = null, val name: Output<String>? = null, val patternsToMatch: Output<List<String>>? = null, val routeConfiguration: Output<Either<ForwardingConfigurationArgs, RedirectConfigurationArgs>>? = null, val rulesEngine: Output<SubResourceArgs>? = null, val webApplicationFirewallPolicyLink: Output<RoutingRuleUpdateParametersWebApplicationFirewallPolicyLinkArgs>? = null) : ConvertibleToJava<RoutingRuleArgs>

A routing rule represents a specification for traffic to treat and where to send it, along with health probe information.

Constructors

Link copied to clipboard
fun RoutingRuleArgs(acceptedProtocols: Output<List<Either<String, FrontDoorProtocol>>>? = null, enabledState: Output<Either<String, RoutingRuleEnabledState>>? = null, frontendEndpoints: Output<List<SubResourceArgs>>? = null, id: Output<String>? = null, name: Output<String>? = null, patternsToMatch: Output<List<String>>? = null, routeConfiguration: Output<Either<ForwardingConfigurationArgs, RedirectConfigurationArgs>>? = null, rulesEngine: Output<SubResourceArgs>? = null, webApplicationFirewallPolicyLink: Output<RoutingRuleUpdateParametersWebApplicationFirewallPolicyLinkArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RoutingRuleArgs

Properties

Link copied to clipboard
val acceptedProtocols: Output<List<Either<String, FrontDoorProtocol>>>? = null

Protocol schemes to match for this rule

Link copied to clipboard
val enabledState: Output<Either<String, RoutingRuleEnabledState>>? = null

Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'

Link copied to clipboard
val frontendEndpoints: Output<List<SubResourceArgs>>? = null

Frontend endpoints associated with this rule

Link copied to clipboard
val id: Output<String>? = null

Resource ID.

Link copied to clipboard
val name: Output<String>? = null

Resource name.

Link copied to clipboard
val patternsToMatch: Output<List<String>>? = null

The route patterns of the rule.

Link copied to clipboard

A reference to the routing configuration.

Link copied to clipboard
val rulesEngine: Output<SubResourceArgs>? = null

A reference to a specific Rules Engine Configuration to apply to this route.

Link copied to clipboard

Defines the Web Application Firewall policy for each routing rule (if applicable)