|
55 | 55 | },
|
56 | 56 | {
|
57 | 57 | "$ref": "#/definitions/flexibleServers_firewallRules_childResource"
|
| 58 | + }, |
| 59 | + { |
| 60 | + "$ref": "#/definitions/flexibleServers_administrators_childResource" |
58 | 61 | }
|
59 | 62 | ]
|
60 | 63 | }
|
|
101 | 104 | ],
|
102 | 105 | "description": "Microsoft.DBforMySQL/flexibleServers"
|
103 | 106 | },
|
| 107 | + "flexibleServers_administrators": { |
| 108 | + "type": "object", |
| 109 | + "properties": { |
| 110 | + "apiVersion": { |
| 111 | + "type": "string", |
| 112 | + "enum": [ |
| 113 | + "2021-12-01-preview" |
| 114 | + ] |
| 115 | + }, |
| 116 | + "name": { |
| 117 | + "oneOf": [ |
| 118 | + { |
| 119 | + "type": "string", |
| 120 | + "pattern": "^.*/ActiveDirectory$" |
| 121 | + }, |
| 122 | + { |
| 123 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 124 | + } |
| 125 | + ], |
| 126 | + "description": "The name of the Azure AD Administrator." |
| 127 | + }, |
| 128 | + "properties": { |
| 129 | + "oneOf": [ |
| 130 | + { |
| 131 | + "$ref": "#/definitions/AdministratorProperties" |
| 132 | + }, |
| 133 | + { |
| 134 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 135 | + } |
| 136 | + ], |
| 137 | + "description": "The properties of an administrator." |
| 138 | + }, |
| 139 | + "type": { |
| 140 | + "type": "string", |
| 141 | + "enum": [ |
| 142 | + "Microsoft.DBforMySQL/flexibleServers/administrators" |
| 143 | + ] |
| 144 | + } |
| 145 | + }, |
| 146 | + "required": [ |
| 147 | + "apiVersion", |
| 148 | + "name", |
| 149 | + "properties", |
| 150 | + "type" |
| 151 | + ], |
| 152 | + "description": "Microsoft.DBforMySQL/flexibleServers/administrators" |
| 153 | + }, |
104 | 154 | "flexibleServers_backups": {
|
105 | 155 | "type": "object",
|
106 | 156 | "properties": {
|
|
208 | 258 | }
|
209 | 259 | },
|
210 | 260 | "definitions": {
|
| 261 | + "AdministratorProperties": { |
| 262 | + "type": "object", |
| 263 | + "properties": { |
| 264 | + "administratorType": { |
| 265 | + "oneOf": [ |
| 266 | + { |
| 267 | + "type": "string", |
| 268 | + "enum": [ |
| 269 | + "ActiveDirectory" |
| 270 | + ] |
| 271 | + }, |
| 272 | + { |
| 273 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 274 | + } |
| 275 | + ], |
| 276 | + "description": "Type of the sever administrator." |
| 277 | + }, |
| 278 | + "identityResourceId": { |
| 279 | + "type": "string", |
| 280 | + "description": "The resource id of the identity used for AAD Authentication." |
| 281 | + }, |
| 282 | + "login": { |
| 283 | + "type": "string", |
| 284 | + "description": "Login name of the server administrator." |
| 285 | + }, |
| 286 | + "sid": { |
| 287 | + "type": "string", |
| 288 | + "description": "SID (object ID) of the server administrator." |
| 289 | + }, |
| 290 | + "tenantId": { |
| 291 | + "type": "string", |
| 292 | + "description": "Tenant ID of the administrator." |
| 293 | + } |
| 294 | + }, |
| 295 | + "description": "The properties of an administrator." |
| 296 | + }, |
211 | 297 | "Backup": {
|
212 | 298 | "type": "object",
|
213 | 299 | "properties": {
|
|
325 | 411 | ],
|
326 | 412 | "description": "The properties of a server firewall rule."
|
327 | 413 | },
|
| 414 | + "flexibleServers_administrators_childResource": { |
| 415 | + "type": "object", |
| 416 | + "properties": { |
| 417 | + "apiVersion": { |
| 418 | + "type": "string", |
| 419 | + "enum": [ |
| 420 | + "2021-12-01-preview" |
| 421 | + ] |
| 422 | + }, |
| 423 | + "name": { |
| 424 | + "type": "string", |
| 425 | + "enum": [ |
| 426 | + "ActiveDirectory" |
| 427 | + ], |
| 428 | + "description": "The name of the Azure AD Administrator." |
| 429 | + }, |
| 430 | + "properties": { |
| 431 | + "oneOf": [ |
| 432 | + { |
| 433 | + "$ref": "#/definitions/AdministratorProperties" |
| 434 | + }, |
| 435 | + { |
| 436 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 437 | + } |
| 438 | + ], |
| 439 | + "description": "The properties of an administrator." |
| 440 | + }, |
| 441 | + "type": { |
| 442 | + "type": "string", |
| 443 | + "enum": [ |
| 444 | + "administrators" |
| 445 | + ] |
| 446 | + } |
| 447 | + }, |
| 448 | + "required": [ |
| 449 | + "apiVersion", |
| 450 | + "name", |
| 451 | + "properties", |
| 452 | + "type" |
| 453 | + ], |
| 454 | + "description": "Microsoft.DBforMySQL/flexibleServers/administrators" |
| 455 | + }, |
328 | 456 | "flexibleServers_backups_childResource": {
|
329 | 457 | "type": "object",
|
330 | 458 | "properties": {
|
|
0 commit comments