|
3 | 3 | "$schema": "http://json-schema.org/draft-04/schema#", |
4 | 4 | "title": "Microsoft.ManagedServices", |
5 | 5 | "description": "Microsoft ManagedServices Resource Types", |
6 | | - "resourceDefinitions": { |
| 6 | + "resourceDefinitions": {}, |
| 7 | + "unknown_resourceDefinitions": { |
7 | 8 | "registrationAssignments": { |
8 | 9 | "type": "object", |
9 | 10 | "properties": { |
10 | | - "name": { |
11 | | - "type": "string", |
12 | | - "description": "Guid of the registration assignment." |
13 | | - }, |
14 | | - "type": { |
15 | | - "type": "string", |
16 | | - "enum": [ |
17 | | - "Microsoft.ManagedServices/registrationAssignments" |
18 | | - ] |
19 | | - }, |
20 | 11 | "apiVersion": { |
21 | 12 | "type": "string", |
22 | 13 | "enum": [ |
23 | 14 | "2018-06-01-preview" |
24 | 15 | ] |
25 | 16 | }, |
| 17 | + "name": { |
| 18 | + "type": "string", |
| 19 | + "description": "Guid of the registration assignment." |
| 20 | + }, |
26 | 21 | "properties": { |
27 | 22 | "oneOf": [ |
28 | 23 | { |
|
33 | 28 | } |
34 | 29 | ], |
35 | 30 | "description": "Properties of a registration assignment." |
| 31 | + }, |
| 32 | + "type": { |
| 33 | + "type": "string", |
| 34 | + "enum": [ |
| 35 | + "Microsoft.ManagedServices/registrationAssignments" |
| 36 | + ] |
36 | 37 | } |
37 | 38 | }, |
38 | 39 | "required": [ |
39 | | - "name", |
40 | | - "type", |
41 | 40 | "apiVersion", |
42 | | - "properties" |
| 41 | + "name", |
| 42 | + "properties", |
| 43 | + "type" |
43 | 44 | ], |
44 | 45 | "description": "Microsoft.ManagedServices/registrationAssignments" |
45 | 46 | }, |
46 | 47 | "registrationDefinitions": { |
47 | 48 | "type": "object", |
48 | 49 | "properties": { |
49 | | - "name": { |
50 | | - "type": "string", |
51 | | - "description": "Guid of the registration definition." |
52 | | - }, |
53 | | - "type": { |
54 | | - "type": "string", |
55 | | - "enum": [ |
56 | | - "Microsoft.ManagedServices/registrationDefinitions" |
57 | | - ] |
58 | | - }, |
59 | 50 | "apiVersion": { |
60 | 51 | "type": "string", |
61 | 52 | "enum": [ |
62 | 53 | "2018-06-01-preview" |
63 | 54 | ] |
64 | 55 | }, |
65 | | - "properties": { |
| 56 | + "name": { |
| 57 | + "type": "string", |
| 58 | + "description": "Guid of the registration definition." |
| 59 | + }, |
| 60 | + "plan": { |
66 | 61 | "oneOf": [ |
67 | 62 | { |
68 | | - "$ref": "#/definitions/RegistrationDefinitionProperties" |
| 63 | + "$ref": "#/definitions/Plan" |
69 | 64 | }, |
70 | 65 | { |
71 | 66 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
72 | 67 | } |
73 | 68 | ], |
74 | | - "description": "Properties of a registration definition." |
| 69 | + "description": "Plan details for the managed services." |
75 | 70 | }, |
76 | | - "plan": { |
| 71 | + "properties": { |
77 | 72 | "oneOf": [ |
78 | 73 | { |
79 | | - "$ref": "#/definitions/Plan" |
| 74 | + "$ref": "#/definitions/RegistrationDefinitionProperties" |
80 | 75 | }, |
81 | 76 | { |
82 | 77 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
83 | 78 | } |
84 | 79 | ], |
85 | | - "description": "Plan details for the managed services." |
| 80 | + "description": "Properties of a registration definition." |
| 81 | + }, |
| 82 | + "type": { |
| 83 | + "type": "string", |
| 84 | + "enum": [ |
| 85 | + "Microsoft.ManagedServices/registrationDefinitions" |
| 86 | + ] |
86 | 87 | } |
87 | 88 | }, |
88 | 89 | "required": [ |
89 | | - "name", |
90 | | - "type", |
91 | 90 | "apiVersion", |
92 | | - "properties" |
| 91 | + "name", |
| 92 | + "properties", |
| 93 | + "type" |
93 | 94 | ], |
94 | 95 | "description": "Microsoft.ManagedServices/registrationDefinitions" |
95 | 96 | } |
|
98 | 99 | "Authorization": { |
99 | 100 | "type": "object", |
100 | 101 | "properties": { |
| 102 | + "delegatedRoleDefinitionIds": { |
| 103 | + "oneOf": [ |
| 104 | + { |
| 105 | + "type": "array", |
| 106 | + "items": { |
| 107 | + "type": "string", |
| 108 | + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" |
| 109 | + } |
| 110 | + }, |
| 111 | + { |
| 112 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 113 | + } |
| 114 | + ], |
| 115 | + "description": "The delegatedRoleDefinitionIds field is required when the roleDefinitionId refers to the User Access Administrator Role. It is the list of role definition ids which define all the permissions that the user in the authorization can assign to other security groups/service principals/users." |
| 116 | + }, |
101 | 117 | "principalId": { |
102 | 118 | "type": "string", |
103 | 119 | "description": "Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription" |
104 | 120 | }, |
| 121 | + "principalIdDisplayName": { |
| 122 | + "type": "string", |
| 123 | + "description": "Display name of the principal Id." |
| 124 | + }, |
105 | 125 | "roleDefinitionId": { |
106 | 126 | "type": "string", |
107 | 127 | "description": "The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role." |
|
120 | 140 | "type": "string", |
121 | 141 | "description": "The plan name." |
122 | 142 | }, |
123 | | - "publisher": { |
124 | | - "type": "string", |
125 | | - "description": "The publisher ID." |
126 | | - }, |
127 | 143 | "product": { |
128 | 144 | "type": "string", |
129 | 145 | "description": "The product code." |
130 | 146 | }, |
| 147 | + "publisher": { |
| 148 | + "type": "string", |
| 149 | + "description": "The publisher ID." |
| 150 | + }, |
131 | 151 | "version": { |
132 | 152 | "type": "string", |
133 | 153 | "description": "The plan's version." |
134 | 154 | } |
135 | 155 | }, |
136 | 156 | "required": [ |
137 | 157 | "name", |
138 | | - "publisher", |
139 | 158 | "product", |
| 159 | + "publisher", |
140 | 160 | "version" |
141 | 161 | ], |
142 | 162 | "description": "Plan details for the managed services." |
|
157 | 177 | "RegistrationDefinitionProperties": { |
158 | 178 | "type": "object", |
159 | 179 | "properties": { |
160 | | - "description": { |
161 | | - "type": "string", |
162 | | - "description": "Description of the registration definition." |
163 | | - }, |
164 | 180 | "authorizations": { |
165 | 181 | "oneOf": [ |
166 | 182 | { |
|
175 | 191 | ], |
176 | 192 | "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role." |
177 | 193 | }, |
178 | | - "registrationDefinitionName": { |
| 194 | + "description": { |
179 | 195 | "type": "string", |
180 | | - "description": "Name of the registration definition." |
| 196 | + "description": "Description of the registration definition." |
181 | 197 | }, |
182 | 198 | "managedByTenantId": { |
183 | 199 | "type": "string", |
184 | 200 | "description": "Id of the managedBy tenant." |
| 201 | + }, |
| 202 | + "registrationDefinitionName": { |
| 203 | + "type": "string", |
| 204 | + "description": "Name of the registration definition." |
185 | 205 | } |
186 | 206 | }, |
187 | 207 | "required": [ |
|
0 commit comments