Skip to content

az monitor scheduled-query is missing the optional parameter --override-query-time-range  #29150

@sean09lee

Description

@sean09lee

Related command
az monitor scheduled-query create
az monitor scheduled-query update

Is your feature request related to a problem? Please describe.
The schedule query create and update az cli commands are missing the property for --override-query-time-range which should ultimately create or update the overrideQueryTimeRange property of the alert rule json.
image

This property seems to exist in the azure cmdlet so it would make sense that the az cli command should have it as well.
Like the cmdlet, this property should only apply for LogAlert rules.

Describe the solution you'd like
A new optional parameter named --override-query-time-range with a default value. This parameter could alternatively be short-handed with -oqtr.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions