UpdateNetworkSecurityGroupsDetails

class oci.network_load_balancer.models.UpdateNetworkSecurityGroupsDetails(**kwargs)

Bases: object

An object representing an updated list of network security groups that overwrites the existing list of network security groups. * If the network load balancer has no configured network security groups, then the network load balancer uses the network security groups in this list. * If the network load balancer has a list of configured network security groups, then this list replaces the existing list. * If the network load balancer has a list of configured network security groups and this list is empty, then the operation removes all of the network security groups associated with the network load balancer.

Methods

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

Attributes

network_security_group_ids Gets the network_security_group_ids of this UpdateNetworkSecurityGroupsDetails.
__init__(**kwargs)

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

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

Gets the network_security_group_ids of this UpdateNetworkSecurityGroupsDetails. An array of network security group OCIDs associated with the network load balancer.

During the creation of the network load balancer, the service adds the new network load balancer to the specified network security groups.

The benefits of associating the network load balancer with network security groups include:

  • Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
  • The network security rules of other resources can reference the network security groups associated with the network load balancer to ensure access.
Returns:The network_security_group_ids of this UpdateNetworkSecurityGroupsDetails.
Return type:list[str]