Share via


Route Class

Definition

Friendly Routes name mapping to the any Routes or secret related information.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Route : Microsoft.Azure.Management.Cdn.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Route = class
    inherit ProxyResource
Public Class Route
Inherits ProxyResource
Inheritance
Attributes

Constructors

Route()

Initializes a new instance of the Route class.

Route(ResourceReference, String, String, String, SystemData, IList<ResourceReference>, String, IList<ResourceReference>, IList<String>, IList<String>, Object, Nullable<AfdQueryStringCachingBehavior>, String, String, String, String, String, String)

Initializes a new instance of the Route class.

Properties

CompressionSettings

Gets or sets compression settings.

CustomDomains

Gets or sets domains referenced by this endpoint.

DeploymentStatus

Gets possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'

EnabledState

Gets or sets whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'

ForwardingProtocol

Gets or sets protocol this rule will use when forwarding traffic to backends. Possible values include: 'HttpOnly', 'HttpsOnly', 'MatchRequest'

HttpsRedirect

Gets or sets whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. Possible values include: 'Enabled', 'Disabled'

Id

Gets resource ID.

(Inherited from Resource)
LinkToDefaultDomain

Gets or sets whether this route will be linked to the default endpoint domain. Possible values include: 'Enabled', 'Disabled'

Name

Gets resource name.

(Inherited from Resource)
OriginGroup

Gets or sets a reference to the origin group.

OriginPath

Gets or sets a directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.

PatternsToMatch

Gets or sets the route patterns of the rule.

ProvisioningState

Gets provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'

QueryStringCachingBehavior

Gets or sets defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'UseQueryString', 'NotSet'

RuleSets

Gets or sets rule sets referenced by this endpoint.

SupportedProtocols

Gets or sets list of supported protocols for this route.

SystemData (Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to