InstancePoolPlacementPrimarySubnet

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

Bases: object

Details about the IPv6 primary subnet.

Methods

__init__(**kwargs) Initializes a new InstancePoolPlacementPrimarySubnet 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 InstancePoolPlacementPrimarySubnet.
is_assign_ipv6_ip Gets the is_assign_ipv6_ip of this InstancePoolPlacementPrimarySubnet.
subnet_id [Required] Gets the subnet_id of this InstancePoolPlacementPrimarySubnet.
__init__(**kwargs)

Initializes a new InstancePoolPlacementPrimarySubnet 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 InstancePoolPlacementPrimarySubnet.
  • 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 InstancePoolPlacementPrimarySubnet.
  • subnet_id (str) – The value to assign to the subnet_id property of this InstancePoolPlacementPrimarySubnet.
ipv6_address_ipv6_subnet_cidr_pair_details

Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this InstancePoolPlacementPrimarySubnet. 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 InstancePoolPlacementPrimarySubnet.
Return type:list[oci.core.models.InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails]
is_assign_ipv6_ip

Gets the is_assign_ipv6_ip of this InstancePoolPlacementPrimarySubnet. 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 InstancePoolPlacementPrimarySubnet.
Return type:bool
subnet_id

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

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