Ipv6¶
-
class
oci.vn_monitoring.models.
Ipv6
(**kwargs)¶ Bases:
object
An IPv6 is a conceptual term that refers to an IPv6 address and related properties. The IPv6 object is the API representation of an IPv6.
You can create and assign an IPv6 to any VNIC that is in an IPv6-enabled subnet in an IPv6-enabled VCN.
Note: IPv6 addressing is supported for all commercial and government regions. For important details about IPv6 addressing in a VCN, see IPv6 Addresses.
Attributes
LIFECYCLE_STATE_AVAILABLE
A constant which can be used with the lifecycle_state property of a Ipv6. LIFECYCLE_STATE_PROVISIONING
A constant which can be used with the lifecycle_state property of a Ipv6. LIFECYCLE_STATE_TERMINATED
A constant which can be used with the lifecycle_state property of a Ipv6. LIFECYCLE_STATE_TERMINATING
A constant which can be used with the lifecycle_state property of a Ipv6. compartment_id
[Required] Gets the compartment_id of this Ipv6. defined_tags
Gets the defined_tags of this Ipv6. display_name
[Required] Gets the display_name of this Ipv6. freeform_tags
Gets the freeform_tags of this Ipv6. id
[Required] Gets the id of this Ipv6. ip_address
[Required] Gets the ip_address of this Ipv6. lifecycle_state
[Required] Gets the lifecycle_state of this Ipv6. subnet_id
[Required] Gets the subnet_id of this Ipv6. time_created
[Required] Gets the time_created of this Ipv6. vnic_id
[Required] Gets the vnic_id of this Ipv6. Methods
__init__
(**kwargs)Initializes a new Ipv6 object with values from keyword arguments. -
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a Ipv6. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_PROVISIONING
= 'PROVISIONING'¶ A constant which can be used with the lifecycle_state property of a Ipv6. This constant has a value of “PROVISIONING”
-
LIFECYCLE_STATE_TERMINATED
= 'TERMINATED'¶ A constant which can be used with the lifecycle_state property of a Ipv6. This constant has a value of “TERMINATED”
-
LIFECYCLE_STATE_TERMINATING
= 'TERMINATING'¶ A constant which can be used with the lifecycle_state property of a Ipv6. This constant has a value of “TERMINATING”
-
__init__
(**kwargs)¶ Initializes a new Ipv6 object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this Ipv6.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Ipv6.
- display_name (str) – The value to assign to the display_name property of this Ipv6.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Ipv6.
- id (str) – The value to assign to the id property of this Ipv6.
- ip_address (str) – The value to assign to the ip_address property of this Ipv6.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Ipv6. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”
- subnet_id (str) – The value to assign to the subnet_id property of this Ipv6.
- time_created (datetime) – The value to assign to the time_created property of this Ipv6.
- vnic_id (str) – The value to assign to the vnic_id property of this Ipv6.
-
compartment_id
¶ [Required] Gets the compartment_id of this Ipv6. The OCID of the compartment containing the IPv6. This is the same as the VNIC’s compartment.
Returns: The compartment_id of this Ipv6. Return type: str
Gets the defined_tags of this Ipv6. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this Ipv6. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this Ipv6. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this Ipv6. Return type: str
Gets the freeform_tags of this Ipv6. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this Ipv6. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this Ipv6. The OCID of the IPv6.
Returns: The id of this Ipv6. Return type: str
-
ip_address
¶ [Required] Gets the ip_address of this Ipv6. The IPv6 address of the IPv6 object. The address is within the IPv6 CIDR block of the VNIC’s subnet (see the ipv6CidrBlock attribute for the
Subnet
object.Example: 2001:0db8:0123:1111:abcd:ef01:2345:6789
Returns: The ip_address of this Ipv6. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this Ipv6. The IPv6’s current state.
Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”
Returns: The lifecycle_state of this Ipv6. Return type: str
-
subnet_id
¶ [Required] Gets the subnet_id of this Ipv6. The OCID of the subnet the VNIC is in.
Returns: The subnet_id of this Ipv6. Return type: str
-