IpFilterRule 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
IpFilterRule() |
Initializes a new instance of the IpFilterRule class. |
IpFilterRule(String, IpFilterActionType, String, Nullable<IpFilterTargetType>) |
Initializes a new instance of the IpFilterRule class. |
IpFilterRule()
Initializes a new instance of the IpFilterRule class.
public IpFilterRule ();
Public Sub New ()
Applies to
IpFilterRule(String, IpFilterActionType, String, Nullable<IpFilterTargetType>)
Initializes a new instance of the IpFilterRule class.
public IpFilterRule (string filterName, Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterActionType action, string ipMask, Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterTargetType? target = default);
new Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterRule : string * Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterActionType * string * Nullable<Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterTargetType> -> Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterRule
Public Sub New (filterName As String, action As IpFilterActionType, ipMask As String, Optional target As Nullable(Of IpFilterTargetType) = Nothing)
Parameters
- filterName
- String
The name of the IP filter rule.
- action
- IpFilterActionType
The desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject'
- ipMask
- String
A string that contains the IP address range in CIDR notation for the rule.
- target
- Nullable<IpFilterTargetType>
Target for requests captured by this rule. Possible values include: 'all', 'serviceApi', 'deviceApi'
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for