以编程方式启用API管理REST API [英] Programatically enable API Management REST API
问题描述
来自kapil mangtani @kapilmangtani,通过Twitter
我正在为API管理服务(添加API,产品等)编写自动化脚本.我陷入一件事.是否有一种方法可以以编程方式启用API Management REST API(如此处https://msdn.microsoft.com/en-us/library/azure/dn776326.aspx#Entities
…)??我们可以通过编程方式创建令牌,但必须先启用API Management REST API.我该如何编程?请引导我使用正确的资源.谢谢
谢谢
@AzureSupport
From kapil mangtani @kapilmangtani via Twitter
Hi, I am writing automation scripts for API Management Service (adding APIs, products etc). I am stuck at one thing.Is there a way to programatically enable API Management REST API (as here https://msdn.microsoft.com/en-us/library/azure/dn776326.aspx#Entities
…)?? We can create tokens programatically but first API Management REST API has to be enabled. How can I do it programatically? Please guide me to right resources. Thanks
Thanks,
@AzureSupport
推荐答案
我建议您参考该链接,它可能会为您提供有关API Management REST API Sample的信息:
I would Suggest you to refer the link it may provide you the information on API Management REST API Sample :
https://github.com/Azure/api-management-samples/tree/master /restApiDemo
https://github.com/Azure/api-management -samples/blob/master/restApiDemo/APIMgtRESTAPIDemo/Program.cs
在我正在研究您的请求的同时,我会尽快回复您,并进行更新.
Mean while,i'm researching on your request,I will revert back to you with an update at the earliest.
衷心感谢您的耐心
此致
阿莎
这篇关于以编程方式启用API管理REST API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!