简体   繁体   English

Azure 信用余额

[英]Azure Credit Balance

I'm new to Azure API's and am trying to create a simple interface to grab the remaining credits on a handful of azure accounts that I manage.我是 Azure API 的新手,正在尝试创建一个简单的界面来获取我管理的少数 Azure 帐户的剩余积分。 I started doing this using vbs as that's the only language I'm really familiar with.我开始使用 vbs 来做这件事,因为这是我真正熟悉的唯一语言。 I ran into several issues with login pages and someone recommended using the Azure API.我遇到了登录页面的几个问题,有人建议使用 Azure API。

I've wandered into an area I'm wholly unfamiliar with.我走进了一个我完全不熟悉的领域。 From what I'm reading it's a relatively new interface as is and most people are unfamiliar with it.从我正在阅读的内容来看,它是一个相对较新的界面,大多数人都不熟悉它。 I've used the following sample:我使用了以下示例:

https://azure.microsoft.com/en-us/documentation/samples/billing-dotnet-usage-api/ https://azure.microsoft.com/en-us/documentation/samples/billing-dotnet-usage-api/

To be able to log into the account but from there I'm stuck really.为了能够登录帐户,但从那里我真的被卡住了。 The code provided just returns an empty "value[]" as a result.结果提供的代码只返回一个空的“value[]”。

I'm sort of at a loss.我有点不知所措。 I'm reading through the azure API resources on MSDN but most pages referencing credits are just telling you what you can spend credits on.我正在阅读 MSDN 上的 azure API 资源,但大多数引用积分的页面只是告诉您可以将积分用于哪些方面。

I've started browsing:我已经开始浏览了:

https://github.com/Azure https://github.com/Azure

Hoping to find something there but so far have turned up little in terms of just grabbing credits remaining.希望能在那里找到一些东西,但到目前为止,在获取剩余积分方面几乎没有出现。

I hope I'm making sense.我希望我说得有道理。 I hope I'm not overthinking this and someone can point me in the right direction.我希望我没有想太多,有人可以指出我正确的方向。

您可以访问https://www.microsoftazuresponsorships.com/Balance查看azure for students订阅的余额

You can find some samples of the Billing Rest API here:您可以在此处找到 Billing Rest API 的一些示例:

Get consumption data for an Azure subscription获取 Azure 订阅的消费数据

To see the balance and bills of Azure 1) Go to the Right top corner where your profile/icon/email is displayed.查看 Azure 的余额和账单 1) 转到显示您的个人资料/图标/电子邮件的右上角。 2) Click on the icon and select "View My Bill" 2) 点击图标并选择“查看我的账单”

From here you can get more information and Subscription wise details.从这里您可以获得更多信息和订阅明智的详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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