ContainerVnic

class oci.container_instances.models.ContainerVnic(**kwargs)

Bases: object

An interface to a virtual network available to containers on a container instance.

Methods

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

Attributes

vnic_id Gets the vnic_id of this ContainerVnic.
__init__(**kwargs)

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

Parameters:vnic_id (str) – The value to assign to the vnic_id property of this ContainerVnic.
vnic_id

Gets the vnic_id of this ContainerVnic. The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.

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