public class WebApplicationFirewallPolicyInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
WebApplicationFirewallPolicyInner() |
| Modifier and Type | Method and Description |
|---|---|
List<ApplicationGatewayInner> |
applicationGateways()
Get the applicationGateways property: A collection of references to application gateways.
|
List<WebApplicationFirewallCustomRule> |
customRules()
Get the customRules property: The custom rules inside the policy.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
List<com.azure.core.management.SubResource> |
httpListeners()
Get the httpListeners property: A collection of references to application gateway http listeners.
|
String |
id()
Get the id property: Resource ID.
|
ManagedRulesDefinition |
managedRules()
Get the managedRules property: Describes the managedRules structure.
|
List<com.azure.core.management.SubResource> |
pathBasedRules()
Get the pathBasedRules property: A collection of references to application gateway path rules.
|
PolicySettings |
policySettings()
Get the policySettings property: The PolicySettings for policy.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the web application firewall policy resource.
|
WebApplicationFirewallPolicyResourceState |
resourceState()
Get the resourceState property: Resource status of the policy.
|
void |
validate()
Validates the instance.
|
WebApplicationFirewallPolicyInner |
withCustomRules(List<WebApplicationFirewallCustomRule> customRules)
Set the customRules property: The custom rules inside the policy.
|
WebApplicationFirewallPolicyInner |
withId(String id)
Set the id property: Resource ID.
|
WebApplicationFirewallPolicyInner |
withManagedRules(ManagedRulesDefinition managedRules)
Set the managedRules property: Describes the managedRules structure.
|
WebApplicationFirewallPolicyInner |
withPolicySettings(PolicySettings policySettings)
Set the policySettings property: The PolicySettings for policy.
|
public String etag()
public PolicySettings policySettings()
public WebApplicationFirewallPolicyInner withPolicySettings(PolicySettings policySettings)
policySettings - the policySettings value to set.public List<WebApplicationFirewallCustomRule> customRules()
public WebApplicationFirewallPolicyInner withCustomRules(List<WebApplicationFirewallCustomRule> customRules)
customRules - the customRules value to set.public List<ApplicationGatewayInner> applicationGateways()
public ProvisioningState provisioningState()
public WebApplicationFirewallPolicyResourceState resourceState()
public ManagedRulesDefinition managedRules()
public WebApplicationFirewallPolicyInner withManagedRules(ManagedRulesDefinition managedRules)
managedRules - the managedRules value to set.public List<com.azure.core.management.SubResource> httpListeners()
public List<com.azure.core.management.SubResource> pathBasedRules()
public String id()
id in class com.azure.core.management.ProxyResourcepublic WebApplicationFirewallPolicyInner withId(String id)
id - the id value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.