Udostępnij za pośrednictwem


ArmNetworkModelFactory.IdpsSignatureResult Method

Definition

Initializes a new instance of IdpsSignatureResult.

public static Azure.ResourceManager.Network.Models.IdpsSignatureResult IdpsSignatureResult (int? signatureId = default, Azure.ResourceManager.Network.Models.FirewallPolicyIdpsSignatureMode? mode = default, Azure.ResourceManager.Network.Models.FirewallPolicyIdpsSignatureSeverity? severity = default, Azure.ResourceManager.Network.Models.FirewallPolicyIdpsSignatureDirection? direction = default, string group = default, string description = default, string protocol = default, System.Collections.Generic.IEnumerable<string> sourcePorts = default, System.Collections.Generic.IEnumerable<string> destinationPorts = default, string lastUpdated = default, bool? inheritedFromParentPolicy = default);
static member IdpsSignatureResult : Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.FirewallPolicyIdpsSignatureMode> * Nullable<Azure.ResourceManager.Network.Models.FirewallPolicyIdpsSignatureSeverity> * Nullable<Azure.ResourceManager.Network.Models.FirewallPolicyIdpsSignatureDirection> * string * string * string * seq<string> * seq<string> * string * Nullable<bool> -> Azure.ResourceManager.Network.Models.IdpsSignatureResult
Public Shared Function IdpsSignatureResult (Optional signatureId As Nullable(Of Integer) = Nothing, Optional mode As Nullable(Of FirewallPolicyIdpsSignatureMode) = Nothing, Optional severity As Nullable(Of FirewallPolicyIdpsSignatureSeverity) = Nothing, Optional direction As Nullable(Of FirewallPolicyIdpsSignatureDirection) = Nothing, Optional group As String = Nothing, Optional description As String = Nothing, Optional protocol As String = Nothing, Optional sourcePorts As IEnumerable(Of String) = Nothing, Optional destinationPorts As IEnumerable(Of String) = Nothing, Optional lastUpdated As String = Nothing, Optional inheritedFromParentPolicy As Nullable(Of Boolean) = Nothing) As IdpsSignatureResult

Parameters

signatureId
Nullable<Int32>

The ID of the signature.

mode
Nullable<FirewallPolicyIdpsSignatureMode>

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

severity
Nullable<FirewallPolicyIdpsSignatureSeverity>

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

direction
Nullable<FirewallPolicyIdpsSignatureDirection>

Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound.

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
IEnumerable<String>

Describes the list of source ports related to this signature.

destinationPorts
IEnumerable<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.

Returns

A new IdpsSignatureResult instance for mocking.

Applies to