Rule 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
Rule() |
Initializes a new instance of the Rule class. |
Rule(String, String, Nullable<Int32>, IList<String>, IList<String>) |
Initializes a new instance of the Rule class. |
Rule()
Initializes a new instance of the Rule class.
public Rule ();
Public Sub New ()
Applies to
Rule(String, String, Nullable<Int32>, IList<String>, IList<String>)
Initializes a new instance of the Rule class.
public Rule (string name = default, string direction = default, int? destinationPort = default, System.Collections.Generic.IList<string> protocols = default, System.Collections.Generic.IList<string> ipAddresses = default);
new Microsoft.Azure.Management.Security.Models.Rule : string * string * Nullable<int> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Security.Models.Rule
Public Sub New (Optional name As String = Nothing, Optional direction As String = Nothing, Optional destinationPort As Nullable(Of Integer) = Nothing, Optional protocols As IList(Of String) = Nothing, Optional ipAddresses As IList(Of String) = Nothing)
Parameters
- name
- String
The name of the rule
- direction
- String
The rule's direction Possible values include: 'Inbound', 'Outbound'
The remote IP addresses that should be able to communicate with the Azure resource on the rule's destination port and protocol