cloudflare_api_shield_operation_schema_validation_settings (Resource)

Provides a resource to manage operation-level settings in API Shield Schema Validation 2.0.

Example Usage

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"
}

Schema

Required

Optional

Read-Only