Azure Messaging Namespace Authorization Rule

This page shows how to write Terraform and Azure Resource Manager for Messaging Namespace Authorization Rule and write them securely.

azurerm_relay_namespace_authorization_rule (Terraform)

The Namespace Authorization Rule in Messaging can be configured in Terraform with the resource name azurerm_relay_namespace_authorization_rule. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • name - (Required) The name which should be used for this Azure Relay Namespace Authorization Rule. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.

  • namespace_name - (Required) Name of the Azure Relay Namespace for which this Azure Relay Namespace Authorization Rule will be created. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.

  • resource_group_name - (Required) The name of the Resource Group where the Azure Relay Namespace Authorization Rule should exist. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.


  • listen - (Optional) Grants listen access to this Authorization Rule. Defaults to false.

  • send - (Optional) Grants send access to this Authorization Rule. Defaults to false.

  • manage - (Optional) Grants manage access to this Authorization Rule. When this property is true - both listen and send must be set to true too. Defaults to false.

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Azure Relay Namespace Authorization Rule.

  • primary_key - The Primary Key for the Azure Relay Namespace Authorization Rule.

  • primary_connection_string - The Primary Connection String for the Azure Relay Namespace Authorization Rule.

  • secondary_key - The Secondary Key for the Azure Relay Namespace Authorization Rule.

  • secondary_connection_string - The Secondary Connection String for the Azure Relay Namespace Authorization Rule.

Explanation in Terraform Registry

Manages an Azure Relay Namespace Authorization Rule.

Microsoft.Relay/namespaces/authorizationRules (Azure Resource Manager)

The namespaces/authorizationRules in Microsoft.Relay can be configured in Azure Resource Manager with the resource name Microsoft.Relay/namespaces/authorizationRules. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

authorizationrules.json#L3
  "type": "Microsoft.Relay/namespaces/authorizationRules",
  "apiVersion": "2017-04-01",
  "properties": {
    "rights": [
      "string"
    ]

Parameters

  • apiVersion required - string
  • name required - string

    The authorization rule name.

  • properties required
      • rights required - array

        The rights associated with the rule.

  • type required - string

Frequently asked questions

What is Azure Messaging Namespace Authorization Rule?

Azure Messaging Namespace Authorization Rule is a resource for Messaging of Microsoft Azure. Settings can be wrote in Terraform.