WafPolicySettings.DefaultCustomBlockResponseBody Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
To assign a byte[] to this property use FromBytes(Byte[]). The byte[] will be serialized to a Base64 encoded string.
Examples:
- BinaryData.FromBytes(new byte[] { 1, 2, 3 }). : Creates a payload of "AQID".
public BinaryData DefaultCustomBlockResponseBody { get; set; }
member this.DefaultCustomBlockResponseBody : BinaryData with get, set
Public Property DefaultCustomBlockResponseBody As BinaryData