please is there a way to connect to an external api from azure portal,
and if possible how can i create a flow that calls the api ,
get data and loads into an azure sql server table
Thanks.
Azure portal is the dashboard to maintain all your azure resources so you cannot connect to an external API from azure portal.
Either you need to have your custom application code that will call any of your external API and insert the data to azure SQL server using any of the supported languages and host in any of the azure services like azure function, webapps etc.
In case if you don't want to write any code then you can leverage the logic app to create the workflow with any of the supported triggers (timer trigger, HTTP trigger etc.)
To call the external API you can leverage the Native HTTP connector. Once you get the response from your external API you can leverage the SQL connector to insert the data.
Workflow:
Timmer Trigger --> Native HTTP connector --> SQL connector
Related
I have a requirement where a scheduler needs to be developed that would run once per day (preferably in .Net C# as console app), hosted on Azure. This scheduler will connect a Azure SQL DB, fetch data and post to an on-premise system. This system is some kind of application where it has REST web api available for posting data. I don't have experience in Azure and confused which service I should be using in Azure to host this scheduler and how it will connect to Azure SQL DB and then to the on-premise system via API.
I would say you can create that scheduler using Azure Logic Apps. You can create scheduler jobs using Azure Logic Apps workflows. Azure Logic Apps can connect to on-premises SQL Server data sources using a data gateway. It is possible to interact with workflows using REST API.
I have an on-premises data gateway service in Azure, which connects to an on-premises SQL Server (this is a standard Azure service, which can be configured).
When I am in the data gateway service in the Azure Portal, I can see that I can "Read and write data using logic apps" right off the bat.
How do I use my newly created on-premises SQL server gateway in Azure Data Factory? I have found some videos on how a gateway is set up, but this I have already done. I simply need to create a new data pipeline, where i make a COPY DATA activity, so I can copy data from this on-premises SQL server to a Cloud Azure SQL server using the gateway.
There is no such requirement to setup any kind of data gateway when accessing on-premises SQL Server using Azure Data Factory.
Azure Data Factory (ADF) makes it very easy to connect with on-premises SQL Server and copy the data to Cloud. You just simply need to create Self-hosted Integration Runtime (IR) in your local machine which will allow you to access the data. Refer this simple step-by-step official tutorial by Microsoft to Create and configure a self-hosted integration runtime.
Once your Self-hosted IR created, you just need to use ADF's Copy data tool and configure your source and destination settings. Use the self-hosted IR which you have created and run the pipeline.
Refer this detailed third-party tutorial to Copy data from On-premises data store to an Azure data store using Azure Data Factory. Easy step-by-step guidance is provided here.
I have been tasked with finding out if/how the Azure FHIR API or the Azure FHIR Open Source can be used in conjunction with an enterprise service bus? however I have found little to no information about these two together?
Below template helps to deploy Microsoft Open Source FHIR Server , can be found in the below URL.
https://github.com/Microsoft/fhir-server/blob/master/docs/DefaultDeployment.md
This process creates the instances Cosmos DB, Azure Web App, and source code using an Azure Resource Manager template.
To integrate the Azure FHIR with service bus, we can quickly integrate a FHIR server into our own application using the above template and Azure enables to quickly ingest and manage FHIR datasets in the cloud to track and manage data.
I want to send daily email with my application.
Background
My application has web.api which created .net core & published on Azure app api (Paas).
API has it's own authentication mechanism(JWT token) & it's used dependancy injection. It read configuration value ex. Database, Redis cache, bob storage connection string from Azure key vault
Solution
1)If i create new console application and set in web job. I have to do lot of coding for dependnecy injection and have to integrate azure valut.
2)Can i create web api in current api project but how to ensure security only azure web job can call api.
same question ::Securely calling a WebSite hosted Web API from an Azure WebJob
As you mentioned that we could use the Azure scheduled WebJob to send daily mail. Send mail demo code please refer to another SO thread.
Can i create web api in current api project but how to ensure security only azure web job can call api.
We need to use our authentication way to security our WebApi. And Azure also supply multiple ways to help us protect our WebApp. We can get more info about
Authentication and authorization for API Apps in Azure App Service from document.
I'm working with Azure Java API in Eclipse.
In my program, I get the Azure credentials from the user. In this way I can use for example the Blob storage service using the Java API for Azure.
But my problem is when I want to manage the data bases deployed in Azure SQL service. My question is if I can list the data bases that the user have created in his Azure account using the Java API and the Azure credentials.