Azure Messaging Namespace Network Rule Set
This page shows how to write Terraform and Azure Resource Manager for Messaging Namespace Network Rule Set and write them securely.
azurerm_servicebus_namespace_network_rule_set (Terraform)
The Namespace Network Rule Set in Messaging can be configured in Terraform with the resource name azurerm_servicebus_namespace_network_rule_set
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_servicebus_namespace_network_rule_set" "namespace_network_rule_set" {
count = var.sku == "premium" ? 1 : 0
namespace_name = azurerm_servicebus_namespace.namespace.name
resource_group_name = var.resource_group_name
resource "azurerm_servicebus_namespace_network_rule_set" "this" {
default_action = var.default_action
ip_rules = var.ip_rules
namespace_name = var.namespace_name
resource_group_name = var.resource_group_name
Parameters
-
default_action
optional - string -
id
optional computed - string -
ip_rules
optional - set of string -
namespace_name
required - string -
resource_group_name
required - string -
network_rules
set block-
ignore_missing_vnet_service_endpoint
optional - bool -
subnet_id
required - string
-
-
timeouts
single block
Explanation in Terraform Registry
Manages a ServiceBus Namespace Network Rule Set Set.
Microsoft.Servicebus/namespaces/networkrulesets (Azure Resource Manager)
The namespaces/networkrulesets in Microsoft.Servicebus can be configured in Azure Resource Manager with the resource name Microsoft.Servicebus/namespaces/networkrulesets
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Frequently asked questions
What is Azure Messaging Namespace Network Rule Set?
Azure Messaging Namespace Network Rule Set is a resource for Messaging of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Messaging Namespace Network Rule Set?
For Terraform, the fnietoga/terratemplates and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.