访问Gen2 REST API的示例代码 [英] Sample code to access Gen2 REST api

查看:81
本文介绍了访问Gen2 REST API的示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Gen2 api,我们有以下链接描述操作。



https://docs.microsoft.com/en-us/rest/api/storageservices/data-lake-storage-gen2



但确实如此不包括如何拨打每个电话的示例。



是否存在任何示例? (C#代码等)



如果是这样,请分享链接?



谢谢





解决方案

您好,


这些是数据湖存储gen2操作的 Rest API 。 REST API可以根据您的使用情况以任何方式以任何方式调用。例如 - 要从C#调用REST API,请按照以下步骤操作:


https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling -a-web-api-from-a-net-client


您基本上可以调用这些REST API并解析并使用客户端代码中的响应来定制您的用例。 / p>

希望这会有所帮助。



Hi,

for the Gen2 api, we have the following link describing the operations.

https://docs.microsoft.com/en-us/rest/api/storageservices/data-lake-storage-gen2

But it does not include examples of how to make each call.

Do any examples exist yet? (C# code, etc.)

If so can you please share the links?

Thanks


解决方案

Hi there,

These are the Rest APIs for the data lake storage gen2 operations. REST APIs can be invoked anywhere and in any way based on your use case. For example - To invoke REST APIs from C#, please follow this :

https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client

You can basically invoke these REST APIs and parse and use the responses in your client code to tailor to your use case.

Hope this helps.


这篇关于访问Gen2 REST API的示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆