-
Notifications
You must be signed in to change notification settings - Fork 0
/
storage.bicep
54 lines (46 loc) · 1.42 KB
/
storage.bicep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
param resourceName string = resourceGroup().name
param location string = resourceGroup().location
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-02-01' = {
name: resourceName
location: location
kind: 'StorageV2'
sku: {
name: 'Standard_LRS'
}
properties: {
accessTier: 'Cool'
supportsHttpsTrafficOnly: true
minimumTlsVersion: 'TLS1_2'
}
}
resource blobServices 'Microsoft.Storage/storageAccounts/blobServices@2021-04-01' = {
parent: storageAccount
name: 'default'
}
resource publicContainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2021-04-01' = {
parent: blobServices
name: 'public'
properties: {
publicAccess: 'Blob'
}
}
resource fileServices 'Microsoft.Storage/storageAccounts/fileServices@2021-04-01' = {
parent: storageAccount
name: 'default'
}
resource queueServices 'Microsoft.Storage/storageAccounts/queueServices@2021-04-01' = {
parent: storageAccount
name: 'default'
}
resource contactFormQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2021-04-01' = {
parent: queueServices
name: 'contact-form'
}
resource salaryFileQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2021-04-01' = {
parent: queueServices
name: 'salary-file'
}
resource tableServices 'Microsoft.Storage/storageAccounts/tableServices@2021-04-01' = {
parent: storageAccount
name: 'default'
}