你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkAttachment.IPv4Address 属性

定义

虚拟机的 IPv4 地址。

仅当附加网络具有 IPV4 或 DualStack 的 IPAllocationType 时,才使用此字段。

如果 IPAllocationMethod 为:静态 - 此字段必须包含附加网络中指定的子网中的用户指定的 IPv4 地址。 动态 - 此字段是只读的,但将使用附加网络中指定的子网中的地址填充。 已禁用 - 此字段将为空。

public string IPv4Address { get; set; }
member this.IPv4Address : string with get, set
Public Property IPv4Address As String

属性值

适用于