ArmCdnModelFactory.UriRewriteActionProperties Method
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.
Defines the parameters for the url rewrite action.
public static Azure.ResourceManager.Cdn.Models.UriRewriteActionProperties UriRewriteActionProperties(string sourcePattern = default, string destination = default, bool? preserveUnmatchedPath = default);
static member UriRewriteActionProperties : string * string * Nullable<bool> -> Azure.ResourceManager.Cdn.Models.UriRewriteActionProperties
Public Shared Function UriRewriteActionProperties (Optional sourcePattern As String = Nothing, Optional destination As String = Nothing, Optional preserveUnmatchedPath As Nullable(Of Boolean) = Nothing) As UriRewriteActionProperties
Parameters
- sourcePattern
- String
define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.
- destination
- String
Define the relative URL to which the above requests will be rewritten by.
Returns
A new UriRewriteActionProperties instance for mocking.