Overview
|
|
| Name |
networksecuritygroup |
| Tag |
2026.9.9.2 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/networksecuritygroup:2026.9.9.2 |
| Last updated |
2026-09-09 12:49:27:+00:00 |
| Created |
2026-09-09 12:49:27:+00:00 |
| Digest |
sha256:ab049e9fc413563e833846a554e8bda76666043bd70fedc43a230f9f495e6220 |
Parameters
| Name |
Type |
Required |
Description |
env |
string |
Yes |
|
namePrefix |
string |
No
'' |
|
system |
string |
Yes |
|
shortLocation |
string |
No
'' |
|
nameSuffix |
string |
No
'' |
|
networkSecurityGroupName |
string |
No
format('{0}{1}nsg-{2}{3}{4}{5}{6}{7}{8}', namePrefix, if(empty(namePrefix), '', '-'), system, if(empty(system), '', '-'), shortLocation, if(empty(shortLocation), '', '-'), env, if(empty(nameSuffix), '', '-'), nameSuffix) |
|
tags |
object |
Yes |
Tags to add to the resources |
location |
string |
No
resourceGroup().location |
Location for all resources |
securityRules |
array |
No
[ ] |
|
Outputs
| Name |
Type |
Description |
networkSecurityGroupId |
string |
|
Example
@description('The target environment.')
param env string
@description('The deployment version.')
param version string = '1.0.0.0'
param system string
@description('Tags to add to the resources')
param tags object
module networksecuritygroup 'br:bicepacrdevwcom.azurecr.io/bicep/modules/networksecuritygroup:2026.9.9.2' = {
name: 'networksecuritygroup${env}${version}'
params: {
env: env
system: system
tags: tags
}
}