Share via


SecurityRule Constructors

Definition

Overloads

SecurityRule()
SecurityRule(String, String, String, String, String, String, String, String, String, Nullable<Int32>, String, String, String)

SecurityRule()

public SecurityRule ();
Public Sub New ()

Applies to

SecurityRule(String, String, String, String, String, String, String, String, String, Nullable<Int32>, String, String, String)

public SecurityRule (string protocol, string sourceAddressPrefix, string destinationAddressPrefix, string access, string direction, string id = default, string description = default, string sourcePortRange = default, string destinationPortRange = default, int? priority = default, string provisioningState = default, string name = default, string etag = default);
new Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SecurityRule : string * string * string * string * string * string * string * string * string * Nullable<int> * string * string * string -> Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SecurityRule
Public Sub New (protocol As String, sourceAddressPrefix As String, destinationAddressPrefix 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 priority As Nullable(Of Integer) = Nothing, Optional provisioningState As String = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing)

Parameters

protocol
String
sourceAddressPrefix
String
destinationAddressPrefix
String
access
String
direction
String
id
String
description
String
sourcePortRange
String
destinationPortRange
String
priority
Nullable<Int32>
provisioningState
String
name
String
etag
String

Applies to