ReservedIP

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

Bases: object

ReservedIP model.

Methods:

__init__(**kwargs)

Initializes a new ReservedIP object with values from keyword arguments.

Attributes:

id

Gets the id of this ReservedIP.

__init__(**kwargs)

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

Parameters

id (str) – The value to assign to the id property of this ReservedIP.

property id

Gets the id of this ReservedIP. Ocid of the Reserved IP/Public Ip created with VCN.

Reserved IPs are IPs which already registered using VCN API.

Create a reserved Public IP and then while creating the load balancer pass the ocid of the reserved IP in this field reservedIp to attach the Ip to Load balancer. Load balancer will be configured to listen to traffic on this IP.

Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer.

Example: “ocid1.publicip.oc1.phx.unique_ID”

IPV6 example: “ocid1.ipv6.oc1.phx.unique_ID”

Returns

The id of this ReservedIP.

Return type

str