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.
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 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
- bothlisten
andsend
must be set totrue
too. Defaults tofalse
.
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 - stringname
required - stringThe authorization rule name.
properties
requiredrights
required - arrayThe rights associated with the rule.
type
required - string