ArmNetworkModelFactory.NetworkSecurityGroupResult Method

Definition

Initializes a new instance of NetworkSecurityGroupResult.

public static Azure.ResourceManager.Network.Models.NetworkSecurityGroupResult NetworkSecurityGroupResult (Azure.ResourceManager.Network.Models.SecurityRuleAccess? securityRuleAccessResult = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.EvaluatedNetworkSecurityGroup> evaluatedNetworkSecurityGroups = default);
static member NetworkSecurityGroupResult : Nullable<Azure.ResourceManager.Network.Models.SecurityRuleAccess> * seq<Azure.ResourceManager.Network.Models.EvaluatedNetworkSecurityGroup> -> Azure.ResourceManager.Network.Models.NetworkSecurityGroupResult
Public Shared Function NetworkSecurityGroupResult (Optional securityRuleAccessResult As Nullable(Of SecurityRuleAccess) = Nothing, Optional evaluatedNetworkSecurityGroups As IEnumerable(Of EvaluatedNetworkSecurityGroup) = Nothing) As NetworkSecurityGroupResult

Parameters

securityRuleAccessResult
Nullable<SecurityRuleAccess>

The network traffic is allowed or denied.

evaluatedNetworkSecurityGroups
IEnumerable<EvaluatedNetworkSecurityGroup>

List of results network security groups diagnostic.

Returns

A new NetworkSecurityGroupResult instance for mocking.

Applies to