AddIpv4SubnetCidrDetails

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

Bases: object

Details used when adding an IPv4 prefix to a subnet.

Methods

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

Attributes

ipv4_cidr_block [Required] Gets the ipv4_cidr_block of this AddIpv4SubnetCidrDetails.
__init__(**kwargs)

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

Parameters:ipv4_cidr_block (str) – The value to assign to the ipv4_cidr_block property of this AddIpv4SubnetCidrDetails.
ipv4_cidr_block

[Required] Gets the ipv4_cidr_block of this AddIpv4SubnetCidrDetails. The CIDR IP address range of the subnet. The CIDR must maintain the following rules -

  1. The CIDR block is valid and correctly formatted.
  2. The new range is within one of the parent VCN ranges.

Example: 10.0.1.0/24

Returns:The ipv4_cidr_block of this AddIpv4SubnetCidrDetails.
Return type:str