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

HasPublicIpAddress Interface

public interface HasPublicIpAddress

An interface representing a model's ability to reference a public IP address.

Method Summary

Modifier and Type Method and Description
abstract PublicIpAddress getPublicIpAddress()

Gets the associated public IP address.

abstract Mono<PublicIpAddress> getPublicIpAddressAsync()

Gets the associated public IP address.

abstract String publicIpAddressId()

Gets the resource ID of the associated public IP address.

Method Details

getPublicIpAddress

public abstract PublicIpAddress getPublicIpAddress()

Gets the associated public IP address.

Returns:

the associated public IP address

getPublicIpAddressAsync

public abstract Mono<PublicIpAddress> getPublicIpAddressAsync()

Gets the associated public IP address.

Returns:

the associated public IP address

publicIpAddressId

public abstract String publicIpAddressId()

Gets the resource ID of the associated public IP address.

Returns:

the resource ID of the associated public IP address

Applies to