Service Bus
Topics
Microsoft.ServiceBus/namespaces/topics
- Control plane
- Supported
- Data plane
- Emulated
- API versions
- 9 3 stable
- Ships in
- Plugin Microsoft.ServiceBus 2026.11
- Plan
- Starter and above
Data as of 2026-11-20
API versions
The API versions Locally supports for Microsoft.ServiceBus/namespaces/topics.
| API version | Status | Control plane | Data plane |
|---|---|---|---|
| 2026-07-01-preview | preview | Supported | Emulated |
| 2026-01-01 | stable | Supported | Emulated |
| 2025-05-01-preview | preview | Supported | Emulated |
| 2024-01-01 | stable | Supported | Emulated |
| 2023-01-01-preview | preview | Supported | Emulated |
| 2022-10-01-preview | preview | Supported | Emulated |
| 2022-01-01-preview | preview | Supported | Emulated |
| 2021-11-01 | stable | Supported | Emulated |
| 2021-06-01-preview | preview | Supported | Emulated |
Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.
Nested resource types
The resource types nested under Microsoft.ServiceBus/namespaces/topics. Click one to see more information.
| Resource type | Control plane | Data plane |
|---|---|---|
| Topic Authorization RulesMicrosoft.ServiceBus/namespaces/topics/authorizationRules | Supported | Emulated |
| SubscriptionsMicrosoft.ServiceBus/namespaces/topics/subscriptions | Supported | Emulated |
| RulesMicrosoft.ServiceBus/namespaces/topics/subscriptions/rules | Supported | Emulated |
Features
- Subscriptions, each receiving its own copy of a matching message.
- Correlation filters and multiple named rules per subscription.
- SQL filters, checked when the rule is created.
- Rule actions:
SETandREMOVE. - Scheduled messages, fanned out to subscriptions when due.
- Duplicate detection
- Entity status:
DisabledandSendDisabledare enforced. - Size limits:
maxSizeInMegabytesand Azure's message size limits are enforced. - Auto-delete on idle
- Event Grid delivery: subscriptions can deliver events to a topic.
Limitations
- Arithmetic in a rule action (
SET x = x + 1) has no effect at this time. - Parameters on SQL filters aren't stored at this time, so a filter using
@parametersees it asNULL. - Partitioned topics aren't emulated.
Examples
Runnable examples from the examples library.
Deploy a Service Bus Topic with a Subscription to Locally using an ARM Template
Provisions a Service Bus Namespace, a Topic and a Subscription to that Topic, into a Resource Group of your choosing.
Deploy a Service Bus Topic with a Subscription to Locally using a Bicep Template
Provisions a Service Bus Namespace, a Topic and a Subscription to that Topic, into a Resource Group of your choosing.
Deploy a Service Bus Topic with a Subscription to Locally using Terraform and the Azure/azapi provider
Provisions a Resource Group containing a Service Bus Namespace, a Topic and a Subscription to that Topic.
Deploy a Service Bus Topic with a Subscription to Locally using Terraform and the hashicorp/azurerm provider
Provisions a Resource Group containing a Service Bus Namespace, a Topic and a Subscription to that Topic.
Deploy a Service Bus Topic with a Subscription to Locally using OpenTofu and the Azure/azapi provider
Provisions a Resource Group containing a Service Bus Namespace, a Topic and a Subscription to that Topic.
Deploy a Service Bus Topic with a Subscription to Locally using OpenTofu and the opentofu/azurerm provider
Provisions a Resource Group containing a Service Bus Namespace, a Topic and a Subscription to that Topic.