RouteUpdateParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RouteUpdateParameters() |
Initializes a new instance of the RouteUpdateParameters class. |
RouteUpdateParameters(IList<ResourceReference>, ResourceReference, String, IList<ResourceReference>, IList<String>, IList<String>, Object, Nullable<AfdQueryStringCachingBehavior>, String, String, String, String) |
Initializes a new instance of the RouteUpdateParameters class. |
RouteUpdateParameters()
Initializes a new instance of the RouteUpdateParameters class.
public RouteUpdateParameters ();
Public Sub New ()
Applies to
RouteUpdateParameters(IList<ResourceReference>, ResourceReference, String, IList<ResourceReference>, IList<String>, IList<String>, Object, Nullable<AfdQueryStringCachingBehavior>, String, String, String, String)
Initializes a new instance of the RouteUpdateParameters class.
public RouteUpdateParameters (System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> customDomains = default, Microsoft.Azure.Management.Cdn.Models.ResourceReference originGroup = 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);
new Microsoft.Azure.Management.Cdn.Models.RouteUpdateParameters : System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> * 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 -> Microsoft.Azure.Management.Cdn.Models.RouteUpdateParameters
Public Sub New (Optional customDomains As IList(Of ResourceReference) = Nothing, Optional originGroup As 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)
Parameters
- customDomains
- IList<ResourceReference>
Domains referenced by this endpoint.
- originGroup
- ResourceReference
A reference to the origin group.
- 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.
- 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'
Applies to
Azure SDK for .NET