Partager via


SecurityUserRule Constructors

Definition

Overloads

SecurityUserRule()

Initializes a new instance of the SecurityUserRule class.

SecurityUserRule(String, String, String, String, SystemData, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, String)

Initializes a new instance of the SecurityUserRule class.

SecurityUserRule()

Initializes a new instance of the SecurityUserRule class.

public SecurityUserRule ();
Public Sub New ()

Applies to

SecurityUserRule(String, String, String, String, SystemData, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, String)

Initializes a new instance of the SecurityUserRule class.

public SecurityUserRule (string id = default, string name = default, string type = default, string etag = default, Microsoft.Azure.Management.Network.Models.SystemData systemData = default, string provisioningState = default, string description = 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 direction = default, string resourceGuid = default);
new Microsoft.Azure.Management.Network.Models.SecurityUserRule : string * string * string * string * Microsoft.Azure.Management.Network.Models.SystemData * 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 * string -> Microsoft.Azure.Management.Network.Models.SecurityUserRule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As String = Nothing, Optional description 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 direction As String = Nothing, Optional resourceGuid As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

etag
String

A unique read-only string that changes whenever the resource is updated.

systemData
SystemData

The system metadata related to this resource.

provisioningState
String

The provisioning state of the security configuration user rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

description
String

A description for this rule.

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.

sourcePortRanges
IList<String>

The source port ranges.

destinationPortRanges
IList<String>

The destination port ranges.

direction
String

Indicates if the traffic matched against the rule in inbound or outbound. Possible values include: 'Inbound', 'Outbound'

resourceGuid
String

Unique identifier for this resource.

Applies to