FrontdoorRouteArgs

data class FrontdoorRouteArgs(val cache: Output<FrontdoorRouteCacheArgs>? = null, val cdnFrontdoorCustomDomainIds: Output<List<String>>? = null, val cdnFrontdoorEndpointId: Output<String>? = null, val cdnFrontdoorOriginGroupId: Output<String>? = null, val cdnFrontdoorOriginIds: Output<List<String>>? = null, val cdnFrontdoorOriginPath: Output<String>? = null, val cdnFrontdoorRuleSetIds: Output<List<String>>? = null, val enabled: Output<Boolean>? = null, val forwardingProtocol: Output<String>? = null, val httpsRedirectEnabled: Output<Boolean>? = null, val linkToDefaultDomain: Output<Boolean>? = null, val name: Output<String>? = null, val patternsToMatches: Output<List<String>>? = null, val supportedProtocols: Output<List<String>>? = null) : ConvertibleToJava<FrontdoorRouteArgs>

Manages a Front Door (standard/premium) Route.

Import

Front Door Routes can be imported using the resource id, e.g.

$ pulumi import azure:cdn/frontdoorRoute:FrontdoorRoute example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1/routes/route1

Constructors

Link copied to clipboard
fun FrontdoorRouteArgs(cache: Output<FrontdoorRouteCacheArgs>? = null, cdnFrontdoorCustomDomainIds: Output<List<String>>? = null, cdnFrontdoorEndpointId: Output<String>? = null, cdnFrontdoorOriginGroupId: Output<String>? = null, cdnFrontdoorOriginIds: Output<List<String>>? = null, cdnFrontdoorOriginPath: Output<String>? = null, cdnFrontdoorRuleSetIds: Output<List<String>>? = null, enabled: Output<Boolean>? = null, forwardingProtocol: Output<String>? = null, httpsRedirectEnabled: Output<Boolean>? = null, linkToDefaultDomain: Output<Boolean>? = null, name: Output<String>? = null, patternsToMatches: Output<List<String>>? = null, supportedProtocols: Output<List<String>>? = null)

Functions

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

Properties

Link copied to clipboard
val cache: Output<FrontdoorRouteCacheArgs>? = null

A cache block as defined below.

Link copied to clipboard

The IDs of the Front Door Custom Domains which are associated with this Front Door Route.

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

The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.

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

The resource ID of the Front Door Origin Group where this Front Door Route should be created.

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

One or more Front Door Origin resource IDs that this Front Door Route will link to.

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

A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).

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

A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Is this Front Door Route enabled? Possible values are true or false. Defaults to true.

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

The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest.

Link copied to clipboard
val httpsRedirectEnabled: Output<Boolean>? = null

Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

Link copied to clipboard
val linkToDefaultDomain: Output<Boolean>? = null

Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.

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

The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.

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

The route patterns of the rule.

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

One or more Protocols supported by this Front Door Route. Possible values are Http or Https.