New-AzCdnUrlRewriteActionObject
Create an in-memory object for UrlRewriteAction.
Syntax
New-AzCdnUrlRewriteActionObject
-ParameterDestination <String>
-ParameterSourcePattern <String>
-Name <DeliveryRuleAction>
[-ParameterPreserveUnmatchedPath <Boolean>]
[<CommonParameters>]
Description
Create an in-memory object for UrlRewriteAction.
Examples
Example 1: Create an in-memory object for UrlRewriteAction
New-AzCdnUrlRewriteActionObject -Name rewrite01 -ParameterDestination dest01 -ParameterSourcePattern pattern01
Name
----
rewrite01
Create an in-memory object for UrlRewriteAction
Parameters
-Name
The name of the action for the delivery rule.
Type: | DeliveryRuleAction |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ParameterDestination
Define the relative URL to which the above requests will be rewritten by.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ParameterPreserveUnmatchedPath
Whether to preserve unmatched path. Default value is true.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ParameterSourcePattern
define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |