BulkUpdatePrivateIpItem¶
-
class
oci.core.models.BulkUpdatePrivateIpItem(**kwargs)¶ Bases:
objectsecondary private IPv4 address object to update as part of bulk update.
Attributes
LIFETIME_EPHEMERALA constant which can be used with the lifetime property of a BulkUpdatePrivateIpItem. LIFETIME_RESERVEDA constant which can be used with the lifetime property of a BulkUpdatePrivateIpItem. defined_tagsGets the defined_tags of this BulkUpdatePrivateIpItem. display_nameGets the display_name of this BulkUpdatePrivateIpItem. freeform_tagsGets the freeform_tags of this BulkUpdatePrivateIpItem. hostname_labelGets the hostname_label of this BulkUpdatePrivateIpItem. lifetimeGets the lifetime of this BulkUpdatePrivateIpItem. private_ip_id[Required] Gets the private_ip_id of this BulkUpdatePrivateIpItem. route_table_idGets the route_table_id of this BulkUpdatePrivateIpItem. Methods
__init__(**kwargs)Initializes a new BulkUpdatePrivateIpItem object with values from keyword arguments. -
LIFETIME_EPHEMERAL= 'EPHEMERAL'¶ A constant which can be used with the lifetime property of a BulkUpdatePrivateIpItem. This constant has a value of “EPHEMERAL”
-
LIFETIME_RESERVED= 'RESERVED'¶ A constant which can be used with the lifetime property of a BulkUpdatePrivateIpItem. This constant has a value of “RESERVED”
-
__init__(**kwargs)¶ Initializes a new BulkUpdatePrivateIpItem object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - private_ip_id (str) – The value to assign to the private_ip_id property of this BulkUpdatePrivateIpItem.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BulkUpdatePrivateIpItem.
- display_name (str) – The value to assign to the display_name property of this BulkUpdatePrivateIpItem.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BulkUpdatePrivateIpItem.
- hostname_label (str) – The value to assign to the hostname_label property of this BulkUpdatePrivateIpItem.
- lifetime (str) – The value to assign to the lifetime property of this BulkUpdatePrivateIpItem. Allowed values for this property are: “EPHEMERAL”, “RESERVED”
- route_table_id (str) – The value to assign to the route_table_id property of this BulkUpdatePrivateIpItem.
Gets the defined_tags of this BulkUpdatePrivateIpItem. 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 BulkUpdatePrivateIpItem. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this BulkUpdatePrivateIpItem. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this BulkUpdatePrivateIpItem. Return type: str
Gets the freeform_tags of this BulkUpdatePrivateIpItem. 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 BulkUpdatePrivateIpItem. Return type: dict(str, str)
-
hostname_label¶ Gets the hostname_label of this BulkUpdatePrivateIpItem. The hostname for the private IP. Used for DNS. The value is the hostname portion of the private IP’s fully qualified domain name (FQDN) (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
For more information, see DNS in Your Virtual Cloud Network.
Example: bminstance1
Returns: The hostname_label of this BulkUpdatePrivateIpItem. Return type: str
-
lifetime¶ Gets the lifetime of this BulkUpdatePrivateIpItem. 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 BulkUpdatePrivateIpItem. Return type: str
-
private_ip_id¶ [Required] Gets the private_ip_id of this BulkUpdatePrivateIpItem. The OCID of the secondary Private IP.
Returns: The private_ip_id of this BulkUpdatePrivateIpItem. Return type: str
-
route_table_id¶ Gets the route_table_id of this BulkUpdatePrivateIpItem. 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 BulkUpdatePrivateIpItem. Return type: str
-