IpSecurityRestrictionArgs

data class IpSecurityRestrictionArgs(val action: Output<String>? = null, val description: Output<String>? = null, val headers: Output<Map<String, List<String>>>? = null, val ipAddress: Output<String>? = null, val name: Output<String>? = null, val priority: Output<Int>? = null, val subnetMask: Output<String>? = null, val subnetTrafficTag: Output<Int>? = null, val tag: Output<Either<String, IpFilterTag>>? = null, val vnetSubnetResourceId: Output<String>? = null, val vnetTrafficTag: Output<Int>? = null) : ConvertibleToJava<IpSecurityRestrictionArgs>

IP security restriction on an app.

Constructors

Link copied to clipboard
constructor(action: Output<String>? = null, description: Output<String>? = null, headers: Output<Map<String, List<String>>>? = null, ipAddress: Output<String>? = null, name: Output<String>? = null, priority: Output<Int>? = null, subnetMask: Output<String>? = null, subnetTrafficTag: Output<Int>? = null, tag: Output<Either<String, IpFilterTag>>? = null, vnetSubnetResourceId: Output<String>? = null, vnetTrafficTag: Output<Int>? = null)

Properties

Link copied to clipboard
val action: Output<String>? = null

Allow or Deny access for this IP range.

Link copied to clipboard
val description: Output<String>? = null

IP restriction rule description.

Link copied to clipboard
val headers: Output<Map<String, List<String>>>? = null

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 ..

Link copied to clipboard
val ipAddress: Output<String>? = null

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.

Link copied to clipboard
val name: Output<String>? = null

IP restriction rule name.

Link copied to clipboard
val priority: Output<Int>? = null

Priority of IP restriction rule.

Link copied to clipboard
val subnetMask: Output<String>? = null

Subnet mask for the range of IP addresses the restriction is valid for.

Link copied to clipboard
val subnetTrafficTag: Output<Int>? = null

(internal) Subnet traffic tag

Link copied to clipboard
val tag: Output<Either<String, IpFilterTag>>? = null

Defines what this IP filter will be used for. This is to support IP filtering on proxies.

Link copied to clipboard
val vnetSubnetResourceId: Output<String>? = null

Virtual network resource id

Link copied to clipboard
val vnetTrafficTag: Output<Int>? = null

(internal) Vnet traffic tag

Functions

Link copied to clipboard
open override fun toJava(): IpSecurityRestrictionArgs