CreateIpv6Details

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

Bases: object

CreateIpv6Details model.

Attributes:

LIFETIME_EPHEMERAL

A constant which can be used with the lifetime property of a CreateIpv6Details.

LIFETIME_RESERVED

A constant which can be used with the lifetime property of a CreateIpv6Details.

cidr_prefix_length

Gets the cidr_prefix_length of this CreateIpv6Details.

defined_tags

Gets the defined_tags of this CreateIpv6Details.

display_name

Gets the display_name of this CreateIpv6Details.

freeform_tags

Gets the freeform_tags of this CreateIpv6Details.

hostname

Gets the hostname of this CreateIpv6Details.

ip_address

Gets the ip_address of this CreateIpv6Details.

ipv6_subnet_cidr

Gets the ipv6_subnet_cidr of this CreateIpv6Details.

lifetime

Gets the lifetime of this CreateIpv6Details. Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved.

route_table_id

Gets the route_table_id of this CreateIpv6Details.

subnet_id

Gets the subnet_id of this CreateIpv6Details.

vnic_id

Gets the vnic_id of this CreateIpv6Details.

Methods:

__init__(**kwargs)

Initializes a new CreateIpv6Details object with values from keyword arguments.

LIFETIME_EPHEMERAL = 'EPHEMERAL'

A constant which can be used with the lifetime property of a CreateIpv6Details. This constant has a value of “EPHEMERAL”

LIFETIME_RESERVED = 'RESERVED'

A constant which can be used with the lifetime property of a CreateIpv6Details. This constant has a value of “RESERVED”

__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.

  • cidr_prefix_length (int) – The value to assign to the cidr_prefix_length property of this CreateIpv6Details.

  • vnic_id (str) – The value to assign to the vnic_id property of this CreateIpv6Details.

  • subnet_id (str) – The value to assign to the subnet_id property of this CreateIpv6Details.

  • lifetime (str) – The value to assign to the lifetime property of this CreateIpv6Details. Allowed values for this property are: “EPHEMERAL”, “RESERVED”

  • route_table_id (str) – The value to assign to the route_table_id property of this CreateIpv6Details.

  • ipv6_subnet_cidr (str) – The value to assign to the ipv6_subnet_cidr property of this CreateIpv6Details.

  • hostname (str) – The value to assign to the hostname property of this CreateIpv6Details.

property cidr_prefix_length

Gets the cidr_prefix_length of this CreateIpv6Details. Length of cidr range. Optional field to specify flexible cidr.

Returns

The cidr_prefix_length of this CreateIpv6Details.

Return type

int

property 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))

property 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

property 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)

property hostname

Gets the hostname of this CreateIpv6Details. The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.

Returns

The hostname of this CreateIpv6Details.

Return type

str

property 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:DB8::

Returns

The ip_address of this CreateIpv6Details.

Return type

str

property ipv6_subnet_cidr

Gets the ipv6_subnet_cidr of this CreateIpv6Details. The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.

Returns

The ipv6_subnet_cidr of this CreateIpv6Details.

Return type

str

property lifetime

Gets the lifetime of this CreateIpv6Details. Lifetime of the IP address. There are two types of IPs:

  • Ephemeral

  • Reserved

Allowed values for this property are: “EPHEMERAL”, “RESERVED”

Returns

The lifetime of this CreateIpv6Details.

Return type

str

property route_table_id

Gets the route_table_id of this CreateIpv6Details. The OCID of the route table the IP address or VNIC will use. For more information, see Per-resource Routing.

Returns

The route_table_id of this CreateIpv6Details.

Return type

str

property subnet_id

Gets the subnet_id of this CreateIpv6Details. The OCID of the subnet from which the IPv6 is to be drawn. The IP address, if supplied, must be valid for the given subnet, only valid for reserved IPs currently.

Returns

The subnet_id of this CreateIpv6Details.

Return type

str

property vnic_id

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