{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Create a DNS Protection rule for an account.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/advanced-ddos-protection_identifier","description":"The ID of the account."}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/advanced-ddos-protection_NewDnsProtectionRule"}},"required":["path","body"],"additionalProperties":false,"definitions":{"advanced-ddos-protection_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"advanced-ddos-protection_NewDnsProtectionRule":{"type":"object","properties":{"block_any_queries":{"description":"Whether to block DNS ANY queries. Optional. Defaults to true.","type":"boolean"},"burst_sensitivity":{"description":"The burst sensitivity. Must be one of 'low', 'medium', 'high'.","type":"string"},"mode":{"description":"The mode for DNS Protection. Must be one of 'enabled', 'disabled', 'monitoring'.","type":"string"},"name":{"description":"The name of the DNS Protection rule. Value is relative to the 'scope' setting. For 'global' scope, name should be 'global'. For either the 'region' or 'datacenter' scope, name should be the actual name of the region or datacenter, e.g., 'wnam' or 'lax'.","type":"string"},"profile_sensitivity":{"description":"The profile sensitivity. Recommended setting is 'low'. Must be one of 'low', 'medium', 'high', or 'very_high'.","type":"string"},"rate_sensitivity":{"description":"The rate sensitivity. Must be one of 'low', 'medium', 'high'.","type":"string"},"scope":{"description":"The scope for the DNS Protection rule. Must be one of 'global', 'region', or 'datacenter'.","type":"string"}},"additionalProperties":false,"required":["scope","name","mode","profile_sensitivity","rate_sensitivity","burst_sensitivity"]}}},"name":"Create DNS Protection rule.","id":"cloudflare.creatednsprotectionrule","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"scope":"example","name":"example","mode":"example","profile_sensitivity":"example","rate_sensitivity":"example","burst_sensitivity":"example"}},"maxRequests":1,"summary":false}}