Label is ignored/incorrect in resource picker parameter (from JSON)
Hi,
I've followed the documentation: Create a JSON list resource parameter (Content source) to create a parameter of type Resource picker
. The name of the parameter is Applications
and the data comes from a JSON list with labels defined (content is the one from the example):
[
{ "value":"/subscriptions/<sub-id>/resourceGroups/<resource-group>/providers/<resource-type>/acmeauthentication", "label": "acmeauthentication", "selected":true, "group":"Acme Backend" },
{ "value":"/subscriptions/<sub-id>/resourceGroups/<resource-group>/providers/<resource-type>/acmeweb", "label": "acmeweb", "selected":false, "group":"Acme Frontend" }
]
In the next Resource parameter options section, the value for {Applications:label}
is shown to be acmefrontend
(or acmeauthentication
). However, all I get in the preview AND when used in a query is this: /subscriptions/<sub-id>/resourceGroups/<resource-group>/providers/<resource-type>/acmeauthenticatio
This query
traces
| where message == {Applications:label}
is translated to this:
traces
| where message == /subscriptions/<sub-id>/resourceGroups/<resource-group>/providers/<resource-type>/acmeauthentication
All works fine if the type is changed to Dropdown
, however, for my workbook I really need the Resource picker
type. This is incredibly frustrating..