IpAddress

class oci.load_balancer.models.IpAddress(**kwargs)

Bases: object

A load balancer IP address.

__init__(**kwargs)

Initializes a new IpAddress object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • ip_address (str) -- The value to assign to the ip_address property of this IpAddress.
  • is_public (bool) -- The value to assign to the is_public property of this IpAddress.
ip_address

[Required] Gets the ip_address of this IpAddress. An IP address.

Example: 192.168.0.3

Returns:The ip_address of this IpAddress.
Return type:str
is_public

Gets the is_public of this IpAddress. Whether the IP address is public or private.

If "true", the IP address is public and accessible from the internet.

If "false", the IP address is private and accessible only from within the associated VCN.

Returns:The is_public of this IpAddress.
Return type:bool