Description
Describe the bug
A clear and concise description of what the bug is.
When my team updates monitoring via the datadog api client using the calling update monitor method the MonitorUpdateRequest
returns an attribute error.
datadog_api_client.exceptions.ApiAttributeError: MonitorUpdateRequest has no attribute 'restriction_policy' at ['restriction_policy']
To Reproduce
Steps to reproduce the behavior:
- Export monitor as a JSON
- Add to code base
- Use the datadog api to update monitoring
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Our monitors should update and not return an error when parsing the JSON.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment and Versions (please complete the following information):
A clear and precise description of your setup:
Latest version of datadog api client, datadog-api-client-2.26.0