Azure / azure-blueprints

A library of sample Blueprints that can be easily imported via API or PowerShell
MIT License
258 stars 150 forks source link

Parameter Names are Case Sensitive #49

Open chwilfing opened 3 years ago

chwilfing commented 3 years ago

I've found the blueprint.json does accept arm specific json parameters BUT

"bpVMAdmin": {
    "type": "string",
    "defaultValue": "localvmadmin",
    "metadata": {
        "description": "Name des Admin Accounts",
        "displayname": "AdminAccount"
    },
    "allowedValues": [
        "localvmadmin",
        "bministrator"
    ]
},

this sample works correctly and shows the interface with a default value and a drop down to select the allowedValues from. image

"bpVMAdmin": {
    "type": "string",
    "defaultvalue": "localvmadmin",
    "metadata": {
        "description": "Name des Admin Accounts",
        "displayname": "AdminAccount"
    },
    "allowedvalues": [
        "localvmadmin",
        "bministrator"
    ]
},

image

This parameter although does NOT show the dropdown nor does it show the default value. The values of the defaultvalue / allowedvalues are all lowercase... really?

This is not documented and it took me HOURS to understand and find the issue why some of my parameters showed default values, some of them not.

plz fix this!

BG Christoph