Azure / Azure/azure-cli-extensions

az cli get log alerts - canadacentral

Open
#2,773 3 comments 0 reactions 1 assignee Claimed by @kairu-ms View on GitHub
feature-request Monitor Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

i am trying to get all log alerts from a resource group in canade central.

i have tried `az monitor scheduled-query list -g {my rg}` but this returns nothing `[]`

i have tried `az monitor scheduled-query show -g {my rg} -n {name}` but i get this error:

`NoRegisteredProviderFound - No registered resource provider found for location 'canadacentral' and API version '2020-05-01-preview' for type 'scheduledqueryrules'. The supported api-versions are '2020-05-01-preview, 2018-04-16, 2017-09-01-preview'. The supported locations are 'westcentralus, australiaeast, centralus, eastus, eastus2, francecentral, japaneast, northeurope, southafricanorth, southeastasia, uksouth, westeurope, westus2, centralindia, canadacentral, australiasoutheast, southcentralus, australiacentral, koreacentral, eastasia, westus, northcentralus, brazilsouth, ukwest, switzerlandnorth, switzerlandwest, uaecentral, germanywestcentral, australiacentral2, brazilsoutheast, norwayeast'.`

is there a planned time this will be available for Canada Central and or Canada East?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 445d2458-1e27-7cf4-8a04-95ec798ebdc1
* Version Independent ID: 3f80ed4a-d3c4-d15c-3e5d-50a48e0eb72c
* Content: [az monitor scheduled-query](https://docs.microsoft.com/en-us/cli/azure/ext/scheduled-query/monitor/scheduled-query?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/ext/scheduled-query/monitor/scheduled-query.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/ext/scheduled-query/monitor/scheduled-query.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.