2025-01-30 13:59:51 -05:00

33 lines
918 B
Bicep

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
@description('The name of the Container Registry resource. Will be automatically generated if not provided.')
param registryName string
@description('The location of the Container Registry resource.')
param location string = resourceGroup().location
resource registry 'Microsoft.ContainerRegistry/registries@2023-11-01-preview' = {
name: registryName
location: location
sku: {
name: 'Standard'
}
properties: {
adminUserEnabled: false
encryption: {
status: 'disabled'
}
dataEndpointEnabled: false
publicNetworkAccess: 'Enabled'
networkRuleBypassOptions: 'AzureServices'
zoneRedundancy: 'Disabled'
anonymousPullEnabled: false
metadataSearch: 'Disabled'
}
}
output name string = registry.name
output id string = registry.id
output loginServer string = registry.properties.loginServer