SecurityUserRule Class  
Network security user rule.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
SecurityUserRule(*, description: str | None = None, protocol: str | _models.SecurityConfigurationRuleProtocol | None = None, sources: List[_models.AddressPrefixItem] | None = None, destinations: List[_models.AddressPrefixItem] | None = None, source_port_ranges: List[str] | None = None, destination_port_ranges: List[str] | None = None, direction: str | _models.SecurityConfigurationRuleDirection | None = None, **kwargs: Any)Keyword-Only Parameters
| Name | Description | 
|---|---|
| description | A description for this rule. Default value: None | 
| protocol | Network protocol this rule applies to. Known values are: "Tcp", "Udp", "Icmp", "Esp", "Any", and "Ah". Default value: None | 
| sources | The CIDR or source IP ranges. Default value: None | 
| destinations | The destination address prefixes. CIDR or destination IP ranges. Default value: None | 
| source_port_ranges | The source port ranges. Default value: None | 
| destination_port_ranges | The destination port ranges. Default value: None | 
| direction | Indicates if the traffic matched against the rule in inbound or outbound. Known values are: "Inbound" and "Outbound". Default value: None | 
Variables
| Name | Description | 
|---|---|
| id | Resource ID. | 
| name | Resource name. | 
| type | Resource type. | 
| etag | A unique read-only string that changes whenever the resource is updated. | 
| system_data | The system metadata related to this resource. | 
| description | A description for this rule. | 
| protocol | Network protocol this rule applies to. Known values are: "Tcp", "Udp", "Icmp", "Esp", "Any", and "Ah". | 
| sources | The CIDR or source IP ranges. | 
| destinations | The destination address prefixes. CIDR or destination IP ranges. | 
| source_port_ranges | The source port ranges. | 
| destination_port_ranges | The destination port ranges. | 
| direction | Indicates if the traffic matched against the rule in inbound or outbound. Known values are: "Inbound" and "Outbound". | 
| provisioning_state | The provisioning state of the security configuration user rule resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". | 
| resource_guid | Unique identifier for this resource. |