RoutingRuleResponse

data class RoutingRuleResponse(val acceptedProtocols: List<String>? = null, val enabledState: String? = null, val frontendEndpoints: List<SubResourceResponse>? = null, val id: String? = null, val name: String? = null, val patternsToMatch: List<String>? = null, val resourceState: String, val routeConfiguration: Either<ForwardingConfigurationResponse, RedirectConfigurationResponse>? = null, val rulesEngine: SubResourceResponse? = null, val type: String, val webApplicationFirewallPolicyLink: RoutingRuleUpdateParametersResponseWebApplicationFirewallPolicyLink? = null)

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
constructor(acceptedProtocols: List<String>? = null, enabledState: String? = null, frontendEndpoints: List<SubResourceResponse>? = null, id: String? = null, name: String? = null, patternsToMatch: List<String>? = null, resourceState: String, routeConfiguration: Either<ForwardingConfigurationResponse, RedirectConfigurationResponse>? = null, rulesEngine: SubResourceResponse? = null, type: String, webApplicationFirewallPolicyLink: RoutingRuleUpdateParametersResponseWebApplicationFirewallPolicyLink? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Protocol schemes to match for this rule

Link copied to clipboard
val enabledState: String? = null

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

Link copied to clipboard

Frontend endpoints associated with this rule

Link copied to clipboard
val id: String? = null

Resource ID.

Link copied to clipboard
val name: String? = null

Resource name.

Link copied to clipboard

The route patterns of the rule.

Link copied to clipboard

Resource status.

Link copied to clipboard

A reference to the routing configuration.

Link copied to clipboard

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

Link copied to clipboard

Resource type.

Link copied to clipboard

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