InboundSecurityRules Class
Properties of the Inbound Security Rules resource.
- Inheritance
-
azure.mgmt.network._serialization.ModelInboundSecurityRules
Constructor
InboundSecurityRules(*, name: str | None = None, protocol: str | _models.InboundSecurityRulesProtocol | None = None, source_address_prefix: str | None = None, destination_port_range: int | None = None, destination_port_ranges: List[str] | None = None, applies_on: List[str] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
Name of the rule. |
protocol
|
Protocol. This should be either TCP or UDP. Known values are: "TCP" and "UDP". |
source_address_prefix
|
The CIDR or source IP range. |
destination_port_range
|
NVA port ranges to be opened up. One needs to provide specific ports. |
destination_port_ranges
|
NVA port ranges to be opened up. One can provide a range of ports. Allowed port value between 0 and 65535. |
applies_on
|
Public IP name in case of Permanent Rule type & Interface Name in case of Auto Expire Rule type. |
Variables
Name | Description |
---|---|
name
|
Name of the rule. |
protocol
|
Protocol. This should be either TCP or UDP. Known values are: "TCP" and "UDP". |
source_address_prefix
|
The CIDR or source IP range. |
destination_port_range
|
NVA port ranges to be opened up. One needs to provide specific ports. |
destination_port_ranges
|
NVA port ranges to be opened up. One can provide a range of ports. Allowed port value between 0 and 65535. |
applies_on
|
Public IP name in case of Permanent Rule type & Interface Name in case of Auto Expire Rule type. |
Azure SDK for Python