Microsoft.DBforMySQL servers/keys template reference

Template format

To create a Microsoft.DBforMySQL/servers/keys resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.DBforMySQL/servers/keys",
  "apiVersion": "2020-01-01",
  "properties": {
    "serverKeyType": "AzureKeyVault",
    "uri": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DBforMySQL/servers/keys object

Name Type Required Value
name string Yes The name of the MySQL Server key to be operated on (updated or created).
type enum Yes keys
-or-
Microsoft.DBforMySQL/servers/keys

See Set name and type for child resources.
apiVersion enum Yes 2020-01-01
properties object Yes Properties of the ServerKey Resource. - ServerKeyProperties object

ServerKeyProperties object

Name Type Required Value
serverKeyType enum Yes The key type like 'AzureKeyVault'. - AzureKeyVault
uri string No The URI of the key.