InstancePoolPlacementSubnetDetails

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

Bases: object

Base details about the IPv6 subnet.

Methods

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

Attributes

ipv6_address_ipv6_subnet_cidr_pair_details Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this InstancePoolPlacementSubnetDetails.
is_assign_ipv6_ip Gets the is_assign_ipv6_ip of this InstancePoolPlacementSubnetDetails.
subnet_id [Required] Gets the subnet_id of this InstancePoolPlacementSubnetDetails.
__init__(**kwargs)

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

Parameters:
  • is_assign_ipv6_ip (bool) – The value to assign to the is_assign_ipv6_ip property of this InstancePoolPlacementSubnetDetails.
  • ipv6_address_ipv6_subnet_cidr_pair_details (list[oci.core.models.InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails]) – The value to assign to the ipv6_address_ipv6_subnet_cidr_pair_details property of this InstancePoolPlacementSubnetDetails.
  • subnet_id (str) – The value to assign to the subnet_id property of this InstancePoolPlacementSubnetDetails.
ipv6_address_ipv6_subnet_cidr_pair_details

Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this InstancePoolPlacementSubnetDetails. A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and OCI will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.

Returns:The ipv6_address_ipv6_subnet_cidr_pair_details of this InstancePoolPlacementSubnetDetails.
Return type:list[oci.core.models.InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails]
is_assign_ipv6_ip

Gets the is_assign_ipv6_ip of this InstancePoolPlacementSubnetDetails. Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.

Returns:The is_assign_ipv6_ip of this InstancePoolPlacementSubnetDetails.
Return type:bool
subnet_id

[Required] Gets the subnet_id of this InstancePoolPlacementSubnetDetails. The subnet OCID for the secondary VNIC.

Returns:The subnet_id of this InstancePoolPlacementSubnetDetails.
Return type:str