- Notifications
You must be signed in to change notification settings - Fork15
Samples on how call a REST endpoint using Azure SQL Database
License
Azure-Samples/azure-sql-db-invoke-external-rest-endpoints
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
page_type | languages | products | urlFragment | name | description | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
sample |
|
| azure-sql-db-invoke-external-rest-endpoints | Call REST endpoints from Azure SQL database | sp_invoke_external_rest_endpoint is a system stored procedure that allows native invocation of an HTTPS REST endpoint from Azure SQL DB. |
sp_invoke_external_rest_endpoint
is a system stored procedure that allows native invocation of an HTTPS REST endpoint from Azure SQL DB.
For full details on this stored procedure, please take a look at the official documentation here:sp_invoke_external_rest_endpoint (Transact-SQL)
Samples are made available via Jupyter Notebook, natively supported by GitHub and also byAzure Data Studio
These samples and workshops show how you can call Azure OpenAI to get text embeddings and then find similar text using cosine similarity.
- Vector similarity search with Azure SQL & Azure OpenAI
- Build new AI applications with Azure SQL Database
- Use Azure SQL DB and REST endpoints to enable AI content moderation
More on Azure SQL and AI can be foundhere.
In the provided notebook you can find samples on how to invoke anAzure Function using aHTTP Trigger:
- Invoke a public (or anonymous) Azure Function
- Invoke an Azure Function protected by a secret key
- Invoke an Azure Function protected by Azure AD
The notebook contains samples on how to send messages toAzure Event Hubs:
- Send events using a SAS Token
- Send events using a Managed Identity
The notebook shows how DAX queries can be executed from Azure SQL DB using theexecuteQueries
REST endpoint provided by Power BI datasets
- Execute DAX queries in Power BI
The notebook shows how to send data back and forth between an Azure Cognitive services, configured to perform Anomaly Detection.
Work in progress
Work in progress
The notebook contains samples on how to invoke an HTTPS REST endpoint no matter if it is residing in Azure or in any other cloud or hosting platform, by securely publishing and API usingAzure API Management
- Call an external REST endpoint using API Management
This notebook has examples on working with Azure Blob Storage with SAS tokens and Managed Identities. Use the REST APIs for creating files, containers and then reading them back.
Do you want to contribute adding a sample? Do you see something missing or incorrect? Please help this repository to grow, and submit an issue or fork it a submit a Pull Request. Details on how to contribute can be found here:Contributing
About
Samples on how call a REST endpoint using Azure SQL Database
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.