你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HasPrivateIpAddress Interface
public interface HasPrivateIpAddress
An interface representing a model's ability to reference a private IP address.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
privateIpAddress()
Gets the private IP address associated with this resource. |
abstract
Ip |
privateIpAllocationMethod()
Gets the private IP address allocation method within the associated subnet. |
Method Details
privateIpAddress
public abstract String privateIpAddress()
Gets the private IP address associated with this resource.
Returns:
the private IP address associated with this resource
privateIpAllocationMethod
public abstract IpAllocationMethod privateIpAllocationMethod()
Gets the private IP address allocation method within the associated subnet.
Returns:
the private IP address allocation method within the associated subnet