Azure Messaging Hybrid Connection Authorization Rule

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

azurerm_relay_hybrid_connection_authorization_rule (Terraform)

The Hybrid Connection Authorization Rule in Messaging can be configured in Terraform with the resource name azurerm_relay_hybrid_connection_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 Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.

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

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

  • resource_group_name - (Required) The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection 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 Hybrid Connection Authorization Rule.

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

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

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

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

Explanation in Terraform Registry

Manages an Azure Relay Hybrid Connection Authorization Rule.

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

The namespaces/hybridConnections/authorizationRules in Microsoft.Relay can be configured in Azure Resource Manager with the resource name Microsoft.Relay/namespaces/hybridConnections/authorizationRules. 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

  • 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 Hybrid Connection Authorization Rule?

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