Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceBus: properties added to queue and subscription #4097

Merged
merged 6 commits into from
Mar 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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