|
68 | 68 | "$ref": "#/parameters/scopeExportParameter"
|
69 | 69 | },
|
70 | 70 | {
|
71 |
| - "$ref": "#/parameters/apiVersionParameter" |
| 71 | + "$ref": "common-types.json#/parameters/apiVersionParameter" |
72 | 72 | },
|
73 | 73 | {
|
74 | 74 | "name": "$expand",
|
|
88 | 88 | "default": {
|
89 | 89 | "description": "Error response describing why the operation failed.",
|
90 | 90 | "schema": {
|
91 |
| - "$ref": "#/definitions/ErrorResponse" |
| 91 | + "$ref": "common-types.json#/definitions/ErrorResponse" |
92 | 92 | }
|
93 | 93 | }
|
94 | 94 | }
|
|
129 | 129 | "$ref": "#/parameters/scopeExportParameter"
|
130 | 130 | },
|
131 | 131 | {
|
132 |
| - "$ref": "#/parameters/apiVersionParameter" |
| 132 | + "$ref": "common-types.json#/parameters/apiVersionParameter" |
133 | 133 | },
|
134 | 134 | {
|
135 | 135 | "$ref": "#/parameters/exportNameParameter"
|
|
152 | 152 | "default": {
|
153 | 153 | "description": "Error response describing why the operation failed.",
|
154 | 154 | "schema": {
|
155 |
| - "$ref": "#/definitions/ErrorResponse" |
| 155 | + "$ref": "common-types.json#/definitions/ErrorResponse" |
156 | 156 | }
|
157 | 157 | }
|
158 | 158 | }
|
|
191 | 191 | "$ref": "#/parameters/scopeExportParameter"
|
192 | 192 | },
|
193 | 193 | {
|
194 |
| - "$ref": "#/parameters/apiVersionParameter" |
| 194 | + "$ref": "common-types.json#/parameters/apiVersionParameter" |
195 | 195 | },
|
196 | 196 | {
|
197 | 197 | "$ref": "#/parameters/exportNameParameter"
|
|
222 | 222 | "default": {
|
223 | 223 | "description": "Error response describing why the operation failed.",
|
224 | 224 | "schema": {
|
225 |
| - "$ref": "#/definitions/ErrorResponse" |
| 225 | + "$ref": "common-types.json#/definitions/ErrorResponse" |
226 | 226 | }
|
227 | 227 | }
|
228 | 228 | }
|
|
261 | 261 | "$ref": "#/parameters/scopeExportParameter"
|
262 | 262 | },
|
263 | 263 | {
|
264 |
| - "$ref": "#/parameters/apiVersionParameter" |
| 264 | + "$ref": "common-types.json#/parameters/apiVersionParameter" |
265 | 265 | },
|
266 | 266 | {
|
267 | 267 | "$ref": "#/parameters/exportNameParameter"
|
|
274 | 274 | "default": {
|
275 | 275 | "description": "Error response describing why the operation failed.",
|
276 | 276 | "schema": {
|
277 |
| - "$ref": "#/definitions/ErrorResponse" |
| 277 | + "$ref": "common-types.json#/definitions/ErrorResponse" |
278 | 278 | }
|
279 | 279 | }
|
280 | 280 | }
|
|
315 | 315 | "$ref": "#/parameters/scopeExportParameter"
|
316 | 316 | },
|
317 | 317 | {
|
318 |
| - "$ref": "#/parameters/apiVersionParameter" |
| 318 | + "$ref": "common-types.json#/parameters/apiVersionParameter" |
319 | 319 | },
|
320 | 320 | {
|
321 | 321 | "$ref": "#/parameters/exportNameParameter"
|
|
328 | 328 | "default": {
|
329 | 329 | "description": "Error response describing why the operation failed.",
|
330 | 330 | "schema": {
|
331 |
| - "$ref": "#/definitions/ErrorResponse" |
| 331 | + "$ref": "common-types.json#/definitions/ErrorResponse" |
332 | 332 | }
|
333 | 333 | }
|
334 | 334 | }
|
|
369 | 369 | "$ref": "#/parameters/scopeExportParameter"
|
370 | 370 | },
|
371 | 371 | {
|
372 |
| - "$ref": "#/parameters/apiVersionParameter" |
| 372 | + "$ref": "common-types.json#/parameters/apiVersionParameter" |
373 | 373 | },
|
374 | 374 | {
|
375 | 375 | "$ref": "#/parameters/exportNameParameter"
|
|
385 | 385 | "default": {
|
386 | 386 | "description": "Error response describing why the operation failed.",
|
387 | 387 | "schema": {
|
388 |
| - "$ref": "#/definitions/ErrorResponse" |
| 388 | + "$ref": "common-types.json#/definitions/ErrorResponse" |
389 | 389 | }
|
390 | 390 | }
|
391 | 391 | }
|
392 | 392 | }
|
393 | 393 | }
|
394 | 394 | },
|
395 | 395 | "definitions": {
|
396 |
| - "ErrorResponse": { |
397 |
| - "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. \n\nSome Error responses: \n\n * 429 TooManyRequests - Request is throttled. Retry after waiting for the time specified in the \"x-ms-ratelimit-microsoft.consumption-retry-after\" header. \n\n * 503 ServiceUnavailable - Service is temporarily unavailable. Retry after waiting for the time specified in the \"Retry-After\" header.", |
398 |
| - "type": "object", |
399 |
| - "properties": { |
400 |
| - "error": { |
401 |
| - "description": "The details of the error.", |
402 |
| - "$ref": "#/definitions/ErrorDetails" |
403 |
| - } |
404 |
| - } |
405 |
| - }, |
406 |
| - "ErrorDetails": { |
407 |
| - "description": "The details of the error.", |
408 |
| - "type": "object", |
409 |
| - "properties": { |
410 |
| - "code": { |
411 |
| - "description": "Error code.", |
412 |
| - "type": "string", |
413 |
| - "readOnly": true |
414 |
| - }, |
415 |
| - "message": { |
416 |
| - "description": "Error message indicating why the operation failed.", |
417 |
| - "type": "string", |
418 |
| - "readOnly": true |
419 |
| - } |
420 |
| - } |
421 |
| - }, |
422 |
| - "Resource": { |
423 |
| - "description": "The Resource model definition.", |
424 |
| - "type": "object", |
425 |
| - "properties": { |
426 |
| - "id": { |
427 |
| - "readOnly": true, |
428 |
| - "type": "string", |
429 |
| - "description": "Resource Id." |
430 |
| - }, |
431 |
| - "name": { |
432 |
| - "readOnly": true, |
433 |
| - "type": "string", |
434 |
| - "description": "Resource name." |
435 |
| - }, |
436 |
| - "type": { |
437 |
| - "readOnly": true, |
438 |
| - "type": "string", |
439 |
| - "description": "Resource type." |
440 |
| - }, |
441 |
| - "tags": { |
442 |
| - "readOnly": true, |
443 |
| - "type": "object", |
444 |
| - "additionalProperties": { |
445 |
| - "type": "string" |
446 |
| - }, |
447 |
| - "description": "Resource tags." |
448 |
| - } |
449 |
| - }, |
450 |
| - "x-ms-azure-resource": true |
451 |
| - }, |
452 |
| - "ProxyResource": { |
453 |
| - "description": "The Resource model definition.", |
454 |
| - "type": "object", |
455 |
| - "properties": { |
456 |
| - "id": { |
457 |
| - "readOnly": true, |
458 |
| - "type": "string", |
459 |
| - "description": "Resource Id." |
460 |
| - }, |
461 |
| - "name": { |
462 |
| - "readOnly": true, |
463 |
| - "type": "string", |
464 |
| - "description": "Resource name." |
465 |
| - }, |
466 |
| - "type": { |
467 |
| - "readOnly": true, |
468 |
| - "type": "string", |
469 |
| - "description": "Resource type." |
470 |
| - }, |
471 |
| - "eTag": { |
472 |
| - "type": "string", |
473 |
| - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." |
474 |
| - } |
475 |
| - }, |
476 |
| - "x-ms-azure-resource": true |
477 |
| - }, |
478 | 396 | "ExportListResult": {
|
479 | 397 | "description": "Result of listing exports. It contains a list of available exports in the scope provided.",
|
480 | 398 | "type": "object",
|
|
494 | 412 | "type": "object",
|
495 | 413 | "allOf": [
|
496 | 414 | {
|
497 |
| - "$ref": "#/definitions/ProxyResource" |
| 415 | + "$ref": "common-types.json#/definitions/ProxyResource" |
498 | 416 | }
|
499 | 417 | ],
|
500 | 418 | "properties": {
|
|
781 | 699 | "type": "object",
|
782 | 700 | "allOf": [
|
783 | 701 | {
|
784 |
| - "$ref": "#/definitions/ProxyResource" |
| 702 | + "$ref": "common-types.json#/definitions/ProxyResource" |
785 | 703 | }
|
786 | 704 | ],
|
787 | 705 | "properties": {
|
|
854 | 772 | },
|
855 | 773 | "error": {
|
856 | 774 | "description": "The details of any error.",
|
857 |
| - "$ref": "#/definitions/ErrorDetails" |
| 775 | + "$ref": "common-types.json#/definitions/ErrorDetails" |
858 | 776 | }
|
859 | 777 | }
|
860 | 778 | }
|
861 | 779 | },
|
862 | 780 | "parameters": {
|
863 |
| - "apiVersionParameter": { |
864 |
| - "name": "api-version", |
865 |
| - "in": "query", |
866 |
| - "required": true, |
867 |
| - "type": "string", |
868 |
| - "description": "Version of the API to be used with the client request." |
869 |
| - }, |
870 | 781 | "scopeExportParameter": {
|
871 | 782 | "name": "scope",
|
872 | 783 | "in": "path",
|
|
0 commit comments