Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Deployment/bicep/azurestorageaccount.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ param skuName string = 'Standard_LRS'
@description('The kind of the storage account')
param kind string = 'StorageV2'

@allowed([
'TLS1_2'
'TLS1_3'
])
@description('Optional. Set the minimum TLS version on request to storage. The TLS versions 1.0 and 1.1 are deprecated and not supported anymore.')
param minimumTlsVersion string = 'TLS1_2'

resource storageAccount 'Microsoft.Storage/storageAccounts@2021-04-01' = {
name: storageAccountName
location: location
Expand All @@ -19,6 +26,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2021-04-01' = {
kind: kind
properties: {
accessTier: 'Hot'
minimumTlsVersion: minimumTlsVersion
}
}

Expand Down