NetworkRule 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
NetworkRule() |
Initializes a new instance of the NetworkRule class. |
NetworkRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>) |
Initializes a new instance of the NetworkRule class. |
NetworkRule()
Initializes a new instance of the NetworkRule class.
public NetworkRule ();
Public Sub New ()
Applies to
NetworkRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>)
Initializes a new instance of the NetworkRule class.
public NetworkRule (string name = default, string description = default, System.Collections.Generic.IList<string> ipProtocols = default, System.Collections.Generic.IList<string> sourceAddresses = default, System.Collections.Generic.IList<string> destinationAddresses = default, System.Collections.Generic.IList<string> destinationPorts = default, System.Collections.Generic.IList<string> sourceIpGroups = default, System.Collections.Generic.IList<string> destinationIpGroups = default, System.Collections.Generic.IList<string> destinationFqdns = default);
new Microsoft.Azure.Management.Network.Models.NetworkRule : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Models.NetworkRule
Public Sub New (Optional name As String = Nothing, Optional description As String = Nothing, Optional ipProtocols As IList(Of String) = Nothing, Optional sourceAddresses As IList(Of String) = Nothing, Optional destinationAddresses As IList(Of String) = Nothing, Optional destinationPorts As IList(Of String) = Nothing, Optional sourceIpGroups As IList(Of String) = Nothing, Optional destinationIpGroups As IList(Of String) = Nothing, Optional destinationFqdns As IList(Of String) = Nothing)
Parameters
- name
- String
Name of the rule.
- description
- String
Description of the rule.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET