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_schemaoptional - string -
eventhub_endpoint_idoptional computed - string -
expiration_time_utcoptional - string -
hybrid_connection_endpoint_idoptional computed - string -
idoptional computed - string -
included_event_typesoptional computed - list of string -
labelsoptional - list of string -
namerequired - string -
resource_group_namerequired - string -
service_bus_queue_endpoint_idoptional - string -
service_bus_topic_endpoint_idoptional - string -
system_topicrequired - string -
advanced_filterlist block-
bool_equalslist block -
number_greater_thanlist block -
number_greater_than_or_equalslist block -
number_inlist block -
number_less_thanlist block -
number_less_than_or_equalslist block -
number_not_inlist block -
string_begins_withlist block -
string_containslist block -
string_ends_withlist block -
string_inlist block -
string_not_inlist block
-
-
azure_function_endpointlist block-
function_idrequired - string -
max_events_per_batchoptional - number -
preferred_batch_size_in_kilobytesoptional - number
-
-
retry_policylist block-
event_time_to_liverequired - number -
max_delivery_attemptsrequired - number
-
-
storage_blob_dead_letter_destinationlist block-
storage_account_idrequired - string -
storage_blob_container_namerequired - string
-
-
storage_queue_endpointlist block-
queue_namerequired - string -
storage_account_idrequired - string
-
-
subject_filterlist block-
case_sensitiveoptional - bool -
subject_begins_withoptional - string -
subject_ends_withoptional - string
-
-
timeoutssingle block -
webhook_endpointlist block-
active_directory_app_id_or_urioptional - string -
active_directory_tenant_idoptional - string -
base_urloptional computed - string -
max_events_per_batchoptional - number -
preferred_batch_size_in_kilobytesoptional - number -
urlrequired - 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.