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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell