Server

Represents a server.

DatabaseFlexible ServerManaged DatabaseMySQLOpen SourceRelational Database

Properties

Name Type Description
id string Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name string The name of the resource
type string The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
systemData object Azure Resource Manager metadata containing createdBy and modifiedBy information.
tags object Resource tags.
location string The geo-location where the resource lives
properties object Properties of the server.
identity object The cmk identity for the server.
sku object The SKU (pricing tier) of the server.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-mysql-server-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-mysql/json-schema/microsoft-azure-mysql-server-schema.json",
  "title": "Server",
  "description": "Represents a server.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-mysql-servers-api-openapi.yml#/components/schemas/Server",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/ServerProperties",
      "description": "Properties of the server.",
      "x-ms-client-flatten": true
    },
    "identity": {
      "$ref": "#/$defs/MySQLServerIdentity",
      "description": "The cmk identity for the server."
    },
    "sku": {
      "$ref": "#/$defs/MySQLServerSku",
      "description": "The SKU (pricing tier) of the server."
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/TrackedResource"
    }
  ],
  "$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"
          }
        ]
      }
    },
    "CreateMode": {
      "type": "string",
      "description": "The mode to create a new MySQL server.",
      "enum": [
        "Default",
        "PointInTimeRestore",
        "Replica",
        "GeoRestore"
      ],
      "x-ms-enum": {
        "name": "CreateMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Default",
            "value": "Default"
          },
          {
            "name": "PointInTimeRestore",
            "value": "PointInTimeRestore"
          },
          {
            "name": "Replica",
            "value": "Replica"
          },
          {
            "name": "GeoRestore",
            "value": "GeoRestore"
          }
        ]
      }
    },
    "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",
          "description": "The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk."
        }
      }
    },
    "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",
          "description": "High availability mode for a server."
        },
        "state": {
          "$ref": "#/$defs/HighAvailabilityState",
          "description": "The state of server high availability.",
          "readOnly": true
        },
        "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"
          }
        ]
      }
    },
    "ImportSourceProperties": {
      "type": "object",
      "description": "Import source related properties.",
      "properties": {
        "storageType": {
          "$ref": "#/$defs/ImportSourceStorageType",
          "description": "Storage type of import source.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "storageUrl": {
          "type": "string",
          "description": "Uri of the import source storage.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "sasToken": {
          "type": "string",
          "format": "password",
          "description": "Sas token for accessing source storage. Read and list permissions are required for sas token.",
          "x-ms-mutability": [
            "create"
          ],
          "x-ms-secret": true
        },
        "dataDirPath": {
          "type": "string",
          "description": "Relative path of data directory in storage.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      }
    },
    "ImportSourceStorageType": {
      "type": "string",
      "description": "Storage type of import source.",
      "enum": [
        "AzureBlob"
      ],
      "x-ms-enum": {
        "name": "ImportSourceStorageType",
        "modelAsString": true,
        "values": [
          {
            "name": "AzureBlob",
            "value": "AzureBlob"
          }
        ]
      }
    },
    "MaintenancePolicy": {
      "type": "object",
      "description": "Maintenance policy of a server.",
      "properties": {
        "patchStrategy": {
          "$ref": "#/$defs/PatchStrategy",
          "description": "The patch strategy of this server"
        }
      }
    },
    "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",
          "description": "The batch of maintenance when enabled the custom managed maintenance window of a server."
        }
      }
    },
    "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",
          "description": "Type of managed service identity."
        },
        "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",
          "description": "The tier of the particular SKU, e.g. GeneralPurpose."
        }
      },
      "required": [
        "name",
        "tier"
      ]
    },
    "Network": {
      "type": "object",
      "description": "Network related properties of a server",
      "properties": {
        "publicNetworkAccess": {
          "$ref": "#/$defs/EnableStatusEnum",
          "description": "Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration."
        },
        "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"
          }
        ]
      }
    },
    "PrivateEndpointConnection": {
      "type": "object",
      "description": "The private endpoint connection resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/PrivateEndpointConnectionProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "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"
          }
        ]
      }
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "ServerProperties": {
      "type": "object",
      "description": "The properties of a server.",
      "properties": {
        "administratorLogin": {
          "type": "string",
          "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "administratorLoginPassword": {
          "type": "string",
          "format": "password",
          "description": "The password of the administrator login (required for server creation).",
          "x-ms-mutability": [
            "update",
            "create"
          ],
          "x-ms-secret": true
        },
        "version": {
          "$ref": "#/$defs/ServerVersion",
          "description": "Major version of MySQL. 8.0.21 stands for MySQL 8.0, 5.7.44 stands for MySQL 5.7"
        },
        "fullVersion": {
          "type": "string",
          "description": "Major version and actual engine version",
          "readOnly": true
        },
        "availabilityZone": {
          "type": "string",
          "description": "availability Zone information of the server.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "createMode": {
          "$ref": "#/$defs/CreateMode",
          "description": "The mode to create a new MySQL server.",
          "x-ms-mutability": [
            "create"
          ]
        },
        "sourceServerResourceId": {
          "type": "string",
          "description": "The source MySQL server id.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "restorePointInTime": {
          "type": "string",
          "format": "date-time",
          "description": "Restore point creation time (ISO8601 format), specifying the time to restore from.",
          "x-ms-mutability": [
            "create"
          ]
        },
        "replicationRole": {
          "$ref": "#/$defs/ReplicationRole",
          "description": "The replication role."
        },
        "replicaCapacity": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of replicas that a primary server can have.",
          "minimum": 0,
          "readOnly": true
        },
        "dataEncryption": {
          "$ref": "#/$defs/DataEncryption",
          "description": "The Data Encryption for CMK."
        },
        "state": {
          "$ref": "#/$defs/ServerState",
          "description": "The state of a server.",
          "readOnly": true
        },
        "fullyQualifiedDomainName": {
          "type": "string",
          "description": "The fully qualified domain name of a server.",
          "readOnly": true
        },
        "databasePort": {
          "type": "integer",
          "format": "int32",
          "description": "The server database port. Can only be specified when the server is being created.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "storage": {
          "$ref": "#/$defs/Storage",
          "description": "Storage related properties of a server."
        },
        "backup": {
          "$ref": "#/$defs/Backup",
          "description": "Backup related properties of a server."
        },
        "highAvailability": {
          "$ref": "#/$defs/HighAvailability",
          "description": "High availability related properties of a server."
        },
        "network": {
          "$ref": "#/$defs/Network",
          "description": "Network related properties of a server.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "privateEndpointConnections": {
          "type": "array",
          "description": "PrivateEndpointConnections related properties of a server.",
          "items": {
            "$ref": "#/$defs/PrivateEndpointConnection"
          },
          "readOnly": true
        },
        "maintenancePolicy": {
          "$ref": "#/$defs/MaintenancePolicy",
          "description": "Maintenance policy of a server."
        },
        "maintenanceWindow": {
          "$ref": "#/$defs/MaintenanceWindow",
          "description": "Maintenance window of a server. Known issue: cannot be set during server creation or updated with other properties during server update; must be updated separately.",
          "x-ms-mutability": [
            "read",
            "update"
          ]
        },
        "importSourceProperties": {
          "$ref": "#/$defs/ImportSourceProperties",
          "description": "Source properties for import from storage."
        }
      }
    },
    "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"
          }
        ]
      }
    },
    "ServerState": {
      "type": "string",
      "description": "The state of a server.",
      "enum": [
        "Ready",
        "Dropping",
        "Disabled",
        "Starting",
        "Stopping",
        "Stopped",
        "Updating"
      ],
      "x-ms-enum": {
        "name": "ServerState",
        "modelAsString": true,
        "values": [
          {
            "name": "Ready",
            "value": "Ready"
          },
          {
            "name": "Dropping",
            "value": "Dropping"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          },
          {
            "name": "Starting",
            "value": "Starting"
          },
          {
            "name": "Stopping",
            "value": "Stopping"
          },
          {
            "name": "Stopped",
            "value": "Stopped"
          },
          {
            "name": "Updating",
            "value": "Updating"
          }
        ]
      }
    },
    "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"
          ]
        }
      }
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-mysql-server"
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.