ArmNetworkModelFactory.WebApplicationFirewallPolicyData Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância de WebApplicationFirewallPolicyData.
public static Azure.ResourceManager.Network.WebApplicationFirewallPolicyData WebApplicationFirewallPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.PolicySettings policySettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule> customRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ApplicationGatewayData> applicationGateways = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicyResourceState? resourceState = default, Azure.ResourceManager.Network.Models.ManagedRulesDefinition managedRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> httpListeners = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> pathBasedRules = default);
static member WebApplicationFirewallPolicyData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.ResourceManager.Network.Models.PolicySettings * seq<Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule> * seq<Azure.ResourceManager.Network.ApplicationGatewayData> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicyResourceState> * Azure.ResourceManager.Network.Models.ManagedRulesDefinition * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> -> Azure.ResourceManager.Network.WebApplicationFirewallPolicyData
Public Shared Function WebApplicationFirewallPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional policySettings As PolicySettings = Nothing, Optional customRules As IEnumerable(Of WebApplicationFirewallCustomRule) = Nothing, Optional applicationGateways As IEnumerable(Of ApplicationGatewayData) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceState As Nullable(Of WebApplicationFirewallPolicyResourceState) = Nothing, Optional managedRules As ManagedRulesDefinition = Nothing, Optional httpListeners As IEnumerable(Of WritableSubResource) = Nothing, Optional pathBasedRules As IEnumerable(Of WritableSubResource) = Nothing) As WebApplicationFirewallPolicyData
Parâmetros
ID do recurso.
- name
- String
Nome do recurso.
- resourceType
- Nullable<ResourceType>
Tipo de recurso.
- location
- Nullable<AzureLocation>
Local do recurso.
- tags
- IDictionary<String,String>
Marcas de recurso.
Uma cadeia de caracteres exclusiva somente leitura que é alterada sempre que o recurso é atualizado.
- policySettings
- PolicySettings
As PolicySettings para a política.
- customRules
- IEnumerable<WebApplicationFirewallCustomRule>
As regras personalizadas dentro da política.
- applicationGateways
- IEnumerable<ApplicationGatewayData>
Uma coleção de referências a gateways de aplicativo.
- provisioningState
- Nullable<NetworkProvisioningState>
O estado de provisionamento do recurso de política de firewall do aplicativo Web.
- resourceState
- Nullable<WebApplicationFirewallPolicyResourceState>
Status de recursos da política.
- managedRules
- ManagedRulesDefinition
Descreve a estrutura managedRules.
- httpListeners
- IEnumerable<WritableSubResource>
Uma coleção de referências aos ouvintes http do gateway de aplicativo.
- pathBasedRules
- IEnumerable<WritableSubResource>
Uma coleção de referências às regras de caminho do gateway de aplicativo.
Retornos
Uma nova WebApplicationFirewallPolicyData instância para simulação.
Aplica-se a
Azure SDK for .NET