Overview
|
|
| Name |
networksecuritygroup |
| Tag |
2026.8.25.4 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/networksecuritygroup:2026.8.25.4 |
| Last updated |
2026-08-25 10:41:24:+00:00 |
| Created |
2026-08-25 10:41:24:+00:00 |
| Digest |
sha256:d24ab4d8afb9752369ecab5b42b40cd411a6bb582c300eee93e3a8225a440fd4 |
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.8.25.4' = {
name: 'networksecuritygroup${env}${version}'
params: {
env: env
system: system
tags: tags
}
}