Powershell上的Azure虚拟机大小信息 [英] Azure Virtual Machine Size Information on Powershell

查看:64
本文介绍了Powershell上的Azure虚拟机大小信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道Powershell上是否有任何方法(查询),除了角色大小名称外,还可以在Azure上检索/获取不同VM大小的规范.

I wondering if there are any method (query) on Powershell to retrieve/get the specs of the different VM sizes on Azure besides the Role Size Name.

我需要:内核和磁盘数量,RAM,S.O以及每月或每分钟的价格,欢迎其他信息:D.

I need: number of cores and disk, RAM, S.O, and the price per month or per min, any other information is welcome :D.

类似于图片所示:

推荐答案

尝试 Get-AzureRoleSize .这将为您提供所需的一些信息.它不包括定价,因为定价取决于许多其他因素,例如您拥有的订阅类型.

Try Get-AzureRoleSize. This will give you some of the information you're looking for. It won't include the pricing as pricing depends on a number of other factors like the kind of subscription you have.

这篇关于Powershell上的Azure虚拟机大小信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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