1. Packages
  2. Azure Classic
  3. API Docs
  4. servicebus
  5. Queue

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a ServiceBus Queue.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleNamespace = new Azure.ServiceBus.Namespace("exampleNamespace", new Azure.ServiceBus.NamespaceArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                Sku = "Standard",
                Tags = 
                {
                    { "source", "example" },
                },
            });
            var exampleQueue = new Azure.ServiceBus.Queue("exampleQueue", new Azure.ServiceBus.QueueArgs
            {
                NamespaceId = exampleNamespace.Id,
                EnablePartitioning = true,
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/servicebus"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Sku:               pulumi.String("Standard"),
    			Tags: pulumi.StringMap{
    				"source": pulumi.String("example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = servicebus.NewQueue(ctx, "exampleQueue", &servicebus.QueueArgs{
    			NamespaceId:        exampleNamespace.ID(),
    			EnablePartitioning: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleNamespace = new azure.servicebus.Namespace("exampleNamespace", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: "Standard",
        tags: {
            source: "example",
        },
    });
    const exampleQueue = new azure.servicebus.Queue("exampleQueue", {
        namespaceId: exampleNamespace.id,
        enablePartitioning: true,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_namespace = azure.servicebus.Namespace("exampleNamespace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku="Standard",
        tags={
            "source": "example",
        })
    example_queue = azure.servicebus.Queue("exampleQueue",
        namespace_id=example_namespace.id,
        enable_partitioning=True)
    

    Example coming soon!

    Create Queue Resource

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

    Constructor syntax

    new Queue(name: string, args?: QueueArgs, opts?: CustomResourceOptions);
    @overload
    def Queue(resource_name: str,
              args: Optional[QueueArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Queue(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              auto_delete_on_idle: Optional[str] = None,
              dead_lettering_on_message_expiration: Optional[bool] = None,
              default_message_ttl: Optional[str] = None,
              duplicate_detection_history_time_window: Optional[str] = None,
              enable_batched_operations: Optional[bool] = None,
              enable_express: Optional[bool] = None,
              enable_partitioning: Optional[bool] = None,
              forward_dead_lettered_messages_to: Optional[str] = None,
              forward_to: Optional[str] = None,
              lock_duration: Optional[str] = None,
              max_delivery_count: Optional[int] = None,
              max_message_size_in_kilobytes: Optional[int] = None,
              max_size_in_megabytes: Optional[int] = None,
              name: Optional[str] = None,
              namespace_id: Optional[str] = None,
              namespace_name: Optional[str] = None,
              requires_duplicate_detection: Optional[bool] = None,
              requires_session: Optional[bool] = None,
              resource_group_name: Optional[str] = None,
              status: Optional[str] = None)
    func NewQueue(ctx *Context, name string, args *QueueArgs, opts ...ResourceOption) (*Queue, error)
    public Queue(string name, QueueArgs? args = null, CustomResourceOptions? opts = null)
    public Queue(String name, QueueArgs args)
    public Queue(String name, QueueArgs args, CustomResourceOptions options)
    
    type: azure:servicebus:Queue
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QueueArgs
    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 queueResource = new Azure.ServiceBus.Queue("queueResource", new()
    {
        AutoDeleteOnIdle = "string",
        DeadLetteringOnMessageExpiration = false,
        DefaultMessageTtl = "string",
        DuplicateDetectionHistoryTimeWindow = "string",
        EnableBatchedOperations = false,
        EnableExpress = false,
        EnablePartitioning = false,
        ForwardDeadLetteredMessagesTo = "string",
        ForwardTo = "string",
        LockDuration = "string",
        MaxDeliveryCount = 0,
        MaxMessageSizeInKilobytes = 0,
        MaxSizeInMegabytes = 0,
        Name = "string",
        NamespaceId = "string",
        RequiresDuplicateDetection = false,
        RequiresSession = false,
        Status = "string",
    });
    
    example, err := servicebus.NewQueue(ctx, "queueResource", &servicebus.QueueArgs{
    	AutoDeleteOnIdle:                    pulumi.String("string"),
    	DeadLetteringOnMessageExpiration:    pulumi.Bool(false),
    	DefaultMessageTtl:                   pulumi.String("string"),
    	DuplicateDetectionHistoryTimeWindow: pulumi.String("string"),
    	EnableBatchedOperations:             pulumi.Bool(false),
    	EnableExpress:                       pulumi.Bool(false),
    	EnablePartitioning:                  pulumi.Bool(false),
    	ForwardDeadLetteredMessagesTo:       pulumi.String("string"),
    	ForwardTo:                           pulumi.String("string"),
    	LockDuration:                        pulumi.String("string"),
    	MaxDeliveryCount:                    pulumi.Int(0),
    	MaxMessageSizeInKilobytes:           pulumi.Int(0),
    	MaxSizeInMegabytes:                  pulumi.Int(0),
    	Name:                                pulumi.String("string"),
    	NamespaceId:                         pulumi.String("string"),
    	RequiresDuplicateDetection:          pulumi.Bool(false),
    	RequiresSession:                     pulumi.Bool(false),
    	Status:                              pulumi.String("string"),
    })
    
    var queueResource = new com.pulumi.azure.servicebus.Queue("queueResource", com.pulumi.azure.servicebus.QueueArgs.builder()
        .autoDeleteOnIdle("string")
        .deadLetteringOnMessageExpiration(false)
        .defaultMessageTtl("string")
        .duplicateDetectionHistoryTimeWindow("string")
        .enableBatchedOperations(false)
        .enableExpress(false)
        .enablePartitioning(false)
        .forwardDeadLetteredMessagesTo("string")
        .forwardTo("string")
        .lockDuration("string")
        .maxDeliveryCount(0)
        .maxMessageSizeInKilobytes(0)
        .maxSizeInMegabytes(0)
        .name("string")
        .namespaceId("string")
        .requiresDuplicateDetection(false)
        .requiresSession(false)
        .status("string")
        .build());
    
    queue_resource = azure.servicebus.Queue("queueResource",
        auto_delete_on_idle="string",
        dead_lettering_on_message_expiration=False,
        default_message_ttl="string",
        duplicate_detection_history_time_window="string",
        enable_batched_operations=False,
        enable_express=False,
        enable_partitioning=False,
        forward_dead_lettered_messages_to="string",
        forward_to="string",
        lock_duration="string",
        max_delivery_count=0,
        max_message_size_in_kilobytes=0,
        max_size_in_megabytes=0,
        name="string",
        namespace_id="string",
        requires_duplicate_detection=False,
        requires_session=False,
        status="string")
    
    const queueResource = new azure.servicebus.Queue("queueResource", {
        autoDeleteOnIdle: "string",
        deadLetteringOnMessageExpiration: false,
        defaultMessageTtl: "string",
        duplicateDetectionHistoryTimeWindow: "string",
        enableBatchedOperations: false,
        enableExpress: false,
        enablePartitioning: false,
        forwardDeadLetteredMessagesTo: "string",
        forwardTo: "string",
        lockDuration: "string",
        maxDeliveryCount: 0,
        maxMessageSizeInKilobytes: 0,
        maxSizeInMegabytes: 0,
        name: "string",
        namespaceId: "string",
        requiresDuplicateDetection: false,
        requiresSession: false,
        status: "string",
    });
    
    type: azure:servicebus:Queue
    properties:
        autoDeleteOnIdle: string
        deadLetteringOnMessageExpiration: false
        defaultMessageTtl: string
        duplicateDetectionHistoryTimeWindow: string
        enableBatchedOperations: false
        enableExpress: false
        enablePartitioning: false
        forwardDeadLetteredMessagesTo: string
        forwardTo: string
        lockDuration: string
        maxDeliveryCount: 0
        maxMessageSizeInKilobytes: 0
        maxSizeInMegabytes: 0
        name: string
        namespaceId: string
        requiresDuplicateDetection: false
        requiresSession: false
        status: string
    

    Queue 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 Queue resource accepts the following input properties:

    AutoDeleteOnIdle string
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    DeadLetteringOnMessageExpiration bool
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    DefaultMessageTtl string
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    DuplicateDetectionHistoryTimeWindow string
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    EnableBatchedOperations bool
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    EnableExpress bool
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    EnablePartitioning bool
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    ForwardDeadLetteredMessagesTo string
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    ForwardTo string
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    LockDuration string
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    MaxDeliveryCount int
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    MaxMessageSizeInKilobytes int
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    MaxSizeInMegabytes int
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    Name string
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    NamespaceId string
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    NamespaceName string

    Deprecated: Deprecated in favor of "namespace_id"

    RequiresDuplicateDetection bool
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    RequiresSession bool
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    ResourceGroupName string

    Deprecated: Deprecated in favor of "namespace_id"

    Status string
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    AutoDeleteOnIdle string
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    DeadLetteringOnMessageExpiration bool
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    DefaultMessageTtl string
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    DuplicateDetectionHistoryTimeWindow string
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    EnableBatchedOperations bool
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    EnableExpress bool
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    EnablePartitioning bool
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    ForwardDeadLetteredMessagesTo string
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    ForwardTo string
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    LockDuration string
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    MaxDeliveryCount int
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    MaxMessageSizeInKilobytes int
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    MaxSizeInMegabytes int
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    Name string
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    NamespaceId string
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    NamespaceName string

    Deprecated: Deprecated in favor of "namespace_id"

    RequiresDuplicateDetection bool
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    RequiresSession bool
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    ResourceGroupName string

    Deprecated: Deprecated in favor of "namespace_id"

    Status string
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    autoDeleteOnIdle String
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    deadLetteringOnMessageExpiration Boolean
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    defaultMessageTtl String
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicateDetectionHistoryTimeWindow String
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enableBatchedOperations Boolean
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enableExpress Boolean
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enablePartitioning Boolean
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forwardDeadLetteredMessagesTo String
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forwardTo String
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lockDuration String
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    maxDeliveryCount Integer
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    maxMessageSizeInKilobytes Integer
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    maxSizeInMegabytes Integer
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name String
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespaceId String
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespaceName String

    Deprecated: Deprecated in favor of "namespace_id"

    requiresDuplicateDetection Boolean
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requiresSession Boolean
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resourceGroupName String

    Deprecated: Deprecated in favor of "namespace_id"

    status String
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    autoDeleteOnIdle string
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    deadLetteringOnMessageExpiration boolean
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    defaultMessageTtl string
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicateDetectionHistoryTimeWindow string
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enableBatchedOperations boolean
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enableExpress boolean
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enablePartitioning boolean
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forwardDeadLetteredMessagesTo string
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forwardTo string
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lockDuration string
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    maxDeliveryCount number
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    maxMessageSizeInKilobytes number
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    maxSizeInMegabytes number
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name string
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespaceId string
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespaceName string

    Deprecated: Deprecated in favor of "namespace_id"

    requiresDuplicateDetection boolean
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requiresSession boolean
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resourceGroupName string

    Deprecated: Deprecated in favor of "namespace_id"

    status string
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    auto_delete_on_idle str
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    dead_lettering_on_message_expiration bool
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    default_message_ttl str
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicate_detection_history_time_window str
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enable_batched_operations bool
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enable_express bool
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enable_partitioning bool
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forward_dead_lettered_messages_to str
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forward_to str
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lock_duration str
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    max_delivery_count int
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    max_message_size_in_kilobytes int
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    max_size_in_megabytes int
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name str
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespace_id str
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespace_name str

    Deprecated: Deprecated in favor of "namespace_id"

    requires_duplicate_detection bool
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requires_session bool
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resource_group_name str

    Deprecated: Deprecated in favor of "namespace_id"

    status str
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    autoDeleteOnIdle String
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    deadLetteringOnMessageExpiration Boolean
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    defaultMessageTtl String
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicateDetectionHistoryTimeWindow String
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enableBatchedOperations Boolean
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enableExpress Boolean
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enablePartitioning Boolean
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forwardDeadLetteredMessagesTo String
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forwardTo String
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lockDuration String
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    maxDeliveryCount Number
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    maxMessageSizeInKilobytes Number
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    maxSizeInMegabytes Number
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name String
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespaceId String
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespaceName String

    Deprecated: Deprecated in favor of "namespace_id"

    requiresDuplicateDetection Boolean
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requiresSession Boolean
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resourceGroupName String

    Deprecated: Deprecated in favor of "namespace_id"

    status String
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Queue Resource

    Get an existing Queue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: QueueState, opts?: CustomResourceOptions): Queue
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_delete_on_idle: Optional[str] = None,
            dead_lettering_on_message_expiration: Optional[bool] = None,
            default_message_ttl: Optional[str] = None,
            duplicate_detection_history_time_window: Optional[str] = None,
            enable_batched_operations: Optional[bool] = None,
            enable_express: Optional[bool] = None,
            enable_partitioning: Optional[bool] = None,
            forward_dead_lettered_messages_to: Optional[str] = None,
            forward_to: Optional[str] = None,
            lock_duration: Optional[str] = None,
            max_delivery_count: Optional[int] = None,
            max_message_size_in_kilobytes: Optional[int] = None,
            max_size_in_megabytes: Optional[int] = None,
            name: Optional[str] = None,
            namespace_id: Optional[str] = None,
            namespace_name: Optional[str] = None,
            requires_duplicate_detection: Optional[bool] = None,
            requires_session: Optional[bool] = None,
            resource_group_name: Optional[str] = None,
            status: Optional[str] = None) -> Queue
    func GetQueue(ctx *Context, name string, id IDInput, state *QueueState, opts ...ResourceOption) (*Queue, error)
    public static Queue Get(string name, Input<string> id, QueueState? state, CustomResourceOptions? opts = null)
    public static Queue get(String name, Output<String> id, QueueState state, CustomResourceOptions options)
    resources:  _:    type: azure:servicebus:Queue    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoDeleteOnIdle string
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    DeadLetteringOnMessageExpiration bool
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    DefaultMessageTtl string
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    DuplicateDetectionHistoryTimeWindow string
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    EnableBatchedOperations bool
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    EnableExpress bool
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    EnablePartitioning bool
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    ForwardDeadLetteredMessagesTo string
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    ForwardTo string
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    LockDuration string
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    MaxDeliveryCount int
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    MaxMessageSizeInKilobytes int
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    MaxSizeInMegabytes int
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    Name string
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    NamespaceId string
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    NamespaceName string

    Deprecated: Deprecated in favor of "namespace_id"

    RequiresDuplicateDetection bool
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    RequiresSession bool
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    ResourceGroupName string

    Deprecated: Deprecated in favor of "namespace_id"

    Status string
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    AutoDeleteOnIdle string
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    DeadLetteringOnMessageExpiration bool
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    DefaultMessageTtl string
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    DuplicateDetectionHistoryTimeWindow string
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    EnableBatchedOperations bool
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    EnableExpress bool
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    EnablePartitioning bool
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    ForwardDeadLetteredMessagesTo string
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    ForwardTo string
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    LockDuration string
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    MaxDeliveryCount int
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    MaxMessageSizeInKilobytes int
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    MaxSizeInMegabytes int
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    Name string
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    NamespaceId string
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    NamespaceName string

    Deprecated: Deprecated in favor of "namespace_id"

    RequiresDuplicateDetection bool
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    RequiresSession bool
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    ResourceGroupName string

    Deprecated: Deprecated in favor of "namespace_id"

    Status string
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    autoDeleteOnIdle String
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    deadLetteringOnMessageExpiration Boolean
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    defaultMessageTtl String
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicateDetectionHistoryTimeWindow String
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enableBatchedOperations Boolean
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enableExpress Boolean
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enablePartitioning Boolean
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forwardDeadLetteredMessagesTo String
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forwardTo String
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lockDuration String
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    maxDeliveryCount Integer
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    maxMessageSizeInKilobytes Integer
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    maxSizeInMegabytes Integer
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name String
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespaceId String
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespaceName String

    Deprecated: Deprecated in favor of "namespace_id"

    requiresDuplicateDetection Boolean
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requiresSession Boolean
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resourceGroupName String

    Deprecated: Deprecated in favor of "namespace_id"

    status String
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    autoDeleteOnIdle string
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    deadLetteringOnMessageExpiration boolean
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    defaultMessageTtl string
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicateDetectionHistoryTimeWindow string
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enableBatchedOperations boolean
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enableExpress boolean
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enablePartitioning boolean
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forwardDeadLetteredMessagesTo string
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forwardTo string
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lockDuration string
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    maxDeliveryCount number
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    maxMessageSizeInKilobytes number
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    maxSizeInMegabytes number
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name string
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespaceId string
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespaceName string

    Deprecated: Deprecated in favor of "namespace_id"

    requiresDuplicateDetection boolean
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requiresSession boolean
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resourceGroupName string

    Deprecated: Deprecated in favor of "namespace_id"

    status string
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    auto_delete_on_idle str
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    dead_lettering_on_message_expiration bool
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    default_message_ttl str
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicate_detection_history_time_window str
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enable_batched_operations bool
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enable_express bool
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enable_partitioning bool
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forward_dead_lettered_messages_to str
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forward_to str
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lock_duration str
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    max_delivery_count int
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    max_message_size_in_kilobytes int
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    max_size_in_megabytes int
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name str
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespace_id str
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespace_name str

    Deprecated: Deprecated in favor of "namespace_id"

    requires_duplicate_detection bool
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requires_session bool
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resource_group_name str

    Deprecated: Deprecated in favor of "namespace_id"

    status str
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.
    autoDeleteOnIdle String
    The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
    deadLetteringOnMessageExpiration Boolean
    Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false.
    defaultMessageTtl String
    The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself.
    duplicateDetectionHistoryTimeWindow String
    The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M).
    enableBatchedOperations Boolean
    Boolean flag which controls whether server-side batched operations are enabled. Defaults to true.
    enableExpress Boolean
    Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false.
    enablePartitioning Boolean
    Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. For Premium, it MUST be set to true.
    forwardDeadLetteredMessagesTo String
    The name of a Queue or Topic to automatically forward dead lettered messages to.
    forwardTo String
    The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information.
    lockDuration String
    The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M).
    maxDeliveryCount Number
    Integer value which controls when a message is automatically dead lettered. Defaults to 10.
    maxMessageSizeInKilobytes Number
    Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document.
    maxSizeInMegabytes Number
    Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024.
    name String
    Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created.
    namespaceId String
    The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created.
    namespaceName String

    Deprecated: Deprecated in favor of "namespace_id"

    requiresDuplicateDetection Boolean
    Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false.
    requiresSession Boolean
    Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false.
    resourceGroupName String

    Deprecated: Deprecated in favor of "namespace_id"

    status String
    The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active.

    Import

    Service Bus Queue can be imported using the resource id, e.g.

     $ pulumi import azure:servicebus/queue:Queue example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.servicebus/namespaces/sbns1/queues/snqueue1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.