InstanceConfigurationAttachVnicDetails

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

Bases: object

InstanceConfigurationAttachVnicDetails model.

Methods

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

Attributes

create_vnic_details Gets the create_vnic_details of this InstanceConfigurationAttachVnicDetails.
display_name Gets the display_name of this InstanceConfigurationAttachVnicDetails.
nic_index Gets the nic_index of this InstanceConfigurationAttachVnicDetails.
__init__(**kwargs)

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

Parameters:
  • create_vnic_details (oci.core.models.InstanceConfigurationCreateVnicDetails) – The value to assign to the create_vnic_details property of this InstanceConfigurationAttachVnicDetails.
  • display_name (str) – The value to assign to the display_name property of this InstanceConfigurationAttachVnicDetails.
  • nic_index (int) – The value to assign to the nic_index property of this InstanceConfigurationAttachVnicDetails.
create_vnic_details

Gets the create_vnic_details of this InstanceConfigurationAttachVnicDetails.

Returns:The create_vnic_details of this InstanceConfigurationAttachVnicDetails.
Return type:oci.core.models.InstanceConfigurationCreateVnicDetails
display_name

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

Returns:The display_name of this InstanceConfigurationAttachVnicDetails.
Return type:str
nic_index

Gets the nic_index of this InstanceConfigurationAttachVnicDetails. Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).

Returns:The nic_index of this InstanceConfigurationAttachVnicDetails.
Return type:int