Provides a resource to manage operation-level settings in API Shield Schema Validation 2.0.
resource "cloudflare_api_shield_operation" "example" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
method = "GET"
host = "api.example.com"
endpoint = "/path"
}
resource "cloudflare_api_shield_operation_schema_validation_settings" "example" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
operation_id = cloudflare_api_shield_operation.example.id
mitigation_action = "block"
}
operation_id
(String) Operation ID these settings should apply to. Modifying this attribute will force creation of a new resource.zone_id
(String) The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.mitigation_action
(String) The mitigation action to apply to this operation.id
(String) The ID of this resource.