Skip to content

Commit 9500499

Browse files
author
Ajit Navasare (MINDTREE LIMITED)
committed
fix for Issue : 4938
1 parent 203d6c4 commit 9500499

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/ServiceBus/ServiceBus/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- Additional information about change #1
2020
-->
2121
## Upcoming Release
22+
* Fix for issue #4938 - New-AzureRmServiceBusQueue returns BadRequest when setting MaxSizeInMegabytes
2223

2324
## Version 1.2.0
2425
* Fix for issue #9182 - Get-AzServiceBusNamespace returns ResourceGroup instead of ResourceGroupName

src/ServiceBus/ServiceBus/Cmdlets/Queue/NewAzureServiceBusQueue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class NewAzureRmServiceBusQueue : AzureServiceBusCmdletBase
8080
[ValidateNotNullOrEmpty]
8181
public int? MaxDeliveryCount { get; set; }
8282

83-
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "MaxSizeInMegabytes - the maximum size of the queue in megabytes, which is the size of memory allocated for the queue.")]
83+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "MaxSizeInMegabytes - the maximum size of the queue in megabytes, which is the size of memory allocated for the queue.Default is 1024. Max for Standard SKU is 5120 and for Premium SKU is 81920, Allowed values : 1024, 2048, 3072, 4096, 5120, 10240, 20480, 40960, 81920")]
8484
[ValidateNotNullOrEmpty]
8585
public long? MaxSizeInMegabytes { get; set; }
8686

src/ServiceBus/ServiceBus/help/New-AzServiceBusQueue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Accept wildcard characters: False
250250
```
251251
252252
### -MaxSizeInMegabytes
253-
MaxSizeInMegabytes - the maximum size of the queue in megabytes, which is the size of memory allocated for the queue.
253+
MaxSizeInMegabytes - the maximum size of the queue in megabytes, which is the size of memory allocated for the queue.Default is 1024. Max for Standard SKU is 5120 and for Premium SKU is 81920, Allowed values : 1024, 2048, 3072, 4096, 5120, 10240, 20480, 40960, 81920
254254
255255
```yaml
256256
Type: System.Nullable`1[System.Int64]

0 commit comments

Comments
 (0)