ArmNetworkModelFactory.EffectiveBaseSecurityAdminRule Method

Definition

Initializes a new instance of EffectiveBaseSecurityAdminRule.

public static Azure.ResourceManager.Network.Models.EffectiveBaseSecurityAdminRule EffectiveBaseSecurityAdminRule (Azure.Core.ResourceIdentifier resourceId = default, string configurationDescription = default, string ruleCollectionDescription = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkConfigurationGroup> ruleGroups = default, string kind = default);
public static Azure.ResourceManager.Network.Models.EffectiveBaseSecurityAdminRule EffectiveBaseSecurityAdminRule (Azure.Core.ResourceIdentifier resourceId = default, string configurationDescription = default, string ruleCollectionDescription = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkConfigurationGroup> ruleGroups = default, string kind = "Unknown");
static member EffectiveBaseSecurityAdminRule : Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> * seq<Azure.ResourceManager.Network.Models.NetworkConfigurationGroup> * string -> Azure.ResourceManager.Network.Models.EffectiveBaseSecurityAdminRule
Public Shared Function EffectiveBaseSecurityAdminRule (Optional resourceId As ResourceIdentifier = Nothing, Optional configurationDescription As String = Nothing, Optional ruleCollectionDescription As String = Nothing, Optional ruleCollectionAppliesToGroups As IEnumerable(Of NetworkManagerSecurityGroupItem) = Nothing, Optional ruleGroups As IEnumerable(Of NetworkConfigurationGroup) = Nothing, Optional kind As String = Nothing) As EffectiveBaseSecurityAdminRule
Public Shared Function EffectiveBaseSecurityAdminRule (Optional resourceId As ResourceIdentifier = Nothing, Optional configurationDescription As String = Nothing, Optional ruleCollectionDescription As String = Nothing, Optional ruleCollectionAppliesToGroups As IEnumerable(Of NetworkManagerSecurityGroupItem) = Nothing, Optional ruleGroups As IEnumerable(Of NetworkConfigurationGroup) = Nothing, Optional kind As String = "Unknown") As EffectiveBaseSecurityAdminRule

Parameters

resourceId
ResourceIdentifier

Resource ID.

configurationDescription
String

A description of the security admin configuration.

ruleCollectionDescription
String

A description of the rule collection.

ruleCollectionAppliesToGroups
IEnumerable<NetworkManagerSecurityGroupItem>

Groups for rule collection.

ruleGroups
IEnumerable<NetworkConfigurationGroup>

Effective configuration groups.

kind
String

Whether the rule is custom or default.

Returns

A new EffectiveBaseSecurityAdminRule instance for mocking.

Applies to