Note

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

Access to this page requires authorization. You can try .

UrlRewriteAction Class

Definition

Namespace:
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models
Assembly:
Az.Cdn.private.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines the url rewrite action for the delivery rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteActionTypeConverter))]
public class UrlRewriteAction : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUrlRewriteAction, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteActionTypeConverter))>]
type UrlRewriteAction = class
 interface IUrlRewriteAction
 interface IJsonSerializable
 interface IDeliveryRuleAction
 interface IValidates
Public Class UrlRewriteAction
Implements IUrlRewriteAction, IValidates
Inheritance
UrlRewriteAction
Attributes
Implements

Constructors

Name Description
UrlRewriteAction()

Creates an new UrlRewriteAction instance.

Properties

Name Description
Name

The name of the action for the delivery rule.

ParameterDestination

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

ParameterPreserveUnmatchedPath

Whether to preserve unmatched path. Default value is true.

ParameterSourcePattern

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

ParameterTypeName

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UrlRewriteAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UrlRewriteAction.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUrlRewriteAction.

FromJsonString(String)

Creates a new instance of UrlRewriteAction, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of UrlRewriteAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to