20 строки
479 B
Bicep
20 строки
479 B
Bicep
param location string = resourceGroup().location
|
|
param acrName string
|
|
param acrPoolSubnetId string = ''
|
|
|
|
resource acr 'Microsoft.ContainerRegistry/registries@2023-01-01-preview' existing = {
|
|
name: acrName
|
|
}
|
|
|
|
resource acrPool 'Microsoft.ContainerRegistry/registries/agentPools@2019-06-01-preview' = {
|
|
name: 'private-pool'
|
|
location: location
|
|
parent: acr
|
|
properties: {
|
|
count: 1
|
|
os: 'Linux'
|
|
tier: 'S1'
|
|
virtualNetworkSubnetResourceId: acrPoolSubnetId
|
|
}
|
|
}
|