ArmNetworkModelFactory.ActiveBaseSecurityAdminRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ActiveBaseSecurityAdminRule.
public static Azure.ResourceManager.Network.Models.ActiveBaseSecurityAdminRule ActiveBaseSecurityAdminRule (string id = default, DateTimeOffset? commitOn = default, string region = 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.ActiveBaseSecurityAdminRule ActiveBaseSecurityAdminRule (string id = default, DateTimeOffset? commitOn = default, string region = 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 ActiveBaseSecurityAdminRule : string * Nullable<DateTimeOffset> * string * string * string * seq<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> * seq<Azure.ResourceManager.Network.Models.NetworkConfigurationGroup> * string -> Azure.ResourceManager.Network.Models.ActiveBaseSecurityAdminRule
Public Shared Function ActiveBaseSecurityAdminRule (Optional id As String = Nothing, Optional commitOn As Nullable(Of DateTimeOffset) = Nothing, Optional region As String = 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 ActiveBaseSecurityAdminRule
Public Shared Function ActiveBaseSecurityAdminRule (Optional id As String = Nothing, Optional commitOn As Nullable(Of DateTimeOffset) = Nothing, Optional region As String = 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 ActiveBaseSecurityAdminRule
Parameters
- id
- String
Resource ID.
- commitOn
- Nullable<DateTimeOffset>
Deployment time string.
- region
- String
Deployment region.
- 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 ActiveBaseSecurityAdminRule instance for mocking.
Applies to
Azure SDK for .NET