Class NetworkSecurityGroupSecurityRule
Inheritance
Inherited Members
Namespace: Pulumi.Azure.Network.Outputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class NetworkSecurityGroupSecurityRule
Fields
View SourceAccess
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 |
Description
A description for this rule. Restricted to 140 characters.
Declaration
public readonly string Description
Field Value
| Type | Description |
|---|---|
| System.String |
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 |
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> |
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> |
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 |
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> |
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 |
Name
The name of the security rule.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
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 |
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 |
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 |
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> |
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> |
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 |
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> |