将删除的IP地址追溯回VM? [英] Tracking deleted IP address back to VM?
问题描述
我们正在使用Azure活动日志来跟踪Azure VM的。我试图找到方法来发现在活动日志中添加或删除虚拟机的IP地址,并遇到一些问题:
要回答您的第一个问题,您需要查看NIC的活动日志,其中您会看到说明创建或更新NIC的事件。您需要选择它并单击JSON以检查所做的确切请求。您可以看到请求正文找到
您所做的确切更改。
当您删除IP地址时,您应该已将IP与NIC取消关联,否则它会抛出IP仍然在使用的例外。所以它不会在那里显示任何NIC。
问候,
Msrini
We're using the Azure Activity Log to keep track of Azure VMs. I am trying to find ways to discover when IP addresses are added or removed from VMs in the activity log, and having some problems:
Hi,
To answer your first question, you need to look into the Activity Logs of the NIC where you see a event stating Create or Update NIC. You need to select that and click on JSON to check the exact request which is made. You can see the request body to find the exact change that you made.
When you delete the IP address, you should have disassociated the IP from the NIC or else it will throw an exception that the IP is still in use. So it will not show any NIC there.
Regards,
Msrini
这篇关于将删除的IP地址追溯回VM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!