def __init__(__self__, *, enable: Optional[pulumi.Input[bool]]=None, rule_visibility: Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility']]=None):
    "\n        Configuration options for L7 DDoS detection.\n        :param pulumi.Input[bool] enable: If set to true, enables CAAP for L7 DDoS detection.\n        :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility'] rule_visibility: Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.\n        "
    if (enable is not None):
        pulumi.set(__self__, 'enable', enable)
    if (rule_visibility is not None):
        pulumi.set(__self__, 'rule_visibility', rule_visibility)
Configuration options for L7 DDoS detection.
:param pulumi.Input[bool] enable: If set to true, enables CAAP for L7 DDoS detection.
:param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility'] rule_visibility: Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.
def __init__(__self__, *, enable: Optional[pulumi.Input[bool]]=None, rule_visibility: Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility']]=None):
    "\n        Configuration options for L7 DDoS detection.\n        :param pulumi.Input[bool] enable: If set to true, enables CAAP for L7 DDoS detection.\n        :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility'] rule_visibility: Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.\n        "
    if (enable is not None):
        pulumi.set(__self__, 'enable', enable)
    if (rule_visibility is not None):
        pulumi.set(__self__, 'rule_visibility', rule_visibility)