Azure HTTP PowerShell Perform App
This text gives you a fundamental thought about find out how to create Azure Perform App to run powershell Scripts and return output in required format.
To create a Perform App it’s best to have an Azure subscription (Free or Paid).
After logging on to the touchdown web page, go to All Assets or Extra Providers (I chosen extra providers).
Choose Perform App.
Click on on Add, Perform App Particulars
1. |
Choose Subscription: (If you’re utilizing free path the choose Free Trial) |
|
2. |
Choose Useful resource Group (If already created choose Current or create new one) |
|
3. |
Give title to Perform App (In our case I’m giving title as “AZPnPSP” |
|
4. |
Choose Publish “Code” |
|
5. |
Choose Runtime Stack “.NET Core” |
|
6. |
Choose Model “3.1” |
|
7. |
Choose Area (Area close to to your areas) |
Click on on Overview + Create. On Overview web page evaluate all the data and click on on Create.
It can take about 5 minutes for deployment and creation of Perform App.
Click on on Go to Useful resource.
Click on on Basic Perform App Administration
To begin with we have to replace settings of Perform App, go to Platform Options then click on on Perform App Settings.
Set Runtime model to 1, it would take 30-60 seconds to replace.
Click on on Add New Perform then choose “create your personal customized operate”
On thw new Create your personal customized operate web page allow “Experimental Language Help”.
Beneath HTTP set off operate to pick PowerShell language to create new operate.
On Create New Perform display specify Perform title, Language to PowerShell, Authorization stage to “Perform”. Click on on Create.
As soon as Perform App is created, by default code is accessible which reads enter from physique, and print output.
Get Perform URL and use it in your software.