共用方式為


FrontDoorRouteData Class

Definition

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

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.

CustomDomains

Domains referenced by this endpoint.

DeploymentStatus

Gets the deployment status.

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.

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.

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.

PatternsToMatch

The route patterns of the rule.

ProvisioningState

Provisioning status.

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.

SupportedProtocols

List of supported protocols for this route.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

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