【问题标题】:Getting storage Account type for ARM Setup获取 ARM 设置的存储帐户类型
【发布时间】:2017-03-28 15:35:22
【问题描述】:

请帮助我获取用于 ARM 设置的存储帐户的帐户类型(即 LRS 或 GRS 或 ZRS )。 我已经运行 Get-Azurermstorageaccount ,但它没有公开任何方法来获得它。但是,我可以使用命令 Get-Azurestorageaccount 在 ASM 设置中获取帐户类型

【问题讨论】:

    标签: powershell azure azure-powershell


    【解决方案1】:

    请尝试使用此命令:

    PS C:\> (Get-AzureRmStorageAccount -ResourceGroupName back -Name "jasondisk321").Sku
    
           Name     Tier
           ----     ----
    StandardLRS Standard
    

    【讨论】:

    • 命令(Get-AzureRmStorageAccount -ResourceGroupName back -Name "jasondisk321").sku.Name 将得到standardLRS
    猜你喜欢
    • 2018-02-09
    • 2015-12-14
    • 1970-01-01
    • 2017-06-28
    • 2018-02-27
    • 2015-05-13
    • 2020-09-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多