Open teowa opened 2 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @liadtal, @yairgil.
Author: | teowa |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `needs-triage`, `Alerts Management` |
Milestone: | - |
The API specs is below: https://github.com/Azure/azure-rest-api-specs/blob/3c18ef0c50ee228b81edf98ea1c192a70354943c/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/AlertProcessingRules.json#L539-L543
But using the below value in the request, which can match the given RegEx pattern:
Server response:
Test with empty string
effectiveFrom = ""
, the same error returns Maybe the correct pattern foreffectiveFrom
andeffectiveUntil
should be"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$"
https://github.com/Azure/azure-rest-api-specs/blob/3c18ef0c50ee228b81edf98ea1c192a70354943c/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/AlertProcessingRules.json#L583-L586 Besides,
startTime
andendTime
in above specs should have a pattern"^\\d{2}:\\d{2}:\\d{2}$"
according to server response.