GetSecurityRuleResult

data class GetSecurityRuleResult(val access: String, val azureApiVersion: String, val description: String? = null, val destinationAddressPrefixes: List<String>? = null, val destinationPortRanges: List<String>? = null, val direction: String, val extendedLocation: ExtendedLocationResponse? = null, val id: String, val name: String, val priority: Int, val protocol: String, val provisioningState: String, val sourceAddressPrefixes: List<String>? = null, val sourcePortRanges: List<String>? = null, val systemData: SystemDataResponse, val type: String)

Security Rule resource.

Constructors

Link copied to clipboard
constructor(access: String, azureApiVersion: String, description: String? = null, destinationAddressPrefixes: List<String>? = null, destinationPortRanges: List<String>? = null, direction: String, extendedLocation: ExtendedLocationResponse? = null, id: String, name: String, priority: Int, protocol: String, provisioningState: String, sourceAddressPrefixes: List<String>? = null, sourcePortRanges: List<String>? = null, systemData: SystemDataResponse, type: String)

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 prefixes. CIDR or destination IP ranges.

Link copied to clipboard

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

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

The extendedLocation of the resource.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link copied to clipboard

The name of 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

Provisioning state of the SR

Link copied to clipboard

The CIDR or source IP ranges.

Link copied to clipboard

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

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"