Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata/bicep
30
lexers/testdata/bicep/bicep-module.actual
vendored
Normal file
30
lexers/testdata/bicep/bicep-module.actual
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
@minLength(3)
|
||||
@maxLength(11)
|
||||
param storagePrefix string
|
||||
|
||||
param storageSKU string = 'Standard_LRS'
|
||||
param location string = resourceGroup().location
|
||||
|
||||
var uniqueStorageName = '${storagePrefix}${uniqueString(resourceGroup().id)}'
|
||||
|
||||
resource stg 'Microsoft.Storage/storageAccounts@2019-04-01' = {
|
||||
name: uniqueStorageName
|
||||
location: location
|
||||
sku: {
|
||||
name: storageSKU
|
||||
}
|
||||
kind: 'StorageV2'
|
||||
properties: {
|
||||
supportsHttpsTrafficOnly: true
|
||||
}
|
||||
}
|
||||
|
||||
module webModule './webApp.bicep' = {
|
||||
'name': 'webDeploy'
|
||||
'params': {
|
||||
'skuName': 'S1'
|
||||
'location': location
|
||||
}
|
||||
}
|
||||
|
||||
output storageEndpoint object = stg.properties.primaryEndpoints
|
Loading…
Add table
Add a link
Reference in a new issue