Azure Messaging System Topic Event Subscription
This page shows how to write Terraform for Messaging System Topic Event Subscription and write them securely.
azurerm_eventgrid_system_topic_event_subscription (Terraform)
The System Topic Event Subscription in Messaging can be configured in Terraform with the resource name azurerm_eventgrid_system_topic_event_subscription
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_eventgrid_system_topic_event_subscription" "corestoragesubscription" {
name = "corestoragesubscription"
system_topic = azurerm_eventgrid_system_topic.corestoragesystemtopic.name
resource_group_name = var.shared_env.rg.name
azure_function_endpoint {
resource "azurerm_eventgrid_system_topic_event_subscription" "log_pipeline" {
name = "LogPipelineEventSubscription"
system_topic = azurerm_eventgrid_system_topic.log_pipeline.name
resource_group_name = azurerm_resource_group.log_pipeline.name
service_bus_topic_endpoint_id = azurerm_servicebus_topic.log_pipeline.id
included_event_types = ["Microsoft.Storage.BlobCreated"]
Parameters
-
event_delivery_schema
optional - string -
eventhub_endpoint_id
optional computed - string -
expiration_time_utc
optional - string -
hybrid_connection_endpoint_id
optional computed - string -
id
optional computed - string -
included_event_types
optional computed - list of string -
labels
optional - list of string -
name
required - string -
resource_group_name
required - string -
service_bus_queue_endpoint_id
optional - string -
service_bus_topic_endpoint_id
optional - string -
system_topic
required - string -
advanced_filter
list block-
bool_equals
list block -
number_greater_than
list block -
number_greater_than_or_equals
list block -
number_in
list block -
number_less_than
list block -
number_less_than_or_equals
list block -
number_not_in
list block -
string_begins_with
list block -
string_contains
list block -
string_ends_with
list block -
string_in
list block -
string_not_in
list block
-
-
azure_function_endpoint
list block-
function_id
required - string -
max_events_per_batch
optional - number -
preferred_batch_size_in_kilobytes
optional - number
-
-
retry_policy
list block-
event_time_to_live
required - number -
max_delivery_attempts
required - number
-
-
storage_blob_dead_letter_destination
list block-
storage_account_id
required - string -
storage_blob_container_name
required - string
-
-
storage_queue_endpoint
list block-
queue_name
required - string -
storage_account_id
required - string
-
-
subject_filter
list block-
case_sensitive
optional - bool -
subject_begins_with
optional - string -
subject_ends_with
optional - string
-
-
timeouts
single block -
webhook_endpoint
list block-
active_directory_app_id_or_uri
optional - string -
active_directory_tenant_id
optional - string -
base_url
optional computed - string -
max_events_per_batch
optional - number -
preferred_batch_size_in_kilobytes
optional - number -
url
required - string
-
Explanation in Terraform Registry
Manages an EventGrid System Topic Event Subscription.
Azure Resource Manager Example
Azure Resource Manager code does not have the related resource.
Frequently asked questions
What is Azure Messaging System Topic Event Subscription?
Azure Messaging System Topic Event Subscription 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 System Topic Event Subscription?
For Terraform, the Azure-Samples/media-services-video-indexer and jcetina/terraform-snippets source code examples are useful. See the Terraform Example section for further details.