NetworkSecurityRule Class
A Network Security Rule within a Network Security Group.
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
| Name | Description | |
|---|---|---|
![]() | NetworkSecurityRule() | Initializes a new instance of the NetworkSecurityRule class. |
| Name | Description | |
|---|---|---|
![]() | Action | Required. Allow/Deny. Whether to allow or deny traffic. |
![]() | DestinationAddressPrefix | Required. CIDR value of Destination IP from which traffic is coming. You can specify star (*) to map all traffic or one of pre-defined TAGs. |
![]() | DestinationPortRange | Required. Destination Port (single port) or Destination Port Range (separated by “-“) or star (*) for all ports. All numbers are inclusive. Example: 80, 80-80, 80-81, * |
![]() | IsDefault | Required. Specified if this is a default Network Security Rule. |
![]() | Name | Required. Name of Rule. |
![]() | Priority | Required. Priority of the Rule. |
![]() | Protocol | Required. TCP, UDP, *. |
![]() | SourceAddressPrefix | Required. CIDR value of Source IP from which traffic is coming. You can specify star (*) to map all traffic or one of pre-defined TAGs |
![]() | SourcePortRange | Required. Source Port (single port) or Source Port Range (separated by “-“) or star (*) for all ports. All numbers are inclusive. Example: 80, 80-80, 80-81, * |
![]() | State | Required. The state of the Network Security Rule |
![]() | Type | Required. Type of Rule. Possible values: Inbound (to be evaluated against ingress traffic), Outbound (to be evaluated against egress traffic). |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


