共用方式為


UriRewriteActionProperties(UriRewriteActionType, String, String) Constructor

Definition

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

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