76 строки
2.0 KiB
JSON
76 строки
2.0 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.DBforMySQL.json#",
|
|
"title": "Microsoft.DBforMySQL",
|
|
"description": "Microsoft DBforMySQL Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"servers_keys": {
|
|
"description": "Microsoft.DBforMySQL/servers/keys",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2020-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the MySQL Server key to be operated on (updated or created).",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of the ServerKey Resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ServerKeyProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DBforMySQL/servers/keys"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"ServerKeyProperties": {
|
|
"description": "Properties for a key execution.",
|
|
"properties": {
|
|
"serverKeyType": {
|
|
"description": "The key type like 'AzureKeyVault'.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"AzureKeyVault"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"uri": {
|
|
"description": "The URI of the key.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"serverKeyType"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |