Share via


SingleQueryResult Constructors

Definition

Overloads

SingleQueryResult()

Initializes a new instance of the SingleQueryResult class.

SingleQueryResult(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, String, String, IList<String>, IList<String>, String, Nullable<Boolean>)

Initializes a new instance of the SingleQueryResult class.

SingleQueryResult()

Initializes a new instance of the SingleQueryResult class.

public SingleQueryResult ();
Public Sub New ()

Applies to

SingleQueryResult(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, String, String, IList<String>, IList<String>, String, Nullable<Boolean>)

Initializes a new instance of the SingleQueryResult class.

public SingleQueryResult (int? signatureId = default, int? mode = default, int? severity = default, int? direction = default, string group = default, string description = default, string protocol = default, System.Collections.Generic.IList<string> sourcePorts = default, System.Collections.Generic.IList<string> destinationPorts = default, string lastUpdated = default, bool? inheritedFromParentPolicy = default);
new Microsoft.Azure.Management.Network.Models.SingleQueryResult : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * Nullable<bool> -> Microsoft.Azure.Management.Network.Models.SingleQueryResult
Public Sub New (Optional signatureId As Nullable(Of Integer) = Nothing, Optional mode As Nullable(Of Integer) = Nothing, Optional severity As Nullable(Of Integer) = Nothing, Optional direction As Nullable(Of Integer) = Nothing, Optional group As String = Nothing, Optional description As String = Nothing, Optional protocol As String = Nothing, Optional sourcePorts As IList(Of String) = Nothing, Optional destinationPorts As IList(Of String) = Nothing, Optional lastUpdated As String = Nothing, Optional inheritedFromParentPolicy As Nullable(Of Boolean) = Nothing)

Parameters

signatureId
Nullable<Int32>

The ID of the signature

mode
Nullable<Int32>

The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny

severity
Nullable<Int32>

Describes the severity of signature: 1 - Low, 2 - Medium, 3 - High

direction
Nullable<Int32>

Describes in which direction signature is being enforced: 0 - Inbound, 1 - OutBound, 2 - Bidirectional

group
String

Describes the groups the signature belongs to

description
String

Describes what is the signature enforces

protocol
String

Describes the protocol the signatures is being enforced in

sourcePorts
IList<String>

Describes the list of source ports related to this signature

destinationPorts
IList<String>

Describes the list of destination ports related to this signature

lastUpdated
String

Describes the last updated time of the signature (provided from 3rd party vendor)

inheritedFromParentPolicy
Nullable<Boolean>

Describes if this override is inherited from base policy or not

Applies to