SBQueue Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SBQueue()
Initializes a new instance of the SBQueue class.
public SBQueue ();
Public Sub New ()
Applies to
SBQueue(String, String, String, String, MessageCountDetails, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>, Nullable<Int64>, Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int64>, Nullable<Boolean>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Int32>, Nullable<EntityStatus>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<Boolean>, String, String, SystemData)
Initializes a new instance of the SBQueue class.
public SBQueue (string id = default, string name = default, string type = default, string location = default, Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails countDetails = default, DateTime? createdAt = default, DateTime? updatedAt = default, DateTime? accessedAt = default, long? sizeInBytes = default, long? messageCount = default, TimeSpan? lockDuration = default, int? maxSizeInMegabytes = default, long? maxMessageSizeInKilobytes = default, bool? requiresDuplicateDetection = default, bool? requiresSession = default, TimeSpan? defaultMessageTimeToLive = default, bool? deadLetteringOnMessageExpiration = default, TimeSpan? duplicateDetectionHistoryTimeWindow = default, int? maxDeliveryCount = default, Microsoft.Azure.Management.ServiceBus.Models.EntityStatus? status = default, bool? enableBatchedOperations = default, TimeSpan? autoDeleteOnIdle = default, bool? enablePartitioning = default, bool? enableExpress = default, string forwardTo = default, string forwardDeadLetteredMessagesTo = default, Microsoft.Azure.Management.ServiceBus.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ServiceBus.Models.SBQueue : string * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int64> * Nullable<int64> * Nullable<TimeSpan> * Nullable<int> * Nullable<int64> * Nullable<bool> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<TimeSpan> * Nullable<int> * Nullable<Microsoft.Azure.Management.ServiceBus.Models.EntityStatus> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<bool> * string * string * Microsoft.Azure.Management.ServiceBus.Models.SystemData -> Microsoft.Azure.Management.ServiceBus.Models.SBQueue
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional countDetails As MessageCountDetails = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional accessedAt As Nullable(Of DateTime) = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional messageCount As Nullable(Of Long) = Nothing, Optional lockDuration As Nullable(Of TimeSpan) = Nothing, Optional maxSizeInMegabytes As Nullable(Of Integer) = Nothing, Optional maxMessageSizeInKilobytes As Nullable(Of Long) = Nothing, Optional requiresDuplicateDetection As Nullable(Of Boolean) = Nothing, Optional requiresSession As Nullable(Of Boolean) = Nothing, Optional defaultMessageTimeToLive As Nullable(Of TimeSpan) = Nothing, Optional deadLetteringOnMessageExpiration As Nullable(Of Boolean) = Nothing, Optional duplicateDetectionHistoryTimeWindow As Nullable(Of TimeSpan) = Nothing, Optional maxDeliveryCount As Nullable(Of Integer) = Nothing, Optional status As Nullable(Of EntityStatus) = Nothing, Optional enableBatchedOperations As Nullable(Of Boolean) = Nothing, Optional autoDeleteOnIdle As Nullable(Of TimeSpan) = Nothing, Optional enablePartitioning As Nullable(Of Boolean) = Nothing, Optional enableExpress As Nullable(Of Boolean) = Nothing, Optional forwardTo As String = Nothing, Optional forwardDeadLetteredMessagesTo As String = Nothing, Optional systemData As SystemData = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- location
- String
The geo-location where the resource lives
- countDetails
- MessageCountDetails
Message Count Details.
Last time a message was sent, or the last time there was a receive request to this queue.
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.
The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
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.
A value indicating if this queue requires duplicate detection.
A value that indicates whether the queue supports the concept of sessions.
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.
A value that indicates whether this queue has dead letter support when a message expires.
ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
- status
- Nullable<EntityStatus>
Enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'
Value that indicates whether server-side batched operations are enabled.
ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
A value that indicates whether the queue is to be partitioned across multiple message brokers.
A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
- forwardTo
- String
Queue/Topic name to forward the messages
- forwardDeadLetteredMessagesTo
- String
Queue/Topic name to forward the Dead Letter message
- systemData
- SystemData
The system meta data relating to this resource.