FirewallRuleUpdate record

Namespace Runic.Platform.Administration.Windows.Firewall · Runic.Platform.Administration.Windows 0.7.0-preview.5

public sealed record FirewallRuleUpdate : IEquatable<FirewallRuleUpdate>

Inherits or implements IEquatable.

Selected edits; null leaves a property unchanged. Rule names are not renamed by updates.

Constructors

FirewallRuleUpdate

public FirewallRuleUpdate()

No documentation.

Properties

Action

public FirewallAction? Action { get; init; }

Replacement action.

ApplicationPath

public string? ApplicationPath { get; init; }

Replacement program path.

Description

public string? Description { get; init; }

Replacement description.

Direction

public FirewallDirection? Direction { get; init; }

Replacement direction.

EdgeTraversal

public bool? EdgeTraversal { get; init; }

Replacement edge traversal.

Enabled

public bool? Enabled { get; init; }

Replacement enabled state.

Grouping

public string? Grouping { get; init; }

Replacement grouping.

IcmpTypesAndCodes

public string? IcmpTypesAndCodes { get; init; }

Replacement ICMP types/codes.

InterfaceTypes

public string? InterfaceTypes { get; init; }

Replacement interface types.

Interfaces

public ImmutableArray<string>? Interfaces { get; init; }

Replacement interface names.

LocalAddresses

public string? LocalAddresses { get; init; }

Replacement local addresses.

LocalPorts

public string? LocalPorts { get; init; }

Replacement local ports.

Profiles

public FirewallProfiles? Profiles { get; init; }

Replacement profiles.

Protocol

public int? Protocol { get; init; }

Replacement protocol number.

RemoteAddresses

public string? RemoteAddresses { get; init; }

Replacement remote addresses.

RemotePorts

public string? RemotePorts { get; init; }

Replacement remote ports.

ServiceName

public string? ServiceName { get; init; }

Replacement service name.