| Server IP : 162.241.203.86 / Your IP : 216.73.216.183 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : luxlic01 ( 6532) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/core/models/ |
Upload File : |
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@init_model_state_from_kwargs
class InstancePoolPlacementSecondaryVnicSubnet(object):
"""
The secondary VNIC object for the placement configuration for an instance pool.
"""
def __init__(self, **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):
:param display_name:
The value to assign to the display_name property of this InstancePoolPlacementSecondaryVnicSubnet.
:type display_name: str
:param is_assign_ipv6_ip:
The value to assign to the is_assign_ipv6_ip property of this InstancePoolPlacementSecondaryVnicSubnet.
:type is_assign_ipv6_ip: bool
:param ipv6_address_ipv6_subnet_cidr_pair_details:
The value to assign to the ipv6_address_ipv6_subnet_cidr_pair_details property of this InstancePoolPlacementSecondaryVnicSubnet.
:type ipv6_address_ipv6_subnet_cidr_pair_details: list[oci.core.models.InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails]
:param subnet_id:
The value to assign to the subnet_id property of this InstancePoolPlacementSecondaryVnicSubnet.
:type subnet_id: str
"""
self.swagger_types = {
'display_name': 'str',
'is_assign_ipv6_ip': 'bool',
'ipv6_address_ipv6_subnet_cidr_pair_details': 'list[InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails]',
'subnet_id': 'str'
}
self.attribute_map = {
'display_name': 'displayName',
'is_assign_ipv6_ip': 'isAssignIpv6Ip',
'ipv6_address_ipv6_subnet_cidr_pair_details': 'ipv6AddressIpv6SubnetCidrPairDetails',
'subnet_id': 'subnetId'
}
self._display_name = None
self._is_assign_ipv6_ip = None
self._ipv6_address_ipv6_subnet_cidr_pair_details = None
self._subnet_id = None
@property
def display_name(self):
"""
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.
:return: The display_name of this InstancePoolPlacementSecondaryVnicSubnet.
:rtype: str
"""
return self._display_name
@display_name.setter
def display_name(self, display_name):
"""
Sets 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.
:param display_name: The display_name of this InstancePoolPlacementSecondaryVnicSubnet.
:type: str
"""
self._display_name = display_name
@property
def is_assign_ipv6_ip(self):
"""
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.
:return: The is_assign_ipv6_ip of this InstancePoolPlacementSecondaryVnicSubnet.
:rtype: bool
"""
return self._is_assign_ipv6_ip
@is_assign_ipv6_ip.setter
def is_assign_ipv6_ip(self, is_assign_ipv6_ip):
"""
Sets 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.
:param is_assign_ipv6_ip: The is_assign_ipv6_ip of this InstancePoolPlacementSecondaryVnicSubnet.
:type: bool
"""
self._is_assign_ipv6_ip = is_assign_ipv6_ip
@property
def ipv6_address_ipv6_subnet_cidr_pair_details(self):
"""
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.
:return: The ipv6_address_ipv6_subnet_cidr_pair_details of this InstancePoolPlacementSecondaryVnicSubnet.
:rtype: list[oci.core.models.InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails]
"""
return self._ipv6_address_ipv6_subnet_cidr_pair_details
@ipv6_address_ipv6_subnet_cidr_pair_details.setter
def ipv6_address_ipv6_subnet_cidr_pair_details(self, ipv6_address_ipv6_subnet_cidr_pair_details):
"""
Sets 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.
:param ipv6_address_ipv6_subnet_cidr_pair_details: The ipv6_address_ipv6_subnet_cidr_pair_details of this InstancePoolPlacementSecondaryVnicSubnet.
:type: list[oci.core.models.InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails]
"""
self._ipv6_address_ipv6_subnet_cidr_pair_details = ipv6_address_ipv6_subnet_cidr_pair_details
@property
def subnet_id(self):
"""
**[Required]** Gets the subnet_id of this InstancePoolPlacementSecondaryVnicSubnet.
The subnet `OCID`__ for the secondary VNIC.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:return: The subnet_id of this InstancePoolPlacementSecondaryVnicSubnet.
:rtype: str
"""
return self._subnet_id
@subnet_id.setter
def subnet_id(self, subnet_id):
"""
Sets the subnet_id of this InstancePoolPlacementSecondaryVnicSubnet.
The subnet `OCID`__ for the secondary VNIC.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param subnet_id: The subnet_id of this InstancePoolPlacementSecondaryVnicSubnet.
:type: str
"""
self._subnet_id = subnet_id
def __repr__(self):
return formatted_flat_dict(self)
def __eq__(self, other):
if other is None:
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
return not self == other