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.
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 tofalse.send- (Optional) Grants send access to this Authorization Rule. Defaults tofalse.manage- (Optional) Grants manage access to this Authorization Rule. When this property istrue- bothlistenandsendmust be set totruetoo. Defaults tofalse.
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
"type": "Microsoft.Relay/namespaces/authorizationRules",
"apiVersion": "2017-04-01",
"properties": {
"rights": [
"string"
]
Parameters
apiVersionrequired - stringnamerequired - stringThe authorization rule name.
propertiesrequiredrightsrequired - arrayThe rights associated with the rule.
typerequired - string