1. Packages
  2. Azure Native
  3. API Docs
  4. servicebus
  5. Topic
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.servicebus.Topic

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Description of topic resource.

Uses Azure REST API version 2024-01-01. In version 2.x of the Azure Native provider, it used API version 2022-01-01-preview.

Other available API versions: 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview, 2021-11-01, 2022-01-01-preview, 2022-10-01-preview, 2023-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native servicebus [ApiVersion]. See the version guide for details.

Example Usage

TopicCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var topic = new AzureNative.ServiceBus.Topic("topic", new()
    {
        EnableExpress = true,
        NamespaceName = "sdk-Namespace-1617",
        ResourceGroupName = "ArunMonocle",
        TopicName = "sdk-Topics-5488",
    });

});
Copy
package main

import (
	servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicebus.NewTopic(ctx, "topic", &servicebus.TopicArgs{
			EnableExpress:     pulumi.Bool(true),
			NamespaceName:     pulumi.String("sdk-Namespace-1617"),
			ResourceGroupName: pulumi.String("ArunMonocle"),
			TopicName:         pulumi.String("sdk-Topics-5488"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Topic;
import com.pulumi.azurenative.servicebus.TopicArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var topic = new Topic("topic", TopicArgs.builder()
            .enableExpress(true)
            .namespaceName("sdk-Namespace-1617")
            .resourceGroupName("ArunMonocle")
            .topicName("sdk-Topics-5488")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const topic = new azure_native.servicebus.Topic("topic", {
    enableExpress: true,
    namespaceName: "sdk-Namespace-1617",
    resourceGroupName: "ArunMonocle",
    topicName: "sdk-Topics-5488",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

topic = azure_native.servicebus.Topic("topic",
    enable_express=True,
    namespace_name="sdk-Namespace-1617",
    resource_group_name="ArunMonocle",
    topic_name="sdk-Topics-5488")
Copy
resources:
  topic:
    type: azure-native:servicebus:Topic
    properties:
      enableExpress: true
      namespaceName: sdk-Namespace-1617
      resourceGroupName: ArunMonocle
      topicName: sdk-Topics-5488
Copy

Create Topic Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Topic(name: string, args: TopicArgs, opts?: CustomResourceOptions);
@overload
def Topic(resource_name: str,
          args: TopicArgs,
          opts: Optional[ResourceOptions] = None)

@overload
def Topic(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          namespace_name: Optional[str] = None,
          resource_group_name: Optional[str] = None,
          max_message_size_in_kilobytes: Optional[float] = None,
          enable_batched_operations: Optional[bool] = None,
          enable_express: Optional[bool] = None,
          enable_partitioning: Optional[bool] = None,
          auto_delete_on_idle: Optional[str] = None,
          max_size_in_megabytes: Optional[int] = None,
          duplicate_detection_history_time_window: Optional[str] = None,
          requires_duplicate_detection: Optional[bool] = None,
          default_message_time_to_live: Optional[str] = None,
          status: Optional[EntityStatus] = None,
          support_ordering: Optional[bool] = None,
          topic_name: Optional[str] = None)
func NewTopic(ctx *Context, name string, args TopicArgs, opts ...ResourceOption) (*Topic, error)
public Topic(string name, TopicArgs args, CustomResourceOptions? opts = null)
public Topic(String name, TopicArgs args)
public Topic(String name, TopicArgs args, CustomResourceOptions options)
type: azure-native:servicebus:Topic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampletopicResourceResourceFromServicebus = new AzureNative.ServiceBus.Topic("exampletopicResourceResourceFromServicebus", new()
{
    NamespaceName = "string",
    ResourceGroupName = "string",
    MaxMessageSizeInKilobytes = 0,
    EnableBatchedOperations = false,
    EnableExpress = false,
    EnablePartitioning = false,
    AutoDeleteOnIdle = "string",
    MaxSizeInMegabytes = 0,
    DuplicateDetectionHistoryTimeWindow = "string",
    RequiresDuplicateDetection = false,
    DefaultMessageTimeToLive = "string",
    Status = AzureNative.ServiceBus.EntityStatus.Active,
    SupportOrdering = false,
    TopicName = "string",
});
Copy
example, err := servicebus.NewTopic(ctx, "exampletopicResourceResourceFromServicebus", &servicebus.TopicArgs{
	NamespaceName:                       pulumi.String("string"),
	ResourceGroupName:                   pulumi.String("string"),
	MaxMessageSizeInKilobytes:           pulumi.Float64(0),
	EnableBatchedOperations:             pulumi.Bool(false),
	EnableExpress:                       pulumi.Bool(false),
	EnablePartitioning:                  pulumi.Bool(false),
	AutoDeleteOnIdle:                    pulumi.String("string"),
	MaxSizeInMegabytes:                  pulumi.Int(0),
	DuplicateDetectionHistoryTimeWindow: pulumi.String("string"),
	RequiresDuplicateDetection:          pulumi.Bool(false),
	DefaultMessageTimeToLive:            pulumi.String("string"),
	Status:                              servicebus.EntityStatusActive,
	SupportOrdering:                     pulumi.Bool(false),
	TopicName:                           pulumi.String("string"),
})
Copy
var exampletopicResourceResourceFromServicebus = new Topic("exampletopicResourceResourceFromServicebus", TopicArgs.builder()
    .namespaceName("string")
    .resourceGroupName("string")
    .maxMessageSizeInKilobytes(0)
    .enableBatchedOperations(false)
    .enableExpress(false)
    .enablePartitioning(false)
    .autoDeleteOnIdle("string")
    .maxSizeInMegabytes(0)
    .duplicateDetectionHistoryTimeWindow("string")
    .requiresDuplicateDetection(false)
    .defaultMessageTimeToLive("string")
    .status("Active")
    .supportOrdering(false)
    .topicName("string")
    .build());
Copy
exampletopic_resource_resource_from_servicebus = azure_native.servicebus.Topic("exampletopicResourceResourceFromServicebus",
    namespace_name="string",
    resource_group_name="string",
    max_message_size_in_kilobytes=0,
    enable_batched_operations=False,
    enable_express=False,
    enable_partitioning=False,
    auto_delete_on_idle="string",
    max_size_in_megabytes=0,
    duplicate_detection_history_time_window="string",
    requires_duplicate_detection=False,
    default_message_time_to_live="string",
    status=azure_native.servicebus.EntityStatus.ACTIVE,
    support_ordering=False,
    topic_name="string")
Copy
const exampletopicResourceResourceFromServicebus = new azure_native.servicebus.Topic("exampletopicResourceResourceFromServicebus", {
    namespaceName: "string",
    resourceGroupName: "string",
    maxMessageSizeInKilobytes: 0,
    enableBatchedOperations: false,
    enableExpress: false,
    enablePartitioning: false,
    autoDeleteOnIdle: "string",
    maxSizeInMegabytes: 0,
    duplicateDetectionHistoryTimeWindow: "string",
    requiresDuplicateDetection: false,
    defaultMessageTimeToLive: "string",
    status: azure_native.servicebus.EntityStatus.Active,
    supportOrdering: false,
    topicName: "string",
});
Copy
type: azure-native:servicebus:Topic
properties:
    autoDeleteOnIdle: string
    defaultMessageTimeToLive: string
    duplicateDetectionHistoryTimeWindow: string
    enableBatchedOperations: false
    enableExpress: false
    enablePartitioning: false
    maxMessageSizeInKilobytes: 0
    maxSizeInMegabytes: 0
    namespaceName: string
    requiresDuplicateDetection: false
    resourceGroupName: string
    status: Active
    supportOrdering: false
    topicName: string
Copy

Topic Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Topic resource accepts the following input properties:

NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
The namespace name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AutoDeleteOnIdle string
ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
DefaultMessageTimeToLive string
ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
DuplicateDetectionHistoryTimeWindow string
ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
EnableBatchedOperations bool
Value that indicates whether server-side batched operations are enabled.
EnableExpress bool
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
EnablePartitioning Changes to this property will trigger replacement. bool
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
MaxMessageSizeInKilobytes double
Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.
MaxSizeInMegabytes int
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
RequiresDuplicateDetection Changes to this property will trigger replacement. bool
Value indicating if this topic requires duplicate detection.
Status Pulumi.AzureNative.ServiceBus.EntityStatus
Enumerates the possible values for the status of a messaging entity.
SupportOrdering bool
Value that indicates whether the topic supports ordering.
TopicName Changes to this property will trigger replacement. string
The topic name.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
The namespace name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AutoDeleteOnIdle string
ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
DefaultMessageTimeToLive string
ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
DuplicateDetectionHistoryTimeWindow string
ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
EnableBatchedOperations bool
Value that indicates whether server-side batched operations are enabled.
EnableExpress bool
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
EnablePartitioning Changes to this property will trigger replacement. bool
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
MaxMessageSizeInKilobytes float64
Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.
MaxSizeInMegabytes int
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
RequiresDuplicateDetection Changes to this property will trigger replacement. bool
Value indicating if this topic requires duplicate detection.
Status EntityStatus
Enumerates the possible values for the status of a messaging entity.
SupportOrdering bool
Value that indicates whether the topic supports ordering.
TopicName Changes to this property will trigger replacement. string
The topic name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
The namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
autoDeleteOnIdle String
ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
defaultMessageTimeToLive String
ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
duplicateDetectionHistoryTimeWindow String
ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
enableBatchedOperations Boolean
Value that indicates whether server-side batched operations are enabled.
enableExpress Boolean
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
enablePartitioning Changes to this property will trigger replacement. Boolean
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
maxMessageSizeInKilobytes Double
Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.
maxSizeInMegabytes Integer
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
requiresDuplicateDetection Changes to this property will trigger replacement. Boolean
Value indicating if this topic requires duplicate detection.
status EntityStatus
Enumerates the possible values for the status of a messaging entity.
supportOrdering Boolean
Value that indicates whether the topic supports ordering.
topicName Changes to this property will trigger replacement. String
The topic name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
string
The namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
autoDeleteOnIdle string
ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
defaultMessageTimeToLive string
ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
duplicateDetectionHistoryTimeWindow string
ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
enableBatchedOperations boolean
Value that indicates whether server-side batched operations are enabled.
enableExpress boolean
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
enablePartitioning Changes to this property will trigger replacement. boolean
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
maxMessageSizeInKilobytes number
Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.
maxSizeInMegabytes number
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
requiresDuplicateDetection Changes to this property will trigger replacement. boolean
Value indicating if this topic requires duplicate detection.
status EntityStatus
Enumerates the possible values for the status of a messaging entity.
supportOrdering boolean
Value that indicates whether the topic supports ordering.
topicName Changes to this property will trigger replacement. string
The topic name.
namespace_name
This property is required.
Changes to this property will trigger replacement.
str
The namespace name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
auto_delete_on_idle str
ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
default_message_time_to_live str
ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
duplicate_detection_history_time_window str
ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
enable_batched_operations bool
Value that indicates whether server-side batched operations are enabled.
enable_express bool
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
enable_partitioning Changes to this property will trigger replacement. bool
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
max_message_size_in_kilobytes float
Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.
max_size_in_megabytes int
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
requires_duplicate_detection Changes to this property will trigger replacement. bool
Value indicating if this topic requires duplicate detection.
status EntityStatus
Enumerates the possible values for the status of a messaging entity.
support_ordering bool
Value that indicates whether the topic supports ordering.
topic_name Changes to this property will trigger replacement. str
The topic name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
The namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
autoDeleteOnIdle String
ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
defaultMessageTimeToLive String
ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
duplicateDetectionHistoryTimeWindow String
ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
enableBatchedOperations Boolean
Value that indicates whether server-side batched operations are enabled.
enableExpress Boolean
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
enablePartitioning Changes to this property will trigger replacement. Boolean
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
maxMessageSizeInKilobytes Number
Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.
maxSizeInMegabytes Number
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
requiresDuplicateDetection Changes to this property will trigger replacement. Boolean
Value indicating if this topic requires duplicate detection.
status "Active" | "Disabled" | "Restoring" | "SendDisabled" | "ReceiveDisabled" | "Creating" | "Deleting" | "Renaming" | "Unknown"
Enumerates the possible values for the status of a messaging entity.
supportOrdering Boolean
Value that indicates whether the topic supports ordering.
topicName Changes to this property will trigger replacement. String
The topic name.

Outputs

All input properties are implicitly available as output properties. Additionally, the Topic resource produces the following output properties:

AccessedAt string
Last time the message was sent, or a request was received, for this topic.
AzureApiVersion string
The Azure API version of the resource.
CountDetails Pulumi.AzureNative.ServiceBus.Outputs.MessageCountDetailsResponse
Message count details
CreatedAt string
Exact time the message was created.
Id string
The provider-assigned unique ID for this managed resource.
Location string
The geo-location where the resource lives
Name string
The name of the resource
SizeInBytes double
Size of the topic, in bytes.
SubscriptionCount int
Number of subscriptions.
SystemData Pulumi.AzureNative.ServiceBus.Outputs.SystemDataResponse
The system meta data relating to this resource.
Type string
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
UpdatedAt string
The exact time the message was updated.
AccessedAt string
Last time the message was sent, or a request was received, for this topic.
AzureApiVersion string
The Azure API version of the resource.
CountDetails MessageCountDetailsResponse
Message count details
CreatedAt string
Exact time the message was created.
Id string
The provider-assigned unique ID for this managed resource.
Location string
The geo-location where the resource lives
Name string
The name of the resource
SizeInBytes float64
Size of the topic, in bytes.
SubscriptionCount int
Number of subscriptions.
SystemData SystemDataResponse
The system meta data relating to this resource.
Type string
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
UpdatedAt string
The exact time the message was updated.
accessedAt String
Last time the message was sent, or a request was received, for this topic.
azureApiVersion String
The Azure API version of the resource.
countDetails MessageCountDetailsResponse
Message count details
createdAt String
Exact time the message was created.
id String
The provider-assigned unique ID for this managed resource.
location String
The geo-location where the resource lives
name String
The name of the resource
sizeInBytes Double
Size of the topic, in bytes.
subscriptionCount Integer
Number of subscriptions.
systemData SystemDataResponse
The system meta data relating to this resource.
type String
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
updatedAt String
The exact time the message was updated.
accessedAt string
Last time the message was sent, or a request was received, for this topic.
azureApiVersion string
The Azure API version of the resource.
countDetails MessageCountDetailsResponse
Message count details
createdAt string
Exact time the message was created.
id string
The provider-assigned unique ID for this managed resource.
location string
The geo-location where the resource lives
name string
The name of the resource
sizeInBytes number
Size of the topic, in bytes.
subscriptionCount number
Number of subscriptions.
systemData SystemDataResponse
The system meta data relating to this resource.
type string
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
updatedAt string
The exact time the message was updated.
accessed_at str
Last time the message was sent, or a request was received, for this topic.
azure_api_version str
The Azure API version of the resource.
count_details MessageCountDetailsResponse
Message count details
created_at str
Exact time the message was created.
id str
The provider-assigned unique ID for this managed resource.
location str
The geo-location where the resource lives
name str
The name of the resource
size_in_bytes float
Size of the topic, in bytes.
subscription_count int
Number of subscriptions.
system_data SystemDataResponse
The system meta data relating to this resource.
type str
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
updated_at str
The exact time the message was updated.
accessedAt String
Last time the message was sent, or a request was received, for this topic.
azureApiVersion String
The Azure API version of the resource.
countDetails Property Map
Message count details
createdAt String
Exact time the message was created.
id String
The provider-assigned unique ID for this managed resource.
location String
The geo-location where the resource lives
name String
The name of the resource
sizeInBytes Number
Size of the topic, in bytes.
subscriptionCount Number
Number of subscriptions.
systemData Property Map
The system meta data relating to this resource.
type String
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
updatedAt String
The exact time the message was updated.

Supporting Types

EntityStatus
, EntityStatusArgs

Active
Active
Disabled
Disabled
Restoring
Restoring
SendDisabled
SendDisabled
ReceiveDisabled
ReceiveDisabled
Creating
Creating
Deleting
Deleting
Renaming
Renaming
Unknown
Unknown
EntityStatusActive
Active
EntityStatusDisabled
Disabled
EntityStatusRestoring
Restoring
EntityStatusSendDisabled
SendDisabled
EntityStatusReceiveDisabled
ReceiveDisabled
EntityStatusCreating
Creating
EntityStatusDeleting
Deleting
EntityStatusRenaming
Renaming
EntityStatusUnknown
Unknown
Active
Active
Disabled
Disabled
Restoring
Restoring
SendDisabled
SendDisabled
ReceiveDisabled
ReceiveDisabled
Creating
Creating
Deleting
Deleting
Renaming
Renaming
Unknown
Unknown
Active
Active
Disabled
Disabled
Restoring
Restoring
SendDisabled
SendDisabled
ReceiveDisabled
ReceiveDisabled
Creating
Creating
Deleting
Deleting
Renaming
Renaming
Unknown
Unknown
ACTIVE
Active
DISABLED
Disabled
RESTORING
Restoring
SEND_DISABLED
SendDisabled
RECEIVE_DISABLED
ReceiveDisabled
CREATING
Creating
DELETING
Deleting
RENAMING
Renaming
UNKNOWN
Unknown
"Active"
Active
"Disabled"
Disabled
"Restoring"
Restoring
"SendDisabled"
SendDisabled
"ReceiveDisabled"
ReceiveDisabled
"Creating"
Creating
"Deleting"
Deleting
"Renaming"
Renaming
"Unknown"
Unknown

MessageCountDetailsResponse
, MessageCountDetailsResponseArgs

ActiveMessageCount This property is required. double
Number of active messages in the queue, topic, or subscription.
DeadLetterMessageCount This property is required. double
Number of messages that are dead lettered.
ScheduledMessageCount This property is required. double
Number of scheduled messages.
TransferDeadLetterMessageCount This property is required. double
Number of messages transferred into dead letters.
TransferMessageCount This property is required. double
Number of messages transferred to another queue, topic, or subscription.
ActiveMessageCount This property is required. float64
Number of active messages in the queue, topic, or subscription.
DeadLetterMessageCount This property is required. float64
Number of messages that are dead lettered.
ScheduledMessageCount This property is required. float64
Number of scheduled messages.
TransferDeadLetterMessageCount This property is required. float64
Number of messages transferred into dead letters.
TransferMessageCount This property is required. float64
Number of messages transferred to another queue, topic, or subscription.
activeMessageCount This property is required. Double
Number of active messages in the queue, topic, or subscription.
deadLetterMessageCount This property is required. Double
Number of messages that are dead lettered.
scheduledMessageCount This property is required. Double
Number of scheduled messages.
transferDeadLetterMessageCount This property is required. Double
Number of messages transferred into dead letters.
transferMessageCount This property is required. Double
Number of messages transferred to another queue, topic, or subscription.
activeMessageCount This property is required. number
Number of active messages in the queue, topic, or subscription.
deadLetterMessageCount This property is required. number
Number of messages that are dead lettered.
scheduledMessageCount This property is required. number
Number of scheduled messages.
transferDeadLetterMessageCount This property is required. number
Number of messages transferred into dead letters.
transferMessageCount This property is required. number
Number of messages transferred to another queue, topic, or subscription.
active_message_count This property is required. float
Number of active messages in the queue, topic, or subscription.
dead_letter_message_count This property is required. float
Number of messages that are dead lettered.
scheduled_message_count This property is required. float
Number of scheduled messages.
transfer_dead_letter_message_count This property is required. float
Number of messages transferred into dead letters.
transfer_message_count This property is required. float
Number of messages transferred to another queue, topic, or subscription.
activeMessageCount This property is required. Number
Number of active messages in the queue, topic, or subscription.
deadLetterMessageCount This property is required. Number
Number of messages that are dead lettered.
scheduledMessageCount This property is required. Number
Number of scheduled messages.
transferDeadLetterMessageCount This property is required. Number
Number of messages transferred into dead letters.
transferMessageCount This property is required. Number
Number of messages transferred to another queue, topic, or subscription.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The type of identity that last modified the resource.
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The type of identity that last modified the resource.
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:servicebus:Topic sdk-Topics-5488 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi