Share via


FrontDoorRoutePatch Class

Definition

The ___domain JSON object required for ___domain creation or update. Serialized Name: RouteUpdateParameters

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

Constructors

FrontDoorRoutePatch()

Initializes a new instance of FrontDoorRoutePatch.

Properties

CacheConfiguration

The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. Serialized Name: RouteUpdateParameters.properties.cacheConfiguration

CustomDomains

Domains referenced by this endpoint. Serialized Name: RouteUpdateParameters.properties.customDomains

EnabledState

Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' Serialized Name: RouteUpdateParameters.properties.enabledState

EndpointName

The name of the endpoint which holds the route. Serialized Name: RouteUpdateParameters.properties.endpointName

ForwardingProtocol

Protocol this rule will use when forwarding traffic to backends. Serialized Name: RouteUpdateParameters.properties.forwardingProtocol

HttpsRedirect

Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. Serialized Name: RouteUpdateParameters.properties.httpsRedirect

LinkToDefaultDomain

whether this route will be linked to the default endpoint ___domain. Serialized Name: RouteUpdateParameters.properties.linkToDefaultDomain

OriginGroupId

Gets or sets Id.

OriginPath

A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. Serialized Name: RouteUpdateParameters.properties.originPath

PatternsToMatch

The route patterns of the rule. Serialized Name: RouteUpdateParameters.properties.patternsToMatch

RuleSets

rule sets referenced by this endpoint. Serialized Name: RouteUpdateParameters.properties.ruleSets

SupportedProtocols

List of supported protocols for this route. Serialized Name: RouteUpdateParameters.properties.supportedProtocols

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FrontDoorRoutePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FrontDoorRoutePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorRoutePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FrontDoorRoutePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FrontDoorRoutePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to