NetworkPolicy

class oci.identity.models.NetworkPolicy(**kwargs)

Bases: object

Network policy, which consists of a list of network source IDs.

Methods

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

Attributes

network_source_ids Gets the network_source_ids of this NetworkPolicy.
__init__(**kwargs)

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

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

Gets the network_source_ids of this NetworkPolicy. Network Source ids

Returns:The network_source_ids of this NetworkPolicy.
Return type:list[str]