azure-native.servicebus.Queue
Explore with Pulumi AI
Description of queue Resource. Azure REST API version: 2022-01-01-preview. Prior API version in Azure Native 1.x: 2017-04-01.
Other available API versions: 2022-10-01-preview, 2023-01-01-preview, 2024-01-01.
Example Usage
QueueCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var queue = new AzureNative.ServiceBus.Queue("queue", new()
    {
        EnablePartitioning = true,
        NamespaceName = "sdk-Namespace-3174",
        QueueName = "sdk-Queues-5647",
        ResourceGroupName = "ArunMonocle",
    });
});
package main
import (
	servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicebus.NewQueue(ctx, "queue", &servicebus.QueueArgs{
			EnablePartitioning: pulumi.Bool(true),
			NamespaceName:      pulumi.String("sdk-Namespace-3174"),
			QueueName:          pulumi.String("sdk-Queues-5647"),
			ResourceGroupName:  pulumi.String("ArunMonocle"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Queue;
import com.pulumi.azurenative.servicebus.QueueArgs;
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 queue = new Queue("queue", QueueArgs.builder()
            .enablePartitioning(true)
            .namespaceName("sdk-Namespace-3174")
            .queueName("sdk-Queues-5647")
            .resourceGroupName("ArunMonocle")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const queue = new azure_native.servicebus.Queue("queue", {
    enablePartitioning: true,
    namespaceName: "sdk-Namespace-3174",
    queueName: "sdk-Queues-5647",
    resourceGroupName: "ArunMonocle",
});
import pulumi
import pulumi_azure_native as azure_native
queue = azure_native.servicebus.Queue("queue",
    enable_partitioning=True,
    namespace_name="sdk-Namespace-3174",
    queue_name="sdk-Queues-5647",
    resource_group_name="ArunMonocle")
resources:
  queue:
    type: azure-native:servicebus:Queue
    properties:
      enablePartitioning: true
      namespaceName: sdk-Namespace-3174
      queueName: sdk-Queues-5647
      resourceGroupName: ArunMonocle
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: QueueArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Queue(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          namespace_name: Optional[str] = None,
          resource_group_name: Optional[str] = None,
          forward_to: 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,
          forward_dead_lettered_messages_to: Optional[str] = None,
          auto_delete_on_idle: Optional[str] = None,
          lock_duration: Optional[str] = None,
          max_delivery_count: Optional[int] = None,
          duplicate_detection_history_time_window: Optional[str] = None,
          max_size_in_megabytes: Optional[int] = None,
          default_message_time_to_live: Optional[str] = None,
          queue_name: Optional[str] = None,
          requires_duplicate_detection: Optional[bool] = None,
          requires_session: Optional[bool] = None,
          dead_lettering_on_message_expiration: Optional[bool] = None,
          status: Optional[EntityStatus] = None)func NewQueue(ctx *Context, name string, args QueueArgs, opts ...ResourceOption) (*Queue, error)public Queue(string name, QueueArgs args, CustomResourceOptions? opts = null)type: azure-native: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 AzureNative.ServiceBus.Queue("queueResource", new()
{
    NamespaceName = "string",
    ResourceGroupName = "string",
    ForwardTo = "string",
    MaxMessageSizeInKilobytes = 0,
    EnableBatchedOperations = false,
    EnableExpress = false,
    EnablePartitioning = false,
    ForwardDeadLetteredMessagesTo = "string",
    AutoDeleteOnIdle = "string",
    LockDuration = "string",
    MaxDeliveryCount = 0,
    DuplicateDetectionHistoryTimeWindow = "string",
    MaxSizeInMegabytes = 0,
    DefaultMessageTimeToLive = "string",
    QueueName = "string",
    RequiresDuplicateDetection = false,
    RequiresSession = false,
    DeadLetteringOnMessageExpiration = false,
    Status = AzureNative.ServiceBus.EntityStatus.Active,
});
example, err := servicebus.NewQueue(ctx, "queueResource", &servicebus.QueueArgs{
	NamespaceName:                       pulumi.String("string"),
	ResourceGroupName:                   pulumi.String("string"),
	ForwardTo:                           pulumi.String("string"),
	MaxMessageSizeInKilobytes:           pulumi.Float64(0),
	EnableBatchedOperations:             pulumi.Bool(false),
	EnableExpress:                       pulumi.Bool(false),
	EnablePartitioning:                  pulumi.Bool(false),
	ForwardDeadLetteredMessagesTo:       pulumi.String("string"),
	AutoDeleteOnIdle:                    pulumi.String("string"),
	LockDuration:                        pulumi.String("string"),
	MaxDeliveryCount:                    pulumi.Int(0),
	DuplicateDetectionHistoryTimeWindow: pulumi.String("string"),
	MaxSizeInMegabytes:                  pulumi.Int(0),
	DefaultMessageTimeToLive:            pulumi.String("string"),
	QueueName:                           pulumi.String("string"),
	RequiresDuplicateDetection:          pulumi.Bool(false),
	RequiresSession:                     pulumi.Bool(false),
	DeadLetteringOnMessageExpiration:    pulumi.Bool(false),
	Status:                              servicebus.EntityStatusActive,
})
var queueResource = new Queue("queueResource", QueueArgs.builder()
    .namespaceName("string")
    .resourceGroupName("string")
    .forwardTo("string")
    .maxMessageSizeInKilobytes(0)
    .enableBatchedOperations(false)
    .enableExpress(false)
    .enablePartitioning(false)
    .forwardDeadLetteredMessagesTo("string")
    .autoDeleteOnIdle("string")
    .lockDuration("string")
    .maxDeliveryCount(0)
    .duplicateDetectionHistoryTimeWindow("string")
    .maxSizeInMegabytes(0)
    .defaultMessageTimeToLive("string")
    .queueName("string")
    .requiresDuplicateDetection(false)
    .requiresSession(false)
    .deadLetteringOnMessageExpiration(false)
    .status("Active")
    .build());
queue_resource = azure_native.servicebus.Queue("queueResource",
    namespace_name="string",
    resource_group_name="string",
    forward_to="string",
    max_message_size_in_kilobytes=0,
    enable_batched_operations=False,
    enable_express=False,
    enable_partitioning=False,
    forward_dead_lettered_messages_to="string",
    auto_delete_on_idle="string",
    lock_duration="string",
    max_delivery_count=0,
    duplicate_detection_history_time_window="string",
    max_size_in_megabytes=0,
    default_message_time_to_live="string",
    queue_name="string",
    requires_duplicate_detection=False,
    requires_session=False,
    dead_lettering_on_message_expiration=False,
    status=azure_native.servicebus.EntityStatus.ACTIVE)
const queueResource = new azure_native.servicebus.Queue("queueResource", {
    namespaceName: "string",
    resourceGroupName: "string",
    forwardTo: "string",
    maxMessageSizeInKilobytes: 0,
    enableBatchedOperations: false,
    enableExpress: false,
    enablePartitioning: false,
    forwardDeadLetteredMessagesTo: "string",
    autoDeleteOnIdle: "string",
    lockDuration: "string",
    maxDeliveryCount: 0,
    duplicateDetectionHistoryTimeWindow: "string",
    maxSizeInMegabytes: 0,
    defaultMessageTimeToLive: "string",
    queueName: "string",
    requiresDuplicateDetection: false,
    requiresSession: false,
    deadLetteringOnMessageExpiration: false,
    status: azure_native.servicebus.EntityStatus.Active,
});
type: azure-native:servicebus:Queue
properties:
    autoDeleteOnIdle: string
    deadLetteringOnMessageExpiration: false
    defaultMessageTimeToLive: string
    duplicateDetectionHistoryTimeWindow: string
    enableBatchedOperations: false
    enableExpress: false
    enablePartitioning: false
    forwardDeadLetteredMessagesTo: string
    forwardTo: string
    lockDuration: string
    maxDeliveryCount: 0
    maxMessageSizeInKilobytes: 0
    maxSizeInMegabytes: 0
    namespaceName: string
    queueName: string
    requiresDuplicateDetection: false
    requiresSession: false
    resourceGroupName: string
    status: Active
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:
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- AutoDelete stringOn Idle 
- ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
- DeadLettering boolOn Message Expiration 
- A value that indicates whether this queue has dead letter support when a message expires.
- DefaultMessage stringTime To Live 
- 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.
- DuplicateDetection stringHistory Time Window 
- ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- EnableBatched boolOperations 
- Value that indicates whether server-side batched operations are enabled.
- EnableExpress bool
- A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
- EnablePartitioning bool
- A value that indicates whether the queue is to be partitioned across multiple message brokers.
- ForwardDead stringLettered Messages To 
- Queue/Topic name to forward the Dead Letter message
- ForwardTo string
- Queue/Topic name to forward the messages
- LockDuration string
- ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
- MaxDelivery intCount 
- The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
- MaxMessage doubleSize In Kilobytes 
- Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.
- MaxSize intIn Megabytes 
- The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
- QueueName string
- The queue name.
- RequiresDuplicate boolDetection 
- A value indicating if this queue requires duplicate detection.
- RequiresSession bool
- A value that indicates whether the queue supports the concept of sessions.
- Status
Pulumi.Azure Native. Service Bus. Entity Status 
- Enumerates the possible values for the status of a messaging entity.
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- AutoDelete stringOn Idle 
- ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
- DeadLettering boolOn Message Expiration 
- A value that indicates whether this queue has dead letter support when a message expires.
- DefaultMessage stringTime To Live 
- 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.
- DuplicateDetection stringHistory Time Window 
- ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- EnableBatched boolOperations 
- Value that indicates whether server-side batched operations are enabled.
- EnableExpress bool
- A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
- EnablePartitioning bool
- A value that indicates whether the queue is to be partitioned across multiple message brokers.
- ForwardDead stringLettered Messages To 
- Queue/Topic name to forward the Dead Letter message
- ForwardTo string
- Queue/Topic name to forward the messages
- LockDuration string
- ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
- MaxDelivery intCount 
- The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
- MaxMessage float64Size In Kilobytes 
- Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.
- MaxSize intIn Megabytes 
- The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
- QueueName string
- The queue name.
- RequiresDuplicate boolDetection 
- A value indicating if this queue requires duplicate detection.
- RequiresSession bool
- A value that indicates whether the queue supports the concept of sessions.
- Status
EntityStatus 
- Enumerates the possible values for the status of a messaging entity.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- autoDelete StringOn Idle 
- ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
- deadLettering BooleanOn Message Expiration 
- A value that indicates whether this queue has dead letter support when a message expires.
- defaultMessage StringTime To Live 
- 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.
- duplicateDetection StringHistory Time Window 
- ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enableBatched BooleanOperations 
- Value that indicates whether server-side batched operations are enabled.
- enableExpress Boolean
- A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
- enablePartitioning Boolean
- A value that indicates whether the queue is to be partitioned across multiple message brokers.
- forwardDead StringLettered Messages To 
- Queue/Topic name to forward the Dead Letter message
- forwardTo String
- Queue/Topic name to forward the messages
- lockDuration String
- ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
- maxDelivery IntegerCount 
- The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
- maxMessage DoubleSize In Kilobytes 
- Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.
- maxSize IntegerIn Megabytes 
- The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
- queueName String
- The queue name.
- requiresDuplicate BooleanDetection 
- A value indicating if this queue requires duplicate detection.
- requiresSession Boolean
- A value that indicates whether the queue supports the concept of sessions.
- status
EntityStatus 
- Enumerates the possible values for the status of a messaging entity.
- namespaceName string
- The namespace name
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- autoDelete stringOn Idle 
- ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
- deadLettering booleanOn Message Expiration 
- A value that indicates whether this queue has dead letter support when a message expires.
- defaultMessage stringTime To Live 
- 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.
- duplicateDetection stringHistory Time Window 
- ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enableBatched booleanOperations 
- Value that indicates whether server-side batched operations are enabled.
- enableExpress boolean
- A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
- enablePartitioning boolean
- A value that indicates whether the queue is to be partitioned across multiple message brokers.
- forwardDead stringLettered Messages To 
- Queue/Topic name to forward the Dead Letter message
- forwardTo string
- Queue/Topic name to forward the messages
- lockDuration string
- ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
- maxDelivery numberCount 
- The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
- maxMessage numberSize In Kilobytes 
- Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.
- maxSize numberIn Megabytes 
- The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
- queueName string
- The queue name.
- requiresDuplicate booleanDetection 
- A value indicating if this queue requires duplicate detection.
- requiresSession boolean
- A value that indicates whether the queue supports the concept of sessions.
- status
EntityStatus 
- Enumerates the possible values for the status of a messaging entity.
- namespace_name str
- The namespace name
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- auto_delete_ stron_ idle 
- ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
- dead_lettering_ boolon_ message_ expiration 
- A value that indicates whether this queue has dead letter support when a message expires.
- default_message_ strtime_ to_ live 
- 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_ strhistory_ time_ window 
- ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable_batched_ booloperations 
- Value that indicates whether server-side batched operations are enabled.
- enable_express bool
- A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
- enable_partitioning bool
- A value that indicates whether the queue is to be partitioned across multiple message brokers.
- forward_dead_ strlettered_ messages_ to 
- Queue/Topic name to forward the Dead Letter message
- forward_to str
- Queue/Topic name to forward the messages
- lock_duration str
- ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
- max_delivery_ intcount 
- The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
- max_message_ floatsize_ in_ kilobytes 
- Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.
- max_size_ intin_ megabytes 
- The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
- queue_name str
- The queue name.
- requires_duplicate_ booldetection 
- A value indicating if this queue requires duplicate detection.
- requires_session bool
- A value that indicates whether the queue supports the concept of sessions.
- status
EntityStatus 
- Enumerates the possible values for the status of a messaging entity.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- autoDelete StringOn Idle 
- ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
- deadLettering BooleanOn Message Expiration 
- A value that indicates whether this queue has dead letter support when a message expires.
- defaultMessage StringTime To Live 
- 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.
- duplicateDetection StringHistory Time Window 
- ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enableBatched BooleanOperations 
- Value that indicates whether server-side batched operations are enabled.
- enableExpress Boolean
- A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
- enablePartitioning Boolean
- A value that indicates whether the queue is to be partitioned across multiple message brokers.
- forwardDead StringLettered Messages To 
- Queue/Topic name to forward the Dead Letter message
- forwardTo String
- Queue/Topic name to forward the messages
- lockDuration String
- ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
- maxDelivery NumberCount 
- The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
- maxMessage NumberSize In Kilobytes 
- Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.
- maxSize NumberIn Megabytes 
- The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
- queueName String
- The queue name.
- requiresDuplicate BooleanDetection 
- A value indicating if this queue requires duplicate detection.
- requiresSession Boolean
- A value that indicates whether the queue supports the concept of sessions.
- status
"Active" | "Disabled" | "Restoring" | "SendDisabled" | "Receive Disabled" | "Creating" | "Deleting" | "Renaming" | "Unknown" 
- Enumerates the possible values for the status of a messaging entity.
Outputs
All input properties are implicitly available as output properties. Additionally, the Queue resource produces the following output properties:
- AccessedAt string
- Last time a message was sent, or the last time there was a receive request to this queue.
- CountDetails Pulumi.Azure Native. Service Bus. Outputs. Message Count Details Response 
- Message Count Details.
- CreatedAt string
- The 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
- MessageCount double
- The number of messages in the queue.
- Name string
- The name of the resource
- SizeIn doubleBytes 
- The size of the queue, in bytes.
- SystemData Pulumi.Azure Native. Service Bus. Outputs. System Data Response 
- 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 a message was sent, or the last time there was a receive request to this queue.
- CountDetails MessageCount Details Response 
- Message Count Details.
- CreatedAt string
- The 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
- MessageCount float64
- The number of messages in the queue.
- Name string
- The name of the resource
- SizeIn float64Bytes 
- The size of the queue, in bytes.
- SystemData SystemData Response 
- 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 a message was sent, or the last time there was a receive request to this queue.
- countDetails MessageCount Details Response 
- Message Count Details.
- createdAt String
- The 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
- messageCount Double
- The number of messages in the queue.
- name String
- The name of the resource
- sizeIn DoubleBytes 
- The size of the queue, in bytes.
- systemData SystemData Response 
- 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 a message was sent, or the last time there was a receive request to this queue.
- countDetails MessageCount Details Response 
- Message Count Details.
- createdAt string
- The 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
- messageCount number
- The number of messages in the queue.
- name string
- The name of the resource
- sizeIn numberBytes 
- The size of the queue, in bytes.
- systemData SystemData Response 
- 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 a message was sent, or the last time there was a receive request to this queue.
- count_details MessageCount Details Response 
- Message Count Details.
- created_at str
- The 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
- message_count float
- The number of messages in the queue.
- name str
- The name of the resource
- size_in_ floatbytes 
- The size of the queue, in bytes.
- system_data SystemData Response 
- 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 a message was sent, or the last time there was a receive request to this queue.
- countDetails Property Map
- Message Count Details.
- createdAt String
- The 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
- messageCount Number
- The number of messages in the queue.
- name String
- The name of the resource
- sizeIn NumberBytes 
- The size of the queue, in bytes.
- 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
- EntityStatus Active 
- Active
- EntityStatus Disabled 
- Disabled
- EntityStatus Restoring 
- Restoring
- EntityStatus Send Disabled 
- SendDisabled
- EntityStatus Receive Disabled 
- ReceiveDisabled
- EntityStatus Creating 
- Creating
- EntityStatus Deleting 
- Deleting
- EntityStatus Renaming 
- Renaming
- EntityStatus 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
- 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        
- ActiveMessage doubleCount 
- Number of active messages in the queue, topic, or subscription.
- DeadLetter doubleMessage Count 
- Number of messages that are dead lettered.
- ScheduledMessage doubleCount 
- Number of scheduled messages.
- TransferDead doubleLetter Message Count 
- Number of messages transferred into dead letters.
- TransferMessage doubleCount 
- Number of messages transferred to another queue, topic, or subscription.
- ActiveMessage float64Count 
- Number of active messages in the queue, topic, or subscription.
- DeadLetter float64Message Count 
- Number of messages that are dead lettered.
- ScheduledMessage float64Count 
- Number of scheduled messages.
- TransferDead float64Letter Message Count 
- Number of messages transferred into dead letters.
- TransferMessage float64Count 
- Number of messages transferred to another queue, topic, or subscription.
- activeMessage DoubleCount 
- Number of active messages in the queue, topic, or subscription.
- deadLetter DoubleMessage Count 
- Number of messages that are dead lettered.
- scheduledMessage DoubleCount 
- Number of scheduled messages.
- transferDead DoubleLetter Message Count 
- Number of messages transferred into dead letters.
- transferMessage DoubleCount 
- Number of messages transferred to another queue, topic, or subscription.
- activeMessage numberCount 
- Number of active messages in the queue, topic, or subscription.
- deadLetter numberMessage Count 
- Number of messages that are dead lettered.
- scheduledMessage numberCount 
- Number of scheduled messages.
- transferDead numberLetter Message Count 
- Number of messages transferred into dead letters.
- transferMessage numberCount 
- Number of messages transferred to another queue, topic, or subscription.
- active_message_ floatcount 
- Number of active messages in the queue, topic, or subscription.
- dead_letter_ floatmessage_ count 
- Number of messages that are dead lettered.
- scheduled_message_ floatcount 
- Number of scheduled messages.
- transfer_dead_ floatletter_ message_ count 
- Number of messages transferred into dead letters.
- transfer_message_ floatcount 
- Number of messages transferred to another queue, topic, or subscription.
- activeMessage NumberCount 
- Number of active messages in the queue, topic, or subscription.
- deadLetter NumberMessage Count 
- Number of messages that are dead lettered.
- scheduledMessage NumberCount 
- Number of scheduled messages.
- transferDead NumberLetter Message Count 
- Number of messages transferred into dead letters.
- transferMessage NumberCount 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The type of identity that last modified the resource.
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The type of identity that last modified the resource.
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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:Queue sdk-Queues-5647 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0