Content protection rule
akamai_botman_content_protection_rule
Get details about your content protection rules.
// Get all content protection rules
data "akamai_botman_content_protection_rule" "my_content_protection_rules" {
config_id = 12345
security_policy_id = "abc1_12345"
}
output "my_content_protection_rules" {
value = data.akamai_botman_content_protection_rule.my_content_protection_rules
}
// Get a specific content protection rule
data "akamai_botman_content_protection_rule" "my_content_protection_rule" {
config_id = 12345
security_policy_id = "abc1_12345"
content_protection_rule_id = "abcd1ef2-345g-6789-h012-34ij5kl6mn7o"
}
output "my_content_protection_rule" {
value = data.akamai_botman_content_protection_rule.my_content_protection_rule
}
Arguments
Argument | Required | Description |
---|---|---|
config_id | ✔️ | The security configuration's ID. |
security_policy_id | ✔️ | The security policy's ID. |
content_protection_rule_id | The content protection rule's ID. If omitted, all content protection rules are returned. |
Attributes
Returned to you is a JSON-encoded list of your content protection rules.
Attribute | Description |
---|---|
json | A JSON-encoded list of information about the API endpoints. |
Updated 5 months ago