{ "swagger": "2.0", "info": { "title": "MySQLManagementClient", "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules and configurations.", "version": "2023-12-30" }, "host": "management.azure.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "security": [ { "azure_auth": [ "user_impersonation" ] } ], "securityDefinitions": { "azure_auth": { "type": "oauth2", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "flow": "implicit", "description": "Azure Active Directory OAuth2 Flow", "scopes": { "user_impersonation": "impersonate your user account" } } }, "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilities": { "get": { "tags": [ "LocationBasedCapabilities" ], "operationId": "LocationBasedCapabilities_List", "x-ms-examples": { "CapabilitiesList": { "$ref": "./examples/CapabilitiesByLocationList.json" } }, "description": "Get capabilities at specified location in a given subscription.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "./common-types/v1/common-types.json#/parameters/LocationNameParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/CapabilitiesListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilitySets": { "get": { "tags": [ "LocationBasedCapability" ], "operationId": "LocationBasedCapabilitySet_List", "x-ms-examples": { "CapabilitySetsResult": { "$ref": "./examples/CapabilitySetListByLocation.json" } }, "description": "Get capabilities at specified location in a given subscription.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "./common-types/v1/common-types.json#/parameters/LocationNameParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/CapabilitySetsList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilitySets/{capabilitySetName}": { "get": { "tags": [ "LocationBasedCapability" ], "operationId": "LocationBasedCapabilitySet_Get", "x-ms-examples": { "CapabilityResult": { "$ref": "./examples/CapabilitySetByLocation.json" } }, "description": "Get capabilities at specified location in a given subscription.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "./common-types/v1/common-types.json#/parameters/LocationNameParameter" }, { "name": "capabilitySetName", "in": "path", "required": true, "description": "Name of capability set", "type": "string", "default": "default", "pattern": "^[a-z0-9][-a-z0-9]*(?