Skip to content

Commit 46d1a11

Browse files
author
Phoenix He
authored
Merge a174922 into c42bb1d
2 parents c42bb1d + a174922 commit 46d1a11

File tree

10 files changed

+139
-187
lines changed

10 files changed

+139
-187
lines changed

specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"default": {
7777
"description": "Error response describing why the operation failed.",
7878
"schema": {
79-
"$ref": "#/definitions/ErrorResponse"
79+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
8080
}
8181
}
8282
}
@@ -132,7 +132,7 @@
132132
"default": {
133133
"description": "Error response describing why the operation failed.",
134134
"schema": {
135-
"$ref": "#/definitions/ErrorResponse"
135+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
136136
}
137137
}
138138
}
@@ -178,7 +178,7 @@
178178
"default": {
179179
"description": "Error response describing why the operation failed.",
180180
"schema": {
181-
"$ref": "#/definitions/ErrorResponse"
181+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
182182
}
183183
}
184184
}
@@ -227,7 +227,7 @@
227227
"default": {
228228
"description": "Error response describing why the operation failed.",
229229
"schema": {
230-
"$ref": "#/definitions/ErrorResponse"
230+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
231231
}
232232
}
233233
},
@@ -309,7 +309,7 @@
309309
"default": {
310310
"description": "Error response describing why the operation failed.",
311311
"schema": {
312-
"$ref": "#/definitions/ErrorResponse"
312+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
313313
}
314314
}
315315
},
@@ -356,7 +356,7 @@
356356
"default": {
357357
"description": "Error response describing why the operation failed.",
358358
"schema": {
359-
"$ref": "#/definitions/ErrorResponse"
359+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
360360
}
361361
}
362362
},
@@ -397,7 +397,7 @@
397397
"default": {
398398
"description": "Error response describing why the operation failed.",
399399
"schema": {
400-
"$ref": "#/definitions/ErrorResponse"
400+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
401401
}
402402
}
403403
}
@@ -441,7 +441,7 @@
441441
"default": {
442442
"description": "Error response describing why the operation failed.",
443443
"schema": {
444-
"$ref": "#/definitions/ErrorResponse"
444+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
445445
}
446446
}
447447
}
@@ -476,7 +476,7 @@
476476
"default": {
477477
"description": "Error response describing why the operation failed.",
478478
"schema": {
479-
"$ref": "#/definitions/ErrorResponse"
479+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
480480
}
481481
}
482482
}
@@ -581,24 +581,6 @@
581581
}
582582
},
583583
"description": "List of policy assignments."
584-
},
585-
"ErrorResponse": {
586-
"description": "Error response indicates ARM is not able to process the incoming request. The reason is provided in the error message.",
587-
"type": "object",
588-
"properties": {
589-
"httpStatus": {
590-
"description": "Http status code.",
591-
"type": "string"
592-
},
593-
"errorCode": {
594-
"description": "Error code.",
595-
"type": "string"
596-
},
597-
"errorMessage": {
598-
"description": "Error message indicating why the operation failed.",
599-
"type": "string"
600-
}
601-
}
602584
}
603585
},
604586
"parameters": {

specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"default": {
8181
"description": "Error response describing why the operation failed.",
8282
"schema": {
83-
"$ref": "#/definitions/ErrorResponse"
83+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
8484
}
8585
}
8686
}
@@ -136,7 +136,7 @@
136136
"default": {
137137
"description": "Error response describing why the operation failed.",
138138
"schema": {
139-
"$ref": "#/definitions/ErrorResponse"
139+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
140140
}
141141
}
142142
}
@@ -183,7 +183,7 @@
183183
"default": {
184184
"description": "Error response describing why the operation failed.",
185185
"schema": {
186-
"$ref": "#/definitions/ErrorResponse"
186+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
187187
}
188188
}
189189
}
@@ -238,7 +238,7 @@
238238
"default": {
239239
"description": "Error response describing why the operation failed.",
240240
"schema": {
241-
"$ref": "#/definitions/ErrorResponse"
241+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
242242
}
243243
}
244244
},
@@ -326,7 +326,7 @@
326326
"default": {
327327
"description": "Error response describing why the operation failed.",
328328
"schema": {
329-
"$ref": "#/definitions/ErrorResponse"
329+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
330330
}
331331
}
332332
},
@@ -374,7 +374,7 @@
374374
"default": {
375375
"description": "Error response describing why the operation failed.",
376376
"schema": {
377-
"$ref": "#/definitions/ErrorResponse"
377+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
378378
}
379379
}
380380
},
@@ -423,7 +423,7 @@
423423
"default": {
424424
"description": "Error response describing why the operation failed.",
425425
"schema": {
426-
"$ref": "#/definitions/ErrorResponse"
426+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
427427
}
428428
}
429429
}
@@ -472,7 +472,7 @@
472472
"default": {
473473
"description": "Error response describing why the operation failed.",
474474
"schema": {
475-
"$ref": "#/definitions/ErrorResponse"
475+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
476476
}
477477
}
478478
}
@@ -512,7 +512,7 @@
512512
"default": {
513513
"description": "Error response describing why the operation failed.",
514514
"schema": {
515-
"$ref": "#/definitions/ErrorResponse"
515+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
516516
}
517517
}
518518
}
@@ -617,24 +617,6 @@
617617
}
618618
},
619619
"description": "List of policy assignments."
620-
},
621-
"ErrorResponse": {
622-
"description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message.",
623-
"type": "object",
624-
"properties": {
625-
"httpStatus": {
626-
"description": "Http status code.",
627-
"type": "string"
628-
},
629-
"errorCode": {
630-
"description": "Error code.",
631-
"type": "string"
632-
},
633-
"errorMessage": {
634-
"description": "Error message indicating why the operation failed.",
635-
"type": "string"
636-
}
637-
}
638620
}
639621
},
640622
"parameters": {

specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"default": {
8181
"description": "Error response describing why the operation failed.",
8282
"schema": {
83-
"$ref": "#/definitions/ErrorResponse"
83+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
8484
}
8585
}
8686
}
@@ -139,7 +139,7 @@
139139
"default": {
140140
"description": "Error response describing why the operation failed.",
141141
"schema": {
142-
"$ref": "#/definitions/ErrorResponse"
142+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
143143
}
144144
}
145145
}
@@ -189,7 +189,7 @@
189189
"default": {
190190
"description": "Error response describing why the operation failed.",
191191
"schema": {
192-
"$ref": "#/definitions/ErrorResponse"
192+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
193193
}
194194
}
195195
}
@@ -244,7 +244,7 @@
244244
"default": {
245245
"description": "Error response describing why the operation failed.",
246246
"schema": {
247-
"$ref": "#/definitions/ErrorResponse"
247+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
248248
}
249249
}
250250
},
@@ -332,7 +332,7 @@
332332
"default": {
333333
"description": "Error response describing why the operation failed.",
334334
"schema": {
335-
"$ref": "#/definitions/ErrorResponse"
335+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
336336
}
337337
}
338338
},
@@ -380,7 +380,7 @@
380380
"default": {
381381
"description": "Error response describing why the operation failed.",
382382
"schema": {
383-
"$ref": "#/definitions/ErrorResponse"
383+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
384384
}
385385
}
386386
},
@@ -429,7 +429,7 @@
429429
"default": {
430430
"description": "Error response describing why the operation failed.",
431431
"schema": {
432-
"$ref": "#/definitions/ErrorResponse"
432+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
433433
}
434434
}
435435
}
@@ -481,7 +481,7 @@
481481
"default": {
482482
"description": "Error response describing why the operation failed.",
483483
"schema": {
484-
"$ref": "#/definitions/ErrorResponse"
484+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
485485
}
486486
}
487487
}
@@ -524,7 +524,7 @@
524524
"default": {
525525
"description": "Error response describing why the operation failed.",
526526
"schema": {
527-
"$ref": "#/definitions/ErrorResponse"
527+
"$ref": "./policySetDefinitions.json#/definitions/ErrorResponse"
528528
}
529529
}
530530
}
@@ -664,24 +664,6 @@
664664
}
665665
},
666666
"description": "Identity for the resource."
667-
},
668-
"ErrorResponse": {
669-
"description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message.",
670-
"type": "object",
671-
"properties": {
672-
"httpStatus": {
673-
"description": "Http status code.",
674-
"type": "string"
675-
},
676-
"errorCode": {
677-
"description": "Error code.",
678-
"type": "string"
679-
},
680-
"errorMessage": {
681-
"description": "Error message indicating why the operation failed.",
682-
"type": "string"
683-
}
684-
}
685667
}
686668
},
687669
"parameters": {

0 commit comments

Comments
 (0)