Share via


NetworkSecuritySetRuleParameters Members

Parameters supplied to the Set Network Security Rule operation.

The following tables list the members exposed by the NetworkSecuritySetRuleParameters type.

Public Constructors

  Name Description
  NetworkSecuritySetRuleParameters Initializes a new instance of the NetworkSecuritySetRuleParameters class.

Top

Public Properties

  Name Description
Action Required. Gets or sets Action. Allow/Deny. Whether to allow or deny traffic.
DestinationAddressPrefix Required. Gets or sets DestinationAddressPrefix. 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. Gets or sets 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, *
Priority Required. Gets or sets Priority. Value from 100 – 4096.
Protocol Required. Gets or sets Protocol. TCP, UDP, *.
SourceAddressPrefix Required. Gets or sets SourceAddressPrefix. 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. Gets or sets 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, *
Type Required. Gets or sets type of Rule. Possible values: Inbound (to be evaluated against ingress traffic), Outbound (to be evaluated against egress traffic).

Top

Public Methods

(see also Protected Methods)

  Name Description
Equals  (Inherited from Object)
GetHashCode  (Inherited from Object)
GetType  (Inherited from Object)
ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
Finalize  (Inherited from Object)
MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

NetworkSecuritySetRuleParameters Class
Microsoft.WindowsAzure.Management.Network.Models Namespace