共用方式為


FrontDoorRoutePatch Class

Definition

The domain JSON object required for domain creation or update.

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.

CustomDomains

Domains referenced by this endpoint.

EnabledState

Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.

EndpointName

The name of the endpoint which holds the route.

ForwardingProtocol

Protocol this rule will use when forwarding traffic to backends.

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.

LinkToDefaultDomain

whether this route will be linked to the default endpoint domain.

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.

PatternsToMatch

The route patterns of the rule.

RuleSets

rule sets referenced by this endpoint.

SupportedProtocols

List of supported protocols for this route.

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