You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ In the provided notebook you can find samples on how to invoke an [Azure Functio
18
18
19
19
### [Azure Event Hubs](./azure-event-hubs.ipynb)
20
20
21
-
The sample notebook contains samples on how to send messages to [Azure Event Hubs](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about):
21
+
The notebook contains samples on how to send messages to [Azure Event Hubs](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about):
22
22
23
23
- Send events using a SAS Token
24
24
- Send events using a Managed Identity
@@ -43,9 +43,11 @@ Work in progress
43
43
44
44
Work in progress
45
45
46
-
### [Azure API Management]
46
+
### [Azure API Management](./azure-api-management.ipynb)
47
47
48
-
Work in progress
48
+
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 using [Azure API Management](https://learn.microsoft.com/en-us/azure/api-management/)
49
+
50
+
- Call an external REST endpoint using API Management
"# Call an REST API published via API Management\r\n",
20
+
"\r\n",
21
+
"Make sure you have create an API Management instance. If you need help, follow the Getting Started guide here: [Create a new Azure API Management service instance by using the Azure portal](https://learn.microsoft.com/en-us/azure/api-management/get-started-create-service-instance)\r\n",
22
+
"\r\n",
23
+
"As an example of an API not residing in Azure that you can call, you may use the [NIST Certified cryptographically secure random number generator](https://csrng.net/) API, that are available here: https://csrng.net/csrng/csrng.php\r\n",
"The HTTPS REST API is not in an domain that is allowed for `sp_invoke_external_rest_endpoint` usage. See the allowed list of endpoints here: [Allowed Endpoints](https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql?view=azuresqldb-current&tabs=request-headers#allowed-endpoints)\r\n",
34
+
"\r\n",
35
+
"In order to make the NIST endpoint available to be used by `sp_invoke_external_rest_endpoint`, it must published using Azure API Management.\r\n",
36
+
"\r\n",
37
+
"In the next samples is assumed that the API Management instance is deployed at https://external.azure-api.net and that the NIST API has been published at the `/random` path. \r\n",
38
+
"\r\n",
39
+
"Once the API is published, get the Subscription key you can use to call the created API and store it into a Database Scoped Credential\r\n",
0 commit comments