Table of Contents

Class AzureNetworkSecurityGroupRule

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Azure network security group rule.

public class AzureNetworkSecurityGroupRule : GlobalSerializableClassicBase, IComparable<AzureNetworkSecurityGroupRule>
Inheritance
AzureNetworkSecurityGroupRule
Implements

Constructors

AzureNetworkSecurityGroupRule()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureNetworkSecurityGroupRule class.

public AzureNetworkSecurityGroupRule()

Properties

AccessType

Gets or sets the access type for the rule.

public AzureNetworkSecurityGroupRuleAccessType AccessType { get; set; }

Property Value

AzureNetworkSecurityGroupRuleAccessType

AccessTypeString

Gets the access type for the rule as a human readable string.

public string AccessTypeString { get; set; }

Property Value

string

Description

Gets or sets the description of the rule.

public string Description { get; set; }

Property Value

string

DestinationAddresses

Gets or sets the destination addresses and CIDR ranges.

public SerializableStringCollection DestinationAddresses { get; set; }

Property Value

SerializableStringCollection

DestinationAddressesString

Gets the destination addresses and CIDR ranges.

public string DestinationAddressesString { get; set; }

Property Value

string

DestinationPorts

Gets or sets the destination ports and ranges.

public SerializableStringCollection DestinationPorts { get; set; }

Property Value

SerializableStringCollection

DestinationPortsString

Gets the destination ports and ranges.

public string DestinationPortsString { get; set; }

Property Value

string

Direction

Gets or sets the direction of the security rule.

public AzureNetworkSecurityGroupRuleDirection Direction { get; set; }

Property Value

AzureNetworkSecurityGroupRuleDirection

DirectionString

Gets the direction of the security rule as a human readable string.

public string DirectionString { get; set; }

Property Value

string

IsDefault

Gets or sets whether the rule is a default rule.

public BooleanOption IsDefault { get; set; }

Property Value

BooleanOption

Name

Gets or sets the name of the rule.

public string Name { get; set; }

Property Value

string

Priority

Gets or sets the priority of the rule.

public int Priority { get; set; }

Property Value

int

Protocol

Gets or sets the protocol of the rule.

public AzureNetworkSecurityGroupRuleProtocol Protocol { get; set; }

Property Value

AzureNetworkSecurityGroupRuleProtocol

ProtocolString

Gets the protocol as a human readable string.

public string ProtocolString { get; set; }

Property Value

string

SourceAddresses

Gets or sets the source addresses and CIDR ranges.

public SerializableStringCollection SourceAddresses { get; set; }

Property Value

SerializableStringCollection

SourceAddressesString

Gets the source addresses and CIDR ranges.

public string SourceAddressesString { get; set; }

Property Value

string

SourcePorts

Gets or sets the source ports and ranges.

public SerializableStringCollection SourcePorts { get; set; }

Property Value

SerializableStringCollection

SourcePortsString

Gets the source ports and ranges.

public string SourcePortsString { get; set; }

Property Value

string

Methods

CompareTo(AzureNetworkSecurityGroupRule)

Compares two CENTREL.XIA.Configuration.Types.AzureNetworkSecurityGroupRule objects to allow sorting alphabetically by name.

public int CompareTo(AzureNetworkSecurityGroupRule other)

Parameters

other AzureNetworkSecurityGroupRule

The CENTREL.XIA.Configuration.Types.AzureNetworkSecurityGroupRule to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.AzureNetworkSecurityGroupRule objects.