CdnRouteProperties Class

Definition

The JSON object that contains the properties of the Routes to create.

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

Constructors

Name Description
CdnRouteProperties()

Initializes a new instance of CdnRouteProperties.

Properties

Name Description
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 DeploymentStatus.

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.

GrpcState

Whether or not gRPC is enabled on this route. Permitted values are 'Enabled' or 'Disabled'.

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

Resource 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.

RuleSets

rule sets referenced by this endpoint.

SupportedProtocols

List of supported protocols for this route.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CdnRouteProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CdnRouteProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CdnRouteProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CdnRouteProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CdnRouteProperties>.Write(ModelReaderWriterOptions)

Applies to