Skip to content

Commit 4dc3917

Browse files
authored
add RBAC to 2020-10-01-preview autogen (#15836)
* add RBAC to 2020-10-01-preview autogen * fix example
1 parent 7814e86 commit 4dc3917

24 files changed

+356
-418
lines changed

specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"description": "The role of the administrator."
8787
}
8888
},
89+
"type": "object",
8990
"description": "Classic Administrator properties."
9091
},
9192
"ClassicAdministrator": {
@@ -108,6 +109,7 @@
108109
"description": "Properties for the classic administrator."
109110
}
110111
},
112+
"type": "object",
111113
"description": "Classic Administrators"
112114
},
113115
"ClassicAdministratorListResult": {
@@ -124,6 +126,7 @@
124126
"description": "The URL to use for getting the next set of results."
125127
}
126128
},
129+
"type": "object",
127130
"description": "ClassicAdministrator list result information."
128131
}
129132
},

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
@@ -142,6 +142,7 @@
142142
"description": "The resource type operations."
143143
}
144144
},
145+
"type": "object",
145146
"description": "Resource Type"
146147
},
147148
"ProviderOperation": {
@@ -172,6 +173,7 @@
172173
"description": "The dataAction flag to specify the operation type."
173174
}
174175
},
176+
"type": "object",
175177
"description": "Operation"
176178
},
177179
"ProviderOperationsMetadata": {
@@ -207,6 +209,7 @@
207209
"description": "The provider operations."
208210
}
209211
},
212+
"type": "object",
210213
"description": "Provider Operations metadata"
211214
},
212215
"ProviderOperationsMetadataListResult": {
@@ -223,6 +226,7 @@
223226
"description": "The URL to use for getting the next set of results."
224227
}
225228
},
229+
"type": "object",
226230
"description": "Provider operations metadata list"
227231
}
228232
},
@@ -233,6 +237,7 @@
233237
"required": true,
234238
"type": "string",
235239
"description": "The namespace of the resource provider.",
240+
"x-ms-skip-url-encoding": true,
236241
"x-ms-parameter-location": "method"
237242
}
238243
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@
661661
"required": true,
662662
"type": "string",
663663
"description": "The namespace of the resource provider.",
664+
"x-ms-skip-url-encoding": true,
664665
"x-ms-parameter-location": "method"
665666
}
666667
}

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
8989
},
9090
{
91-
"$ref": "#/parameters/ResourceProviderNamespaceParameter"
91+
"$ref": "../2020-10-01-preview/common-types.json#/parameters/ResourceProviderNamespaceParameter"
9292
},
9393
{
9494
"name": "parentResourcePath",
@@ -404,6 +404,7 @@
404404
"description": "Returns role definition with the specific type."
405405
}
406406
},
407+
"type": "object",
407408
"description": "Role Definitions filter"
408409
},
409410
"RoleDefinitionProperties": {
@@ -436,6 +437,7 @@
436437
"description": "Role definition assignable scopes."
437438
}
438439
},
440+
"type": "object",
439441
"description": "Role definition properties."
440442
},
441443
"RoleDefinition": {
@@ -461,6 +463,7 @@
461463
"description": "Role definition properties."
462464
}
463465
},
466+
"type": "object",
464467
"description": "Role definition."
465468
},
466469
"RoleDefinitionListResult": {
@@ -477,6 +480,7 @@
477480
"description": "The URL to use for getting the next set of results."
478481
}
479482
},
483+
"type": "object",
480484
"description": "Role definition list operation result."
481485
},
482486
"PermissionGetResult": {
@@ -493,6 +497,7 @@
493497
"description": "The URL to use for getting the next set of results."
494498
}
495499
},
500+
"type": "object",
496501
"description": "Permissions information."
497502
},
498503
"Permission": {
@@ -526,18 +531,11 @@
526531
"description": "Denied Data actions."
527532
}
528533
},
534+
"type": "object",
529535
"description": "Role definition permissions."
530536
}
531537
},
532538
"parameters": {
533-
"ResourceProviderNamespaceParameter": {
534-
"name": "resourceProviderNamespace",
535-
"in": "path",
536-
"required": true,
537-
"type": "string",
538-
"description": "The namespace of the resource provider.",
539-
"x-ms-parameter-location": "method"
540-
},
541539
"FilterParameter": {
542540
"name": "$filter",
543541
"in": "query",

0 commit comments

Comments
 (0)