CreateIpv6Details

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

Bases: object

CreateIpv6Details model.

__init__(**kwargs)

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

Parameters:
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateIpv6Details.
  • display_name (str) -- The value to assign to the display_name property of this CreateIpv6Details.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateIpv6Details.
  • ip_address (str) -- The value to assign to the ip_address property of this CreateIpv6Details.
  • is_internet_access_allowed (bool) -- The value to assign to the is_internet_access_allowed property of this CreateIpv6Details.
  • vnic_id (str) -- The value to assign to the vnic_id property of this CreateIpv6Details.
defined_tags

Gets the defined_tags of this CreateIpv6Details. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {"Operations": {"CostCenter": "42"}}

Returns:The defined_tags of this CreateIpv6Details.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateIpv6Details. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Returns:The display_name of this CreateIpv6Details.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateIpv6Details. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {"Department": "Finance"}

Returns:The freeform_tags of this CreateIpv6Details.
Return type:dict(str, str)
ip_address

Gets the ip_address of this CreateIpv6Details. An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId.

Example: 2001:0db8:0123:1111:abcd:ef01:2345:6789

Returns:The ip_address of this CreateIpv6Details.
Return type:str
is_internet_access_allowed

Gets the is_internet_access_allowed of this CreateIpv6Details. Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is true, the IPv6 uses its public IP address for internet communication.

If isInternetAccessAllowed is set to false, the resulting publicIpAddress attribute for the Ipv6 is null.

Example: true

Returns:The is_internet_access_allowed of this CreateIpv6Details.
Return type:bool
vnic_id

[Required] Gets the vnic_id of this CreateIpv6Details. The OCID of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet.

Returns:The vnic_id of this CreateIpv6Details.
Return type:str