зеркало из https://github.com/Azure/benchpress.git
fixing bicep linter issues (#351)
This commit is contained in:
Родитель
920eb6c17b
Коммит
b9a287e971
|
@ -3,7 +3,7 @@ param location string = 'global'
|
|||
|
||||
var actionGroupEmail = 'sampleactiongroup@contoso.com'
|
||||
|
||||
resource supportTeamActionGroup 'Microsoft.Insights/actionGroups@2021-09-01' = {
|
||||
resource supportTeamActionGroup 'Microsoft.Insights/actionGroups@2023-01-01' = {
|
||||
name: actionGroupName
|
||||
location: location
|
||||
properties: {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
param name string = 'acr${take(uniqueString(resourceGroup().id), 5)}'
|
||||
param location string = resourceGroup().location
|
||||
|
||||
resource acr 'Microsoft.ContainerRegistry/registries@2021-09-01' = {
|
||||
resource acr 'Microsoft.ContainerRegistry/registries@2023-07-01' = {
|
||||
name: name
|
||||
location: location
|
||||
sku: {
|
||||
|
|
|
@ -8,7 +8,7 @@ var dataFactoryDataSetInName = 'BenchpressTestDatasetIn'
|
|||
var dataFactoryDataSetOutName = 'BenchpressTestDatasetOut'
|
||||
var pipelineName = 'BenchpressSampleCopyPipeline'
|
||||
|
||||
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-08-01' = {
|
||||
resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {
|
||||
name: storageAccountName
|
||||
location: location
|
||||
sku: {
|
||||
|
@ -17,8 +17,14 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2021-08-01' = {
|
|||
kind: 'StorageV2'
|
||||
}
|
||||
|
||||
resource blobContainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2021-08-01' = {
|
||||
name: '${storageAccount.name}/default/${blobContainerName}'
|
||||
resource blobService 'Microsoft.Storage/storageAccounts/blobServices@2023-01-01' = {
|
||||
parent: storageAccount
|
||||
name: 'default'
|
||||
}
|
||||
|
||||
resource blobContainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-01-01' = {
|
||||
parent: blobService
|
||||
name: blobContainerName
|
||||
}
|
||||
|
||||
resource dataFactory 'Microsoft.DataFactory/factories@2018-06-01' = {
|
||||
|
|
|
@ -30,7 +30,7 @@ var linuxConfiguration = {
|
|||
}
|
||||
}
|
||||
|
||||
resource nic 'Microsoft.Network/networkInterfaces@2021-05-01' = {
|
||||
resource nic 'Microsoft.Network/networkInterfaces@2023-05-01' = {
|
||||
name: networkInterfaceName
|
||||
location: location
|
||||
properties: {
|
||||
|
@ -54,7 +54,7 @@ resource nic 'Microsoft.Network/networkInterfaces@2021-05-01' = {
|
|||
}
|
||||
}
|
||||
|
||||
resource nsg 'Microsoft.Network/networkSecurityGroups@2021-05-01' = {
|
||||
resource nsg 'Microsoft.Network/networkSecurityGroups@2023-05-01' = {
|
||||
name: networkSecurityGroupName
|
||||
location: location
|
||||
properties: {
|
||||
|
@ -76,7 +76,7 @@ resource nsg 'Microsoft.Network/networkSecurityGroups@2021-05-01' = {
|
|||
}
|
||||
}
|
||||
|
||||
resource vnet 'Microsoft.Network/virtualNetworks@2021-05-01' = {
|
||||
resource vnet 'Microsoft.Network/virtualNetworks@2023-05-01' = {
|
||||
name: virtualNetworkName
|
||||
location: location
|
||||
properties: {
|
||||
|
@ -88,7 +88,7 @@ resource vnet 'Microsoft.Network/virtualNetworks@2021-05-01' = {
|
|||
}
|
||||
}
|
||||
|
||||
resource subnet 'Microsoft.Network/virtualNetworks/subnets@2021-05-01' = {
|
||||
resource subnet 'Microsoft.Network/virtualNetworks/subnets@2023-05-01' = {
|
||||
parent: vnet
|
||||
name: subnetName
|
||||
properties: {
|
||||
|
@ -98,7 +98,7 @@ resource subnet 'Microsoft.Network/virtualNetworks/subnets@2021-05-01' = {
|
|||
}
|
||||
}
|
||||
|
||||
resource publicIP 'Microsoft.Network/publicIPAddresses@2021-05-01' = {
|
||||
resource publicIP 'Microsoft.Network/publicIPAddresses@2023-05-01' = {
|
||||
name: publicIPAddressName
|
||||
location: location
|
||||
sku: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче