NetworkSecurityGroupSecurityRuleArgs

data class NetworkSecurityGroupSecurityRuleArgs(val access: Output<String>, val description: Output<String>? = null, val destinationAddressPrefix: Output<String>? = null, val destinationAddressPrefixes: Output<List<String>>? = null, val destinationApplicationSecurityGroupIds: Output<List<String>>? = null, val destinationPortRange: Output<String>? = null, val destinationPortRanges: Output<List<String>>? = null, val direction: Output<String>, val name: Output<String>, val priority: Output<Int>, val protocol: Output<String>, val sourceAddressPrefix: Output<String>? = null, val sourceAddressPrefixes: Output<List<String>>? = null, val sourceApplicationSecurityGroupIds: Output<List<String>>? = null, val sourcePortRange: Output<String>? = null, val sourcePortRanges: Output<List<String>>? = null) : ConvertibleToJava<NetworkSecurityGroupSecurityRuleArgs>

Constructors

Link copied to clipboard
constructor(access: Output<String>, description: Output<String>? = null, destinationAddressPrefix: Output<String>? = null, destinationAddressPrefixes: Output<List<String>>? = null, destinationApplicationSecurityGroupIds: Output<List<String>>? = null, destinationPortRange: Output<String>? = null, destinationPortRanges: Output<List<String>>? = null, direction: Output<String>, name: Output<String>, priority: Output<Int>, protocol: Output<String>, sourceAddressPrefix: Output<String>? = null, sourceAddressPrefixes: Output<List<String>>? = null, sourceApplicationSecurityGroupIds: Output<List<String>>? = null, sourcePortRange: Output<String>? = null, sourcePortRanges: Output<List<String>>? = null)

Properties

Link copied to clipboard
val access: Output<String>

Specifies whether network traffic is allowed or denied. Possible values are Allow and Deny.

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

A description for this rule. Restricted to 140 characters.

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

CIDR or destination IP range or * to match any IP. Tags such as VirtualNetwork, AzureLoadBalancer and Internet can also be used. This is required if destination_address_prefixes is not specified.

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

List of destination address prefixes. Tags may not be used. This is required if destination_address_prefix is not specified.

Link copied to clipboard

A List of destination Application Security Group IDs

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

Destination Port or Range. Integer or range between 0 and 65535 or * to match any. This is required if destination_port_ranges is not specified.

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

List of destination ports or port ranges. This is required if destination_port_range is not specified.

Link copied to clipboard
val direction: Output<String>

The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are Inbound and Outbound.

Link copied to clipboard
val name: Output<String>

The name of the security rule.

Link copied to clipboard
val priority: Output<Int>

Specifies the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.

Link copied to clipboard
val protocol: Output<String>

Network protocol this rule applies to. Possible values include Tcp, Udp, Icmp, Esp, Ah or * (which matches all).

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

CIDR or source IP range or * to match any IP. Tags such as VirtualNetwork, AzureLoadBalancer and Internet can also be used. This is required if source_address_prefixes is not specified.

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

List of source address prefixes. Tags may not be used. This is required if source_address_prefix is not specified.

Link copied to clipboard

A List of source Application Security Group IDs

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

Source Port or Range. Integer or range between 0 and 65535 or * to match any. This is required if source_port_ranges is not specified.

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

List of source ports or port ranges. This is required if source_port_range is not specified.

Functions

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