NetworkSecurityGroup

class oci.lustre_file_storage.models.NetworkSecurityGroup(**kwargs)

Bases: object

A list of Network Security Group OCIDs associated with this Lustre file system. For more information about NSGs, see Security Rules.

Methods

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

Attributes

nsg_ids Gets the nsg_ids of this NetworkSecurityGroup.
__init__(**kwargs)

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

Parameters:nsg_ids (list[str]) – The value to assign to the nsg_ids property of this NetworkSecurityGroup.
nsg_ids

Gets the nsg_ids of this NetworkSecurityGroup. A list of Network Security Group OCIDs associated with this lustre file system. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the lustre file system from all NSGs. For more information about NSGs, see Security Rules.

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