Class VMwareHostFirewallRule
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual firewall rule configured on a VMware host.
public class VMwareHostFirewallRule : GlobalSerializableClassicBase, IComparable<VMwareHostFirewallRule>
- Inheritance
-
VMwareHostFirewallRule
- Implements
Constructors
VMwareHostFirewallRule()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareHostFirewallRule class.
public VMwareHostFirewallRule()
Properties
AllowAllAddresses
Gets or sets whether all addresses are allowed for this firewall rule.
public BooleanOption AllowAllAddresses { get; set; }
Property Value
AllowedAddresses
Gets or sets the addresses allowed for this rule.
public SerializableStringCollection AllowedAddresses { get; set; }
Property Value
- SerializableStringCollection
AllowedAddressesString
Gets or sets the addresses allowed for this rule, one per line or "All" if any address is permitted.
public string AllowedAddressesString { get; set; }
Property Value
DisplayName
Gets or sets the display name of the rule - for example "SSH Server".
public string DisplayName { get; set; }
Property Value
Enabled
Gets or sets whether the firewall rule is enabled.
public BooleanOption Enabled { get; set; }
Property Value
Name
Gets or sets the internal name of the rule - for example "sshServer".
public string Name { get; set; }
Property Value
ServiceName
Gets or sets the name of the service that relates to this firewall rule if applicable.
public string ServiceName { get; set; }
Property Value
Methods
CompareTo(VMwareHostFirewallRule)
Compares two CENTREL.XIA.Configuration.Types.VMwareHostFirewallRule objects to allow sorting alphabetically by display name.
public int CompareTo(VMwareHostFirewallRule other)
Parameters
other
VMwareHostFirewallRuleThe CENTREL.XIA.Configuration.Types.VMwareHostFirewallRule to compare to.
Returns
- int
The sort order of the two items.