Skip to content

Network Security Group

Definition of a Network Security Group in Azure.

Summary

Module to deploy a Network Security Group with specified security rules and tags.

Module Information

Property Value
Owner platform-team
Support Support
Version 1.0.1

Resource Types

Resource Type
Microsoft.Network/networkSecurityGroups

Usage

module network_security_group 'br:geitbicepmodweucr01.azurecr.io/bicep/modules/network/network-security-group:1.0.1' = {
  name: 'network_security_group'
  params: {
    // Required parameters
    par_network_security_group_name: <string>
  }
}

Parameters

Name Type Description Default
par_location string Optional. Location of the Network Security Group. Defaults to the resource group location. [resourceGroup().location]
par_network_security_group_name string Required. Name of the Network Security Group. required
par_security_rules array Optional. Security rules to be applied to the Network Security Group. Defaults to no rules, meaning only the platform default rules apply. ``
par_tags object Optional. Tags to be applied to the Network Security Group. Defaults to an empty object. ``

Outputs

Name Type Description
out_nsg_id string Resource ID of the deployed Network Security Group.
out_nsg_name string Name of the deployed Network Security Group.

Versions

Pin an exact version. Ranges are not supported.

Version Reference
1.0.1 (latest) br/Euvic-Modules:network/network-security-group:1.0.1