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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell