ActiveDefaultSecurityAdminRule Constructors
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.
Overloads
ActiveDefaultSecurityAdminRule() |
Initializes a new instance of the ActiveDefaultSecurityAdminRule class. |
ActiveDefaultSecurityAdminRule(String, Nullable<DateTime>, String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, Nullable<Int32>, String, String) |
Initializes a new instance of the ActiveDefaultSecurityAdminRule class. |
ActiveDefaultSecurityAdminRule()
Initializes a new instance of the ActiveDefaultSecurityAdminRule class.
public ActiveDefaultSecurityAdminRule ();
Public Sub New ()
Applies to
ActiveDefaultSecurityAdminRule(String, Nullable<DateTime>, String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, Nullable<Int32>, String, String)
Initializes a new instance of the ActiveDefaultSecurityAdminRule class.
public ActiveDefaultSecurityAdminRule (string id = default, DateTime? commitTime = default, string region = default, string configurationDescription = default, string ruleCollectionDescription = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConfigurationGroup> ruleGroups = default, string description = default, string flag = default, string protocol = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.AddressPrefixItem> sources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.AddressPrefixItem> destinations = default, System.Collections.Generic.IList<string> sourcePortRanges = default, System.Collections.Generic.IList<string> destinationPortRanges = default, string access = default, int? priority = default, string direction = default, string provisioningState = default);
new Microsoft.Azure.Management.Network.Models.ActiveDefaultSecurityAdminRule : string * Nullable<DateTime> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkManagerSecurityGroupItem> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConfigurationGroup> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.AddressPrefixItem> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.AddressPrefixItem> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * Nullable<int> * string * string -> Microsoft.Azure.Management.Network.Models.ActiveDefaultSecurityAdminRule
Public Sub New (Optional id As String = Nothing, Optional commitTime As Nullable(Of DateTime) = Nothing, Optional region As String = Nothing, Optional configurationDescription As String = Nothing, Optional ruleCollectionDescription As String = Nothing, Optional ruleCollectionAppliesToGroups As IList(Of NetworkManagerSecurityGroupItem) = Nothing, Optional ruleGroups As IList(Of ConfigurationGroup) = Nothing, Optional description As String = Nothing, Optional flag As String = Nothing, Optional protocol As String = Nothing, Optional sources As IList(Of AddressPrefixItem) = Nothing, Optional destinations As IList(Of AddressPrefixItem) = Nothing, Optional sourcePortRanges As IList(Of String) = Nothing, Optional destinationPortRanges As IList(Of String) = Nothing, Optional access As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional direction As String = Nothing, Optional provisioningState As String = Nothing)
Parameters
- id
- String
Resource ID.
- region
- String
Deployment region.
- configurationDescription
- String
A description of the security admin configuration.
- ruleCollectionDescription
- String
A description of the rule collection.
- ruleCollectionAppliesToGroups
- IList<NetworkManagerSecurityGroupItem>
Groups for rule collection
- ruleGroups
- IList<ConfigurationGroup>
Effective configuration groups.
- description
- String
A description for this rule. Restricted to 140 chars.
- flag
- String
Default rule flag.
- protocol
- String
Network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'Icmp', 'Esp', 'Any', 'Ah'
- sources
- IList<AddressPrefixItem>
The CIDR or source IP ranges.
- destinations
- IList<AddressPrefixItem>
The destination address prefixes. CIDR or destination IP ranges.
- access
- String
Indicates the access allowed for this particular rule. Possible values include: 'Allow', 'Deny', 'AlwaysAllow'
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- direction
- String
Indicates if the traffic matched against the rule in inbound or outbound. Possible values include: 'Inbound', 'Outbound'
- provisioningState
- String
The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
Applies to
Azure SDK for .NET