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
AccessTypeString
Gets the access type for the rule as a human readable string.
public string AccessTypeString { get; set; }
Property Value
Description
Gets or sets the description of the rule.
public string Description { get; set; }
Property Value
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
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
Direction
Gets or sets the direction of the security rule.
public AzureNetworkSecurityGroupRuleDirection Direction { get; set; }
Property Value
DirectionString
Gets the direction of the security rule as a human readable string.
public string DirectionString { get; set; }
Property Value
IsDefault
Gets or sets whether the rule is a default rule.
public BooleanOption IsDefault { get; set; }
Property Value
Name
Gets or sets the name of the rule.
public string Name { get; set; }
Property Value
Priority
Gets or sets the priority of the rule.
public int Priority { get; set; }
Property Value
Protocol
Gets or sets the protocol of the rule.
public AzureNetworkSecurityGroupRuleProtocol Protocol { get; set; }
Property Value
ProtocolString
Gets the protocol as a human readable string.
public string ProtocolString { get; set; }
Property Value
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
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
Methods
CompareTo(AzureNetworkSecurityGroupRule)
Compares two CENTREL.XIA.Configuration.Types.AzureNetworkSecurityGroupRule objects to allow sorting alphabetically by name.
public int CompareTo(AzureNetworkSecurityGroupRule other)
Parameters
other
AzureNetworkSecurityGroupRuleThe CENTREL.XIA.Configuration.Types.AzureNetworkSecurityGroupRule to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.AzureNetworkSecurityGroupRule objects.