Class CdnWebApplicationFirewallPolicyInner


  • public class CdnWebApplicationFirewallPolicyInner
    extends com.azure.core.management.Resource
    Defines web application firewall policy for Azure CDN.
    • Constructor Detail

      • CdnWebApplicationFirewallPolicyInner

        public CdnWebApplicationFirewallPolicyInner()
    • Method Detail

      • etag

        public String etag()
        Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.
        Returns:
        the etag value.
      • withEtag

        public CdnWebApplicationFirewallPolicyInner withEtag​(String etag)
        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 CdnWebApplicationFirewallPolicyInner object itself.
      • sku

        public Sku sku()
        Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
        Returns:
        the sku value.
      • withSku

        public CdnWebApplicationFirewallPolicyInner withSku​(Sku sku)
        Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
        Parameters:
        sku - the sku value to set.
        Returns:
        the CdnWebApplicationFirewallPolicyInner object itself.
      • policySettings

        public PolicySettings policySettings()
        Get the policySettings property: Describes policySettings for policy.
        Returns:
        the policySettings value.
      • withPolicySettings

        public CdnWebApplicationFirewallPolicyInner withPolicySettings​(PolicySettings policySettings)
        Set the policySettings property: Describes policySettings for policy.
        Parameters:
        policySettings - the policySettings value to set.
        Returns:
        the CdnWebApplicationFirewallPolicyInner object itself.
      • rateLimitRules

        public RateLimitRuleList rateLimitRules()
        Get the rateLimitRules property: Describes rate limit rules inside the policy.
        Returns:
        the rateLimitRules value.
      • withRateLimitRules

        public CdnWebApplicationFirewallPolicyInner withRateLimitRules​(RateLimitRuleList rateLimitRules)
        Set the rateLimitRules property: Describes rate limit rules inside the policy.
        Parameters:
        rateLimitRules - the rateLimitRules value to set.
        Returns:
        the CdnWebApplicationFirewallPolicyInner object itself.
      • customRules

        public CustomRuleList customRules()
        Get the customRules property: Describes custom rules inside the policy.
        Returns:
        the customRules value.
      • withCustomRules

        public CdnWebApplicationFirewallPolicyInner withCustomRules​(CustomRuleList customRules)
        Set the customRules property: Describes custom rules inside the policy.
        Parameters:
        customRules - the customRules value to set.
        Returns:
        the CdnWebApplicationFirewallPolicyInner object itself.
      • managedRules

        public ManagedRuleSetList managedRules()
        Get the managedRules property: Describes managed rules inside the policy.
        Returns:
        the managedRules value.
      • withManagedRules

        public CdnWebApplicationFirewallPolicyInner withManagedRules​(ManagedRuleSetList managedRules)
        Set the managedRules property: Describes managed rules inside the policy.
        Parameters:
        managedRules - the managedRules value to set.
        Returns:
        the CdnWebApplicationFirewallPolicyInner object itself.
      • endpointLinks

        public List<EndpointResource> endpointLinks()
        Get the endpointLinks property: Describes Azure CDN endpoints associated with this Web Application Firewall policy.
        Returns:
        the endpointLinks value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Provisioning state of the WebApplicationFirewallPolicy.
        Returns:
        the provisioningState value.
      • resourceState

        public PolicyResourceState resourceState()
        Get the resourceState property: Resource status of the policy.
        Returns:
        the resourceState value.
      • systemData

        public SystemData systemData()
        Get the systemData property: Read only system data.
        Returns:
        the systemData value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.