RemoveIpv4SubnetCidrDetails

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

Bases: object

Details object for removing an IPv4 prefix from a subnet.

Methods:

__init__(**kwargs)

Initializes a new RemoveIpv4SubnetCidrDetails object with values from keyword arguments.

Attributes:

ipv4_cidr_block

[Required] Gets the ipv4_cidr_block of this RemoveIpv4SubnetCidrDetails.

__init__(**kwargs)

Initializes a new RemoveIpv4SubnetCidrDetails 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 RemoveIpv4SubnetCidrDetails.

property ipv4_cidr_block

[Required] Gets the ipv4_cidr_block of this RemoveIpv4SubnetCidrDetails. This field should only be specified when removing an IPv4 prefix from a subnet’s IPv4 address space. The CIDR must maintain the following rules -

  1. The CIDR block is valid and correctly formatted.

  2. The CIDR range is within one of the parent VCN ranges.

  3. The CIDR range to be removed is already present in the list of ipv4CidrBlocks

Example: 10.0.1.0/24

Returns

The ipv4_cidr_block of this RemoveIpv4SubnetCidrDetails.

Return type

str