UrlRewriteActionParameters Class
Defines the parameters for the url rewrite action.
Constructor
UrlRewriteActionParameters(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
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. |
|
type_name
|
str or
<xref:azure.mgmt.cdn.models.DELIVERY_RULE_URL_REWRITE_ACTION_PARAMETERS>
Required. DELIVERY_RULE_URL_REWRITE_ACTION_PARAMETERS. |
Attributes
destination
Define the relative URL to which the above requests will be rewritten by. Required.
destination: str
preserve_unmatched_path
Whether to preserve unmatched path. Default value is true.
preserve_unmatched_path: bool | None
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.
source_pattern: str
type_name
Required. DELIVERY_RULE_URL_REWRITE_ACTION_PARAMETERS.
type_name: DELIVERY_RULE_URL_REWRITE_ACTION_PARAMETERS: 'DeliveryRuleUrlRewriteActionParameters'>]