共用方式為


EffectiveDefaultSecurityAdminRule Constructors

Definition

Overloads

EffectiveDefaultSecurityAdminRule()

Initializes a new instance of the EffectiveDefaultSecurityAdminRule class.

EffectiveDefaultSecurityAdminRule(String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, Nullable<Int32>, String, String)

Initializes a new instance of the EffectiveDefaultSecurityAdminRule class.

EffectiveDefaultSecurityAdminRule()

Initializes a new instance of the EffectiveDefaultSecurityAdminRule class.

public EffectiveDefaultSecurityAdminRule ();
Public Sub New ()

Applies to

EffectiveDefaultSecurityAdminRule(String, String, String, IList<NetworkManagerSecurityGroupItem>, IList<ConfigurationGroup>, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, Nullable<Int32>, String, String)

Initializes a new instance of the EffectiveDefaultSecurityAdminRule class.

public EffectiveDefaultSecurityAdminRule (string id = 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, string flag = 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 access = default, int? priority = default, string direction = default, string provisioningState = default);
new Microsoft.Azure.Management.Network.Models.EffectiveDefaultSecurityAdminRule : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkManagerSecurityGroupItem> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ConfigurationGroup> * 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 * Nullable<int> * string * string -> Microsoft.Azure.Management.Network.Models.EffectiveDefaultSecurityAdminRule
Public Sub New (Optional id 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 flag 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 access As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional direction As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

id
String

Resource ID.

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.

flag
String

Default rule flag.

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.

access
String

Indicates the access allowed for this particular rule. Possible values include: 'Allow', 'Deny', 'AlwaysAllow'

priority
Nullable<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'

provisioningState
String

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

Applies to