azure-monitor-datasource icon indicating copy to clipboard operation
azure-monitor-datasource copied to clipboard

ResourceGroups() not supported with "Multi-value" mode

Open adeverteuil opened this issue 6 years ago • 1 comments

Example error from query inspector:

{
  "xhrStatus": "complete",
  "request": {
    "method": "GET",
    "url": "api/datasources/proxy/2/azuremonitor/subscriptions/<guid>/resourceGroups/{rgA,rgB}/resources?api-version=2018-01-01"
  },
  "response": {
    "error": {
      "code": "InvalidResourceGroup",
      "message": "The provided resource group name '{rgA,rgB}' has these invalid characters: '{,}'. The name can only be a letter, digit, '-', '.', '(', ')' or '_'."
    }
  }
}

The API expects exactly one resource group name.

Possible improvements: should document it better and have a better error message.

adeverteuil avatar Feb 11 '19 22:02 adeverteuil

Duplicate with #60

vasekch avatar Feb 14 '19 16:02 vasekch