Class WebApplicationFirewallPolicyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.frontdoor.fluent.models.WebApplicationFirewallPolicyInner
public final class WebApplicationFirewallPolicyInner
extends com.azure.core.management.Resource
Defines web application firewall policy.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WebApplicationFirewallPolicyInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customRules property: Describes custom rules inside the policy.etag()
Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.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.sku()
Get the sku property: The pricing tier of web application firewall policy.void
validate()
Validates the instance.withCustomRules
(CustomRuleList customRules) Set the customRules property: Describes custom rules inside the policy.Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.withLocation
(String location) 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.Set the sku property: The pricing tier of web application firewall policy.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WebApplicationFirewallPolicyInner
public WebApplicationFirewallPolicyInner()Creates an instance of WebApplicationFirewallPolicyInner class.
-
-
Method Details
-
etag
Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withEtag
Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.- Parameters:
etag
- the etag value to set.- Returns:
- the WebApplicationFirewallPolicyInner object itself.
-
sku
Get the sku property: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.- Returns:
- the sku value.
-
withSku
Set the sku property: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.- Parameters:
sku
- the sku value to set.- Returns:
- the WebApplicationFirewallPolicyInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 WebApplicationFirewallPolicyInner 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 WebApplicationFirewallPolicyInner 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 WebApplicationFirewallPolicyInner 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.
-