Share via


FrontDoorRouteData Class

Definition

A class representing the FrontDoorRoute data model. Friendly Routes name mapping to the any Routes or secret related information. Serialized Name: Route

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

Constructors

FrontDoorRouteData()

Initializes a new instance of FrontDoorRouteData.

Properties

CacheConfiguration

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

CustomDomains

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

DeploymentStatus

Serialized Name: Route.properties.deploymentStatus.

EnabledState

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

EndpointName

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

ForwardingProtocol

Protocol this rule will use when forwarding traffic to backends. Serialized Name: Route.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: Route.properties.httpsRedirect

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
LinkToDefaultDomain

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

Name

The name of the resource.

(Inherited from ResourceData)
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: Route.properties.originPath

PatternsToMatch

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

ProvisioningState

Provisioning status Serialized Name: Route.properties.provisioningState

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RuleSets

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

SupportedProtocols

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<FrontDoorRouteData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FrontDoorRouteData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorRouteData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FrontDoorRouteData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FrontDoorRouteData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to