Partager via


Route Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.RouteTypeConverter))]
public class Route : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRoute, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.RouteTypeConverter))>]
type Route = class
    interface IRoute
    interface IJsonSerializable
    interface IResource
    interface IValidates
    interface IHeaderSerializable
Public Class Route
Implements IHeaderSerializable, IRoute, IValidates
Inheritance
Route
Attributes
Implements

Constructors

Route()

Creates an new Route instance.

Properties

CacheConfigurationQueryParameter

query parameters to include or exclude (comma separated).

CacheConfigurationQueryStringCachingBehavior

Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings.

CompressionSettingContentTypesToCompress

List of content types on which compression applies. The value should be a valid MIME type.

CompressionSettingIsCompressionEnabled

Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.

CustomDomain

Domains referenced by this endpoint.

DeploymentStatus
EnabledState

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

EndpointName

The name of the endpoint which holds the route.

ForwardingProtocol

Protocol this rule will use when forwarding traffic to backends.

HttpsRedirect

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.

Id

Resource ID.

LinkToDefaultDomain

whether this route will be linked to the default endpoint domain.

Location
Name

Resource name.

OriginGroupId

Resource ID.

OriginPath

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

PatternsToMatch

The route patterns of the rule.

ProvisioningState

Provisioning status

ResourceGroupName

Gets the resource group name

RuleSet

rule sets referenced by this endpoint.

SupportedProtocol

List of supported protocols for this route.

SystemData

Read only system data

SystemDataCreatedAt

The timestamp of resource creation (UTC)

SystemDataCreatedBy

An identifier for the identity that created the resource

SystemDataCreatedByType

The type of identity that created the resource

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

An identifier for the identity that last modified the resource

SystemDataLastModifiedByType

The type of identity that last modified the resource

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Route.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Route.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRoute.

FromJsonString(String)

Creates a new instance of Route, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Route into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to