Share via


UriRewriteActionProperties Class

Definition

Defines the parameters for the url rewrite action.

public class UriRewriteActionProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.UriRewriteActionProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.UriRewriteActionProperties>
public class UriRewriteActionProperties
type UriRewriteActionProperties = class
    interface IJsonModel<UriRewriteActionProperties>
    interface IPersistableModel<UriRewriteActionProperties>
type UriRewriteActionProperties = class
Public Class UriRewriteActionProperties
Implements IJsonModel(Of UriRewriteActionProperties), IPersistableModel(Of UriRewriteActionProperties)
Public Class UriRewriteActionProperties
Inheritance
UriRewriteActionProperties
Implements

Constructors

UriRewriteActionProperties(UriRewriteActionType, String, String)

Initializes a new instance of UriRewriteActionProperties.

Properties

ActionType

Gets or sets the action type.

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.

Explicit Interface Implementations

IJsonModel<UriRewriteActionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UriRewriteActionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UriRewriteActionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UriRewriteActionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UriRewriteActionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to