我在下面尝试过,但是似乎不起作用。我缺少什么:
{
"name": "MyDropdown",
"type": "Microsoft.Common.DropDown",
"label": "Only show in EastUS",
"defaultValue": "blah",
"toolTip": "select from below",
"constraints": {
"allowedValues": [
{
"label": "yes",
"value": "yes"
},
{
"label": "no",
"value": "no"
},
]
},
"visible": "[ equals(location(), 'eastus') ]"
}
答案 0 :(得分:0)
类似于上面的示例,不适用于createUIdefinition的basics部分。虽然,它适用于步骤部分。