Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Last active Feb 20, 2022
Embed
What would you like to do?
@allowed([
'D'
'T'
'A'
'P'
])
param myEnvironment string
// var <variable-name> = <variable-value>
var myName = 'John'
var setting = {
D: {
environmentName: 'MyDevEnvironment'
sku: 'basic'
}
T: {
environmentName: 'myTestEnvironment'
sku: 'basic'
}
A: {
environmentName: 'myAccEnvironment'
sku: 'premium'
}
P: {
environmentName: 'myPrdEnvironment'
sku: 'premium'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment