我正在尝试使用参数构建 Log Analytics 工作簿。工作簿无法识别其中一个参数。
这里发生了什么?
例子:
我正在尝试使用参数构建 Log Analytics 工作簿。工作簿无法识别其中一个参数。
这里发生了什么?
例子:
when using single value parameters like {STORAGE_ACCOUNT:label}
, you still need to enclose them in quotes (either single or double) to make them valid strings:
let varStorageAccount = '{STORAGE_ACCOUNT:label}';
you're doing that in the example when you hardcode the string.
when using multi-value parameters (like multiselect dropdowns), then the quote and delimiter settings are part of that parameter itself. but for single value parameters like text or single select dropdown, there's no quotes by default, so that the parameters can represent things that wouldn't normally be quoted.