NetworkSecurityGroupRule Class
A network security group rule to apply to an inbound endpoint.
Constructor
NetworkSecurityGroupRule(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
priority
|
The priority for this rule. Required. |
|
access
|
The action that should be taken for a specified IP address, subnet range or tag. Required. Known values are: "Allow" and "Deny". |
|
source_address_prefix
|
The source address prefix or tag to match for the rule. Required. |
|
source_port_ranges
|
The source port ranges to match for the rule. |
Attributes
access
The action that should be taken for a specified IP address, subnet range or tag. Required. Known values are: "Allow" and "Deny".
access: str | _models.NetworkSecurityGroupRuleAccess
priority
The priority for this rule. Required.
priority: int
source_address_prefix
The source address prefix or tag to match for the rule. Required.
source_address_prefix: str
source_port_ranges
The source port ranges to match for the rule.
source_port_ranges: list[str] | None