AddNetworkSecurityGroupSecurityRulesDetails

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

Bases: object

AddNetworkSecurityGroupSecurityRulesDetails model.

Methods

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

Attributes

security_rules Gets the security_rules of this AddNetworkSecurityGroupSecurityRulesDetails.
__init__(**kwargs)

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

Parameters:security_rules (list[oci.core.models.AddSecurityRuleDetails]) – The value to assign to the security_rules property of this AddNetworkSecurityGroupSecurityRulesDetails.
security_rules

Gets the security_rules of this AddNetworkSecurityGroupSecurityRulesDetails. An array of security rules to add to the NSG. You can add up to 25 rules in a single AddNetworkSecurityGroupSecurityRules operation. Adding more than 25 rules requires multiple operations.

Returns:The security_rules of this AddNetworkSecurityGroupSecurityRulesDetails.
Return type:list[oci.core.models.AddSecurityRuleDetails]