AddPublicIpPoolCapacityDetails

class oci.core.models.AddPublicIpPoolCapacityDetails(**kwargs)

Bases: object

The information used to add capacity to an IP pool.

Methods:

__init__(**kwargs)

Initializes a new AddPublicIpPoolCapacityDetails object with values from keyword arguments.

Attributes:

byoip_range_id

[Required] Gets the byoip_range_id of this AddPublicIpPoolCapacityDetails.

cidr_block

[Required] Gets the cidr_block of this AddPublicIpPoolCapacityDetails.

__init__(**kwargs)

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

Parameters
  • byoip_range_id (str) – The value to assign to the byoip_range_id property of this AddPublicIpPoolCapacityDetails.

  • cidr_block (str) – The value to assign to the cidr_block property of this AddPublicIpPoolCapacityDetails.

property byoip_range_id

[Required] Gets the byoip_range_id of this AddPublicIpPoolCapacityDetails. The OCID of the ByoipRange resource to which the CIDR block belongs.

Returns

The byoip_range_id of this AddPublicIpPoolCapacityDetails.

Return type

str

property cidr_block

[Required] Gets the cidr_block of this AddPublicIpPoolCapacityDetails. The CIDR block to add to the public IP pool. It could be all of the CIDR block identified in byoipRangeId, or a subrange. Example: 10.0.1.0/24

Returns

The cidr_block of this AddPublicIpPoolCapacityDetails.

Return type

str