DefaultAdminRule 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
DefaultAdminRule() |
Initializes a new instance of the DefaultAdminRule class. |
DefaultAdminRule(String, String, String, String, SystemData, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, Nullable<Int32>, String, String) |
Initializes a new instance of the DefaultAdminRule class. |
DefaultAdminRule()
Initializes a new instance of the DefaultAdminRule class.
public DefaultAdminRule ();
Public Sub New ()
Applies to
DefaultAdminRule(String, String, String, String, SystemData, String, String, String, IList<AddressPrefixItem>, IList<AddressPrefixItem>, IList<String>, IList<String>, String, Nullable<Int32>, String, String)
Initializes a new instance of the DefaultAdminRule class.
public DefaultAdminRule (string id = default, string name = default, string type = default, string etag = default, Microsoft.Azure.Management.Network.Models.SystemData systemData = 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.DefaultAdminRule : 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 * Nullable<int> * string * string -> Microsoft.Azure.Management.Network.Models.DefaultAdminRule
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 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.
- 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.
- 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.
- access
- String
Indicates the access allowed for this particular rule. Possible values include: 'Allow', 'Deny', 'AlwaysAllow'
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
Azure SDK for .NET