UpdatePrivateIpDetails

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

Bases: object

UpdatePrivateIpDetails model.

__init__(**kwargs)

Initializes a new UpdatePrivateIpDetails 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 UpdatePrivateIpDetails.
  • display_name (str) -- The value to assign to the display_name property of this UpdatePrivateIpDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this UpdatePrivateIpDetails.
  • hostname_label (str) -- The value to assign to the hostname_label property of this UpdatePrivateIpDetails.
  • vnic_id (str) -- The value to assign to the vnic_id property of this UpdatePrivateIpDetails.
defined_tags

Gets the defined_tags of this UpdatePrivateIpDetails. 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 UpdatePrivateIpDetails.
Return type:dict(str, dict(str, object))
display_name

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

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

Gets the freeform_tags of this UpdatePrivateIpDetails. 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 UpdatePrivateIpDetails.
Return type:dict(str, str)
hostname_label

Gets the hostname_label of this UpdatePrivateIpDetails. 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, bminstance-1 in FQDN bminstance-1.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: bminstance-1

Returns:The hostname_label of this UpdatePrivateIpDetails.
Return type:str
vnic_id

Gets the vnic_id of this UpdatePrivateIpDetails. The OCID of the VNIC to reassign the private IP to. The VNIC must be in the same subnet as the current VNIC.

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