简体   繁体   中英

Has Azure exposed apis to enable the resources creation in azure portal?

Has Azure exposed apis to enable the resources creation in azure portal?

I want to create a azure bot service through APIs from a different UI other than azure portal.

I want to create a azure bot service through APIs from a different UI other than azure portal.

It seems that you'd like to programmatically create BotService instead of creating it on Azure portal manually, if that is the case, you can try to use the following API:

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}?api-version=2018-02-01

For more information about this API, you can check the API documentation: Deployments - Create Or Update .

Besides, Microsoft.Azure.Management.ResourceManager provides resource group and resource management capabilities for Microsoft Azure, you can use this client library with ARM template and parameters to create BotService programmatically.

To quickly get template and sample code in .NET for deploying BotService, you can go Azure portal to create a new Bot Service and click Automation options , then you can Download the template and find the .NET code sample.

在此输入图像描述

Yes, here is the Azure REST API Reference:

https://docs.microsoft.com/en-us/rest/api/azure/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM