Skip to content

Commit 47c12e2

Browse files
authored
Adding xms ids for Authorization (#17735)
* Adding x-ms-ids for Authorization * corrections after rebase
1 parent 6cdca67 commit 47c12e2

File tree

8 files changed

+43
-13
lines changed

8 files changed

+43
-13
lines changed

specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-01-01-preview/authorization-ProviderOperationsCalls.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
"items": {
140140
"$ref": "#/definitions/ProviderOperation"
141141
},
142+
"x-ms-identifiers": [],
142143
"description": "The resource type operations."
143144
}
144145
},
@@ -199,13 +200,17 @@
199200
"items": {
200201
"$ref": "#/definitions/ResourceType"
201202
},
203+
"x-ms-identifiers": [
204+
"name"
205+
],
202206
"description": "The provider resource types"
203207
},
204208
"operations": {
205209
"type": "array",
206210
"items": {
207211
"$ref": "#/definitions/ProviderOperation"
208212
},
213+
"x-ms-identifiers": [],
209214
"description": "The provider operations."
210215
}
211216
},

specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleDefinitionsCalls.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@
427427
"items": {
428428
"$ref": "#/definitions/Permission"
429429
},
430+
"x-ms-identifiers": [],
430431
"description": "Role definition permissions."
431432
},
432433
"assignableScopes": {
@@ -490,6 +491,7 @@
490491
"items": {
491492
"$ref": "#/definitions/Permission"
492493
},
494+
"x-ms-identifiers": [],
493495
"description": "An array of permissions."
494496
},
495497
"nextLink": {

specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,12 @@
171171
}
172172
],
173173
"responses": {
174-
"204": {
175-
"description": "Request is well formed but the resource does not exist"
176-
},
177174
"200": {
178175
"description": "Resource deleted successfully"
179176
},
177+
"204": {
178+
"description": "Request is well formed but the resource does not exist"
179+
},
180180
"default": {
181181
"description": "Unexpected error",
182182
"schema": {
@@ -1114,6 +1114,9 @@
11141114
"items": {
11151115
"$ref": "#/definitions/AccessReviewReviewer"
11161116
},
1117+
"x-ms-identifiers": [
1118+
"principalId"
1119+
],
11171120
"description": "This is the collection of reviewers."
11181121
},
11191122
"reviewersType": {
@@ -1785,7 +1788,10 @@
17851788
"type": "array",
17861789
"items": {
17871790
"$ref": "#/definitions/Operation"
1788-
}
1791+
},
1792+
"x-ms-identifiers": [
1793+
"name"
1794+
]
17891795
},
17901796
"nextLink": {
17911797
"description": "The URI that can be used to request the next set of paged results.",

specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-07-01-preview/authorization-DenyAssignmentGetCalls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@
367367
"items": {
368368
"$ref": "#/definitions/DenyAssignmentPermission"
369369
},
370+
"x-ms-identifiers": [],
370371
"description": "An array of permissions that are denied by the deny assignment."
371372
},
372373
"scope": {

specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-10-01-preview/RoleManagementPolicy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@
399399
"items": {
400400
"$ref": "#/definitions/ApprovalStage"
401401
},
402+
"x-ms-identifiers": [],
402403
"description": "The approval stages of the request."
403404
}
404405
}

specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/authorization-AccessReviewCalls.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@
224224
}
225225
],
226226
"responses": {
227-
"204": {
228-
"description": "Request is well formed but the resource does not exist"
229-
},
230227
"200": {
231228
"description": "Resource deleted successfully"
232229
},
230+
"204": {
231+
"description": "Request is well formed but the resource does not exist"
232+
},
233233
"default": {
234234
"description": "Unexpected error",
235235
"schema": {
@@ -446,12 +446,12 @@
446446
}
447447
],
448448
"responses": {
449-
"204": {
450-
"description": "Request is well formed but the resource does not exist"
451-
},
452449
"200": {
453450
"description": "Resource deleted successfully"
454451
},
452+
"204": {
453+
"description": "Request is well formed but the resource does not exist"
454+
},
455455
"default": {
456456
"description": "Unexpected error",
457457
"schema": {
@@ -1565,15 +1565,20 @@
15651565
"items": {
15661566
"$ref": "#/definitions/AccessReviewReviewer"
15671567
},
1568+
"x-ms-identifiers": [
1569+
"principalId"
1570+
],
15681571
"description": "This is the collection of reviewers."
15691572
},
15701573
"backupReviewers": {
15711574
"type": "array",
15721575
"items": {
15731576
"$ref": "#/definitions/AccessReviewReviewer"
15741577
},
1575-
"description": "This is the collection of backup reviewers.",
1576-
"x-ms-identifiers": []
1578+
"x-ms-identifiers": [
1579+
"principalId"
1580+
],
1581+
"description": "This is the collection of backup reviewers."
15771582
},
15781583
"reviewersType": {
15791584
"type": "string",
@@ -2679,7 +2684,10 @@
26792684
"type": "array",
26802685
"items": {
26812686
"$ref": "#/definitions/Operation"
2682-
}
2687+
},
2688+
"x-ms-identifiers": [
2689+
"name"
2690+
]
26832691
},
26842692
"nextLink": {
26852693
"description": "The URI that can be used to request the next set of paged results.",

specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
"items": {
144144
"$ref": "#/definitions/ProviderOperation"
145145
},
146+
"x-ms-identifiers": [],
146147
"description": "The resource type operations."
147148
}
148149
},
@@ -197,13 +198,17 @@
197198
"items": {
198199
"$ref": "#/definitions/ResourceType"
199200
},
201+
"x-ms-identifiers": [
202+
"name"
203+
],
200204
"description": "The provider resource types"
201205
},
202206
"operations": {
203207
"type": "array",
204208
"items": {
205209
"$ref": "#/definitions/ProviderOperation"
206210
},
211+
"x-ms-identifiers": [],
207212
"description": "The provider operations."
208213
}
209214
},

specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@
424424
"items": {
425425
"$ref": "#/definitions/Permission"
426426
},
427+
"x-ms-identifiers": [],
427428
"description": "Role definition permissions."
428429
},
429430
"assignableScopes": {
@@ -484,6 +485,7 @@
484485
"items": {
485486
"$ref": "#/definitions/Permission"
486487
},
488+
"x-ms-identifiers": [],
487489
"description": "An array of permissions."
488490
},
489491
"nextLink": {

0 commit comments

Comments
 (0)