Partager via


UrlRewriteActionParameters Class

Definition

Defines the parameters for the url rewrite action.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.UrlRewriteActionParametersTypeConverter))]
public class UrlRewriteActionParameters : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IUrlRewriteActionParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.UrlRewriteActionParametersTypeConverter))>]
type UrlRewriteActionParameters = class
    interface IUrlRewriteActionParameters
    interface IJsonSerializable
Public Class UrlRewriteActionParameters
Implements IUrlRewriteActionParameters
Inheritance
UrlRewriteActionParameters
Attributes
Implements

Constructors

UrlRewriteActionParameters()

Creates an new UrlRewriteActionParameters instance.

Properties

Destination

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

PreserveUnmatchedPath

Whether to preserve unmatched path. Default value is true.

SourcePattern

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

TypeName

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UrlRewriteActionParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UrlRewriteActionParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UrlRewriteActionParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to