INetworkSecurityRule Interface

Definition

A network security rule in a network security group.

public interface INetworkSecurityRule : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IChildResource<Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasParent<Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup>
type INetworkSecurityRule = interface
    interface IHasInner<SecurityRuleInner>
    interface IChildResource<INetworkSecurityGroup>
    interface IHasName
    interface IIndexable
    interface IHasParent<INetworkSecurityGroup>
Public Interface INetworkSecurityRule
Implements IChildResource(Of INetworkSecurityGroup), IHasInner(Of SecurityRuleInner), IHasParent(Of INetworkSecurityGroup)
Implements

Properties

Access

Gets the type of access the rule enforces.

Description

Gets the user-defined description of the security rule.

DestinationAddressPrefix

Gets the destination address prefix the rule applies to, expressed using the CIDR notation in the format: "###.###.###.###/##", and "" means "any".

DestinationPortRange

Gets the destination port range that the rule applies to, in the format "##-##", where "" means any.

Direction

Gets the direction of the network traffic that the network security rule applies to.

Inner (Inherited from IHasInner<T>)
Parent

Gets the parent of this child resource.

(Inherited from IHasParent<ParentT>)
Priority

Gets the priority number of this rule based on which this rule will be applied relative to the priority numbers of any other rules specified for this network security group.

Protocol

Gets the network protocol the rule applies to.

SourceAddressPrefix

Gets the source address prefix the rule applies to, expressed using the CIDR notation in the format: "###.###.###.###/##", and "" means "any".

SourcePortRange

Gets the source port range that the rule applies to, in the format "##-##", where "" means "any".

Applies to