CreatePrivateIpDetails

class oci.vn_monitoring.models.CreatePrivateIpDetails(**kwargs)

Bases: object

CreatePrivateIpDetails model.

Methods

__init__(**kwargs) Initializes a new CreatePrivateIpDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this CreatePrivateIpDetails.
display_name Gets the display_name of this CreatePrivateIpDetails.
freeform_tags Gets the freeform_tags of this CreatePrivateIpDetails.
hostname_label Gets the hostname_label of this CreatePrivateIpDetails.
ip_address Gets the ip_address of this CreatePrivateIpDetails.
vlan_id Gets the vlan_id of this CreatePrivateIpDetails.
vnic_id Gets the vnic_id of this CreatePrivateIpDetails.
__init__(**kwargs)

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

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

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

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

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

Gets the hostname_label of this CreatePrivateIpDetails. 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 CreatePrivateIpDetails.
Return type:str
ip_address

Gets the ip_address of this CreatePrivateIpDetails. A private IP 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 a private IP address from the subnet.

Example: 10.0.3.3

Returns:The ip_address of this CreatePrivateIpDetails.
Return type:str
vlan_id

Gets the vlan_id of this CreatePrivateIpDetails. Use this attribute only with the Oracle Cloud VMware Solution.

The OCID of the VLAN from which the private IP is to be drawn. The IP address, if supplied, must be valid for the given VLAN. See Vlan.

Returns:The vlan_id of this CreatePrivateIpDetails.
Return type:str
vnic_id

Gets the vnic_id of this CreatePrivateIpDetails. The OCID of the VNIC to assign the private IP to. The VNIC and private IP must be in the same subnet.

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