-
-
Save johnlokerse/c3191d819e5716505c3e32d644c58bc3 to your computer and use it in GitHub Desktop.
Create your own function in Azure Bicep with user-defined functions blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@description(''' | |
Pass arguments to use in the deployment script. Default: Empty Object | |
Example value: | |
{ | |
name: 'value' | |
value: 'value' | |
} | |
''') | |
param parArgument object | |
@description('Delimiter variable is used for the join() method') | |
param parDelimiter = ' ' | |
var varJoined = !empty(parArgument) ? join(map(items(parArgument), arg => '-${arg.key} ${arg.value}'), varDelimiter) : '' | |
@description(''' | |
Example output: | |
-name value -value value | |
''') | |
output outArguments string = varJoined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment