Show / Hide Table of Contents

Class NetworkSecurityGroupSecurityRule

Inheritance
System.Object
NetworkSecurityGroupSecurityRule
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Network.Outputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class NetworkSecurityGroupSecurityRule

Fields

View Source

Access

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

Declaration
public readonly string Access
Field Value
Type Description
System.String
View Source

Description

A description for this rule. Restricted to 140 characters.

Declaration
public readonly string Description
Field Value
Type Description
System.String
View Source

DestinationAddressPrefix

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.

Declaration
public readonly string DestinationAddressPrefix
Field Value
Type Description
System.String
View Source

DestinationAddressPrefixes

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

Declaration
public readonly ImmutableArray<string> DestinationAddressPrefixes
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

DestinationApplicationSecurityGroupIds

A List of destination Application Security Group ID's

Declaration
public readonly ImmutableArray<string> DestinationApplicationSecurityGroupIds
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

DestinationPortRange

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.

Declaration
public readonly string DestinationPortRange
Field Value
Type Description
System.String
View Source

DestinationPortRanges

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

Declaration
public readonly ImmutableArray<string> DestinationPortRanges
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Direction

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

Declaration
public readonly string Direction
Field Value
Type Description
System.String
View Source

Name

The name of the security rule.

Declaration
public readonly string Name
Field Value
Type Description
System.String
View Source

Priority

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.

Declaration
public readonly int Priority
Field Value
Type Description
System.Int32
View Source

Protocol

Network protocol this rule applies to. Can be Tcp, Udp, Icmp, or * to match all.

Declaration
public readonly string Protocol
Field Value
Type Description
System.String
View Source

SourceAddressPrefix

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.

Declaration
public readonly string SourceAddressPrefix
Field Value
Type Description
System.String
View Source

SourceAddressPrefixes

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

Declaration
public readonly ImmutableArray<string> SourceAddressPrefixes
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

SourceApplicationSecurityGroupIds

A List of source Application Security Group ID's

Declaration
public readonly ImmutableArray<string> SourceApplicationSecurityGroupIds
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

SourcePortRange

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.

Declaration
public readonly string SourcePortRange
Field Value
Type Description
System.String
View Source

SourcePortRanges

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

Declaration
public readonly ImmutableArray<string> SourcePortRanges
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.