共用方式為


Route Constructors

Definition

Overloads

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.

Route()

Initializes a new instance of the Route class.

public Route ();
Public Sub New ()

Applies to

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.

public Route (Microsoft.Azure.Management.Cdn.Models.ResourceReference originGroup, string id = default, string name = default, string type = default, Microsoft.Azure.Management.Cdn.Models.SystemData systemData = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> customDomains = default, string originPath = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> ruleSets = default, System.Collections.Generic.IList<string> supportedProtocols = default, System.Collections.Generic.IList<string> patternsToMatch = default, object compressionSettings = default, Microsoft.Azure.Management.Cdn.Models.AfdQueryStringCachingBehavior? queryStringCachingBehavior = default, string forwardingProtocol = default, string linkToDefaultDomain = default, string httpsRedirect = default, string enabledState = default, string provisioningState = default, string deploymentStatus = default);
new Microsoft.Azure.Management.Cdn.Models.Route : Microsoft.Azure.Management.Cdn.Models.ResourceReference * string * string * string * Microsoft.Azure.Management.Cdn.Models.SystemData * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * obj * Nullable<Microsoft.Azure.Management.Cdn.Models.AfdQueryStringCachingBehavior> * string * string * string * string * string * string -> Microsoft.Azure.Management.Cdn.Models.Route
Public Sub New (originGroup As ResourceReference, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional customDomains As IList(Of ResourceReference) = Nothing, Optional originPath As String = Nothing, Optional ruleSets As IList(Of ResourceReference) = Nothing, Optional supportedProtocols As IList(Of String) = Nothing, Optional patternsToMatch As IList(Of String) = Nothing, Optional compressionSettings As Object = Nothing, Optional queryStringCachingBehavior As Nullable(Of AfdQueryStringCachingBehavior) = Nothing, Optional forwardingProtocol As String = Nothing, Optional linkToDefaultDomain As String = Nothing, Optional httpsRedirect As String = Nothing, Optional enabledState As String = Nothing, Optional provisioningState As String = Nothing, Optional deploymentStatus As String = Nothing)

Parameters

originGroup
ResourceReference

A reference to the origin group.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

systemData
SystemData
customDomains
IList<ResourceReference>

Domains referenced by this endpoint.

originPath
String

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

ruleSets
IList<ResourceReference>

rule sets referenced by this endpoint.

supportedProtocols
IList<String>

List of supported protocols for this route.

patternsToMatch
IList<String>

The route patterns of the rule.

compressionSettings
Object

compression settings.

queryStringCachingBehavior
Nullable<AfdQueryStringCachingBehavior>

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'

forwardingProtocol
String

Protocol this rule will use when forwarding traffic to backends. Possible values include: 'HttpOnly', 'HttpsOnly', 'MatchRequest'

linkToDefaultDomain
String

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

httpsRedirect
String

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'

enabledState
String

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

provisioningState
String

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

deploymentStatus
String

Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'

Applies to