简体   繁体   中英

Azure Automation parameter with Dropdown

I am working on a Azure automation workbook and would like to add a parameter that generates a dropdown list of values to be selected, similar to what happens when a Boolean variable is defined.

For Boolean parameters you get a dropdown with "default will be used", "true" and "false"

I would like to add something like "Database 1", "Database 2", "Database 3", etc.

This is not possible at the time of writing, as far as I'm aware. More over, adding a validateset to a parameter does absolutely nothing, as the runbook happily accepts the input and starts, despite the fact there is a validate set...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM