-
Notifications
You must be signed in to change notification settings - Fork 1
/
storage.bicep
50 lines (44 loc) · 994 Bytes
/
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
param name string
@allowed([
'Standard_LRS'
'Standard_GRS'
'Standard_RAGRS'
'Standard_ZRS'
'Premium_LRS'
'Premium_ZRS'
'Standard_GZRS'
'Standard_RAGZRS'
])
param sku string = 'Standard_LRS'
@allowed([
'Storage'
'StorageV2'
'BlobStorage'
'FileStorage'
'BlockBlobStorage'
])
param kind string = 'StorageV2'
@allowed([
'Hot'
'Cool'
])
param accessTier string = 'Hot'
param fileShareName string = 'deployscript'
param location string = resourceGroup().id
resource storage 'Microsoft.Storage/storageAccounts@2019-06-01' = {
name: name
location: location
sku: {
name: sku
}
kind: kind
properties: {
accessTier: accessTier
}
}
resource fileshare 'Microsoft.Storage/storageAccounts/fileServices/shares@2019-06-01' = {
name: '${storage.name}/default/${fileShareName}'
}
output resourceId string = storage.id
output storageName string = storage.name
output fileShareName string = fileShareName