GetSecurityRuleResult

data class GetSecurityRuleResult(val access: String, val azureApiVersion: String, val description: String? = null, val destinationAddressPrefix: String? = null, val destinationAddressPrefixes: List<String>? = null, val destinationApplicationSecurityGroups: List<ApplicationSecurityGroupResponse>? = null, val destinationPortRange: String? = null, val destinationPortRanges: List<String>? = null, val direction: String, val etag: String, val id: String? = null, val name: String? = null, val priority: Int, val protocol: String, val provisioningState: String, val sourceAddressPrefix: String? = null, val sourceAddressPrefixes: List<String>? = null, val sourceApplicationSecurityGroups: List<ApplicationSecurityGroupResponse>? = null, val sourcePortRange: String? = null, val sourcePortRanges: List<String>? = null, val type: String? = null)

Network security rule.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The network traffic is allowed or denied.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val description: String? = null

A description for this rule. Restricted to 140 chars.

Link copied to clipboard

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

The destination address prefixes. CIDR or destination IP ranges.

Link copied to clipboard

The application security group specified as destination.

Link copied to clipboard

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

The destination port ranges.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val id: String? = null

Resource ID.

Link copied to clipboard
val name: 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

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

Network protocol this rule applies to.

Link copied to clipboard

The provisioning state of the security rule resource.

Link copied to clipboard

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

The CIDR or source IP ranges.

Link copied to clipboard

The application security group specified as source.

Link copied to clipboard
val sourcePortRange: 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

The source port ranges.

Link copied to clipboard
val type: String? = null

The type of the resource.