|
38 | 38 | }
|
39 | 39 | ],
|
40 | 40 | "parameters": {
|
| 41 | + "ApiVersion": { |
| 42 | + "name": "api-version", |
| 43 | + "in": "query", |
| 44 | + "type": "string", |
| 45 | + "default": "2017-04", |
| 46 | + "description": "Specifies the version of the REST protocol used for processing the request. This is required when using shared key authorization.", |
| 47 | + "minLength": 1, |
| 48 | + "x-ms-parameter-location": "client" |
| 49 | + }, |
41 | 50 | "Endpoint": {
|
42 | 51 | "in": "path",
|
43 | 52 | "name": "endpoint",
|
|
54 | 63 | "type": "boolean",
|
55 | 64 | "default": false,
|
56 | 65 | "x-ms-parameter-location": "method"
|
57 |
| - }, |
58 |
| - "ApiVersion": { |
59 |
| - "name": "api-version", |
60 |
| - "in": "query", |
61 |
| - "type": "string", |
62 |
| - "default": "2017-04", |
63 |
| - "description": "Specifies the version of the REST protocol used for processing the request. This is required when using shared key authorization.", |
64 |
| - "minLength": 1, |
65 |
| - "x-ms-parameter-location": "client" |
66 | 66 | }
|
67 | 67 | },
|
68 | 68 | "definitions": {
|
| 69 | + "AccessRights": { |
| 70 | + "description": "Access rights of the entity", |
| 71 | + "type": "string", |
| 72 | + "xml":{ |
| 73 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 74 | + }, |
| 75 | + "enum": [ |
| 76 | + "Manage", |
| 77 | + "Send", |
| 78 | + "Listen" |
| 79 | + ] |
| 80 | + }, |
| 81 | + "AuthorizationRule": { |
| 82 | + "description": "Authorization rule of an entity", |
| 83 | + "type": "object", |
| 84 | + "xml": { |
| 85 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 86 | + }, |
| 87 | + "properties": { |
| 88 | + "ClaimType":{ |
| 89 | + "type": "string", |
| 90 | + "xml": { |
| 91 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 92 | + } |
| 93 | + }, |
| 94 | + "CreatedTime":{ |
| 95 | + "type": "string", |
| 96 | + "format": "date-time", |
| 97 | + "xml": { |
| 98 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 99 | + } |
| 100 | + }, |
| 101 | + "KeyName":{ |
| 102 | + "type": "string", |
| 103 | + "xml": { |
| 104 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 105 | + } |
| 106 | + }, |
| 107 | + "ModifiedTime":{ |
| 108 | + "type": "string", |
| 109 | + "format": "date-time", |
| 110 | + "xml": { |
| 111 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 112 | + } |
| 113 | + }, |
| 114 | + "Rights": { |
| 115 | + "description": "Access rights of the entity", |
| 116 | + "type": "array", |
| 117 | + "xml": { |
| 118 | + "wrapped": true, |
| 119 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 120 | + }, |
| 121 | + "items": { |
| 122 | + "type": "string", |
| 123 | + "xml": { |
| 124 | + "name": "AccessRights", |
| 125 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 126 | + } |
| 127 | + } |
| 128 | + } |
| 129 | + } |
| 130 | + }, |
69 | 131 | "CreateQueueBody": {
|
70 | 132 | "description": "The request body for creating a queue.",
|
71 | 133 | "type": "object",
|
|
128 | 190 | }
|
129 | 191 | }
|
130 | 192 | },
|
131 |
| - "MessageCountDetails": { |
132 |
| - "description": "Details about the message counts in queue.", |
133 |
| - "type": "object", |
134 |
| - "properties": { |
135 |
| - "ActiveMessageCount": { |
136 |
| - "description": "Number of active messages in the queue, topic, or subscription.", |
137 |
| - "type": "integer", |
138 |
| - "xml": { |
139 |
| - "prefix": "d2p1", |
140 |
| - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
141 |
| - } |
142 |
| - }, |
143 |
| - "DeadLetterMessageCount": { |
144 |
| - "description": "Number of messages that are dead lettered.", |
145 |
| - "type": "integer", |
146 |
| - "xml": { |
147 |
| - "prefix": "d2p1", |
148 |
| - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
149 |
| - } |
150 |
| - }, |
151 |
| - "ScheduledMessageCount": { |
152 |
| - "description": "Number of scheduled messages.", |
153 |
| - "type": "integer", |
154 |
| - "xml": { |
155 |
| - "prefix": "d2p1", |
156 |
| - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
157 |
| - } |
158 |
| - }, |
159 |
| - "TransferDeadLetterMessageCount": { |
160 |
| - "description": "Number of messages transferred into dead letters.", |
161 |
| - "type": "integer", |
162 |
| - "xml": { |
163 |
| - "prefix": "d2p1", |
164 |
| - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
165 |
| - } |
166 |
| - }, |
167 |
| - "TransferMessageCount": { |
168 |
| - "description": "Number of messages transferred to another queue, topic, or subscription.", |
169 |
| - "type": "integer", |
170 |
| - "xml": { |
171 |
| - "prefix": "d2p1", |
172 |
| - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
173 |
| - } |
174 |
| - } |
175 |
| - }, |
176 |
| - "xml": { |
177 |
| - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
178 |
| - } |
179 |
| - }, |
180 |
| - "AccessRights": { |
181 |
| - "description": "Access rights of the entity", |
182 |
| - "type": "string", |
183 |
| - "xml":{ |
184 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
185 |
| - }, |
186 |
| - "enum": [ |
187 |
| - "Manage", |
188 |
| - "Send", |
189 |
| - "Listen" |
190 |
| - ] |
191 |
| - }, |
192 | 193 | "EntityAvailabilityStatus": {
|
193 | 194 | "description": "Availibility status of the entity",
|
194 | 195 | "type": "string",
|
|
221 | 222 | "Unknown"
|
222 | 223 | ]
|
223 | 224 | },
|
224 |
| - "QueueRuntimeInfo":{ |
225 |
| - "description": "Service Bus queue metrics.", |
| 225 | + "MessageCountDetails": { |
| 226 | + "description": "Details about the message counts in queue.", |
226 | 227 | "type": "object",
|
227 |
| - "xml": { |
228 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
229 |
| - }, |
230 | 228 | "properties": {
|
231 |
| - "QueueName": { |
232 |
| - "description": "Name of the queue", |
233 |
| - "type": "string" |
234 |
| - }, |
235 |
| - "AccessedAt": { |
236 |
| - "description": "Last time a message was sent, or the last time there was a receive request to this queue.", |
237 |
| - "type": "string", |
238 |
| - "format": "date-time", |
239 |
| - "xml": { |
240 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
241 |
| - } |
242 |
| - }, |
243 |
| - "CreatedAt": { |
244 |
| - "description": "The exact time the queue was created.", |
245 |
| - "type": "string", |
246 |
| - "format": "date-time", |
| 229 | + "ActiveMessageCount": { |
| 230 | + "description": "Number of active messages in the queue, topic, or subscription.", |
| 231 | + "type": "integer", |
247 | 232 | "xml": {
|
248 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 233 | + "prefix": "d2p1", |
| 234 | + "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
249 | 235 | }
|
250 | 236 | },
|
251 |
| - "UpdatedAt": { |
252 |
| - "description": "The exact time a message was updated in the queue.", |
253 |
| - "type": "string", |
254 |
| - "format": "date-time", |
| 237 | + "DeadLetterMessageCount": { |
| 238 | + "description": "Number of messages that are dead lettered.", |
| 239 | + "type": "integer", |
255 | 240 | "xml": {
|
256 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 241 | + "prefix": "d2p1", |
| 242 | + "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
257 | 243 | }
|
258 | 244 | },
|
259 |
| - "SizeInBytes": { |
260 |
| - "description": "The size of the queue, in bytes.", |
| 245 | + "ScheduledMessageCount": { |
| 246 | + "description": "Number of scheduled messages.", |
261 | 247 | "type": "integer",
|
262 | 248 | "xml": {
|
263 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 249 | + "prefix": "d2p1", |
| 250 | + "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
264 | 251 | }
|
265 | 252 | },
|
266 |
| - "MessageCount": { |
267 |
| - "description": "The number of messages in the queue.", |
| 253 | + "TransferDeadLetterMessageCount": { |
| 254 | + "description": "Number of messages transferred into dead letters.", |
268 | 255 | "type": "integer",
|
269 | 256 | "xml": {
|
270 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 257 | + "prefix": "d2p1", |
| 258 | + "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
271 | 259 | }
|
272 | 260 | },
|
273 |
| - "MessageCountDetails": { |
274 |
| - "$ref": "#/definitions/MessageCountDetails", |
| 261 | + "TransferMessageCount": { |
| 262 | + "description": "Number of messages transferred to another queue, topic, or subscription.", |
| 263 | + "type": "integer", |
275 | 264 | "xml": {
|
276 |
| - "name": "CountDetails", |
277 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 265 | + "prefix": "d2p1", |
| 266 | + "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
278 | 267 | }
|
279 | 268 | }
|
280 |
| - } |
281 |
| - }, |
282 |
| - "AuthorizationRule": { |
283 |
| - "description": "Authorization rule of an entity", |
284 |
| - "type": "object", |
285 |
| - "xml": { |
286 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
287 | 269 | },
|
288 |
| - "properties": { |
289 |
| - "ClaimType":{ |
290 |
| - "type": "string", |
291 |
| - "xml": { |
292 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
293 |
| - } |
294 |
| - }, |
295 |
| - "CreatedTime":{ |
296 |
| - "type": "string", |
297 |
| - "format": "date-time", |
298 |
| - "xml": { |
299 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
300 |
| - } |
301 |
| - }, |
302 |
| - "KeyName":{ |
303 |
| - "type": "string", |
304 |
| - "xml": { |
305 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
306 |
| - } |
307 |
| - }, |
308 |
| - "ModifiedTime":{ |
309 |
| - "type": "string", |
310 |
| - "format": "date-time", |
311 |
| - "xml": { |
312 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
313 |
| - } |
314 |
| - }, |
315 |
| - "Rights": { |
316 |
| - "description": "Access rights of the entity", |
317 |
| - "type": "array", |
318 |
| - "xml": { |
319 |
| - "wrapped": true, |
320 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
321 |
| - }, |
322 |
| - "items": { |
323 |
| - "type": "string", |
324 |
| - "xml": { |
325 |
| - "name": "AccessRights", |
326 |
| - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
327 |
| - } |
328 |
| - } |
329 |
| - } |
| 270 | + "xml": { |
| 271 | + "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" |
330 | 272 | }
|
331 | 273 | },
|
332 | 274 | "QueueDescription": {
|
|
478 | 420 | }
|
479 | 421 | }
|
480 | 422 | },
|
| 423 | + "QueueRuntimeInfo":{ |
| 424 | + "description": "Service Bus queue metrics.", |
| 425 | + "type": "object", |
| 426 | + "xml": { |
| 427 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 428 | + }, |
| 429 | + "properties": { |
| 430 | + "QueueName": { |
| 431 | + "description": "Name of the queue", |
| 432 | + "type": "string" |
| 433 | + }, |
| 434 | + "AccessedAt": { |
| 435 | + "description": "Last time a message was sent, or the last time there was a receive request to this queue.", |
| 436 | + "type": "string", |
| 437 | + "format": "date-time", |
| 438 | + "xml": { |
| 439 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 440 | + } |
| 441 | + }, |
| 442 | + "CreatedAt": { |
| 443 | + "description": "The exact time the queue was created.", |
| 444 | + "type": "string", |
| 445 | + "format": "date-time", |
| 446 | + "xml": { |
| 447 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 448 | + } |
| 449 | + }, |
| 450 | + "UpdatedAt": { |
| 451 | + "description": "The exact time a message was updated in the queue.", |
| 452 | + "type": "string", |
| 453 | + "format": "date-time", |
| 454 | + "xml": { |
| 455 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 456 | + } |
| 457 | + }, |
| 458 | + "SizeInBytes": { |
| 459 | + "description": "The size of the queue, in bytes.", |
| 460 | + "type": "integer", |
| 461 | + "xml": { |
| 462 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 463 | + } |
| 464 | + }, |
| 465 | + "MessageCount": { |
| 466 | + "description": "The number of messages in the queue.", |
| 467 | + "type": "integer", |
| 468 | + "xml": { |
| 469 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 470 | + } |
| 471 | + }, |
| 472 | + "MessageCountDetails": { |
| 473 | + "$ref": "#/definitions/MessageCountDetails", |
| 474 | + "xml": { |
| 475 | + "name": "CountDetails", |
| 476 | + "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" |
| 477 | + } |
| 478 | + } |
| 479 | + } |
| 480 | + }, |
481 | 481 | "ServiceBusManagementError": {
|
482 | 482 | "description": "The error response from Service Bus.",
|
483 | 483 | "type": "object",
|
|
0 commit comments