* first take * grrrrr * qwqwq * ewqw * eewew * put back * pipeline * Set read-only VCPKG_BINARY_SOURCES_SECRET * Pass InstallLanguageSteps through the perf template * blop pipeline * path * ';l'l; * add support for sync param * --sync flag support * typo * sync * sync to y * for PR * clang Co-authored-by: Daniel Jurek <djurek@microsoft.com>
22 lines
746 B
Bicep
22 lines
746 B
Bicep
param baseName string = resourceGroup().name
|
|
param location string = resourceGroup().location
|
|
|
|
resource storageAccount 'Microsoft.Storage/storageAccounts@2019-06-01' = {
|
|
name: '${baseName}blob'
|
|
location: location
|
|
kind: 'BlockBlobStorage'
|
|
sku: {
|
|
name: 'Premium_LRS'
|
|
}
|
|
}
|
|
|
|
var name = storageAccount.name
|
|
var key = storageAccount.listKeys().keys[0].value
|
|
var connectionString = 'DefaultEndpointsProtocol=https;AccountName=${name};AccountKey=${key}'
|
|
|
|
output AZURE_STORAGE_ACCOUNT_NAME string = name
|
|
output AZURE_STORAGE_ACCOUNT_KEY string = key
|
|
output AZURE_STORAGE_CONNECTION_STRING string = connectionString
|
|
output STANDARD_STORAGE_CONNECTION_STRING string = connectionString
|
|
output STORAGE_CONNECTION_STRING string = connectionString
|