Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
You can refer to the API for getting the IDPS Rules here : https://learn.microsoft.com/en-us/rest/api/virtualnetwork/firewall-policy-idps-signatures/list?tabs=HTTP
There are various filtering and sorting options available as well.
Kindly use the "String" in the HTTP Request body.
And the returned Response body would contain the respective integer representation.
Please note that the values for "Direction" in the above document is currently not updated. The values are as follows :
- Outbound - 0
- Inbound - 1
- Bidirectional - 2
- Internal - 3
- Internal/Outbound - 4
Other fields are documented correctly.
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.