Class ManagedRuleSetDefinitionInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cdn.fluent.models.ManagedRuleSetDefinitionInner

public final class ManagedRuleSetDefinitionInner extends com.azure.core.management.ProxyResource
Describes a managed rule set definition.
  • Constructor Details

    • ManagedRuleSetDefinitionInner

      public ManagedRuleSetDefinitionInner()
      Creates an instance of ManagedRuleSetDefinitionInner class.
  • Method Details

    • 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 ManagedRuleSetDefinitionInner 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 ManagedRuleSetDefinitionInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Read only system data.
      Returns:
      the systemData value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning state of the managed rule set.
      Returns:
      the provisioningState value.
    • ruleSetType

      public String ruleSetType()
      Get the ruleSetType property: Type of the managed rule set.
      Returns:
      the ruleSetType value.
    • ruleSetVersion

      public String ruleSetVersion()
      Get the ruleSetVersion property: Version of the managed rule set type.
      Returns:
      the ruleSetVersion value.
    • ruleGroups

      public List<ManagedRuleGroupDefinition> ruleGroups()
      Get the ruleGroups property: Rule groups of the managed rule set.
      Returns:
      the ruleGroups value.
    • validate

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