Class WebApplicationFirewallPolicyProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.WebApplicationFirewallPolicyProperties
Defines web application firewall policy properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WebApplicationFirewallPolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customRules property: Describes custom rules inside the policy.Get the frontendEndpointLinks property: Describes Frontend Endpoints associated with this Web Application Firewall policy.Get the managedRules property: Describes managed rules inside the policy.Get the policySettings property: Describes settings for the policy.Get the provisioningState property: Provisioning state of the policy.Get the resourceState property: Resource status of the policy.Get the routingRuleLinks property: Describes Routing Rules associated with this Web Application Firewall policy.Get the securityPolicyLinks property: Describes Security Policy associated with this Web Application Firewall policy.void
validate()
Validates the instance.withCustomRules
(CustomRuleList customRules) Set the customRules property: Describes custom rules inside the policy.withManagedRules
(ManagedRuleSetList managedRules) Set the managedRules property: Describes managed rules inside the policy.withPolicySettings
(PolicySettings policySettings) Set the policySettings property: Describes settings for the policy.
-
Constructor Details
-
WebApplicationFirewallPolicyProperties
public WebApplicationFirewallPolicyProperties()Creates an instance of WebApplicationFirewallPolicyProperties class.
-
-
Method Details
-
policySettings
Get the policySettings property: Describes settings for the policy.- Returns:
- the policySettings value.
-
withPolicySettings
Set the policySettings property: Describes settings for the policy.- Parameters:
policySettings
- the policySettings value to set.- Returns:
- the WebApplicationFirewallPolicyProperties object itself.
-
customRules
Get the customRules property: Describes custom rules inside the policy.- Returns:
- the customRules value.
-
withCustomRules
Set the customRules property: Describes custom rules inside the policy.- Parameters:
customRules
- the customRules value to set.- Returns:
- the WebApplicationFirewallPolicyProperties object itself.
-
managedRules
Get the managedRules property: Describes managed rules inside the policy.- Returns:
- the managedRules value.
-
withManagedRules
Set the managedRules property: Describes managed rules inside the policy.- Parameters:
managedRules
- the managedRules value to set.- Returns:
- the WebApplicationFirewallPolicyProperties object itself.
-
frontendEndpointLinks
Get the frontendEndpointLinks property: Describes Frontend Endpoints associated with this Web Application Firewall policy.- Returns:
- the frontendEndpointLinks value.
-
routingRuleLinks
Get the routingRuleLinks property: Describes Routing Rules associated with this Web Application Firewall policy.- Returns:
- the routingRuleLinks value.
-
securityPolicyLinks
Get the securityPolicyLinks property: Describes Security Policy associated with this Web Application Firewall policy.- Returns:
- the securityPolicyLinks value.
-
provisioningState
Get the provisioningState property: Provisioning state of the policy.- Returns:
- the provisioningState value.
-
resourceState
Get the resourceState property: Resource status of the policy.- Returns:
- the resourceState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-