EffectiveNetworkSecurityRule Class

Effective network security rules.

Inheritance
EffectiveNetworkSecurityRule

Constructor

EffectiveNetworkSecurityRule(*, name: typing.Union[str, NoneType] = None, protocol: typing.Union[str, _ForwardRef('SecurityRuleProtocol'), NoneType] = None, source_port_range: typing.Union[str, NoneType] = None, destination_port_range: typing.Union[str, NoneType] = None, source_address_prefix: typing.Union[str, NoneType] = None, destination_address_prefix: typing.Union[str, NoneType] = None, expanded_source_address_prefix: typing.Union[typing.List[str], NoneType] = None, expanded_destination_address_prefix: typing.Union[typing.List[str], NoneType] = None, access: typing.Union[str, _ForwardRef('SecurityRuleAccess'), NoneType] = None, priority: typing.Union[int, NoneType] = None, direction: typing.Union[str, _ForwardRef('SecurityRuleDirection'), NoneType] = None, **kwargs)

Parameters

name
str

The name of the security rule specified by the user (if created by the user).

protocol
str or SecurityRuleProtocol

The network protocol this rule applies to. Possible values are: 'Tcp', 'Udp', and ''. Possible values include: "Tcp", "Udp", "".

source_port_range
str

The source port or range.

destination_port_range
str

The destination port or range.

source_address_prefix
str

The source address prefix.

destination_address_prefix
str

The destination address prefix.

expanded_source_address_prefix
list[str]

The expanded source address prefix.

expanded_destination_address_prefix
list[str]

Expanded destination address prefix.

access
str or SecurityRuleAccess

Whether network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'. Possible values include: "Allow", "Deny".

priority
int

The priority of the rule.

direction
str or SecurityRuleDirection

The direction of the rule. Possible values are: 'Inbound and Outbound'. Possible values include: "Inbound", "Outbound".