{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-instancefailovergroups","description":"SqlManagementClient","version":"2017-10-01-preview","base_url":"https://management.azure.com","endpoints":6,"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 2017-10-01-preview\n@auth OAuth2\n@common_fields {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., locationName: any # The name of the region where the resource is located., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}\n@desc Gets a failover group.\n@required {failoverGroupName: any # The name of the failover group.}\n@returns(200) Successfully retrieved the specified failover group.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}\n@desc Creates or updates a failover group.\n@required {failoverGroupName: any # The name of the failover group., parameters: map # The failover group parameters.}\n@returns(200) Successfully updated the failover group.\n@returns(201) Successfully created the failover group.\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}\n@desc Deletes a failover group.\n@required {failoverGroupName: any # The name of the failover group.}\n@returns(200) Successfully deleted the failover group.\n@returns(202) Accepted\n@returns(204) The specified failover group does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups\n@desc Lists the failover groups in a location.\n@returns(200) Successfully retrieved the failover groups.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}/failover\n@desc Fails over from the current primary managed instance to this managed instance.\n@required {failoverGroupName: any # The name of the failover group.}\n@returns(200) Successfully failed over.\n@returns(202) Accepted\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}/forceFailoverAllowDataLoss\n@desc Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.\n@required {failoverGroupName: any # The name of the failover group.}\n@returns(200) Successfully failed over.\n@returns(202) Accepted\n\n@end\n"}