Data Source: azurerm_network_security_group

Use this data source to access information about an existing Network Security Group.

Example Usage

data "azurerm_network_security_group" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
}

output "location" {
  value = data.azurerm_network_security_group.example.location
}

Argument Reference

Attributes Reference

The security_rule block supports:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: