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
203 changes: 186 additions & 17 deletions schemas/2018-06-01/Microsoft.DBforMariaDB.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.DBforMariaDB.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.DBforMariaDB",
"description": "Microsoft DBforMariaDB Resource Types",
"title": "Microsoft.DBForMariaDB",
"description": "Microsoft DBForMariaDB Resource Types",
"resourceDefinitions": {
"servers": {
"type": "object",
Expand Down Expand Up @@ -53,6 +53,9 @@
},
{
"$ref": "#/definitions/servers_securityAlertPolicies_childResource"
},
{
"$ref": "#/definitions/servers_keys_childResource"
}
]
}
Expand Down Expand Up @@ -86,7 +89,7 @@
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMariaDB/servers"
"Microsoft.DBForMariaDB/servers"
]
}
},
Expand All @@ -97,7 +100,7 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers"
"description": "Microsoft.DBForMariaDB/servers"
},
"servers_configurations": {
"type": "object",
Expand Down Expand Up @@ -126,7 +129,7 @@
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMariaDB/servers/configurations"
"Microsoft.DBForMariaDB/servers/configurations"
]
}
},
Expand All @@ -136,7 +139,7 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/configurations"
"description": "Microsoft.DBForMariaDB/servers/configurations"
},
"servers_databases": {
"type": "object",
Expand Down Expand Up @@ -165,7 +168,7 @@
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMariaDB/servers/databases"
"Microsoft.DBForMariaDB/servers/databases"
]
}
},
Expand All @@ -175,7 +178,7 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/databases"
"description": "Microsoft.DBForMariaDB/servers/databases"
},
"servers_firewallRules": {
"type": "object",
Expand Down Expand Up @@ -204,7 +207,7 @@
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMariaDB/servers/firewallRules"
"Microsoft.DBForMariaDB/servers/firewallRules"
]
}
},
Expand All @@ -214,7 +217,46 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/firewallRules"
"description": "Microsoft.DBForMariaDB/servers/firewallRules"
},
"servers_keys": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2018-06-01"
]
},
"name": {
"type": "string",
"description": "The name of the MariaDB Server key to be operated on (updated or created)."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ServerKeyProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties for a key execution."
},
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMariaDB/servers/keys"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/keys"
},
"servers_privateEndpointConnections": {
"type": "object",
Expand Down Expand Up @@ -329,7 +371,7 @@
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMariaDB/servers/virtualNetworkRules"
"Microsoft.DBForMariaDB/servers/virtualNetworkRules"
]
}
},
Expand All @@ -339,7 +381,7 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/virtualNetworkRules"
"description": "Microsoft.DBForMariaDB/servers/virtualNetworkRules"
}
},
"definitions": {
Expand Down Expand Up @@ -539,6 +581,33 @@
],
"description": "Properties of a security alert policy."
},
"ServerKeyProperties": {
"type": "object",
"properties": {
"serverKeyType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureKeyVault"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The key type like 'AzureKeyVault'."
},
"uri": {
"type": "string",
"description": "The URI of the key."
}
},
"required": [
"serverKeyType"
],
"description": "Properties for a key execution."
},
"ServerPropertiesForCreate": {
"type": "object",
"oneOf": [
Expand Down Expand Up @@ -650,7 +719,7 @@
"storageProfile": {
"oneOf": [
{
"$ref": "#/definitions/StorageProfile"
"$ref": "#/definitions/StorageProfileModel"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -897,7 +966,7 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/configurations"
"description": "Microsoft.DBForMariaDB/servers/configurations"
},
"servers_databases_childResource": {
"type": "object",
Expand Down Expand Up @@ -936,7 +1005,7 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/databases"
"description": "Microsoft.DBForMariaDB/servers/databases"
},
"servers_firewallRules_childResource": {
"type": "object",
Expand Down Expand Up @@ -975,7 +1044,46 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/firewallRules"
"description": "Microsoft.DBForMariaDB/servers/firewallRules"
},
"servers_keys_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2018-06-01"
]
},
"name": {
"type": "string",
"description": "The name of the MariaDB Server key to be operated on (updated or created)."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ServerKeyProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties for a key execution."
},
"type": {
"type": "string",
"enum": [
"keys"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/keys"
},
"servers_privateEndpointConnections_childResource": {
"type": "object",
Expand Down Expand Up @@ -1095,7 +1203,7 @@
"properties",
"type"
],
"description": "Microsoft.DBforMariaDB/servers/virtualNetworkRules"
"description": "Microsoft.DBForMariaDB/servers/virtualNetworkRules"
},
"Sku": {
"type": "object",
Expand Down Expand Up @@ -1141,6 +1249,9 @@
"description": "The tier of the particular SKU, e.g. Basic."
}
},
"required": [
"name"
],
"description": "Billing information related properties of a server."
},
"StorageProfile": {
Expand Down Expand Up @@ -1201,6 +1312,64 @@
},
"description": "Storage Profile properties of a server"
},
"StorageProfileModel": {
"type": "object",
"properties": {
"backupRetentionDays": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Backup retention days for the server."
},
"geoRedundantBackup": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Enable Geo-redundant or not for server backup."
},
"storageAutogrow": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Enable Storage Auto Grow."
},
"storageMB": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Max storage allowed for a server."
}
},
"description": "Storage Profile properties of a server"
},
"VirtualNetworkRuleProperties": {
"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 @@ -1969,6 +1969,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.DBforMariaDB.json#/resourceDefinitions/servers_firewallRules"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.DBforMariaDB.json#/resourceDefinitions/servers_keys"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.DBforMariaDB.json#/resourceDefinitions/servers_privateEndpointConnections"
},
Expand Down