InstancePoolPlacementSecondaryVnicSubnet

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

Bases: object

The secondary VNIC object for the placement configuration for an instance pool.

Methods

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

Attributes

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

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this InstancePoolPlacementSecondaryVnicSubnet.
  • is_assign_ipv6_ip (bool) – The value to assign to the is_assign_ipv6_ip property of this InstancePoolPlacementSecondaryVnicSubnet.
  • 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 InstancePoolPlacementSecondaryVnicSubnet.
  • subnet_id (str) – The value to assign to the subnet_id property of this InstancePoolPlacementSecondaryVnicSubnet.
display_name

Gets the display_name of this InstancePoolPlacementSecondaryVnicSubnet. The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

Returns:The display_name of this InstancePoolPlacementSecondaryVnicSubnet.
Return type:str
ipv6_address_ipv6_subnet_cidr_pair_details

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

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

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

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