-
-
Save johnlokerse/d9eac5064e60ca50b1f70237e2e8ab0a to your computer and use it in GitHub Desktop.
Azure Bicep nullability operators explained 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
param parName string? | |
param parLocation string = resourceGroup().location | |
resource keyVault 'Microsoft.KeyVault/vaults@2023-07-01' = { | |
name: parName ?? 'fallback-kv-name' | |
location: parLocation | |
properties: { | |
enabledForDeployment: true | |
enabledForTemplateDeployment: true | |
enabledForDiskEncryption: true | |
tenantId: tenant().tenantId | |
sku: { | |
name: 'standard' | |
family: 'A' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment