Поделиться через


UriRewriteActionProperties Class

Definition

Defines the parameters for the url rewrite action. Serialized Name: UrlRewriteActionParameters

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

Constructors

UriRewriteActionProperties(String, String)

Initializes a new instance of UriRewriteActionProperties.

Properties

Destination

Define the relative URL to which the above requests will be rewritten by. Serialized Name: UrlRewriteActionParameters.destination

PreserveUnmatchedPath

Whether to preserve unmatched path. Default value is true. Serialized Name: UrlRewriteActionParameters.preserveUnmatchedPath

SourcePattern

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeliveryRuleActionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DeliveryRuleActionProperties)
IJsonModel<DeliveryRuleActionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DeliveryRuleActionProperties)
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<DeliveryRuleActionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DeliveryRuleActionProperties)
IPersistableModel<DeliveryRuleActionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DeliveryRuleActionProperties)
IPersistableModel<DeliveryRuleActionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DeliveryRuleActionProperties)
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