UrlRewriteActionParameters Class
Defines the parameters for the url rewrite action.
All required parameters must be populated in order to send to server.
Constructor
UrlRewriteActionParameters(*, type_name: str | _models.UrlRewriteActionParametersTypeName, source_pattern: str, destination: str, preserve_unmatched_path: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
type_name
|
Required. "DeliveryRuleUrlRewriteActionParameters" |
source_pattern
|
define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. Required. |
destination
|
Define the relative URL to which the above requests will be rewritten by. Required. |
preserve_unmatched_path
|
Whether to preserve unmatched path. Default value is true. |
Variables
Name | Description |
---|---|
type_name
|
Required. "DeliveryRuleUrlRewriteActionParameters" |
source_pattern
|
define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. Required. |
destination
|
Define the relative URL to which the above requests will be rewritten by. Required. |
preserve_unmatched_path
|
Whether to preserve unmatched path. Default value is true. |
Azure SDK for Python