Compartilhar via


ArmFrontDoorModelFactory.RoutingRuleData Método

Definição

Inicializa uma nova instância de RoutingRuleData.

public static Azure.ResourceManager.FrontDoor.Models.RoutingRuleData RoutingRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> frontendEndpoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.FrontDoorProtocol> acceptedProtocols = default, System.Collections.Generic.IEnumerable<string> patternsToMatch = default, Azure.ResourceManager.FrontDoor.Models.RoutingRuleEnabledState? enabledState = default, Azure.ResourceManager.FrontDoor.Models.RouteConfiguration routeConfiguration = default, Azure.Core.ResourceIdentifier rulesEngineId = default, Azure.Core.ResourceIdentifier webApplicationFirewallPolicyLinkId = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState? resourceState = default);
static member RoutingRuleData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.FrontDoor.Models.FrontDoorProtocol> * seq<string> * Nullable<Azure.ResourceManager.FrontDoor.Models.RoutingRuleEnabledState> * Azure.ResourceManager.FrontDoor.Models.RouteConfiguration * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState> -> Azure.ResourceManager.FrontDoor.Models.RoutingRuleData
Public Shared Function RoutingRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional frontendEndpoints As IEnumerable(Of WritableSubResource) = Nothing, Optional acceptedProtocols As IEnumerable(Of FrontDoorProtocol) = Nothing, Optional patternsToMatch As IEnumerable(Of String) = Nothing, Optional enabledState As Nullable(Of RoutingRuleEnabledState) = Nothing, Optional routeConfiguration As RouteConfiguration = Nothing, Optional rulesEngineId As ResourceIdentifier = Nothing, Optional webApplicationFirewallPolicyLinkId As ResourceIdentifier = Nothing, Optional resourceState As Nullable(Of FrontDoorResourceState) = Nothing) As RoutingRuleData

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

frontendEndpoints
IEnumerable<WritableSubResource>

Pontos de extremidade de front-end associados a essa regra.

acceptedProtocols
IEnumerable<FrontDoorProtocol>

Esquemas de protocolo para corresponder a essa regra.

patternsToMatch
IEnumerable<String>

Os padrões de rota da regra.

enabledState
Nullable<RoutingRuleEnabledState>

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

routeConfiguration
RouteConfiguration

Uma referência à configuração de roteamento. RouteConfiguration Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem ForwardingConfiguration e RedirectConfiguration.

rulesEngineId
ResourceIdentifier

Uma referência a uma configuração específica do mecanismo de regras a ser aplicada a essa rota.

webApplicationFirewallPolicyLinkId
ResourceIdentifier

Define a política de Firewall de Aplicativo Web para cada regra de roteamento (se aplicável).

resourceState
Nullable<FrontDoorResourceState>

Status de recursos.

Retornos

Uma nova RoutingRuleData instância para zombar.

Aplica-se a