Share via


ArmNetworkModelFactory.NetworkSecurityRulesEvaluationResult Method

Definition

Initializes a new instance of NetworkSecurityRulesEvaluationResult.

public static Azure.ResourceManager.Network.Models.NetworkSecurityRulesEvaluationResult NetworkSecurityRulesEvaluationResult (string name = default, bool? protocolMatched = default, bool? sourceMatched = default, bool? sourcePortMatched = default, bool? destinationMatched = default, bool? destinationPortMatched = default);
static member NetworkSecurityRulesEvaluationResult : string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Network.Models.NetworkSecurityRulesEvaluationResult
Public Shared Function NetworkSecurityRulesEvaluationResult (Optional name As String = Nothing, Optional protocolMatched As Nullable(Of Boolean) = Nothing, Optional sourceMatched As Nullable(Of Boolean) = Nothing, Optional sourcePortMatched As Nullable(Of Boolean) = Nothing, Optional destinationMatched As Nullable(Of Boolean) = Nothing, Optional destinationPortMatched As Nullable(Of Boolean) = Nothing) As NetworkSecurityRulesEvaluationResult

Parameters

name
String

Name of the network security rule.

protocolMatched
Nullable<Boolean>

Value indicating whether protocol is matched.

sourceMatched
Nullable<Boolean>

Value indicating whether source is matched.

sourcePortMatched
Nullable<Boolean>

Value indicating whether source port is matched.

destinationMatched
Nullable<Boolean>

Value indicating whether destination is matched.

destinationPortMatched
Nullable<Boolean>

Value indicating whether destination port is matched.

Returns

A new NetworkSecurityRulesEvaluationResult instance for mocking.

Applies to