Skip to content

Commit 09fe30c

Browse files
author
Ajit Navasare
authored
Service Bus and EventHub : 2021-06-01-preview - Added optional Properties (#15233)
* removing min/max, adding maxMessageSizeInKilobytes to queues and topics * reverted maxSizeInMegabytes type to int32 * fixed the typo * reverted topic maxSizeInMegabytes to int32
1 parent fb717f3 commit 09fe30c

File tree

11 files changed

+16
-9
lines changed

11 files changed

+16
-9
lines changed

specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-06-01-preview/eventhubs.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,11 @@
248248
"intervalInSeconds": {
249249
"format": "int32",
250250
"type": "integer",
251-
"maximum": 900,
252-
"minimum": 60,
253251
"description": "The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds"
254252
},
255253
"sizeLimitInBytes": {
256254
"format": "int32",
257255
"type": "integer",
258-
"maximum": 524288000,
259-
"minimum": 10485760,
260256
"description": "The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes"
261257
},
262258
"destination": {

specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-06-01-preview/namespaces-preview.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,6 @@
652652
"maximumThroughputUnits": {
653653
"format": "int32",
654654
"type": "integer",
655-
"maximum": 20,
656-
"minimum": 0,
657655
"description": "Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)"
658656
},
659657
"kafkaEnabled": {

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/Queue.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@
322322
"type": "integer",
323323
"description": "The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024."
324324
},
325+
"maxMessageSizeInKilobytes": {
326+
"format": "int64",
327+
"type": "integer",
328+
"description": "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."
329+
},
325330
"requiresDuplicateDetection": {
326331
"type": "boolean",
327332
"description": "A value indicating if this queue requires duplicate detection."

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/Rules.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,6 @@
336336
"compatibilityLevel": {
337337
"format": "int32",
338338
"type": "integer",
339-
"default": 20,
340-
"minimum": 20,
341-
"maximum": 20,
342339
"description": "This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20."
343340
},
344341
"requiresPreprocessing": {

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/examples/Queues/SBQueueCreate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"properties": {
2121
"lockDuration": "PT1M",
2222
"maxSizeInMegabytes": 163840,
23+
"maxMessageSizeInKilobytes": 10240,
2324
"requiresDuplicateDetection": false,
2425
"requiresSession": false,
2526
"defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S",

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/examples/Queues/SBQueueGet.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"properties": {
1616
"lockDuration": "PT1M",
1717
"maxSizeInMegabytes": 163840,
18+
"maxMessageSizeInKilobytes": 10240,
1819
"requiresDuplicateDetection": false,
1920
"requiresSession": false,
2021
"defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S",

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/examples/Queues/SBQueueListByNameSpace.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"properties": {
1717
"lockDuration": "PT1M",
1818
"maxSizeInMegabytes": 163840,
19+
"maxMessageSizeInKilobytes": 10240,
1920
"requiresDuplicateDetection": false,
2021
"requiresSession": false,
2122
"defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S",

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/examples/Topics/SBTopicCreate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"properties": {
2121
"defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S",
2222
"maxSizeInMegabytes": 10240,
23+
"maxMessageSizeInKilobytes": 10240,
2324
"requiresDuplicateDetection": false,
2425
"duplicateDetectionHistoryTimeWindow": "PT10M",
2526
"enableBatchedOperations": true,

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/examples/Topics/SBTopicGet.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"properties": {
1616
"defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S",
1717
"maxSizeInMegabytes": 10240,
18+
"maxMessageSizeInKilobytes": 10240,
1819
"requiresDuplicateDetection": false,
1920
"duplicateDetectionHistoryTimeWindow": "PT10M",
2021
"enableBatchedOperations": true,

specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/examples/Topics/SBTopicListByNameSpace.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"properties": {
1717
"defaultMessageTimeToLive": "P10675199DT2H48M5.4775807S",
1818
"maxSizeInMegabytes": 10240,
19+
"maxMessageSizeInKilobytes": 10240,
1920
"requiresDuplicateDetection": false,
2021
"duplicateDetectionHistoryTimeWindow": "PT10M",
2122
"enableBatchedOperations": true,

0 commit comments

Comments
 (0)