共用方式為


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 IpAllocationMethod 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

Applies to