Skip to content

Commit 1d675a1

Browse files
committed
Added storage account full info to ARM template output to help create integration tests
1 parent 756f72e commit 1d675a1

File tree

1 file changed

+22
-6
lines changed
  • Azure-DevTestLab/Environments/sqlcollaborative_AzureDataPipelineTools

1 file changed

+22
-6
lines changed

Azure-DevTestLab/Environments/sqlcollaborative_AzureDataPipelineTools/azuredeploy.json

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -504,18 +504,18 @@
504504
********************************************************************************************************************************************/
505505

506506
"outputs": {
507-
"storageAccountName": {
507+
"storageAccountName": {
508508
"type": "string",
509509
"value": "[variables('adlsStorageAccountName')]"
510510
},
511511
"keyVaultName": {
512512
"type": "string",
513513
"value": "[variables('keyVaultName')]"
514514
},
515-
"storageAccountConnectionString": {
516-
"type": "string",
517-
"value": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('adlsStorageAccountName'), ';AccountKey=', listKeys(variables('adlsStorageAccountResourceId'), variables('storageAccountApiVersion')).keys[0].value)]"
518-
},
515+
// "storageAccountConnectionString": {
516+
// "type": "string",
517+
// "value": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('adlsStorageAccountName'), ';AccountKey=', listKeys(variables('adlsStorageAccountResourceId'), variables('storageAccountApiVersion')).keys[0].value)]"
518+
// },
519519
"functionsAppName": {
520520
"type": "string",
521521
"value": "[variables('functionsAppName')]"
@@ -533,10 +533,26 @@
533533
"applicationInsightsInfo": {
534534
"type": "object",
535535
"value": "[reference(resourceId('microsoft.insights/components', variables('applicationInsightsName')), variables('applicationInsightsApiVersion'), 'full')]"
536-
}
536+
},
537537
// "functionAppInfo": {
538538
// "type": "object",
539539
// "value": "[reference(resourceId('Microsoft.Web/sites', variables('functionsAppName')), variables('functionsAppApiVersion'), 'full')]"
540540
// }
541+
// "adlsStorageAccountInfo": {
542+
// "type": "object",
543+
// "value": "[reference(variables('adlsStorageAccountResourceId'), variables('storageAccountApiVersion'), 'full')]"
544+
// },
545+
546+
547+
"storageAccountKey": {
548+
"type": "string",
549+
"value": "[listKeys(variables('adlsStorageAccountResourceId'), variables('storageAccountApiVersion')).keys[0].value]"
550+
},
551+
"storageAccountContainerSasKey": {
552+
"type": "string",
553+
"value": "[listAccountSas(variables('adlsStorageAccountName'), variables('storageAccountApiVersion'), parameters('adlsStorageAccountSasProperties')).accountSasToken]"
554+
}
555+
556+
541557
}
542558
}

0 commit comments

Comments
 (0)