Azure Database for MySQL · Schema
ServerForUpdate
Parameters allowed to update for a server.
DatabaseFlexible ServerManaged DatabaseMySQLOpen SourceRelational Database
Properties
| Name | Type | Description |
|---|---|---|
| identity | object | |
| sku | object | |
| properties | object | |
| tags | object | Application-specific metadata in the form of key-value pairs. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure-mysql/json-schema/microsoft-azure-mysql-server-for-update-schema.json",
"title": "ServerForUpdate",
"description": "Parameters allowed to update for a server.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-mysql-openapi.yml#/components/schemas/ServerForUpdate",
"type": "object",
"properties": {
"identity": {
"$ref": "#/$defs/MySQLServerIdentity"
},
"sku": {
"$ref": "#/$defs/MySQLServerSku"
},
"properties": {
"$ref": "#/$defs/ServerPropertiesForUpdate"
},
"tags": {
"type": "object",
"description": "Application-specific metadata in the form of key-value pairs.",
"additionalProperties": {
"type": "string"
}
}
},
"$defs": {
"Backup": {
"type": "object",
"description": "Storage Profile properties of a server",
"properties": {
"backupRetentionDays": {
"type": "integer",
"format": "int32",
"description": "Backup retention days for the server."
},
"backupIntervalHours": {
"type": "integer",
"format": "int32",
"description": "Backup interval hours for the server."
},
"geoRedundantBackup": {
"type": "string",
"description": "Whether or not geo redundant backup is enabled.",
"default": "Disabled",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "EnableStatusEnum",
"modelAsString": true,
"values": [
{
"name": "Enabled",
"value": "Enabled"
},
{
"name": "Disabled",
"value": "Disabled"
}
]
}
},
"earliestRestoreDate": {
"type": "string",
"format": "date-time",
"description": "Earliest restore point creation time (ISO8601 format)",
"readOnly": true
}
}
},
"BatchOfMaintenance": {
"type": "string",
"description": "The batch of maintenance when enabled the custom managed maintenance window of a server.",
"enum": [
"Default",
"Batch1",
"Batch2"
],
"x-ms-enum": {
"name": "BatchOfMaintenance",
"modelAsString": true,
"values": [
{
"name": "Default",
"value": "Default"
},
{
"name": "Batch1",
"value": "Batch1"
},
{
"name": "Batch2",
"value": "Batch2"
}
]
}
},
"DataEncryption": {
"type": "object",
"description": "The date encryption for cmk.",
"properties": {
"primaryUserAssignedIdentityId": {
"type": "string",
"description": "Primary user identity resource id"
},
"primaryKeyURI": {
"type": "string",
"description": "Primary key uri"
},
"geoBackupUserAssignedIdentityId": {
"type": "string",
"description": "Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup"
},
"geoBackupKeyURI": {
"type": "string",
"description": "Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup"
},
"type": {
"$ref": "#/$defs/DataEncryptionType"
}
}
},
"DataEncryptionType": {
"type": "string",
"description": "The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.",
"enum": [
"AzureKeyVault",
"SystemManaged"
],
"x-ms-enum": {
"name": "DataEncryptionType",
"modelAsString": false
}
},
"EnableStatusEnum": {
"type": "string",
"description": "Enum to indicate whether value is 'Enabled' or 'Disabled'",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "EnableStatusEnum",
"modelAsString": true,
"values": [
{
"name": "Enabled",
"value": "Enabled"
},
{
"name": "Disabled",
"value": "Disabled"
}
]
}
},
"HighAvailability": {
"type": "object",
"description": "High availability properties of a server",
"properties": {
"mode": {
"$ref": "#/$defs/HighAvailabilityMode"
},
"state": {
"$ref": "#/$defs/HighAvailabilityState"
},
"standbyAvailabilityZone": {
"type": "string",
"description": "Availability zone of the standby server."
}
}
},
"HighAvailabilityMode": {
"type": "string",
"description": "High availability mode for a server.",
"enum": [
"Disabled",
"ZoneRedundant",
"SameZone"
],
"x-ms-enum": {
"name": "HighAvailabilityMode",
"modelAsString": true,
"values": [
{
"name": "Disabled",
"value": "Disabled"
},
{
"name": "ZoneRedundant",
"value": "ZoneRedundant"
},
{
"name": "SameZone",
"value": "SameZone"
}
]
}
},
"HighAvailabilityState": {
"type": "string",
"description": "The state of server high availability.",
"enum": [
"NotEnabled",
"CreatingStandby",
"Healthy",
"FailingOver",
"RemovingStandby"
],
"x-ms-enum": {
"name": "HighAvailabilityState",
"modelAsString": true,
"values": [
{
"name": "NotEnabled",
"value": "NotEnabled"
},
{
"name": "CreatingStandby",
"value": "CreatingStandby"
},
{
"name": "Healthy",
"value": "Healthy"
},
{
"name": "FailingOver",
"value": "FailingOver"
},
{
"name": "RemovingStandby",
"value": "RemovingStandby"
}
]
}
},
"MaintenancePolicy": {
"type": "object",
"description": "Maintenance policy of a server.",
"properties": {
"patchStrategy": {
"$ref": "#/$defs/PatchStrategy"
}
}
},
"MaintenanceWindow": {
"type": "object",
"description": "Maintenance window of a server.",
"properties": {
"customWindow": {
"type": "string",
"description": "indicates whether custom window is enabled or disabled"
},
"startHour": {
"type": "integer",
"format": "int32",
"description": "start hour for maintenance window"
},
"startMinute": {
"type": "integer",
"format": "int32",
"description": "start minute for maintenance window"
},
"dayOfWeek": {
"type": "integer",
"format": "int32",
"description": "day of week for maintenance window"
},
"batchOfMaintenance": {
"$ref": "#/$defs/BatchOfMaintenance"
}
}
},
"ManagedServiceIdentityType": {
"type": "string",
"description": "Type of managed service identity.",
"enum": [
"UserAssigned"
],
"x-ms-enum": {
"name": "ManagedServiceIdentityType",
"modelAsString": true,
"values": [
{
"name": "UserAssigned",
"value": "UserAssigned"
}
]
}
},
"MySQLServerIdentity": {
"type": "object",
"description": "Properties to configure Identity for Bring your Own Keys",
"properties": {
"principalId": {
"type": "string",
"description": "ObjectId from the KeyVault",
"readOnly": true
},
"tenantId": {
"type": "string",
"description": "TenantId from the KeyVault",
"readOnly": true
},
"type": {
"$ref": "#/$defs/ManagedServiceIdentityType"
},
"userAssignedIdentities": {
"type": "object",
"description": "Metadata of user assigned identity.",
"additionalProperties": {
"$ref": "#/$defs/UserAssignedIdentity"
}
}
}
},
"MySQLServerSku": {
"type": "object",
"description": "Billing information related properties of a server.",
"properties": {
"name": {
"type": "string",
"description": "The name of the sku, e.g. Standard_D32s_v3."
},
"tier": {
"$ref": "#/$defs/ServerSkuTier"
}
},
"required": [
"name",
"tier"
]
},
"Network": {
"type": "object",
"description": "Network related properties of a server",
"properties": {
"publicNetworkAccess": {
"$ref": "#/$defs/EnableStatusEnum"
},
"delegatedSubnetResourceId": {
"type": "string",
"description": "Delegated subnet resource id used to setup vnet for a server."
},
"privateDnsZoneResourceId": {
"type": "string",
"description": "Private DNS zone resource id."
}
}
},
"PatchStrategy": {
"type": "string",
"description": "Enum to indicate the patch strategy of a server",
"enum": [
"Regular",
"VirtualCanary"
],
"x-ms-enum": {
"name": "PatchStrategy",
"modelAsString": true,
"values": [
{
"name": "Regular",
"value": "Regular"
},
{
"name": "VirtualCanary",
"value": "VirtualCanary"
}
]
}
},
"ReplicationRole": {
"type": "string",
"description": "The replication role.",
"enum": [
"None",
"Source",
"Replica"
],
"x-ms-enum": {
"name": "ReplicationRole",
"modelAsString": true,
"values": [
{
"name": "None",
"value": "None"
},
{
"name": "Source",
"value": "Source"
},
{
"name": "Replica",
"value": "Replica"
}
]
}
},
"ServerPropertiesForUpdate": {
"type": "object",
"description": "The properties that can be updated for a server.",
"properties": {
"administratorLoginPassword": {
"type": "string",
"format": "password",
"description": "The password of the administrator login.",
"x-ms-secret": true
},
"version": {
"$ref": "#/$defs/ServerVersion"
},
"storage": {
"$ref": "#/$defs/Storage"
},
"backup": {
"$ref": "#/$defs/Backup"
},
"highAvailability": {
"$ref": "#/$defs/HighAvailability"
},
"maintenancePolicy": {
"$ref": "#/$defs/MaintenancePolicy"
},
"maintenanceWindow": {
"$ref": "#/$defs/MaintenanceWindow"
},
"replicationRole": {
"$ref": "#/$defs/ReplicationRole"
},
"dataEncryption": {
"$ref": "#/$defs/DataEncryption"
},
"network": {
"$ref": "#/$defs/Network"
}
}
},
"ServerSkuTier": {
"type": "string",
"description": "The tier of the particular SKU, e.g. GeneralPurpose.",
"enum": [
"Burstable",
"GeneralPurpose",
"MemoryOptimized"
],
"x-ms-enum": {
"name": "ServerSkuTier",
"modelAsString": true,
"values": [
{
"name": "Burstable",
"value": "Burstable"
},
{
"name": "GeneralPurpose",
"value": "GeneralPurpose"
},
{
"name": "MemoryOptimized",
"value": "MemoryOptimized"
}
]
}
},
"ServerVersion": {
"type": "string",
"description": "The major version of a server. 8.0.21 stands for MySQL 8.0, 5.7.44 stands for MySQL 5.7",
"enum": [
"5.7",
"8.0.21"
],
"x-ms-enum": {
"name": "ServerVersion",
"modelAsString": true,
"values": [
{
"name": "5.7",
"value": "5.7"
},
{
"name": "8.0.21",
"value": "8.0.21"
}
]
}
},
"Storage": {
"type": "object",
"description": "Storage Profile properties of a server",
"properties": {
"storageSizeGB": {
"type": "integer",
"format": "int32",
"description": "Max storage size allowed for a server."
},
"iops": {
"type": "integer",
"format": "int32",
"description": "Storage IOPS for a server."
},
"autoGrow": {
"type": "string",
"description": "Enable Storage Auto Grow or not.",
"default": "Disabled",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "EnableStatusEnum",
"modelAsString": true,
"values": [
{
"name": "Enabled",
"value": "Enabled"
},
{
"name": "Disabled",
"value": "Disabled"
}
]
}
},
"logOnDisk": {
"type": "string",
"description": "Enable Log On Disk or not.",
"default": "Disabled",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "EnableStatusEnum",
"modelAsString": true,
"values": [
{
"name": "Enabled",
"value": "Enabled"
},
{
"name": "Disabled",
"value": "Disabled"
}
]
}
},
"storageSku": {
"type": "string",
"description": "The sku name of the server storage.",
"readOnly": true
},
"autoIoScaling": {
"type": "string",
"description": "Enable IO Auto Scaling or not.",
"default": "Enabled",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "EnableStatusEnum",
"modelAsString": true,
"values": [
{
"name": "Enabled",
"value": "Enabled"
},
{
"name": "Disabled",
"value": "Disabled"
}
]
}
},
"storageRedundancy": {
"type": "string",
"description": "The redundant type of the server storage. The parameter is used for server creation.",
"default": "LocalRedundancy",
"enum": [
"LocalRedundancy",
"ZoneRedundancy"
],
"x-ms-enum": {
"name": "StorageRedundancyEnum",
"modelAsString": true,
"values": [
{
"name": "LocalRedundancy",
"value": "LocalRedundancy"
},
{
"name": "ZoneRedundancy",
"value": "ZoneRedundancy"
}
]
},
"x-ms-mutability": [
"read",
"create"
]
}
}
},
"UserAssignedIdentity": {
"type": "object",
"description": "Metadata of user assigned identity.",
"properties": {
"principalId": {
"type": "string",
"description": "Principal Id of user assigned identity",
"readOnly": true,
"x-ms-client-name": "PrincipalId"
},
"clientId": {
"type": "string",
"description": "Client Id of user assigned identity",
"readOnly": true,
"x-ms-client-name": "ClientId"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-mysql-server-for-update"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.