New-AzFrontDoorCdnRuleUrlRewriteActionObject
Create an in-memory object for UrlRewriteAction.
Syntax
New-AzFrontDoorCdnRuleUrlRewriteActionObject
-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-AzFrontDoorCdnRuleUrlRewriteActionObject -Name UrlRewrite -ParameterDestination /b -ParameterSourcePattern /a -ParameterPreserveUnmatchedPath $False
Name
----
UrlRewrite
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 |
Outputs
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.