Share via


NetworkSecuritySetRuleParameters Class

 

Parameters supplied to the Set Network Security Rule operation.

Namespace:   Microsoft.WindowsAzure.Management.Network.Models
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.Network.Models.NetworkSecuritySetRuleParameters

Syntax

public class NetworkSecuritySetRuleParameters
public ref class NetworkSecuritySetRuleParameters 
type NetworkSecuritySetRuleParameters = class end
Public Class NetworkSecuritySetRuleParameters

Constructors

Name Description
System_CAPS_pubmethod NetworkSecuritySetRuleParameters()

Initializes a new instance of the NetworkSecuritySetRuleParameters class.

Properties

Name Description
System_CAPS_pubproperty Action

Required. Gets or sets Action. Allow/Deny. Whether to allow or deny traffic.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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, *

System_CAPS_pubproperty Priority

Required. Gets or sets Priority. Value from 100 – 4096.

System_CAPS_pubproperty Protocol

Required. Gets or sets Protocol. TCP, UDP, *.

System_CAPS_pubproperty 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

System_CAPS_pubproperty 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, *

System_CAPS_pubproperty Type

Required. Gets or sets type of Rule. Possible values: Inbound (to be evaluated against ingress traffic), Outbound (to be evaluated against egress traffic).

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Management.Network.Models Namespace

Return to top