IpAddress

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

Bases: object

A load balancer IP address.

Methods

__init__(**kwargs) Initializes a new IpAddress object with values from keyword arguments.

Attributes

ip_address [Required] Gets the ip_address of this IpAddress.
is_public Gets the is_public of this IpAddress.
reserved_ip Gets the reserved_ip of this IpAddress.
__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.
  • reserved_ip (oci.network_load_balancer.models.ReservedIP) – The value to assign to the reserved_ip 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”, then the IP address is public and accessible from the internet.

If “false”, then the IP address is private and accessible only from within the associated virtual cloud network.

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

Gets the reserved_ip of this IpAddress.

Returns:The reserved_ip of this IpAddress.
Return type:oci.network_load_balancer.models.ReservedIP