Overview
|
|
| Name |
networksecuritygroup |
| Tag |
2026.8.31.6 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/networksecuritygroup:2026.8.31.6 |
| Last updated |
2026-08-31 10:51:52:+00:00 |
| Created |
2026-08-31 10:51:52:+00:00 |
| Digest |
sha256:bca9aabe9724cc8d6826599e18aeac58bbcf7e2066012d72784c7e446fb5741e |
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.31.6' = {
name: 'networksecuritygroup${env}${version}'
params: {
env: env
system: system
tags: tags
}
}