SecurityRuleArgs

data class SecurityRuleArgs(val access: Output<Either<String, SecurityRuleAccess>>, val description: Output<String>? = null, val destinationAddressPrefix: Output<String>? = null, val destinationAddressPrefixes: Output<List<String>>? = null, val destinationApplicationSecurityGroups: Output<List<ApplicationSecurityGroupArgs>>? = null, val destinationPortRange: Output<String>? = null, val destinationPortRanges: Output<List<String>>? = null, val direction: Output<Either<String, SecurityRuleDirection>>, val etag: Output<String>? = null, val id: Output<String>? = null, val name: Output<String>? = null, val priority: Output<Int>? = null, val protocol: Output<Either<String, SecurityRuleProtocol>>, val provisioningState: Output<String>? = null, val sourceAddressPrefix: Output<String>? = null, val sourceAddressPrefixes: Output<List<String>>? = null, val sourceApplicationSecurityGroups: Output<List<ApplicationSecurityGroupArgs>>? = null, val sourcePortRange: Output<String>? = null, val sourcePortRanges: Output<List<String>>? = null, val type: Output<String>? = null) : ConvertibleToJava<SecurityRuleArgs>

Network security rule.

Constructors

Link copied to clipboard
constructor(access: Output<Either<String, SecurityRuleAccess>>, description: Output<String>? = null, destinationAddressPrefix: Output<String>? = null, destinationAddressPrefixes: Output<List<String>>? = null, destinationApplicationSecurityGroups: Output<List<ApplicationSecurityGroupArgs>>? = null, destinationPortRange: Output<String>? = null, destinationPortRanges: Output<List<String>>? = null, direction: Output<Either<String, SecurityRuleDirection>>, etag: Output<String>? = null, id: Output<String>? = null, name: Output<String>? = null, priority: Output<Int>? = null, protocol: Output<Either<String, SecurityRuleProtocol>>, provisioningState: Output<String>? = null, sourceAddressPrefix: Output<String>? = null, sourceAddressPrefixes: Output<List<String>>? = null, sourceApplicationSecurityGroups: Output<List<ApplicationSecurityGroupArgs>>? = null, sourcePortRange: Output<String>? = null, sourcePortRanges: Output<List<String>>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val access: Output<Either<String, SecurityRuleAccess>>

The network traffic is allowed or denied.

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

A description for this rule. Restricted to 140 chars.

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

The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.

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

The destination address prefixes. CIDR or destination IP ranges.

Link copied to clipboard

The application security group specified as destination.

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

The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.

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

The destination port ranges.

Link copied to clipboard
val direction: Output<Either<String, SecurityRuleDirection>>

The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.

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

A unique read-only string that changes whenever the resource is updated.

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

Resource ID.

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

The name of the resource that is unique within a resource group. This name can be used to access the resource.

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

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<Either<String, SecurityRuleProtocol>>

Network protocol this rule applies to.

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

The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

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

The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.

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

The CIDR or source IP ranges.

Link copied to clipboard

The application security group specified as source.

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

The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.

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

The source port ranges.

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

The type of the resource.

Functions

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