Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions schemas/2021-12-01-preview/Microsoft.DBforMySQL.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
},
{
"$ref": "#/definitions/flexibleServers_firewallRules_childResource"
},
{
"$ref": "#/definitions/flexibleServers_administrators_childResource"
}
]
}
Expand Down Expand Up @@ -101,6 +104,53 @@
],
"description": "Microsoft.DBforMySQL/flexibleServers"
},
"flexibleServers_administrators": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-12-01-preview"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^.*/ActiveDirectory$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the Azure AD Administrator."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AdministratorProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of an administrator."
},
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMySQL/flexibleServers/administrators"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforMySQL/flexibleServers/administrators"
},
"flexibleServers_backups": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -208,6 +258,42 @@
}
},
"definitions": {
"AdministratorProperties": {
"type": "object",
"properties": {
"administratorType": {
"oneOf": [
{
"type": "string",
"enum": [
"ActiveDirectory"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Type of the sever administrator."
},
"identityResourceId": {
"type": "string",
"description": "The resource id of the identity used for AAD Authentication."
},
"login": {
"type": "string",
"description": "Login name of the server administrator."
},
"sid": {
"type": "string",
"description": "SID (object ID) of the server administrator."
},
"tenantId": {
"type": "string",
"description": "Tenant ID of the administrator."
}
},
"description": "The properties of an administrator."
},
"Backup": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -325,6 +411,48 @@
],
"description": "The properties of a server firewall rule."
},
"flexibleServers_administrators_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-12-01-preview"
]
},
"name": {
"type": "string",
"enum": [
"ActiveDirectory"
],
"description": "The name of the Azure AD Administrator."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AdministratorProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of an administrator."
},
"type": {
"type": "string",
"enum": [
"administrators"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforMySQL/flexibleServers/administrators"
},
"flexibleServers_backups_childResource": {
"type": "object",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -6508,6 +6508,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_administrators"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_backups"
},
Expand Down