FirewallRuleSpec
Desired firewall filter rule. Identified by Description for idempotency.
public sealed record FirewallRuleSpec : IEquatable<FirewallRuleSpec>
1. Constructors
1.1. FirewallRuleSpec(string, string, string, string, string, string, string)
Desired firewall filter rule. Identified by Description for idempotency.
public FirewallRuleSpec(string Description, string Interface, string Protocol, string Source, string Destination, string DestinationPort, string Action)
| Name | Type | Description |
|---|---|---|
Description |
string |
|
Interface |
string |
|
Protocol |
string |
|
Source |
string |
|
Destination |
string |
|
DestinationPort |
string |
|
Action |
string |
2. Properties
2.1. Action
public string Action { get; init; }
2.2. Description
public string Description { get; init; }
2.3. Destination
public string Destination { get; init; }
2.4. DestinationPort
public string DestinationPort { get; init; }
2.5. Interface
public string Interface { get; init; }
2.6. Protocol
public string Protocol { get; init; }
2.7. Source
public string Source { get; init; }
3. Operators
3.1. operator !=(FirewallRuleSpec, FirewallRuleSpec)
public static bool operator !=(FirewallRuleSpec left, FirewallRuleSpec right)
| Name | Type | Description |
|---|---|---|
left |
FirewallRuleSpec |
|
right |
FirewallRuleSpec |
Returns: bool
3.2. operator ==(FirewallRuleSpec, FirewallRuleSpec)
public static bool operator ==(FirewallRuleSpec left, FirewallRuleSpec right)
| Name | Type | Description |
|---|---|---|
left |
FirewallRuleSpec |
|
right |
FirewallRuleSpec |
Returns: bool