Class CdnWebApplicationFirewallPolicyProperties
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.CdnWebApplicationFirewallPolicyProperties
Defines CDN web application firewall policy properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the customRules property: Describes custom rules inside the policy.Get the endpointLinks property: Describes Azure CDN endpoints associated with this Web Application Firewall policy.Get the managedRules property: Describes managed rules inside the policy.Get the policySettings property: Describes policySettings for policy.Get the provisioningState property: Provisioning state of the WebApplicationFirewallPolicy.Get the rateLimitRules property: Describes rate limit rules inside the policy.Get the resourceState property: Resource status of the policy.voidvalidate()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 policySettings for policy.withRateLimitRules(RateLimitRuleList rateLimitRules) Set the rateLimitRules property: Describes rate limit rules inside the policy.
-
Constructor Details
-
CdnWebApplicationFirewallPolicyProperties
public CdnWebApplicationFirewallPolicyProperties()
-
-
Method Details
-
policySettings
Get the policySettings property: Describes policySettings for policy.- Returns:
- the policySettings value.
-
withPolicySettings
Set the policySettings property: Describes policySettings for policy.- Parameters:
policySettings- the policySettings value to set.- Returns:
- the CdnWebApplicationFirewallPolicyProperties object itself.
-
rateLimitRules
Get the rateLimitRules property: Describes rate limit rules inside the policy.- Returns:
- the rateLimitRules value.
-
withRateLimitRules
public CdnWebApplicationFirewallPolicyProperties withRateLimitRules(RateLimitRuleList rateLimitRules) Set the rateLimitRules property: Describes rate limit rules inside the policy.- Parameters:
rateLimitRules- the rateLimitRules value to set.- Returns:
- the CdnWebApplicationFirewallPolicyProperties 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 CdnWebApplicationFirewallPolicyProperties 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 CdnWebApplicationFirewallPolicyProperties object itself.
-
endpointLinks
Get the endpointLinks property: Describes Azure CDN endpoints associated with this Web Application Firewall policy.- Returns:
- the endpointLinks value.
-
provisioningState
Get the provisioningState property: Provisioning state of the WebApplicationFirewallPolicy.- 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.
-