Partilhar via


ArmCdnModelFactory.FrontDoorRouteData Método

Definição

Inicializa uma nova instância de FrontDoorRouteData.

public static Azure.ResourceManager.Cdn.FrontDoorRouteData FrontDoorRouteData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string endpointName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.FrontDoorActivatedResourceInfo> customDomains = default, Azure.Core.ResourceIdentifier originGroupId = default, string originPath = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ruleSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.FrontDoorEndpointProtocol> supportedProtocols = default, System.Collections.Generic.IEnumerable<string> patternsToMatch = default, Azure.ResourceManager.Cdn.Models.FrontDoorRouteCacheConfiguration cacheConfiguration = default, Azure.ResourceManager.Cdn.Models.ForwardingProtocol? forwardingProtocol = default, Azure.ResourceManager.Cdn.Models.LinkToDefaultDomain? linkToDefaultDomain = default, Azure.ResourceManager.Cdn.Models.HttpsRedirect? httpsRedirect = default, Azure.ResourceManager.Cdn.Models.EnabledState? enabledState = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default);
static member FrontDoorRouteData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.Cdn.Models.FrontDoorActivatedResourceInfo> * Azure.Core.ResourceIdentifier * string * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Cdn.Models.FrontDoorEndpointProtocol> * seq<string> * Azure.ResourceManager.Cdn.Models.FrontDoorRouteCacheConfiguration * Nullable<Azure.ResourceManager.Cdn.Models.ForwardingProtocol> * Nullable<Azure.ResourceManager.Cdn.Models.LinkToDefaultDomain> * Nullable<Azure.ResourceManager.Cdn.Models.HttpsRedirect> * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> -> Azure.ResourceManager.Cdn.FrontDoorRouteData
Public Shared Function FrontDoorRouteData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional endpointName As String = Nothing, Optional customDomains As IEnumerable(Of FrontDoorActivatedResourceInfo) = Nothing, Optional originGroupId As ResourceIdentifier = Nothing, Optional originPath As String = Nothing, Optional ruleSets As IEnumerable(Of WritableSubResource) = Nothing, Optional supportedProtocols As IEnumerable(Of FrontDoorEndpointProtocol) = Nothing, Optional patternsToMatch As IEnumerable(Of String) = Nothing, Optional cacheConfiguration As FrontDoorRouteCacheConfiguration = Nothing, Optional forwardingProtocol As Nullable(Of ForwardingProtocol) = Nothing, Optional linkToDefaultDomain As Nullable(Of LinkToDefaultDomain) = Nothing, Optional httpsRedirect As Nullable(Of HttpsRedirect) = Nothing, Optional enabledState As Nullable(Of EnabledState) = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing) As FrontDoorRouteData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

endpointName
String

O nome do ponto de extremidade que contém a rota.

customDomains
IEnumerable<FrontDoorActivatedResourceInfo>

Domínios referenciados por esse ponto de extremidade.

originGroupId
ResourceIdentifier

Uma referência ao grupo de origem.

originPath
String

Um caminho de diretório na origem que o AzureFrontDoor pode usar para recuperar conteúdo, por exemplo, contoso.cloudapp.net/originpath.

ruleSets
IEnumerable<WritableSubResource>

conjuntos de regras referenciados por esse ponto de extremidade.

supportedProtocols
IEnumerable<FrontDoorEndpointProtocol>

Lista de protocolos com suporte para essa rota.

patternsToMatch
IEnumerable<String>

Os padrões de rota da regra.

cacheConfiguration
FrontDoorRouteCacheConfiguration

A configuração de cache para essa rota. Para desabilitar o cache, não forneça um objeto cacheConfiguration.

forwardingProtocol
Nullable<ForwardingProtocol>

O protocolo que essa regra usará ao encaminhar o tráfego aos back-ends.

linkToDefaultDomain
Nullable<LinkToDefaultDomain>

se essa rota será vinculada ao domínio do ponto de extremidade padrão.

httpsRedirect
Nullable<HttpsRedirect>

Decisão de redirecionar automaticamente (ou não) o tráfego HTTP para o tráfego HTTPS. Observe que essa é uma maneira fácil de configurar essa regra e será a primeira regra a ser executada.

enabledState
Nullable<EnabledState>

Se deseja habilitar o uso dessa regra. Os valores permitidos são "Habilitado" ou "Desabilitado".

provisioningState
Nullable<FrontDoorProvisioningState>

Status de provisionamento.

Retornos

Uma nova FrontDoorRouteData instância para zombar.

Aplica-se a