ActiveSecurityAdminRule 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
ActiveSecurityAdminRule() |
Initializes a new instance of the ActiveSecurityAdminRule class. |
ActiveSecurityAdminRule(String, String, Int32, String, String, Nullable<DateTime>, String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String) |
Initializes a new instance of the ActiveSecurityAdminRule class. |
ActiveSecurityAdminRule()
Initializes a new instance of the ActiveSecurityAdminRule class.
public ActiveSecurityAdminRule ();
Public Sub New ()
Applies to
ActiveSecurityAdminRule(String, String, Int32, String, String, Nullable<DateTime>, String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String)
Initializes a new instance of the ActiveSecurityAdminRule class.
public ActiveSecurityAdminRule (string protocol, string access, int priority, string direction, 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, 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 provisioningState = default);
new Microsoft.Azure.Management.Network.Models.ActiveSecurityAdminRule : string * string * int * string * 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 * 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 -> Microsoft.Azure.Management.Network.Models.ActiveSecurityAdminRule
Public Sub New (protocol As String, access As String, priority As Integer, direction As String, 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 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 provisioningState As String = Nothing)
Parameters
- protocol
- String
Network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'Icmp', 'Esp', 'Any', 'Ah'
- access
- String
Indicates the access allowed for this particular rule. Possible values include: 'Allow', 'Deny', 'AlwaysAllow'
- priority
- Int32
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'
- 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.
- sources
- IList<AddressPrefixItem>
The CIDR or source IP ranges.
- destinations
- IList<AddressPrefixItem>
The destination address prefixes. CIDR or destination IP ranges.
- provisioningState
- String
The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'