NetworkSecurityGroupVnic

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

Bases: object

Information about a VNIC that belongs to a network security group.

__init__(**kwargs)

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

Parameters:
  • resource_id (str) -- The value to assign to the resource_id property of this NetworkSecurityGroupVnic.
  • time_associated (datetime) -- The value to assign to the time_associated property of this NetworkSecurityGroupVnic.
  • vnic_id (str) -- The value to assign to the vnic_id property of this NetworkSecurityGroupVnic.
resource_id

Gets the resource_id of this NetworkSecurityGroupVnic. The OCID of the parent resource that the VNIC is attached to (for example, a Compute instance).

Returns:The resource_id of this NetworkSecurityGroupVnic.
Return type:str
time_associated

Gets the time_associated of this NetworkSecurityGroupVnic. The date and time the VNIC was added to the network security group, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_associated of this NetworkSecurityGroupVnic.
Return type:datetime
vnic_id

[Required] Gets the vnic_id of this NetworkSecurityGroupVnic. The OCID of the VNIC.

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