File tree 2 files changed +9
-9
lines changed
101-batchaccount-with-storage
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 35
35
},
36
36
"resources" : [
37
37
{
38
+ "comments" : " This storage account is used to associate to a batch account" ,
38
39
"type" : " Microsoft.Storage/storageAccounts" ,
40
+ "apiVersion" : " 2019-06-01" ,
39
41
"name" : " [variables('storageAccountname')]" ,
40
- "apiVersion" : " 2016-01-01" ,
41
42
"location" : " [parameters('location')]" ,
42
- "comments" : " This storage account is used to associate to a batch account" ,
43
43
"sku" : {
44
44
"name" : " [parameters('storageAccountsku')]"
45
45
},
46
- "kind" : " Storage " ,
46
+ "kind" : " StorageV2 " ,
47
47
"tags" : {
48
48
"ObjectName" : " [variables('storageAccountName')]"
49
49
},
50
50
"properties" : {}
51
51
},
52
52
{
53
53
"type" : " Microsoft.Batch/batchAccounts" ,
54
+ "apiVersion" : " 2019-08-01" ,
54
55
"name" : " [parameters('batchAccountName')]" ,
55
- "apiVersion" : " 2015-12-01" ,
56
56
"location" : " [parameters('location')]" ,
57
+ "dependsOn" : [
58
+ " [resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
59
+ ],
57
60
"tags" : {
58
61
"ObjectName" : " [parameters('batchAccountName')]"
59
62
},
60
63
"properties" : {
61
64
"autoStorage" : {
62
65
"storageAccountId" : " [resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
63
66
}
64
- },
65
- "dependsOn" : [
66
- " [resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
67
- ]
67
+ }
68
68
}
69
69
],
70
70
"outputs" : {
Original file line number Diff line number Diff line change 5
5
"description" : " This template creates a Batch Account and a storage account." ,
6
6
"summary" : " Create a Batch Account using a template and s storage account associated with the batch account." ,
7
7
"githubUsername" : " zechariahks" ,
8
- "dateUpdated" : " 2017-08-28 "
8
+ "dateUpdated" : " 2020-05-11 "
9
9
}
10
10
11
11
You can’t perform that action at this time.
0 commit comments