跳过导航

Instance Metadata Service includes support for zones and virtual machine scale sets

2018年3月14日

The 2017-12-01 version of Azure Instance Metadata Service is now available in global Azure regions.

This version has additional data about Availability Zones and virtual machine scale sets. With this update, applications can now know the Azure Availability Zones that the virtual machine is in. Your applications can use this data for replica placement and other high-availability configurations. In addition, if your instances are in a virtual machine scale set, your applications can now find the name of the scale set to fully construct the resource URL. 

Try it now by calling curl -H Metadata:true "http://169.254.169.254/metadata/instance?api-version=2017-12-01" from your virtual machine. 

To learn more, see the latest documentation about the service.

免费帐户

免费获得 $200 的 Azure 额度和 12 个月的常见服务使用权。

免费开始

Visual Studio

订阅者每年可获得高达 $1800 的 Azure 服务

立即激活

初创企业

加入 Microsoft 初创企业用户行列,获得免费的 Azure 服务

了解更多