NetworkSecurityGroupRuleArgs

data class NetworkSecurityGroupRuleArgs(val access: Output<NetworkSecurityGroupRuleAccess>, val priority: Output<Int>, val sourceAddressPrefix: Output<String>, val sourcePortRanges: Output<List<String>>? = null) : ConvertibleToJava<NetworkSecurityGroupRuleArgs>

Constructors

Link copied to clipboard
constructor(access: Output<NetworkSecurityGroupRuleAccess>, priority: Output<Int>, sourceAddressPrefix: Output<String>, sourcePortRanges: Output<List<String>>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val priority: Output<Int>

Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.

Link copied to clipboard

Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.

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

Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.

Functions

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