是否可以通过Azure获得Azure订阅要约或offerId? [英] It is possible to get the Azure Subscription offer, or offerId with PowerShell?

查看:70
本文介绍了是否可以通过Azure获得Azure订阅要约或offerId?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Powershell获得Azure订阅要约或offerId?通过门户网站,这是订阅->属性->优惠还是优惠ID?

Is it possible to get Azure Subscription Offer, or offerId, using Powershell? Through the portal this would be Subscription -> properties -> Offer or offer ID?

我已经搜索了一段时间,但看不到.

I've been searching for a while, but I can't see it.

谢谢

推荐答案

现在可以使用类似以下查询的资源图资源管理器从门户网站完成此操作:

This can now be done from the Portal using the Resource Graph Explorer with a query similar to:

resourcecontainers
| where type == "microsoft.resources/subscriptions"
| project name, properties.subscriptionPolicies.quotaId

这篇关于是否可以通过Azure获得Azure订阅要约或offerId?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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