Azure的PowerShell的:获取服务的公共虚拟IP [英] Azure Powershell: Get public virtual IP of service

查看:124
本文介绍了Azure的PowerShell的:获取服务的公共虚拟IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使用PowerShell中得到一个蔚蓝服务的公共虚拟IP(VIP)?

Is it possible to get the public virtual IP (VIP) of an azure service using powershell?

推荐答案

一种方法是使用Get-AzureEndpoint命令

One approach would be to use the Get-AzureEndpoint command

Get-AzureVM -Name "thevmname" -ServiceName "theservicename" | Get-AzureEndpoint | select { $_.Vip }

这篇关于Azure的PowerShell的:获取服务的公共虚拟IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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