ArmNetworkModelFactory.InboundSecurityRules Method
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
| Name | Description |
|---|---|
| InboundSecurityRules(String, Nullable<InboundSecurityRulesProtocol>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>) |
Properties of the Inbound Security Rules resource. |
| InboundSecurityRules(String, Nullable<InboundSecurityRulesProtocol>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>, NetworkVirtualApplianceLoadBalancerConfiguration) |
Properties of the Inbound Security Rules resource. |
InboundSecurityRules(String, Nullable<InboundSecurityRulesProtocol>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>)
- Source:
- ArmNetworkModelFactory.cs
Properties of the Inbound Security Rules resource.
public static Azure.ResourceManager.Network.Models.InboundSecurityRules InboundSecurityRules(string name = default, Azure.ResourceManager.Network.Models.InboundSecurityRulesProtocol? protocol = default, string sourceAddressPrefix = default, int? destinationPortRange = default, System.Collections.Generic.IEnumerable<string> destinationPortRanges = default, System.Collections.Generic.IEnumerable<string> appliesOn = default);
static member InboundSecurityRules : string * Nullable<Azure.ResourceManager.Network.Models.InboundSecurityRulesProtocol> * string * Nullable<int> * seq<string> * seq<string> -> Azure.ResourceManager.Network.Models.InboundSecurityRules
Public Shared Function InboundSecurityRules (Optional name As String = Nothing, Optional protocol As Nullable(Of InboundSecurityRulesProtocol) = Nothing, Optional sourceAddressPrefix As String = Nothing, Optional destinationPortRange As Nullable(Of Integer) = Nothing, Optional destinationPortRanges As IEnumerable(Of String) = Nothing, Optional appliesOn As IEnumerable(Of String) = Nothing) As InboundSecurityRules
Parameters
- name
- String
Name of the rule.
- protocol
- Nullable<InboundSecurityRulesProtocol>
Protocol. This should be either TCP or UDP.
- sourceAddressPrefix
- String
The CIDR or source IP range.
NVA port ranges to be opened up. One needs to provide specific ports.
- destinationPortRanges
- IEnumerable<String>
NVA port ranges to be opened up. One can provide a range of ports. Allowed port value between 0 and 65535.
- appliesOn
- IEnumerable<String>
Public IP name in case of Permanent Rule type & Interface Name in case of Auto Expire Rule type.
Returns
A new InboundSecurityRules instance for mocking.
Applies to
InboundSecurityRules(String, Nullable<InboundSecurityRulesProtocol>, String, Nullable<Int32>, IEnumerable<String>, IEnumerable<String>, NetworkVirtualApplianceLoadBalancerConfiguration)
- Source:
- ArmNetworkModelFactory.cs
Properties of the Inbound Security Rules resource.
public static Azure.ResourceManager.Network.Models.InboundSecurityRules InboundSecurityRules(string name = default, Azure.ResourceManager.Network.Models.InboundSecurityRulesProtocol? protocol = default, string sourceAddressPrefix = default, int? destinationPortRange = default, System.Collections.Generic.IEnumerable<string> destinationPortRanges = default, System.Collections.Generic.IEnumerable<string> appliesOn = default, Azure.ResourceManager.Network.Models.NetworkVirtualApplianceLoadBalancerConfiguration loadBalancerConfiguration = default);
static member InboundSecurityRules : string * Nullable<Azure.ResourceManager.Network.Models.InboundSecurityRulesProtocol> * string * Nullable<int> * seq<string> * seq<string> * Azure.ResourceManager.Network.Models.NetworkVirtualApplianceLoadBalancerConfiguration -> Azure.ResourceManager.Network.Models.InboundSecurityRules
Public Shared Function InboundSecurityRules (Optional name As String = Nothing, Optional protocol As Nullable(Of InboundSecurityRulesProtocol) = Nothing, Optional sourceAddressPrefix As String = Nothing, Optional destinationPortRange As Nullable(Of Integer) = Nothing, Optional destinationPortRanges As IEnumerable(Of String) = Nothing, Optional appliesOn As IEnumerable(Of String) = Nothing, Optional loadBalancerConfiguration As NetworkVirtualApplianceLoadBalancerConfiguration = Nothing) As InboundSecurityRules
Parameters
- name
- String
Name of the rule.
- protocol
- Nullable<InboundSecurityRulesProtocol>
Protocol. This should be either TCP or UDP.
- sourceAddressPrefix
- String
The CIDR or source IP range.
NVA port ranges to be opened up. One needs to provide specific ports.
- destinationPortRanges
- IEnumerable<String>
NVA port ranges to be opened up. One can provide a range of ports. Allowed port value between 0 and 65535.
- appliesOn
- IEnumerable<String>
Public IP name in case of Permanent Rule type & Interface Name in case of Auto Expire Rule type.
- loadBalancerConfiguration
- NetworkVirtualApplianceLoadBalancerConfiguration
Configuration of the Internet Ingress load-balancing rule for a managed Network Virtual Appliance. Supported only when the enclosing ruleType is Permanent; supplying this configuration for AutoExpire rules is rejected with HTTP 400 Bad Request. When omitted on create or update, Default distribution and a 5-minute idle timeout are used.
Returns
A new InboundSecurityRules instance for mocking.