InstanceConfigurationCreateVnicDetails

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

Bases: object

Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.

Methods

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

Attributes

assign_public_ip Gets the assign_public_ip of this InstanceConfigurationCreateVnicDetails.
defined_tags Gets the defined_tags of this InstanceConfigurationCreateVnicDetails.
display_name Gets the display_name of this InstanceConfigurationCreateVnicDetails.
freeform_tags Gets the freeform_tags of this InstanceConfigurationCreateVnicDetails.
hostname_label Gets the hostname_label of this InstanceConfigurationCreateVnicDetails.
nsg_ids Gets the nsg_ids of this InstanceConfigurationCreateVnicDetails.
private_ip Gets the private_ip of this InstanceConfigurationCreateVnicDetails.
skip_source_dest_check Gets the skip_source_dest_check of this InstanceConfigurationCreateVnicDetails.
subnet_id Gets the subnet_id of this InstanceConfigurationCreateVnicDetails.
__init__(**kwargs)

Initializes a new InstanceConfigurationCreateVnicDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • assign_public_ip (bool) – The value to assign to the assign_public_ip property of this InstanceConfigurationCreateVnicDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this InstanceConfigurationCreateVnicDetails.
  • display_name (str) – The value to assign to the display_name property of this InstanceConfigurationCreateVnicDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this InstanceConfigurationCreateVnicDetails.
  • hostname_label (str) – The value to assign to the hostname_label property of this InstanceConfigurationCreateVnicDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this InstanceConfigurationCreateVnicDetails.
  • private_ip (str) – The value to assign to the private_ip property of this InstanceConfigurationCreateVnicDetails.
  • skip_source_dest_check (bool) – The value to assign to the skip_source_dest_check property of this InstanceConfigurationCreateVnicDetails.
  • subnet_id (str) – The value to assign to the subnet_id property of this InstanceConfigurationCreateVnicDetails.
assign_public_ip

Gets the assign_public_ip of this InstanceConfigurationCreateVnicDetails. Whether the VNIC should be assigned a public IP address. See the assignPublicIp attribute of CreateVnicDetails for more information.

Returns:The assign_public_ip of this InstanceConfigurationCreateVnicDetails.
Return type:bool
defined_tags

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

Gets the display_name of this InstanceConfigurationCreateVnicDetails. A user-friendly name for the VNIC. Does not have to be unique. Avoid entering confidential information.

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

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

Gets the hostname_label of this InstanceConfigurationCreateVnicDetails. The hostname for the VNIC’s primary private IP. See the hostnameLabel attribute of CreateVnicDetails for more information.

Returns:The hostname_label of this InstanceConfigurationCreateVnicDetails.
Return type:str
nsg_ids

Gets the nsg_ids of this InstanceConfigurationCreateVnicDetails. A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.

Returns:The nsg_ids of this InstanceConfigurationCreateVnicDetails.
Return type:list[str]
private_ip

Gets the private_ip of this InstanceConfigurationCreateVnicDetails. A private IP address of your choice to assign to the VNIC. See the privateIp attribute of CreateVnicDetails for more information.

Returns:The private_ip of this InstanceConfigurationCreateVnicDetails.
Return type:str
skip_source_dest_check

Gets the skip_source_dest_check of this InstanceConfigurationCreateVnicDetails. Whether the source/destination check is disabled on the VNIC. See the skipSourceDestCheck attribute of CreateVnicDetails for more information.

Returns:The skip_source_dest_check of this InstanceConfigurationCreateVnicDetails.
Return type:bool
subnet_id

Gets the subnet_id of this InstanceConfigurationCreateVnicDetails. The OCID of the subnet to create the VNIC in. See the subnetId attribute of CreateVnicDetails for more information.

Returns:The subnet_id of this InstanceConfigurationCreateVnicDetails.
Return type:str