SecurityRule Constructors

Definition

Overloads

SecurityRule()
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)

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
sourceAddressPrefixes
IList<String>
sourceApplicationSecurityGroups
IList<ApplicationSecurityGroup>
destinationAddressPrefix
String
destinationAddressPrefixes
IList<String>
destinationApplicationSecurityGroups
IList<ApplicationSecurityGroup>
sourcePortRanges
IList<String>
destinationPortRanges
IList<String>
priority
Nullable<Int32>
provisioningState
String
name
String
etag
String
type
String

Applies to