ArmNetworkModelFactory.EvaluatedNetworkSecurityGroup Method

Definition

Initializes a new instance of EvaluatedNetworkSecurityGroup.

public static Azure.ResourceManager.Network.Models.EvaluatedNetworkSecurityGroup EvaluatedNetworkSecurityGroup (Azure.Core.ResourceIdentifier networkSecurityGroupId = default, string appliedTo = default, Azure.ResourceManager.Network.Models.MatchedRule matchedRule = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkSecurityRulesEvaluationResult> rulesEvaluationResult = default);
static member EvaluatedNetworkSecurityGroup : Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.Network.Models.MatchedRule * seq<Azure.ResourceManager.Network.Models.NetworkSecurityRulesEvaluationResult> -> Azure.ResourceManager.Network.Models.EvaluatedNetworkSecurityGroup
Public Shared Function EvaluatedNetworkSecurityGroup (Optional networkSecurityGroupId As ResourceIdentifier = Nothing, Optional appliedTo As String = Nothing, Optional matchedRule As MatchedRule = Nothing, Optional rulesEvaluationResult As IEnumerable(Of NetworkSecurityRulesEvaluationResult) = Nothing) As EvaluatedNetworkSecurityGroup

Parameters

networkSecurityGroupId
ResourceIdentifier

Network security group ID.

appliedTo
String

Resource ID of nic or subnet to which network security group is applied.

matchedRule
MatchedRule

Matched network security rule.

rulesEvaluationResult
IEnumerable<NetworkSecurityRulesEvaluationResult>

List of network security rules evaluation results.

Returns

A new EvaluatedNetworkSecurityGroup instance for mocking.

Applies to