Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

New-AzCdnUrlRewriteActionObject

Module:
Az.Cdn Module

Create an in-memory object for UrlRewriteAction.

Syntax

Default (Default)

New-AzCdnUrlRewriteActionObject
 -ParameterDestination <String>
 -ParameterSourcePattern <String>
 -ParameterTypeName <String>
 [-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

-ParameterDestination

Define the relative URL to which the above requests will be rewritten by.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ParameterPreserveUnmatchedPath

Whether to preserve unmatched path. Default value is true.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ParameterSourcePattern

define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ParameterTypeName

Create an in-memory object for UrlRewriteAction.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Name

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

UrlRewriteAction


Feedback

Was this page helpful?