UriRewriteActionProperties(UriRewriteActionType, String, String) Constructor
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.
Initializes a new instance of UriRewriteActionProperties.
public UriRewriteActionProperties (Azure.ResourceManager.Cdn.Models.UriRewriteActionType actionType, string sourcePattern, string destination);
new Azure.ResourceManager.Cdn.Models.UriRewriteActionProperties : Azure.ResourceManager.Cdn.Models.UriRewriteActionType * string * string -> Azure.ResourceManager.Cdn.Models.UriRewriteActionProperties
Public Sub New (actionType As UriRewriteActionType, sourcePattern As String, destination As String)
Parameters
- actionType
- UriRewriteActionType
- 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.
Exceptions
sourcePattern
or destination
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET