{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-serverdnsaliases","description":"SqlManagementClient","version":"2017-03-01-preview","base_url":"https://management.azure.com","endpoints":5,"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-03-01-preview\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}\n@desc Gets a server DNS alias.\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 that the alias is pointing to., dnsAliasName: any # The name of the server DNS alias., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully retrieved the specified server DNS alias.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}\n@desc Creates a server dns alias.\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 that the alias is pointing to., dnsAliasName: any # The name of the server DNS alias., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) The server DNS alias already exists.\n@returns(201) Successfully created a server DNS alias.\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}\n@desc Deletes the server DNS alias with the given name.\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 that the alias is pointing to., dnsAliasName: any # The name of the server DNS alias., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully deleted the server DNS alias.\n@returns(202) Accepted\n@returns(204) The specified server DNS alias does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases\n@desc Gets a list of server DNS aliases for a server.\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 that the alias is pointing to., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully retrieved the list of server DNS aliases.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}/acquire\n@desc Acquires server DNS alias from another server.\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 that the alias is pointing to., dnsAliasName: any # The name of the server dns alias., parameters: map, subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully acquired server DNS alias.\n@returns(202) Accepted\n\n@end\n"}