亲爱的,
我想知道如何获取特定资源的所有参数,“获取”命令无法获取所有详细信息!
例如,我需要获取此公共(public)IP地址的IP
Get-AzResource -Name "PubIP"
Name : PubIP
ResourceGroupName : RG1
ResourceType : Microsoft.Network/publicIPAddresses
Location : centralus
ResourceId : /subscriptions/xxxxxx/Microsoft.Network/publicIPAddresses/PubIP
我已经尝试过
Get-AzResource -Name "PubIP" | Where-Object { $_.Scope -contains 'address' }
但也没用!
最佳答案
关于azure - 如何在 Azure PowerShell 中获取所有资源参数详细信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60536075/