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
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ