Azure堆栈结算 [英] Azure Stack Billing
问题描述
我在powershell中使用下面的命令来获取Azure Stack聚合
账单报告
Get-UsageAggregates -ReportedStartTime" 7-30-2018" -ReportedEndTime" 8-1-2018"
但是在输出中我只得到 Usages Start Usages End and数量
报告。
But in output I am getting only Usages Start Usages End and Quantity report.
我在输出中的期望是用法开始,用法结束,名称,仪表类别,仪表名称和数量。
我希望输出中包含所有这些字段。
What I am expecting in output is Usages Start ,Usages End ,Name ,Meter category ,Meter Name and Quantity . I want all these field in output.
是否有 powershell命令来获取所有这些字段。
Is there any powershell command to get all these field.
任何人都可以帮我解决这个问题。!!
Can anyone help me to solve this issue.!!
推荐答案
你好,
您可以通过
API调用参考 你可以使用
来调用PowerShell中的API
Invoke-RestMethod
请参阅:
Please see:
-
提供商使用API < li style ="margin:0px;颜色:#222222;行高:正常; FONT-FAMILY:"宋体",无衬线;字体大小:11磅;字体风格:正常; font-weight:700">
Invoke-RestMethod
让我们知道它是怎么回事
对于给您带来的任何不便,我们深表歉意,并感谢您对Azure Stack的时间和兴趣。
如果您遇到Azure Stack或当前ASDK版本的任何问题,请随时与我们联系。
  ;
谢谢
Thanks
这篇关于Azure堆栈结算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!