{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-failoverdatabases","description":"SqlManagementClient","version":"2018-06-01-preview","base_url":"https://management.azure.com","endpoints":1,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api SqlManagementClient\n@base https://management.azure.com\n@version 2018-06-01-preview\n@auth OAuth2\n@endpoints 1\n@toc subscriptions(1)\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover\n@desc Failovers a database.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., databaseName: any # The name of the database to failover., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@optional {replicaType: any # The type of replica to be failed over.}\n@returns(200) Successfully completed database failover.\n@returns(202) Database failover is in progress.\n\n@end\n"}