IpSecurityRestriction 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
IpSecurityRestriction() |
Initializes a new instance of the IpSecurityRestriction class. |
IpSecurityRestriction(String, String, String, Nullable<Int32>, Nullable<Int32>, String, IpFilterTag, Nullable<Int32>, String, String) |
Initializes a new instance of the IpSecurityRestriction class. |
IpSecurityRestriction()
Initializes a new instance of the IpSecurityRestriction class.
public IpSecurityRestriction ();
Public Sub New ()
Applies to
IpSecurityRestriction(String, String, String, Nullable<Int32>, Nullable<Int32>, String, IpFilterTag, Nullable<Int32>, String, String)
Initializes a new instance of the IpSecurityRestriction class.
public IpSecurityRestriction (string ipAddress = default, string subnetMask = default, string vnetSubnetResourceId = default, int? vnetTrafficTag = default, int? subnetTrafficTag = default, string action = default, Microsoft.Azure.Management.AppService.Fluent.Models.IpFilterTag tag = default, int? priority = default, string name = default, string description = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.IpSecurityRestriction : string * string * string * Nullable<int> * Nullable<int> * string * Microsoft.Azure.Management.AppService.Fluent.Models.IpFilterTag * Nullable<int> * string * string -> Microsoft.Azure.Management.AppService.Fluent.Models.IpSecurityRestriction
Public Sub New (Optional ipAddress As String = Nothing, Optional subnetMask As String = Nothing, Optional vnetSubnetResourceId As String = Nothing, Optional vnetTrafficTag As Nullable(Of Integer) = Nothing, Optional subnetTrafficTag As Nullable(Of Integer) = Nothing, Optional action As String = Nothing, Optional tag As IpFilterTag = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional name As String = Nothing, Optional description As String = Nothing)
Parameters
- ipAddress
- String
IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified.
- subnetMask
- String
Subnet mask for the range of IP addresses the restriction is valid for.
- vnetSubnetResourceId
- String
Virtual network resource id
- action
- String
Allow or Deny access for this IP range.
- tag
- IpFilterTag
Defines what this IP filter will be used for. This is to support IP filtering on proxies. Possible values include: 'Default', 'XffProxy'
- name
- String
IP restriction rule name.
- description
- String
IP restriction rule description.
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