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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.