SecurityRule 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
SecurityRule()
public SecurityRule ();
Public Sub New ()
Applies to
SecurityRule(String, String, String, String, String, String, String, String, IList<String>, IList<ApplicationSecurityGroup>, String, IList<String>, IList<ApplicationSecurityGroup>, IList<String>, IList<String>, Nullable<Int32>, String, String, String, String)
public SecurityRule (string protocol, string access, string direction, string id = default, string description = default, string sourcePortRange = default, string destinationPortRange = default, string sourceAddressPrefix = default, System.Collections.Generic.IList<string> sourceAddressPrefixes = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Network.Models.ApplicationSecurityGroup> sourceApplicationSecurityGroups = default, string destinationAddressPrefix = default, System.Collections.Generic.IList<string> destinationAddressPrefixes = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Network.Models.ApplicationSecurityGroup> destinationApplicationSecurityGroups = default, System.Collections.Generic.IList<string> sourcePortRanges = default, System.Collections.Generic.IList<string> destinationPortRanges = default, int? priority = default, string provisioningState = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Network.Models.SecurityRule : string * string * string * string * string * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Network.Models.ApplicationSecurityGroup> * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Network.Models.ApplicationSecurityGroup> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<int> * string * string * string * string -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Network.Models.SecurityRule
Public Sub New (protocol As String, access As String, direction As String, Optional id As String = Nothing, Optional description As String = Nothing, Optional sourcePortRange As String = Nothing, Optional destinationPortRange As String = Nothing, Optional sourceAddressPrefix As String = Nothing, Optional sourceAddressPrefixes As IList(Of String) = Nothing, Optional sourceApplicationSecurityGroups As IList(Of ApplicationSecurityGroup) = Nothing, Optional destinationAddressPrefix As String = Nothing, Optional destinationAddressPrefixes As IList(Of String) = Nothing, Optional destinationApplicationSecurityGroups As IList(Of ApplicationSecurityGroup) = Nothing, Optional sourcePortRanges As IList(Of String) = Nothing, Optional destinationPortRanges As IList(Of String) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional provisioningState As String = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)
Parameters
- protocol
- String
- access
- String
- direction
- String
- id
- String
- description
- String
- sourcePortRange
- String
- destinationPortRange
- String
- sourceAddressPrefix
- String
- sourceApplicationSecurityGroups
- IList<ApplicationSecurityGroup>
- destinationAddressPrefix
- String
- destinationApplicationSecurityGroups
- IList<ApplicationSecurityGroup>
- provisioningState
- String
- name
- String
- etag
- String
- type
- String