Azure SDK : How do I get the public IP address of the current machine my software is running on at runtime?

标签 azure azure-sdk-.net

我正在尝试弄清楚如何使用 Azure SDK 在运行时捕获以下 IP 地址:

Azure SDK image

如何通过 Azure SDK 从该虚拟机上实际运行的软件中获取此信息。AWS SDK 有一个非常简单的静态方法来查找此信息。

最佳答案

也许是 Get Deployment操作会给你你需要的东西吗?

这在 Azure 中确实应该更容易......

关于Azure SDK : How do I get the public IP address of the current machine my software is running on at runtime?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30550975/

相关文章:

azure - 是否可以使用 Azure Kubernetes 服务或 Azure Service Fabric 来部署和管理本地 Kubernetes 集群?

azure - 只有一个实例可与 IIS7.5 上的 Azure October 2012 SDK 配合使用

c# - 如何在适用于 C# 的 Azure SDK 中使用仅获取 IList

azure - 多个 Azure 移动应用程序之间的通信?通过 HttpClient 还是不同的选项? (.Net 后端)

c# - 使用 Microsoft.Identity 与 Azure.Identity 对 Microsoft Graph 的守护进程调用

python - 使用 python SDK 创建 Azure VM 时添加 SSH key

c# - 关闭虚拟机会将所有虚拟机状态返回为未知

azure - 是否可以使用azure daemon App来操作OneNote?

c# - 同时针对云和自托管应用程序?

azure - 如何通过代码从 Azure Blob 存储中删除事件中心分区?