你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IPSecurityRestriction Class
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.
IP security restriction on an app.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IPSecurityRestrictionTypeConverter))]
public class IPSecurityRestriction : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IIPSecurityRestriction
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IPSecurityRestrictionTypeConverter))>]
type IPSecurityRestriction = class
interface IIPSecurityRestriction
interface IJsonSerializable
Public Class IPSecurityRestriction
Implements IIPSecurityRestriction
- Inheritance
-
IPSecurityRestriction
- Attributes
- Implements
Constructors
IPSecurityRestriction() |
Creates an new IPSecurityRestriction instance. |
Properties
Action |
Allow or Deny access for this IP range. |
Description |
IP restriction rule description. |
Header |
IP restriction rule headers. X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). The matching logic is ..
|
IPAddress |
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. |
Name |
IP restriction rule name. |
Priority |
Priority of IP restriction rule. |
SubnetMask |
Subnet mask for the range of IP addresses the restriction is valid for. |
SubnetTrafficTag |
(internal) Subnet traffic tag |
Tag |
Defines what this IP filter will be used for. This is to support IP filtering on proxies. |
VnetSubnetResourceId |
Virtual network resource id |
VnetTrafficTag |
(internal) Vnet traffic tag |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of IPSecurityRestriction. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of IPSecurityRestriction. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IIPSecurityRestriction. |
FromJsonString(String) |
Creates a new instance of IPSecurityRestriction, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of IPSecurityRestriction into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |