Skip to content

Commit

Permalink
ServiceBus: properties added to queue and subscription (#4097)
Browse files Browse the repository at this point in the history
* EnableBatchedOperations property added to queue, DeadLetteringOnFilterEvaluationExceptions added to Subscription

* bump the minor version

* version changed to 1.1.0

* updated resource-manager.txt
  • Loading branch information
Ajit Navasare authored and shahabhijeet committed Mar 1, 2018
1 parent 68add0f commit f93c10b
Show file tree
Hide file tree
Showing 18 changed files with 3,682 additions and 2,324 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public SBQueue()
/// of a messaging entity. Possible values include: 'Active',
/// 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled',
/// 'Creating', 'Deleting', 'Renaming', 'Unknown'</param>
/// <param name="enableBatchedOperations">Value that indicates whether
/// server-side batched operations are enabled.</param>
/// <param name="autoDeleteOnIdle">ISO 8061 timeSpan idle interval
/// after which the queue is automatically deleted. The minimum
/// duration is 5 minutes.</param>
Expand All @@ -86,7 +88,7 @@ public SBQueue()
/// messages</param>
/// <param name="forwardDeadLetteredMessagesTo">Queue/Topic name to
/// forward the Dead Letter message</param>
public SBQueue(string id = default(string), string name = default(string), string type = default(string), MessageCountDetails countDetails = default(MessageCountDetails), System.DateTime? createdAt = default(System.DateTime?), System.DateTime? updatedAt = default(System.DateTime?), System.DateTime? accessedAt = default(System.DateTime?), long? sizeInBytes = default(long?), long? messageCount = default(long?), System.TimeSpan? lockDuration = default(System.TimeSpan?), int? maxSizeInMegabytes = default(int?), bool? requiresDuplicateDetection = default(bool?), bool? requiresSession = default(bool?), System.TimeSpan? defaultMessageTimeToLive = default(System.TimeSpan?), bool? deadLetteringOnMessageExpiration = default(bool?), System.TimeSpan? duplicateDetectionHistoryTimeWindow = default(System.TimeSpan?), int? maxDeliveryCount = default(int?), EntityStatus? status = default(EntityStatus?), System.TimeSpan? autoDeleteOnIdle = default(System.TimeSpan?), bool? enablePartitioning = default(bool?), bool? enableExpress = default(bool?), string forwardTo = default(string), string forwardDeadLetteredMessagesTo = default(string))
public SBQueue(string id = default(string), string name = default(string), string type = default(string), MessageCountDetails countDetails = default(MessageCountDetails), System.DateTime? createdAt = default(System.DateTime?), System.DateTime? updatedAt = default(System.DateTime?), System.DateTime? accessedAt = default(System.DateTime?), long? sizeInBytes = default(long?), long? messageCount = default(long?), System.TimeSpan? lockDuration = default(System.TimeSpan?), int? maxSizeInMegabytes = default(int?), bool? requiresDuplicateDetection = default(bool?), bool? requiresSession = default(bool?), System.TimeSpan? defaultMessageTimeToLive = default(System.TimeSpan?), bool? deadLetteringOnMessageExpiration = default(bool?), System.TimeSpan? duplicateDetectionHistoryTimeWindow = default(System.TimeSpan?), int? maxDeliveryCount = default(int?), EntityStatus? status = default(EntityStatus?), bool? enableBatchedOperations = default(bool?), System.TimeSpan? autoDeleteOnIdle = default(System.TimeSpan?), bool? enablePartitioning = default(bool?), bool? enableExpress = default(bool?), string forwardTo = default(string), string forwardDeadLetteredMessagesTo = default(string))
: base(id, name, type)
{
CountDetails = countDetails;
Expand All @@ -104,6 +106,7 @@ public SBQueue()
DuplicateDetectionHistoryTimeWindow = duplicateDetectionHistoryTimeWindow;
MaxDeliveryCount = maxDeliveryCount;
Status = status;
EnableBatchedOperations = enableBatchedOperations;
AutoDeleteOnIdle = autoDeleteOnIdle;
EnablePartitioning = enablePartitioning;
EnableExpress = enableExpress;
Expand Down Expand Up @@ -224,6 +227,13 @@ public SBQueue()
[JsonProperty(PropertyName = "properties.status")]
public EntityStatus? Status { get; set; }

/// <summary>
/// Gets or sets value that indicates whether server-side batched
/// operations are enabled.
/// </summary>
[JsonProperty(PropertyName = "properties.enableBatchedOperations")]
public bool? EnableBatchedOperations { get; set; }

/// <summary>
/// Gets or sets ISO 8061 timeSpan idle interval after which the queue
/// is automatically deleted. The minimum duration is 5 minutes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public SBSubscription()
/// 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.</param>
/// <param name="deadLetteringOnFilterEvaluationExceptions">Value that
/// indicates whether a subscription has dead letter support on filter
/// evaluation exceptions.</param>
/// <param name="deadLetteringOnMessageExpiration">Value that indicates
/// whether a subscription has dead letter support when a message
/// expires.</param>
Expand All @@ -72,7 +75,7 @@ public SBSubscription()
/// messages</param>
/// <param name="forwardDeadLetteredMessagesTo">Queue/Topic name to
/// forward the Dead Letter message</param>
public SBSubscription(string id = default(string), string name = default(string), string type = default(string), long? messageCount = default(long?), System.DateTime? createdAt = default(System.DateTime?), System.DateTime? accessedAt = default(System.DateTime?), System.DateTime? updatedAt = default(System.DateTime?), MessageCountDetails countDetails = default(MessageCountDetails), System.TimeSpan? lockDuration = default(System.TimeSpan?), bool? requiresSession = default(bool?), System.TimeSpan? defaultMessageTimeToLive = default(System.TimeSpan?), bool? deadLetteringOnMessageExpiration = default(bool?), System.TimeSpan? duplicateDetectionHistoryTimeWindow = default(System.TimeSpan?), int? maxDeliveryCount = default(int?), EntityStatus? status = default(EntityStatus?), bool? enableBatchedOperations = default(bool?), System.TimeSpan? autoDeleteOnIdle = default(System.TimeSpan?), string forwardTo = default(string), string forwardDeadLetteredMessagesTo = default(string))
public SBSubscription(string id = default(string), string name = default(string), string type = default(string), long? messageCount = default(long?), System.DateTime? createdAt = default(System.DateTime?), System.DateTime? accessedAt = default(System.DateTime?), System.DateTime? updatedAt = default(System.DateTime?), MessageCountDetails countDetails = default(MessageCountDetails), System.TimeSpan? lockDuration = default(System.TimeSpan?), bool? requiresSession = default(bool?), System.TimeSpan? defaultMessageTimeToLive = default(System.TimeSpan?), bool? deadLetteringOnFilterEvaluationExceptions = default(bool?), bool? deadLetteringOnMessageExpiration = default(bool?), System.TimeSpan? duplicateDetectionHistoryTimeWindow = default(System.TimeSpan?), int? maxDeliveryCount = default(int?), EntityStatus? status = default(EntityStatus?), bool? enableBatchedOperations = default(bool?), System.TimeSpan? autoDeleteOnIdle = default(System.TimeSpan?), string forwardTo = default(string), string forwardDeadLetteredMessagesTo = default(string))
: base(id, name, type)
{
MessageCount = messageCount;
Expand All @@ -83,6 +86,7 @@ public SBSubscription()
LockDuration = lockDuration;
RequiresSession = requiresSession;
DefaultMessageTimeToLive = defaultMessageTimeToLive;
DeadLetteringOnFilterEvaluationExceptions = deadLetteringOnFilterEvaluationExceptions;
DeadLetteringOnMessageExpiration = deadLetteringOnMessageExpiration;
DuplicateDetectionHistoryTimeWindow = duplicateDetectionHistoryTimeWindow;
MaxDeliveryCount = maxDeliveryCount;
Expand Down Expand Up @@ -152,6 +156,13 @@ public SBSubscription()
[JsonProperty(PropertyName = "properties.defaultMessageTimeToLive")]
public System.TimeSpan? DefaultMessageTimeToLive { get; set; }

/// <summary>
/// Gets or sets value that indicates whether a subscription has dead
/// letter support on filter evaluation exceptions.
/// </summary>
[JsonProperty(PropertyName = "properties.deadLetteringOnFilterEvaluationExceptions")]
public bool? DeadLetteringOnFilterEvaluationExceptions { get; set; }

/// <summary>
/// Gets or sets value that indicates whether a subscription has dead
/// letter support when a message expires.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@
<PackageId>Microsoft.Azure.Management.ServiceBus</PackageId>
<Description>Provides developers with libraries to create and manage Namespaces and manage Authorization Rules. Note: This client library is for ServiceBus under Azure Resource Manager.</Description>
<AssemblyName>Microsoft.Azure.Management.ServiceBus</AssemblyName>
<Version>1.0.3</Version>
<Version>1.1.0</Version>
<PackageTags>Microsoft Azure ServiceBus Management;ServiceBus;ServiceBus management;</PackageTags>
<PackageReleaseNotes>
<![CDATA[
Servicebus: Geo DR Update (Alias) -
1) Authorization rule related new API for Geo DR (Alias) are added
2) AlternateName property is added to ArmDisasterRecovery
Servicebus: AutoForward for Queue and Subscription -
1) added 2 properties added to Queue and subscription
i) ForwardTo
ii) ForwardDeadLetteredMessagesTo
Servicebus: Properties added -
1) Queue: EnableBatchedOperations
2) Subscription: DeadLetteringOnFilterEvaluationExceptions
]]>
</PackageReleaseNotes>
<TargetFrameworks>net452;netstandard1.4</TargetFrameworks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[assembly: AssemblyDescription("Provides Microsoft Azure ServiceBus management functions for managing the Microsoft Azure ServiceBus service.")]

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
Expand Down
Loading

0 comments on commit f93c10b

Please sign in to comment.