Microsoft.ServiceBus namespaces/queues 2015-08-01
Bicep resource definition
The namespaces/queues resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ServiceBus/namespaces/queues resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ServiceBus/namespaces/queues@2015-08-01' = {
name: 'string'
location: 'string'
parent: resourceSymbolicName
properties: {
autoDeleteOnIdle: 'string'
deadLetteringOnMessageExpiration: bool
defaultMessageTimeToLive: 'string'
duplicateDetectionHistoryTimeWindow: 'string'
enableBatchedOperations: bool
enableExpress: bool
enablePartitioning: bool
entityAvailabilityStatus: 'string'
isAnonymousAccessible: bool
lockDuration: 'string'
maxDeliveryCount: int
maxSizeInMegabytes: int
requiresDuplicateDetection: bool
requiresSession: bool
status: 'string'
supportOrdering: bool
}
}
Property values
namespaces/queues
Name | Description | Value |
---|---|---|
name | The resource name See how to set names and types for child resources in Bicep. |
string (required) Character limit: 1-260 Valid characters: Alphanumerics, periods, hyphens, underscores, and slashes. Start and end with alphanumeric. |
location | location of the resource. | string (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: namespaces |
properties | The Queue Properties definition. | QueueProperties |
QueueProperties
Name | Description | Value |
---|---|---|
autoDeleteOnIdle | the TimeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes. | string |
deadLetteringOnMessageExpiration | A value that indicates whether this queue has dead letter support when a message expires. | bool |
defaultMessageTimeToLive | The default message time 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. | string |
duplicateDetectionHistoryTimeWindow | TimeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes. | string |
enableBatchedOperations | A value that indicates whether server-side batched operations are enabled. | bool |
enableExpress | A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. | bool |
enablePartitioning | A value that indicates whether the queue is to be partitioned across multiple message brokers. | bool |
entityAvailabilityStatus | Entity availability status for the queue. | 'Available' 'Limited' 'Renaming' 'Restoring' 'Unknown' |
isAnonymousAccessible | A value that indicates whether the message is accessible anonymously. | bool |
lockDuration | The 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. | string |
maxDeliveryCount | The maximum delivery count. A message is automatically deadlettered after this number of deliveries. | int |
maxSizeInMegabytes | The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. | int |
requiresDuplicateDetection | A value indicating if this queue requires duplicate detection. | bool |
requiresSession | A value that indicates whether the queue supports the concept of sessions. | bool |
status | Enumerates the possible values for the status of a messaging entity. | 'Active' 'Creating' 'Deleting' 'Disabled' 'ReceiveDisabled' 'Renaming' 'Restoring' 'SendDisabled' 'Unknown' |
supportOrdering | A value that indicates whether the queue supports ordering. | bool |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Create Azure Event Grid Custom Topic and Queue Subscription |
Creates an Azure Event Grid custom topic and a service bus queue subscription. Template originally authored by Markus Meyer. |
Create a Service Bus namespace and queue authorization rule |
This template enables you to deploy a Service Bus Standard namespace, and authorization rules for both the namespace and a queue. |
Create a Service Bus namespace and queue |
This template enables you to deploy a Service Bus Standard namespace and a queue. |
ARM template resource definition
The namespaces/queues resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ServiceBus/namespaces/queues resource, add the following JSON to your template.
{
"type": "Microsoft.ServiceBus/namespaces/queues",
"apiVersion": "2015-08-01",
"name": "string",
"location": "string",
"properties": {
"autoDeleteOnIdle": "string",
"deadLetteringOnMessageExpiration": "bool",
"defaultMessageTimeToLive": "string",
"duplicateDetectionHistoryTimeWindow": "string",
"enableBatchedOperations": "bool",
"enableExpress": "bool",
"enablePartitioning": "bool",
"entityAvailabilityStatus": "string",
"isAnonymousAccessible": "bool",
"lockDuration": "string",
"maxDeliveryCount": "int",
"maxSizeInMegabytes": "int",
"requiresDuplicateDetection": "bool",
"requiresSession": "bool",
"status": "string",
"supportOrdering": "bool"
}
}
Property values
namespaces/queues
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ServiceBus/namespaces/queues' |
apiVersion | The resource api version | '2015-08-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) Character limit: 1-260 Valid characters: Alphanumerics, periods, hyphens, underscores, and slashes. Start and end with alphanumeric. |
location | location of the resource. | string (required) |
properties | The Queue Properties definition. | QueueProperties |
QueueProperties
Name | Description | Value |
---|---|---|
autoDeleteOnIdle | the TimeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes. | string |
deadLetteringOnMessageExpiration | A value that indicates whether this queue has dead letter support when a message expires. | bool |
defaultMessageTimeToLive | The default message time 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. | string |
duplicateDetectionHistoryTimeWindow | TimeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes. | string |
enableBatchedOperations | A value that indicates whether server-side batched operations are enabled. | bool |
enableExpress | A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. | bool |
enablePartitioning | A value that indicates whether the queue is to be partitioned across multiple message brokers. | bool |
entityAvailabilityStatus | Entity availability status for the queue. | 'Available' 'Limited' 'Renaming' 'Restoring' 'Unknown' |
isAnonymousAccessible | A value that indicates whether the message is accessible anonymously. | bool |
lockDuration | The 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. | string |
maxDeliveryCount | The maximum delivery count. A message is automatically deadlettered after this number of deliveries. | int |
maxSizeInMegabytes | The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. | int |
requiresDuplicateDetection | A value indicating if this queue requires duplicate detection. | bool |
requiresSession | A value that indicates whether the queue supports the concept of sessions. | bool |
status | Enumerates the possible values for the status of a messaging entity. | 'Active' 'Creating' 'Deleting' 'Disabled' 'ReceiveDisabled' 'Renaming' 'Restoring' 'SendDisabled' 'Unknown' |
supportOrdering | A value that indicates whether the queue supports ordering. | bool |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Create Azure Event Grid Custom Topic and Queue Subscription |
Creates an Azure Event Grid custom topic and a service bus queue subscription. Template originally authored by Markus Meyer. |
Create a Service Bus namespace and queue authorization rule |
This template enables you to deploy a Service Bus Standard namespace, and authorization rules for both the namespace and a queue. |
Create a Service Bus namespace and queue |
This template enables you to deploy a Service Bus Standard namespace and a queue. |
Terraform (AzAPI provider) resource definition
The namespaces/queues resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ServiceBus/namespaces/queues resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ServiceBus/namespaces/queues@2015-08-01"
name = "string"
location = "string"
parent_id = "string"
body = jsonencode({
properties = {
autoDeleteOnIdle = "string"
deadLetteringOnMessageExpiration = bool
defaultMessageTimeToLive = "string"
duplicateDetectionHistoryTimeWindow = "string"
enableBatchedOperations = bool
enableExpress = bool
enablePartitioning = bool
entityAvailabilityStatus = "string"
isAnonymousAccessible = bool
lockDuration = "string"
maxDeliveryCount = int
maxSizeInMegabytes = int
requiresDuplicateDetection = bool
requiresSession = bool
status = "string"
supportOrdering = bool
}
})
}
Property values
namespaces/queues
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.ServiceBus/namespaces/queues@2015-08-01" |
name | The resource name | string (required) Character limit: 1-260 Valid characters: Alphanumerics, periods, hyphens, underscores, and slashes. Start and end with alphanumeric. |
location | location of the resource. | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: namespaces |
properties | The Queue Properties definition. | QueueProperties |
QueueProperties
Name | Description | Value |
---|---|---|
autoDeleteOnIdle | the TimeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes. | string |
deadLetteringOnMessageExpiration | A value that indicates whether this queue has dead letter support when a message expires. | bool |
defaultMessageTimeToLive | The default message time 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. | string |
duplicateDetectionHistoryTimeWindow | TimeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes. | string |
enableBatchedOperations | A value that indicates whether server-side batched operations are enabled. | bool |
enableExpress | A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. | bool |
enablePartitioning | A value that indicates whether the queue is to be partitioned across multiple message brokers. | bool |
entityAvailabilityStatus | Entity availability status for the queue. | "Available" "Limited" "Renaming" "Restoring" "Unknown" |
isAnonymousAccessible | A value that indicates whether the message is accessible anonymously. | bool |
lockDuration | The 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. | string |
maxDeliveryCount | The maximum delivery count. A message is automatically deadlettered after this number of deliveries. | int |
maxSizeInMegabytes | The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. | int |
requiresDuplicateDetection | A value indicating if this queue requires duplicate detection. | bool |
requiresSession | A value that indicates whether the queue supports the concept of sessions. | bool |
status | Enumerates the possible values for the status of a messaging entity. | "Active" "Creating" "Deleting" "Disabled" "ReceiveDisabled" "Renaming" "Restoring" "SendDisabled" "Unknown" |
supportOrdering | A value that indicates whether the queue supports ordering. | bool |