diff --git a/SS14.Watchdog/Components/ProcessManagement/IProcessManager.cs b/SS14.Watchdog/Components/ProcessManagement/IProcessManager.cs index 3a1d0c0..11985df 100644 --- a/SS14.Watchdog/Components/ProcessManagement/IProcessManager.cs +++ b/SS14.Watchdog/Components/ProcessManagement/IProcessManager.cs @@ -41,12 +41,86 @@ public sealed record ProcessStartData( /// public interface IProcessHandle { - bool HasExited { get; } - int ExitCode { get; } - void DumpProcess(string file, DumpType type); Task WaitForExitAsync(CancellationToken cancel = default); - void Kill(); + Task Kill(); + + Task GetExitStatusAsync(); +} + +/// +/// Status for how a process has exited. +/// +/// The reason why the process exited. Check the enum for possible values. +/// +/// Reason-specific value. +/// For this is the exit code. +/// For and this is the signal that killed the process. +/// +/// +public sealed record ProcessExitStatus(ProcessExitReason Reason, int Status) +{ + public ProcessExitStatus(ProcessExitReason reason) : this(reason, 0) + { + } + + public bool IsClean => Reason == ProcessExitReason.ExitCode && Status == 0 || Reason == ProcessExitReason.Success; +} + +/// +/// Reason values for . +/// +public enum ProcessExitReason +{ + // These somewhat correspond to systemd's values for "Result" on a Service, kinda. + // https://www.freedesktop.org/software/systemd/man/org.freedesktop.systemd1.html#Properties2 + + /// + /// Process exited "successfully" according to systemd. + /// + /// + /// This probably means exit code 0, but I want to distinguish them as technically they're not equal. + /// + Success, + + /// + /// Process exited recorded exit code. + /// + ExitCode, + + /// + /// Process was killed by uncaught signal. + /// + /// + /// This won't apply if the process is killed with SIGTERM, + /// as the game handles that and manually returns exit code signum + 128. + /// + Signal, + + /// + /// Process crashed and dumped core. + /// + CoreDump, + + /// + /// Systemd operation failed. + /// + SystemdFailed, + + /// + /// Timeout executing service operation. + /// + Timeout, + + /// + /// Process was killed by the Linux OOM killer. + /// + OomKill, + + /// + /// Catch-all for other unhandled status codes. + /// + Other, } \ No newline at end of file diff --git a/SS14.Watchdog/Components/ProcessManagement/ProcessManagerBasic.cs b/SS14.Watchdog/Components/ProcessManagement/ProcessManagerBasic.cs index c231cb6..a9cd1e7 100644 --- a/SS14.Watchdog/Components/ProcessManagement/ProcessManagerBasic.cs +++ b/SS14.Watchdog/Components/ProcessManagement/ProcessManagerBasic.cs @@ -168,9 +168,6 @@ private sealed class Handle : IProcessHandle { private readonly Process _process; - public bool HasExited => _process.HasExited; - public int ExitCode => _process.ExitCode; - public Handle(Process process) { _process = process; @@ -187,9 +184,20 @@ public async Task WaitForExitAsync(CancellationToken cancel = default) await _process.WaitForExitAsync(cancel); } - public void Kill() + public Task GetExitStatusAsync() + { + if (!_process.HasExited) + return Task.FromResult(null); + + var code = _process.ExitCode; + return Task.FromResult(new ProcessExitStatus(ProcessExitReason.ExitCode, code)); + } + + public Task Kill() { _process.Kill(entireProcessTree: true); + + return Task.CompletedTask; } } } \ No newline at end of file diff --git a/SS14.Watchdog/Components/ProcessManagement/ProcessManagerSystemd.cs b/SS14.Watchdog/Components/ProcessManagement/ProcessManagerSystemd.cs new file mode 100644 index 0000000..534215a --- /dev/null +++ b/SS14.Watchdog/Components/ProcessManagement/ProcessManagerSystemd.cs @@ -0,0 +1,320 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Diagnostics.NETCore.Client; +using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Logging; +using Microsoft.Extensions.Options; +using SS14.Watchdog.Components.ServerManagement; +using systemd1.DBus; +using Tmds.DBus; + +namespace SS14.Watchdog.Components.ProcessManagement; + +/// +/// asdf +/// +public sealed class ProcessManagerSystemd : IProcessManager, IHostedService +{ + private const string ServiceSystemd = "org.freedesktop.systemd1"; + + private readonly ILogger _logger; + + private Connection? _dbusConnection = null!; + private IManager? _systemd = null!; + + public bool CanPersist { get; } + + public ProcessManagerSystemd(ILogger logger, IOptions options) + { + _logger = logger; + + CanPersist = options.Value.PersistServers; + } + + public async Task StartServer(IServerInstance instance, ProcessStartData data, CancellationToken cancel = default) + { + Debug.Assert(_systemd != null); + Debug.Assert(_dbusConnection != null); + + _logger.LogDebug("Starting game server process for instance {Key}: {Program}", instance.Key, data.Program); + + var unitName = GetUnitName(instance); + _logger.LogTrace("Unit name is {UnitName}. Making sure it doesn't exist...", unitName); + + await MakeSureExistingUnitGone(unitName, cancel); + + var properties = new List<(string, object)>(); + + _logger.LogTrace("Working directory: {WorkingDir}", data.WorkingDirectory); + + var args = new List(); + args.Add(Path.GetFileName(data.Program)); + foreach (var argument in data.Arguments) + { + _logger.LogTrace("Arg: {Argument}", argument); + args.Add(argument); + } + + var env = new List(); + foreach (var (envVar, envValue) in data.EnvironmentVariables) + { + _logger.LogTrace("Env: {EnvVar} = {EnvValue}", envVar, envValue); + env.Add($"{envVar}={envValue}"); + } + + properties.Add(("ExecStart", new ExecCommand[]{ new ExecCommand(data.Program, args.ToArray(), false) })); + properties.Add(("WorkingDirectory", data.WorkingDirectory)); + properties.Add(("Environment", env.ToArray())); + properties.Add(("SuccessExitStatus", new ExitStatusSet(new int[] {143}, Array.Empty()))); + // Set KillSignal to SIGKILL: we use the HTTP API to request graceful termination, + // If we tell systemd to stop the game server, it's gotta be forceful. + properties.Add(("KillSignal", 9)); + + _logger.LogTrace($"Running StartTransientUnit..."); + + // await _systemd.SetUnitPropertiesAsync(unitName, false, properties.ToArray()); + + await _systemd.StartTransientUnitAsync( + unitName, + "replace", + properties.ToArray(), + Array.Empty<(string, (string, object)[])>()); + + var unit = await _systemd.GetUnitAsync(unitName); + return new Handle(this, unit); + } + + private async Task MakeSureExistingUnitGone(string unitName, CancellationToken cancel) + { + Debug.Assert(_systemd != null); + Debug.Assert(_dbusConnection != null); + + ObjectPath unitPath; + try + { + unitPath = await _systemd.GetUnitAsync(unitName); + + _logger.LogDebug("Unit {UnitName} already existed. Making sure it's gone", unitName); + + var unit = _dbusConnection.CreateProxy(ServiceSystemd, unitPath); + var unitState = await unit.GetActiveStateAsync(); + + _logger.LogTrace("Unit {UnitName} state is {State}", unitName, unitState); + + if (unitState != "failed") + { + _logger.LogTrace("Killing unit {UnitName} to see where that gets us", unitName); + + var job = await unit.StopAsync("replace"); + await WaitForSystemdJob(job, cancel); + + unitState = await unit.GetActiveStateAsync(); + + _logger.LogTrace("New state of {UnitName} is {State}", unitName, unitState); + } + + if (unitState == "failed") + { + _logger.LogTrace("Running reset-failed on {UnitName}", unitName); + + await unit.ResetFailedAsync(); + } + + // TODO: This sucks. + await Task.Delay(1000, cancel); + + _logger.LogTrace("Alright, unit {UnitName} should be gone now, right?", unitName); + // This will trigger the NoSuchUnit error. + await _systemd.GetUnitAsync(unitName); + } + catch (DBusException e) when (e.ErrorName == "org.freedesktop.systemd1.NoSuchUnit") + { + _logger.LogTrace("Unit {UnitName} never existed or stopped existing while we were killing it, good!", unitName); + return; + } + } + + private async Task WaitForSystemdJob(ObjectPath jobPath, CancellationToken cancel) + { + Debug.Assert(_dbusConnection != null); + + _logger.LogTrace("Waiting on job {JobPath} to finish...", jobPath); + while (true) + { + // TODO: Use systemd's JobRemoved signal to wait for this more gracefully. + await Task.Delay(500, cancel); + try + { + await _dbusConnection.CreateProxy(ServiceSystemd, jobPath).GetAsync("Id"); + } + catch (DBusException e) when (e.ErrorName == "org.freedesktop.DBus.Error.UnknownObject") + { + return; + } + } + } + + public async Task TryGetPersistedServer(IServerInstance instance, string program, CancellationToken cancel) + { + try + { + var unitPath = await _systemd!.GetUnitAsync(GetUnitName(instance)); + var unit = _dbusConnection!.CreateProxy(ServiceSystemd, unitPath); + var state = await unit.GetActiveStateAsync(); + if (state != "active") + { + _logger.LogDebug("Unit exists but has bad state: {Status}", state); + return null; + } + + return new Handle(this, unitPath); + } + catch (DBusException e) when (e.ErrorName == "org.freedesktop.DBus.Error.UnknownObject" || e.ErrorName == "org.freedesktop.systemd1.NoSuchUnit") + { + _logger.LogTrace(e, "Error while trying to find persisted server. This probably just indicates the server is gone."); + return null; + } + } + + private static string GetUnitName(IServerInstance instance) + { + return $"ss14-server-{instance.Key}.service"; + } + + async Task IHostedService.StartAsync(CancellationToken cancellationToken) + { + _dbusConnection = Connection.Session; + + _systemd = _dbusConnection.CreateProxy(ServiceSystemd, "/org/freedesktop/systemd1"); + //await _systemd.SubscribeAsync(); + } + + Task IHostedService.StopAsync(CancellationToken cancellationToken) + { + return Task.CompletedTask; + } + + private sealed class Handle : IProcessHandle + { + private readonly ProcessManagerSystemd _parent; + private readonly ObjectPath _unitPath; + + private ProcessExitStatus? _cachedExitStatus; + + public Handle(ProcessManagerSystemd parent, ObjectPath unitPath) + { + _parent = parent; + _unitPath = unitPath; + } + + public void DumpProcess(string file, DumpType type) + { + // throw new System.NotImplementedException(); + } + + public async Task Kill() + { + try + { + var service = _parent._dbusConnection!.CreateProxy(ServiceSystemd, _unitPath); + await service.StopAsync("replace"); + } + catch (DBusException e) when (e.ErrorName == "org.freedesktop.DBus.Error.UnknownObject" || e.ErrorName == "org.freedesktop.systemd1.NoSuchUnit") + { + return; + } + } + + public async Task WaitForExitAsync(CancellationToken cancel = default) + { + // TODO: Subscribe to systemd events instead of polling. + while (true) + { + await Task.Delay(1000, cancel); + + try + { + var service = _parent._dbusConnection!.CreateProxy(ServiceSystemd, _unitPath); + var state = await service.GetActiveStateAsync(); + if (state == "active" || state == "activating" || state == "deactivating") + continue; + + if (state == "failed" || state == "inactive") + return; + + throw new Exception($"Unexpected state for unit: {state}"); + } + catch (DBusException e) when (e.ErrorName == "org.freedesktop.DBus.Error.UnknownObject") + { + // Unit disappered, happens when it exits gracefully. + return; + } + } + } + + public async Task GetExitStatusAsync() + { + return _cachedExitStatus ??= await GetExitStatusCoreAsync(); + } + + private async Task GetExitStatusCoreAsync() + { + try + { + var unit = _parent._dbusConnection!.CreateProxy(ServiceSystemd, _unitPath); + var service = _parent._dbusConnection!.CreateProxy(ServiceSystemd, _unitPath); + var state = await unit.GetActiveStateAsync(); + if (state == "active" || state == "activating" || state == "deactivating") + return null; + + _parent._logger.LogDebug("Service has state: {State}", state); + + if (state == "failed") + { + var result = await service.GetResultAsync(); + var status = await service.GetExecMainStatusAsync(); + + _parent._logger.LogDebug("Service is failed. Result: {Result}, Status: {Status}", result, status); + + var reason = result switch + { + "timeout" => ProcessExitReason.Timeout, + "exit-code" => ProcessExitReason.ExitCode, + "signal" => ProcessExitReason.Signal, + "core-dump" => ProcessExitReason.CoreDump, + "resources" => ProcessExitReason.SystemdFailed, + _ => ProcessExitReason.Other + }; + + return new ProcessExitStatus(reason, status); + } + + // Because this is a transient unit, it SHOULDN'T go into state "inactive". + // It should just disappear. + // Still though. + if (state == "inactive") + { + // So because we theoretically have the service still, we could get detailed exit status from it. + // Since I doubt this will ever be hit, however, I'll not bother. + return new ProcessExitStatus(ProcessExitReason.Success); + } + + throw new Exception($"Unexpected state for unit: {state}"); + } + catch (DBusException e) when (e.ErrorName == "org.freedesktop.DBus.Error.UnknownObject") + { + _parent._logger.LogTrace("Unit disappeared, that's success"); + + // Unit disappered, happens when it exits gracefully. + return new ProcessExitStatus(ProcessExitReason.Success); + } + } + } + + public record struct ExecCommand(string Binary, string[] Arguments, bool IgnoreFailure); + public record struct ExitStatusSet(int[] ExitCodes, int[] Signals); +} diff --git a/SS14.Watchdog/Components/ProcessManagement/ProcessOptions.cs b/SS14.Watchdog/Components/ProcessManagement/ProcessOptions.cs index 797ffed..c4c1ddf 100644 --- a/SS14.Watchdog/Components/ProcessManagement/ProcessOptions.cs +++ b/SS14.Watchdog/Components/ProcessManagement/ProcessOptions.cs @@ -3,7 +3,7 @@ /// /// Options for server instance process management. /// -public sealed class ProcessOptions +public class ProcessOptions { public const string Position = "Process"; @@ -30,4 +30,9 @@ public enum ProcessMode /// Processes are managed via . /// Basic, -} \ No newline at end of file + + /// + /// Processes are managed via . + /// + Systemd, +} diff --git a/SS14.Watchdog/Components/ProcessManagement/SystemdProcessOptions.cs b/SS14.Watchdog/Components/ProcessManagement/SystemdProcessOptions.cs new file mode 100644 index 0000000..4dcb541 --- /dev/null +++ b/SS14.Watchdog/Components/ProcessManagement/SystemdProcessOptions.cs @@ -0,0 +1,5 @@ +namespace SS14.Watchdog.Components.ProcessManagement; + +public sealed class SystemdProcessOptions : ProcessOptions +{ +} diff --git a/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs b/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs index 7770996..3297807 100644 --- a/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs +++ b/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs @@ -103,6 +103,7 @@ private async Task TryLoadPersistedProcess(CancellationToken cancel) SetToken(token); MonitorServer(++_startNumber, cancel); + StartTimeoutTimer(); } private async Task CommandLoop(CancellationToken cancel) @@ -176,7 +177,7 @@ private async Task RunCommandUpdateAvailable(CommandUpdateAvailable command, Can } } - private Task RunCommandTimedOut(CommandTimedOut timedOut, CancellationToken cancel) + private async Task RunCommandTimedOut(CommandTimedOut timedOut, CancellationToken cancel) { if (timedOut.TimeoutCounter != _serverTimeoutNumber) { @@ -185,11 +186,11 @@ private Task RunCommandTimedOut(CommandTimedOut timedOut, CancellationToken canc // Guard against race condition: the timeout could happen just before we can cancel it // (due to ping, server shutdown, etc). // We use the sequence number to avoid letting it go through in that case. - return Task.CompletedTask; + return; } - TimeoutKill(); - return Task.CompletedTask; + await TimeoutKill(); + return; } private Task RunCommandServerPing(CommandServerPing ping, CancellationToken cancel) @@ -328,6 +329,7 @@ private async Task StartServer(CancellationToken cancel) } MonitorServer(_startNumber, cancel); + StartTimeoutTimer(); } private string GetProgramPath() @@ -345,9 +347,9 @@ private async void MonitorServer(int startNumber, CancellationToken cancel = def try { await _runningServer.WaitForExitAsync(cancel); + var exitStatus = await _runningServer.GetExitStatusAsync(); - _logger.LogInformation("{Key} shut down with exit code {ExitCode}", Key, - _runningServer.ExitCode); + _logger.LogInformation("{Key} shut down with status {ExitStatus}", Key, exitStatus); await _commandQueue.Writer.WriteAsync(new CommandServerExit(startNumber), cancel); } @@ -427,4 +429,4 @@ private sealed record CommandServerExit(int StartNumber) : Command; /// The server has sent us a ping, it's still kicking! /// private sealed record CommandServerPing : Command; -} \ No newline at end of file +} diff --git a/SS14.Watchdog/Components/ServerManagement/ServerInstance.cs b/SS14.Watchdog/Components/ServerManagement/ServerInstance.cs index af13dbb..76516c8 100644 --- a/SS14.Watchdog/Components/ServerManagement/ServerInstance.cs +++ b/SS14.Watchdog/Components/ServerManagement/ServerInstance.cs @@ -231,14 +231,22 @@ public async Task ShutdownAsync() if (IsRunning) { - _logger.LogInformation("Shutting down running server {Key}", Key); - await ForceShutdownServerAsync(); + if (_processManager.CanPersist) + { + _logger.LogInformation("Not shutting down {Key}, persisting running server", Key); + } + else + { + _logger.LogInformation("Shutting down running server {Key}", Key); + await ForceShutdownServerAsync(); + } } } - public void ForceShutdown() + public async Task ForceShutdown() { - _runningServer?.Kill(); + if (_runningServer != null) + await _runningServer.Kill(); } public async Task PingReceived() @@ -262,7 +270,7 @@ private async void StartTimeoutTimer() try { - _logger.LogTrace("Timeout timer started"); + _logger.LogTrace("Timeout timer {Number} started", number); await Task.Delay(PingTimeoutDelay, token); // ReSharper disable once MethodSupportsCancellation @@ -271,11 +279,11 @@ private async void StartTimeoutTimer() catch (OperationCanceledException) { // It still lives. - _logger.LogTrace("Timeout broken, it lives."); + _logger.LogTrace("Timeout {Number} broken, it lives.", number); } } - private void TimeoutKill() + private async Task TimeoutKill() { _logger.LogWarning("{Key}: timed out, killing", Key); @@ -312,7 +320,7 @@ private void TimeoutKill() _logger.LogInformation("{Key}: killing process...", Key); } - _runningServer.Kill(); + await _runningServer.Kill(); // Monitor will notice server died and pick it up. } @@ -351,7 +359,7 @@ public async Task DoRestartCommandAsync(CancellationToken cancel = default) public async Task ForceShutdownServerAsync(CancellationToken cancel = default) { var proc = _runningServer; - if (proc == null || proc.HasExited) + if (proc == null || await proc.GetExitStatusAsync() != null) { return; } @@ -366,13 +374,13 @@ public async Task ForceShutdownServerAsync(CancellationToken cancel = default) catch (HttpRequestException e) { _logger.LogInformation(e, "Exception sending shutdown notification to server. Killing."); - proc.Kill(); + await proc.Kill(); return; } catch (OperationCanceledException) { _logger.LogInformation("Timeout sending shutdown notification to server. Killing."); - proc.Kill(); + await proc.Kill(); return; } @@ -381,17 +389,20 @@ public async Task ForceShutdownServerAsync(CancellationToken cancel = default) // Give it 5 seconds to shut down. var waitCts = CancellationTokenSource.CreateLinkedTokenSource(cancel); waitCts.CancelAfter(5000); + ProcessExitStatus? status; try { await proc.WaitForExitAsync(cancel); + status = await proc.GetExitStatusAsync(); } catch (OperationCanceledException) { _logger.LogInformation("{Key} did not gracefully shut down in time, killing"); - proc.Kill(); + await proc.Kill(); + return; } - _logger.LogInformation("{Key} shut down gracefully", Key); + _logger.LogInformation("{Key} shut down gracefully ({Status})", Key, status); } public async Task SendShutdownNotificationAsync(CancellationToken cancel = default) @@ -410,4 +421,4 @@ private sealed class ShutdownParameters public string Reason { get; set; } = default!; } } -} \ No newline at end of file +} diff --git a/SS14.Watchdog/Components/ServerManagement/ServerManager.cs b/SS14.Watchdog/Components/ServerManagement/ServerManager.cs index 7a3144b..9f7e774 100644 --- a/SS14.Watchdog/Components/ServerManagement/ServerManager.cs +++ b/SS14.Watchdog/Components/ServerManagement/ServerManager.cs @@ -146,7 +146,7 @@ public override async Task StopAsync(CancellationToken cancellationToken) // At least try to kill the server processes I guess (if necessary). foreach (var instance in _instances.Values) { - instance.ForceShutdown(); + await instance.ForceShutdown(); } } } diff --git a/SS14.Watchdog/Startup.cs b/SS14.Watchdog/Startup.cs index 198ef37..0f6c6e5 100644 --- a/SS14.Watchdog/Startup.cs +++ b/SS14.Watchdog/Startup.cs @@ -45,6 +45,11 @@ public void ConfigureServices(IServiceCollection services) services.Configure(processSection); services.AddSingleton(); break; + case ProcessMode.Systemd: + services.Configure(processSection); + services.AddSingleton(); + services.AddHostedService(p => (ProcessManagerSystemd) p.GetService()!); + break; default: throw new ArgumentOutOfRangeException($"Invalid process mode: {processOptions.Mode}"); } diff --git a/SS14.Watchdog/systemd1.DBus.cs b/SS14.Watchdog/systemd1.DBus.cs new file mode 100644 index 0000000..51ca08f --- /dev/null +++ b/SS14.Watchdog/systemd1.DBus.cs @@ -0,0 +1,19412 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading.Tasks; +using Tmds.DBus; + +[assembly: InternalsVisibleTo(Tmds.DBus.Connection.DynamicAssemblyName)] +namespace systemd1.DBus +{ + [DBusInterface("org.freedesktop.LogControl1")] + interface ILogControl1 : IDBusObject + { + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class LogControl1Properties + { + private string _LogLevel = default(string); + public string LogLevel + { + get + { + return _LogLevel; + } + + set + { + _LogLevel = (value); + } + } + + private string _LogTarget = default(string); + public string LogTarget + { + get + { + return _LogTarget; + } + + set + { + _LogTarget = (value); + } + } + + private string _SyslogIdentifier = default(string); + public string SyslogIdentifier + { + get + { + return _SyslogIdentifier; + } + + set + { + _SyslogIdentifier = (value); + } + } + } + + static class LogControl1Extensions + { + public static Task GetLogLevelAsync(this ILogControl1 o) => o.GetAsync("LogLevel"); + public static Task GetLogTargetAsync(this ILogControl1 o) => o.GetAsync("LogTarget"); + public static Task GetSyslogIdentifierAsync(this ILogControl1 o) => o.GetAsync("SyslogIdentifier"); + public static Task SetLogLevelAsync(this ILogControl1 o, string val) => o.SetAsync("LogLevel", val); + public static Task SetLogTargetAsync(this ILogControl1 o, string val) => o.SetAsync("LogTarget", val); + } + + [DBusInterface("org.freedesktop.systemd1.Manager")] + interface IManager : IDBusObject + { + Task GetUnitAsync(string Name); + Task GetUnitByPIDAsync(uint Pid); + Task GetUnitByInvocationIDAsync(byte[] InvocationId); + Task GetUnitByControlGroupAsync(string Cgroup); + Task LoadUnitAsync(string Name); + Task StartUnitAsync(string Name, string Mode); + Task StartUnitWithFlagsAsync(string Name, string Mode, ulong Flags); + Task StartUnitReplaceAsync(string OldUnit, string NewUnit, string Mode); + Task StopUnitAsync(string Name, string Mode); + Task ReloadUnitAsync(string Name, string Mode); + Task RestartUnitAsync(string Name, string Mode); + Task TryRestartUnitAsync(string Name, string Mode); + Task ReloadOrRestartUnitAsync(string Name, string Mode); + Task ReloadOrTryRestartUnitAsync(string Name, string Mode); + Task<(uint jobId, ObjectPath jobPath, string unitId, ObjectPath unitPath, string jobType, (uint, ObjectPath, string, ObjectPath, string)[] affectedJobs)> EnqueueUnitJobAsync(string Name, string JobType, string JobMode); + Task KillUnitAsync(string Name, string Whom, int Signal); + Task CleanUnitAsync(string Name, string[] Mask); + Task FreezeUnitAsync(string Name); + Task ThawUnitAsync(string Name); + Task ResetFailedUnitAsync(string Name); + Task SetUnitPropertiesAsync(string Name, bool Runtime, (string, object)[] Properties); + Task BindMountUnitAsync(string Name, string Source, string Destination, bool ReadOnly, bool Mkdir); + Task MountImageUnitAsync(string Name, string Source, string Destination, bool ReadOnly, bool Mkdir, (string, string)[] Options); + Task RefUnitAsync(string Name); + Task UnrefUnitAsync(string Name); + Task StartTransientUnitAsync(string Name, string Mode, (string, object)[] Properties, (string, (string, object)[])[] Aux); + Task<(string, uint, string)[]> GetUnitProcessesAsync(string Name); + Task AttachProcessesToUnitAsync(string UnitName, string Subcgroup, uint[] Pids); + Task AbandonScopeAsync(string Name); + Task GetJobAsync(uint Id); + Task<(uint, string, string, string, ObjectPath, ObjectPath)[]> GetJobAfterAsync(uint Id); + Task<(uint, string, string, string, ObjectPath, ObjectPath)[]> GetJobBeforeAsync(uint Id); + Task CancelJobAsync(uint Id); + Task ClearJobsAsync(); + Task ResetFailedAsync(); + Task SetShowStatusAsync(string Mode); + Task<(string, string, string, string, string, string, ObjectPath, uint, string, ObjectPath)[]> ListUnitsAsync(); + Task<(string, string, string, string, string, string, ObjectPath, uint, string, ObjectPath)[]> ListUnitsFilteredAsync(string[] States); + Task<(string, string, string, string, string, string, ObjectPath, uint, string, ObjectPath)[]> ListUnitsByPatternsAsync(string[] States, string[] Patterns); + Task<(string, string, string, string, string, string, ObjectPath, uint, string, ObjectPath)[]> ListUnitsByNamesAsync(string[] Names); + Task<(uint, string, string, string, ObjectPath, ObjectPath)[]> ListJobsAsync(); + Task SubscribeAsync(); + Task UnsubscribeAsync(); + Task DumpAsync(); + Task DumpUnitsMatchingPatternsAsync(string[] Patterns); + Task DumpByFileDescriptorAsync(); + Task DumpUnitsMatchingPatternsByFileDescriptorAsync(string[] Patterns); + Task ReloadAsync(); + Task ReexecuteAsync(); + Task ExitAsync(); + Task RebootAsync(); + Task PowerOffAsync(); + Task HaltAsync(); + Task KExecAsync(); + Task SwitchRootAsync(string NewRoot, string Init); + Task SetEnvironmentAsync(string[] Assignments); + Task UnsetEnvironmentAsync(string[] Names); + Task UnsetAndSetEnvironmentAsync(string[] Names, string[] Assignments); + Task EnqueueMarkedJobsAsync(); + Task<(string, string)[]> ListUnitFilesAsync(); + Task<(string, string)[]> ListUnitFilesByPatternsAsync(string[] States, string[] Patterns); + Task GetUnitFileStateAsync(string File); + Task<(bool carriesInstallInfo, (string, string, string)[] changes)> EnableUnitFilesAsync(string[] Files, bool Runtime, bool Force); + Task<(string, string, string)[]> DisableUnitFilesAsync(string[] Files, bool Runtime); + Task<(bool carriesInstallInfo, (string, string, string)[] changes)> EnableUnitFilesWithFlagsAsync(string[] Files, ulong Flags); + Task<(string, string, string)[]> DisableUnitFilesWithFlagsAsync(string[] Files, ulong Flags); + Task<(bool carriesInstallInfo, (string, string, string)[] changes)> ReenableUnitFilesAsync(string[] Files, bool Runtime, bool Force); + Task<(string, string, string)[]> LinkUnitFilesAsync(string[] Files, bool Runtime, bool Force); + Task<(bool carriesInstallInfo, (string, string, string)[] changes)> PresetUnitFilesAsync(string[] Files, bool Runtime, bool Force); + Task<(bool carriesInstallInfo, (string, string, string)[] changes)> PresetUnitFilesWithModeAsync(string[] Files, string Mode, bool Runtime, bool Force); + Task<(string, string, string)[]> MaskUnitFilesAsync(string[] Files, bool Runtime, bool Force); + Task<(string, string, string)[]> UnmaskUnitFilesAsync(string[] Files, bool Runtime); + Task<(string, string, string)[]> RevertUnitFilesAsync(string[] Files); + Task<(string, string, string)[]> SetDefaultTargetAsync(string Name, bool Force); + Task GetDefaultTargetAsync(); + Task<(string, string, string)[]> PresetAllUnitFilesAsync(string Mode, bool Runtime, bool Force); + Task<(string, string, string)[]> AddDependencyUnitFilesAsync(string[] Files, string Target, string Type, bool Runtime, bool Force); + Task GetUnitFileLinksAsync(string Name, bool Runtime); + Task SetExitCodeAsync(byte Number); + Task LookupDynamicUserByNameAsync(string Name); + Task LookupDynamicUserByUIDAsync(uint Uid); + Task<(uint, string)[]> GetDynamicUsersAsync(); + Task WatchUnitNewAsync(Action<(string id, ObjectPath unit)> handler, Action onError = null); + Task WatchUnitRemovedAsync(Action<(string id, ObjectPath unit)> handler, Action onError = null); + Task WatchJobNewAsync(Action<(uint id, ObjectPath job, string unit)> handler, Action onError = null); + Task WatchJobRemovedAsync(Action<(uint id, ObjectPath job, string unit, string result)> handler, Action onError = null); + Task WatchStartupFinishedAsync(Action<(ulong firmware, ulong loader, ulong kernel, ulong initrd, ulong userspace, ulong total)> handler, Action onError = null); + Task WatchUnitFilesChangedAsync(Action handler, Action onError = null); + Task WatchReloadingAsync(Action handler, Action onError = null); + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class ManagerProperties + { + private string _Version = default(string); + public string Version + { + get + { + return _Version; + } + + set + { + _Version = (value); + } + } + + private string _Features = default(string); + public string Features + { + get + { + return _Features; + } + + set + { + _Features = (value); + } + } + + private string _Virtualization = default(string); + public string Virtualization + { + get + { + return _Virtualization; + } + + set + { + _Virtualization = (value); + } + } + + private string _Architecture = default(string); + public string Architecture + { + get + { + return _Architecture; + } + + set + { + _Architecture = (value); + } + } + + private string _Tainted = default(string); + public string Tainted + { + get + { + return _Tainted; + } + + set + { + _Tainted = (value); + } + } + + private ulong _FirmwareTimestamp = default(ulong); + public ulong FirmwareTimestamp + { + get + { + return _FirmwareTimestamp; + } + + set + { + _FirmwareTimestamp = (value); + } + } + + private ulong _FirmwareTimestampMonotonic = default(ulong); + public ulong FirmwareTimestampMonotonic + { + get + { + return _FirmwareTimestampMonotonic; + } + + set + { + _FirmwareTimestampMonotonic = (value); + } + } + + private ulong _LoaderTimestamp = default(ulong); + public ulong LoaderTimestamp + { + get + { + return _LoaderTimestamp; + } + + set + { + _LoaderTimestamp = (value); + } + } + + private ulong _LoaderTimestampMonotonic = default(ulong); + public ulong LoaderTimestampMonotonic + { + get + { + return _LoaderTimestampMonotonic; + } + + set + { + _LoaderTimestampMonotonic = (value); + } + } + + private ulong _KernelTimestamp = default(ulong); + public ulong KernelTimestamp + { + get + { + return _KernelTimestamp; + } + + set + { + _KernelTimestamp = (value); + } + } + + private ulong _KernelTimestampMonotonic = default(ulong); + public ulong KernelTimestampMonotonic + { + get + { + return _KernelTimestampMonotonic; + } + + set + { + _KernelTimestampMonotonic = (value); + } + } + + private ulong _InitRDTimestamp = default(ulong); + public ulong InitRDTimestamp + { + get + { + return _InitRDTimestamp; + } + + set + { + _InitRDTimestamp = (value); + } + } + + private ulong _InitRDTimestampMonotonic = default(ulong); + public ulong InitRDTimestampMonotonic + { + get + { + return _InitRDTimestampMonotonic; + } + + set + { + _InitRDTimestampMonotonic = (value); + } + } + + private ulong _UserspaceTimestamp = default(ulong); + public ulong UserspaceTimestamp + { + get + { + return _UserspaceTimestamp; + } + + set + { + _UserspaceTimestamp = (value); + } + } + + private ulong _UserspaceTimestampMonotonic = default(ulong); + public ulong UserspaceTimestampMonotonic + { + get + { + return _UserspaceTimestampMonotonic; + } + + set + { + _UserspaceTimestampMonotonic = (value); + } + } + + private ulong _FinishTimestamp = default(ulong); + public ulong FinishTimestamp + { + get + { + return _FinishTimestamp; + } + + set + { + _FinishTimestamp = (value); + } + } + + private ulong _FinishTimestampMonotonic = default(ulong); + public ulong FinishTimestampMonotonic + { + get + { + return _FinishTimestampMonotonic; + } + + set + { + _FinishTimestampMonotonic = (value); + } + } + + private ulong _SecurityStartTimestamp = default(ulong); + public ulong SecurityStartTimestamp + { + get + { + return _SecurityStartTimestamp; + } + + set + { + _SecurityStartTimestamp = (value); + } + } + + private ulong _SecurityStartTimestampMonotonic = default(ulong); + public ulong SecurityStartTimestampMonotonic + { + get + { + return _SecurityStartTimestampMonotonic; + } + + set + { + _SecurityStartTimestampMonotonic = (value); + } + } + + private ulong _SecurityFinishTimestamp = default(ulong); + public ulong SecurityFinishTimestamp + { + get + { + return _SecurityFinishTimestamp; + } + + set + { + _SecurityFinishTimestamp = (value); + } + } + + private ulong _SecurityFinishTimestampMonotonic = default(ulong); + public ulong SecurityFinishTimestampMonotonic + { + get + { + return _SecurityFinishTimestampMonotonic; + } + + set + { + _SecurityFinishTimestampMonotonic = (value); + } + } + + private ulong _GeneratorsStartTimestamp = default(ulong); + public ulong GeneratorsStartTimestamp + { + get + { + return _GeneratorsStartTimestamp; + } + + set + { + _GeneratorsStartTimestamp = (value); + } + } + + private ulong _GeneratorsStartTimestampMonotonic = default(ulong); + public ulong GeneratorsStartTimestampMonotonic + { + get + { + return _GeneratorsStartTimestampMonotonic; + } + + set + { + _GeneratorsStartTimestampMonotonic = (value); + } + } + + private ulong _GeneratorsFinishTimestamp = default(ulong); + public ulong GeneratorsFinishTimestamp + { + get + { + return _GeneratorsFinishTimestamp; + } + + set + { + _GeneratorsFinishTimestamp = (value); + } + } + + private ulong _GeneratorsFinishTimestampMonotonic = default(ulong); + public ulong GeneratorsFinishTimestampMonotonic + { + get + { + return _GeneratorsFinishTimestampMonotonic; + } + + set + { + _GeneratorsFinishTimestampMonotonic = (value); + } + } + + private ulong _UnitsLoadStartTimestamp = default(ulong); + public ulong UnitsLoadStartTimestamp + { + get + { + return _UnitsLoadStartTimestamp; + } + + set + { + _UnitsLoadStartTimestamp = (value); + } + } + + private ulong _UnitsLoadStartTimestampMonotonic = default(ulong); + public ulong UnitsLoadStartTimestampMonotonic + { + get + { + return _UnitsLoadStartTimestampMonotonic; + } + + set + { + _UnitsLoadStartTimestampMonotonic = (value); + } + } + + private ulong _UnitsLoadFinishTimestamp = default(ulong); + public ulong UnitsLoadFinishTimestamp + { + get + { + return _UnitsLoadFinishTimestamp; + } + + set + { + _UnitsLoadFinishTimestamp = (value); + } + } + + private ulong _UnitsLoadFinishTimestampMonotonic = default(ulong); + public ulong UnitsLoadFinishTimestampMonotonic + { + get + { + return _UnitsLoadFinishTimestampMonotonic; + } + + set + { + _UnitsLoadFinishTimestampMonotonic = (value); + } + } + + private ulong _UnitsLoadTimestamp = default(ulong); + public ulong UnitsLoadTimestamp + { + get + { + return _UnitsLoadTimestamp; + } + + set + { + _UnitsLoadTimestamp = (value); + } + } + + private ulong _UnitsLoadTimestampMonotonic = default(ulong); + public ulong UnitsLoadTimestampMonotonic + { + get + { + return _UnitsLoadTimestampMonotonic; + } + + set + { + _UnitsLoadTimestampMonotonic = (value); + } + } + + private ulong _InitRDSecurityStartTimestamp = default(ulong); + public ulong InitRDSecurityStartTimestamp + { + get + { + return _InitRDSecurityStartTimestamp; + } + + set + { + _InitRDSecurityStartTimestamp = (value); + } + } + + private ulong _InitRDSecurityStartTimestampMonotonic = default(ulong); + public ulong InitRDSecurityStartTimestampMonotonic + { + get + { + return _InitRDSecurityStartTimestampMonotonic; + } + + set + { + _InitRDSecurityStartTimestampMonotonic = (value); + } + } + + private ulong _InitRDSecurityFinishTimestamp = default(ulong); + public ulong InitRDSecurityFinishTimestamp + { + get + { + return _InitRDSecurityFinishTimestamp; + } + + set + { + _InitRDSecurityFinishTimestamp = (value); + } + } + + private ulong _InitRDSecurityFinishTimestampMonotonic = default(ulong); + public ulong InitRDSecurityFinishTimestampMonotonic + { + get + { + return _InitRDSecurityFinishTimestampMonotonic; + } + + set + { + _InitRDSecurityFinishTimestampMonotonic = (value); + } + } + + private ulong _InitRDGeneratorsStartTimestamp = default(ulong); + public ulong InitRDGeneratorsStartTimestamp + { + get + { + return _InitRDGeneratorsStartTimestamp; + } + + set + { + _InitRDGeneratorsStartTimestamp = (value); + } + } + + private ulong _InitRDGeneratorsStartTimestampMonotonic = default(ulong); + public ulong InitRDGeneratorsStartTimestampMonotonic + { + get + { + return _InitRDGeneratorsStartTimestampMonotonic; + } + + set + { + _InitRDGeneratorsStartTimestampMonotonic = (value); + } + } + + private ulong _InitRDGeneratorsFinishTimestamp = default(ulong); + public ulong InitRDGeneratorsFinishTimestamp + { + get + { + return _InitRDGeneratorsFinishTimestamp; + } + + set + { + _InitRDGeneratorsFinishTimestamp = (value); + } + } + + private ulong _InitRDGeneratorsFinishTimestampMonotonic = default(ulong); + public ulong InitRDGeneratorsFinishTimestampMonotonic + { + get + { + return _InitRDGeneratorsFinishTimestampMonotonic; + } + + set + { + _InitRDGeneratorsFinishTimestampMonotonic = (value); + } + } + + private ulong _InitRDUnitsLoadStartTimestamp = default(ulong); + public ulong InitRDUnitsLoadStartTimestamp + { + get + { + return _InitRDUnitsLoadStartTimestamp; + } + + set + { + _InitRDUnitsLoadStartTimestamp = (value); + } + } + + private ulong _InitRDUnitsLoadStartTimestampMonotonic = default(ulong); + public ulong InitRDUnitsLoadStartTimestampMonotonic + { + get + { + return _InitRDUnitsLoadStartTimestampMonotonic; + } + + set + { + _InitRDUnitsLoadStartTimestampMonotonic = (value); + } + } + + private ulong _InitRDUnitsLoadFinishTimestamp = default(ulong); + public ulong InitRDUnitsLoadFinishTimestamp + { + get + { + return _InitRDUnitsLoadFinishTimestamp; + } + + set + { + _InitRDUnitsLoadFinishTimestamp = (value); + } + } + + private ulong _InitRDUnitsLoadFinishTimestampMonotonic = default(ulong); + public ulong InitRDUnitsLoadFinishTimestampMonotonic + { + get + { + return _InitRDUnitsLoadFinishTimestampMonotonic; + } + + set + { + _InitRDUnitsLoadFinishTimestampMonotonic = (value); + } + } + + private string _LogLevel = default(string); + public string LogLevel + { + get + { + return _LogLevel; + } + + set + { + _LogLevel = (value); + } + } + + private string _LogTarget = default(string); + public string LogTarget + { + get + { + return _LogTarget; + } + + set + { + _LogTarget = (value); + } + } + + private uint _NNames = default(uint); + public uint NNames + { + get + { + return _NNames; + } + + set + { + _NNames = (value); + } + } + + private uint _NFailedUnits = default(uint); + public uint NFailedUnits + { + get + { + return _NFailedUnits; + } + + set + { + _NFailedUnits = (value); + } + } + + private uint _NJobs = default(uint); + public uint NJobs + { + get + { + return _NJobs; + } + + set + { + _NJobs = (value); + } + } + + private uint _NInstalledJobs = default(uint); + public uint NInstalledJobs + { + get + { + return _NInstalledJobs; + } + + set + { + _NInstalledJobs = (value); + } + } + + private uint _NFailedJobs = default(uint); + public uint NFailedJobs + { + get + { + return _NFailedJobs; + } + + set + { + _NFailedJobs = (value); + } + } + + private double _Progress = default(double); + public double Progress + { + get + { + return _Progress; + } + + set + { + _Progress = (value); + } + } + + private string[] _Environment = default(string[]); + public string[] Environment + { + get + { + return _Environment; + } + + set + { + _Environment = (value); + } + } + + private bool _ConfirmSpawn = default(bool); + public bool ConfirmSpawn + { + get + { + return _ConfirmSpawn; + } + + set + { + _ConfirmSpawn = (value); + } + } + + private bool _ShowStatus = default(bool); + public bool ShowStatus + { + get + { + return _ShowStatus; + } + + set + { + _ShowStatus = (value); + } + } + + private string[] _UnitPath = default(string[]); + public string[] UnitPath + { + get + { + return _UnitPath; + } + + set + { + _UnitPath = (value); + } + } + + private string _DefaultStandardOutput = default(string); + public string DefaultStandardOutput + { + get + { + return _DefaultStandardOutput; + } + + set + { + _DefaultStandardOutput = (value); + } + } + + private string _DefaultStandardError = default(string); + public string DefaultStandardError + { + get + { + return _DefaultStandardError; + } + + set + { + _DefaultStandardError = (value); + } + } + + private string _WatchdogDevice = default(string); + public string WatchdogDevice + { + get + { + return _WatchdogDevice; + } + + set + { + _WatchdogDevice = (value); + } + } + + private ulong _WatchdogLastPingTimestamp = default(ulong); + public ulong WatchdogLastPingTimestamp + { + get + { + return _WatchdogLastPingTimestamp; + } + + set + { + _WatchdogLastPingTimestamp = (value); + } + } + + private ulong _WatchdogLastPingTimestampMonotonic = default(ulong); + public ulong WatchdogLastPingTimestampMonotonic + { + get + { + return _WatchdogLastPingTimestampMonotonic; + } + + set + { + _WatchdogLastPingTimestampMonotonic = (value); + } + } + + private ulong _RuntimeWatchdogUSec = default(ulong); + public ulong RuntimeWatchdogUSec + { + get + { + return _RuntimeWatchdogUSec; + } + + set + { + _RuntimeWatchdogUSec = (value); + } + } + + private ulong _RuntimeWatchdogPreUSec = default(ulong); + public ulong RuntimeWatchdogPreUSec + { + get + { + return _RuntimeWatchdogPreUSec; + } + + set + { + _RuntimeWatchdogPreUSec = (value); + } + } + + private string _RuntimeWatchdogPreGovernor = default(string); + public string RuntimeWatchdogPreGovernor + { + get + { + return _RuntimeWatchdogPreGovernor; + } + + set + { + _RuntimeWatchdogPreGovernor = (value); + } + } + + private ulong _RebootWatchdogUSec = default(ulong); + public ulong RebootWatchdogUSec + { + get + { + return _RebootWatchdogUSec; + } + + set + { + _RebootWatchdogUSec = (value); + } + } + + private ulong _KExecWatchdogUSec = default(ulong); + public ulong KExecWatchdogUSec + { + get + { + return _KExecWatchdogUSec; + } + + set + { + _KExecWatchdogUSec = (value); + } + } + + private bool _ServiceWatchdogs = default(bool); + public bool ServiceWatchdogs + { + get + { + return _ServiceWatchdogs; + } + + set + { + _ServiceWatchdogs = (value); + } + } + + private string _ControlGroup = default(string); + public string ControlGroup + { + get + { + return _ControlGroup; + } + + set + { + _ControlGroup = (value); + } + } + + private string _SystemState = default(string); + public string SystemState + { + get + { + return _SystemState; + } + + set + { + _SystemState = (value); + } + } + + private byte _ExitCode = default(byte); + public byte ExitCode + { + get + { + return _ExitCode; + } + + set + { + _ExitCode = (value); + } + } + + private ulong _DefaultTimerAccuracyUSec = default(ulong); + public ulong DefaultTimerAccuracyUSec + { + get + { + return _DefaultTimerAccuracyUSec; + } + + set + { + _DefaultTimerAccuracyUSec = (value); + } + } + + private ulong _DefaultTimeoutStartUSec = default(ulong); + public ulong DefaultTimeoutStartUSec + { + get + { + return _DefaultTimeoutStartUSec; + } + + set + { + _DefaultTimeoutStartUSec = (value); + } + } + + private ulong _DefaultTimeoutStopUSec = default(ulong); + public ulong DefaultTimeoutStopUSec + { + get + { + return _DefaultTimeoutStopUSec; + } + + set + { + _DefaultTimeoutStopUSec = (value); + } + } + + private ulong _DefaultTimeoutAbortUSec = default(ulong); + public ulong DefaultTimeoutAbortUSec + { + get + { + return _DefaultTimeoutAbortUSec; + } + + set + { + _DefaultTimeoutAbortUSec = (value); + } + } + + private ulong _DefaultDeviceTimeoutUSec = default(ulong); + public ulong DefaultDeviceTimeoutUSec + { + get + { + return _DefaultDeviceTimeoutUSec; + } + + set + { + _DefaultDeviceTimeoutUSec = (value); + } + } + + private ulong _DefaultRestartUSec = default(ulong); + public ulong DefaultRestartUSec + { + get + { + return _DefaultRestartUSec; + } + + set + { + _DefaultRestartUSec = (value); + } + } + + private ulong _DefaultStartLimitIntervalUSec = default(ulong); + public ulong DefaultStartLimitIntervalUSec + { + get + { + return _DefaultStartLimitIntervalUSec; + } + + set + { + _DefaultStartLimitIntervalUSec = (value); + } + } + + private uint _DefaultStartLimitBurst = default(uint); + public uint DefaultStartLimitBurst + { + get + { + return _DefaultStartLimitBurst; + } + + set + { + _DefaultStartLimitBurst = (value); + } + } + + private bool _DefaultCPUAccounting = default(bool); + public bool DefaultCPUAccounting + { + get + { + return _DefaultCPUAccounting; + } + + set + { + _DefaultCPUAccounting = (value); + } + } + + private bool _DefaultBlockIOAccounting = default(bool); + public bool DefaultBlockIOAccounting + { + get + { + return _DefaultBlockIOAccounting; + } + + set + { + _DefaultBlockIOAccounting = (value); + } + } + + private bool _DefaultMemoryAccounting = default(bool); + public bool DefaultMemoryAccounting + { + get + { + return _DefaultMemoryAccounting; + } + + set + { + _DefaultMemoryAccounting = (value); + } + } + + private bool _DefaultTasksAccounting = default(bool); + public bool DefaultTasksAccounting + { + get + { + return _DefaultTasksAccounting; + } + + set + { + _DefaultTasksAccounting = (value); + } + } + + private ulong _DefaultLimitCPU = default(ulong); + public ulong DefaultLimitCPU + { + get + { + return _DefaultLimitCPU; + } + + set + { + _DefaultLimitCPU = (value); + } + } + + private ulong _DefaultLimitCPUSoft = default(ulong); + public ulong DefaultLimitCPUSoft + { + get + { + return _DefaultLimitCPUSoft; + } + + set + { + _DefaultLimitCPUSoft = (value); + } + } + + private ulong _DefaultLimitFSIZE = default(ulong); + public ulong DefaultLimitFSIZE + { + get + { + return _DefaultLimitFSIZE; + } + + set + { + _DefaultLimitFSIZE = (value); + } + } + + private ulong _DefaultLimitFSIZESoft = default(ulong); + public ulong DefaultLimitFSIZESoft + { + get + { + return _DefaultLimitFSIZESoft; + } + + set + { + _DefaultLimitFSIZESoft = (value); + } + } + + private ulong _DefaultLimitDATA = default(ulong); + public ulong DefaultLimitDATA + { + get + { + return _DefaultLimitDATA; + } + + set + { + _DefaultLimitDATA = (value); + } + } + + private ulong _DefaultLimitDATASoft = default(ulong); + public ulong DefaultLimitDATASoft + { + get + { + return _DefaultLimitDATASoft; + } + + set + { + _DefaultLimitDATASoft = (value); + } + } + + private ulong _DefaultLimitSTACK = default(ulong); + public ulong DefaultLimitSTACK + { + get + { + return _DefaultLimitSTACK; + } + + set + { + _DefaultLimitSTACK = (value); + } + } + + private ulong _DefaultLimitSTACKSoft = default(ulong); + public ulong DefaultLimitSTACKSoft + { + get + { + return _DefaultLimitSTACKSoft; + } + + set + { + _DefaultLimitSTACKSoft = (value); + } + } + + private ulong _DefaultLimitCORE = default(ulong); + public ulong DefaultLimitCORE + { + get + { + return _DefaultLimitCORE; + } + + set + { + _DefaultLimitCORE = (value); + } + } + + private ulong _DefaultLimitCORESoft = default(ulong); + public ulong DefaultLimitCORESoft + { + get + { + return _DefaultLimitCORESoft; + } + + set + { + _DefaultLimitCORESoft = (value); + } + } + + private ulong _DefaultLimitRSS = default(ulong); + public ulong DefaultLimitRSS + { + get + { + return _DefaultLimitRSS; + } + + set + { + _DefaultLimitRSS = (value); + } + } + + private ulong _DefaultLimitRSSSoft = default(ulong); + public ulong DefaultLimitRSSSoft + { + get + { + return _DefaultLimitRSSSoft; + } + + set + { + _DefaultLimitRSSSoft = (value); + } + } + + private ulong _DefaultLimitNOFILE = default(ulong); + public ulong DefaultLimitNOFILE + { + get + { + return _DefaultLimitNOFILE; + } + + set + { + _DefaultLimitNOFILE = (value); + } + } + + private ulong _DefaultLimitNOFILESoft = default(ulong); + public ulong DefaultLimitNOFILESoft + { + get + { + return _DefaultLimitNOFILESoft; + } + + set + { + _DefaultLimitNOFILESoft = (value); + } + } + + private ulong _DefaultLimitAS = default(ulong); + public ulong DefaultLimitAS + { + get + { + return _DefaultLimitAS; + } + + set + { + _DefaultLimitAS = (value); + } + } + + private ulong _DefaultLimitASSoft = default(ulong); + public ulong DefaultLimitASSoft + { + get + { + return _DefaultLimitASSoft; + } + + set + { + _DefaultLimitASSoft = (value); + } + } + + private ulong _DefaultLimitNPROC = default(ulong); + public ulong DefaultLimitNPROC + { + get + { + return _DefaultLimitNPROC; + } + + set + { + _DefaultLimitNPROC = (value); + } + } + + private ulong _DefaultLimitNPROCSoft = default(ulong); + public ulong DefaultLimitNPROCSoft + { + get + { + return _DefaultLimitNPROCSoft; + } + + set + { + _DefaultLimitNPROCSoft = (value); + } + } + + private ulong _DefaultLimitMEMLOCK = default(ulong); + public ulong DefaultLimitMEMLOCK + { + get + { + return _DefaultLimitMEMLOCK; + } + + set + { + _DefaultLimitMEMLOCK = (value); + } + } + + private ulong _DefaultLimitMEMLOCKSoft = default(ulong); + public ulong DefaultLimitMEMLOCKSoft + { + get + { + return _DefaultLimitMEMLOCKSoft; + } + + set + { + _DefaultLimitMEMLOCKSoft = (value); + } + } + + private ulong _DefaultLimitLOCKS = default(ulong); + public ulong DefaultLimitLOCKS + { + get + { + return _DefaultLimitLOCKS; + } + + set + { + _DefaultLimitLOCKS = (value); + } + } + + private ulong _DefaultLimitLOCKSSoft = default(ulong); + public ulong DefaultLimitLOCKSSoft + { + get + { + return _DefaultLimitLOCKSSoft; + } + + set + { + _DefaultLimitLOCKSSoft = (value); + } + } + + private ulong _DefaultLimitSIGPENDING = default(ulong); + public ulong DefaultLimitSIGPENDING + { + get + { + return _DefaultLimitSIGPENDING; + } + + set + { + _DefaultLimitSIGPENDING = (value); + } + } + + private ulong _DefaultLimitSIGPENDINGSoft = default(ulong); + public ulong DefaultLimitSIGPENDINGSoft + { + get + { + return _DefaultLimitSIGPENDINGSoft; + } + + set + { + _DefaultLimitSIGPENDINGSoft = (value); + } + } + + private ulong _DefaultLimitMSGQUEUE = default(ulong); + public ulong DefaultLimitMSGQUEUE + { + get + { + return _DefaultLimitMSGQUEUE; + } + + set + { + _DefaultLimitMSGQUEUE = (value); + } + } + + private ulong _DefaultLimitMSGQUEUESoft = default(ulong); + public ulong DefaultLimitMSGQUEUESoft + { + get + { + return _DefaultLimitMSGQUEUESoft; + } + + set + { + _DefaultLimitMSGQUEUESoft = (value); + } + } + + private ulong _DefaultLimitNICE = default(ulong); + public ulong DefaultLimitNICE + { + get + { + return _DefaultLimitNICE; + } + + set + { + _DefaultLimitNICE = (value); + } + } + + private ulong _DefaultLimitNICESoft = default(ulong); + public ulong DefaultLimitNICESoft + { + get + { + return _DefaultLimitNICESoft; + } + + set + { + _DefaultLimitNICESoft = (value); + } + } + + private ulong _DefaultLimitRTPRIO = default(ulong); + public ulong DefaultLimitRTPRIO + { + get + { + return _DefaultLimitRTPRIO; + } + + set + { + _DefaultLimitRTPRIO = (value); + } + } + + private ulong _DefaultLimitRTPRIOSoft = default(ulong); + public ulong DefaultLimitRTPRIOSoft + { + get + { + return _DefaultLimitRTPRIOSoft; + } + + set + { + _DefaultLimitRTPRIOSoft = (value); + } + } + + private ulong _DefaultLimitRTTIME = default(ulong); + public ulong DefaultLimitRTTIME + { + get + { + return _DefaultLimitRTTIME; + } + + set + { + _DefaultLimitRTTIME = (value); + } + } + + private ulong _DefaultLimitRTTIMESoft = default(ulong); + public ulong DefaultLimitRTTIMESoft + { + get + { + return _DefaultLimitRTTIMESoft; + } + + set + { + _DefaultLimitRTTIMESoft = (value); + } + } + + private ulong _DefaultTasksMax = default(ulong); + public ulong DefaultTasksMax + { + get + { + return _DefaultTasksMax; + } + + set + { + _DefaultTasksMax = (value); + } + } + + private ulong _TimerSlackNSec = default(ulong); + public ulong TimerSlackNSec + { + get + { + return _TimerSlackNSec; + } + + set + { + _TimerSlackNSec = (value); + } + } + + private string _DefaultOOMPolicy = default(string); + public string DefaultOOMPolicy + { + get + { + return _DefaultOOMPolicy; + } + + set + { + _DefaultOOMPolicy = (value); + } + } + + private int _DefaultOOMScoreAdjust = default(int); + public int DefaultOOMScoreAdjust + { + get + { + return _DefaultOOMScoreAdjust; + } + + set + { + _DefaultOOMScoreAdjust = (value); + } + } + + private string _CtrlAltDelBurstAction = default(string); + public string CtrlAltDelBurstAction + { + get + { + return _CtrlAltDelBurstAction; + } + + set + { + _CtrlAltDelBurstAction = (value); + } + } + } + + static class ManagerExtensions + { + public static Task GetVersionAsync(this IManager o) => o.GetAsync("Version"); + public static Task GetFeaturesAsync(this IManager o) => o.GetAsync("Features"); + public static Task GetVirtualizationAsync(this IManager o) => o.GetAsync("Virtualization"); + public static Task GetArchitectureAsync(this IManager o) => o.GetAsync("Architecture"); + public static Task GetTaintedAsync(this IManager o) => o.GetAsync("Tainted"); + public static Task GetFirmwareTimestampAsync(this IManager o) => o.GetAsync("FirmwareTimestamp"); + public static Task GetFirmwareTimestampMonotonicAsync(this IManager o) => o.GetAsync("FirmwareTimestampMonotonic"); + public static Task GetLoaderTimestampAsync(this IManager o) => o.GetAsync("LoaderTimestamp"); + public static Task GetLoaderTimestampMonotonicAsync(this IManager o) => o.GetAsync("LoaderTimestampMonotonic"); + public static Task GetKernelTimestampAsync(this IManager o) => o.GetAsync("KernelTimestamp"); + public static Task GetKernelTimestampMonotonicAsync(this IManager o) => o.GetAsync("KernelTimestampMonotonic"); + public static Task GetInitRDTimestampAsync(this IManager o) => o.GetAsync("InitRDTimestamp"); + public static Task GetInitRDTimestampMonotonicAsync(this IManager o) => o.GetAsync("InitRDTimestampMonotonic"); + public static Task GetUserspaceTimestampAsync(this IManager o) => o.GetAsync("UserspaceTimestamp"); + public static Task GetUserspaceTimestampMonotonicAsync(this IManager o) => o.GetAsync("UserspaceTimestampMonotonic"); + public static Task GetFinishTimestampAsync(this IManager o) => o.GetAsync("FinishTimestamp"); + public static Task GetFinishTimestampMonotonicAsync(this IManager o) => o.GetAsync("FinishTimestampMonotonic"); + public static Task GetSecurityStartTimestampAsync(this IManager o) => o.GetAsync("SecurityStartTimestamp"); + public static Task GetSecurityStartTimestampMonotonicAsync(this IManager o) => o.GetAsync("SecurityStartTimestampMonotonic"); + public static Task GetSecurityFinishTimestampAsync(this IManager o) => o.GetAsync("SecurityFinishTimestamp"); + public static Task GetSecurityFinishTimestampMonotonicAsync(this IManager o) => o.GetAsync("SecurityFinishTimestampMonotonic"); + public static Task GetGeneratorsStartTimestampAsync(this IManager o) => o.GetAsync("GeneratorsStartTimestamp"); + public static Task GetGeneratorsStartTimestampMonotonicAsync(this IManager o) => o.GetAsync("GeneratorsStartTimestampMonotonic"); + public static Task GetGeneratorsFinishTimestampAsync(this IManager o) => o.GetAsync("GeneratorsFinishTimestamp"); + public static Task GetGeneratorsFinishTimestampMonotonicAsync(this IManager o) => o.GetAsync("GeneratorsFinishTimestampMonotonic"); + public static Task GetUnitsLoadStartTimestampAsync(this IManager o) => o.GetAsync("UnitsLoadStartTimestamp"); + public static Task GetUnitsLoadStartTimestampMonotonicAsync(this IManager o) => o.GetAsync("UnitsLoadStartTimestampMonotonic"); + public static Task GetUnitsLoadFinishTimestampAsync(this IManager o) => o.GetAsync("UnitsLoadFinishTimestamp"); + public static Task GetUnitsLoadFinishTimestampMonotonicAsync(this IManager o) => o.GetAsync("UnitsLoadFinishTimestampMonotonic"); + public static Task GetUnitsLoadTimestampAsync(this IManager o) => o.GetAsync("UnitsLoadTimestamp"); + public static Task GetUnitsLoadTimestampMonotonicAsync(this IManager o) => o.GetAsync("UnitsLoadTimestampMonotonic"); + public static Task GetInitRDSecurityStartTimestampAsync(this IManager o) => o.GetAsync("InitRDSecurityStartTimestamp"); + public static Task GetInitRDSecurityStartTimestampMonotonicAsync(this IManager o) => o.GetAsync("InitRDSecurityStartTimestampMonotonic"); + public static Task GetInitRDSecurityFinishTimestampAsync(this IManager o) => o.GetAsync("InitRDSecurityFinishTimestamp"); + public static Task GetInitRDSecurityFinishTimestampMonotonicAsync(this IManager o) => o.GetAsync("InitRDSecurityFinishTimestampMonotonic"); + public static Task GetInitRDGeneratorsStartTimestampAsync(this IManager o) => o.GetAsync("InitRDGeneratorsStartTimestamp"); + public static Task GetInitRDGeneratorsStartTimestampMonotonicAsync(this IManager o) => o.GetAsync("InitRDGeneratorsStartTimestampMonotonic"); + public static Task GetInitRDGeneratorsFinishTimestampAsync(this IManager o) => o.GetAsync("InitRDGeneratorsFinishTimestamp"); + public static Task GetInitRDGeneratorsFinishTimestampMonotonicAsync(this IManager o) => o.GetAsync("InitRDGeneratorsFinishTimestampMonotonic"); + public static Task GetInitRDUnitsLoadStartTimestampAsync(this IManager o) => o.GetAsync("InitRDUnitsLoadStartTimestamp"); + public static Task GetInitRDUnitsLoadStartTimestampMonotonicAsync(this IManager o) => o.GetAsync("InitRDUnitsLoadStartTimestampMonotonic"); + public static Task GetInitRDUnitsLoadFinishTimestampAsync(this IManager o) => o.GetAsync("InitRDUnitsLoadFinishTimestamp"); + public static Task GetInitRDUnitsLoadFinishTimestampMonotonicAsync(this IManager o) => o.GetAsync("InitRDUnitsLoadFinishTimestampMonotonic"); + public static Task GetLogLevelAsync(this IManager o) => o.GetAsync("LogLevel"); + public static Task GetLogTargetAsync(this IManager o) => o.GetAsync("LogTarget"); + public static Task GetNNamesAsync(this IManager o) => o.GetAsync("NNames"); + public static Task GetNFailedUnitsAsync(this IManager o) => o.GetAsync("NFailedUnits"); + public static Task GetNJobsAsync(this IManager o) => o.GetAsync("NJobs"); + public static Task GetNInstalledJobsAsync(this IManager o) => o.GetAsync("NInstalledJobs"); + public static Task GetNFailedJobsAsync(this IManager o) => o.GetAsync("NFailedJobs"); + public static Task GetProgressAsync(this IManager o) => o.GetAsync("Progress"); + public static Task GetEnvironmentAsync(this IManager o) => o.GetAsync("Environment"); + public static Task GetConfirmSpawnAsync(this IManager o) => o.GetAsync("ConfirmSpawn"); + public static Task GetShowStatusAsync(this IManager o) => o.GetAsync("ShowStatus"); + public static Task GetUnitPathAsync(this IManager o) => o.GetAsync("UnitPath"); + public static Task GetDefaultStandardOutputAsync(this IManager o) => o.GetAsync("DefaultStandardOutput"); + public static Task GetDefaultStandardErrorAsync(this IManager o) => o.GetAsync("DefaultStandardError"); + public static Task GetWatchdogDeviceAsync(this IManager o) => o.GetAsync("WatchdogDevice"); + public static Task GetWatchdogLastPingTimestampAsync(this IManager o) => o.GetAsync("WatchdogLastPingTimestamp"); + public static Task GetWatchdogLastPingTimestampMonotonicAsync(this IManager o) => o.GetAsync("WatchdogLastPingTimestampMonotonic"); + public static Task GetRuntimeWatchdogUSecAsync(this IManager o) => o.GetAsync("RuntimeWatchdogUSec"); + public static Task GetRuntimeWatchdogPreUSecAsync(this IManager o) => o.GetAsync("RuntimeWatchdogPreUSec"); + public static Task GetRuntimeWatchdogPreGovernorAsync(this IManager o) => o.GetAsync("RuntimeWatchdogPreGovernor"); + public static Task GetRebootWatchdogUSecAsync(this IManager o) => o.GetAsync("RebootWatchdogUSec"); + public static Task GetKExecWatchdogUSecAsync(this IManager o) => o.GetAsync("KExecWatchdogUSec"); + public static Task GetServiceWatchdogsAsync(this IManager o) => o.GetAsync("ServiceWatchdogs"); + public static Task GetControlGroupAsync(this IManager o) => o.GetAsync("ControlGroup"); + public static Task GetSystemStateAsync(this IManager o) => o.GetAsync("SystemState"); + public static Task GetExitCodeAsync(this IManager o) => o.GetAsync("ExitCode"); + public static Task GetDefaultTimerAccuracyUSecAsync(this IManager o) => o.GetAsync("DefaultTimerAccuracyUSec"); + public static Task GetDefaultTimeoutStartUSecAsync(this IManager o) => o.GetAsync("DefaultTimeoutStartUSec"); + public static Task GetDefaultTimeoutStopUSecAsync(this IManager o) => o.GetAsync("DefaultTimeoutStopUSec"); + public static Task GetDefaultTimeoutAbortUSecAsync(this IManager o) => o.GetAsync("DefaultTimeoutAbortUSec"); + public static Task GetDefaultDeviceTimeoutUSecAsync(this IManager o) => o.GetAsync("DefaultDeviceTimeoutUSec"); + public static Task GetDefaultRestartUSecAsync(this IManager o) => o.GetAsync("DefaultRestartUSec"); + public static Task GetDefaultStartLimitIntervalUSecAsync(this IManager o) => o.GetAsync("DefaultStartLimitIntervalUSec"); + public static Task GetDefaultStartLimitBurstAsync(this IManager o) => o.GetAsync("DefaultStartLimitBurst"); + public static Task GetDefaultCPUAccountingAsync(this IManager o) => o.GetAsync("DefaultCPUAccounting"); + public static Task GetDefaultBlockIOAccountingAsync(this IManager o) => o.GetAsync("DefaultBlockIOAccounting"); + public static Task GetDefaultMemoryAccountingAsync(this IManager o) => o.GetAsync("DefaultMemoryAccounting"); + public static Task GetDefaultTasksAccountingAsync(this IManager o) => o.GetAsync("DefaultTasksAccounting"); + public static Task GetDefaultLimitCPUAsync(this IManager o) => o.GetAsync("DefaultLimitCPU"); + public static Task GetDefaultLimitCPUSoftAsync(this IManager o) => o.GetAsync("DefaultLimitCPUSoft"); + public static Task GetDefaultLimitFSIZEAsync(this IManager o) => o.GetAsync("DefaultLimitFSIZE"); + public static Task GetDefaultLimitFSIZESoftAsync(this IManager o) => o.GetAsync("DefaultLimitFSIZESoft"); + public static Task GetDefaultLimitDATAAsync(this IManager o) => o.GetAsync("DefaultLimitDATA"); + public static Task GetDefaultLimitDATASoftAsync(this IManager o) => o.GetAsync("DefaultLimitDATASoft"); + public static Task GetDefaultLimitSTACKAsync(this IManager o) => o.GetAsync("DefaultLimitSTACK"); + public static Task GetDefaultLimitSTACKSoftAsync(this IManager o) => o.GetAsync("DefaultLimitSTACKSoft"); + public static Task GetDefaultLimitCOREAsync(this IManager o) => o.GetAsync("DefaultLimitCORE"); + public static Task GetDefaultLimitCORESoftAsync(this IManager o) => o.GetAsync("DefaultLimitCORESoft"); + public static Task GetDefaultLimitRSSAsync(this IManager o) => o.GetAsync("DefaultLimitRSS"); + public static Task GetDefaultLimitRSSSoftAsync(this IManager o) => o.GetAsync("DefaultLimitRSSSoft"); + public static Task GetDefaultLimitNOFILEAsync(this IManager o) => o.GetAsync("DefaultLimitNOFILE"); + public static Task GetDefaultLimitNOFILESoftAsync(this IManager o) => o.GetAsync("DefaultLimitNOFILESoft"); + public static Task GetDefaultLimitASAsync(this IManager o) => o.GetAsync("DefaultLimitAS"); + public static Task GetDefaultLimitASSoftAsync(this IManager o) => o.GetAsync("DefaultLimitASSoft"); + public static Task GetDefaultLimitNPROCAsync(this IManager o) => o.GetAsync("DefaultLimitNPROC"); + public static Task GetDefaultLimitNPROCSoftAsync(this IManager o) => o.GetAsync("DefaultLimitNPROCSoft"); + public static Task GetDefaultLimitMEMLOCKAsync(this IManager o) => o.GetAsync("DefaultLimitMEMLOCK"); + public static Task GetDefaultLimitMEMLOCKSoftAsync(this IManager o) => o.GetAsync("DefaultLimitMEMLOCKSoft"); + public static Task GetDefaultLimitLOCKSAsync(this IManager o) => o.GetAsync("DefaultLimitLOCKS"); + public static Task GetDefaultLimitLOCKSSoftAsync(this IManager o) => o.GetAsync("DefaultLimitLOCKSSoft"); + public static Task GetDefaultLimitSIGPENDINGAsync(this IManager o) => o.GetAsync("DefaultLimitSIGPENDING"); + public static Task GetDefaultLimitSIGPENDINGSoftAsync(this IManager o) => o.GetAsync("DefaultLimitSIGPENDINGSoft"); + public static Task GetDefaultLimitMSGQUEUEAsync(this IManager o) => o.GetAsync("DefaultLimitMSGQUEUE"); + public static Task GetDefaultLimitMSGQUEUESoftAsync(this IManager o) => o.GetAsync("DefaultLimitMSGQUEUESoft"); + public static Task GetDefaultLimitNICEAsync(this IManager o) => o.GetAsync("DefaultLimitNICE"); + public static Task GetDefaultLimitNICESoftAsync(this IManager o) => o.GetAsync("DefaultLimitNICESoft"); + public static Task GetDefaultLimitRTPRIOAsync(this IManager o) => o.GetAsync("DefaultLimitRTPRIO"); + public static Task GetDefaultLimitRTPRIOSoftAsync(this IManager o) => o.GetAsync("DefaultLimitRTPRIOSoft"); + public static Task GetDefaultLimitRTTIMEAsync(this IManager o) => o.GetAsync("DefaultLimitRTTIME"); + public static Task GetDefaultLimitRTTIMESoftAsync(this IManager o) => o.GetAsync("DefaultLimitRTTIMESoft"); + public static Task GetDefaultTasksMaxAsync(this IManager o) => o.GetAsync("DefaultTasksMax"); + public static Task GetTimerSlackNSecAsync(this IManager o) => o.GetAsync("TimerSlackNSec"); + public static Task GetDefaultOOMPolicyAsync(this IManager o) => o.GetAsync("DefaultOOMPolicy"); + public static Task GetDefaultOOMScoreAdjustAsync(this IManager o) => o.GetAsync("DefaultOOMScoreAdjust"); + public static Task GetCtrlAltDelBurstActionAsync(this IManager o) => o.GetAsync("CtrlAltDelBurstAction"); + public static Task SetLogLevelAsync(this IManager o, string val) => o.SetAsync("LogLevel", val); + public static Task SetLogTargetAsync(this IManager o, string val) => o.SetAsync("LogTarget", val); + public static Task SetRuntimeWatchdogUSecAsync(this IManager o, ulong val) => o.SetAsync("RuntimeWatchdogUSec", val); + public static Task SetRuntimeWatchdogPreUSecAsync(this IManager o, ulong val) => o.SetAsync("RuntimeWatchdogPreUSec", val); + public static Task SetRuntimeWatchdogPreGovernorAsync(this IManager o, string val) => o.SetAsync("RuntimeWatchdogPreGovernor", val); + public static Task SetRebootWatchdogUSecAsync(this IManager o, ulong val) => o.SetAsync("RebootWatchdogUSec", val); + public static Task SetKExecWatchdogUSecAsync(this IManager o, ulong val) => o.SetAsync("KExecWatchdogUSec", val); + public static Task SetServiceWatchdogsAsync(this IManager o, bool val) => o.SetAsync("ServiceWatchdogs", val); + } + + [DBusInterface("org.freedesktop.systemd1.Service")] + interface IService : IDBusObject + { + Task BindMountAsync(string Source, string Destination, bool ReadOnly, bool Mkdir); + Task MountImageAsync(string Source, string Destination, bool ReadOnly, bool Mkdir, (string, string)[] Options); + Task<(string, uint, string)[]> GetProcessesAsync(); + Task AttachProcessesAsync(string Subcgroup, uint[] Pids); + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class ServiceProperties + { + private string _Type = default(string); + public string Type + { + get + { + return _Type; + } + + set + { + _Type = (value); + } + } + + private string _ExitType = default(string); + public string ExitType + { + get + { + return _ExitType; + } + + set + { + _ExitType = (value); + } + } + + private string _Restart = default(string); + public string Restart + { + get + { + return _Restart; + } + + set + { + _Restart = (value); + } + } + + private string _PIDFile = default(string); + public string PIDFile + { + get + { + return _PIDFile; + } + + set + { + _PIDFile = (value); + } + } + + private string _NotifyAccess = default(string); + public string NotifyAccess + { + get + { + return _NotifyAccess; + } + + set + { + _NotifyAccess = (value); + } + } + + private ulong _RestartUSec = default(ulong); + public ulong RestartUSec + { + get + { + return _RestartUSec; + } + + set + { + _RestartUSec = (value); + } + } + + private ulong _TimeoutStartUSec = default(ulong); + public ulong TimeoutStartUSec + { + get + { + return _TimeoutStartUSec; + } + + set + { + _TimeoutStartUSec = (value); + } + } + + private ulong _TimeoutStopUSec = default(ulong); + public ulong TimeoutStopUSec + { + get + { + return _TimeoutStopUSec; + } + + set + { + _TimeoutStopUSec = (value); + } + } + + private ulong _TimeoutAbortUSec = default(ulong); + public ulong TimeoutAbortUSec + { + get + { + return _TimeoutAbortUSec; + } + + set + { + _TimeoutAbortUSec = (value); + } + } + + private string _TimeoutStartFailureMode = default(string); + public string TimeoutStartFailureMode + { + get + { + return _TimeoutStartFailureMode; + } + + set + { + _TimeoutStartFailureMode = (value); + } + } + + private string _TimeoutStopFailureMode = default(string); + public string TimeoutStopFailureMode + { + get + { + return _TimeoutStopFailureMode; + } + + set + { + _TimeoutStopFailureMode = (value); + } + } + + private ulong _RuntimeMaxUSec = default(ulong); + public ulong RuntimeMaxUSec + { + get + { + return _RuntimeMaxUSec; + } + + set + { + _RuntimeMaxUSec = (value); + } + } + + private ulong _RuntimeRandomizedExtraUSec = default(ulong); + public ulong RuntimeRandomizedExtraUSec + { + get + { + return _RuntimeRandomizedExtraUSec; + } + + set + { + _RuntimeRandomizedExtraUSec = (value); + } + } + + private ulong _WatchdogUSec = default(ulong); + public ulong WatchdogUSec + { + get + { + return _WatchdogUSec; + } + + set + { + _WatchdogUSec = (value); + } + } + + private ulong _WatchdogTimestamp = default(ulong); + public ulong WatchdogTimestamp + { + get + { + return _WatchdogTimestamp; + } + + set + { + _WatchdogTimestamp = (value); + } + } + + private ulong _WatchdogTimestampMonotonic = default(ulong); + public ulong WatchdogTimestampMonotonic + { + get + { + return _WatchdogTimestampMonotonic; + } + + set + { + _WatchdogTimestampMonotonic = (value); + } + } + + private bool _RootDirectoryStartOnly = default(bool); + public bool RootDirectoryStartOnly + { + get + { + return _RootDirectoryStartOnly; + } + + set + { + _RootDirectoryStartOnly = (value); + } + } + + private bool _RemainAfterExit = default(bool); + public bool RemainAfterExit + { + get + { + return _RemainAfterExit; + } + + set + { + _RemainAfterExit = (value); + } + } + + private bool _GuessMainPID = default(bool); + public bool GuessMainPID + { + get + { + return _GuessMainPID; + } + + set + { + _GuessMainPID = (value); + } + } + + private (int[], int[]) _RestartPreventExitStatus = default((int[], int[])); + public (int[], int[]) RestartPreventExitStatus + { + get + { + return _RestartPreventExitStatus; + } + + set + { + _RestartPreventExitStatus = (value); + } + } + + private (int[], int[]) _RestartForceExitStatus = default((int[], int[])); + public (int[], int[]) RestartForceExitStatus + { + get + { + return _RestartForceExitStatus; + } + + set + { + _RestartForceExitStatus = (value); + } + } + + private (int[], int[]) _SuccessExitStatus = default((int[], int[])); + public (int[], int[]) SuccessExitStatus + { + get + { + return _SuccessExitStatus; + } + + set + { + _SuccessExitStatus = (value); + } + } + + private uint _MainPID = default(uint); + public uint MainPID + { + get + { + return _MainPID; + } + + set + { + _MainPID = (value); + } + } + + private uint _ControlPID = default(uint); + public uint ControlPID + { + get + { + return _ControlPID; + } + + set + { + _ControlPID = (value); + } + } + + private string _BusName = default(string); + public string BusName + { + get + { + return _BusName; + } + + set + { + _BusName = (value); + } + } + + private uint _FileDescriptorStoreMax = default(uint); + public uint FileDescriptorStoreMax + { + get + { + return _FileDescriptorStoreMax; + } + + set + { + _FileDescriptorStoreMax = (value); + } + } + + private uint _NFileDescriptorStore = default(uint); + public uint NFileDescriptorStore + { + get + { + return _NFileDescriptorStore; + } + + set + { + _NFileDescriptorStore = (value); + } + } + + private string _StatusText = default(string); + public string StatusText + { + get + { + return _StatusText; + } + + set + { + _StatusText = (value); + } + } + + private int _StatusErrno = default(int); + public int StatusErrno + { + get + { + return _StatusErrno; + } + + set + { + _StatusErrno = (value); + } + } + + private string _Result = default(string); + public string Result + { + get + { + return _Result; + } + + set + { + _Result = (value); + } + } + + private string _ReloadResult = default(string); + public string ReloadResult + { + get + { + return _ReloadResult; + } + + set + { + _ReloadResult = (value); + } + } + + private string _CleanResult = default(string); + public string CleanResult + { + get + { + return _CleanResult; + } + + set + { + _CleanResult = (value); + } + } + + private string _USBFunctionDescriptors = default(string); + public string USBFunctionDescriptors + { + get + { + return _USBFunctionDescriptors; + } + + set + { + _USBFunctionDescriptors = (value); + } + } + + private string _USBFunctionStrings = default(string); + public string USBFunctionStrings + { + get + { + return _USBFunctionStrings; + } + + set + { + _USBFunctionStrings = (value); + } + } + + private uint _UID = default(uint); + public uint UID + { + get + { + return _UID; + } + + set + { + _UID = (value); + } + } + + private uint _GID = default(uint); + public uint GID + { + get + { + return _GID; + } + + set + { + _GID = (value); + } + } + + private uint _NRestarts = default(uint); + public uint NRestarts + { + get + { + return _NRestarts; + } + + set + { + _NRestarts = (value); + } + } + + private string _OOMPolicy = default(string); + public string OOMPolicy + { + get + { + return _OOMPolicy; + } + + set + { + _OOMPolicy = (value); + } + } + + private ulong _ExecMainStartTimestamp = default(ulong); + public ulong ExecMainStartTimestamp + { + get + { + return _ExecMainStartTimestamp; + } + + set + { + _ExecMainStartTimestamp = (value); + } + } + + private ulong _ExecMainStartTimestampMonotonic = default(ulong); + public ulong ExecMainStartTimestampMonotonic + { + get + { + return _ExecMainStartTimestampMonotonic; + } + + set + { + _ExecMainStartTimestampMonotonic = (value); + } + } + + private ulong _ExecMainExitTimestamp = default(ulong); + public ulong ExecMainExitTimestamp + { + get + { + return _ExecMainExitTimestamp; + } + + set + { + _ExecMainExitTimestamp = (value); + } + } + + private ulong _ExecMainExitTimestampMonotonic = default(ulong); + public ulong ExecMainExitTimestampMonotonic + { + get + { + return _ExecMainExitTimestampMonotonic; + } + + set + { + _ExecMainExitTimestampMonotonic = (value); + } + } + + private uint _ExecMainPID = default(uint); + public uint ExecMainPID + { + get + { + return _ExecMainPID; + } + + set + { + _ExecMainPID = (value); + } + } + + private int _ExecMainCode = default(int); + public int ExecMainCode + { + get + { + return _ExecMainCode; + } + + set + { + _ExecMainCode = (value); + } + } + + private int _ExecMainStatus = default(int); + public int ExecMainStatus + { + get + { + return _ExecMainStatus; + } + + set + { + _ExecMainStatus = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecCondition = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecCondition + { + get + { + return _ExecCondition; + } + + set + { + _ExecCondition = (value); + } + } + + private (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] _ExecConditionEx = default((string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] ExecConditionEx + { + get + { + return _ExecConditionEx; + } + + set + { + _ExecConditionEx = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStartPre = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStartPre + { + get + { + return _ExecStartPre; + } + + set + { + _ExecStartPre = (value); + } + } + + private (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStartPreEx = default((string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] ExecStartPreEx + { + get + { + return _ExecStartPreEx; + } + + set + { + _ExecStartPreEx = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStart = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStart + { + get + { + return _ExecStart; + } + + set + { + _ExecStart = (value); + } + } + + private (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStartEx = default((string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] ExecStartEx + { + get + { + return _ExecStartEx; + } + + set + { + _ExecStartEx = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStartPost = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStartPost + { + get + { + return _ExecStartPost; + } + + set + { + _ExecStartPost = (value); + } + } + + private (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStartPostEx = default((string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] ExecStartPostEx + { + get + { + return _ExecStartPostEx; + } + + set + { + _ExecStartPostEx = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecReload = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecReload + { + get + { + return _ExecReload; + } + + set + { + _ExecReload = (value); + } + } + + private (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] _ExecReloadEx = default((string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] ExecReloadEx + { + get + { + return _ExecReloadEx; + } + + set + { + _ExecReloadEx = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStop = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStop + { + get + { + return _ExecStop; + } + + set + { + _ExecStop = (value); + } + } + + private (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStopEx = default((string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] ExecStopEx + { + get + { + return _ExecStopEx; + } + + set + { + _ExecStopEx = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStopPost = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStopPost + { + get + { + return _ExecStopPost; + } + + set + { + _ExecStopPost = (value); + } + } + + private (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStopPostEx = default((string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[] ExecStopPostEx + { + get + { + return _ExecStopPostEx; + } + + set + { + _ExecStopPostEx = (value); + } + } + + private string _Slice = default(string); + public string Slice + { + get + { + return _Slice; + } + + set + { + _Slice = (value); + } + } + + private string _ControlGroup = default(string); + public string ControlGroup + { + get + { + return _ControlGroup; + } + + set + { + _ControlGroup = (value); + } + } + + private ulong _ControlGroupId = default(ulong); + public ulong ControlGroupId + { + get + { + return _ControlGroupId; + } + + set + { + _ControlGroupId = (value); + } + } + + private ulong _MemoryCurrent = default(ulong); + public ulong MemoryCurrent + { + get + { + return _MemoryCurrent; + } + + set + { + _MemoryCurrent = (value); + } + } + + private ulong _MemoryAvailable = default(ulong); + public ulong MemoryAvailable + { + get + { + return _MemoryAvailable; + } + + set + { + _MemoryAvailable = (value); + } + } + + private ulong _CPUUsageNSec = default(ulong); + public ulong CPUUsageNSec + { + get + { + return _CPUUsageNSec; + } + + set + { + _CPUUsageNSec = (value); + } + } + + private byte[] _EffectiveCPUs = default(byte[]); + public byte[] EffectiveCPUs + { + get + { + return _EffectiveCPUs; + } + + set + { + _EffectiveCPUs = (value); + } + } + + private byte[] _EffectiveMemoryNodes = default(byte[]); + public byte[] EffectiveMemoryNodes + { + get + { + return _EffectiveMemoryNodes; + } + + set + { + _EffectiveMemoryNodes = (value); + } + } + + private ulong _TasksCurrent = default(ulong); + public ulong TasksCurrent + { + get + { + return _TasksCurrent; + } + + set + { + _TasksCurrent = (value); + } + } + + private ulong _IPIngressBytes = default(ulong); + public ulong IPIngressBytes + { + get + { + return _IPIngressBytes; + } + + set + { + _IPIngressBytes = (value); + } + } + + private ulong _IPIngressPackets = default(ulong); + public ulong IPIngressPackets + { + get + { + return _IPIngressPackets; + } + + set + { + _IPIngressPackets = (value); + } + } + + private ulong _IPEgressBytes = default(ulong); + public ulong IPEgressBytes + { + get + { + return _IPEgressBytes; + } + + set + { + _IPEgressBytes = (value); + } + } + + private ulong _IPEgressPackets = default(ulong); + public ulong IPEgressPackets + { + get + { + return _IPEgressPackets; + } + + set + { + _IPEgressPackets = (value); + } + } + + private ulong _IOReadBytes = default(ulong); + public ulong IOReadBytes + { + get + { + return _IOReadBytes; + } + + set + { + _IOReadBytes = (value); + } + } + + private ulong _IOReadOperations = default(ulong); + public ulong IOReadOperations + { + get + { + return _IOReadOperations; + } + + set + { + _IOReadOperations = (value); + } + } + + private ulong _IOWriteBytes = default(ulong); + public ulong IOWriteBytes + { + get + { + return _IOWriteBytes; + } + + set + { + _IOWriteBytes = (value); + } + } + + private ulong _IOWriteOperations = default(ulong); + public ulong IOWriteOperations + { + get + { + return _IOWriteOperations; + } + + set + { + _IOWriteOperations = (value); + } + } + + private bool _Delegate = default(bool); + public bool Delegate + { + get + { + return _Delegate; + } + + set + { + _Delegate = (value); + } + } + + private string[] _DelegateControllers = default(string[]); + public string[] DelegateControllers + { + get + { + return _DelegateControllers; + } + + set + { + _DelegateControllers = (value); + } + } + + private bool _CPUAccounting = default(bool); + public bool CPUAccounting + { + get + { + return _CPUAccounting; + } + + set + { + _CPUAccounting = (value); + } + } + + private ulong _CPUWeight = default(ulong); + public ulong CPUWeight + { + get + { + return _CPUWeight; + } + + set + { + _CPUWeight = (value); + } + } + + private ulong _StartupCPUWeight = default(ulong); + public ulong StartupCPUWeight + { + get + { + return _StartupCPUWeight; + } + + set + { + _StartupCPUWeight = (value); + } + } + + private ulong _CPUShares = default(ulong); + public ulong CPUShares + { + get + { + return _CPUShares; + } + + set + { + _CPUShares = (value); + } + } + + private ulong _StartupCPUShares = default(ulong); + public ulong StartupCPUShares + { + get + { + return _StartupCPUShares; + } + + set + { + _StartupCPUShares = (value); + } + } + + private ulong _CPUQuotaPerSecUSec = default(ulong); + public ulong CPUQuotaPerSecUSec + { + get + { + return _CPUQuotaPerSecUSec; + } + + set + { + _CPUQuotaPerSecUSec = (value); + } + } + + private ulong _CPUQuotaPeriodUSec = default(ulong); + public ulong CPUQuotaPeriodUSec + { + get + { + return _CPUQuotaPeriodUSec; + } + + set + { + _CPUQuotaPeriodUSec = (value); + } + } + + private byte[] _AllowedCPUs = default(byte[]); + public byte[] AllowedCPUs + { + get + { + return _AllowedCPUs; + } + + set + { + _AllowedCPUs = (value); + } + } + + private byte[] _StartupAllowedCPUs = default(byte[]); + public byte[] StartupAllowedCPUs + { + get + { + return _StartupAllowedCPUs; + } + + set + { + _StartupAllowedCPUs = (value); + } + } + + private byte[] _AllowedMemoryNodes = default(byte[]); + public byte[] AllowedMemoryNodes + { + get + { + return _AllowedMemoryNodes; + } + + set + { + _AllowedMemoryNodes = (value); + } + } + + private byte[] _StartupAllowedMemoryNodes = default(byte[]); + public byte[] StartupAllowedMemoryNodes + { + get + { + return _StartupAllowedMemoryNodes; + } + + set + { + _StartupAllowedMemoryNodes = (value); + } + } + + private bool _IOAccounting = default(bool); + public bool IOAccounting + { + get + { + return _IOAccounting; + } + + set + { + _IOAccounting = (value); + } + } + + private ulong _IOWeight = default(ulong); + public ulong IOWeight + { + get + { + return _IOWeight; + } + + set + { + _IOWeight = (value); + } + } + + private ulong _StartupIOWeight = default(ulong); + public ulong StartupIOWeight + { + get + { + return _StartupIOWeight; + } + + set + { + _StartupIOWeight = (value); + } + } + + private (string, ulong)[] _IODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] IODeviceWeight + { + get + { + return _IODeviceWeight; + } + + set + { + _IODeviceWeight = (value); + } + } + + private (string, ulong)[] _IOReadBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOReadBandwidthMax + { + get + { + return _IOReadBandwidthMax; + } + + set + { + _IOReadBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOWriteBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteBandwidthMax + { + get + { + return _IOWriteBandwidthMax; + } + + set + { + _IOWriteBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOReadIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOReadIOPSMax + { + get + { + return _IOReadIOPSMax; + } + + set + { + _IOReadIOPSMax = (value); + } + } + + private (string, ulong)[] _IOWriteIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteIOPSMax + { + get + { + return _IOWriteIOPSMax; + } + + set + { + _IOWriteIOPSMax = (value); + } + } + + private (string, ulong)[] _IODeviceLatencyTargetUSec = default((string, ulong)[]); + public (string, ulong)[] IODeviceLatencyTargetUSec + { + get + { + return _IODeviceLatencyTargetUSec; + } + + set + { + _IODeviceLatencyTargetUSec = (value); + } + } + + private bool _BlockIOAccounting = default(bool); + public bool BlockIOAccounting + { + get + { + return _BlockIOAccounting; + } + + set + { + _BlockIOAccounting = (value); + } + } + + private ulong _BlockIOWeight = default(ulong); + public ulong BlockIOWeight + { + get + { + return _BlockIOWeight; + } + + set + { + _BlockIOWeight = (value); + } + } + + private ulong _StartupBlockIOWeight = default(ulong); + public ulong StartupBlockIOWeight + { + get + { + return _StartupBlockIOWeight; + } + + set + { + _StartupBlockIOWeight = (value); + } + } + + private (string, ulong)[] _BlockIODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] BlockIODeviceWeight + { + get + { + return _BlockIODeviceWeight; + } + + set + { + _BlockIODeviceWeight = (value); + } + } + + private (string, ulong)[] _BlockIOReadBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOReadBandwidth + { + get + { + return _BlockIOReadBandwidth; + } + + set + { + _BlockIOReadBandwidth = (value); + } + } + + private (string, ulong)[] _BlockIOWriteBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOWriteBandwidth + { + get + { + return _BlockIOWriteBandwidth; + } + + set + { + _BlockIOWriteBandwidth = (value); + } + } + + private bool _MemoryAccounting = default(bool); + public bool MemoryAccounting + { + get + { + return _MemoryAccounting; + } + + set + { + _MemoryAccounting = (value); + } + } + + private ulong _DefaultMemoryLow = default(ulong); + public ulong DefaultMemoryLow + { + get + { + return _DefaultMemoryLow; + } + + set + { + _DefaultMemoryLow = (value); + } + } + + private ulong _DefaultMemoryMin = default(ulong); + public ulong DefaultMemoryMin + { + get + { + return _DefaultMemoryMin; + } + + set + { + _DefaultMemoryMin = (value); + } + } + + private ulong _MemoryMin = default(ulong); + public ulong MemoryMin + { + get + { + return _MemoryMin; + } + + set + { + _MemoryMin = (value); + } + } + + private ulong _MemoryLow = default(ulong); + public ulong MemoryLow + { + get + { + return _MemoryLow; + } + + set + { + _MemoryLow = (value); + } + } + + private ulong _MemoryHigh = default(ulong); + public ulong MemoryHigh + { + get + { + return _MemoryHigh; + } + + set + { + _MemoryHigh = (value); + } + } + + private ulong _MemoryMax = default(ulong); + public ulong MemoryMax + { + get + { + return _MemoryMax; + } + + set + { + _MemoryMax = (value); + } + } + + private ulong _MemorySwapMax = default(ulong); + public ulong MemorySwapMax + { + get + { + return _MemorySwapMax; + } + + set + { + _MemorySwapMax = (value); + } + } + + private ulong _MemoryLimit = default(ulong); + public ulong MemoryLimit + { + get + { + return _MemoryLimit; + } + + set + { + _MemoryLimit = (value); + } + } + + private string _DevicePolicy = default(string); + public string DevicePolicy + { + get + { + return _DevicePolicy; + } + + set + { + _DevicePolicy = (value); + } + } + + private (string, string)[] _DeviceAllow = default((string, string)[]); + public (string, string)[] DeviceAllow + { + get + { + return _DeviceAllow; + } + + set + { + _DeviceAllow = (value); + } + } + + private bool _TasksAccounting = default(bool); + public bool TasksAccounting + { + get + { + return _TasksAccounting; + } + + set + { + _TasksAccounting = (value); + } + } + + private ulong _TasksMax = default(ulong); + public ulong TasksMax + { + get + { + return _TasksMax; + } + + set + { + _TasksMax = (value); + } + } + + private bool _IPAccounting = default(bool); + public bool IPAccounting + { + get + { + return _IPAccounting; + } + + set + { + _IPAccounting = (value); + } + } + + private (int, byte[], uint)[] _IPAddressAllow = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressAllow + { + get + { + return _IPAddressAllow; + } + + set + { + _IPAddressAllow = (value); + } + } + + private (int, byte[], uint)[] _IPAddressDeny = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressDeny + { + get + { + return _IPAddressDeny; + } + + set + { + _IPAddressDeny = (value); + } + } + + private string[] _IPIngressFilterPath = default(string[]); + public string[] IPIngressFilterPath + { + get + { + return _IPIngressFilterPath; + } + + set + { + _IPIngressFilterPath = (value); + } + } + + private string[] _IPEgressFilterPath = default(string[]); + public string[] IPEgressFilterPath + { + get + { + return _IPEgressFilterPath; + } + + set + { + _IPEgressFilterPath = (value); + } + } + + private string[] _DisableControllers = default(string[]); + public string[] DisableControllers + { + get + { + return _DisableControllers; + } + + set + { + _DisableControllers = (value); + } + } + + private string _ManagedOOMSwap = default(string); + public string ManagedOOMSwap + { + get + { + return _ManagedOOMSwap; + } + + set + { + _ManagedOOMSwap = (value); + } + } + + private string _ManagedOOMMemoryPressure = default(string); + public string ManagedOOMMemoryPressure + { + get + { + return _ManagedOOMMemoryPressure; + } + + set + { + _ManagedOOMMemoryPressure = (value); + } + } + + private uint _ManagedOOMMemoryPressureLimit = default(uint); + public uint ManagedOOMMemoryPressureLimit + { + get + { + return _ManagedOOMMemoryPressureLimit; + } + + set + { + _ManagedOOMMemoryPressureLimit = (value); + } + } + + private string _ManagedOOMPreference = default(string); + public string ManagedOOMPreference + { + get + { + return _ManagedOOMPreference; + } + + set + { + _ManagedOOMPreference = (value); + } + } + + private (string, string)[] _BPFProgram = default((string, string)[]); + public (string, string)[] BPFProgram + { + get + { + return _BPFProgram; + } + + set + { + _BPFProgram = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindAllow = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindAllow + { + get + { + return _SocketBindAllow; + } + + set + { + _SocketBindAllow = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindDeny = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindDeny + { + get + { + return _SocketBindDeny; + } + + set + { + _SocketBindDeny = (value); + } + } + + private (bool, string[]) _RestrictNetworkInterfaces = default((bool, string[])); + public (bool, string[]) RestrictNetworkInterfaces + { + get + { + return _RestrictNetworkInterfaces; + } + + set + { + _RestrictNetworkInterfaces = (value); + } + } + + private string[] _Environment = default(string[]); + public string[] Environment + { + get + { + return _Environment; + } + + set + { + _Environment = (value); + } + } + + private (string, bool)[] _EnvironmentFiles = default((string, bool)[]); + public (string, bool)[] EnvironmentFiles + { + get + { + return _EnvironmentFiles; + } + + set + { + _EnvironmentFiles = (value); + } + } + + private string[] _PassEnvironment = default(string[]); + public string[] PassEnvironment + { + get + { + return _PassEnvironment; + } + + set + { + _PassEnvironment = (value); + } + } + + private string[] _UnsetEnvironment = default(string[]); + public string[] UnsetEnvironment + { + get + { + return _UnsetEnvironment; + } + + set + { + _UnsetEnvironment = (value); + } + } + + private uint _UMask = default(uint); + public uint UMask + { + get + { + return _UMask; + } + + set + { + _UMask = (value); + } + } + + private ulong _LimitCPU = default(ulong); + public ulong LimitCPU + { + get + { + return _LimitCPU; + } + + set + { + _LimitCPU = (value); + } + } + + private ulong _LimitCPUSoft = default(ulong); + public ulong LimitCPUSoft + { + get + { + return _LimitCPUSoft; + } + + set + { + _LimitCPUSoft = (value); + } + } + + private ulong _LimitFSIZE = default(ulong); + public ulong LimitFSIZE + { + get + { + return _LimitFSIZE; + } + + set + { + _LimitFSIZE = (value); + } + } + + private ulong _LimitFSIZESoft = default(ulong); + public ulong LimitFSIZESoft + { + get + { + return _LimitFSIZESoft; + } + + set + { + _LimitFSIZESoft = (value); + } + } + + private ulong _LimitDATA = default(ulong); + public ulong LimitDATA + { + get + { + return _LimitDATA; + } + + set + { + _LimitDATA = (value); + } + } + + private ulong _LimitDATASoft = default(ulong); + public ulong LimitDATASoft + { + get + { + return _LimitDATASoft; + } + + set + { + _LimitDATASoft = (value); + } + } + + private ulong _LimitSTACK = default(ulong); + public ulong LimitSTACK + { + get + { + return _LimitSTACK; + } + + set + { + _LimitSTACK = (value); + } + } + + private ulong _LimitSTACKSoft = default(ulong); + public ulong LimitSTACKSoft + { + get + { + return _LimitSTACKSoft; + } + + set + { + _LimitSTACKSoft = (value); + } + } + + private ulong _LimitCORE = default(ulong); + public ulong LimitCORE + { + get + { + return _LimitCORE; + } + + set + { + _LimitCORE = (value); + } + } + + private ulong _LimitCORESoft = default(ulong); + public ulong LimitCORESoft + { + get + { + return _LimitCORESoft; + } + + set + { + _LimitCORESoft = (value); + } + } + + private ulong _LimitRSS = default(ulong); + public ulong LimitRSS + { + get + { + return _LimitRSS; + } + + set + { + _LimitRSS = (value); + } + } + + private ulong _LimitRSSSoft = default(ulong); + public ulong LimitRSSSoft + { + get + { + return _LimitRSSSoft; + } + + set + { + _LimitRSSSoft = (value); + } + } + + private ulong _LimitNOFILE = default(ulong); + public ulong LimitNOFILE + { + get + { + return _LimitNOFILE; + } + + set + { + _LimitNOFILE = (value); + } + } + + private ulong _LimitNOFILESoft = default(ulong); + public ulong LimitNOFILESoft + { + get + { + return _LimitNOFILESoft; + } + + set + { + _LimitNOFILESoft = (value); + } + } + + private ulong _LimitAS = default(ulong); + public ulong LimitAS + { + get + { + return _LimitAS; + } + + set + { + _LimitAS = (value); + } + } + + private ulong _LimitASSoft = default(ulong); + public ulong LimitASSoft + { + get + { + return _LimitASSoft; + } + + set + { + _LimitASSoft = (value); + } + } + + private ulong _LimitNPROC = default(ulong); + public ulong LimitNPROC + { + get + { + return _LimitNPROC; + } + + set + { + _LimitNPROC = (value); + } + } + + private ulong _LimitNPROCSoft = default(ulong); + public ulong LimitNPROCSoft + { + get + { + return _LimitNPROCSoft; + } + + set + { + _LimitNPROCSoft = (value); + } + } + + private ulong _LimitMEMLOCK = default(ulong); + public ulong LimitMEMLOCK + { + get + { + return _LimitMEMLOCK; + } + + set + { + _LimitMEMLOCK = (value); + } + } + + private ulong _LimitMEMLOCKSoft = default(ulong); + public ulong LimitMEMLOCKSoft + { + get + { + return _LimitMEMLOCKSoft; + } + + set + { + _LimitMEMLOCKSoft = (value); + } + } + + private ulong _LimitLOCKS = default(ulong); + public ulong LimitLOCKS + { + get + { + return _LimitLOCKS; + } + + set + { + _LimitLOCKS = (value); + } + } + + private ulong _LimitLOCKSSoft = default(ulong); + public ulong LimitLOCKSSoft + { + get + { + return _LimitLOCKSSoft; + } + + set + { + _LimitLOCKSSoft = (value); + } + } + + private ulong _LimitSIGPENDING = default(ulong); + public ulong LimitSIGPENDING + { + get + { + return _LimitSIGPENDING; + } + + set + { + _LimitSIGPENDING = (value); + } + } + + private ulong _LimitSIGPENDINGSoft = default(ulong); + public ulong LimitSIGPENDINGSoft + { + get + { + return _LimitSIGPENDINGSoft; + } + + set + { + _LimitSIGPENDINGSoft = (value); + } + } + + private ulong _LimitMSGQUEUE = default(ulong); + public ulong LimitMSGQUEUE + { + get + { + return _LimitMSGQUEUE; + } + + set + { + _LimitMSGQUEUE = (value); + } + } + + private ulong _LimitMSGQUEUESoft = default(ulong); + public ulong LimitMSGQUEUESoft + { + get + { + return _LimitMSGQUEUESoft; + } + + set + { + _LimitMSGQUEUESoft = (value); + } + } + + private ulong _LimitNICE = default(ulong); + public ulong LimitNICE + { + get + { + return _LimitNICE; + } + + set + { + _LimitNICE = (value); + } + } + + private ulong _LimitNICESoft = default(ulong); + public ulong LimitNICESoft + { + get + { + return _LimitNICESoft; + } + + set + { + _LimitNICESoft = (value); + } + } + + private ulong _LimitRTPRIO = default(ulong); + public ulong LimitRTPRIO + { + get + { + return _LimitRTPRIO; + } + + set + { + _LimitRTPRIO = (value); + } + } + + private ulong _LimitRTPRIOSoft = default(ulong); + public ulong LimitRTPRIOSoft + { + get + { + return _LimitRTPRIOSoft; + } + + set + { + _LimitRTPRIOSoft = (value); + } + } + + private ulong _LimitRTTIME = default(ulong); + public ulong LimitRTTIME + { + get + { + return _LimitRTTIME; + } + + set + { + _LimitRTTIME = (value); + } + } + + private ulong _LimitRTTIMESoft = default(ulong); + public ulong LimitRTTIMESoft + { + get + { + return _LimitRTTIMESoft; + } + + set + { + _LimitRTTIMESoft = (value); + } + } + + private string _WorkingDirectory = default(string); + public string WorkingDirectory + { + get + { + return _WorkingDirectory; + } + + set + { + _WorkingDirectory = (value); + } + } + + private string _RootDirectory = default(string); + public string RootDirectory + { + get + { + return _RootDirectory; + } + + set + { + _RootDirectory = (value); + } + } + + private string _RootImage = default(string); + public string RootImage + { + get + { + return _RootImage; + } + + set + { + _RootImage = (value); + } + } + + private (string, string)[] _RootImageOptions = default((string, string)[]); + public (string, string)[] RootImageOptions + { + get + { + return _RootImageOptions; + } + + set + { + _RootImageOptions = (value); + } + } + + private byte[] _RootHash = default(byte[]); + public byte[] RootHash + { + get + { + return _RootHash; + } + + set + { + _RootHash = (value); + } + } + + private string _RootHashPath = default(string); + public string RootHashPath + { + get + { + return _RootHashPath; + } + + set + { + _RootHashPath = (value); + } + } + + private byte[] _RootHashSignature = default(byte[]); + public byte[] RootHashSignature + { + get + { + return _RootHashSignature; + } + + set + { + _RootHashSignature = (value); + } + } + + private string _RootHashSignaturePath = default(string); + public string RootHashSignaturePath + { + get + { + return _RootHashSignaturePath; + } + + set + { + _RootHashSignaturePath = (value); + } + } + + private string _RootVerity = default(string); + public string RootVerity + { + get + { + return _RootVerity; + } + + set + { + _RootVerity = (value); + } + } + + private string[] _ExtensionDirectories = default(string[]); + public string[] ExtensionDirectories + { + get + { + return _ExtensionDirectories; + } + + set + { + _ExtensionDirectories = (value); + } + } + + private (string, bool, (string, string)[])[] _ExtensionImages = default((string, bool, (string, string)[])[]); + public (string, bool, (string, string)[])[] ExtensionImages + { + get + { + return _ExtensionImages; + } + + set + { + _ExtensionImages = (value); + } + } + + private (string, string, bool, (string, string)[])[] _MountImages = default((string, string, bool, (string, string)[])[]); + public (string, string, bool, (string, string)[])[] MountImages + { + get + { + return _MountImages; + } + + set + { + _MountImages = (value); + } + } + + private int _OOMScoreAdjust = default(int); + public int OOMScoreAdjust + { + get + { + return _OOMScoreAdjust; + } + + set + { + _OOMScoreAdjust = (value); + } + } + + private ulong _CoredumpFilter = default(ulong); + public ulong CoredumpFilter + { + get + { + return _CoredumpFilter; + } + + set + { + _CoredumpFilter = (value); + } + } + + private int _Nice = default(int); + public int Nice + { + get + { + return _Nice; + } + + set + { + _Nice = (value); + } + } + + private int _IOSchedulingClass = default(int); + public int IOSchedulingClass + { + get + { + return _IOSchedulingClass; + } + + set + { + _IOSchedulingClass = (value); + } + } + + private int _IOSchedulingPriority = default(int); + public int IOSchedulingPriority + { + get + { + return _IOSchedulingPriority; + } + + set + { + _IOSchedulingPriority = (value); + } + } + + private int _CPUSchedulingPolicy = default(int); + public int CPUSchedulingPolicy + { + get + { + return _CPUSchedulingPolicy; + } + + set + { + _CPUSchedulingPolicy = (value); + } + } + + private int _CPUSchedulingPriority = default(int); + public int CPUSchedulingPriority + { + get + { + return _CPUSchedulingPriority; + } + + set + { + _CPUSchedulingPriority = (value); + } + } + + private byte[] _CPUAffinity = default(byte[]); + public byte[] CPUAffinity + { + get + { + return _CPUAffinity; + } + + set + { + _CPUAffinity = (value); + } + } + + private bool _CPUAffinityFromNUMA = default(bool); + public bool CPUAffinityFromNUMA + { + get + { + return _CPUAffinityFromNUMA; + } + + set + { + _CPUAffinityFromNUMA = (value); + } + } + + private int _NUMAPolicy = default(int); + public int NUMAPolicy + { + get + { + return _NUMAPolicy; + } + + set + { + _NUMAPolicy = (value); + } + } + + private byte[] _NUMAMask = default(byte[]); + public byte[] NUMAMask + { + get + { + return _NUMAMask; + } + + set + { + _NUMAMask = (value); + } + } + + private ulong _TimerSlackNSec = default(ulong); + public ulong TimerSlackNSec + { + get + { + return _TimerSlackNSec; + } + + set + { + _TimerSlackNSec = (value); + } + } + + private bool _CPUSchedulingResetOnFork = default(bool); + public bool CPUSchedulingResetOnFork + { + get + { + return _CPUSchedulingResetOnFork; + } + + set + { + _CPUSchedulingResetOnFork = (value); + } + } + + private bool _NonBlocking = default(bool); + public bool NonBlocking + { + get + { + return _NonBlocking; + } + + set + { + _NonBlocking = (value); + } + } + + private string _StandardInput = default(string); + public string StandardInput + { + get + { + return _StandardInput; + } + + set + { + _StandardInput = (value); + } + } + + private string _StandardInputFileDescriptorName = default(string); + public string StandardInputFileDescriptorName + { + get + { + return _StandardInputFileDescriptorName; + } + + set + { + _StandardInputFileDescriptorName = (value); + } + } + + private byte[] _StandardInputData = default(byte[]); + public byte[] StandardInputData + { + get + { + return _StandardInputData; + } + + set + { + _StandardInputData = (value); + } + } + + private string _StandardOutput = default(string); + public string StandardOutput + { + get + { + return _StandardOutput; + } + + set + { + _StandardOutput = (value); + } + } + + private string _StandardOutputFileDescriptorName = default(string); + public string StandardOutputFileDescriptorName + { + get + { + return _StandardOutputFileDescriptorName; + } + + set + { + _StandardOutputFileDescriptorName = (value); + } + } + + private string _StandardError = default(string); + public string StandardError + { + get + { + return _StandardError; + } + + set + { + _StandardError = (value); + } + } + + private string _StandardErrorFileDescriptorName = default(string); + public string StandardErrorFileDescriptorName + { + get + { + return _StandardErrorFileDescriptorName; + } + + set + { + _StandardErrorFileDescriptorName = (value); + } + } + + private string _TTYPath = default(string); + public string TTYPath + { + get + { + return _TTYPath; + } + + set + { + _TTYPath = (value); + } + } + + private bool _TTYReset = default(bool); + public bool TTYReset + { + get + { + return _TTYReset; + } + + set + { + _TTYReset = (value); + } + } + + private bool _TTYVHangup = default(bool); + public bool TTYVHangup + { + get + { + return _TTYVHangup; + } + + set + { + _TTYVHangup = (value); + } + } + + private bool _TTYVTDisallocate = default(bool); + public bool TTYVTDisallocate + { + get + { + return _TTYVTDisallocate; + } + + set + { + _TTYVTDisallocate = (value); + } + } + + private ushort _TTYRows = default(ushort); + public ushort TTYRows + { + get + { + return _TTYRows; + } + + set + { + _TTYRows = (value); + } + } + + private ushort _TTYColumns = default(ushort); + public ushort TTYColumns + { + get + { + return _TTYColumns; + } + + set + { + _TTYColumns = (value); + } + } + + private int _SyslogPriority = default(int); + public int SyslogPriority + { + get + { + return _SyslogPriority; + } + + set + { + _SyslogPriority = (value); + } + } + + private string _SyslogIdentifier = default(string); + public string SyslogIdentifier + { + get + { + return _SyslogIdentifier; + } + + set + { + _SyslogIdentifier = (value); + } + } + + private bool _SyslogLevelPrefix = default(bool); + public bool SyslogLevelPrefix + { + get + { + return _SyslogLevelPrefix; + } + + set + { + _SyslogLevelPrefix = (value); + } + } + + private int _SyslogLevel = default(int); + public int SyslogLevel + { + get + { + return _SyslogLevel; + } + + set + { + _SyslogLevel = (value); + } + } + + private int _SyslogFacility = default(int); + public int SyslogFacility + { + get + { + return _SyslogFacility; + } + + set + { + _SyslogFacility = (value); + } + } + + private int _LogLevelMax = default(int); + public int LogLevelMax + { + get + { + return _LogLevelMax; + } + + set + { + _LogLevelMax = (value); + } + } + + private ulong _LogRateLimitIntervalUSec = default(ulong); + public ulong LogRateLimitIntervalUSec + { + get + { + return _LogRateLimitIntervalUSec; + } + + set + { + _LogRateLimitIntervalUSec = (value); + } + } + + private uint _LogRateLimitBurst = default(uint); + public uint LogRateLimitBurst + { + get + { + return _LogRateLimitBurst; + } + + set + { + _LogRateLimitBurst = (value); + } + } + + private byte[][] _LogExtraFields = default(byte[][]); + public byte[][] LogExtraFields + { + get + { + return _LogExtraFields; + } + + set + { + _LogExtraFields = (value); + } + } + + private string _LogNamespace = default(string); + public string LogNamespace + { + get + { + return _LogNamespace; + } + + set + { + _LogNamespace = (value); + } + } + + private int _SecureBits = default(int); + public int SecureBits + { + get + { + return _SecureBits; + } + + set + { + _SecureBits = (value); + } + } + + private ulong _CapabilityBoundingSet = default(ulong); + public ulong CapabilityBoundingSet + { + get + { + return _CapabilityBoundingSet; + } + + set + { + _CapabilityBoundingSet = (value); + } + } + + private ulong _AmbientCapabilities = default(ulong); + public ulong AmbientCapabilities + { + get + { + return _AmbientCapabilities; + } + + set + { + _AmbientCapabilities = (value); + } + } + + private string _User = default(string); + public string User + { + get + { + return _User; + } + + set + { + _User = (value); + } + } + + private string _Group = default(string); + public string Group + { + get + { + return _Group; + } + + set + { + _Group = (value); + } + } + + private bool _DynamicUser = default(bool); + public bool DynamicUser + { + get + { + return _DynamicUser; + } + + set + { + _DynamicUser = (value); + } + } + + private bool _RemoveIPC = default(bool); + public bool RemoveIPC + { + get + { + return _RemoveIPC; + } + + set + { + _RemoveIPC = (value); + } + } + + private (string, byte[])[] _SetCredential = default((string, byte[])[]); + public (string, byte[])[] SetCredential + { + get + { + return _SetCredential; + } + + set + { + _SetCredential = (value); + } + } + + private (string, byte[])[] _SetCredentialEncrypted = default((string, byte[])[]); + public (string, byte[])[] SetCredentialEncrypted + { + get + { + return _SetCredentialEncrypted; + } + + set + { + _SetCredentialEncrypted = (value); + } + } + + private (string, string)[] _LoadCredential = default((string, string)[]); + public (string, string)[] LoadCredential + { + get + { + return _LoadCredential; + } + + set + { + _LoadCredential = (value); + } + } + + private (string, string)[] _LoadCredentialEncrypted = default((string, string)[]); + public (string, string)[] LoadCredentialEncrypted + { + get + { + return _LoadCredentialEncrypted; + } + + set + { + _LoadCredentialEncrypted = (value); + } + } + + private string[] _SupplementaryGroups = default(string[]); + public string[] SupplementaryGroups + { + get + { + return _SupplementaryGroups; + } + + set + { + _SupplementaryGroups = (value); + } + } + + private string _PAMName = default(string); + public string PAMName + { + get + { + return _PAMName; + } + + set + { + _PAMName = (value); + } + } + + private string[] _ReadWritePaths = default(string[]); + public string[] ReadWritePaths + { + get + { + return _ReadWritePaths; + } + + set + { + _ReadWritePaths = (value); + } + } + + private string[] _ReadOnlyPaths = default(string[]); + public string[] ReadOnlyPaths + { + get + { + return _ReadOnlyPaths; + } + + set + { + _ReadOnlyPaths = (value); + } + } + + private string[] _InaccessiblePaths = default(string[]); + public string[] InaccessiblePaths + { + get + { + return _InaccessiblePaths; + } + + set + { + _InaccessiblePaths = (value); + } + } + + private string[] _ExecPaths = default(string[]); + public string[] ExecPaths + { + get + { + return _ExecPaths; + } + + set + { + _ExecPaths = (value); + } + } + + private string[] _NoExecPaths = default(string[]); + public string[] NoExecPaths + { + get + { + return _NoExecPaths; + } + + set + { + _NoExecPaths = (value); + } + } + + private string[] _ExecSearchPath = default(string[]); + public string[] ExecSearchPath + { + get + { + return _ExecSearchPath; + } + + set + { + _ExecSearchPath = (value); + } + } + + private ulong _MountFlags = default(ulong); + public ulong MountFlags + { + get + { + return _MountFlags; + } + + set + { + _MountFlags = (value); + } + } + + private bool _PrivateTmp = default(bool); + public bool PrivateTmp + { + get + { + return _PrivateTmp; + } + + set + { + _PrivateTmp = (value); + } + } + + private bool _PrivateDevices = default(bool); + public bool PrivateDevices + { + get + { + return _PrivateDevices; + } + + set + { + _PrivateDevices = (value); + } + } + + private bool _ProtectClock = default(bool); + public bool ProtectClock + { + get + { + return _ProtectClock; + } + + set + { + _ProtectClock = (value); + } + } + + private bool _ProtectKernelTunables = default(bool); + public bool ProtectKernelTunables + { + get + { + return _ProtectKernelTunables; + } + + set + { + _ProtectKernelTunables = (value); + } + } + + private bool _ProtectKernelModules = default(bool); + public bool ProtectKernelModules + { + get + { + return _ProtectKernelModules; + } + + set + { + _ProtectKernelModules = (value); + } + } + + private bool _ProtectKernelLogs = default(bool); + public bool ProtectKernelLogs + { + get + { + return _ProtectKernelLogs; + } + + set + { + _ProtectKernelLogs = (value); + } + } + + private bool _ProtectControlGroups = default(bool); + public bool ProtectControlGroups + { + get + { + return _ProtectControlGroups; + } + + set + { + _ProtectControlGroups = (value); + } + } + + private bool _PrivateNetwork = default(bool); + public bool PrivateNetwork + { + get + { + return _PrivateNetwork; + } + + set + { + _PrivateNetwork = (value); + } + } + + private bool _PrivateUsers = default(bool); + public bool PrivateUsers + { + get + { + return _PrivateUsers; + } + + set + { + _PrivateUsers = (value); + } + } + + private bool _PrivateMounts = default(bool); + public bool PrivateMounts + { + get + { + return _PrivateMounts; + } + + set + { + _PrivateMounts = (value); + } + } + + private bool _PrivateIPC = default(bool); + public bool PrivateIPC + { + get + { + return _PrivateIPC; + } + + set + { + _PrivateIPC = (value); + } + } + + private string _ProtectHome = default(string); + public string ProtectHome + { + get + { + return _ProtectHome; + } + + set + { + _ProtectHome = (value); + } + } + + private string _ProtectSystem = default(string); + public string ProtectSystem + { + get + { + return _ProtectSystem; + } + + set + { + _ProtectSystem = (value); + } + } + + private bool _SameProcessGroup = default(bool); + public bool SameProcessGroup + { + get + { + return _SameProcessGroup; + } + + set + { + _SameProcessGroup = (value); + } + } + + private string _UtmpIdentifier = default(string); + public string UtmpIdentifier + { + get + { + return _UtmpIdentifier; + } + + set + { + _UtmpIdentifier = (value); + } + } + + private string _UtmpMode = default(string); + public string UtmpMode + { + get + { + return _UtmpMode; + } + + set + { + _UtmpMode = (value); + } + } + + private (bool, string) _SELinuxContext = default((bool, string)); + public (bool, string) SELinuxContext + { + get + { + return _SELinuxContext; + } + + set + { + _SELinuxContext = (value); + } + } + + private (bool, string) _AppArmorProfile = default((bool, string)); + public (bool, string) AppArmorProfile + { + get + { + return _AppArmorProfile; + } + + set + { + _AppArmorProfile = (value); + } + } + + private (bool, string) _SmackProcessLabel = default((bool, string)); + public (bool, string) SmackProcessLabel + { + get + { + return _SmackProcessLabel; + } + + set + { + _SmackProcessLabel = (value); + } + } + + private bool _IgnoreSIGPIPE = default(bool); + public bool IgnoreSIGPIPE + { + get + { + return _IgnoreSIGPIPE; + } + + set + { + _IgnoreSIGPIPE = (value); + } + } + + private bool _NoNewPrivileges = default(bool); + public bool NoNewPrivileges + { + get + { + return _NoNewPrivileges; + } + + set + { + _NoNewPrivileges = (value); + } + } + + private (bool, string[]) _SystemCallFilter = default((bool, string[])); + public (bool, string[]) SystemCallFilter + { + get + { + return _SystemCallFilter; + } + + set + { + _SystemCallFilter = (value); + } + } + + private string[] _SystemCallArchitectures = default(string[]); + public string[] SystemCallArchitectures + { + get + { + return _SystemCallArchitectures; + } + + set + { + _SystemCallArchitectures = (value); + } + } + + private int _SystemCallErrorNumber = default(int); + public int SystemCallErrorNumber + { + get + { + return _SystemCallErrorNumber; + } + + set + { + _SystemCallErrorNumber = (value); + } + } + + private (bool, string[]) _SystemCallLog = default((bool, string[])); + public (bool, string[]) SystemCallLog + { + get + { + return _SystemCallLog; + } + + set + { + _SystemCallLog = (value); + } + } + + private string _Personality = default(string); + public string Personality + { + get + { + return _Personality; + } + + set + { + _Personality = (value); + } + } + + private bool _LockPersonality = default(bool); + public bool LockPersonality + { + get + { + return _LockPersonality; + } + + set + { + _LockPersonality = (value); + } + } + + private (bool, string[]) _RestrictAddressFamilies = default((bool, string[])); + public (bool, string[]) RestrictAddressFamilies + { + get + { + return _RestrictAddressFamilies; + } + + set + { + _RestrictAddressFamilies = (value); + } + } + + private (string, string, ulong)[] _RuntimeDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] RuntimeDirectorySymlink + { + get + { + return _RuntimeDirectorySymlink; + } + + set + { + _RuntimeDirectorySymlink = (value); + } + } + + private string _RuntimeDirectoryPreserve = default(string); + public string RuntimeDirectoryPreserve + { + get + { + return _RuntimeDirectoryPreserve; + } + + set + { + _RuntimeDirectoryPreserve = (value); + } + } + + private uint _RuntimeDirectoryMode = default(uint); + public uint RuntimeDirectoryMode + { + get + { + return _RuntimeDirectoryMode; + } + + set + { + _RuntimeDirectoryMode = (value); + } + } + + private string[] _RuntimeDirectory = default(string[]); + public string[] RuntimeDirectory + { + get + { + return _RuntimeDirectory; + } + + set + { + _RuntimeDirectory = (value); + } + } + + private (string, string, ulong)[] _StateDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] StateDirectorySymlink + { + get + { + return _StateDirectorySymlink; + } + + set + { + _StateDirectorySymlink = (value); + } + } + + private uint _StateDirectoryMode = default(uint); + public uint StateDirectoryMode + { + get + { + return _StateDirectoryMode; + } + + set + { + _StateDirectoryMode = (value); + } + } + + private string[] _StateDirectory = default(string[]); + public string[] StateDirectory + { + get + { + return _StateDirectory; + } + + set + { + _StateDirectory = (value); + } + } + + private (string, string, ulong)[] _CacheDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] CacheDirectorySymlink + { + get + { + return _CacheDirectorySymlink; + } + + set + { + _CacheDirectorySymlink = (value); + } + } + + private uint _CacheDirectoryMode = default(uint); + public uint CacheDirectoryMode + { + get + { + return _CacheDirectoryMode; + } + + set + { + _CacheDirectoryMode = (value); + } + } + + private string[] _CacheDirectory = default(string[]); + public string[] CacheDirectory + { + get + { + return _CacheDirectory; + } + + set + { + _CacheDirectory = (value); + } + } + + private (string, string, ulong)[] _LogsDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] LogsDirectorySymlink + { + get + { + return _LogsDirectorySymlink; + } + + set + { + _LogsDirectorySymlink = (value); + } + } + + private uint _LogsDirectoryMode = default(uint); + public uint LogsDirectoryMode + { + get + { + return _LogsDirectoryMode; + } + + set + { + _LogsDirectoryMode = (value); + } + } + + private string[] _LogsDirectory = default(string[]); + public string[] LogsDirectory + { + get + { + return _LogsDirectory; + } + + set + { + _LogsDirectory = (value); + } + } + + private uint _ConfigurationDirectoryMode = default(uint); + public uint ConfigurationDirectoryMode + { + get + { + return _ConfigurationDirectoryMode; + } + + set + { + _ConfigurationDirectoryMode = (value); + } + } + + private string[] _ConfigurationDirectory = default(string[]); + public string[] ConfigurationDirectory + { + get + { + return _ConfigurationDirectory; + } + + set + { + _ConfigurationDirectory = (value); + } + } + + private ulong _TimeoutCleanUSec = default(ulong); + public ulong TimeoutCleanUSec + { + get + { + return _TimeoutCleanUSec; + } + + set + { + _TimeoutCleanUSec = (value); + } + } + + private bool _MemoryDenyWriteExecute = default(bool); + public bool MemoryDenyWriteExecute + { + get + { + return _MemoryDenyWriteExecute; + } + + set + { + _MemoryDenyWriteExecute = (value); + } + } + + private bool _RestrictRealtime = default(bool); + public bool RestrictRealtime + { + get + { + return _RestrictRealtime; + } + + set + { + _RestrictRealtime = (value); + } + } + + private bool _RestrictSUIDSGID = default(bool); + public bool RestrictSUIDSGID + { + get + { + return _RestrictSUIDSGID; + } + + set + { + _RestrictSUIDSGID = (value); + } + } + + private ulong _RestrictNamespaces = default(ulong); + public ulong RestrictNamespaces + { + get + { + return _RestrictNamespaces; + } + + set + { + _RestrictNamespaces = (value); + } + } + + private (bool, string[]) _RestrictFileSystems = default((bool, string[])); + public (bool, string[]) RestrictFileSystems + { + get + { + return _RestrictFileSystems; + } + + set + { + _RestrictFileSystems = (value); + } + } + + private (string, string, bool, ulong)[] _BindPaths = default((string, string, bool, ulong)[]); + public (string, string, bool, ulong)[] BindPaths + { + get + { + return _BindPaths; + } + + set + { + _BindPaths = (value); + } + } + + private (string, string, bool, ulong)[] _BindReadOnlyPaths = default((string, string, bool, ulong)[]); + public (string, string, bool, ulong)[] BindReadOnlyPaths + { + get + { + return _BindReadOnlyPaths; + } + + set + { + _BindReadOnlyPaths = (value); + } + } + + private (string, string)[] _TemporaryFileSystem = default((string, string)[]); + public (string, string)[] TemporaryFileSystem + { + get + { + return _TemporaryFileSystem; + } + + set + { + _TemporaryFileSystem = (value); + } + } + + private bool _MountAPIVFS = default(bool); + public bool MountAPIVFS + { + get + { + return _MountAPIVFS; + } + + set + { + _MountAPIVFS = (value); + } + } + + private string _KeyringMode = default(string); + public string KeyringMode + { + get + { + return _KeyringMode; + } + + set + { + _KeyringMode = (value); + } + } + + private string _ProtectProc = default(string); + public string ProtectProc + { + get + { + return _ProtectProc; + } + + set + { + _ProtectProc = (value); + } + } + + private string _ProcSubset = default(string); + public string ProcSubset + { + get + { + return _ProcSubset; + } + + set + { + _ProcSubset = (value); + } + } + + private bool _ProtectHostname = default(bool); + public bool ProtectHostname + { + get + { + return _ProtectHostname; + } + + set + { + _ProtectHostname = (value); + } + } + + private string _NetworkNamespacePath = default(string); + public string NetworkNamespacePath + { + get + { + return _NetworkNamespacePath; + } + + set + { + _NetworkNamespacePath = (value); + } + } + + private string _IPCNamespacePath = default(string); + public string IPCNamespacePath + { + get + { + return _IPCNamespacePath; + } + + set + { + _IPCNamespacePath = (value); + } + } + + private string _KillMode = default(string); + public string KillMode + { + get + { + return _KillMode; + } + + set + { + _KillMode = (value); + } + } + + private int _KillSignal = default(int); + public int KillSignal + { + get + { + return _KillSignal; + } + + set + { + _KillSignal = (value); + } + } + + private int _RestartKillSignal = default(int); + public int RestartKillSignal + { + get + { + return _RestartKillSignal; + } + + set + { + _RestartKillSignal = (value); + } + } + + private int _FinalKillSignal = default(int); + public int FinalKillSignal + { + get + { + return _FinalKillSignal; + } + + set + { + _FinalKillSignal = (value); + } + } + + private bool _SendSIGKILL = default(bool); + public bool SendSIGKILL + { + get + { + return _SendSIGKILL; + } + + set + { + _SendSIGKILL = (value); + } + } + + private bool _SendSIGHUP = default(bool); + public bool SendSIGHUP + { + get + { + return _SendSIGHUP; + } + + set + { + _SendSIGHUP = (value); + } + } + + private int _WatchdogSignal = default(int); + public int WatchdogSignal + { + get + { + return _WatchdogSignal; + } + + set + { + _WatchdogSignal = (value); + } + } + } + + static class ServiceExtensions + { + public static Task GetTypeAsync(this IService o) => o.GetAsync("Type"); + public static Task GetExitTypeAsync(this IService o) => o.GetAsync("ExitType"); + public static Task GetRestartAsync(this IService o) => o.GetAsync("Restart"); + public static Task GetPIDFileAsync(this IService o) => o.GetAsync("PIDFile"); + public static Task GetNotifyAccessAsync(this IService o) => o.GetAsync("NotifyAccess"); + public static Task GetRestartUSecAsync(this IService o) => o.GetAsync("RestartUSec"); + public static Task GetTimeoutStartUSecAsync(this IService o) => o.GetAsync("TimeoutStartUSec"); + public static Task GetTimeoutStopUSecAsync(this IService o) => o.GetAsync("TimeoutStopUSec"); + public static Task GetTimeoutAbortUSecAsync(this IService o) => o.GetAsync("TimeoutAbortUSec"); + public static Task GetTimeoutStartFailureModeAsync(this IService o) => o.GetAsync("TimeoutStartFailureMode"); + public static Task GetTimeoutStopFailureModeAsync(this IService o) => o.GetAsync("TimeoutStopFailureMode"); + public static Task GetRuntimeMaxUSecAsync(this IService o) => o.GetAsync("RuntimeMaxUSec"); + public static Task GetRuntimeRandomizedExtraUSecAsync(this IService o) => o.GetAsync("RuntimeRandomizedExtraUSec"); + public static Task GetWatchdogUSecAsync(this IService o) => o.GetAsync("WatchdogUSec"); + public static Task GetWatchdogTimestampAsync(this IService o) => o.GetAsync("WatchdogTimestamp"); + public static Task GetWatchdogTimestampMonotonicAsync(this IService o) => o.GetAsync("WatchdogTimestampMonotonic"); + public static Task GetRootDirectoryStartOnlyAsync(this IService o) => o.GetAsync("RootDirectoryStartOnly"); + public static Task GetRemainAfterExitAsync(this IService o) => o.GetAsync("RemainAfterExit"); + public static Task GetGuessMainPIDAsync(this IService o) => o.GetAsync("GuessMainPID"); + public static Task<(int[], int[])> GetRestartPreventExitStatusAsync(this IService o) => o.GetAsync<(int[], int[])>("RestartPreventExitStatus"); + public static Task<(int[], int[])> GetRestartForceExitStatusAsync(this IService o) => o.GetAsync<(int[], int[])>("RestartForceExitStatus"); + public static Task<(int[], int[])> GetSuccessExitStatusAsync(this IService o) => o.GetAsync<(int[], int[])>("SuccessExitStatus"); + public static Task GetMainPIDAsync(this IService o) => o.GetAsync("MainPID"); + public static Task GetControlPIDAsync(this IService o) => o.GetAsync("ControlPID"); + public static Task GetBusNameAsync(this IService o) => o.GetAsync("BusName"); + public static Task GetFileDescriptorStoreMaxAsync(this IService o) => o.GetAsync("FileDescriptorStoreMax"); + public static Task GetNFileDescriptorStoreAsync(this IService o) => o.GetAsync("NFileDescriptorStore"); + public static Task GetStatusTextAsync(this IService o) => o.GetAsync("StatusText"); + public static Task GetStatusErrnoAsync(this IService o) => o.GetAsync("StatusErrno"); + public static Task GetResultAsync(this IService o) => o.GetAsync("Result"); + public static Task GetReloadResultAsync(this IService o) => o.GetAsync("ReloadResult"); + public static Task GetCleanResultAsync(this IService o) => o.GetAsync("CleanResult"); + public static Task GetUSBFunctionDescriptorsAsync(this IService o) => o.GetAsync("USBFunctionDescriptors"); + public static Task GetUSBFunctionStringsAsync(this IService o) => o.GetAsync("USBFunctionStrings"); + public static Task GetUIDAsync(this IService o) => o.GetAsync("UID"); + public static Task GetGIDAsync(this IService o) => o.GetAsync("GID"); + public static Task GetNRestartsAsync(this IService o) => o.GetAsync("NRestarts"); + public static Task GetOOMPolicyAsync(this IService o) => o.GetAsync("OOMPolicy"); + public static Task GetExecMainStartTimestampAsync(this IService o) => o.GetAsync("ExecMainStartTimestamp"); + public static Task GetExecMainStartTimestampMonotonicAsync(this IService o) => o.GetAsync("ExecMainStartTimestampMonotonic"); + public static Task GetExecMainExitTimestampAsync(this IService o) => o.GetAsync("ExecMainExitTimestamp"); + public static Task GetExecMainExitTimestampMonotonicAsync(this IService o) => o.GetAsync("ExecMainExitTimestampMonotonic"); + public static Task GetExecMainPIDAsync(this IService o) => o.GetAsync("ExecMainPID"); + public static Task GetExecMainCodeAsync(this IService o) => o.GetAsync("ExecMainCode"); + public static Task GetExecMainStatusAsync(this IService o) => o.GetAsync("ExecMainStatus"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecConditionAsync(this IService o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecCondition"); + public static Task<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecConditionExAsync(this IService o) => o.GetAsync<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecConditionEx"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartPreAsync(this IService o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStartPre"); + public static Task<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartPreExAsync(this IService o) => o.GetAsync<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStartPreEx"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartAsync(this IService o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStart"); + public static Task<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartExAsync(this IService o) => o.GetAsync<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStartEx"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartPostAsync(this IService o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStartPost"); + public static Task<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartPostExAsync(this IService o) => o.GetAsync<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStartPostEx"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecReloadAsync(this IService o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecReload"); + public static Task<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecReloadExAsync(this IService o) => o.GetAsync<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecReloadEx"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStopAsync(this IService o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStop"); + public static Task<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStopExAsync(this IService o) => o.GetAsync<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStopEx"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStopPostAsync(this IService o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStopPost"); + public static Task<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStopPostExAsync(this IService o) => o.GetAsync<(string, string[], string[], ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStopPostEx"); + public static Task GetSliceAsync(this IService o) => o.GetAsync("Slice"); + public static Task GetControlGroupAsync(this IService o) => o.GetAsync("ControlGroup"); + public static Task GetControlGroupIdAsync(this IService o) => o.GetAsync("ControlGroupId"); + public static Task GetMemoryCurrentAsync(this IService o) => o.GetAsync("MemoryCurrent"); + public static Task GetMemoryAvailableAsync(this IService o) => o.GetAsync("MemoryAvailable"); + public static Task GetCPUUsageNSecAsync(this IService o) => o.GetAsync("CPUUsageNSec"); + public static Task GetEffectiveCPUsAsync(this IService o) => o.GetAsync("EffectiveCPUs"); + public static Task GetEffectiveMemoryNodesAsync(this IService o) => o.GetAsync("EffectiveMemoryNodes"); + public static Task GetTasksCurrentAsync(this IService o) => o.GetAsync("TasksCurrent"); + public static Task GetIPIngressBytesAsync(this IService o) => o.GetAsync("IPIngressBytes"); + public static Task GetIPIngressPacketsAsync(this IService o) => o.GetAsync("IPIngressPackets"); + public static Task GetIPEgressBytesAsync(this IService o) => o.GetAsync("IPEgressBytes"); + public static Task GetIPEgressPacketsAsync(this IService o) => o.GetAsync("IPEgressPackets"); + public static Task GetIOReadBytesAsync(this IService o) => o.GetAsync("IOReadBytes"); + public static Task GetIOReadOperationsAsync(this IService o) => o.GetAsync("IOReadOperations"); + public static Task GetIOWriteBytesAsync(this IService o) => o.GetAsync("IOWriteBytes"); + public static Task GetIOWriteOperationsAsync(this IService o) => o.GetAsync("IOWriteOperations"); + public static Task GetDelegateAsync(this IService o) => o.GetAsync("Delegate"); + public static Task GetDelegateControllersAsync(this IService o) => o.GetAsync("DelegateControllers"); + public static Task GetCPUAccountingAsync(this IService o) => o.GetAsync("CPUAccounting"); + public static Task GetCPUWeightAsync(this IService o) => o.GetAsync("CPUWeight"); + public static Task GetStartupCPUWeightAsync(this IService o) => o.GetAsync("StartupCPUWeight"); + public static Task GetCPUSharesAsync(this IService o) => o.GetAsync("CPUShares"); + public static Task GetStartupCPUSharesAsync(this IService o) => o.GetAsync("StartupCPUShares"); + public static Task GetCPUQuotaPerSecUSecAsync(this IService o) => o.GetAsync("CPUQuotaPerSecUSec"); + public static Task GetCPUQuotaPeriodUSecAsync(this IService o) => o.GetAsync("CPUQuotaPeriodUSec"); + public static Task GetAllowedCPUsAsync(this IService o) => o.GetAsync("AllowedCPUs"); + public static Task GetStartupAllowedCPUsAsync(this IService o) => o.GetAsync("StartupAllowedCPUs"); + public static Task GetAllowedMemoryNodesAsync(this IService o) => o.GetAsync("AllowedMemoryNodes"); + public static Task GetStartupAllowedMemoryNodesAsync(this IService o) => o.GetAsync("StartupAllowedMemoryNodes"); + public static Task GetIOAccountingAsync(this IService o) => o.GetAsync("IOAccounting"); + public static Task GetIOWeightAsync(this IService o) => o.GetAsync("IOWeight"); + public static Task GetStartupIOWeightAsync(this IService o) => o.GetAsync("StartupIOWeight"); + public static Task<(string, ulong)[]> GetIODeviceWeightAsync(this IService o) => o.GetAsync<(string, ulong)[]>("IODeviceWeight"); + public static Task<(string, ulong)[]> GetIOReadBandwidthMaxAsync(this IService o) => o.GetAsync<(string, ulong)[]>("IOReadBandwidthMax"); + public static Task<(string, ulong)[]> GetIOWriteBandwidthMaxAsync(this IService o) => o.GetAsync<(string, ulong)[]>("IOWriteBandwidthMax"); + public static Task<(string, ulong)[]> GetIOReadIOPSMaxAsync(this IService o) => o.GetAsync<(string, ulong)[]>("IOReadIOPSMax"); + public static Task<(string, ulong)[]> GetIOWriteIOPSMaxAsync(this IService o) => o.GetAsync<(string, ulong)[]>("IOWriteIOPSMax"); + public static Task<(string, ulong)[]> GetIODeviceLatencyTargetUSecAsync(this IService o) => o.GetAsync<(string, ulong)[]>("IODeviceLatencyTargetUSec"); + public static Task GetBlockIOAccountingAsync(this IService o) => o.GetAsync("BlockIOAccounting"); + public static Task GetBlockIOWeightAsync(this IService o) => o.GetAsync("BlockIOWeight"); + public static Task GetStartupBlockIOWeightAsync(this IService o) => o.GetAsync("StartupBlockIOWeight"); + public static Task<(string, ulong)[]> GetBlockIODeviceWeightAsync(this IService o) => o.GetAsync<(string, ulong)[]>("BlockIODeviceWeight"); + public static Task<(string, ulong)[]> GetBlockIOReadBandwidthAsync(this IService o) => o.GetAsync<(string, ulong)[]>("BlockIOReadBandwidth"); + public static Task<(string, ulong)[]> GetBlockIOWriteBandwidthAsync(this IService o) => o.GetAsync<(string, ulong)[]>("BlockIOWriteBandwidth"); + public static Task GetMemoryAccountingAsync(this IService o) => o.GetAsync("MemoryAccounting"); + public static Task GetDefaultMemoryLowAsync(this IService o) => o.GetAsync("DefaultMemoryLow"); + public static Task GetDefaultMemoryMinAsync(this IService o) => o.GetAsync("DefaultMemoryMin"); + public static Task GetMemoryMinAsync(this IService o) => o.GetAsync("MemoryMin"); + public static Task GetMemoryLowAsync(this IService o) => o.GetAsync("MemoryLow"); + public static Task GetMemoryHighAsync(this IService o) => o.GetAsync("MemoryHigh"); + public static Task GetMemoryMaxAsync(this IService o) => o.GetAsync("MemoryMax"); + public static Task GetMemorySwapMaxAsync(this IService o) => o.GetAsync("MemorySwapMax"); + public static Task GetMemoryLimitAsync(this IService o) => o.GetAsync("MemoryLimit"); + public static Task GetDevicePolicyAsync(this IService o) => o.GetAsync("DevicePolicy"); + public static Task<(string, string)[]> GetDeviceAllowAsync(this IService o) => o.GetAsync<(string, string)[]>("DeviceAllow"); + public static Task GetTasksAccountingAsync(this IService o) => o.GetAsync("TasksAccounting"); + public static Task GetTasksMaxAsync(this IService o) => o.GetAsync("TasksMax"); + public static Task GetIPAccountingAsync(this IService o) => o.GetAsync("IPAccounting"); + public static Task<(int, byte[], uint)[]> GetIPAddressAllowAsync(this IService o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressAllow"); + public static Task<(int, byte[], uint)[]> GetIPAddressDenyAsync(this IService o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressDeny"); + public static Task GetIPIngressFilterPathAsync(this IService o) => o.GetAsync("IPIngressFilterPath"); + public static Task GetIPEgressFilterPathAsync(this IService o) => o.GetAsync("IPEgressFilterPath"); + public static Task GetDisableControllersAsync(this IService o) => o.GetAsync("DisableControllers"); + public static Task GetManagedOOMSwapAsync(this IService o) => o.GetAsync("ManagedOOMSwap"); + public static Task GetManagedOOMMemoryPressureAsync(this IService o) => o.GetAsync("ManagedOOMMemoryPressure"); + public static Task GetManagedOOMMemoryPressureLimitAsync(this IService o) => o.GetAsync("ManagedOOMMemoryPressureLimit"); + public static Task GetManagedOOMPreferenceAsync(this IService o) => o.GetAsync("ManagedOOMPreference"); + public static Task<(string, string)[]> GetBPFProgramAsync(this IService o) => o.GetAsync<(string, string)[]>("BPFProgram"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindAllowAsync(this IService o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindAllow"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindDenyAsync(this IService o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindDeny"); + public static Task<(bool, string[])> GetRestrictNetworkInterfacesAsync(this IService o) => o.GetAsync<(bool, string[])>("RestrictNetworkInterfaces"); + public static Task GetEnvironmentAsync(this IService o) => o.GetAsync("Environment"); + public static Task<(string, bool)[]> GetEnvironmentFilesAsync(this IService o) => o.GetAsync<(string, bool)[]>("EnvironmentFiles"); + public static Task GetPassEnvironmentAsync(this IService o) => o.GetAsync("PassEnvironment"); + public static Task GetUnsetEnvironmentAsync(this IService o) => o.GetAsync("UnsetEnvironment"); + public static Task GetUMaskAsync(this IService o) => o.GetAsync("UMask"); + public static Task GetLimitCPUAsync(this IService o) => o.GetAsync("LimitCPU"); + public static Task GetLimitCPUSoftAsync(this IService o) => o.GetAsync("LimitCPUSoft"); + public static Task GetLimitFSIZEAsync(this IService o) => o.GetAsync("LimitFSIZE"); + public static Task GetLimitFSIZESoftAsync(this IService o) => o.GetAsync("LimitFSIZESoft"); + public static Task GetLimitDATAAsync(this IService o) => o.GetAsync("LimitDATA"); + public static Task GetLimitDATASoftAsync(this IService o) => o.GetAsync("LimitDATASoft"); + public static Task GetLimitSTACKAsync(this IService o) => o.GetAsync("LimitSTACK"); + public static Task GetLimitSTACKSoftAsync(this IService o) => o.GetAsync("LimitSTACKSoft"); + public static Task GetLimitCOREAsync(this IService o) => o.GetAsync("LimitCORE"); + public static Task GetLimitCORESoftAsync(this IService o) => o.GetAsync("LimitCORESoft"); + public static Task GetLimitRSSAsync(this IService o) => o.GetAsync("LimitRSS"); + public static Task GetLimitRSSSoftAsync(this IService o) => o.GetAsync("LimitRSSSoft"); + public static Task GetLimitNOFILEAsync(this IService o) => o.GetAsync("LimitNOFILE"); + public static Task GetLimitNOFILESoftAsync(this IService o) => o.GetAsync("LimitNOFILESoft"); + public static Task GetLimitASAsync(this IService o) => o.GetAsync("LimitAS"); + public static Task GetLimitASSoftAsync(this IService o) => o.GetAsync("LimitASSoft"); + public static Task GetLimitNPROCAsync(this IService o) => o.GetAsync("LimitNPROC"); + public static Task GetLimitNPROCSoftAsync(this IService o) => o.GetAsync("LimitNPROCSoft"); + public static Task GetLimitMEMLOCKAsync(this IService o) => o.GetAsync("LimitMEMLOCK"); + public static Task GetLimitMEMLOCKSoftAsync(this IService o) => o.GetAsync("LimitMEMLOCKSoft"); + public static Task GetLimitLOCKSAsync(this IService o) => o.GetAsync("LimitLOCKS"); + public static Task GetLimitLOCKSSoftAsync(this IService o) => o.GetAsync("LimitLOCKSSoft"); + public static Task GetLimitSIGPENDINGAsync(this IService o) => o.GetAsync("LimitSIGPENDING"); + public static Task GetLimitSIGPENDINGSoftAsync(this IService o) => o.GetAsync("LimitSIGPENDINGSoft"); + public static Task GetLimitMSGQUEUEAsync(this IService o) => o.GetAsync("LimitMSGQUEUE"); + public static Task GetLimitMSGQUEUESoftAsync(this IService o) => o.GetAsync("LimitMSGQUEUESoft"); + public static Task GetLimitNICEAsync(this IService o) => o.GetAsync("LimitNICE"); + public static Task GetLimitNICESoftAsync(this IService o) => o.GetAsync("LimitNICESoft"); + public static Task GetLimitRTPRIOAsync(this IService o) => o.GetAsync("LimitRTPRIO"); + public static Task GetLimitRTPRIOSoftAsync(this IService o) => o.GetAsync("LimitRTPRIOSoft"); + public static Task GetLimitRTTIMEAsync(this IService o) => o.GetAsync("LimitRTTIME"); + public static Task GetLimitRTTIMESoftAsync(this IService o) => o.GetAsync("LimitRTTIMESoft"); + public static Task GetWorkingDirectoryAsync(this IService o) => o.GetAsync("WorkingDirectory"); + public static Task GetRootDirectoryAsync(this IService o) => o.GetAsync("RootDirectory"); + public static Task GetRootImageAsync(this IService o) => o.GetAsync("RootImage"); + public static Task<(string, string)[]> GetRootImageOptionsAsync(this IService o) => o.GetAsync<(string, string)[]>("RootImageOptions"); + public static Task GetRootHashAsync(this IService o) => o.GetAsync("RootHash"); + public static Task GetRootHashPathAsync(this IService o) => o.GetAsync("RootHashPath"); + public static Task GetRootHashSignatureAsync(this IService o) => o.GetAsync("RootHashSignature"); + public static Task GetRootHashSignaturePathAsync(this IService o) => o.GetAsync("RootHashSignaturePath"); + public static Task GetRootVerityAsync(this IService o) => o.GetAsync("RootVerity"); + public static Task GetExtensionDirectoriesAsync(this IService o) => o.GetAsync("ExtensionDirectories"); + public static Task<(string, bool, (string, string)[])[]> GetExtensionImagesAsync(this IService o) => o.GetAsync<(string, bool, (string, string)[])[]>("ExtensionImages"); + public static Task<(string, string, bool, (string, string)[])[]> GetMountImagesAsync(this IService o) => o.GetAsync<(string, string, bool, (string, string)[])[]>("MountImages"); + public static Task GetOOMScoreAdjustAsync(this IService o) => o.GetAsync("OOMScoreAdjust"); + public static Task GetCoredumpFilterAsync(this IService o) => o.GetAsync("CoredumpFilter"); + public static Task GetNiceAsync(this IService o) => o.GetAsync("Nice"); + public static Task GetIOSchedulingClassAsync(this IService o) => o.GetAsync("IOSchedulingClass"); + public static Task GetIOSchedulingPriorityAsync(this IService o) => o.GetAsync("IOSchedulingPriority"); + public static Task GetCPUSchedulingPolicyAsync(this IService o) => o.GetAsync("CPUSchedulingPolicy"); + public static Task GetCPUSchedulingPriorityAsync(this IService o) => o.GetAsync("CPUSchedulingPriority"); + public static Task GetCPUAffinityAsync(this IService o) => o.GetAsync("CPUAffinity"); + public static Task GetCPUAffinityFromNUMAAsync(this IService o) => o.GetAsync("CPUAffinityFromNUMA"); + public static Task GetNUMAPolicyAsync(this IService o) => o.GetAsync("NUMAPolicy"); + public static Task GetNUMAMaskAsync(this IService o) => o.GetAsync("NUMAMask"); + public static Task GetTimerSlackNSecAsync(this IService o) => o.GetAsync("TimerSlackNSec"); + public static Task GetCPUSchedulingResetOnForkAsync(this IService o) => o.GetAsync("CPUSchedulingResetOnFork"); + public static Task GetNonBlockingAsync(this IService o) => o.GetAsync("NonBlocking"); + public static Task GetStandardInputAsync(this IService o) => o.GetAsync("StandardInput"); + public static Task GetStandardInputFileDescriptorNameAsync(this IService o) => o.GetAsync("StandardInputFileDescriptorName"); + public static Task GetStandardInputDataAsync(this IService o) => o.GetAsync("StandardInputData"); + public static Task GetStandardOutputAsync(this IService o) => o.GetAsync("StandardOutput"); + public static Task GetStandardOutputFileDescriptorNameAsync(this IService o) => o.GetAsync("StandardOutputFileDescriptorName"); + public static Task GetStandardErrorAsync(this IService o) => o.GetAsync("StandardError"); + public static Task GetStandardErrorFileDescriptorNameAsync(this IService o) => o.GetAsync("StandardErrorFileDescriptorName"); + public static Task GetTTYPathAsync(this IService o) => o.GetAsync("TTYPath"); + public static Task GetTTYResetAsync(this IService o) => o.GetAsync("TTYReset"); + public static Task GetTTYVHangupAsync(this IService o) => o.GetAsync("TTYVHangup"); + public static Task GetTTYVTDisallocateAsync(this IService o) => o.GetAsync("TTYVTDisallocate"); + public static Task GetTTYRowsAsync(this IService o) => o.GetAsync("TTYRows"); + public static Task GetTTYColumnsAsync(this IService o) => o.GetAsync("TTYColumns"); + public static Task GetSyslogPriorityAsync(this IService o) => o.GetAsync("SyslogPriority"); + public static Task GetSyslogIdentifierAsync(this IService o) => o.GetAsync("SyslogIdentifier"); + public static Task GetSyslogLevelPrefixAsync(this IService o) => o.GetAsync("SyslogLevelPrefix"); + public static Task GetSyslogLevelAsync(this IService o) => o.GetAsync("SyslogLevel"); + public static Task GetSyslogFacilityAsync(this IService o) => o.GetAsync("SyslogFacility"); + public static Task GetLogLevelMaxAsync(this IService o) => o.GetAsync("LogLevelMax"); + public static Task GetLogRateLimitIntervalUSecAsync(this IService o) => o.GetAsync("LogRateLimitIntervalUSec"); + public static Task GetLogRateLimitBurstAsync(this IService o) => o.GetAsync("LogRateLimitBurst"); + public static Task GetLogExtraFieldsAsync(this IService o) => o.GetAsync("LogExtraFields"); + public static Task GetLogNamespaceAsync(this IService o) => o.GetAsync("LogNamespace"); + public static Task GetSecureBitsAsync(this IService o) => o.GetAsync("SecureBits"); + public static Task GetCapabilityBoundingSetAsync(this IService o) => o.GetAsync("CapabilityBoundingSet"); + public static Task GetAmbientCapabilitiesAsync(this IService o) => o.GetAsync("AmbientCapabilities"); + public static Task GetUserAsync(this IService o) => o.GetAsync("User"); + public static Task GetGroupAsync(this IService o) => o.GetAsync("Group"); + public static Task GetDynamicUserAsync(this IService o) => o.GetAsync("DynamicUser"); + public static Task GetRemoveIPCAsync(this IService o) => o.GetAsync("RemoveIPC"); + public static Task<(string, byte[])[]> GetSetCredentialAsync(this IService o) => o.GetAsync<(string, byte[])[]>("SetCredential"); + public static Task<(string, byte[])[]> GetSetCredentialEncryptedAsync(this IService o) => o.GetAsync<(string, byte[])[]>("SetCredentialEncrypted"); + public static Task<(string, string)[]> GetLoadCredentialAsync(this IService o) => o.GetAsync<(string, string)[]>("LoadCredential"); + public static Task<(string, string)[]> GetLoadCredentialEncryptedAsync(this IService o) => o.GetAsync<(string, string)[]>("LoadCredentialEncrypted"); + public static Task GetSupplementaryGroupsAsync(this IService o) => o.GetAsync("SupplementaryGroups"); + public static Task GetPAMNameAsync(this IService o) => o.GetAsync("PAMName"); + public static Task GetReadWritePathsAsync(this IService o) => o.GetAsync("ReadWritePaths"); + public static Task GetReadOnlyPathsAsync(this IService o) => o.GetAsync("ReadOnlyPaths"); + public static Task GetInaccessiblePathsAsync(this IService o) => o.GetAsync("InaccessiblePaths"); + public static Task GetExecPathsAsync(this IService o) => o.GetAsync("ExecPaths"); + public static Task GetNoExecPathsAsync(this IService o) => o.GetAsync("NoExecPaths"); + public static Task GetExecSearchPathAsync(this IService o) => o.GetAsync("ExecSearchPath"); + public static Task GetMountFlagsAsync(this IService o) => o.GetAsync("MountFlags"); + public static Task GetPrivateTmpAsync(this IService o) => o.GetAsync("PrivateTmp"); + public static Task GetPrivateDevicesAsync(this IService o) => o.GetAsync("PrivateDevices"); + public static Task GetProtectClockAsync(this IService o) => o.GetAsync("ProtectClock"); + public static Task GetProtectKernelTunablesAsync(this IService o) => o.GetAsync("ProtectKernelTunables"); + public static Task GetProtectKernelModulesAsync(this IService o) => o.GetAsync("ProtectKernelModules"); + public static Task GetProtectKernelLogsAsync(this IService o) => o.GetAsync("ProtectKernelLogs"); + public static Task GetProtectControlGroupsAsync(this IService o) => o.GetAsync("ProtectControlGroups"); + public static Task GetPrivateNetworkAsync(this IService o) => o.GetAsync("PrivateNetwork"); + public static Task GetPrivateUsersAsync(this IService o) => o.GetAsync("PrivateUsers"); + public static Task GetPrivateMountsAsync(this IService o) => o.GetAsync("PrivateMounts"); + public static Task GetPrivateIPCAsync(this IService o) => o.GetAsync("PrivateIPC"); + public static Task GetProtectHomeAsync(this IService o) => o.GetAsync("ProtectHome"); + public static Task GetProtectSystemAsync(this IService o) => o.GetAsync("ProtectSystem"); + public static Task GetSameProcessGroupAsync(this IService o) => o.GetAsync("SameProcessGroup"); + public static Task GetUtmpIdentifierAsync(this IService o) => o.GetAsync("UtmpIdentifier"); + public static Task GetUtmpModeAsync(this IService o) => o.GetAsync("UtmpMode"); + public static Task<(bool, string)> GetSELinuxContextAsync(this IService o) => o.GetAsync<(bool, string)>("SELinuxContext"); + public static Task<(bool, string)> GetAppArmorProfileAsync(this IService o) => o.GetAsync<(bool, string)>("AppArmorProfile"); + public static Task<(bool, string)> GetSmackProcessLabelAsync(this IService o) => o.GetAsync<(bool, string)>("SmackProcessLabel"); + public static Task GetIgnoreSIGPIPEAsync(this IService o) => o.GetAsync("IgnoreSIGPIPE"); + public static Task GetNoNewPrivilegesAsync(this IService o) => o.GetAsync("NoNewPrivileges"); + public static Task<(bool, string[])> GetSystemCallFilterAsync(this IService o) => o.GetAsync<(bool, string[])>("SystemCallFilter"); + public static Task GetSystemCallArchitecturesAsync(this IService o) => o.GetAsync("SystemCallArchitectures"); + public static Task GetSystemCallErrorNumberAsync(this IService o) => o.GetAsync("SystemCallErrorNumber"); + public static Task<(bool, string[])> GetSystemCallLogAsync(this IService o) => o.GetAsync<(bool, string[])>("SystemCallLog"); + public static Task GetPersonalityAsync(this IService o) => o.GetAsync("Personality"); + public static Task GetLockPersonalityAsync(this IService o) => o.GetAsync("LockPersonality"); + public static Task<(bool, string[])> GetRestrictAddressFamiliesAsync(this IService o) => o.GetAsync<(bool, string[])>("RestrictAddressFamilies"); + public static Task<(string, string, ulong)[]> GetRuntimeDirectorySymlinkAsync(this IService o) => o.GetAsync<(string, string, ulong)[]>("RuntimeDirectorySymlink"); + public static Task GetRuntimeDirectoryPreserveAsync(this IService o) => o.GetAsync("RuntimeDirectoryPreserve"); + public static Task GetRuntimeDirectoryModeAsync(this IService o) => o.GetAsync("RuntimeDirectoryMode"); + public static Task GetRuntimeDirectoryAsync(this IService o) => o.GetAsync("RuntimeDirectory"); + public static Task<(string, string, ulong)[]> GetStateDirectorySymlinkAsync(this IService o) => o.GetAsync<(string, string, ulong)[]>("StateDirectorySymlink"); + public static Task GetStateDirectoryModeAsync(this IService o) => o.GetAsync("StateDirectoryMode"); + public static Task GetStateDirectoryAsync(this IService o) => o.GetAsync("StateDirectory"); + public static Task<(string, string, ulong)[]> GetCacheDirectorySymlinkAsync(this IService o) => o.GetAsync<(string, string, ulong)[]>("CacheDirectorySymlink"); + public static Task GetCacheDirectoryModeAsync(this IService o) => o.GetAsync("CacheDirectoryMode"); + public static Task GetCacheDirectoryAsync(this IService o) => o.GetAsync("CacheDirectory"); + public static Task<(string, string, ulong)[]> GetLogsDirectorySymlinkAsync(this IService o) => o.GetAsync<(string, string, ulong)[]>("LogsDirectorySymlink"); + public static Task GetLogsDirectoryModeAsync(this IService o) => o.GetAsync("LogsDirectoryMode"); + public static Task GetLogsDirectoryAsync(this IService o) => o.GetAsync("LogsDirectory"); + public static Task GetConfigurationDirectoryModeAsync(this IService o) => o.GetAsync("ConfigurationDirectoryMode"); + public static Task GetConfigurationDirectoryAsync(this IService o) => o.GetAsync("ConfigurationDirectory"); + public static Task GetTimeoutCleanUSecAsync(this IService o) => o.GetAsync("TimeoutCleanUSec"); + public static Task GetMemoryDenyWriteExecuteAsync(this IService o) => o.GetAsync("MemoryDenyWriteExecute"); + public static Task GetRestrictRealtimeAsync(this IService o) => o.GetAsync("RestrictRealtime"); + public static Task GetRestrictSUIDSGIDAsync(this IService o) => o.GetAsync("RestrictSUIDSGID"); + public static Task GetRestrictNamespacesAsync(this IService o) => o.GetAsync("RestrictNamespaces"); + public static Task<(bool, string[])> GetRestrictFileSystemsAsync(this IService o) => o.GetAsync<(bool, string[])>("RestrictFileSystems"); + public static Task<(string, string, bool, ulong)[]> GetBindPathsAsync(this IService o) => o.GetAsync<(string, string, bool, ulong)[]>("BindPaths"); + public static Task<(string, string, bool, ulong)[]> GetBindReadOnlyPathsAsync(this IService o) => o.GetAsync<(string, string, bool, ulong)[]>("BindReadOnlyPaths"); + public static Task<(string, string)[]> GetTemporaryFileSystemAsync(this IService o) => o.GetAsync<(string, string)[]>("TemporaryFileSystem"); + public static Task GetMountAPIVFSAsync(this IService o) => o.GetAsync("MountAPIVFS"); + public static Task GetKeyringModeAsync(this IService o) => o.GetAsync("KeyringMode"); + public static Task GetProtectProcAsync(this IService o) => o.GetAsync("ProtectProc"); + public static Task GetProcSubsetAsync(this IService o) => o.GetAsync("ProcSubset"); + public static Task GetProtectHostnameAsync(this IService o) => o.GetAsync("ProtectHostname"); + public static Task GetNetworkNamespacePathAsync(this IService o) => o.GetAsync("NetworkNamespacePath"); + public static Task GetIPCNamespacePathAsync(this IService o) => o.GetAsync("IPCNamespacePath"); + public static Task GetKillModeAsync(this IService o) => o.GetAsync("KillMode"); + public static Task GetKillSignalAsync(this IService o) => o.GetAsync("KillSignal"); + public static Task GetRestartKillSignalAsync(this IService o) => o.GetAsync("RestartKillSignal"); + public static Task GetFinalKillSignalAsync(this IService o) => o.GetAsync("FinalKillSignal"); + public static Task GetSendSIGKILLAsync(this IService o) => o.GetAsync("SendSIGKILL"); + public static Task GetSendSIGHUPAsync(this IService o) => o.GetAsync("SendSIGHUP"); + public static Task GetWatchdogSignalAsync(this IService o) => o.GetAsync("WatchdogSignal"); + } + + [DBusInterface("org.freedesktop.systemd1.Unit")] + interface IUnit : IDBusObject + { + Task StartAsync(string Mode); + Task StopAsync(string Mode); + Task ReloadAsync(string Mode); + Task RestartAsync(string Mode); + Task TryRestartAsync(string Mode); + Task ReloadOrRestartAsync(string Mode); + Task ReloadOrTryRestartAsync(string Mode); + Task<(uint jobId, ObjectPath jobPath, string unitId, ObjectPath unitPath, string jobType, (uint, ObjectPath, string, ObjectPath, string)[] affectedJobs)> EnqueueJobAsync(string JobType, string JobMode); + Task KillAsync(string Whom, int Signal); + Task ResetFailedAsync(); + Task SetPropertiesAsync(bool Runtime, (string, object)[] Properties); + Task RefAsync(); + Task UnrefAsync(); + Task CleanAsync(string[] Mask); + Task FreezeAsync(); + Task ThawAsync(); + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class UnitProperties + { + private string _Id = default(string); + public string Id + { + get + { + return _Id; + } + + set + { + _Id = (value); + } + } + + private string[] _Names = default(string[]); + public string[] Names + { + get + { + return _Names; + } + + set + { + _Names = (value); + } + } + + private string _Following = default(string); + public string Following + { + get + { + return _Following; + } + + set + { + _Following = (value); + } + } + + private string[] _Requires = default(string[]); + public string[] Requires + { + get + { + return _Requires; + } + + set + { + _Requires = (value); + } + } + + private string[] _Requisite = default(string[]); + public string[] Requisite + { + get + { + return _Requisite; + } + + set + { + _Requisite = (value); + } + } + + private string[] _Wants = default(string[]); + public string[] Wants + { + get + { + return _Wants; + } + + set + { + _Wants = (value); + } + } + + private string[] _BindsTo = default(string[]); + public string[] BindsTo + { + get + { + return _BindsTo; + } + + set + { + _BindsTo = (value); + } + } + + private string[] _PartOf = default(string[]); + public string[] PartOf + { + get + { + return _PartOf; + } + + set + { + _PartOf = (value); + } + } + + private string[] _Upholds = default(string[]); + public string[] Upholds + { + get + { + return _Upholds; + } + + set + { + _Upholds = (value); + } + } + + private string[] _RequiredBy = default(string[]); + public string[] RequiredBy + { + get + { + return _RequiredBy; + } + + set + { + _RequiredBy = (value); + } + } + + private string[] _RequisiteOf = default(string[]); + public string[] RequisiteOf + { + get + { + return _RequisiteOf; + } + + set + { + _RequisiteOf = (value); + } + } + + private string[] _WantedBy = default(string[]); + public string[] WantedBy + { + get + { + return _WantedBy; + } + + set + { + _WantedBy = (value); + } + } + + private string[] _BoundBy = default(string[]); + public string[] BoundBy + { + get + { + return _BoundBy; + } + + set + { + _BoundBy = (value); + } + } + + private string[] _UpheldBy = default(string[]); + public string[] UpheldBy + { + get + { + return _UpheldBy; + } + + set + { + _UpheldBy = (value); + } + } + + private string[] _ConsistsOf = default(string[]); + public string[] ConsistsOf + { + get + { + return _ConsistsOf; + } + + set + { + _ConsistsOf = (value); + } + } + + private string[] _Conflicts = default(string[]); + public string[] Conflicts + { + get + { + return _Conflicts; + } + + set + { + _Conflicts = (value); + } + } + + private string[] _ConflictedBy = default(string[]); + public string[] ConflictedBy + { + get + { + return _ConflictedBy; + } + + set + { + _ConflictedBy = (value); + } + } + + private string[] _Before = default(string[]); + public string[] Before + { + get + { + return _Before; + } + + set + { + _Before = (value); + } + } + + private string[] _After = default(string[]); + public string[] After + { + get + { + return _After; + } + + set + { + _After = (value); + } + } + + private string[] _OnSuccess = default(string[]); + public string[] OnSuccess + { + get + { + return _OnSuccess; + } + + set + { + _OnSuccess = (value); + } + } + + private string[] _OnSuccessOf = default(string[]); + public string[] OnSuccessOf + { + get + { + return _OnSuccessOf; + } + + set + { + _OnSuccessOf = (value); + } + } + + private string[] _OnFailure = default(string[]); + public string[] OnFailure + { + get + { + return _OnFailure; + } + + set + { + _OnFailure = (value); + } + } + + private string[] _OnFailureOf = default(string[]); + public string[] OnFailureOf + { + get + { + return _OnFailureOf; + } + + set + { + _OnFailureOf = (value); + } + } + + private string[] _Triggers = default(string[]); + public string[] Triggers + { + get + { + return _Triggers; + } + + set + { + _Triggers = (value); + } + } + + private string[] _TriggeredBy = default(string[]); + public string[] TriggeredBy + { + get + { + return _TriggeredBy; + } + + set + { + _TriggeredBy = (value); + } + } + + private string[] _PropagatesReloadTo = default(string[]); + public string[] PropagatesReloadTo + { + get + { + return _PropagatesReloadTo; + } + + set + { + _PropagatesReloadTo = (value); + } + } + + private string[] _ReloadPropagatedFrom = default(string[]); + public string[] ReloadPropagatedFrom + { + get + { + return _ReloadPropagatedFrom; + } + + set + { + _ReloadPropagatedFrom = (value); + } + } + + private string[] _PropagatesStopTo = default(string[]); + public string[] PropagatesStopTo + { + get + { + return _PropagatesStopTo; + } + + set + { + _PropagatesStopTo = (value); + } + } + + private string[] _StopPropagatedFrom = default(string[]); + public string[] StopPropagatedFrom + { + get + { + return _StopPropagatedFrom; + } + + set + { + _StopPropagatedFrom = (value); + } + } + + private string[] _JoinsNamespaceOf = default(string[]); + public string[] JoinsNamespaceOf + { + get + { + return _JoinsNamespaceOf; + } + + set + { + _JoinsNamespaceOf = (value); + } + } + + private string[] _SliceOf = default(string[]); + public string[] SliceOf + { + get + { + return _SliceOf; + } + + set + { + _SliceOf = (value); + } + } + + private string[] _RequiresMountsFor = default(string[]); + public string[] RequiresMountsFor + { + get + { + return _RequiresMountsFor; + } + + set + { + _RequiresMountsFor = (value); + } + } + + private string[] _Documentation = default(string[]); + public string[] Documentation + { + get + { + return _Documentation; + } + + set + { + _Documentation = (value); + } + } + + private string _Description = default(string); + public string Description + { + get + { + return _Description; + } + + set + { + _Description = (value); + } + } + + private string _AccessSELinuxContext = default(string); + public string AccessSELinuxContext + { + get + { + return _AccessSELinuxContext; + } + + set + { + _AccessSELinuxContext = (value); + } + } + + private string _LoadState = default(string); + public string LoadState + { + get + { + return _LoadState; + } + + set + { + _LoadState = (value); + } + } + + private string _ActiveState = default(string); + public string ActiveState + { + get + { + return _ActiveState; + } + + set + { + _ActiveState = (value); + } + } + + private string _FreezerState = default(string); + public string FreezerState + { + get + { + return _FreezerState; + } + + set + { + _FreezerState = (value); + } + } + + private string _SubState = default(string); + public string SubState + { + get + { + return _SubState; + } + + set + { + _SubState = (value); + } + } + + private string _FragmentPath = default(string); + public string FragmentPath + { + get + { + return _FragmentPath; + } + + set + { + _FragmentPath = (value); + } + } + + private string _SourcePath = default(string); + public string SourcePath + { + get + { + return _SourcePath; + } + + set + { + _SourcePath = (value); + } + } + + private string[] _DropInPaths = default(string[]); + public string[] DropInPaths + { + get + { + return _DropInPaths; + } + + set + { + _DropInPaths = (value); + } + } + + private string _UnitFileState = default(string); + public string UnitFileState + { + get + { + return _UnitFileState; + } + + set + { + _UnitFileState = (value); + } + } + + private string _UnitFilePreset = default(string); + public string UnitFilePreset + { + get + { + return _UnitFilePreset; + } + + set + { + _UnitFilePreset = (value); + } + } + + private ulong _StateChangeTimestamp = default(ulong); + public ulong StateChangeTimestamp + { + get + { + return _StateChangeTimestamp; + } + + set + { + _StateChangeTimestamp = (value); + } + } + + private ulong _StateChangeTimestampMonotonic = default(ulong); + public ulong StateChangeTimestampMonotonic + { + get + { + return _StateChangeTimestampMonotonic; + } + + set + { + _StateChangeTimestampMonotonic = (value); + } + } + + private ulong _InactiveExitTimestamp = default(ulong); + public ulong InactiveExitTimestamp + { + get + { + return _InactiveExitTimestamp; + } + + set + { + _InactiveExitTimestamp = (value); + } + } + + private ulong _InactiveExitTimestampMonotonic = default(ulong); + public ulong InactiveExitTimestampMonotonic + { + get + { + return _InactiveExitTimestampMonotonic; + } + + set + { + _InactiveExitTimestampMonotonic = (value); + } + } + + private ulong _ActiveEnterTimestamp = default(ulong); + public ulong ActiveEnterTimestamp + { + get + { + return _ActiveEnterTimestamp; + } + + set + { + _ActiveEnterTimestamp = (value); + } + } + + private ulong _ActiveEnterTimestampMonotonic = default(ulong); + public ulong ActiveEnterTimestampMonotonic + { + get + { + return _ActiveEnterTimestampMonotonic; + } + + set + { + _ActiveEnterTimestampMonotonic = (value); + } + } + + private ulong _ActiveExitTimestamp = default(ulong); + public ulong ActiveExitTimestamp + { + get + { + return _ActiveExitTimestamp; + } + + set + { + _ActiveExitTimestamp = (value); + } + } + + private ulong _ActiveExitTimestampMonotonic = default(ulong); + public ulong ActiveExitTimestampMonotonic + { + get + { + return _ActiveExitTimestampMonotonic; + } + + set + { + _ActiveExitTimestampMonotonic = (value); + } + } + + private ulong _InactiveEnterTimestamp = default(ulong); + public ulong InactiveEnterTimestamp + { + get + { + return _InactiveEnterTimestamp; + } + + set + { + _InactiveEnterTimestamp = (value); + } + } + + private ulong _InactiveEnterTimestampMonotonic = default(ulong); + public ulong InactiveEnterTimestampMonotonic + { + get + { + return _InactiveEnterTimestampMonotonic; + } + + set + { + _InactiveEnterTimestampMonotonic = (value); + } + } + + private bool _CanStart = default(bool); + public bool CanStart + { + get + { + return _CanStart; + } + + set + { + _CanStart = (value); + } + } + + private bool _CanStop = default(bool); + public bool CanStop + { + get + { + return _CanStop; + } + + set + { + _CanStop = (value); + } + } + + private bool _CanReload = default(bool); + public bool CanReload + { + get + { + return _CanReload; + } + + set + { + _CanReload = (value); + } + } + + private bool _CanIsolate = default(bool); + public bool CanIsolate + { + get + { + return _CanIsolate; + } + + set + { + _CanIsolate = (value); + } + } + + private string[] _CanClean = default(string[]); + public string[] CanClean + { + get + { + return _CanClean; + } + + set + { + _CanClean = (value); + } + } + + private bool _CanFreeze = default(bool); + public bool CanFreeze + { + get + { + return _CanFreeze; + } + + set + { + _CanFreeze = (value); + } + } + + private (uint, ObjectPath) _Job = default((uint, ObjectPath)); + public (uint, ObjectPath) Job + { + get + { + return _Job; + } + + set + { + _Job = (value); + } + } + + private bool _StopWhenUnneeded = default(bool); + public bool StopWhenUnneeded + { + get + { + return _StopWhenUnneeded; + } + + set + { + _StopWhenUnneeded = (value); + } + } + + private bool _RefuseManualStart = default(bool); + public bool RefuseManualStart + { + get + { + return _RefuseManualStart; + } + + set + { + _RefuseManualStart = (value); + } + } + + private bool _RefuseManualStop = default(bool); + public bool RefuseManualStop + { + get + { + return _RefuseManualStop; + } + + set + { + _RefuseManualStop = (value); + } + } + + private bool _AllowIsolate = default(bool); + public bool AllowIsolate + { + get + { + return _AllowIsolate; + } + + set + { + _AllowIsolate = (value); + } + } + + private bool _DefaultDependencies = default(bool); + public bool DefaultDependencies + { + get + { + return _DefaultDependencies; + } + + set + { + _DefaultDependencies = (value); + } + } + + private string _OnSuccessJobMode = default(string); + public string OnSuccessJobMode + { + get + { + return _OnSuccessJobMode; + } + + set + { + _OnSuccessJobMode = (value); + } + } + + private string _OnFailureJobMode = default(string); + public string OnFailureJobMode + { + get + { + return _OnFailureJobMode; + } + + set + { + _OnFailureJobMode = (value); + } + } + + private bool _IgnoreOnIsolate = default(bool); + public bool IgnoreOnIsolate + { + get + { + return _IgnoreOnIsolate; + } + + set + { + _IgnoreOnIsolate = (value); + } + } + + private bool _NeedDaemonReload = default(bool); + public bool NeedDaemonReload + { + get + { + return _NeedDaemonReload; + } + + set + { + _NeedDaemonReload = (value); + } + } + + private string[] _Markers = default(string[]); + public string[] Markers + { + get + { + return _Markers; + } + + set + { + _Markers = (value); + } + } + + private ulong _JobTimeoutUSec = default(ulong); + public ulong JobTimeoutUSec + { + get + { + return _JobTimeoutUSec; + } + + set + { + _JobTimeoutUSec = (value); + } + } + + private ulong _JobRunningTimeoutUSec = default(ulong); + public ulong JobRunningTimeoutUSec + { + get + { + return _JobRunningTimeoutUSec; + } + + set + { + _JobRunningTimeoutUSec = (value); + } + } + + private string _JobTimeoutAction = default(string); + public string JobTimeoutAction + { + get + { + return _JobTimeoutAction; + } + + set + { + _JobTimeoutAction = (value); + } + } + + private string _JobTimeoutRebootArgument = default(string); + public string JobTimeoutRebootArgument + { + get + { + return _JobTimeoutRebootArgument; + } + + set + { + _JobTimeoutRebootArgument = (value); + } + } + + private bool _ConditionResult = default(bool); + public bool ConditionResult + { + get + { + return _ConditionResult; + } + + set + { + _ConditionResult = (value); + } + } + + private bool _AssertResult = default(bool); + public bool AssertResult + { + get + { + return _AssertResult; + } + + set + { + _AssertResult = (value); + } + } + + private ulong _ConditionTimestamp = default(ulong); + public ulong ConditionTimestamp + { + get + { + return _ConditionTimestamp; + } + + set + { + _ConditionTimestamp = (value); + } + } + + private ulong _ConditionTimestampMonotonic = default(ulong); + public ulong ConditionTimestampMonotonic + { + get + { + return _ConditionTimestampMonotonic; + } + + set + { + _ConditionTimestampMonotonic = (value); + } + } + + private ulong _AssertTimestamp = default(ulong); + public ulong AssertTimestamp + { + get + { + return _AssertTimestamp; + } + + set + { + _AssertTimestamp = (value); + } + } + + private ulong _AssertTimestampMonotonic = default(ulong); + public ulong AssertTimestampMonotonic + { + get + { + return _AssertTimestampMonotonic; + } + + set + { + _AssertTimestampMonotonic = (value); + } + } + + private (string, bool, bool, string, int)[] _Conditions = default((string, bool, bool, string, int)[]); + public (string, bool, bool, string, int)[] Conditions + { + get + { + return _Conditions; + } + + set + { + _Conditions = (value); + } + } + + private (string, bool, bool, string, int)[] _Asserts = default((string, bool, bool, string, int)[]); + public (string, bool, bool, string, int)[] Asserts + { + get + { + return _Asserts; + } + + set + { + _Asserts = (value); + } + } + + private (string, string) _LoadError = default((string, string)); + public (string, string) LoadError + { + get + { + return _LoadError; + } + + set + { + _LoadError = (value); + } + } + + private bool _Transient = default(bool); + public bool Transient + { + get + { + return _Transient; + } + + set + { + _Transient = (value); + } + } + + private bool _Perpetual = default(bool); + public bool Perpetual + { + get + { + return _Perpetual; + } + + set + { + _Perpetual = (value); + } + } + + private ulong _StartLimitIntervalUSec = default(ulong); + public ulong StartLimitIntervalUSec + { + get + { + return _StartLimitIntervalUSec; + } + + set + { + _StartLimitIntervalUSec = (value); + } + } + + private uint _StartLimitBurst = default(uint); + public uint StartLimitBurst + { + get + { + return _StartLimitBurst; + } + + set + { + _StartLimitBurst = (value); + } + } + + private string _StartLimitAction = default(string); + public string StartLimitAction + { + get + { + return _StartLimitAction; + } + + set + { + _StartLimitAction = (value); + } + } + + private string _FailureAction = default(string); + public string FailureAction + { + get + { + return _FailureAction; + } + + set + { + _FailureAction = (value); + } + } + + private int _FailureActionExitStatus = default(int); + public int FailureActionExitStatus + { + get + { + return _FailureActionExitStatus; + } + + set + { + _FailureActionExitStatus = (value); + } + } + + private string _SuccessAction = default(string); + public string SuccessAction + { + get + { + return _SuccessAction; + } + + set + { + _SuccessAction = (value); + } + } + + private int _SuccessActionExitStatus = default(int); + public int SuccessActionExitStatus + { + get + { + return _SuccessActionExitStatus; + } + + set + { + _SuccessActionExitStatus = (value); + } + } + + private string _RebootArgument = default(string); + public string RebootArgument + { + get + { + return _RebootArgument; + } + + set + { + _RebootArgument = (value); + } + } + + private byte[] _InvocationID = default(byte[]); + public byte[] InvocationID + { + get + { + return _InvocationID; + } + + set + { + _InvocationID = (value); + } + } + + private string _CollectMode = default(string); + public string CollectMode + { + get + { + return _CollectMode; + } + + set + { + _CollectMode = (value); + } + } + + private string[] _Refs = default(string[]); + public string[] Refs + { + get + { + return _Refs; + } + + set + { + _Refs = (value); + } + } + + private (string, string)[] _ActivationDetails = default((string, string)[]); + public (string, string)[] ActivationDetails + { + get + { + return _ActivationDetails; + } + + set + { + _ActivationDetails = (value); + } + } + } + + static class UnitExtensions + { + public static Task GetIdAsync(this IUnit o) => o.GetAsync("Id"); + public static Task GetNamesAsync(this IUnit o) => o.GetAsync("Names"); + public static Task GetFollowingAsync(this IUnit o) => o.GetAsync("Following"); + public static Task GetRequiresAsync(this IUnit o) => o.GetAsync("Requires"); + public static Task GetRequisiteAsync(this IUnit o) => o.GetAsync("Requisite"); + public static Task GetWantsAsync(this IUnit o) => o.GetAsync("Wants"); + public static Task GetBindsToAsync(this IUnit o) => o.GetAsync("BindsTo"); + public static Task GetPartOfAsync(this IUnit o) => o.GetAsync("PartOf"); + public static Task GetUpholdsAsync(this IUnit o) => o.GetAsync("Upholds"); + public static Task GetRequiredByAsync(this IUnit o) => o.GetAsync("RequiredBy"); + public static Task GetRequisiteOfAsync(this IUnit o) => o.GetAsync("RequisiteOf"); + public static Task GetWantedByAsync(this IUnit o) => o.GetAsync("WantedBy"); + public static Task GetBoundByAsync(this IUnit o) => o.GetAsync("BoundBy"); + public static Task GetUpheldByAsync(this IUnit o) => o.GetAsync("UpheldBy"); + public static Task GetConsistsOfAsync(this IUnit o) => o.GetAsync("ConsistsOf"); + public static Task GetConflictsAsync(this IUnit o) => o.GetAsync("Conflicts"); + public static Task GetConflictedByAsync(this IUnit o) => o.GetAsync("ConflictedBy"); + public static Task GetBeforeAsync(this IUnit o) => o.GetAsync("Before"); + public static Task GetAfterAsync(this IUnit o) => o.GetAsync("After"); + public static Task GetOnSuccessAsync(this IUnit o) => o.GetAsync("OnSuccess"); + public static Task GetOnSuccessOfAsync(this IUnit o) => o.GetAsync("OnSuccessOf"); + public static Task GetOnFailureAsync(this IUnit o) => o.GetAsync("OnFailure"); + public static Task GetOnFailureOfAsync(this IUnit o) => o.GetAsync("OnFailureOf"); + public static Task GetTriggersAsync(this IUnit o) => o.GetAsync("Triggers"); + public static Task GetTriggeredByAsync(this IUnit o) => o.GetAsync("TriggeredBy"); + public static Task GetPropagatesReloadToAsync(this IUnit o) => o.GetAsync("PropagatesReloadTo"); + public static Task GetReloadPropagatedFromAsync(this IUnit o) => o.GetAsync("ReloadPropagatedFrom"); + public static Task GetPropagatesStopToAsync(this IUnit o) => o.GetAsync("PropagatesStopTo"); + public static Task GetStopPropagatedFromAsync(this IUnit o) => o.GetAsync("StopPropagatedFrom"); + public static Task GetJoinsNamespaceOfAsync(this IUnit o) => o.GetAsync("JoinsNamespaceOf"); + public static Task GetSliceOfAsync(this IUnit o) => o.GetAsync("SliceOf"); + public static Task GetRequiresMountsForAsync(this IUnit o) => o.GetAsync("RequiresMountsFor"); + public static Task GetDocumentationAsync(this IUnit o) => o.GetAsync("Documentation"); + public static Task GetDescriptionAsync(this IUnit o) => o.GetAsync("Description"); + public static Task GetAccessSELinuxContextAsync(this IUnit o) => o.GetAsync("AccessSELinuxContext"); + public static Task GetLoadStateAsync(this IUnit o) => o.GetAsync("LoadState"); + public static Task GetActiveStateAsync(this IUnit o) => o.GetAsync("ActiveState"); + public static Task GetFreezerStateAsync(this IUnit o) => o.GetAsync("FreezerState"); + public static Task GetSubStateAsync(this IUnit o) => o.GetAsync("SubState"); + public static Task GetFragmentPathAsync(this IUnit o) => o.GetAsync("FragmentPath"); + public static Task GetSourcePathAsync(this IUnit o) => o.GetAsync("SourcePath"); + public static Task GetDropInPathsAsync(this IUnit o) => o.GetAsync("DropInPaths"); + public static Task GetUnitFileStateAsync(this IUnit o) => o.GetAsync("UnitFileState"); + public static Task GetUnitFilePresetAsync(this IUnit o) => o.GetAsync("UnitFilePreset"); + public static Task GetStateChangeTimestampAsync(this IUnit o) => o.GetAsync("StateChangeTimestamp"); + public static Task GetStateChangeTimestampMonotonicAsync(this IUnit o) => o.GetAsync("StateChangeTimestampMonotonic"); + public static Task GetInactiveExitTimestampAsync(this IUnit o) => o.GetAsync("InactiveExitTimestamp"); + public static Task GetInactiveExitTimestampMonotonicAsync(this IUnit o) => o.GetAsync("InactiveExitTimestampMonotonic"); + public static Task GetActiveEnterTimestampAsync(this IUnit o) => o.GetAsync("ActiveEnterTimestamp"); + public static Task GetActiveEnterTimestampMonotonicAsync(this IUnit o) => o.GetAsync("ActiveEnterTimestampMonotonic"); + public static Task GetActiveExitTimestampAsync(this IUnit o) => o.GetAsync("ActiveExitTimestamp"); + public static Task GetActiveExitTimestampMonotonicAsync(this IUnit o) => o.GetAsync("ActiveExitTimestampMonotonic"); + public static Task GetInactiveEnterTimestampAsync(this IUnit o) => o.GetAsync("InactiveEnterTimestamp"); + public static Task GetInactiveEnterTimestampMonotonicAsync(this IUnit o) => o.GetAsync("InactiveEnterTimestampMonotonic"); + public static Task GetCanStartAsync(this IUnit o) => o.GetAsync("CanStart"); + public static Task GetCanStopAsync(this IUnit o) => o.GetAsync("CanStop"); + public static Task GetCanReloadAsync(this IUnit o) => o.GetAsync("CanReload"); + public static Task GetCanIsolateAsync(this IUnit o) => o.GetAsync("CanIsolate"); + public static Task GetCanCleanAsync(this IUnit o) => o.GetAsync("CanClean"); + public static Task GetCanFreezeAsync(this IUnit o) => o.GetAsync("CanFreeze"); + public static Task<(uint, ObjectPath)> GetJobAsync(this IUnit o) => o.GetAsync<(uint, ObjectPath)>("Job"); + public static Task GetStopWhenUnneededAsync(this IUnit o) => o.GetAsync("StopWhenUnneeded"); + public static Task GetRefuseManualStartAsync(this IUnit o) => o.GetAsync("RefuseManualStart"); + public static Task GetRefuseManualStopAsync(this IUnit o) => o.GetAsync("RefuseManualStop"); + public static Task GetAllowIsolateAsync(this IUnit o) => o.GetAsync("AllowIsolate"); + public static Task GetDefaultDependenciesAsync(this IUnit o) => o.GetAsync("DefaultDependencies"); + public static Task GetOnSuccessJobModeAsync(this IUnit o) => o.GetAsync("OnSuccessJobMode"); + public static Task GetOnFailureJobModeAsync(this IUnit o) => o.GetAsync("OnFailureJobMode"); + public static Task GetIgnoreOnIsolateAsync(this IUnit o) => o.GetAsync("IgnoreOnIsolate"); + public static Task GetNeedDaemonReloadAsync(this IUnit o) => o.GetAsync("NeedDaemonReload"); + public static Task GetMarkersAsync(this IUnit o) => o.GetAsync("Markers"); + public static Task GetJobTimeoutUSecAsync(this IUnit o) => o.GetAsync("JobTimeoutUSec"); + public static Task GetJobRunningTimeoutUSecAsync(this IUnit o) => o.GetAsync("JobRunningTimeoutUSec"); + public static Task GetJobTimeoutActionAsync(this IUnit o) => o.GetAsync("JobTimeoutAction"); + public static Task GetJobTimeoutRebootArgumentAsync(this IUnit o) => o.GetAsync("JobTimeoutRebootArgument"); + public static Task GetConditionResultAsync(this IUnit o) => o.GetAsync("ConditionResult"); + public static Task GetAssertResultAsync(this IUnit o) => o.GetAsync("AssertResult"); + public static Task GetConditionTimestampAsync(this IUnit o) => o.GetAsync("ConditionTimestamp"); + public static Task GetConditionTimestampMonotonicAsync(this IUnit o) => o.GetAsync("ConditionTimestampMonotonic"); + public static Task GetAssertTimestampAsync(this IUnit o) => o.GetAsync("AssertTimestamp"); + public static Task GetAssertTimestampMonotonicAsync(this IUnit o) => o.GetAsync("AssertTimestampMonotonic"); + public static Task<(string, bool, bool, string, int)[]> GetConditionsAsync(this IUnit o) => o.GetAsync<(string, bool, bool, string, int)[]>("Conditions"); + public static Task<(string, bool, bool, string, int)[]> GetAssertsAsync(this IUnit o) => o.GetAsync<(string, bool, bool, string, int)[]>("Asserts"); + public static Task<(string, string)> GetLoadErrorAsync(this IUnit o) => o.GetAsync<(string, string)>("LoadError"); + public static Task GetTransientAsync(this IUnit o) => o.GetAsync("Transient"); + public static Task GetPerpetualAsync(this IUnit o) => o.GetAsync("Perpetual"); + public static Task GetStartLimitIntervalUSecAsync(this IUnit o) => o.GetAsync("StartLimitIntervalUSec"); + public static Task GetStartLimitBurstAsync(this IUnit o) => o.GetAsync("StartLimitBurst"); + public static Task GetStartLimitActionAsync(this IUnit o) => o.GetAsync("StartLimitAction"); + public static Task GetFailureActionAsync(this IUnit o) => o.GetAsync("FailureAction"); + public static Task GetFailureActionExitStatusAsync(this IUnit o) => o.GetAsync("FailureActionExitStatus"); + public static Task GetSuccessActionAsync(this IUnit o) => o.GetAsync("SuccessAction"); + public static Task GetSuccessActionExitStatusAsync(this IUnit o) => o.GetAsync("SuccessActionExitStatus"); + public static Task GetRebootArgumentAsync(this IUnit o) => o.GetAsync("RebootArgument"); + public static Task GetInvocationIDAsync(this IUnit o) => o.GetAsync("InvocationID"); + public static Task GetCollectModeAsync(this IUnit o) => o.GetAsync("CollectMode"); + public static Task GetRefsAsync(this IUnit o) => o.GetAsync("Refs"); + public static Task<(string, string)[]> GetActivationDetailsAsync(this IUnit o) => o.GetAsync<(string, string)[]>("ActivationDetails"); + } + + [DBusInterface("org.freedesktop.systemd1.Device")] + interface IDevice : IDBusObject + { + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class DeviceProperties + { + private string _SysFSPath = default(string); + public string SysFSPath + { + get + { + return _SysFSPath; + } + + set + { + _SysFSPath = (value); + } + } + } + + static class DeviceExtensions + { + public static Task GetSysFSPathAsync(this IDevice o) => o.GetAsync("SysFSPath"); + } + + [DBusInterface("org.freedesktop.systemd1.Timer")] + interface ITimer : IDBusObject + { + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class TimerProperties + { + private string _Unit = default(string); + public string Unit + { + get + { + return _Unit; + } + + set + { + _Unit = (value); + } + } + + private (string, ulong, ulong)[] _TimersMonotonic = default((string, ulong, ulong)[]); + public (string, ulong, ulong)[] TimersMonotonic + { + get + { + return _TimersMonotonic; + } + + set + { + _TimersMonotonic = (value); + } + } + + private (string, string, ulong)[] _TimersCalendar = default((string, string, ulong)[]); + public (string, string, ulong)[] TimersCalendar + { + get + { + return _TimersCalendar; + } + + set + { + _TimersCalendar = (value); + } + } + + private bool _OnClockChange = default(bool); + public bool OnClockChange + { + get + { + return _OnClockChange; + } + + set + { + _OnClockChange = (value); + } + } + + private bool _OnTimezoneChange = default(bool); + public bool OnTimezoneChange + { + get + { + return _OnTimezoneChange; + } + + set + { + _OnTimezoneChange = (value); + } + } + + private ulong _NextElapseUSecRealtime = default(ulong); + public ulong NextElapseUSecRealtime + { + get + { + return _NextElapseUSecRealtime; + } + + set + { + _NextElapseUSecRealtime = (value); + } + } + + private ulong _NextElapseUSecMonotonic = default(ulong); + public ulong NextElapseUSecMonotonic + { + get + { + return _NextElapseUSecMonotonic; + } + + set + { + _NextElapseUSecMonotonic = (value); + } + } + + private ulong _LastTriggerUSec = default(ulong); + public ulong LastTriggerUSec + { + get + { + return _LastTriggerUSec; + } + + set + { + _LastTriggerUSec = (value); + } + } + + private ulong _LastTriggerUSecMonotonic = default(ulong); + public ulong LastTriggerUSecMonotonic + { + get + { + return _LastTriggerUSecMonotonic; + } + + set + { + _LastTriggerUSecMonotonic = (value); + } + } + + private string _Result = default(string); + public string Result + { + get + { + return _Result; + } + + set + { + _Result = (value); + } + } + + private ulong _AccuracyUSec = default(ulong); + public ulong AccuracyUSec + { + get + { + return _AccuracyUSec; + } + + set + { + _AccuracyUSec = (value); + } + } + + private ulong _RandomizedDelayUSec = default(ulong); + public ulong RandomizedDelayUSec + { + get + { + return _RandomizedDelayUSec; + } + + set + { + _RandomizedDelayUSec = (value); + } + } + + private bool _FixedRandomDelay = default(bool); + public bool FixedRandomDelay + { + get + { + return _FixedRandomDelay; + } + + set + { + _FixedRandomDelay = (value); + } + } + + private bool _Persistent = default(bool); + public bool Persistent + { + get + { + return _Persistent; + } + + set + { + _Persistent = (value); + } + } + + private bool _WakeSystem = default(bool); + public bool WakeSystem + { + get + { + return _WakeSystem; + } + + set + { + _WakeSystem = (value); + } + } + + private bool _RemainAfterElapse = default(bool); + public bool RemainAfterElapse + { + get + { + return _RemainAfterElapse; + } + + set + { + _RemainAfterElapse = (value); + } + } + } + + static class TimerExtensions + { + public static Task GetUnitAsync(this ITimer o) => o.GetAsync("Unit"); + public static Task<(string, ulong, ulong)[]> GetTimersMonotonicAsync(this ITimer o) => o.GetAsync<(string, ulong, ulong)[]>("TimersMonotonic"); + public static Task<(string, string, ulong)[]> GetTimersCalendarAsync(this ITimer o) => o.GetAsync<(string, string, ulong)[]>("TimersCalendar"); + public static Task GetOnClockChangeAsync(this ITimer o) => o.GetAsync("OnClockChange"); + public static Task GetOnTimezoneChangeAsync(this ITimer o) => o.GetAsync("OnTimezoneChange"); + public static Task GetNextElapseUSecRealtimeAsync(this ITimer o) => o.GetAsync("NextElapseUSecRealtime"); + public static Task GetNextElapseUSecMonotonicAsync(this ITimer o) => o.GetAsync("NextElapseUSecMonotonic"); + public static Task GetLastTriggerUSecAsync(this ITimer o) => o.GetAsync("LastTriggerUSec"); + public static Task GetLastTriggerUSecMonotonicAsync(this ITimer o) => o.GetAsync("LastTriggerUSecMonotonic"); + public static Task GetResultAsync(this ITimer o) => o.GetAsync("Result"); + public static Task GetAccuracyUSecAsync(this ITimer o) => o.GetAsync("AccuracyUSec"); + public static Task GetRandomizedDelayUSecAsync(this ITimer o) => o.GetAsync("RandomizedDelayUSec"); + public static Task GetFixedRandomDelayAsync(this ITimer o) => o.GetAsync("FixedRandomDelay"); + public static Task GetPersistentAsync(this ITimer o) => o.GetAsync("Persistent"); + public static Task GetWakeSystemAsync(this ITimer o) => o.GetAsync("WakeSystem"); + public static Task GetRemainAfterElapseAsync(this ITimer o) => o.GetAsync("RemainAfterElapse"); + } + + [DBusInterface("org.freedesktop.systemd1.Target")] + interface ITarget : IDBusObject + { + } + + [DBusInterface("org.freedesktop.systemd1.Mount")] + interface IMount : IDBusObject + { + Task<(string, uint, string)[]> GetProcessesAsync(); + Task AttachProcessesAsync(string Subcgroup, uint[] Pids); + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class MountProperties + { + private string _Where = default(string); + public string Where + { + get + { + return _Where; + } + + set + { + _Where = (value); + } + } + + private string _What = default(string); + public string What + { + get + { + return _What; + } + + set + { + _What = (value); + } + } + + private string _Options = default(string); + public string Options + { + get + { + return _Options; + } + + set + { + _Options = (value); + } + } + + private string _Type = default(string); + public string Type + { + get + { + return _Type; + } + + set + { + _Type = (value); + } + } + + private ulong _TimeoutUSec = default(ulong); + public ulong TimeoutUSec + { + get + { + return _TimeoutUSec; + } + + set + { + _TimeoutUSec = (value); + } + } + + private uint _ControlPID = default(uint); + public uint ControlPID + { + get + { + return _ControlPID; + } + + set + { + _ControlPID = (value); + } + } + + private uint _DirectoryMode = default(uint); + public uint DirectoryMode + { + get + { + return _DirectoryMode; + } + + set + { + _DirectoryMode = (value); + } + } + + private bool _SloppyOptions = default(bool); + public bool SloppyOptions + { + get + { + return _SloppyOptions; + } + + set + { + _SloppyOptions = (value); + } + } + + private bool _LazyUnmount = default(bool); + public bool LazyUnmount + { + get + { + return _LazyUnmount; + } + + set + { + _LazyUnmount = (value); + } + } + + private bool _ForceUnmount = default(bool); + public bool ForceUnmount + { + get + { + return _ForceUnmount; + } + + set + { + _ForceUnmount = (value); + } + } + + private bool _ReadWriteOnly = default(bool); + public bool ReadWriteOnly + { + get + { + return _ReadWriteOnly; + } + + set + { + _ReadWriteOnly = (value); + } + } + + private string _Result = default(string); + public string Result + { + get + { + return _Result; + } + + set + { + _Result = (value); + } + } + + private uint _UID = default(uint); + public uint UID + { + get + { + return _UID; + } + + set + { + _UID = (value); + } + } + + private uint _GID = default(uint); + public uint GID + { + get + { + return _GID; + } + + set + { + _GID = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecMount = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecMount + { + get + { + return _ExecMount; + } + + set + { + _ExecMount = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecUnmount = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecUnmount + { + get + { + return _ExecUnmount; + } + + set + { + _ExecUnmount = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecRemount = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecRemount + { + get + { + return _ExecRemount; + } + + set + { + _ExecRemount = (value); + } + } + + private string _Slice = default(string); + public string Slice + { + get + { + return _Slice; + } + + set + { + _Slice = (value); + } + } + + private string _ControlGroup = default(string); + public string ControlGroup + { + get + { + return _ControlGroup; + } + + set + { + _ControlGroup = (value); + } + } + + private ulong _ControlGroupId = default(ulong); + public ulong ControlGroupId + { + get + { + return _ControlGroupId; + } + + set + { + _ControlGroupId = (value); + } + } + + private ulong _MemoryCurrent = default(ulong); + public ulong MemoryCurrent + { + get + { + return _MemoryCurrent; + } + + set + { + _MemoryCurrent = (value); + } + } + + private ulong _MemoryAvailable = default(ulong); + public ulong MemoryAvailable + { + get + { + return _MemoryAvailable; + } + + set + { + _MemoryAvailable = (value); + } + } + + private ulong _CPUUsageNSec = default(ulong); + public ulong CPUUsageNSec + { + get + { + return _CPUUsageNSec; + } + + set + { + _CPUUsageNSec = (value); + } + } + + private byte[] _EffectiveCPUs = default(byte[]); + public byte[] EffectiveCPUs + { + get + { + return _EffectiveCPUs; + } + + set + { + _EffectiveCPUs = (value); + } + } + + private byte[] _EffectiveMemoryNodes = default(byte[]); + public byte[] EffectiveMemoryNodes + { + get + { + return _EffectiveMemoryNodes; + } + + set + { + _EffectiveMemoryNodes = (value); + } + } + + private ulong _TasksCurrent = default(ulong); + public ulong TasksCurrent + { + get + { + return _TasksCurrent; + } + + set + { + _TasksCurrent = (value); + } + } + + private ulong _IPIngressBytes = default(ulong); + public ulong IPIngressBytes + { + get + { + return _IPIngressBytes; + } + + set + { + _IPIngressBytes = (value); + } + } + + private ulong _IPIngressPackets = default(ulong); + public ulong IPIngressPackets + { + get + { + return _IPIngressPackets; + } + + set + { + _IPIngressPackets = (value); + } + } + + private ulong _IPEgressBytes = default(ulong); + public ulong IPEgressBytes + { + get + { + return _IPEgressBytes; + } + + set + { + _IPEgressBytes = (value); + } + } + + private ulong _IPEgressPackets = default(ulong); + public ulong IPEgressPackets + { + get + { + return _IPEgressPackets; + } + + set + { + _IPEgressPackets = (value); + } + } + + private ulong _IOReadBytes = default(ulong); + public ulong IOReadBytes + { + get + { + return _IOReadBytes; + } + + set + { + _IOReadBytes = (value); + } + } + + private ulong _IOReadOperations = default(ulong); + public ulong IOReadOperations + { + get + { + return _IOReadOperations; + } + + set + { + _IOReadOperations = (value); + } + } + + private ulong _IOWriteBytes = default(ulong); + public ulong IOWriteBytes + { + get + { + return _IOWriteBytes; + } + + set + { + _IOWriteBytes = (value); + } + } + + private ulong _IOWriteOperations = default(ulong); + public ulong IOWriteOperations + { + get + { + return _IOWriteOperations; + } + + set + { + _IOWriteOperations = (value); + } + } + + private bool _Delegate = default(bool); + public bool Delegate + { + get + { + return _Delegate; + } + + set + { + _Delegate = (value); + } + } + + private string[] _DelegateControllers = default(string[]); + public string[] DelegateControllers + { + get + { + return _DelegateControllers; + } + + set + { + _DelegateControllers = (value); + } + } + + private bool _CPUAccounting = default(bool); + public bool CPUAccounting + { + get + { + return _CPUAccounting; + } + + set + { + _CPUAccounting = (value); + } + } + + private ulong _CPUWeight = default(ulong); + public ulong CPUWeight + { + get + { + return _CPUWeight; + } + + set + { + _CPUWeight = (value); + } + } + + private ulong _StartupCPUWeight = default(ulong); + public ulong StartupCPUWeight + { + get + { + return _StartupCPUWeight; + } + + set + { + _StartupCPUWeight = (value); + } + } + + private ulong _CPUShares = default(ulong); + public ulong CPUShares + { + get + { + return _CPUShares; + } + + set + { + _CPUShares = (value); + } + } + + private ulong _StartupCPUShares = default(ulong); + public ulong StartupCPUShares + { + get + { + return _StartupCPUShares; + } + + set + { + _StartupCPUShares = (value); + } + } + + private ulong _CPUQuotaPerSecUSec = default(ulong); + public ulong CPUQuotaPerSecUSec + { + get + { + return _CPUQuotaPerSecUSec; + } + + set + { + _CPUQuotaPerSecUSec = (value); + } + } + + private ulong _CPUQuotaPeriodUSec = default(ulong); + public ulong CPUQuotaPeriodUSec + { + get + { + return _CPUQuotaPeriodUSec; + } + + set + { + _CPUQuotaPeriodUSec = (value); + } + } + + private byte[] _AllowedCPUs = default(byte[]); + public byte[] AllowedCPUs + { + get + { + return _AllowedCPUs; + } + + set + { + _AllowedCPUs = (value); + } + } + + private byte[] _StartupAllowedCPUs = default(byte[]); + public byte[] StartupAllowedCPUs + { + get + { + return _StartupAllowedCPUs; + } + + set + { + _StartupAllowedCPUs = (value); + } + } + + private byte[] _AllowedMemoryNodes = default(byte[]); + public byte[] AllowedMemoryNodes + { + get + { + return _AllowedMemoryNodes; + } + + set + { + _AllowedMemoryNodes = (value); + } + } + + private byte[] _StartupAllowedMemoryNodes = default(byte[]); + public byte[] StartupAllowedMemoryNodes + { + get + { + return _StartupAllowedMemoryNodes; + } + + set + { + _StartupAllowedMemoryNodes = (value); + } + } + + private bool _IOAccounting = default(bool); + public bool IOAccounting + { + get + { + return _IOAccounting; + } + + set + { + _IOAccounting = (value); + } + } + + private ulong _IOWeight = default(ulong); + public ulong IOWeight + { + get + { + return _IOWeight; + } + + set + { + _IOWeight = (value); + } + } + + private ulong _StartupIOWeight = default(ulong); + public ulong StartupIOWeight + { + get + { + return _StartupIOWeight; + } + + set + { + _StartupIOWeight = (value); + } + } + + private (string, ulong)[] _IODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] IODeviceWeight + { + get + { + return _IODeviceWeight; + } + + set + { + _IODeviceWeight = (value); + } + } + + private (string, ulong)[] _IOReadBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOReadBandwidthMax + { + get + { + return _IOReadBandwidthMax; + } + + set + { + _IOReadBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOWriteBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteBandwidthMax + { + get + { + return _IOWriteBandwidthMax; + } + + set + { + _IOWriteBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOReadIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOReadIOPSMax + { + get + { + return _IOReadIOPSMax; + } + + set + { + _IOReadIOPSMax = (value); + } + } + + private (string, ulong)[] _IOWriteIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteIOPSMax + { + get + { + return _IOWriteIOPSMax; + } + + set + { + _IOWriteIOPSMax = (value); + } + } + + private (string, ulong)[] _IODeviceLatencyTargetUSec = default((string, ulong)[]); + public (string, ulong)[] IODeviceLatencyTargetUSec + { + get + { + return _IODeviceLatencyTargetUSec; + } + + set + { + _IODeviceLatencyTargetUSec = (value); + } + } + + private bool _BlockIOAccounting = default(bool); + public bool BlockIOAccounting + { + get + { + return _BlockIOAccounting; + } + + set + { + _BlockIOAccounting = (value); + } + } + + private ulong _BlockIOWeight = default(ulong); + public ulong BlockIOWeight + { + get + { + return _BlockIOWeight; + } + + set + { + _BlockIOWeight = (value); + } + } + + private ulong _StartupBlockIOWeight = default(ulong); + public ulong StartupBlockIOWeight + { + get + { + return _StartupBlockIOWeight; + } + + set + { + _StartupBlockIOWeight = (value); + } + } + + private (string, ulong)[] _BlockIODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] BlockIODeviceWeight + { + get + { + return _BlockIODeviceWeight; + } + + set + { + _BlockIODeviceWeight = (value); + } + } + + private (string, ulong)[] _BlockIOReadBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOReadBandwidth + { + get + { + return _BlockIOReadBandwidth; + } + + set + { + _BlockIOReadBandwidth = (value); + } + } + + private (string, ulong)[] _BlockIOWriteBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOWriteBandwidth + { + get + { + return _BlockIOWriteBandwidth; + } + + set + { + _BlockIOWriteBandwidth = (value); + } + } + + private bool _MemoryAccounting = default(bool); + public bool MemoryAccounting + { + get + { + return _MemoryAccounting; + } + + set + { + _MemoryAccounting = (value); + } + } + + private ulong _DefaultMemoryLow = default(ulong); + public ulong DefaultMemoryLow + { + get + { + return _DefaultMemoryLow; + } + + set + { + _DefaultMemoryLow = (value); + } + } + + private ulong _DefaultMemoryMin = default(ulong); + public ulong DefaultMemoryMin + { + get + { + return _DefaultMemoryMin; + } + + set + { + _DefaultMemoryMin = (value); + } + } + + private ulong _MemoryMin = default(ulong); + public ulong MemoryMin + { + get + { + return _MemoryMin; + } + + set + { + _MemoryMin = (value); + } + } + + private ulong _MemoryLow = default(ulong); + public ulong MemoryLow + { + get + { + return _MemoryLow; + } + + set + { + _MemoryLow = (value); + } + } + + private ulong _MemoryHigh = default(ulong); + public ulong MemoryHigh + { + get + { + return _MemoryHigh; + } + + set + { + _MemoryHigh = (value); + } + } + + private ulong _MemoryMax = default(ulong); + public ulong MemoryMax + { + get + { + return _MemoryMax; + } + + set + { + _MemoryMax = (value); + } + } + + private ulong _MemorySwapMax = default(ulong); + public ulong MemorySwapMax + { + get + { + return _MemorySwapMax; + } + + set + { + _MemorySwapMax = (value); + } + } + + private ulong _MemoryLimit = default(ulong); + public ulong MemoryLimit + { + get + { + return _MemoryLimit; + } + + set + { + _MemoryLimit = (value); + } + } + + private string _DevicePolicy = default(string); + public string DevicePolicy + { + get + { + return _DevicePolicy; + } + + set + { + _DevicePolicy = (value); + } + } + + private (string, string)[] _DeviceAllow = default((string, string)[]); + public (string, string)[] DeviceAllow + { + get + { + return _DeviceAllow; + } + + set + { + _DeviceAllow = (value); + } + } + + private bool _TasksAccounting = default(bool); + public bool TasksAccounting + { + get + { + return _TasksAccounting; + } + + set + { + _TasksAccounting = (value); + } + } + + private ulong _TasksMax = default(ulong); + public ulong TasksMax + { + get + { + return _TasksMax; + } + + set + { + _TasksMax = (value); + } + } + + private bool _IPAccounting = default(bool); + public bool IPAccounting + { + get + { + return _IPAccounting; + } + + set + { + _IPAccounting = (value); + } + } + + private (int, byte[], uint)[] _IPAddressAllow = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressAllow + { + get + { + return _IPAddressAllow; + } + + set + { + _IPAddressAllow = (value); + } + } + + private (int, byte[], uint)[] _IPAddressDeny = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressDeny + { + get + { + return _IPAddressDeny; + } + + set + { + _IPAddressDeny = (value); + } + } + + private string[] _IPIngressFilterPath = default(string[]); + public string[] IPIngressFilterPath + { + get + { + return _IPIngressFilterPath; + } + + set + { + _IPIngressFilterPath = (value); + } + } + + private string[] _IPEgressFilterPath = default(string[]); + public string[] IPEgressFilterPath + { + get + { + return _IPEgressFilterPath; + } + + set + { + _IPEgressFilterPath = (value); + } + } + + private string[] _DisableControllers = default(string[]); + public string[] DisableControllers + { + get + { + return _DisableControllers; + } + + set + { + _DisableControllers = (value); + } + } + + private string _ManagedOOMSwap = default(string); + public string ManagedOOMSwap + { + get + { + return _ManagedOOMSwap; + } + + set + { + _ManagedOOMSwap = (value); + } + } + + private string _ManagedOOMMemoryPressure = default(string); + public string ManagedOOMMemoryPressure + { + get + { + return _ManagedOOMMemoryPressure; + } + + set + { + _ManagedOOMMemoryPressure = (value); + } + } + + private uint _ManagedOOMMemoryPressureLimit = default(uint); + public uint ManagedOOMMemoryPressureLimit + { + get + { + return _ManagedOOMMemoryPressureLimit; + } + + set + { + _ManagedOOMMemoryPressureLimit = (value); + } + } + + private string _ManagedOOMPreference = default(string); + public string ManagedOOMPreference + { + get + { + return _ManagedOOMPreference; + } + + set + { + _ManagedOOMPreference = (value); + } + } + + private (string, string)[] _BPFProgram = default((string, string)[]); + public (string, string)[] BPFProgram + { + get + { + return _BPFProgram; + } + + set + { + _BPFProgram = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindAllow = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindAllow + { + get + { + return _SocketBindAllow; + } + + set + { + _SocketBindAllow = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindDeny = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindDeny + { + get + { + return _SocketBindDeny; + } + + set + { + _SocketBindDeny = (value); + } + } + + private (bool, string[]) _RestrictNetworkInterfaces = default((bool, string[])); + public (bool, string[]) RestrictNetworkInterfaces + { + get + { + return _RestrictNetworkInterfaces; + } + + set + { + _RestrictNetworkInterfaces = (value); + } + } + + private string[] _Environment = default(string[]); + public string[] Environment + { + get + { + return _Environment; + } + + set + { + _Environment = (value); + } + } + + private (string, bool)[] _EnvironmentFiles = default((string, bool)[]); + public (string, bool)[] EnvironmentFiles + { + get + { + return _EnvironmentFiles; + } + + set + { + _EnvironmentFiles = (value); + } + } + + private string[] _PassEnvironment = default(string[]); + public string[] PassEnvironment + { + get + { + return _PassEnvironment; + } + + set + { + _PassEnvironment = (value); + } + } + + private string[] _UnsetEnvironment = default(string[]); + public string[] UnsetEnvironment + { + get + { + return _UnsetEnvironment; + } + + set + { + _UnsetEnvironment = (value); + } + } + + private uint _UMask = default(uint); + public uint UMask + { + get + { + return _UMask; + } + + set + { + _UMask = (value); + } + } + + private ulong _LimitCPU = default(ulong); + public ulong LimitCPU + { + get + { + return _LimitCPU; + } + + set + { + _LimitCPU = (value); + } + } + + private ulong _LimitCPUSoft = default(ulong); + public ulong LimitCPUSoft + { + get + { + return _LimitCPUSoft; + } + + set + { + _LimitCPUSoft = (value); + } + } + + private ulong _LimitFSIZE = default(ulong); + public ulong LimitFSIZE + { + get + { + return _LimitFSIZE; + } + + set + { + _LimitFSIZE = (value); + } + } + + private ulong _LimitFSIZESoft = default(ulong); + public ulong LimitFSIZESoft + { + get + { + return _LimitFSIZESoft; + } + + set + { + _LimitFSIZESoft = (value); + } + } + + private ulong _LimitDATA = default(ulong); + public ulong LimitDATA + { + get + { + return _LimitDATA; + } + + set + { + _LimitDATA = (value); + } + } + + private ulong _LimitDATASoft = default(ulong); + public ulong LimitDATASoft + { + get + { + return _LimitDATASoft; + } + + set + { + _LimitDATASoft = (value); + } + } + + private ulong _LimitSTACK = default(ulong); + public ulong LimitSTACK + { + get + { + return _LimitSTACK; + } + + set + { + _LimitSTACK = (value); + } + } + + private ulong _LimitSTACKSoft = default(ulong); + public ulong LimitSTACKSoft + { + get + { + return _LimitSTACKSoft; + } + + set + { + _LimitSTACKSoft = (value); + } + } + + private ulong _LimitCORE = default(ulong); + public ulong LimitCORE + { + get + { + return _LimitCORE; + } + + set + { + _LimitCORE = (value); + } + } + + private ulong _LimitCORESoft = default(ulong); + public ulong LimitCORESoft + { + get + { + return _LimitCORESoft; + } + + set + { + _LimitCORESoft = (value); + } + } + + private ulong _LimitRSS = default(ulong); + public ulong LimitRSS + { + get + { + return _LimitRSS; + } + + set + { + _LimitRSS = (value); + } + } + + private ulong _LimitRSSSoft = default(ulong); + public ulong LimitRSSSoft + { + get + { + return _LimitRSSSoft; + } + + set + { + _LimitRSSSoft = (value); + } + } + + private ulong _LimitNOFILE = default(ulong); + public ulong LimitNOFILE + { + get + { + return _LimitNOFILE; + } + + set + { + _LimitNOFILE = (value); + } + } + + private ulong _LimitNOFILESoft = default(ulong); + public ulong LimitNOFILESoft + { + get + { + return _LimitNOFILESoft; + } + + set + { + _LimitNOFILESoft = (value); + } + } + + private ulong _LimitAS = default(ulong); + public ulong LimitAS + { + get + { + return _LimitAS; + } + + set + { + _LimitAS = (value); + } + } + + private ulong _LimitASSoft = default(ulong); + public ulong LimitASSoft + { + get + { + return _LimitASSoft; + } + + set + { + _LimitASSoft = (value); + } + } + + private ulong _LimitNPROC = default(ulong); + public ulong LimitNPROC + { + get + { + return _LimitNPROC; + } + + set + { + _LimitNPROC = (value); + } + } + + private ulong _LimitNPROCSoft = default(ulong); + public ulong LimitNPROCSoft + { + get + { + return _LimitNPROCSoft; + } + + set + { + _LimitNPROCSoft = (value); + } + } + + private ulong _LimitMEMLOCK = default(ulong); + public ulong LimitMEMLOCK + { + get + { + return _LimitMEMLOCK; + } + + set + { + _LimitMEMLOCK = (value); + } + } + + private ulong _LimitMEMLOCKSoft = default(ulong); + public ulong LimitMEMLOCKSoft + { + get + { + return _LimitMEMLOCKSoft; + } + + set + { + _LimitMEMLOCKSoft = (value); + } + } + + private ulong _LimitLOCKS = default(ulong); + public ulong LimitLOCKS + { + get + { + return _LimitLOCKS; + } + + set + { + _LimitLOCKS = (value); + } + } + + private ulong _LimitLOCKSSoft = default(ulong); + public ulong LimitLOCKSSoft + { + get + { + return _LimitLOCKSSoft; + } + + set + { + _LimitLOCKSSoft = (value); + } + } + + private ulong _LimitSIGPENDING = default(ulong); + public ulong LimitSIGPENDING + { + get + { + return _LimitSIGPENDING; + } + + set + { + _LimitSIGPENDING = (value); + } + } + + private ulong _LimitSIGPENDINGSoft = default(ulong); + public ulong LimitSIGPENDINGSoft + { + get + { + return _LimitSIGPENDINGSoft; + } + + set + { + _LimitSIGPENDINGSoft = (value); + } + } + + private ulong _LimitMSGQUEUE = default(ulong); + public ulong LimitMSGQUEUE + { + get + { + return _LimitMSGQUEUE; + } + + set + { + _LimitMSGQUEUE = (value); + } + } + + private ulong _LimitMSGQUEUESoft = default(ulong); + public ulong LimitMSGQUEUESoft + { + get + { + return _LimitMSGQUEUESoft; + } + + set + { + _LimitMSGQUEUESoft = (value); + } + } + + private ulong _LimitNICE = default(ulong); + public ulong LimitNICE + { + get + { + return _LimitNICE; + } + + set + { + _LimitNICE = (value); + } + } + + private ulong _LimitNICESoft = default(ulong); + public ulong LimitNICESoft + { + get + { + return _LimitNICESoft; + } + + set + { + _LimitNICESoft = (value); + } + } + + private ulong _LimitRTPRIO = default(ulong); + public ulong LimitRTPRIO + { + get + { + return _LimitRTPRIO; + } + + set + { + _LimitRTPRIO = (value); + } + } + + private ulong _LimitRTPRIOSoft = default(ulong); + public ulong LimitRTPRIOSoft + { + get + { + return _LimitRTPRIOSoft; + } + + set + { + _LimitRTPRIOSoft = (value); + } + } + + private ulong _LimitRTTIME = default(ulong); + public ulong LimitRTTIME + { + get + { + return _LimitRTTIME; + } + + set + { + _LimitRTTIME = (value); + } + } + + private ulong _LimitRTTIMESoft = default(ulong); + public ulong LimitRTTIMESoft + { + get + { + return _LimitRTTIMESoft; + } + + set + { + _LimitRTTIMESoft = (value); + } + } + + private string _WorkingDirectory = default(string); + public string WorkingDirectory + { + get + { + return _WorkingDirectory; + } + + set + { + _WorkingDirectory = (value); + } + } + + private string _RootDirectory = default(string); + public string RootDirectory + { + get + { + return _RootDirectory; + } + + set + { + _RootDirectory = (value); + } + } + + private string _RootImage = default(string); + public string RootImage + { + get + { + return _RootImage; + } + + set + { + _RootImage = (value); + } + } + + private (string, string)[] _RootImageOptions = default((string, string)[]); + public (string, string)[] RootImageOptions + { + get + { + return _RootImageOptions; + } + + set + { + _RootImageOptions = (value); + } + } + + private byte[] _RootHash = default(byte[]); + public byte[] RootHash + { + get + { + return _RootHash; + } + + set + { + _RootHash = (value); + } + } + + private string _RootHashPath = default(string); + public string RootHashPath + { + get + { + return _RootHashPath; + } + + set + { + _RootHashPath = (value); + } + } + + private byte[] _RootHashSignature = default(byte[]); + public byte[] RootHashSignature + { + get + { + return _RootHashSignature; + } + + set + { + _RootHashSignature = (value); + } + } + + private string _RootHashSignaturePath = default(string); + public string RootHashSignaturePath + { + get + { + return _RootHashSignaturePath; + } + + set + { + _RootHashSignaturePath = (value); + } + } + + private string _RootVerity = default(string); + public string RootVerity + { + get + { + return _RootVerity; + } + + set + { + _RootVerity = (value); + } + } + + private string[] _ExtensionDirectories = default(string[]); + public string[] ExtensionDirectories + { + get + { + return _ExtensionDirectories; + } + + set + { + _ExtensionDirectories = (value); + } + } + + private (string, bool, (string, string)[])[] _ExtensionImages = default((string, bool, (string, string)[])[]); + public (string, bool, (string, string)[])[] ExtensionImages + { + get + { + return _ExtensionImages; + } + + set + { + _ExtensionImages = (value); + } + } + + private (string, string, bool, (string, string)[])[] _MountImages = default((string, string, bool, (string, string)[])[]); + public (string, string, bool, (string, string)[])[] MountImages + { + get + { + return _MountImages; + } + + set + { + _MountImages = (value); + } + } + + private int _OOMScoreAdjust = default(int); + public int OOMScoreAdjust + { + get + { + return _OOMScoreAdjust; + } + + set + { + _OOMScoreAdjust = (value); + } + } + + private ulong _CoredumpFilter = default(ulong); + public ulong CoredumpFilter + { + get + { + return _CoredumpFilter; + } + + set + { + _CoredumpFilter = (value); + } + } + + private int _Nice = default(int); + public int Nice + { + get + { + return _Nice; + } + + set + { + _Nice = (value); + } + } + + private int _IOSchedulingClass = default(int); + public int IOSchedulingClass + { + get + { + return _IOSchedulingClass; + } + + set + { + _IOSchedulingClass = (value); + } + } + + private int _IOSchedulingPriority = default(int); + public int IOSchedulingPriority + { + get + { + return _IOSchedulingPriority; + } + + set + { + _IOSchedulingPriority = (value); + } + } + + private int _CPUSchedulingPolicy = default(int); + public int CPUSchedulingPolicy + { + get + { + return _CPUSchedulingPolicy; + } + + set + { + _CPUSchedulingPolicy = (value); + } + } + + private int _CPUSchedulingPriority = default(int); + public int CPUSchedulingPriority + { + get + { + return _CPUSchedulingPriority; + } + + set + { + _CPUSchedulingPriority = (value); + } + } + + private byte[] _CPUAffinity = default(byte[]); + public byte[] CPUAffinity + { + get + { + return _CPUAffinity; + } + + set + { + _CPUAffinity = (value); + } + } + + private bool _CPUAffinityFromNUMA = default(bool); + public bool CPUAffinityFromNUMA + { + get + { + return _CPUAffinityFromNUMA; + } + + set + { + _CPUAffinityFromNUMA = (value); + } + } + + private int _NUMAPolicy = default(int); + public int NUMAPolicy + { + get + { + return _NUMAPolicy; + } + + set + { + _NUMAPolicy = (value); + } + } + + private byte[] _NUMAMask = default(byte[]); + public byte[] NUMAMask + { + get + { + return _NUMAMask; + } + + set + { + _NUMAMask = (value); + } + } + + private ulong _TimerSlackNSec = default(ulong); + public ulong TimerSlackNSec + { + get + { + return _TimerSlackNSec; + } + + set + { + _TimerSlackNSec = (value); + } + } + + private bool _CPUSchedulingResetOnFork = default(bool); + public bool CPUSchedulingResetOnFork + { + get + { + return _CPUSchedulingResetOnFork; + } + + set + { + _CPUSchedulingResetOnFork = (value); + } + } + + private bool _NonBlocking = default(bool); + public bool NonBlocking + { + get + { + return _NonBlocking; + } + + set + { + _NonBlocking = (value); + } + } + + private string _StandardInput = default(string); + public string StandardInput + { + get + { + return _StandardInput; + } + + set + { + _StandardInput = (value); + } + } + + private string _StandardInputFileDescriptorName = default(string); + public string StandardInputFileDescriptorName + { + get + { + return _StandardInputFileDescriptorName; + } + + set + { + _StandardInputFileDescriptorName = (value); + } + } + + private byte[] _StandardInputData = default(byte[]); + public byte[] StandardInputData + { + get + { + return _StandardInputData; + } + + set + { + _StandardInputData = (value); + } + } + + private string _StandardOutput = default(string); + public string StandardOutput + { + get + { + return _StandardOutput; + } + + set + { + _StandardOutput = (value); + } + } + + private string _StandardOutputFileDescriptorName = default(string); + public string StandardOutputFileDescriptorName + { + get + { + return _StandardOutputFileDescriptorName; + } + + set + { + _StandardOutputFileDescriptorName = (value); + } + } + + private string _StandardError = default(string); + public string StandardError + { + get + { + return _StandardError; + } + + set + { + _StandardError = (value); + } + } + + private string _StandardErrorFileDescriptorName = default(string); + public string StandardErrorFileDescriptorName + { + get + { + return _StandardErrorFileDescriptorName; + } + + set + { + _StandardErrorFileDescriptorName = (value); + } + } + + private string _TTYPath = default(string); + public string TTYPath + { + get + { + return _TTYPath; + } + + set + { + _TTYPath = (value); + } + } + + private bool _TTYReset = default(bool); + public bool TTYReset + { + get + { + return _TTYReset; + } + + set + { + _TTYReset = (value); + } + } + + private bool _TTYVHangup = default(bool); + public bool TTYVHangup + { + get + { + return _TTYVHangup; + } + + set + { + _TTYVHangup = (value); + } + } + + private bool _TTYVTDisallocate = default(bool); + public bool TTYVTDisallocate + { + get + { + return _TTYVTDisallocate; + } + + set + { + _TTYVTDisallocate = (value); + } + } + + private ushort _TTYRows = default(ushort); + public ushort TTYRows + { + get + { + return _TTYRows; + } + + set + { + _TTYRows = (value); + } + } + + private ushort _TTYColumns = default(ushort); + public ushort TTYColumns + { + get + { + return _TTYColumns; + } + + set + { + _TTYColumns = (value); + } + } + + private int _SyslogPriority = default(int); + public int SyslogPriority + { + get + { + return _SyslogPriority; + } + + set + { + _SyslogPriority = (value); + } + } + + private string _SyslogIdentifier = default(string); + public string SyslogIdentifier + { + get + { + return _SyslogIdentifier; + } + + set + { + _SyslogIdentifier = (value); + } + } + + private bool _SyslogLevelPrefix = default(bool); + public bool SyslogLevelPrefix + { + get + { + return _SyslogLevelPrefix; + } + + set + { + _SyslogLevelPrefix = (value); + } + } + + private int _SyslogLevel = default(int); + public int SyslogLevel + { + get + { + return _SyslogLevel; + } + + set + { + _SyslogLevel = (value); + } + } + + private int _SyslogFacility = default(int); + public int SyslogFacility + { + get + { + return _SyslogFacility; + } + + set + { + _SyslogFacility = (value); + } + } + + private int _LogLevelMax = default(int); + public int LogLevelMax + { + get + { + return _LogLevelMax; + } + + set + { + _LogLevelMax = (value); + } + } + + private ulong _LogRateLimitIntervalUSec = default(ulong); + public ulong LogRateLimitIntervalUSec + { + get + { + return _LogRateLimitIntervalUSec; + } + + set + { + _LogRateLimitIntervalUSec = (value); + } + } + + private uint _LogRateLimitBurst = default(uint); + public uint LogRateLimitBurst + { + get + { + return _LogRateLimitBurst; + } + + set + { + _LogRateLimitBurst = (value); + } + } + + private byte[][] _LogExtraFields = default(byte[][]); + public byte[][] LogExtraFields + { + get + { + return _LogExtraFields; + } + + set + { + _LogExtraFields = (value); + } + } + + private string _LogNamespace = default(string); + public string LogNamespace + { + get + { + return _LogNamespace; + } + + set + { + _LogNamespace = (value); + } + } + + private int _SecureBits = default(int); + public int SecureBits + { + get + { + return _SecureBits; + } + + set + { + _SecureBits = (value); + } + } + + private ulong _CapabilityBoundingSet = default(ulong); + public ulong CapabilityBoundingSet + { + get + { + return _CapabilityBoundingSet; + } + + set + { + _CapabilityBoundingSet = (value); + } + } + + private ulong _AmbientCapabilities = default(ulong); + public ulong AmbientCapabilities + { + get + { + return _AmbientCapabilities; + } + + set + { + _AmbientCapabilities = (value); + } + } + + private string _User = default(string); + public string User + { + get + { + return _User; + } + + set + { + _User = (value); + } + } + + private string _Group = default(string); + public string Group + { + get + { + return _Group; + } + + set + { + _Group = (value); + } + } + + private bool _DynamicUser = default(bool); + public bool DynamicUser + { + get + { + return _DynamicUser; + } + + set + { + _DynamicUser = (value); + } + } + + private bool _RemoveIPC = default(bool); + public bool RemoveIPC + { + get + { + return _RemoveIPC; + } + + set + { + _RemoveIPC = (value); + } + } + + private (string, byte[])[] _SetCredential = default((string, byte[])[]); + public (string, byte[])[] SetCredential + { + get + { + return _SetCredential; + } + + set + { + _SetCredential = (value); + } + } + + private (string, byte[])[] _SetCredentialEncrypted = default((string, byte[])[]); + public (string, byte[])[] SetCredentialEncrypted + { + get + { + return _SetCredentialEncrypted; + } + + set + { + _SetCredentialEncrypted = (value); + } + } + + private (string, string)[] _LoadCredential = default((string, string)[]); + public (string, string)[] LoadCredential + { + get + { + return _LoadCredential; + } + + set + { + _LoadCredential = (value); + } + } + + private (string, string)[] _LoadCredentialEncrypted = default((string, string)[]); + public (string, string)[] LoadCredentialEncrypted + { + get + { + return _LoadCredentialEncrypted; + } + + set + { + _LoadCredentialEncrypted = (value); + } + } + + private string[] _SupplementaryGroups = default(string[]); + public string[] SupplementaryGroups + { + get + { + return _SupplementaryGroups; + } + + set + { + _SupplementaryGroups = (value); + } + } + + private string _PAMName = default(string); + public string PAMName + { + get + { + return _PAMName; + } + + set + { + _PAMName = (value); + } + } + + private string[] _ReadWritePaths = default(string[]); + public string[] ReadWritePaths + { + get + { + return _ReadWritePaths; + } + + set + { + _ReadWritePaths = (value); + } + } + + private string[] _ReadOnlyPaths = default(string[]); + public string[] ReadOnlyPaths + { + get + { + return _ReadOnlyPaths; + } + + set + { + _ReadOnlyPaths = (value); + } + } + + private string[] _InaccessiblePaths = default(string[]); + public string[] InaccessiblePaths + { + get + { + return _InaccessiblePaths; + } + + set + { + _InaccessiblePaths = (value); + } + } + + private string[] _ExecPaths = default(string[]); + public string[] ExecPaths + { + get + { + return _ExecPaths; + } + + set + { + _ExecPaths = (value); + } + } + + private string[] _NoExecPaths = default(string[]); + public string[] NoExecPaths + { + get + { + return _NoExecPaths; + } + + set + { + _NoExecPaths = (value); + } + } + + private string[] _ExecSearchPath = default(string[]); + public string[] ExecSearchPath + { + get + { + return _ExecSearchPath; + } + + set + { + _ExecSearchPath = (value); + } + } + + private ulong _MountFlags = default(ulong); + public ulong MountFlags + { + get + { + return _MountFlags; + } + + set + { + _MountFlags = (value); + } + } + + private bool _PrivateTmp = default(bool); + public bool PrivateTmp + { + get + { + return _PrivateTmp; + } + + set + { + _PrivateTmp = (value); + } + } + + private bool _PrivateDevices = default(bool); + public bool PrivateDevices + { + get + { + return _PrivateDevices; + } + + set + { + _PrivateDevices = (value); + } + } + + private bool _ProtectClock = default(bool); + public bool ProtectClock + { + get + { + return _ProtectClock; + } + + set + { + _ProtectClock = (value); + } + } + + private bool _ProtectKernelTunables = default(bool); + public bool ProtectKernelTunables + { + get + { + return _ProtectKernelTunables; + } + + set + { + _ProtectKernelTunables = (value); + } + } + + private bool _ProtectKernelModules = default(bool); + public bool ProtectKernelModules + { + get + { + return _ProtectKernelModules; + } + + set + { + _ProtectKernelModules = (value); + } + } + + private bool _ProtectKernelLogs = default(bool); + public bool ProtectKernelLogs + { + get + { + return _ProtectKernelLogs; + } + + set + { + _ProtectKernelLogs = (value); + } + } + + private bool _ProtectControlGroups = default(bool); + public bool ProtectControlGroups + { + get + { + return _ProtectControlGroups; + } + + set + { + _ProtectControlGroups = (value); + } + } + + private bool _PrivateNetwork = default(bool); + public bool PrivateNetwork + { + get + { + return _PrivateNetwork; + } + + set + { + _PrivateNetwork = (value); + } + } + + private bool _PrivateUsers = default(bool); + public bool PrivateUsers + { + get + { + return _PrivateUsers; + } + + set + { + _PrivateUsers = (value); + } + } + + private bool _PrivateMounts = default(bool); + public bool PrivateMounts + { + get + { + return _PrivateMounts; + } + + set + { + _PrivateMounts = (value); + } + } + + private bool _PrivateIPC = default(bool); + public bool PrivateIPC + { + get + { + return _PrivateIPC; + } + + set + { + _PrivateIPC = (value); + } + } + + private string _ProtectHome = default(string); + public string ProtectHome + { + get + { + return _ProtectHome; + } + + set + { + _ProtectHome = (value); + } + } + + private string _ProtectSystem = default(string); + public string ProtectSystem + { + get + { + return _ProtectSystem; + } + + set + { + _ProtectSystem = (value); + } + } + + private bool _SameProcessGroup = default(bool); + public bool SameProcessGroup + { + get + { + return _SameProcessGroup; + } + + set + { + _SameProcessGroup = (value); + } + } + + private string _UtmpIdentifier = default(string); + public string UtmpIdentifier + { + get + { + return _UtmpIdentifier; + } + + set + { + _UtmpIdentifier = (value); + } + } + + private string _UtmpMode = default(string); + public string UtmpMode + { + get + { + return _UtmpMode; + } + + set + { + _UtmpMode = (value); + } + } + + private (bool, string) _SELinuxContext = default((bool, string)); + public (bool, string) SELinuxContext + { + get + { + return _SELinuxContext; + } + + set + { + _SELinuxContext = (value); + } + } + + private (bool, string) _AppArmorProfile = default((bool, string)); + public (bool, string) AppArmorProfile + { + get + { + return _AppArmorProfile; + } + + set + { + _AppArmorProfile = (value); + } + } + + private (bool, string) _SmackProcessLabel = default((bool, string)); + public (bool, string) SmackProcessLabel + { + get + { + return _SmackProcessLabel; + } + + set + { + _SmackProcessLabel = (value); + } + } + + private bool _IgnoreSIGPIPE = default(bool); + public bool IgnoreSIGPIPE + { + get + { + return _IgnoreSIGPIPE; + } + + set + { + _IgnoreSIGPIPE = (value); + } + } + + private bool _NoNewPrivileges = default(bool); + public bool NoNewPrivileges + { + get + { + return _NoNewPrivileges; + } + + set + { + _NoNewPrivileges = (value); + } + } + + private (bool, string[]) _SystemCallFilter = default((bool, string[])); + public (bool, string[]) SystemCallFilter + { + get + { + return _SystemCallFilter; + } + + set + { + _SystemCallFilter = (value); + } + } + + private string[] _SystemCallArchitectures = default(string[]); + public string[] SystemCallArchitectures + { + get + { + return _SystemCallArchitectures; + } + + set + { + _SystemCallArchitectures = (value); + } + } + + private int _SystemCallErrorNumber = default(int); + public int SystemCallErrorNumber + { + get + { + return _SystemCallErrorNumber; + } + + set + { + _SystemCallErrorNumber = (value); + } + } + + private (bool, string[]) _SystemCallLog = default((bool, string[])); + public (bool, string[]) SystemCallLog + { + get + { + return _SystemCallLog; + } + + set + { + _SystemCallLog = (value); + } + } + + private string _Personality = default(string); + public string Personality + { + get + { + return _Personality; + } + + set + { + _Personality = (value); + } + } + + private bool _LockPersonality = default(bool); + public bool LockPersonality + { + get + { + return _LockPersonality; + } + + set + { + _LockPersonality = (value); + } + } + + private (bool, string[]) _RestrictAddressFamilies = default((bool, string[])); + public (bool, string[]) RestrictAddressFamilies + { + get + { + return _RestrictAddressFamilies; + } + + set + { + _RestrictAddressFamilies = (value); + } + } + + private (string, string, ulong)[] _RuntimeDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] RuntimeDirectorySymlink + { + get + { + return _RuntimeDirectorySymlink; + } + + set + { + _RuntimeDirectorySymlink = (value); + } + } + + private string _RuntimeDirectoryPreserve = default(string); + public string RuntimeDirectoryPreserve + { + get + { + return _RuntimeDirectoryPreserve; + } + + set + { + _RuntimeDirectoryPreserve = (value); + } + } + + private uint _RuntimeDirectoryMode = default(uint); + public uint RuntimeDirectoryMode + { + get + { + return _RuntimeDirectoryMode; + } + + set + { + _RuntimeDirectoryMode = (value); + } + } + + private string[] _RuntimeDirectory = default(string[]); + public string[] RuntimeDirectory + { + get + { + return _RuntimeDirectory; + } + + set + { + _RuntimeDirectory = (value); + } + } + + private (string, string, ulong)[] _StateDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] StateDirectorySymlink + { + get + { + return _StateDirectorySymlink; + } + + set + { + _StateDirectorySymlink = (value); + } + } + + private uint _StateDirectoryMode = default(uint); + public uint StateDirectoryMode + { + get + { + return _StateDirectoryMode; + } + + set + { + _StateDirectoryMode = (value); + } + } + + private string[] _StateDirectory = default(string[]); + public string[] StateDirectory + { + get + { + return _StateDirectory; + } + + set + { + _StateDirectory = (value); + } + } + + private (string, string, ulong)[] _CacheDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] CacheDirectorySymlink + { + get + { + return _CacheDirectorySymlink; + } + + set + { + _CacheDirectorySymlink = (value); + } + } + + private uint _CacheDirectoryMode = default(uint); + public uint CacheDirectoryMode + { + get + { + return _CacheDirectoryMode; + } + + set + { + _CacheDirectoryMode = (value); + } + } + + private string[] _CacheDirectory = default(string[]); + public string[] CacheDirectory + { + get + { + return _CacheDirectory; + } + + set + { + _CacheDirectory = (value); + } + } + + private (string, string, ulong)[] _LogsDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] LogsDirectorySymlink + { + get + { + return _LogsDirectorySymlink; + } + + set + { + _LogsDirectorySymlink = (value); + } + } + + private uint _LogsDirectoryMode = default(uint); + public uint LogsDirectoryMode + { + get + { + return _LogsDirectoryMode; + } + + set + { + _LogsDirectoryMode = (value); + } + } + + private string[] _LogsDirectory = default(string[]); + public string[] LogsDirectory + { + get + { + return _LogsDirectory; + } + + set + { + _LogsDirectory = (value); + } + } + + private uint _ConfigurationDirectoryMode = default(uint); + public uint ConfigurationDirectoryMode + { + get + { + return _ConfigurationDirectoryMode; + } + + set + { + _ConfigurationDirectoryMode = (value); + } + } + + private string[] _ConfigurationDirectory = default(string[]); + public string[] ConfigurationDirectory + { + get + { + return _ConfigurationDirectory; + } + + set + { + _ConfigurationDirectory = (value); + } + } + + private ulong _TimeoutCleanUSec = default(ulong); + public ulong TimeoutCleanUSec + { + get + { + return _TimeoutCleanUSec; + } + + set + { + _TimeoutCleanUSec = (value); + } + } + + private bool _MemoryDenyWriteExecute = default(bool); + public bool MemoryDenyWriteExecute + { + get + { + return _MemoryDenyWriteExecute; + } + + set + { + _MemoryDenyWriteExecute = (value); + } + } + + private bool _RestrictRealtime = default(bool); + public bool RestrictRealtime + { + get + { + return _RestrictRealtime; + } + + set + { + _RestrictRealtime = (value); + } + } + + private bool _RestrictSUIDSGID = default(bool); + public bool RestrictSUIDSGID + { + get + { + return _RestrictSUIDSGID; + } + + set + { + _RestrictSUIDSGID = (value); + } + } + + private ulong _RestrictNamespaces = default(ulong); + public ulong RestrictNamespaces + { + get + { + return _RestrictNamespaces; + } + + set + { + _RestrictNamespaces = (value); + } + } + + private (bool, string[]) _RestrictFileSystems = default((bool, string[])); + public (bool, string[]) RestrictFileSystems + { + get + { + return _RestrictFileSystems; + } + + set + { + _RestrictFileSystems = (value); + } + } + + private (string, string, bool, ulong)[] _BindPaths = default((string, string, bool, ulong)[]); + public (string, string, bool, ulong)[] BindPaths + { + get + { + return _BindPaths; + } + + set + { + _BindPaths = (value); + } + } + + private (string, string, bool, ulong)[] _BindReadOnlyPaths = default((string, string, bool, ulong)[]); + public (string, string, bool, ulong)[] BindReadOnlyPaths + { + get + { + return _BindReadOnlyPaths; + } + + set + { + _BindReadOnlyPaths = (value); + } + } + + private (string, string)[] _TemporaryFileSystem = default((string, string)[]); + public (string, string)[] TemporaryFileSystem + { + get + { + return _TemporaryFileSystem; + } + + set + { + _TemporaryFileSystem = (value); + } + } + + private bool _MountAPIVFS = default(bool); + public bool MountAPIVFS + { + get + { + return _MountAPIVFS; + } + + set + { + _MountAPIVFS = (value); + } + } + + private string _KeyringMode = default(string); + public string KeyringMode + { + get + { + return _KeyringMode; + } + + set + { + _KeyringMode = (value); + } + } + + private string _ProtectProc = default(string); + public string ProtectProc + { + get + { + return _ProtectProc; + } + + set + { + _ProtectProc = (value); + } + } + + private string _ProcSubset = default(string); + public string ProcSubset + { + get + { + return _ProcSubset; + } + + set + { + _ProcSubset = (value); + } + } + + private bool _ProtectHostname = default(bool); + public bool ProtectHostname + { + get + { + return _ProtectHostname; + } + + set + { + _ProtectHostname = (value); + } + } + + private string _NetworkNamespacePath = default(string); + public string NetworkNamespacePath + { + get + { + return _NetworkNamespacePath; + } + + set + { + _NetworkNamespacePath = (value); + } + } + + private string _IPCNamespacePath = default(string); + public string IPCNamespacePath + { + get + { + return _IPCNamespacePath; + } + + set + { + _IPCNamespacePath = (value); + } + } + + private string _KillMode = default(string); + public string KillMode + { + get + { + return _KillMode; + } + + set + { + _KillMode = (value); + } + } + + private int _KillSignal = default(int); + public int KillSignal + { + get + { + return _KillSignal; + } + + set + { + _KillSignal = (value); + } + } + + private int _RestartKillSignal = default(int); + public int RestartKillSignal + { + get + { + return _RestartKillSignal; + } + + set + { + _RestartKillSignal = (value); + } + } + + private int _FinalKillSignal = default(int); + public int FinalKillSignal + { + get + { + return _FinalKillSignal; + } + + set + { + _FinalKillSignal = (value); + } + } + + private bool _SendSIGKILL = default(bool); + public bool SendSIGKILL + { + get + { + return _SendSIGKILL; + } + + set + { + _SendSIGKILL = (value); + } + } + + private bool _SendSIGHUP = default(bool); + public bool SendSIGHUP + { + get + { + return _SendSIGHUP; + } + + set + { + _SendSIGHUP = (value); + } + } + + private int _WatchdogSignal = default(int); + public int WatchdogSignal + { + get + { + return _WatchdogSignal; + } + + set + { + _WatchdogSignal = (value); + } + } + } + + static class MountExtensions + { + public static Task GetWhereAsync(this IMount o) => o.GetAsync("Where"); + public static Task GetWhatAsync(this IMount o) => o.GetAsync("What"); + public static Task GetOptionsAsync(this IMount o) => o.GetAsync("Options"); + public static Task GetTypeAsync(this IMount o) => o.GetAsync("Type"); + public static Task GetTimeoutUSecAsync(this IMount o) => o.GetAsync("TimeoutUSec"); + public static Task GetControlPIDAsync(this IMount o) => o.GetAsync("ControlPID"); + public static Task GetDirectoryModeAsync(this IMount o) => o.GetAsync("DirectoryMode"); + public static Task GetSloppyOptionsAsync(this IMount o) => o.GetAsync("SloppyOptions"); + public static Task GetLazyUnmountAsync(this IMount o) => o.GetAsync("LazyUnmount"); + public static Task GetForceUnmountAsync(this IMount o) => o.GetAsync("ForceUnmount"); + public static Task GetReadWriteOnlyAsync(this IMount o) => o.GetAsync("ReadWriteOnly"); + public static Task GetResultAsync(this IMount o) => o.GetAsync("Result"); + public static Task GetUIDAsync(this IMount o) => o.GetAsync("UID"); + public static Task GetGIDAsync(this IMount o) => o.GetAsync("GID"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecMountAsync(this IMount o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecMount"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecUnmountAsync(this IMount o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecUnmount"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecRemountAsync(this IMount o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecRemount"); + public static Task GetSliceAsync(this IMount o) => o.GetAsync("Slice"); + public static Task GetControlGroupAsync(this IMount o) => o.GetAsync("ControlGroup"); + public static Task GetControlGroupIdAsync(this IMount o) => o.GetAsync("ControlGroupId"); + public static Task GetMemoryCurrentAsync(this IMount o) => o.GetAsync("MemoryCurrent"); + public static Task GetMemoryAvailableAsync(this IMount o) => o.GetAsync("MemoryAvailable"); + public static Task GetCPUUsageNSecAsync(this IMount o) => o.GetAsync("CPUUsageNSec"); + public static Task GetEffectiveCPUsAsync(this IMount o) => o.GetAsync("EffectiveCPUs"); + public static Task GetEffectiveMemoryNodesAsync(this IMount o) => o.GetAsync("EffectiveMemoryNodes"); + public static Task GetTasksCurrentAsync(this IMount o) => o.GetAsync("TasksCurrent"); + public static Task GetIPIngressBytesAsync(this IMount o) => o.GetAsync("IPIngressBytes"); + public static Task GetIPIngressPacketsAsync(this IMount o) => o.GetAsync("IPIngressPackets"); + public static Task GetIPEgressBytesAsync(this IMount o) => o.GetAsync("IPEgressBytes"); + public static Task GetIPEgressPacketsAsync(this IMount o) => o.GetAsync("IPEgressPackets"); + public static Task GetIOReadBytesAsync(this IMount o) => o.GetAsync("IOReadBytes"); + public static Task GetIOReadOperationsAsync(this IMount o) => o.GetAsync("IOReadOperations"); + public static Task GetIOWriteBytesAsync(this IMount o) => o.GetAsync("IOWriteBytes"); + public static Task GetIOWriteOperationsAsync(this IMount o) => o.GetAsync("IOWriteOperations"); + public static Task GetDelegateAsync(this IMount o) => o.GetAsync("Delegate"); + public static Task GetDelegateControllersAsync(this IMount o) => o.GetAsync("DelegateControllers"); + public static Task GetCPUAccountingAsync(this IMount o) => o.GetAsync("CPUAccounting"); + public static Task GetCPUWeightAsync(this IMount o) => o.GetAsync("CPUWeight"); + public static Task GetStartupCPUWeightAsync(this IMount o) => o.GetAsync("StartupCPUWeight"); + public static Task GetCPUSharesAsync(this IMount o) => o.GetAsync("CPUShares"); + public static Task GetStartupCPUSharesAsync(this IMount o) => o.GetAsync("StartupCPUShares"); + public static Task GetCPUQuotaPerSecUSecAsync(this IMount o) => o.GetAsync("CPUQuotaPerSecUSec"); + public static Task GetCPUQuotaPeriodUSecAsync(this IMount o) => o.GetAsync("CPUQuotaPeriodUSec"); + public static Task GetAllowedCPUsAsync(this IMount o) => o.GetAsync("AllowedCPUs"); + public static Task GetStartupAllowedCPUsAsync(this IMount o) => o.GetAsync("StartupAllowedCPUs"); + public static Task GetAllowedMemoryNodesAsync(this IMount o) => o.GetAsync("AllowedMemoryNodes"); + public static Task GetStartupAllowedMemoryNodesAsync(this IMount o) => o.GetAsync("StartupAllowedMemoryNodes"); + public static Task GetIOAccountingAsync(this IMount o) => o.GetAsync("IOAccounting"); + public static Task GetIOWeightAsync(this IMount o) => o.GetAsync("IOWeight"); + public static Task GetStartupIOWeightAsync(this IMount o) => o.GetAsync("StartupIOWeight"); + public static Task<(string, ulong)[]> GetIODeviceWeightAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("IODeviceWeight"); + public static Task<(string, ulong)[]> GetIOReadBandwidthMaxAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("IOReadBandwidthMax"); + public static Task<(string, ulong)[]> GetIOWriteBandwidthMaxAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("IOWriteBandwidthMax"); + public static Task<(string, ulong)[]> GetIOReadIOPSMaxAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("IOReadIOPSMax"); + public static Task<(string, ulong)[]> GetIOWriteIOPSMaxAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("IOWriteIOPSMax"); + public static Task<(string, ulong)[]> GetIODeviceLatencyTargetUSecAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("IODeviceLatencyTargetUSec"); + public static Task GetBlockIOAccountingAsync(this IMount o) => o.GetAsync("BlockIOAccounting"); + public static Task GetBlockIOWeightAsync(this IMount o) => o.GetAsync("BlockIOWeight"); + public static Task GetStartupBlockIOWeightAsync(this IMount o) => o.GetAsync("StartupBlockIOWeight"); + public static Task<(string, ulong)[]> GetBlockIODeviceWeightAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("BlockIODeviceWeight"); + public static Task<(string, ulong)[]> GetBlockIOReadBandwidthAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("BlockIOReadBandwidth"); + public static Task<(string, ulong)[]> GetBlockIOWriteBandwidthAsync(this IMount o) => o.GetAsync<(string, ulong)[]>("BlockIOWriteBandwidth"); + public static Task GetMemoryAccountingAsync(this IMount o) => o.GetAsync("MemoryAccounting"); + public static Task GetDefaultMemoryLowAsync(this IMount o) => o.GetAsync("DefaultMemoryLow"); + public static Task GetDefaultMemoryMinAsync(this IMount o) => o.GetAsync("DefaultMemoryMin"); + public static Task GetMemoryMinAsync(this IMount o) => o.GetAsync("MemoryMin"); + public static Task GetMemoryLowAsync(this IMount o) => o.GetAsync("MemoryLow"); + public static Task GetMemoryHighAsync(this IMount o) => o.GetAsync("MemoryHigh"); + public static Task GetMemoryMaxAsync(this IMount o) => o.GetAsync("MemoryMax"); + public static Task GetMemorySwapMaxAsync(this IMount o) => o.GetAsync("MemorySwapMax"); + public static Task GetMemoryLimitAsync(this IMount o) => o.GetAsync("MemoryLimit"); + public static Task GetDevicePolicyAsync(this IMount o) => o.GetAsync("DevicePolicy"); + public static Task<(string, string)[]> GetDeviceAllowAsync(this IMount o) => o.GetAsync<(string, string)[]>("DeviceAllow"); + public static Task GetTasksAccountingAsync(this IMount o) => o.GetAsync("TasksAccounting"); + public static Task GetTasksMaxAsync(this IMount o) => o.GetAsync("TasksMax"); + public static Task GetIPAccountingAsync(this IMount o) => o.GetAsync("IPAccounting"); + public static Task<(int, byte[], uint)[]> GetIPAddressAllowAsync(this IMount o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressAllow"); + public static Task<(int, byte[], uint)[]> GetIPAddressDenyAsync(this IMount o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressDeny"); + public static Task GetIPIngressFilterPathAsync(this IMount o) => o.GetAsync("IPIngressFilterPath"); + public static Task GetIPEgressFilterPathAsync(this IMount o) => o.GetAsync("IPEgressFilterPath"); + public static Task GetDisableControllersAsync(this IMount o) => o.GetAsync("DisableControllers"); + public static Task GetManagedOOMSwapAsync(this IMount o) => o.GetAsync("ManagedOOMSwap"); + public static Task GetManagedOOMMemoryPressureAsync(this IMount o) => o.GetAsync("ManagedOOMMemoryPressure"); + public static Task GetManagedOOMMemoryPressureLimitAsync(this IMount o) => o.GetAsync("ManagedOOMMemoryPressureLimit"); + public static Task GetManagedOOMPreferenceAsync(this IMount o) => o.GetAsync("ManagedOOMPreference"); + public static Task<(string, string)[]> GetBPFProgramAsync(this IMount o) => o.GetAsync<(string, string)[]>("BPFProgram"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindAllowAsync(this IMount o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindAllow"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindDenyAsync(this IMount o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindDeny"); + public static Task<(bool, string[])> GetRestrictNetworkInterfacesAsync(this IMount o) => o.GetAsync<(bool, string[])>("RestrictNetworkInterfaces"); + public static Task GetEnvironmentAsync(this IMount o) => o.GetAsync("Environment"); + public static Task<(string, bool)[]> GetEnvironmentFilesAsync(this IMount o) => o.GetAsync<(string, bool)[]>("EnvironmentFiles"); + public static Task GetPassEnvironmentAsync(this IMount o) => o.GetAsync("PassEnvironment"); + public static Task GetUnsetEnvironmentAsync(this IMount o) => o.GetAsync("UnsetEnvironment"); + public static Task GetUMaskAsync(this IMount o) => o.GetAsync("UMask"); + public static Task GetLimitCPUAsync(this IMount o) => o.GetAsync("LimitCPU"); + public static Task GetLimitCPUSoftAsync(this IMount o) => o.GetAsync("LimitCPUSoft"); + public static Task GetLimitFSIZEAsync(this IMount o) => o.GetAsync("LimitFSIZE"); + public static Task GetLimitFSIZESoftAsync(this IMount o) => o.GetAsync("LimitFSIZESoft"); + public static Task GetLimitDATAAsync(this IMount o) => o.GetAsync("LimitDATA"); + public static Task GetLimitDATASoftAsync(this IMount o) => o.GetAsync("LimitDATASoft"); + public static Task GetLimitSTACKAsync(this IMount o) => o.GetAsync("LimitSTACK"); + public static Task GetLimitSTACKSoftAsync(this IMount o) => o.GetAsync("LimitSTACKSoft"); + public static Task GetLimitCOREAsync(this IMount o) => o.GetAsync("LimitCORE"); + public static Task GetLimitCORESoftAsync(this IMount o) => o.GetAsync("LimitCORESoft"); + public static Task GetLimitRSSAsync(this IMount o) => o.GetAsync("LimitRSS"); + public static Task GetLimitRSSSoftAsync(this IMount o) => o.GetAsync("LimitRSSSoft"); + public static Task GetLimitNOFILEAsync(this IMount o) => o.GetAsync("LimitNOFILE"); + public static Task GetLimitNOFILESoftAsync(this IMount o) => o.GetAsync("LimitNOFILESoft"); + public static Task GetLimitASAsync(this IMount o) => o.GetAsync("LimitAS"); + public static Task GetLimitASSoftAsync(this IMount o) => o.GetAsync("LimitASSoft"); + public static Task GetLimitNPROCAsync(this IMount o) => o.GetAsync("LimitNPROC"); + public static Task GetLimitNPROCSoftAsync(this IMount o) => o.GetAsync("LimitNPROCSoft"); + public static Task GetLimitMEMLOCKAsync(this IMount o) => o.GetAsync("LimitMEMLOCK"); + public static Task GetLimitMEMLOCKSoftAsync(this IMount o) => o.GetAsync("LimitMEMLOCKSoft"); + public static Task GetLimitLOCKSAsync(this IMount o) => o.GetAsync("LimitLOCKS"); + public static Task GetLimitLOCKSSoftAsync(this IMount o) => o.GetAsync("LimitLOCKSSoft"); + public static Task GetLimitSIGPENDINGAsync(this IMount o) => o.GetAsync("LimitSIGPENDING"); + public static Task GetLimitSIGPENDINGSoftAsync(this IMount o) => o.GetAsync("LimitSIGPENDINGSoft"); + public static Task GetLimitMSGQUEUEAsync(this IMount o) => o.GetAsync("LimitMSGQUEUE"); + public static Task GetLimitMSGQUEUESoftAsync(this IMount o) => o.GetAsync("LimitMSGQUEUESoft"); + public static Task GetLimitNICEAsync(this IMount o) => o.GetAsync("LimitNICE"); + public static Task GetLimitNICESoftAsync(this IMount o) => o.GetAsync("LimitNICESoft"); + public static Task GetLimitRTPRIOAsync(this IMount o) => o.GetAsync("LimitRTPRIO"); + public static Task GetLimitRTPRIOSoftAsync(this IMount o) => o.GetAsync("LimitRTPRIOSoft"); + public static Task GetLimitRTTIMEAsync(this IMount o) => o.GetAsync("LimitRTTIME"); + public static Task GetLimitRTTIMESoftAsync(this IMount o) => o.GetAsync("LimitRTTIMESoft"); + public static Task GetWorkingDirectoryAsync(this IMount o) => o.GetAsync("WorkingDirectory"); + public static Task GetRootDirectoryAsync(this IMount o) => o.GetAsync("RootDirectory"); + public static Task GetRootImageAsync(this IMount o) => o.GetAsync("RootImage"); + public static Task<(string, string)[]> GetRootImageOptionsAsync(this IMount o) => o.GetAsync<(string, string)[]>("RootImageOptions"); + public static Task GetRootHashAsync(this IMount o) => o.GetAsync("RootHash"); + public static Task GetRootHashPathAsync(this IMount o) => o.GetAsync("RootHashPath"); + public static Task GetRootHashSignatureAsync(this IMount o) => o.GetAsync("RootHashSignature"); + public static Task GetRootHashSignaturePathAsync(this IMount o) => o.GetAsync("RootHashSignaturePath"); + public static Task GetRootVerityAsync(this IMount o) => o.GetAsync("RootVerity"); + public static Task GetExtensionDirectoriesAsync(this IMount o) => o.GetAsync("ExtensionDirectories"); + public static Task<(string, bool, (string, string)[])[]> GetExtensionImagesAsync(this IMount o) => o.GetAsync<(string, bool, (string, string)[])[]>("ExtensionImages"); + public static Task<(string, string, bool, (string, string)[])[]> GetMountImagesAsync(this IMount o) => o.GetAsync<(string, string, bool, (string, string)[])[]>("MountImages"); + public static Task GetOOMScoreAdjustAsync(this IMount o) => o.GetAsync("OOMScoreAdjust"); + public static Task GetCoredumpFilterAsync(this IMount o) => o.GetAsync("CoredumpFilter"); + public static Task GetNiceAsync(this IMount o) => o.GetAsync("Nice"); + public static Task GetIOSchedulingClassAsync(this IMount o) => o.GetAsync("IOSchedulingClass"); + public static Task GetIOSchedulingPriorityAsync(this IMount o) => o.GetAsync("IOSchedulingPriority"); + public static Task GetCPUSchedulingPolicyAsync(this IMount o) => o.GetAsync("CPUSchedulingPolicy"); + public static Task GetCPUSchedulingPriorityAsync(this IMount o) => o.GetAsync("CPUSchedulingPriority"); + public static Task GetCPUAffinityAsync(this IMount o) => o.GetAsync("CPUAffinity"); + public static Task GetCPUAffinityFromNUMAAsync(this IMount o) => o.GetAsync("CPUAffinityFromNUMA"); + public static Task GetNUMAPolicyAsync(this IMount o) => o.GetAsync("NUMAPolicy"); + public static Task GetNUMAMaskAsync(this IMount o) => o.GetAsync("NUMAMask"); + public static Task GetTimerSlackNSecAsync(this IMount o) => o.GetAsync("TimerSlackNSec"); + public static Task GetCPUSchedulingResetOnForkAsync(this IMount o) => o.GetAsync("CPUSchedulingResetOnFork"); + public static Task GetNonBlockingAsync(this IMount o) => o.GetAsync("NonBlocking"); + public static Task GetStandardInputAsync(this IMount o) => o.GetAsync("StandardInput"); + public static Task GetStandardInputFileDescriptorNameAsync(this IMount o) => o.GetAsync("StandardInputFileDescriptorName"); + public static Task GetStandardInputDataAsync(this IMount o) => o.GetAsync("StandardInputData"); + public static Task GetStandardOutputAsync(this IMount o) => o.GetAsync("StandardOutput"); + public static Task GetStandardOutputFileDescriptorNameAsync(this IMount o) => o.GetAsync("StandardOutputFileDescriptorName"); + public static Task GetStandardErrorAsync(this IMount o) => o.GetAsync("StandardError"); + public static Task GetStandardErrorFileDescriptorNameAsync(this IMount o) => o.GetAsync("StandardErrorFileDescriptorName"); + public static Task GetTTYPathAsync(this IMount o) => o.GetAsync("TTYPath"); + public static Task GetTTYResetAsync(this IMount o) => o.GetAsync("TTYReset"); + public static Task GetTTYVHangupAsync(this IMount o) => o.GetAsync("TTYVHangup"); + public static Task GetTTYVTDisallocateAsync(this IMount o) => o.GetAsync("TTYVTDisallocate"); + public static Task GetTTYRowsAsync(this IMount o) => o.GetAsync("TTYRows"); + public static Task GetTTYColumnsAsync(this IMount o) => o.GetAsync("TTYColumns"); + public static Task GetSyslogPriorityAsync(this IMount o) => o.GetAsync("SyslogPriority"); + public static Task GetSyslogIdentifierAsync(this IMount o) => o.GetAsync("SyslogIdentifier"); + public static Task GetSyslogLevelPrefixAsync(this IMount o) => o.GetAsync("SyslogLevelPrefix"); + public static Task GetSyslogLevelAsync(this IMount o) => o.GetAsync("SyslogLevel"); + public static Task GetSyslogFacilityAsync(this IMount o) => o.GetAsync("SyslogFacility"); + public static Task GetLogLevelMaxAsync(this IMount o) => o.GetAsync("LogLevelMax"); + public static Task GetLogRateLimitIntervalUSecAsync(this IMount o) => o.GetAsync("LogRateLimitIntervalUSec"); + public static Task GetLogRateLimitBurstAsync(this IMount o) => o.GetAsync("LogRateLimitBurst"); + public static Task GetLogExtraFieldsAsync(this IMount o) => o.GetAsync("LogExtraFields"); + public static Task GetLogNamespaceAsync(this IMount o) => o.GetAsync("LogNamespace"); + public static Task GetSecureBitsAsync(this IMount o) => o.GetAsync("SecureBits"); + public static Task GetCapabilityBoundingSetAsync(this IMount o) => o.GetAsync("CapabilityBoundingSet"); + public static Task GetAmbientCapabilitiesAsync(this IMount o) => o.GetAsync("AmbientCapabilities"); + public static Task GetUserAsync(this IMount o) => o.GetAsync("User"); + public static Task GetGroupAsync(this IMount o) => o.GetAsync("Group"); + public static Task GetDynamicUserAsync(this IMount o) => o.GetAsync("DynamicUser"); + public static Task GetRemoveIPCAsync(this IMount o) => o.GetAsync("RemoveIPC"); + public static Task<(string, byte[])[]> GetSetCredentialAsync(this IMount o) => o.GetAsync<(string, byte[])[]>("SetCredential"); + public static Task<(string, byte[])[]> GetSetCredentialEncryptedAsync(this IMount o) => o.GetAsync<(string, byte[])[]>("SetCredentialEncrypted"); + public static Task<(string, string)[]> GetLoadCredentialAsync(this IMount o) => o.GetAsync<(string, string)[]>("LoadCredential"); + public static Task<(string, string)[]> GetLoadCredentialEncryptedAsync(this IMount o) => o.GetAsync<(string, string)[]>("LoadCredentialEncrypted"); + public static Task GetSupplementaryGroupsAsync(this IMount o) => o.GetAsync("SupplementaryGroups"); + public static Task GetPAMNameAsync(this IMount o) => o.GetAsync("PAMName"); + public static Task GetReadWritePathsAsync(this IMount o) => o.GetAsync("ReadWritePaths"); + public static Task GetReadOnlyPathsAsync(this IMount o) => o.GetAsync("ReadOnlyPaths"); + public static Task GetInaccessiblePathsAsync(this IMount o) => o.GetAsync("InaccessiblePaths"); + public static Task GetExecPathsAsync(this IMount o) => o.GetAsync("ExecPaths"); + public static Task GetNoExecPathsAsync(this IMount o) => o.GetAsync("NoExecPaths"); + public static Task GetExecSearchPathAsync(this IMount o) => o.GetAsync("ExecSearchPath"); + public static Task GetMountFlagsAsync(this IMount o) => o.GetAsync("MountFlags"); + public static Task GetPrivateTmpAsync(this IMount o) => o.GetAsync("PrivateTmp"); + public static Task GetPrivateDevicesAsync(this IMount o) => o.GetAsync("PrivateDevices"); + public static Task GetProtectClockAsync(this IMount o) => o.GetAsync("ProtectClock"); + public static Task GetProtectKernelTunablesAsync(this IMount o) => o.GetAsync("ProtectKernelTunables"); + public static Task GetProtectKernelModulesAsync(this IMount o) => o.GetAsync("ProtectKernelModules"); + public static Task GetProtectKernelLogsAsync(this IMount o) => o.GetAsync("ProtectKernelLogs"); + public static Task GetProtectControlGroupsAsync(this IMount o) => o.GetAsync("ProtectControlGroups"); + public static Task GetPrivateNetworkAsync(this IMount o) => o.GetAsync("PrivateNetwork"); + public static Task GetPrivateUsersAsync(this IMount o) => o.GetAsync("PrivateUsers"); + public static Task GetPrivateMountsAsync(this IMount o) => o.GetAsync("PrivateMounts"); + public static Task GetPrivateIPCAsync(this IMount o) => o.GetAsync("PrivateIPC"); + public static Task GetProtectHomeAsync(this IMount o) => o.GetAsync("ProtectHome"); + public static Task GetProtectSystemAsync(this IMount o) => o.GetAsync("ProtectSystem"); + public static Task GetSameProcessGroupAsync(this IMount o) => o.GetAsync("SameProcessGroup"); + public static Task GetUtmpIdentifierAsync(this IMount o) => o.GetAsync("UtmpIdentifier"); + public static Task GetUtmpModeAsync(this IMount o) => o.GetAsync("UtmpMode"); + public static Task<(bool, string)> GetSELinuxContextAsync(this IMount o) => o.GetAsync<(bool, string)>("SELinuxContext"); + public static Task<(bool, string)> GetAppArmorProfileAsync(this IMount o) => o.GetAsync<(bool, string)>("AppArmorProfile"); + public static Task<(bool, string)> GetSmackProcessLabelAsync(this IMount o) => o.GetAsync<(bool, string)>("SmackProcessLabel"); + public static Task GetIgnoreSIGPIPEAsync(this IMount o) => o.GetAsync("IgnoreSIGPIPE"); + public static Task GetNoNewPrivilegesAsync(this IMount o) => o.GetAsync("NoNewPrivileges"); + public static Task<(bool, string[])> GetSystemCallFilterAsync(this IMount o) => o.GetAsync<(bool, string[])>("SystemCallFilter"); + public static Task GetSystemCallArchitecturesAsync(this IMount o) => o.GetAsync("SystemCallArchitectures"); + public static Task GetSystemCallErrorNumberAsync(this IMount o) => o.GetAsync("SystemCallErrorNumber"); + public static Task<(bool, string[])> GetSystemCallLogAsync(this IMount o) => o.GetAsync<(bool, string[])>("SystemCallLog"); + public static Task GetPersonalityAsync(this IMount o) => o.GetAsync("Personality"); + public static Task GetLockPersonalityAsync(this IMount o) => o.GetAsync("LockPersonality"); + public static Task<(bool, string[])> GetRestrictAddressFamiliesAsync(this IMount o) => o.GetAsync<(bool, string[])>("RestrictAddressFamilies"); + public static Task<(string, string, ulong)[]> GetRuntimeDirectorySymlinkAsync(this IMount o) => o.GetAsync<(string, string, ulong)[]>("RuntimeDirectorySymlink"); + public static Task GetRuntimeDirectoryPreserveAsync(this IMount o) => o.GetAsync("RuntimeDirectoryPreserve"); + public static Task GetRuntimeDirectoryModeAsync(this IMount o) => o.GetAsync("RuntimeDirectoryMode"); + public static Task GetRuntimeDirectoryAsync(this IMount o) => o.GetAsync("RuntimeDirectory"); + public static Task<(string, string, ulong)[]> GetStateDirectorySymlinkAsync(this IMount o) => o.GetAsync<(string, string, ulong)[]>("StateDirectorySymlink"); + public static Task GetStateDirectoryModeAsync(this IMount o) => o.GetAsync("StateDirectoryMode"); + public static Task GetStateDirectoryAsync(this IMount o) => o.GetAsync("StateDirectory"); + public static Task<(string, string, ulong)[]> GetCacheDirectorySymlinkAsync(this IMount o) => o.GetAsync<(string, string, ulong)[]>("CacheDirectorySymlink"); + public static Task GetCacheDirectoryModeAsync(this IMount o) => o.GetAsync("CacheDirectoryMode"); + public static Task GetCacheDirectoryAsync(this IMount o) => o.GetAsync("CacheDirectory"); + public static Task<(string, string, ulong)[]> GetLogsDirectorySymlinkAsync(this IMount o) => o.GetAsync<(string, string, ulong)[]>("LogsDirectorySymlink"); + public static Task GetLogsDirectoryModeAsync(this IMount o) => o.GetAsync("LogsDirectoryMode"); + public static Task GetLogsDirectoryAsync(this IMount o) => o.GetAsync("LogsDirectory"); + public static Task GetConfigurationDirectoryModeAsync(this IMount o) => o.GetAsync("ConfigurationDirectoryMode"); + public static Task GetConfigurationDirectoryAsync(this IMount o) => o.GetAsync("ConfigurationDirectory"); + public static Task GetTimeoutCleanUSecAsync(this IMount o) => o.GetAsync("TimeoutCleanUSec"); + public static Task GetMemoryDenyWriteExecuteAsync(this IMount o) => o.GetAsync("MemoryDenyWriteExecute"); + public static Task GetRestrictRealtimeAsync(this IMount o) => o.GetAsync("RestrictRealtime"); + public static Task GetRestrictSUIDSGIDAsync(this IMount o) => o.GetAsync("RestrictSUIDSGID"); + public static Task GetRestrictNamespacesAsync(this IMount o) => o.GetAsync("RestrictNamespaces"); + public static Task<(bool, string[])> GetRestrictFileSystemsAsync(this IMount o) => o.GetAsync<(bool, string[])>("RestrictFileSystems"); + public static Task<(string, string, bool, ulong)[]> GetBindPathsAsync(this IMount o) => o.GetAsync<(string, string, bool, ulong)[]>("BindPaths"); + public static Task<(string, string, bool, ulong)[]> GetBindReadOnlyPathsAsync(this IMount o) => o.GetAsync<(string, string, bool, ulong)[]>("BindReadOnlyPaths"); + public static Task<(string, string)[]> GetTemporaryFileSystemAsync(this IMount o) => o.GetAsync<(string, string)[]>("TemporaryFileSystem"); + public static Task GetMountAPIVFSAsync(this IMount o) => o.GetAsync("MountAPIVFS"); + public static Task GetKeyringModeAsync(this IMount o) => o.GetAsync("KeyringMode"); + public static Task GetProtectProcAsync(this IMount o) => o.GetAsync("ProtectProc"); + public static Task GetProcSubsetAsync(this IMount o) => o.GetAsync("ProcSubset"); + public static Task GetProtectHostnameAsync(this IMount o) => o.GetAsync("ProtectHostname"); + public static Task GetNetworkNamespacePathAsync(this IMount o) => o.GetAsync("NetworkNamespacePath"); + public static Task GetIPCNamespacePathAsync(this IMount o) => o.GetAsync("IPCNamespacePath"); + public static Task GetKillModeAsync(this IMount o) => o.GetAsync("KillMode"); + public static Task GetKillSignalAsync(this IMount o) => o.GetAsync("KillSignal"); + public static Task GetRestartKillSignalAsync(this IMount o) => o.GetAsync("RestartKillSignal"); + public static Task GetFinalKillSignalAsync(this IMount o) => o.GetAsync("FinalKillSignal"); + public static Task GetSendSIGKILLAsync(this IMount o) => o.GetAsync("SendSIGKILL"); + public static Task GetSendSIGHUPAsync(this IMount o) => o.GetAsync("SendSIGHUP"); + public static Task GetWatchdogSignalAsync(this IMount o) => o.GetAsync("WatchdogSignal"); + } + + [DBusInterface("org.freedesktop.systemd1.Socket")] + interface ISocket : IDBusObject + { + Task<(string, uint, string)[]> GetProcessesAsync(); + Task AttachProcessesAsync(string Subcgroup, uint[] Pids); + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class SocketProperties + { + private string _BindIPv6Only = default(string); + public string BindIPv6Only + { + get + { + return _BindIPv6Only; + } + + set + { + _BindIPv6Only = (value); + } + } + + private uint _Backlog = default(uint); + public uint Backlog + { + get + { + return _Backlog; + } + + set + { + _Backlog = (value); + } + } + + private ulong _TimeoutUSec = default(ulong); + public ulong TimeoutUSec + { + get + { + return _TimeoutUSec; + } + + set + { + _TimeoutUSec = (value); + } + } + + private string _BindToDevice = default(string); + public string BindToDevice + { + get + { + return _BindToDevice; + } + + set + { + _BindToDevice = (value); + } + } + + private string _SocketUser = default(string); + public string SocketUser + { + get + { + return _SocketUser; + } + + set + { + _SocketUser = (value); + } + } + + private string _SocketGroup = default(string); + public string SocketGroup + { + get + { + return _SocketGroup; + } + + set + { + _SocketGroup = (value); + } + } + + private uint _SocketMode = default(uint); + public uint SocketMode + { + get + { + return _SocketMode; + } + + set + { + _SocketMode = (value); + } + } + + private uint _DirectoryMode = default(uint); + public uint DirectoryMode + { + get + { + return _DirectoryMode; + } + + set + { + _DirectoryMode = (value); + } + } + + private bool _Accept = default(bool); + public bool Accept + { + get + { + return _Accept; + } + + set + { + _Accept = (value); + } + } + + private bool _FlushPending = default(bool); + public bool FlushPending + { + get + { + return _FlushPending; + } + + set + { + _FlushPending = (value); + } + } + + private bool _Writable = default(bool); + public bool Writable + { + get + { + return _Writable; + } + + set + { + _Writable = (value); + } + } + + private bool _KeepAlive = default(bool); + public bool KeepAlive + { + get + { + return _KeepAlive; + } + + set + { + _KeepAlive = (value); + } + } + + private ulong _KeepAliveTimeUSec = default(ulong); + public ulong KeepAliveTimeUSec + { + get + { + return _KeepAliveTimeUSec; + } + + set + { + _KeepAliveTimeUSec = (value); + } + } + + private ulong _KeepAliveIntervalUSec = default(ulong); + public ulong KeepAliveIntervalUSec + { + get + { + return _KeepAliveIntervalUSec; + } + + set + { + _KeepAliveIntervalUSec = (value); + } + } + + private uint _KeepAliveProbes = default(uint); + public uint KeepAliveProbes + { + get + { + return _KeepAliveProbes; + } + + set + { + _KeepAliveProbes = (value); + } + } + + private ulong _DeferAcceptUSec = default(ulong); + public ulong DeferAcceptUSec + { + get + { + return _DeferAcceptUSec; + } + + set + { + _DeferAcceptUSec = (value); + } + } + + private bool _NoDelay = default(bool); + public bool NoDelay + { + get + { + return _NoDelay; + } + + set + { + _NoDelay = (value); + } + } + + private int _Priority = default(int); + public int Priority + { + get + { + return _Priority; + } + + set + { + _Priority = (value); + } + } + + private ulong _ReceiveBuffer = default(ulong); + public ulong ReceiveBuffer + { + get + { + return _ReceiveBuffer; + } + + set + { + _ReceiveBuffer = (value); + } + } + + private ulong _SendBuffer = default(ulong); + public ulong SendBuffer + { + get + { + return _SendBuffer; + } + + set + { + _SendBuffer = (value); + } + } + + private int _IPTOS = default(int); + public int IPTOS + { + get + { + return _IPTOS; + } + + set + { + _IPTOS = (value); + } + } + + private int _IPTTL = default(int); + public int IPTTL + { + get + { + return _IPTTL; + } + + set + { + _IPTTL = (value); + } + } + + private ulong _PipeSize = default(ulong); + public ulong PipeSize + { + get + { + return _PipeSize; + } + + set + { + _PipeSize = (value); + } + } + + private bool _FreeBind = default(bool); + public bool FreeBind + { + get + { + return _FreeBind; + } + + set + { + _FreeBind = (value); + } + } + + private bool _Transparent = default(bool); + public bool Transparent + { + get + { + return _Transparent; + } + + set + { + _Transparent = (value); + } + } + + private bool _Broadcast = default(bool); + public bool Broadcast + { + get + { + return _Broadcast; + } + + set + { + _Broadcast = (value); + } + } + + private bool _PassCredentials = default(bool); + public bool PassCredentials + { + get + { + return _PassCredentials; + } + + set + { + _PassCredentials = (value); + } + } + + private bool _PassSecurity = default(bool); + public bool PassSecurity + { + get + { + return _PassSecurity; + } + + set + { + _PassSecurity = (value); + } + } + + private bool _PassPacketInfo = default(bool); + public bool PassPacketInfo + { + get + { + return _PassPacketInfo; + } + + set + { + _PassPacketInfo = (value); + } + } + + private string _Timestamping = default(string); + public string Timestamping + { + get + { + return _Timestamping; + } + + set + { + _Timestamping = (value); + } + } + + private bool _RemoveOnStop = default(bool); + public bool RemoveOnStop + { + get + { + return _RemoveOnStop; + } + + set + { + _RemoveOnStop = (value); + } + } + + private (string, string)[] _Listen = default((string, string)[]); + public (string, string)[] Listen + { + get + { + return _Listen; + } + + set + { + _Listen = (value); + } + } + + private string[] _Symlinks = default(string[]); + public string[] Symlinks + { + get + { + return _Symlinks; + } + + set + { + _Symlinks = (value); + } + } + + private int _Mark = default(int); + public int Mark + { + get + { + return _Mark; + } + + set + { + _Mark = (value); + } + } + + private uint _MaxConnections = default(uint); + public uint MaxConnections + { + get + { + return _MaxConnections; + } + + set + { + _MaxConnections = (value); + } + } + + private uint _MaxConnectionsPerSource = default(uint); + public uint MaxConnectionsPerSource + { + get + { + return _MaxConnectionsPerSource; + } + + set + { + _MaxConnectionsPerSource = (value); + } + } + + private long _MessageQueueMaxMessages = default(long); + public long MessageQueueMaxMessages + { + get + { + return _MessageQueueMaxMessages; + } + + set + { + _MessageQueueMaxMessages = (value); + } + } + + private long _MessageQueueMessageSize = default(long); + public long MessageQueueMessageSize + { + get + { + return _MessageQueueMessageSize; + } + + set + { + _MessageQueueMessageSize = (value); + } + } + + private string _TCPCongestion = default(string); + public string TCPCongestion + { + get + { + return _TCPCongestion; + } + + set + { + _TCPCongestion = (value); + } + } + + private bool _ReusePort = default(bool); + public bool ReusePort + { + get + { + return _ReusePort; + } + + set + { + _ReusePort = (value); + } + } + + private string _SmackLabel = default(string); + public string SmackLabel + { + get + { + return _SmackLabel; + } + + set + { + _SmackLabel = (value); + } + } + + private string _SmackLabelIPIn = default(string); + public string SmackLabelIPIn + { + get + { + return _SmackLabelIPIn; + } + + set + { + _SmackLabelIPIn = (value); + } + } + + private string _SmackLabelIPOut = default(string); + public string SmackLabelIPOut + { + get + { + return _SmackLabelIPOut; + } + + set + { + _SmackLabelIPOut = (value); + } + } + + private uint _ControlPID = default(uint); + public uint ControlPID + { + get + { + return _ControlPID; + } + + set + { + _ControlPID = (value); + } + } + + private string _Result = default(string); + public string Result + { + get + { + return _Result; + } + + set + { + _Result = (value); + } + } + + private uint _NConnections = default(uint); + public uint NConnections + { + get + { + return _NConnections; + } + + set + { + _NConnections = (value); + } + } + + private uint _NAccepted = default(uint); + public uint NAccepted + { + get + { + return _NAccepted; + } + + set + { + _NAccepted = (value); + } + } + + private uint _NRefused = default(uint); + public uint NRefused + { + get + { + return _NRefused; + } + + set + { + _NRefused = (value); + } + } + + private string _FileDescriptorName = default(string); + public string FileDescriptorName + { + get + { + return _FileDescriptorName; + } + + set + { + _FileDescriptorName = (value); + } + } + + private int _SocketProtocol = default(int); + public int SocketProtocol + { + get + { + return _SocketProtocol; + } + + set + { + _SocketProtocol = (value); + } + } + + private ulong _TriggerLimitIntervalUSec = default(ulong); + public ulong TriggerLimitIntervalUSec + { + get + { + return _TriggerLimitIntervalUSec; + } + + set + { + _TriggerLimitIntervalUSec = (value); + } + } + + private uint _TriggerLimitBurst = default(uint); + public uint TriggerLimitBurst + { + get + { + return _TriggerLimitBurst; + } + + set + { + _TriggerLimitBurst = (value); + } + } + + private uint _UID = default(uint); + public uint UID + { + get + { + return _UID; + } + + set + { + _UID = (value); + } + } + + private uint _GID = default(uint); + public uint GID + { + get + { + return _GID; + } + + set + { + _GID = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStartPre = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStartPre + { + get + { + return _ExecStartPre; + } + + set + { + _ExecStartPre = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStartPost = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStartPost + { + get + { + return _ExecStartPost; + } + + set + { + _ExecStartPost = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStopPre = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStopPre + { + get + { + return _ExecStopPre; + } + + set + { + _ExecStopPre = (value); + } + } + + private (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] _ExecStopPost = default((string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]); + public (string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[] ExecStopPost + { + get + { + return _ExecStopPost; + } + + set + { + _ExecStopPost = (value); + } + } + + private string _Slice = default(string); + public string Slice + { + get + { + return _Slice; + } + + set + { + _Slice = (value); + } + } + + private string _ControlGroup = default(string); + public string ControlGroup + { + get + { + return _ControlGroup; + } + + set + { + _ControlGroup = (value); + } + } + + private ulong _ControlGroupId = default(ulong); + public ulong ControlGroupId + { + get + { + return _ControlGroupId; + } + + set + { + _ControlGroupId = (value); + } + } + + private ulong _MemoryCurrent = default(ulong); + public ulong MemoryCurrent + { + get + { + return _MemoryCurrent; + } + + set + { + _MemoryCurrent = (value); + } + } + + private ulong _MemoryAvailable = default(ulong); + public ulong MemoryAvailable + { + get + { + return _MemoryAvailable; + } + + set + { + _MemoryAvailable = (value); + } + } + + private ulong _CPUUsageNSec = default(ulong); + public ulong CPUUsageNSec + { + get + { + return _CPUUsageNSec; + } + + set + { + _CPUUsageNSec = (value); + } + } + + private byte[] _EffectiveCPUs = default(byte[]); + public byte[] EffectiveCPUs + { + get + { + return _EffectiveCPUs; + } + + set + { + _EffectiveCPUs = (value); + } + } + + private byte[] _EffectiveMemoryNodes = default(byte[]); + public byte[] EffectiveMemoryNodes + { + get + { + return _EffectiveMemoryNodes; + } + + set + { + _EffectiveMemoryNodes = (value); + } + } + + private ulong _TasksCurrent = default(ulong); + public ulong TasksCurrent + { + get + { + return _TasksCurrent; + } + + set + { + _TasksCurrent = (value); + } + } + + private ulong _IPIngressBytes = default(ulong); + public ulong IPIngressBytes + { + get + { + return _IPIngressBytes; + } + + set + { + _IPIngressBytes = (value); + } + } + + private ulong _IPIngressPackets = default(ulong); + public ulong IPIngressPackets + { + get + { + return _IPIngressPackets; + } + + set + { + _IPIngressPackets = (value); + } + } + + private ulong _IPEgressBytes = default(ulong); + public ulong IPEgressBytes + { + get + { + return _IPEgressBytes; + } + + set + { + _IPEgressBytes = (value); + } + } + + private ulong _IPEgressPackets = default(ulong); + public ulong IPEgressPackets + { + get + { + return _IPEgressPackets; + } + + set + { + _IPEgressPackets = (value); + } + } + + private ulong _IOReadBytes = default(ulong); + public ulong IOReadBytes + { + get + { + return _IOReadBytes; + } + + set + { + _IOReadBytes = (value); + } + } + + private ulong _IOReadOperations = default(ulong); + public ulong IOReadOperations + { + get + { + return _IOReadOperations; + } + + set + { + _IOReadOperations = (value); + } + } + + private ulong _IOWriteBytes = default(ulong); + public ulong IOWriteBytes + { + get + { + return _IOWriteBytes; + } + + set + { + _IOWriteBytes = (value); + } + } + + private ulong _IOWriteOperations = default(ulong); + public ulong IOWriteOperations + { + get + { + return _IOWriteOperations; + } + + set + { + _IOWriteOperations = (value); + } + } + + private bool _Delegate = default(bool); + public bool Delegate + { + get + { + return _Delegate; + } + + set + { + _Delegate = (value); + } + } + + private string[] _DelegateControllers = default(string[]); + public string[] DelegateControllers + { + get + { + return _DelegateControllers; + } + + set + { + _DelegateControllers = (value); + } + } + + private bool _CPUAccounting = default(bool); + public bool CPUAccounting + { + get + { + return _CPUAccounting; + } + + set + { + _CPUAccounting = (value); + } + } + + private ulong _CPUWeight = default(ulong); + public ulong CPUWeight + { + get + { + return _CPUWeight; + } + + set + { + _CPUWeight = (value); + } + } + + private ulong _StartupCPUWeight = default(ulong); + public ulong StartupCPUWeight + { + get + { + return _StartupCPUWeight; + } + + set + { + _StartupCPUWeight = (value); + } + } + + private ulong _CPUShares = default(ulong); + public ulong CPUShares + { + get + { + return _CPUShares; + } + + set + { + _CPUShares = (value); + } + } + + private ulong _StartupCPUShares = default(ulong); + public ulong StartupCPUShares + { + get + { + return _StartupCPUShares; + } + + set + { + _StartupCPUShares = (value); + } + } + + private ulong _CPUQuotaPerSecUSec = default(ulong); + public ulong CPUQuotaPerSecUSec + { + get + { + return _CPUQuotaPerSecUSec; + } + + set + { + _CPUQuotaPerSecUSec = (value); + } + } + + private ulong _CPUQuotaPeriodUSec = default(ulong); + public ulong CPUQuotaPeriodUSec + { + get + { + return _CPUQuotaPeriodUSec; + } + + set + { + _CPUQuotaPeriodUSec = (value); + } + } + + private byte[] _AllowedCPUs = default(byte[]); + public byte[] AllowedCPUs + { + get + { + return _AllowedCPUs; + } + + set + { + _AllowedCPUs = (value); + } + } + + private byte[] _StartupAllowedCPUs = default(byte[]); + public byte[] StartupAllowedCPUs + { + get + { + return _StartupAllowedCPUs; + } + + set + { + _StartupAllowedCPUs = (value); + } + } + + private byte[] _AllowedMemoryNodes = default(byte[]); + public byte[] AllowedMemoryNodes + { + get + { + return _AllowedMemoryNodes; + } + + set + { + _AllowedMemoryNodes = (value); + } + } + + private byte[] _StartupAllowedMemoryNodes = default(byte[]); + public byte[] StartupAllowedMemoryNodes + { + get + { + return _StartupAllowedMemoryNodes; + } + + set + { + _StartupAllowedMemoryNodes = (value); + } + } + + private bool _IOAccounting = default(bool); + public bool IOAccounting + { + get + { + return _IOAccounting; + } + + set + { + _IOAccounting = (value); + } + } + + private ulong _IOWeight = default(ulong); + public ulong IOWeight + { + get + { + return _IOWeight; + } + + set + { + _IOWeight = (value); + } + } + + private ulong _StartupIOWeight = default(ulong); + public ulong StartupIOWeight + { + get + { + return _StartupIOWeight; + } + + set + { + _StartupIOWeight = (value); + } + } + + private (string, ulong)[] _IODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] IODeviceWeight + { + get + { + return _IODeviceWeight; + } + + set + { + _IODeviceWeight = (value); + } + } + + private (string, ulong)[] _IOReadBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOReadBandwidthMax + { + get + { + return _IOReadBandwidthMax; + } + + set + { + _IOReadBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOWriteBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteBandwidthMax + { + get + { + return _IOWriteBandwidthMax; + } + + set + { + _IOWriteBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOReadIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOReadIOPSMax + { + get + { + return _IOReadIOPSMax; + } + + set + { + _IOReadIOPSMax = (value); + } + } + + private (string, ulong)[] _IOWriteIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteIOPSMax + { + get + { + return _IOWriteIOPSMax; + } + + set + { + _IOWriteIOPSMax = (value); + } + } + + private (string, ulong)[] _IODeviceLatencyTargetUSec = default((string, ulong)[]); + public (string, ulong)[] IODeviceLatencyTargetUSec + { + get + { + return _IODeviceLatencyTargetUSec; + } + + set + { + _IODeviceLatencyTargetUSec = (value); + } + } + + private bool _BlockIOAccounting = default(bool); + public bool BlockIOAccounting + { + get + { + return _BlockIOAccounting; + } + + set + { + _BlockIOAccounting = (value); + } + } + + private ulong _BlockIOWeight = default(ulong); + public ulong BlockIOWeight + { + get + { + return _BlockIOWeight; + } + + set + { + _BlockIOWeight = (value); + } + } + + private ulong _StartupBlockIOWeight = default(ulong); + public ulong StartupBlockIOWeight + { + get + { + return _StartupBlockIOWeight; + } + + set + { + _StartupBlockIOWeight = (value); + } + } + + private (string, ulong)[] _BlockIODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] BlockIODeviceWeight + { + get + { + return _BlockIODeviceWeight; + } + + set + { + _BlockIODeviceWeight = (value); + } + } + + private (string, ulong)[] _BlockIOReadBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOReadBandwidth + { + get + { + return _BlockIOReadBandwidth; + } + + set + { + _BlockIOReadBandwidth = (value); + } + } + + private (string, ulong)[] _BlockIOWriteBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOWriteBandwidth + { + get + { + return _BlockIOWriteBandwidth; + } + + set + { + _BlockIOWriteBandwidth = (value); + } + } + + private bool _MemoryAccounting = default(bool); + public bool MemoryAccounting + { + get + { + return _MemoryAccounting; + } + + set + { + _MemoryAccounting = (value); + } + } + + private ulong _DefaultMemoryLow = default(ulong); + public ulong DefaultMemoryLow + { + get + { + return _DefaultMemoryLow; + } + + set + { + _DefaultMemoryLow = (value); + } + } + + private ulong _DefaultMemoryMin = default(ulong); + public ulong DefaultMemoryMin + { + get + { + return _DefaultMemoryMin; + } + + set + { + _DefaultMemoryMin = (value); + } + } + + private ulong _MemoryMin = default(ulong); + public ulong MemoryMin + { + get + { + return _MemoryMin; + } + + set + { + _MemoryMin = (value); + } + } + + private ulong _MemoryLow = default(ulong); + public ulong MemoryLow + { + get + { + return _MemoryLow; + } + + set + { + _MemoryLow = (value); + } + } + + private ulong _MemoryHigh = default(ulong); + public ulong MemoryHigh + { + get + { + return _MemoryHigh; + } + + set + { + _MemoryHigh = (value); + } + } + + private ulong _MemoryMax = default(ulong); + public ulong MemoryMax + { + get + { + return _MemoryMax; + } + + set + { + _MemoryMax = (value); + } + } + + private ulong _MemorySwapMax = default(ulong); + public ulong MemorySwapMax + { + get + { + return _MemorySwapMax; + } + + set + { + _MemorySwapMax = (value); + } + } + + private ulong _MemoryLimit = default(ulong); + public ulong MemoryLimit + { + get + { + return _MemoryLimit; + } + + set + { + _MemoryLimit = (value); + } + } + + private string _DevicePolicy = default(string); + public string DevicePolicy + { + get + { + return _DevicePolicy; + } + + set + { + _DevicePolicy = (value); + } + } + + private (string, string)[] _DeviceAllow = default((string, string)[]); + public (string, string)[] DeviceAllow + { + get + { + return _DeviceAllow; + } + + set + { + _DeviceAllow = (value); + } + } + + private bool _TasksAccounting = default(bool); + public bool TasksAccounting + { + get + { + return _TasksAccounting; + } + + set + { + _TasksAccounting = (value); + } + } + + private ulong _TasksMax = default(ulong); + public ulong TasksMax + { + get + { + return _TasksMax; + } + + set + { + _TasksMax = (value); + } + } + + private bool _IPAccounting = default(bool); + public bool IPAccounting + { + get + { + return _IPAccounting; + } + + set + { + _IPAccounting = (value); + } + } + + private (int, byte[], uint)[] _IPAddressAllow = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressAllow + { + get + { + return _IPAddressAllow; + } + + set + { + _IPAddressAllow = (value); + } + } + + private (int, byte[], uint)[] _IPAddressDeny = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressDeny + { + get + { + return _IPAddressDeny; + } + + set + { + _IPAddressDeny = (value); + } + } + + private string[] _IPIngressFilterPath = default(string[]); + public string[] IPIngressFilterPath + { + get + { + return _IPIngressFilterPath; + } + + set + { + _IPIngressFilterPath = (value); + } + } + + private string[] _IPEgressFilterPath = default(string[]); + public string[] IPEgressFilterPath + { + get + { + return _IPEgressFilterPath; + } + + set + { + _IPEgressFilterPath = (value); + } + } + + private string[] _DisableControllers = default(string[]); + public string[] DisableControllers + { + get + { + return _DisableControllers; + } + + set + { + _DisableControllers = (value); + } + } + + private string _ManagedOOMSwap = default(string); + public string ManagedOOMSwap + { + get + { + return _ManagedOOMSwap; + } + + set + { + _ManagedOOMSwap = (value); + } + } + + private string _ManagedOOMMemoryPressure = default(string); + public string ManagedOOMMemoryPressure + { + get + { + return _ManagedOOMMemoryPressure; + } + + set + { + _ManagedOOMMemoryPressure = (value); + } + } + + private uint _ManagedOOMMemoryPressureLimit = default(uint); + public uint ManagedOOMMemoryPressureLimit + { + get + { + return _ManagedOOMMemoryPressureLimit; + } + + set + { + _ManagedOOMMemoryPressureLimit = (value); + } + } + + private string _ManagedOOMPreference = default(string); + public string ManagedOOMPreference + { + get + { + return _ManagedOOMPreference; + } + + set + { + _ManagedOOMPreference = (value); + } + } + + private (string, string)[] _BPFProgram = default((string, string)[]); + public (string, string)[] BPFProgram + { + get + { + return _BPFProgram; + } + + set + { + _BPFProgram = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindAllow = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindAllow + { + get + { + return _SocketBindAllow; + } + + set + { + _SocketBindAllow = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindDeny = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindDeny + { + get + { + return _SocketBindDeny; + } + + set + { + _SocketBindDeny = (value); + } + } + + private (bool, string[]) _RestrictNetworkInterfaces = default((bool, string[])); + public (bool, string[]) RestrictNetworkInterfaces + { + get + { + return _RestrictNetworkInterfaces; + } + + set + { + _RestrictNetworkInterfaces = (value); + } + } + + private string[] _Environment = default(string[]); + public string[] Environment + { + get + { + return _Environment; + } + + set + { + _Environment = (value); + } + } + + private (string, bool)[] _EnvironmentFiles = default((string, bool)[]); + public (string, bool)[] EnvironmentFiles + { + get + { + return _EnvironmentFiles; + } + + set + { + _EnvironmentFiles = (value); + } + } + + private string[] _PassEnvironment = default(string[]); + public string[] PassEnvironment + { + get + { + return _PassEnvironment; + } + + set + { + _PassEnvironment = (value); + } + } + + private string[] _UnsetEnvironment = default(string[]); + public string[] UnsetEnvironment + { + get + { + return _UnsetEnvironment; + } + + set + { + _UnsetEnvironment = (value); + } + } + + private uint _UMask = default(uint); + public uint UMask + { + get + { + return _UMask; + } + + set + { + _UMask = (value); + } + } + + private ulong _LimitCPU = default(ulong); + public ulong LimitCPU + { + get + { + return _LimitCPU; + } + + set + { + _LimitCPU = (value); + } + } + + private ulong _LimitCPUSoft = default(ulong); + public ulong LimitCPUSoft + { + get + { + return _LimitCPUSoft; + } + + set + { + _LimitCPUSoft = (value); + } + } + + private ulong _LimitFSIZE = default(ulong); + public ulong LimitFSIZE + { + get + { + return _LimitFSIZE; + } + + set + { + _LimitFSIZE = (value); + } + } + + private ulong _LimitFSIZESoft = default(ulong); + public ulong LimitFSIZESoft + { + get + { + return _LimitFSIZESoft; + } + + set + { + _LimitFSIZESoft = (value); + } + } + + private ulong _LimitDATA = default(ulong); + public ulong LimitDATA + { + get + { + return _LimitDATA; + } + + set + { + _LimitDATA = (value); + } + } + + private ulong _LimitDATASoft = default(ulong); + public ulong LimitDATASoft + { + get + { + return _LimitDATASoft; + } + + set + { + _LimitDATASoft = (value); + } + } + + private ulong _LimitSTACK = default(ulong); + public ulong LimitSTACK + { + get + { + return _LimitSTACK; + } + + set + { + _LimitSTACK = (value); + } + } + + private ulong _LimitSTACKSoft = default(ulong); + public ulong LimitSTACKSoft + { + get + { + return _LimitSTACKSoft; + } + + set + { + _LimitSTACKSoft = (value); + } + } + + private ulong _LimitCORE = default(ulong); + public ulong LimitCORE + { + get + { + return _LimitCORE; + } + + set + { + _LimitCORE = (value); + } + } + + private ulong _LimitCORESoft = default(ulong); + public ulong LimitCORESoft + { + get + { + return _LimitCORESoft; + } + + set + { + _LimitCORESoft = (value); + } + } + + private ulong _LimitRSS = default(ulong); + public ulong LimitRSS + { + get + { + return _LimitRSS; + } + + set + { + _LimitRSS = (value); + } + } + + private ulong _LimitRSSSoft = default(ulong); + public ulong LimitRSSSoft + { + get + { + return _LimitRSSSoft; + } + + set + { + _LimitRSSSoft = (value); + } + } + + private ulong _LimitNOFILE = default(ulong); + public ulong LimitNOFILE + { + get + { + return _LimitNOFILE; + } + + set + { + _LimitNOFILE = (value); + } + } + + private ulong _LimitNOFILESoft = default(ulong); + public ulong LimitNOFILESoft + { + get + { + return _LimitNOFILESoft; + } + + set + { + _LimitNOFILESoft = (value); + } + } + + private ulong _LimitAS = default(ulong); + public ulong LimitAS + { + get + { + return _LimitAS; + } + + set + { + _LimitAS = (value); + } + } + + private ulong _LimitASSoft = default(ulong); + public ulong LimitASSoft + { + get + { + return _LimitASSoft; + } + + set + { + _LimitASSoft = (value); + } + } + + private ulong _LimitNPROC = default(ulong); + public ulong LimitNPROC + { + get + { + return _LimitNPROC; + } + + set + { + _LimitNPROC = (value); + } + } + + private ulong _LimitNPROCSoft = default(ulong); + public ulong LimitNPROCSoft + { + get + { + return _LimitNPROCSoft; + } + + set + { + _LimitNPROCSoft = (value); + } + } + + private ulong _LimitMEMLOCK = default(ulong); + public ulong LimitMEMLOCK + { + get + { + return _LimitMEMLOCK; + } + + set + { + _LimitMEMLOCK = (value); + } + } + + private ulong _LimitMEMLOCKSoft = default(ulong); + public ulong LimitMEMLOCKSoft + { + get + { + return _LimitMEMLOCKSoft; + } + + set + { + _LimitMEMLOCKSoft = (value); + } + } + + private ulong _LimitLOCKS = default(ulong); + public ulong LimitLOCKS + { + get + { + return _LimitLOCKS; + } + + set + { + _LimitLOCKS = (value); + } + } + + private ulong _LimitLOCKSSoft = default(ulong); + public ulong LimitLOCKSSoft + { + get + { + return _LimitLOCKSSoft; + } + + set + { + _LimitLOCKSSoft = (value); + } + } + + private ulong _LimitSIGPENDING = default(ulong); + public ulong LimitSIGPENDING + { + get + { + return _LimitSIGPENDING; + } + + set + { + _LimitSIGPENDING = (value); + } + } + + private ulong _LimitSIGPENDINGSoft = default(ulong); + public ulong LimitSIGPENDINGSoft + { + get + { + return _LimitSIGPENDINGSoft; + } + + set + { + _LimitSIGPENDINGSoft = (value); + } + } + + private ulong _LimitMSGQUEUE = default(ulong); + public ulong LimitMSGQUEUE + { + get + { + return _LimitMSGQUEUE; + } + + set + { + _LimitMSGQUEUE = (value); + } + } + + private ulong _LimitMSGQUEUESoft = default(ulong); + public ulong LimitMSGQUEUESoft + { + get + { + return _LimitMSGQUEUESoft; + } + + set + { + _LimitMSGQUEUESoft = (value); + } + } + + private ulong _LimitNICE = default(ulong); + public ulong LimitNICE + { + get + { + return _LimitNICE; + } + + set + { + _LimitNICE = (value); + } + } + + private ulong _LimitNICESoft = default(ulong); + public ulong LimitNICESoft + { + get + { + return _LimitNICESoft; + } + + set + { + _LimitNICESoft = (value); + } + } + + private ulong _LimitRTPRIO = default(ulong); + public ulong LimitRTPRIO + { + get + { + return _LimitRTPRIO; + } + + set + { + _LimitRTPRIO = (value); + } + } + + private ulong _LimitRTPRIOSoft = default(ulong); + public ulong LimitRTPRIOSoft + { + get + { + return _LimitRTPRIOSoft; + } + + set + { + _LimitRTPRIOSoft = (value); + } + } + + private ulong _LimitRTTIME = default(ulong); + public ulong LimitRTTIME + { + get + { + return _LimitRTTIME; + } + + set + { + _LimitRTTIME = (value); + } + } + + private ulong _LimitRTTIMESoft = default(ulong); + public ulong LimitRTTIMESoft + { + get + { + return _LimitRTTIMESoft; + } + + set + { + _LimitRTTIMESoft = (value); + } + } + + private string _WorkingDirectory = default(string); + public string WorkingDirectory + { + get + { + return _WorkingDirectory; + } + + set + { + _WorkingDirectory = (value); + } + } + + private string _RootDirectory = default(string); + public string RootDirectory + { + get + { + return _RootDirectory; + } + + set + { + _RootDirectory = (value); + } + } + + private string _RootImage = default(string); + public string RootImage + { + get + { + return _RootImage; + } + + set + { + _RootImage = (value); + } + } + + private (string, string)[] _RootImageOptions = default((string, string)[]); + public (string, string)[] RootImageOptions + { + get + { + return _RootImageOptions; + } + + set + { + _RootImageOptions = (value); + } + } + + private byte[] _RootHash = default(byte[]); + public byte[] RootHash + { + get + { + return _RootHash; + } + + set + { + _RootHash = (value); + } + } + + private string _RootHashPath = default(string); + public string RootHashPath + { + get + { + return _RootHashPath; + } + + set + { + _RootHashPath = (value); + } + } + + private byte[] _RootHashSignature = default(byte[]); + public byte[] RootHashSignature + { + get + { + return _RootHashSignature; + } + + set + { + _RootHashSignature = (value); + } + } + + private string _RootHashSignaturePath = default(string); + public string RootHashSignaturePath + { + get + { + return _RootHashSignaturePath; + } + + set + { + _RootHashSignaturePath = (value); + } + } + + private string _RootVerity = default(string); + public string RootVerity + { + get + { + return _RootVerity; + } + + set + { + _RootVerity = (value); + } + } + + private string[] _ExtensionDirectories = default(string[]); + public string[] ExtensionDirectories + { + get + { + return _ExtensionDirectories; + } + + set + { + _ExtensionDirectories = (value); + } + } + + private (string, bool, (string, string)[])[] _ExtensionImages = default((string, bool, (string, string)[])[]); + public (string, bool, (string, string)[])[] ExtensionImages + { + get + { + return _ExtensionImages; + } + + set + { + _ExtensionImages = (value); + } + } + + private (string, string, bool, (string, string)[])[] _MountImages = default((string, string, bool, (string, string)[])[]); + public (string, string, bool, (string, string)[])[] MountImages + { + get + { + return _MountImages; + } + + set + { + _MountImages = (value); + } + } + + private int _OOMScoreAdjust = default(int); + public int OOMScoreAdjust + { + get + { + return _OOMScoreAdjust; + } + + set + { + _OOMScoreAdjust = (value); + } + } + + private ulong _CoredumpFilter = default(ulong); + public ulong CoredumpFilter + { + get + { + return _CoredumpFilter; + } + + set + { + _CoredumpFilter = (value); + } + } + + private int _Nice = default(int); + public int Nice + { + get + { + return _Nice; + } + + set + { + _Nice = (value); + } + } + + private int _IOSchedulingClass = default(int); + public int IOSchedulingClass + { + get + { + return _IOSchedulingClass; + } + + set + { + _IOSchedulingClass = (value); + } + } + + private int _IOSchedulingPriority = default(int); + public int IOSchedulingPriority + { + get + { + return _IOSchedulingPriority; + } + + set + { + _IOSchedulingPriority = (value); + } + } + + private int _CPUSchedulingPolicy = default(int); + public int CPUSchedulingPolicy + { + get + { + return _CPUSchedulingPolicy; + } + + set + { + _CPUSchedulingPolicy = (value); + } + } + + private int _CPUSchedulingPriority = default(int); + public int CPUSchedulingPriority + { + get + { + return _CPUSchedulingPriority; + } + + set + { + _CPUSchedulingPriority = (value); + } + } + + private byte[] _CPUAffinity = default(byte[]); + public byte[] CPUAffinity + { + get + { + return _CPUAffinity; + } + + set + { + _CPUAffinity = (value); + } + } + + private bool _CPUAffinityFromNUMA = default(bool); + public bool CPUAffinityFromNUMA + { + get + { + return _CPUAffinityFromNUMA; + } + + set + { + _CPUAffinityFromNUMA = (value); + } + } + + private int _NUMAPolicy = default(int); + public int NUMAPolicy + { + get + { + return _NUMAPolicy; + } + + set + { + _NUMAPolicy = (value); + } + } + + private byte[] _NUMAMask = default(byte[]); + public byte[] NUMAMask + { + get + { + return _NUMAMask; + } + + set + { + _NUMAMask = (value); + } + } + + private ulong _TimerSlackNSec = default(ulong); + public ulong TimerSlackNSec + { + get + { + return _TimerSlackNSec; + } + + set + { + _TimerSlackNSec = (value); + } + } + + private bool _CPUSchedulingResetOnFork = default(bool); + public bool CPUSchedulingResetOnFork + { + get + { + return _CPUSchedulingResetOnFork; + } + + set + { + _CPUSchedulingResetOnFork = (value); + } + } + + private bool _NonBlocking = default(bool); + public bool NonBlocking + { + get + { + return _NonBlocking; + } + + set + { + _NonBlocking = (value); + } + } + + private string _StandardInput = default(string); + public string StandardInput + { + get + { + return _StandardInput; + } + + set + { + _StandardInput = (value); + } + } + + private string _StandardInputFileDescriptorName = default(string); + public string StandardInputFileDescriptorName + { + get + { + return _StandardInputFileDescriptorName; + } + + set + { + _StandardInputFileDescriptorName = (value); + } + } + + private byte[] _StandardInputData = default(byte[]); + public byte[] StandardInputData + { + get + { + return _StandardInputData; + } + + set + { + _StandardInputData = (value); + } + } + + private string _StandardOutput = default(string); + public string StandardOutput + { + get + { + return _StandardOutput; + } + + set + { + _StandardOutput = (value); + } + } + + private string _StandardOutputFileDescriptorName = default(string); + public string StandardOutputFileDescriptorName + { + get + { + return _StandardOutputFileDescriptorName; + } + + set + { + _StandardOutputFileDescriptorName = (value); + } + } + + private string _StandardError = default(string); + public string StandardError + { + get + { + return _StandardError; + } + + set + { + _StandardError = (value); + } + } + + private string _StandardErrorFileDescriptorName = default(string); + public string StandardErrorFileDescriptorName + { + get + { + return _StandardErrorFileDescriptorName; + } + + set + { + _StandardErrorFileDescriptorName = (value); + } + } + + private string _TTYPath = default(string); + public string TTYPath + { + get + { + return _TTYPath; + } + + set + { + _TTYPath = (value); + } + } + + private bool _TTYReset = default(bool); + public bool TTYReset + { + get + { + return _TTYReset; + } + + set + { + _TTYReset = (value); + } + } + + private bool _TTYVHangup = default(bool); + public bool TTYVHangup + { + get + { + return _TTYVHangup; + } + + set + { + _TTYVHangup = (value); + } + } + + private bool _TTYVTDisallocate = default(bool); + public bool TTYVTDisallocate + { + get + { + return _TTYVTDisallocate; + } + + set + { + _TTYVTDisallocate = (value); + } + } + + private ushort _TTYRows = default(ushort); + public ushort TTYRows + { + get + { + return _TTYRows; + } + + set + { + _TTYRows = (value); + } + } + + private ushort _TTYColumns = default(ushort); + public ushort TTYColumns + { + get + { + return _TTYColumns; + } + + set + { + _TTYColumns = (value); + } + } + + private int _SyslogPriority = default(int); + public int SyslogPriority + { + get + { + return _SyslogPriority; + } + + set + { + _SyslogPriority = (value); + } + } + + private string _SyslogIdentifier = default(string); + public string SyslogIdentifier + { + get + { + return _SyslogIdentifier; + } + + set + { + _SyslogIdentifier = (value); + } + } + + private bool _SyslogLevelPrefix = default(bool); + public bool SyslogLevelPrefix + { + get + { + return _SyslogLevelPrefix; + } + + set + { + _SyslogLevelPrefix = (value); + } + } + + private int _SyslogLevel = default(int); + public int SyslogLevel + { + get + { + return _SyslogLevel; + } + + set + { + _SyslogLevel = (value); + } + } + + private int _SyslogFacility = default(int); + public int SyslogFacility + { + get + { + return _SyslogFacility; + } + + set + { + _SyslogFacility = (value); + } + } + + private int _LogLevelMax = default(int); + public int LogLevelMax + { + get + { + return _LogLevelMax; + } + + set + { + _LogLevelMax = (value); + } + } + + private ulong _LogRateLimitIntervalUSec = default(ulong); + public ulong LogRateLimitIntervalUSec + { + get + { + return _LogRateLimitIntervalUSec; + } + + set + { + _LogRateLimitIntervalUSec = (value); + } + } + + private uint _LogRateLimitBurst = default(uint); + public uint LogRateLimitBurst + { + get + { + return _LogRateLimitBurst; + } + + set + { + _LogRateLimitBurst = (value); + } + } + + private byte[][] _LogExtraFields = default(byte[][]); + public byte[][] LogExtraFields + { + get + { + return _LogExtraFields; + } + + set + { + _LogExtraFields = (value); + } + } + + private string _LogNamespace = default(string); + public string LogNamespace + { + get + { + return _LogNamespace; + } + + set + { + _LogNamespace = (value); + } + } + + private int _SecureBits = default(int); + public int SecureBits + { + get + { + return _SecureBits; + } + + set + { + _SecureBits = (value); + } + } + + private ulong _CapabilityBoundingSet = default(ulong); + public ulong CapabilityBoundingSet + { + get + { + return _CapabilityBoundingSet; + } + + set + { + _CapabilityBoundingSet = (value); + } + } + + private ulong _AmbientCapabilities = default(ulong); + public ulong AmbientCapabilities + { + get + { + return _AmbientCapabilities; + } + + set + { + _AmbientCapabilities = (value); + } + } + + private string _User = default(string); + public string User + { + get + { + return _User; + } + + set + { + _User = (value); + } + } + + private string _Group = default(string); + public string Group + { + get + { + return _Group; + } + + set + { + _Group = (value); + } + } + + private bool _DynamicUser = default(bool); + public bool DynamicUser + { + get + { + return _DynamicUser; + } + + set + { + _DynamicUser = (value); + } + } + + private bool _RemoveIPC = default(bool); + public bool RemoveIPC + { + get + { + return _RemoveIPC; + } + + set + { + _RemoveIPC = (value); + } + } + + private (string, byte[])[] _SetCredential = default((string, byte[])[]); + public (string, byte[])[] SetCredential + { + get + { + return _SetCredential; + } + + set + { + _SetCredential = (value); + } + } + + private (string, byte[])[] _SetCredentialEncrypted = default((string, byte[])[]); + public (string, byte[])[] SetCredentialEncrypted + { + get + { + return _SetCredentialEncrypted; + } + + set + { + _SetCredentialEncrypted = (value); + } + } + + private (string, string)[] _LoadCredential = default((string, string)[]); + public (string, string)[] LoadCredential + { + get + { + return _LoadCredential; + } + + set + { + _LoadCredential = (value); + } + } + + private (string, string)[] _LoadCredentialEncrypted = default((string, string)[]); + public (string, string)[] LoadCredentialEncrypted + { + get + { + return _LoadCredentialEncrypted; + } + + set + { + _LoadCredentialEncrypted = (value); + } + } + + private string[] _SupplementaryGroups = default(string[]); + public string[] SupplementaryGroups + { + get + { + return _SupplementaryGroups; + } + + set + { + _SupplementaryGroups = (value); + } + } + + private string _PAMName = default(string); + public string PAMName + { + get + { + return _PAMName; + } + + set + { + _PAMName = (value); + } + } + + private string[] _ReadWritePaths = default(string[]); + public string[] ReadWritePaths + { + get + { + return _ReadWritePaths; + } + + set + { + _ReadWritePaths = (value); + } + } + + private string[] _ReadOnlyPaths = default(string[]); + public string[] ReadOnlyPaths + { + get + { + return _ReadOnlyPaths; + } + + set + { + _ReadOnlyPaths = (value); + } + } + + private string[] _InaccessiblePaths = default(string[]); + public string[] InaccessiblePaths + { + get + { + return _InaccessiblePaths; + } + + set + { + _InaccessiblePaths = (value); + } + } + + private string[] _ExecPaths = default(string[]); + public string[] ExecPaths + { + get + { + return _ExecPaths; + } + + set + { + _ExecPaths = (value); + } + } + + private string[] _NoExecPaths = default(string[]); + public string[] NoExecPaths + { + get + { + return _NoExecPaths; + } + + set + { + _NoExecPaths = (value); + } + } + + private string[] _ExecSearchPath = default(string[]); + public string[] ExecSearchPath + { + get + { + return _ExecSearchPath; + } + + set + { + _ExecSearchPath = (value); + } + } + + private ulong _MountFlags = default(ulong); + public ulong MountFlags + { + get + { + return _MountFlags; + } + + set + { + _MountFlags = (value); + } + } + + private bool _PrivateTmp = default(bool); + public bool PrivateTmp + { + get + { + return _PrivateTmp; + } + + set + { + _PrivateTmp = (value); + } + } + + private bool _PrivateDevices = default(bool); + public bool PrivateDevices + { + get + { + return _PrivateDevices; + } + + set + { + _PrivateDevices = (value); + } + } + + private bool _ProtectClock = default(bool); + public bool ProtectClock + { + get + { + return _ProtectClock; + } + + set + { + _ProtectClock = (value); + } + } + + private bool _ProtectKernelTunables = default(bool); + public bool ProtectKernelTunables + { + get + { + return _ProtectKernelTunables; + } + + set + { + _ProtectKernelTunables = (value); + } + } + + private bool _ProtectKernelModules = default(bool); + public bool ProtectKernelModules + { + get + { + return _ProtectKernelModules; + } + + set + { + _ProtectKernelModules = (value); + } + } + + private bool _ProtectKernelLogs = default(bool); + public bool ProtectKernelLogs + { + get + { + return _ProtectKernelLogs; + } + + set + { + _ProtectKernelLogs = (value); + } + } + + private bool _ProtectControlGroups = default(bool); + public bool ProtectControlGroups + { + get + { + return _ProtectControlGroups; + } + + set + { + _ProtectControlGroups = (value); + } + } + + private bool _PrivateNetwork = default(bool); + public bool PrivateNetwork + { + get + { + return _PrivateNetwork; + } + + set + { + _PrivateNetwork = (value); + } + } + + private bool _PrivateUsers = default(bool); + public bool PrivateUsers + { + get + { + return _PrivateUsers; + } + + set + { + _PrivateUsers = (value); + } + } + + private bool _PrivateMounts = default(bool); + public bool PrivateMounts + { + get + { + return _PrivateMounts; + } + + set + { + _PrivateMounts = (value); + } + } + + private bool _PrivateIPC = default(bool); + public bool PrivateIPC + { + get + { + return _PrivateIPC; + } + + set + { + _PrivateIPC = (value); + } + } + + private string _ProtectHome = default(string); + public string ProtectHome + { + get + { + return _ProtectHome; + } + + set + { + _ProtectHome = (value); + } + } + + private string _ProtectSystem = default(string); + public string ProtectSystem + { + get + { + return _ProtectSystem; + } + + set + { + _ProtectSystem = (value); + } + } + + private bool _SameProcessGroup = default(bool); + public bool SameProcessGroup + { + get + { + return _SameProcessGroup; + } + + set + { + _SameProcessGroup = (value); + } + } + + private string _UtmpIdentifier = default(string); + public string UtmpIdentifier + { + get + { + return _UtmpIdentifier; + } + + set + { + _UtmpIdentifier = (value); + } + } + + private string _UtmpMode = default(string); + public string UtmpMode + { + get + { + return _UtmpMode; + } + + set + { + _UtmpMode = (value); + } + } + + private (bool, string) _SELinuxContext = default((bool, string)); + public (bool, string) SELinuxContext + { + get + { + return _SELinuxContext; + } + + set + { + _SELinuxContext = (value); + } + } + + private (bool, string) _AppArmorProfile = default((bool, string)); + public (bool, string) AppArmorProfile + { + get + { + return _AppArmorProfile; + } + + set + { + _AppArmorProfile = (value); + } + } + + private (bool, string) _SmackProcessLabel = default((bool, string)); + public (bool, string) SmackProcessLabel + { + get + { + return _SmackProcessLabel; + } + + set + { + _SmackProcessLabel = (value); + } + } + + private bool _IgnoreSIGPIPE = default(bool); + public bool IgnoreSIGPIPE + { + get + { + return _IgnoreSIGPIPE; + } + + set + { + _IgnoreSIGPIPE = (value); + } + } + + private bool _NoNewPrivileges = default(bool); + public bool NoNewPrivileges + { + get + { + return _NoNewPrivileges; + } + + set + { + _NoNewPrivileges = (value); + } + } + + private (bool, string[]) _SystemCallFilter = default((bool, string[])); + public (bool, string[]) SystemCallFilter + { + get + { + return _SystemCallFilter; + } + + set + { + _SystemCallFilter = (value); + } + } + + private string[] _SystemCallArchitectures = default(string[]); + public string[] SystemCallArchitectures + { + get + { + return _SystemCallArchitectures; + } + + set + { + _SystemCallArchitectures = (value); + } + } + + private int _SystemCallErrorNumber = default(int); + public int SystemCallErrorNumber + { + get + { + return _SystemCallErrorNumber; + } + + set + { + _SystemCallErrorNumber = (value); + } + } + + private (bool, string[]) _SystemCallLog = default((bool, string[])); + public (bool, string[]) SystemCallLog + { + get + { + return _SystemCallLog; + } + + set + { + _SystemCallLog = (value); + } + } + + private string _Personality = default(string); + public string Personality + { + get + { + return _Personality; + } + + set + { + _Personality = (value); + } + } + + private bool _LockPersonality = default(bool); + public bool LockPersonality + { + get + { + return _LockPersonality; + } + + set + { + _LockPersonality = (value); + } + } + + private (bool, string[]) _RestrictAddressFamilies = default((bool, string[])); + public (bool, string[]) RestrictAddressFamilies + { + get + { + return _RestrictAddressFamilies; + } + + set + { + _RestrictAddressFamilies = (value); + } + } + + private (string, string, ulong)[] _RuntimeDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] RuntimeDirectorySymlink + { + get + { + return _RuntimeDirectorySymlink; + } + + set + { + _RuntimeDirectorySymlink = (value); + } + } + + private string _RuntimeDirectoryPreserve = default(string); + public string RuntimeDirectoryPreserve + { + get + { + return _RuntimeDirectoryPreserve; + } + + set + { + _RuntimeDirectoryPreserve = (value); + } + } + + private uint _RuntimeDirectoryMode = default(uint); + public uint RuntimeDirectoryMode + { + get + { + return _RuntimeDirectoryMode; + } + + set + { + _RuntimeDirectoryMode = (value); + } + } + + private string[] _RuntimeDirectory = default(string[]); + public string[] RuntimeDirectory + { + get + { + return _RuntimeDirectory; + } + + set + { + _RuntimeDirectory = (value); + } + } + + private (string, string, ulong)[] _StateDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] StateDirectorySymlink + { + get + { + return _StateDirectorySymlink; + } + + set + { + _StateDirectorySymlink = (value); + } + } + + private uint _StateDirectoryMode = default(uint); + public uint StateDirectoryMode + { + get + { + return _StateDirectoryMode; + } + + set + { + _StateDirectoryMode = (value); + } + } + + private string[] _StateDirectory = default(string[]); + public string[] StateDirectory + { + get + { + return _StateDirectory; + } + + set + { + _StateDirectory = (value); + } + } + + private (string, string, ulong)[] _CacheDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] CacheDirectorySymlink + { + get + { + return _CacheDirectorySymlink; + } + + set + { + _CacheDirectorySymlink = (value); + } + } + + private uint _CacheDirectoryMode = default(uint); + public uint CacheDirectoryMode + { + get + { + return _CacheDirectoryMode; + } + + set + { + _CacheDirectoryMode = (value); + } + } + + private string[] _CacheDirectory = default(string[]); + public string[] CacheDirectory + { + get + { + return _CacheDirectory; + } + + set + { + _CacheDirectory = (value); + } + } + + private (string, string, ulong)[] _LogsDirectorySymlink = default((string, string, ulong)[]); + public (string, string, ulong)[] LogsDirectorySymlink + { + get + { + return _LogsDirectorySymlink; + } + + set + { + _LogsDirectorySymlink = (value); + } + } + + private uint _LogsDirectoryMode = default(uint); + public uint LogsDirectoryMode + { + get + { + return _LogsDirectoryMode; + } + + set + { + _LogsDirectoryMode = (value); + } + } + + private string[] _LogsDirectory = default(string[]); + public string[] LogsDirectory + { + get + { + return _LogsDirectory; + } + + set + { + _LogsDirectory = (value); + } + } + + private uint _ConfigurationDirectoryMode = default(uint); + public uint ConfigurationDirectoryMode + { + get + { + return _ConfigurationDirectoryMode; + } + + set + { + _ConfigurationDirectoryMode = (value); + } + } + + private string[] _ConfigurationDirectory = default(string[]); + public string[] ConfigurationDirectory + { + get + { + return _ConfigurationDirectory; + } + + set + { + _ConfigurationDirectory = (value); + } + } + + private ulong _TimeoutCleanUSec = default(ulong); + public ulong TimeoutCleanUSec + { + get + { + return _TimeoutCleanUSec; + } + + set + { + _TimeoutCleanUSec = (value); + } + } + + private bool _MemoryDenyWriteExecute = default(bool); + public bool MemoryDenyWriteExecute + { + get + { + return _MemoryDenyWriteExecute; + } + + set + { + _MemoryDenyWriteExecute = (value); + } + } + + private bool _RestrictRealtime = default(bool); + public bool RestrictRealtime + { + get + { + return _RestrictRealtime; + } + + set + { + _RestrictRealtime = (value); + } + } + + private bool _RestrictSUIDSGID = default(bool); + public bool RestrictSUIDSGID + { + get + { + return _RestrictSUIDSGID; + } + + set + { + _RestrictSUIDSGID = (value); + } + } + + private ulong _RestrictNamespaces = default(ulong); + public ulong RestrictNamespaces + { + get + { + return _RestrictNamespaces; + } + + set + { + _RestrictNamespaces = (value); + } + } + + private (bool, string[]) _RestrictFileSystems = default((bool, string[])); + public (bool, string[]) RestrictFileSystems + { + get + { + return _RestrictFileSystems; + } + + set + { + _RestrictFileSystems = (value); + } + } + + private (string, string, bool, ulong)[] _BindPaths = default((string, string, bool, ulong)[]); + public (string, string, bool, ulong)[] BindPaths + { + get + { + return _BindPaths; + } + + set + { + _BindPaths = (value); + } + } + + private (string, string, bool, ulong)[] _BindReadOnlyPaths = default((string, string, bool, ulong)[]); + public (string, string, bool, ulong)[] BindReadOnlyPaths + { + get + { + return _BindReadOnlyPaths; + } + + set + { + _BindReadOnlyPaths = (value); + } + } + + private (string, string)[] _TemporaryFileSystem = default((string, string)[]); + public (string, string)[] TemporaryFileSystem + { + get + { + return _TemporaryFileSystem; + } + + set + { + _TemporaryFileSystem = (value); + } + } + + private bool _MountAPIVFS = default(bool); + public bool MountAPIVFS + { + get + { + return _MountAPIVFS; + } + + set + { + _MountAPIVFS = (value); + } + } + + private string _KeyringMode = default(string); + public string KeyringMode + { + get + { + return _KeyringMode; + } + + set + { + _KeyringMode = (value); + } + } + + private string _ProtectProc = default(string); + public string ProtectProc + { + get + { + return _ProtectProc; + } + + set + { + _ProtectProc = (value); + } + } + + private string _ProcSubset = default(string); + public string ProcSubset + { + get + { + return _ProcSubset; + } + + set + { + _ProcSubset = (value); + } + } + + private bool _ProtectHostname = default(bool); + public bool ProtectHostname + { + get + { + return _ProtectHostname; + } + + set + { + _ProtectHostname = (value); + } + } + + private string _NetworkNamespacePath = default(string); + public string NetworkNamespacePath + { + get + { + return _NetworkNamespacePath; + } + + set + { + _NetworkNamespacePath = (value); + } + } + + private string _IPCNamespacePath = default(string); + public string IPCNamespacePath + { + get + { + return _IPCNamespacePath; + } + + set + { + _IPCNamespacePath = (value); + } + } + + private string _KillMode = default(string); + public string KillMode + { + get + { + return _KillMode; + } + + set + { + _KillMode = (value); + } + } + + private int _KillSignal = default(int); + public int KillSignal + { + get + { + return _KillSignal; + } + + set + { + _KillSignal = (value); + } + } + + private int _RestartKillSignal = default(int); + public int RestartKillSignal + { + get + { + return _RestartKillSignal; + } + + set + { + _RestartKillSignal = (value); + } + } + + private int _FinalKillSignal = default(int); + public int FinalKillSignal + { + get + { + return _FinalKillSignal; + } + + set + { + _FinalKillSignal = (value); + } + } + + private bool _SendSIGKILL = default(bool); + public bool SendSIGKILL + { + get + { + return _SendSIGKILL; + } + + set + { + _SendSIGKILL = (value); + } + } + + private bool _SendSIGHUP = default(bool); + public bool SendSIGHUP + { + get + { + return _SendSIGHUP; + } + + set + { + _SendSIGHUP = (value); + } + } + + private int _WatchdogSignal = default(int); + public int WatchdogSignal + { + get + { + return _WatchdogSignal; + } + + set + { + _WatchdogSignal = (value); + } + } + } + + static class SocketExtensions + { + public static Task GetBindIPv6OnlyAsync(this ISocket o) => o.GetAsync("BindIPv6Only"); + public static Task GetBacklogAsync(this ISocket o) => o.GetAsync("Backlog"); + public static Task GetTimeoutUSecAsync(this ISocket o) => o.GetAsync("TimeoutUSec"); + public static Task GetBindToDeviceAsync(this ISocket o) => o.GetAsync("BindToDevice"); + public static Task GetSocketUserAsync(this ISocket o) => o.GetAsync("SocketUser"); + public static Task GetSocketGroupAsync(this ISocket o) => o.GetAsync("SocketGroup"); + public static Task GetSocketModeAsync(this ISocket o) => o.GetAsync("SocketMode"); + public static Task GetDirectoryModeAsync(this ISocket o) => o.GetAsync("DirectoryMode"); + public static Task GetAcceptAsync(this ISocket o) => o.GetAsync("Accept"); + public static Task GetFlushPendingAsync(this ISocket o) => o.GetAsync("FlushPending"); + public static Task GetWritableAsync(this ISocket o) => o.GetAsync("Writable"); + public static Task GetKeepAliveAsync(this ISocket o) => o.GetAsync("KeepAlive"); + public static Task GetKeepAliveTimeUSecAsync(this ISocket o) => o.GetAsync("KeepAliveTimeUSec"); + public static Task GetKeepAliveIntervalUSecAsync(this ISocket o) => o.GetAsync("KeepAliveIntervalUSec"); + public static Task GetKeepAliveProbesAsync(this ISocket o) => o.GetAsync("KeepAliveProbes"); + public static Task GetDeferAcceptUSecAsync(this ISocket o) => o.GetAsync("DeferAcceptUSec"); + public static Task GetNoDelayAsync(this ISocket o) => o.GetAsync("NoDelay"); + public static Task GetPriorityAsync(this ISocket o) => o.GetAsync("Priority"); + public static Task GetReceiveBufferAsync(this ISocket o) => o.GetAsync("ReceiveBuffer"); + public static Task GetSendBufferAsync(this ISocket o) => o.GetAsync("SendBuffer"); + public static Task GetIPTOSAsync(this ISocket o) => o.GetAsync("IPTOS"); + public static Task GetIPTTLAsync(this ISocket o) => o.GetAsync("IPTTL"); + public static Task GetPipeSizeAsync(this ISocket o) => o.GetAsync("PipeSize"); + public static Task GetFreeBindAsync(this ISocket o) => o.GetAsync("FreeBind"); + public static Task GetTransparentAsync(this ISocket o) => o.GetAsync("Transparent"); + public static Task GetBroadcastAsync(this ISocket o) => o.GetAsync("Broadcast"); + public static Task GetPassCredentialsAsync(this ISocket o) => o.GetAsync("PassCredentials"); + public static Task GetPassSecurityAsync(this ISocket o) => o.GetAsync("PassSecurity"); + public static Task GetPassPacketInfoAsync(this ISocket o) => o.GetAsync("PassPacketInfo"); + public static Task GetTimestampingAsync(this ISocket o) => o.GetAsync("Timestamping"); + public static Task GetRemoveOnStopAsync(this ISocket o) => o.GetAsync("RemoveOnStop"); + public static Task<(string, string)[]> GetListenAsync(this ISocket o) => o.GetAsync<(string, string)[]>("Listen"); + public static Task GetSymlinksAsync(this ISocket o) => o.GetAsync("Symlinks"); + public static Task GetMarkAsync(this ISocket o) => o.GetAsync("Mark"); + public static Task GetMaxConnectionsAsync(this ISocket o) => o.GetAsync("MaxConnections"); + public static Task GetMaxConnectionsPerSourceAsync(this ISocket o) => o.GetAsync("MaxConnectionsPerSource"); + public static Task GetMessageQueueMaxMessagesAsync(this ISocket o) => o.GetAsync("MessageQueueMaxMessages"); + public static Task GetMessageQueueMessageSizeAsync(this ISocket o) => o.GetAsync("MessageQueueMessageSize"); + public static Task GetTCPCongestionAsync(this ISocket o) => o.GetAsync("TCPCongestion"); + public static Task GetReusePortAsync(this ISocket o) => o.GetAsync("ReusePort"); + public static Task GetSmackLabelAsync(this ISocket o) => o.GetAsync("SmackLabel"); + public static Task GetSmackLabelIPInAsync(this ISocket o) => o.GetAsync("SmackLabelIPIn"); + public static Task GetSmackLabelIPOutAsync(this ISocket o) => o.GetAsync("SmackLabelIPOut"); + public static Task GetControlPIDAsync(this ISocket o) => o.GetAsync("ControlPID"); + public static Task GetResultAsync(this ISocket o) => o.GetAsync("Result"); + public static Task GetNConnectionsAsync(this ISocket o) => o.GetAsync("NConnections"); + public static Task GetNAcceptedAsync(this ISocket o) => o.GetAsync("NAccepted"); + public static Task GetNRefusedAsync(this ISocket o) => o.GetAsync("NRefused"); + public static Task GetFileDescriptorNameAsync(this ISocket o) => o.GetAsync("FileDescriptorName"); + public static Task GetSocketProtocolAsync(this ISocket o) => o.GetAsync("SocketProtocol"); + public static Task GetTriggerLimitIntervalUSecAsync(this ISocket o) => o.GetAsync("TriggerLimitIntervalUSec"); + public static Task GetTriggerLimitBurstAsync(this ISocket o) => o.GetAsync("TriggerLimitBurst"); + public static Task GetUIDAsync(this ISocket o) => o.GetAsync("UID"); + public static Task GetGIDAsync(this ISocket o) => o.GetAsync("GID"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartPreAsync(this ISocket o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStartPre"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStartPostAsync(this ISocket o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStartPost"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStopPreAsync(this ISocket o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStopPre"); + public static Task<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]> GetExecStopPostAsync(this ISocket o) => o.GetAsync<(string, string[], bool, ulong, ulong, ulong, ulong, uint, int, int)[]>("ExecStopPost"); + public static Task GetSliceAsync(this ISocket o) => o.GetAsync("Slice"); + public static Task GetControlGroupAsync(this ISocket o) => o.GetAsync("ControlGroup"); + public static Task GetControlGroupIdAsync(this ISocket o) => o.GetAsync("ControlGroupId"); + public static Task GetMemoryCurrentAsync(this ISocket o) => o.GetAsync("MemoryCurrent"); + public static Task GetMemoryAvailableAsync(this ISocket o) => o.GetAsync("MemoryAvailable"); + public static Task GetCPUUsageNSecAsync(this ISocket o) => o.GetAsync("CPUUsageNSec"); + public static Task GetEffectiveCPUsAsync(this ISocket o) => o.GetAsync("EffectiveCPUs"); + public static Task GetEffectiveMemoryNodesAsync(this ISocket o) => o.GetAsync("EffectiveMemoryNodes"); + public static Task GetTasksCurrentAsync(this ISocket o) => o.GetAsync("TasksCurrent"); + public static Task GetIPIngressBytesAsync(this ISocket o) => o.GetAsync("IPIngressBytes"); + public static Task GetIPIngressPacketsAsync(this ISocket o) => o.GetAsync("IPIngressPackets"); + public static Task GetIPEgressBytesAsync(this ISocket o) => o.GetAsync("IPEgressBytes"); + public static Task GetIPEgressPacketsAsync(this ISocket o) => o.GetAsync("IPEgressPackets"); + public static Task GetIOReadBytesAsync(this ISocket o) => o.GetAsync("IOReadBytes"); + public static Task GetIOReadOperationsAsync(this ISocket o) => o.GetAsync("IOReadOperations"); + public static Task GetIOWriteBytesAsync(this ISocket o) => o.GetAsync("IOWriteBytes"); + public static Task GetIOWriteOperationsAsync(this ISocket o) => o.GetAsync("IOWriteOperations"); + public static Task GetDelegateAsync(this ISocket o) => o.GetAsync("Delegate"); + public static Task GetDelegateControllersAsync(this ISocket o) => o.GetAsync("DelegateControllers"); + public static Task GetCPUAccountingAsync(this ISocket o) => o.GetAsync("CPUAccounting"); + public static Task GetCPUWeightAsync(this ISocket o) => o.GetAsync("CPUWeight"); + public static Task GetStartupCPUWeightAsync(this ISocket o) => o.GetAsync("StartupCPUWeight"); + public static Task GetCPUSharesAsync(this ISocket o) => o.GetAsync("CPUShares"); + public static Task GetStartupCPUSharesAsync(this ISocket o) => o.GetAsync("StartupCPUShares"); + public static Task GetCPUQuotaPerSecUSecAsync(this ISocket o) => o.GetAsync("CPUQuotaPerSecUSec"); + public static Task GetCPUQuotaPeriodUSecAsync(this ISocket o) => o.GetAsync("CPUQuotaPeriodUSec"); + public static Task GetAllowedCPUsAsync(this ISocket o) => o.GetAsync("AllowedCPUs"); + public static Task GetStartupAllowedCPUsAsync(this ISocket o) => o.GetAsync("StartupAllowedCPUs"); + public static Task GetAllowedMemoryNodesAsync(this ISocket o) => o.GetAsync("AllowedMemoryNodes"); + public static Task GetStartupAllowedMemoryNodesAsync(this ISocket o) => o.GetAsync("StartupAllowedMemoryNodes"); + public static Task GetIOAccountingAsync(this ISocket o) => o.GetAsync("IOAccounting"); + public static Task GetIOWeightAsync(this ISocket o) => o.GetAsync("IOWeight"); + public static Task GetStartupIOWeightAsync(this ISocket o) => o.GetAsync("StartupIOWeight"); + public static Task<(string, ulong)[]> GetIODeviceWeightAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("IODeviceWeight"); + public static Task<(string, ulong)[]> GetIOReadBandwidthMaxAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("IOReadBandwidthMax"); + public static Task<(string, ulong)[]> GetIOWriteBandwidthMaxAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("IOWriteBandwidthMax"); + public static Task<(string, ulong)[]> GetIOReadIOPSMaxAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("IOReadIOPSMax"); + public static Task<(string, ulong)[]> GetIOWriteIOPSMaxAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("IOWriteIOPSMax"); + public static Task<(string, ulong)[]> GetIODeviceLatencyTargetUSecAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("IODeviceLatencyTargetUSec"); + public static Task GetBlockIOAccountingAsync(this ISocket o) => o.GetAsync("BlockIOAccounting"); + public static Task GetBlockIOWeightAsync(this ISocket o) => o.GetAsync("BlockIOWeight"); + public static Task GetStartupBlockIOWeightAsync(this ISocket o) => o.GetAsync("StartupBlockIOWeight"); + public static Task<(string, ulong)[]> GetBlockIODeviceWeightAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("BlockIODeviceWeight"); + public static Task<(string, ulong)[]> GetBlockIOReadBandwidthAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("BlockIOReadBandwidth"); + public static Task<(string, ulong)[]> GetBlockIOWriteBandwidthAsync(this ISocket o) => o.GetAsync<(string, ulong)[]>("BlockIOWriteBandwidth"); + public static Task GetMemoryAccountingAsync(this ISocket o) => o.GetAsync("MemoryAccounting"); + public static Task GetDefaultMemoryLowAsync(this ISocket o) => o.GetAsync("DefaultMemoryLow"); + public static Task GetDefaultMemoryMinAsync(this ISocket o) => o.GetAsync("DefaultMemoryMin"); + public static Task GetMemoryMinAsync(this ISocket o) => o.GetAsync("MemoryMin"); + public static Task GetMemoryLowAsync(this ISocket o) => o.GetAsync("MemoryLow"); + public static Task GetMemoryHighAsync(this ISocket o) => o.GetAsync("MemoryHigh"); + public static Task GetMemoryMaxAsync(this ISocket o) => o.GetAsync("MemoryMax"); + public static Task GetMemorySwapMaxAsync(this ISocket o) => o.GetAsync("MemorySwapMax"); + public static Task GetMemoryLimitAsync(this ISocket o) => o.GetAsync("MemoryLimit"); + public static Task GetDevicePolicyAsync(this ISocket o) => o.GetAsync("DevicePolicy"); + public static Task<(string, string)[]> GetDeviceAllowAsync(this ISocket o) => o.GetAsync<(string, string)[]>("DeviceAllow"); + public static Task GetTasksAccountingAsync(this ISocket o) => o.GetAsync("TasksAccounting"); + public static Task GetTasksMaxAsync(this ISocket o) => o.GetAsync("TasksMax"); + public static Task GetIPAccountingAsync(this ISocket o) => o.GetAsync("IPAccounting"); + public static Task<(int, byte[], uint)[]> GetIPAddressAllowAsync(this ISocket o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressAllow"); + public static Task<(int, byte[], uint)[]> GetIPAddressDenyAsync(this ISocket o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressDeny"); + public static Task GetIPIngressFilterPathAsync(this ISocket o) => o.GetAsync("IPIngressFilterPath"); + public static Task GetIPEgressFilterPathAsync(this ISocket o) => o.GetAsync("IPEgressFilterPath"); + public static Task GetDisableControllersAsync(this ISocket o) => o.GetAsync("DisableControllers"); + public static Task GetManagedOOMSwapAsync(this ISocket o) => o.GetAsync("ManagedOOMSwap"); + public static Task GetManagedOOMMemoryPressureAsync(this ISocket o) => o.GetAsync("ManagedOOMMemoryPressure"); + public static Task GetManagedOOMMemoryPressureLimitAsync(this ISocket o) => o.GetAsync("ManagedOOMMemoryPressureLimit"); + public static Task GetManagedOOMPreferenceAsync(this ISocket o) => o.GetAsync("ManagedOOMPreference"); + public static Task<(string, string)[]> GetBPFProgramAsync(this ISocket o) => o.GetAsync<(string, string)[]>("BPFProgram"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindAllowAsync(this ISocket o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindAllow"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindDenyAsync(this ISocket o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindDeny"); + public static Task<(bool, string[])> GetRestrictNetworkInterfacesAsync(this ISocket o) => o.GetAsync<(bool, string[])>("RestrictNetworkInterfaces"); + public static Task GetEnvironmentAsync(this ISocket o) => o.GetAsync("Environment"); + public static Task<(string, bool)[]> GetEnvironmentFilesAsync(this ISocket o) => o.GetAsync<(string, bool)[]>("EnvironmentFiles"); + public static Task GetPassEnvironmentAsync(this ISocket o) => o.GetAsync("PassEnvironment"); + public static Task GetUnsetEnvironmentAsync(this ISocket o) => o.GetAsync("UnsetEnvironment"); + public static Task GetUMaskAsync(this ISocket o) => o.GetAsync("UMask"); + public static Task GetLimitCPUAsync(this ISocket o) => o.GetAsync("LimitCPU"); + public static Task GetLimitCPUSoftAsync(this ISocket o) => o.GetAsync("LimitCPUSoft"); + public static Task GetLimitFSIZEAsync(this ISocket o) => o.GetAsync("LimitFSIZE"); + public static Task GetLimitFSIZESoftAsync(this ISocket o) => o.GetAsync("LimitFSIZESoft"); + public static Task GetLimitDATAAsync(this ISocket o) => o.GetAsync("LimitDATA"); + public static Task GetLimitDATASoftAsync(this ISocket o) => o.GetAsync("LimitDATASoft"); + public static Task GetLimitSTACKAsync(this ISocket o) => o.GetAsync("LimitSTACK"); + public static Task GetLimitSTACKSoftAsync(this ISocket o) => o.GetAsync("LimitSTACKSoft"); + public static Task GetLimitCOREAsync(this ISocket o) => o.GetAsync("LimitCORE"); + public static Task GetLimitCORESoftAsync(this ISocket o) => o.GetAsync("LimitCORESoft"); + public static Task GetLimitRSSAsync(this ISocket o) => o.GetAsync("LimitRSS"); + public static Task GetLimitRSSSoftAsync(this ISocket o) => o.GetAsync("LimitRSSSoft"); + public static Task GetLimitNOFILEAsync(this ISocket o) => o.GetAsync("LimitNOFILE"); + public static Task GetLimitNOFILESoftAsync(this ISocket o) => o.GetAsync("LimitNOFILESoft"); + public static Task GetLimitASAsync(this ISocket o) => o.GetAsync("LimitAS"); + public static Task GetLimitASSoftAsync(this ISocket o) => o.GetAsync("LimitASSoft"); + public static Task GetLimitNPROCAsync(this ISocket o) => o.GetAsync("LimitNPROC"); + public static Task GetLimitNPROCSoftAsync(this ISocket o) => o.GetAsync("LimitNPROCSoft"); + public static Task GetLimitMEMLOCKAsync(this ISocket o) => o.GetAsync("LimitMEMLOCK"); + public static Task GetLimitMEMLOCKSoftAsync(this ISocket o) => o.GetAsync("LimitMEMLOCKSoft"); + public static Task GetLimitLOCKSAsync(this ISocket o) => o.GetAsync("LimitLOCKS"); + public static Task GetLimitLOCKSSoftAsync(this ISocket o) => o.GetAsync("LimitLOCKSSoft"); + public static Task GetLimitSIGPENDINGAsync(this ISocket o) => o.GetAsync("LimitSIGPENDING"); + public static Task GetLimitSIGPENDINGSoftAsync(this ISocket o) => o.GetAsync("LimitSIGPENDINGSoft"); + public static Task GetLimitMSGQUEUEAsync(this ISocket o) => o.GetAsync("LimitMSGQUEUE"); + public static Task GetLimitMSGQUEUESoftAsync(this ISocket o) => o.GetAsync("LimitMSGQUEUESoft"); + public static Task GetLimitNICEAsync(this ISocket o) => o.GetAsync("LimitNICE"); + public static Task GetLimitNICESoftAsync(this ISocket o) => o.GetAsync("LimitNICESoft"); + public static Task GetLimitRTPRIOAsync(this ISocket o) => o.GetAsync("LimitRTPRIO"); + public static Task GetLimitRTPRIOSoftAsync(this ISocket o) => o.GetAsync("LimitRTPRIOSoft"); + public static Task GetLimitRTTIMEAsync(this ISocket o) => o.GetAsync("LimitRTTIME"); + public static Task GetLimitRTTIMESoftAsync(this ISocket o) => o.GetAsync("LimitRTTIMESoft"); + public static Task GetWorkingDirectoryAsync(this ISocket o) => o.GetAsync("WorkingDirectory"); + public static Task GetRootDirectoryAsync(this ISocket o) => o.GetAsync("RootDirectory"); + public static Task GetRootImageAsync(this ISocket o) => o.GetAsync("RootImage"); + public static Task<(string, string)[]> GetRootImageOptionsAsync(this ISocket o) => o.GetAsync<(string, string)[]>("RootImageOptions"); + public static Task GetRootHashAsync(this ISocket o) => o.GetAsync("RootHash"); + public static Task GetRootHashPathAsync(this ISocket o) => o.GetAsync("RootHashPath"); + public static Task GetRootHashSignatureAsync(this ISocket o) => o.GetAsync("RootHashSignature"); + public static Task GetRootHashSignaturePathAsync(this ISocket o) => o.GetAsync("RootHashSignaturePath"); + public static Task GetRootVerityAsync(this ISocket o) => o.GetAsync("RootVerity"); + public static Task GetExtensionDirectoriesAsync(this ISocket o) => o.GetAsync("ExtensionDirectories"); + public static Task<(string, bool, (string, string)[])[]> GetExtensionImagesAsync(this ISocket o) => o.GetAsync<(string, bool, (string, string)[])[]>("ExtensionImages"); + public static Task<(string, string, bool, (string, string)[])[]> GetMountImagesAsync(this ISocket o) => o.GetAsync<(string, string, bool, (string, string)[])[]>("MountImages"); + public static Task GetOOMScoreAdjustAsync(this ISocket o) => o.GetAsync("OOMScoreAdjust"); + public static Task GetCoredumpFilterAsync(this ISocket o) => o.GetAsync("CoredumpFilter"); + public static Task GetNiceAsync(this ISocket o) => o.GetAsync("Nice"); + public static Task GetIOSchedulingClassAsync(this ISocket o) => o.GetAsync("IOSchedulingClass"); + public static Task GetIOSchedulingPriorityAsync(this ISocket o) => o.GetAsync("IOSchedulingPriority"); + public static Task GetCPUSchedulingPolicyAsync(this ISocket o) => o.GetAsync("CPUSchedulingPolicy"); + public static Task GetCPUSchedulingPriorityAsync(this ISocket o) => o.GetAsync("CPUSchedulingPriority"); + public static Task GetCPUAffinityAsync(this ISocket o) => o.GetAsync("CPUAffinity"); + public static Task GetCPUAffinityFromNUMAAsync(this ISocket o) => o.GetAsync("CPUAffinityFromNUMA"); + public static Task GetNUMAPolicyAsync(this ISocket o) => o.GetAsync("NUMAPolicy"); + public static Task GetNUMAMaskAsync(this ISocket o) => o.GetAsync("NUMAMask"); + public static Task GetTimerSlackNSecAsync(this ISocket o) => o.GetAsync("TimerSlackNSec"); + public static Task GetCPUSchedulingResetOnForkAsync(this ISocket o) => o.GetAsync("CPUSchedulingResetOnFork"); + public static Task GetNonBlockingAsync(this ISocket o) => o.GetAsync("NonBlocking"); + public static Task GetStandardInputAsync(this ISocket o) => o.GetAsync("StandardInput"); + public static Task GetStandardInputFileDescriptorNameAsync(this ISocket o) => o.GetAsync("StandardInputFileDescriptorName"); + public static Task GetStandardInputDataAsync(this ISocket o) => o.GetAsync("StandardInputData"); + public static Task GetStandardOutputAsync(this ISocket o) => o.GetAsync("StandardOutput"); + public static Task GetStandardOutputFileDescriptorNameAsync(this ISocket o) => o.GetAsync("StandardOutputFileDescriptorName"); + public static Task GetStandardErrorAsync(this ISocket o) => o.GetAsync("StandardError"); + public static Task GetStandardErrorFileDescriptorNameAsync(this ISocket o) => o.GetAsync("StandardErrorFileDescriptorName"); + public static Task GetTTYPathAsync(this ISocket o) => o.GetAsync("TTYPath"); + public static Task GetTTYResetAsync(this ISocket o) => o.GetAsync("TTYReset"); + public static Task GetTTYVHangupAsync(this ISocket o) => o.GetAsync("TTYVHangup"); + public static Task GetTTYVTDisallocateAsync(this ISocket o) => o.GetAsync("TTYVTDisallocate"); + public static Task GetTTYRowsAsync(this ISocket o) => o.GetAsync("TTYRows"); + public static Task GetTTYColumnsAsync(this ISocket o) => o.GetAsync("TTYColumns"); + public static Task GetSyslogPriorityAsync(this ISocket o) => o.GetAsync("SyslogPriority"); + public static Task GetSyslogIdentifierAsync(this ISocket o) => o.GetAsync("SyslogIdentifier"); + public static Task GetSyslogLevelPrefixAsync(this ISocket o) => o.GetAsync("SyslogLevelPrefix"); + public static Task GetSyslogLevelAsync(this ISocket o) => o.GetAsync("SyslogLevel"); + public static Task GetSyslogFacilityAsync(this ISocket o) => o.GetAsync("SyslogFacility"); + public static Task GetLogLevelMaxAsync(this ISocket o) => o.GetAsync("LogLevelMax"); + public static Task GetLogRateLimitIntervalUSecAsync(this ISocket o) => o.GetAsync("LogRateLimitIntervalUSec"); + public static Task GetLogRateLimitBurstAsync(this ISocket o) => o.GetAsync("LogRateLimitBurst"); + public static Task GetLogExtraFieldsAsync(this ISocket o) => o.GetAsync("LogExtraFields"); + public static Task GetLogNamespaceAsync(this ISocket o) => o.GetAsync("LogNamespace"); + public static Task GetSecureBitsAsync(this ISocket o) => o.GetAsync("SecureBits"); + public static Task GetCapabilityBoundingSetAsync(this ISocket o) => o.GetAsync("CapabilityBoundingSet"); + public static Task GetAmbientCapabilitiesAsync(this ISocket o) => o.GetAsync("AmbientCapabilities"); + public static Task GetUserAsync(this ISocket o) => o.GetAsync("User"); + public static Task GetGroupAsync(this ISocket o) => o.GetAsync("Group"); + public static Task GetDynamicUserAsync(this ISocket o) => o.GetAsync("DynamicUser"); + public static Task GetRemoveIPCAsync(this ISocket o) => o.GetAsync("RemoveIPC"); + public static Task<(string, byte[])[]> GetSetCredentialAsync(this ISocket o) => o.GetAsync<(string, byte[])[]>("SetCredential"); + public static Task<(string, byte[])[]> GetSetCredentialEncryptedAsync(this ISocket o) => o.GetAsync<(string, byte[])[]>("SetCredentialEncrypted"); + public static Task<(string, string)[]> GetLoadCredentialAsync(this ISocket o) => o.GetAsync<(string, string)[]>("LoadCredential"); + public static Task<(string, string)[]> GetLoadCredentialEncryptedAsync(this ISocket o) => o.GetAsync<(string, string)[]>("LoadCredentialEncrypted"); + public static Task GetSupplementaryGroupsAsync(this ISocket o) => o.GetAsync("SupplementaryGroups"); + public static Task GetPAMNameAsync(this ISocket o) => o.GetAsync("PAMName"); + public static Task GetReadWritePathsAsync(this ISocket o) => o.GetAsync("ReadWritePaths"); + public static Task GetReadOnlyPathsAsync(this ISocket o) => o.GetAsync("ReadOnlyPaths"); + public static Task GetInaccessiblePathsAsync(this ISocket o) => o.GetAsync("InaccessiblePaths"); + public static Task GetExecPathsAsync(this ISocket o) => o.GetAsync("ExecPaths"); + public static Task GetNoExecPathsAsync(this ISocket o) => o.GetAsync("NoExecPaths"); + public static Task GetExecSearchPathAsync(this ISocket o) => o.GetAsync("ExecSearchPath"); + public static Task GetMountFlagsAsync(this ISocket o) => o.GetAsync("MountFlags"); + public static Task GetPrivateTmpAsync(this ISocket o) => o.GetAsync("PrivateTmp"); + public static Task GetPrivateDevicesAsync(this ISocket o) => o.GetAsync("PrivateDevices"); + public static Task GetProtectClockAsync(this ISocket o) => o.GetAsync("ProtectClock"); + public static Task GetProtectKernelTunablesAsync(this ISocket o) => o.GetAsync("ProtectKernelTunables"); + public static Task GetProtectKernelModulesAsync(this ISocket o) => o.GetAsync("ProtectKernelModules"); + public static Task GetProtectKernelLogsAsync(this ISocket o) => o.GetAsync("ProtectKernelLogs"); + public static Task GetProtectControlGroupsAsync(this ISocket o) => o.GetAsync("ProtectControlGroups"); + public static Task GetPrivateNetworkAsync(this ISocket o) => o.GetAsync("PrivateNetwork"); + public static Task GetPrivateUsersAsync(this ISocket o) => o.GetAsync("PrivateUsers"); + public static Task GetPrivateMountsAsync(this ISocket o) => o.GetAsync("PrivateMounts"); + public static Task GetPrivateIPCAsync(this ISocket o) => o.GetAsync("PrivateIPC"); + public static Task GetProtectHomeAsync(this ISocket o) => o.GetAsync("ProtectHome"); + public static Task GetProtectSystemAsync(this ISocket o) => o.GetAsync("ProtectSystem"); + public static Task GetSameProcessGroupAsync(this ISocket o) => o.GetAsync("SameProcessGroup"); + public static Task GetUtmpIdentifierAsync(this ISocket o) => o.GetAsync("UtmpIdentifier"); + public static Task GetUtmpModeAsync(this ISocket o) => o.GetAsync("UtmpMode"); + public static Task<(bool, string)> GetSELinuxContextAsync(this ISocket o) => o.GetAsync<(bool, string)>("SELinuxContext"); + public static Task<(bool, string)> GetAppArmorProfileAsync(this ISocket o) => o.GetAsync<(bool, string)>("AppArmorProfile"); + public static Task<(bool, string)> GetSmackProcessLabelAsync(this ISocket o) => o.GetAsync<(bool, string)>("SmackProcessLabel"); + public static Task GetIgnoreSIGPIPEAsync(this ISocket o) => o.GetAsync("IgnoreSIGPIPE"); + public static Task GetNoNewPrivilegesAsync(this ISocket o) => o.GetAsync("NoNewPrivileges"); + public static Task<(bool, string[])> GetSystemCallFilterAsync(this ISocket o) => o.GetAsync<(bool, string[])>("SystemCallFilter"); + public static Task GetSystemCallArchitecturesAsync(this ISocket o) => o.GetAsync("SystemCallArchitectures"); + public static Task GetSystemCallErrorNumberAsync(this ISocket o) => o.GetAsync("SystemCallErrorNumber"); + public static Task<(bool, string[])> GetSystemCallLogAsync(this ISocket o) => o.GetAsync<(bool, string[])>("SystemCallLog"); + public static Task GetPersonalityAsync(this ISocket o) => o.GetAsync("Personality"); + public static Task GetLockPersonalityAsync(this ISocket o) => o.GetAsync("LockPersonality"); + public static Task<(bool, string[])> GetRestrictAddressFamiliesAsync(this ISocket o) => o.GetAsync<(bool, string[])>("RestrictAddressFamilies"); + public static Task<(string, string, ulong)[]> GetRuntimeDirectorySymlinkAsync(this ISocket o) => o.GetAsync<(string, string, ulong)[]>("RuntimeDirectorySymlink"); + public static Task GetRuntimeDirectoryPreserveAsync(this ISocket o) => o.GetAsync("RuntimeDirectoryPreserve"); + public static Task GetRuntimeDirectoryModeAsync(this ISocket o) => o.GetAsync("RuntimeDirectoryMode"); + public static Task GetRuntimeDirectoryAsync(this ISocket o) => o.GetAsync("RuntimeDirectory"); + public static Task<(string, string, ulong)[]> GetStateDirectorySymlinkAsync(this ISocket o) => o.GetAsync<(string, string, ulong)[]>("StateDirectorySymlink"); + public static Task GetStateDirectoryModeAsync(this ISocket o) => o.GetAsync("StateDirectoryMode"); + public static Task GetStateDirectoryAsync(this ISocket o) => o.GetAsync("StateDirectory"); + public static Task<(string, string, ulong)[]> GetCacheDirectorySymlinkAsync(this ISocket o) => o.GetAsync<(string, string, ulong)[]>("CacheDirectorySymlink"); + public static Task GetCacheDirectoryModeAsync(this ISocket o) => o.GetAsync("CacheDirectoryMode"); + public static Task GetCacheDirectoryAsync(this ISocket o) => o.GetAsync("CacheDirectory"); + public static Task<(string, string, ulong)[]> GetLogsDirectorySymlinkAsync(this ISocket o) => o.GetAsync<(string, string, ulong)[]>("LogsDirectorySymlink"); + public static Task GetLogsDirectoryModeAsync(this ISocket o) => o.GetAsync("LogsDirectoryMode"); + public static Task GetLogsDirectoryAsync(this ISocket o) => o.GetAsync("LogsDirectory"); + public static Task GetConfigurationDirectoryModeAsync(this ISocket o) => o.GetAsync("ConfigurationDirectoryMode"); + public static Task GetConfigurationDirectoryAsync(this ISocket o) => o.GetAsync("ConfigurationDirectory"); + public static Task GetTimeoutCleanUSecAsync(this ISocket o) => o.GetAsync("TimeoutCleanUSec"); + public static Task GetMemoryDenyWriteExecuteAsync(this ISocket o) => o.GetAsync("MemoryDenyWriteExecute"); + public static Task GetRestrictRealtimeAsync(this ISocket o) => o.GetAsync("RestrictRealtime"); + public static Task GetRestrictSUIDSGIDAsync(this ISocket o) => o.GetAsync("RestrictSUIDSGID"); + public static Task GetRestrictNamespacesAsync(this ISocket o) => o.GetAsync("RestrictNamespaces"); + public static Task<(bool, string[])> GetRestrictFileSystemsAsync(this ISocket o) => o.GetAsync<(bool, string[])>("RestrictFileSystems"); + public static Task<(string, string, bool, ulong)[]> GetBindPathsAsync(this ISocket o) => o.GetAsync<(string, string, bool, ulong)[]>("BindPaths"); + public static Task<(string, string, bool, ulong)[]> GetBindReadOnlyPathsAsync(this ISocket o) => o.GetAsync<(string, string, bool, ulong)[]>("BindReadOnlyPaths"); + public static Task<(string, string)[]> GetTemporaryFileSystemAsync(this ISocket o) => o.GetAsync<(string, string)[]>("TemporaryFileSystem"); + public static Task GetMountAPIVFSAsync(this ISocket o) => o.GetAsync("MountAPIVFS"); + public static Task GetKeyringModeAsync(this ISocket o) => o.GetAsync("KeyringMode"); + public static Task GetProtectProcAsync(this ISocket o) => o.GetAsync("ProtectProc"); + public static Task GetProcSubsetAsync(this ISocket o) => o.GetAsync("ProcSubset"); + public static Task GetProtectHostnameAsync(this ISocket o) => o.GetAsync("ProtectHostname"); + public static Task GetNetworkNamespacePathAsync(this ISocket o) => o.GetAsync("NetworkNamespacePath"); + public static Task GetIPCNamespacePathAsync(this ISocket o) => o.GetAsync("IPCNamespacePath"); + public static Task GetKillModeAsync(this ISocket o) => o.GetAsync("KillMode"); + public static Task GetKillSignalAsync(this ISocket o) => o.GetAsync("KillSignal"); + public static Task GetRestartKillSignalAsync(this ISocket o) => o.GetAsync("RestartKillSignal"); + public static Task GetFinalKillSignalAsync(this ISocket o) => o.GetAsync("FinalKillSignal"); + public static Task GetSendSIGKILLAsync(this ISocket o) => o.GetAsync("SendSIGKILL"); + public static Task GetSendSIGHUPAsync(this ISocket o) => o.GetAsync("SendSIGHUP"); + public static Task GetWatchdogSignalAsync(this ISocket o) => o.GetAsync("WatchdogSignal"); + } + + [DBusInterface("org.freedesktop.systemd1.Path")] + interface IPath : IDBusObject + { + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class PathProperties + { + private string _Unit = default(string); + public string Unit + { + get + { + return _Unit; + } + + set + { + _Unit = (value); + } + } + + private (string, string)[] _Paths = default((string, string)[]); + public (string, string)[] Paths + { + get + { + return _Paths; + } + + set + { + _Paths = (value); + } + } + + private bool _MakeDirectory = default(bool); + public bool MakeDirectory + { + get + { + return _MakeDirectory; + } + + set + { + _MakeDirectory = (value); + } + } + + private uint _DirectoryMode = default(uint); + public uint DirectoryMode + { + get + { + return _DirectoryMode; + } + + set + { + _DirectoryMode = (value); + } + } + + private string _Result = default(string); + public string Result + { + get + { + return _Result; + } + + set + { + _Result = (value); + } + } + + private ulong _TriggerLimitIntervalUSec = default(ulong); + public ulong TriggerLimitIntervalUSec + { + get + { + return _TriggerLimitIntervalUSec; + } + + set + { + _TriggerLimitIntervalUSec = (value); + } + } + + private uint _TriggerLimitBurst = default(uint); + public uint TriggerLimitBurst + { + get + { + return _TriggerLimitBurst; + } + + set + { + _TriggerLimitBurst = (value); + } + } + } + + static class PathExtensions + { + public static Task GetUnitAsync(this IPath o) => o.GetAsync("Unit"); + public static Task<(string, string)[]> GetPathsAsync(this IPath o) => o.GetAsync<(string, string)[]>("Paths"); + public static Task GetMakeDirectoryAsync(this IPath o) => o.GetAsync("MakeDirectory"); + public static Task GetDirectoryModeAsync(this IPath o) => o.GetAsync("DirectoryMode"); + public static Task GetResultAsync(this IPath o) => o.GetAsync("Result"); + public static Task GetTriggerLimitIntervalUSecAsync(this IPath o) => o.GetAsync("TriggerLimitIntervalUSec"); + public static Task GetTriggerLimitBurstAsync(this IPath o) => o.GetAsync("TriggerLimitBurst"); + } + + [DBusInterface("org.freedesktop.systemd1.Automount")] + interface IAutomount : IDBusObject + { + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class AutomountProperties + { + private string _Where = default(string); + public string Where + { + get + { + return _Where; + } + + set + { + _Where = (value); + } + } + + private string _ExtraOptions = default(string); + public string ExtraOptions + { + get + { + return _ExtraOptions; + } + + set + { + _ExtraOptions = (value); + } + } + + private uint _DirectoryMode = default(uint); + public uint DirectoryMode + { + get + { + return _DirectoryMode; + } + + set + { + _DirectoryMode = (value); + } + } + + private string _Result = default(string); + public string Result + { + get + { + return _Result; + } + + set + { + _Result = (value); + } + } + + private ulong _TimeoutIdleUSec = default(ulong); + public ulong TimeoutIdleUSec + { + get + { + return _TimeoutIdleUSec; + } + + set + { + _TimeoutIdleUSec = (value); + } + } + } + + static class AutomountExtensions + { + public static Task GetWhereAsync(this IAutomount o) => o.GetAsync("Where"); + public static Task GetExtraOptionsAsync(this IAutomount o) => o.GetAsync("ExtraOptions"); + public static Task GetDirectoryModeAsync(this IAutomount o) => o.GetAsync("DirectoryMode"); + public static Task GetResultAsync(this IAutomount o) => o.GetAsync("Result"); + public static Task GetTimeoutIdleUSecAsync(this IAutomount o) => o.GetAsync("TimeoutIdleUSec"); + } + + [DBusInterface("org.freedesktop.systemd1.Slice")] + interface ISlice : IDBusObject + { + Task<(string, uint, string)[]> GetProcessesAsync(); + Task AttachProcessesAsync(string Subcgroup, uint[] Pids); + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class SliceProperties + { + private string _Slice = default(string); + public string Slice + { + get + { + return _Slice; + } + + set + { + _Slice = (value); + } + } + + private string _ControlGroup = default(string); + public string ControlGroup + { + get + { + return _ControlGroup; + } + + set + { + _ControlGroup = (value); + } + } + + private ulong _ControlGroupId = default(ulong); + public ulong ControlGroupId + { + get + { + return _ControlGroupId; + } + + set + { + _ControlGroupId = (value); + } + } + + private ulong _MemoryCurrent = default(ulong); + public ulong MemoryCurrent + { + get + { + return _MemoryCurrent; + } + + set + { + _MemoryCurrent = (value); + } + } + + private ulong _MemoryAvailable = default(ulong); + public ulong MemoryAvailable + { + get + { + return _MemoryAvailable; + } + + set + { + _MemoryAvailable = (value); + } + } + + private ulong _CPUUsageNSec = default(ulong); + public ulong CPUUsageNSec + { + get + { + return _CPUUsageNSec; + } + + set + { + _CPUUsageNSec = (value); + } + } + + private byte[] _EffectiveCPUs = default(byte[]); + public byte[] EffectiveCPUs + { + get + { + return _EffectiveCPUs; + } + + set + { + _EffectiveCPUs = (value); + } + } + + private byte[] _EffectiveMemoryNodes = default(byte[]); + public byte[] EffectiveMemoryNodes + { + get + { + return _EffectiveMemoryNodes; + } + + set + { + _EffectiveMemoryNodes = (value); + } + } + + private ulong _TasksCurrent = default(ulong); + public ulong TasksCurrent + { + get + { + return _TasksCurrent; + } + + set + { + _TasksCurrent = (value); + } + } + + private ulong _IPIngressBytes = default(ulong); + public ulong IPIngressBytes + { + get + { + return _IPIngressBytes; + } + + set + { + _IPIngressBytes = (value); + } + } + + private ulong _IPIngressPackets = default(ulong); + public ulong IPIngressPackets + { + get + { + return _IPIngressPackets; + } + + set + { + _IPIngressPackets = (value); + } + } + + private ulong _IPEgressBytes = default(ulong); + public ulong IPEgressBytes + { + get + { + return _IPEgressBytes; + } + + set + { + _IPEgressBytes = (value); + } + } + + private ulong _IPEgressPackets = default(ulong); + public ulong IPEgressPackets + { + get + { + return _IPEgressPackets; + } + + set + { + _IPEgressPackets = (value); + } + } + + private ulong _IOReadBytes = default(ulong); + public ulong IOReadBytes + { + get + { + return _IOReadBytes; + } + + set + { + _IOReadBytes = (value); + } + } + + private ulong _IOReadOperations = default(ulong); + public ulong IOReadOperations + { + get + { + return _IOReadOperations; + } + + set + { + _IOReadOperations = (value); + } + } + + private ulong _IOWriteBytes = default(ulong); + public ulong IOWriteBytes + { + get + { + return _IOWriteBytes; + } + + set + { + _IOWriteBytes = (value); + } + } + + private ulong _IOWriteOperations = default(ulong); + public ulong IOWriteOperations + { + get + { + return _IOWriteOperations; + } + + set + { + _IOWriteOperations = (value); + } + } + + private bool _Delegate = default(bool); + public bool Delegate + { + get + { + return _Delegate; + } + + set + { + _Delegate = (value); + } + } + + private string[] _DelegateControllers = default(string[]); + public string[] DelegateControllers + { + get + { + return _DelegateControllers; + } + + set + { + _DelegateControllers = (value); + } + } + + private bool _CPUAccounting = default(bool); + public bool CPUAccounting + { + get + { + return _CPUAccounting; + } + + set + { + _CPUAccounting = (value); + } + } + + private ulong _CPUWeight = default(ulong); + public ulong CPUWeight + { + get + { + return _CPUWeight; + } + + set + { + _CPUWeight = (value); + } + } + + private ulong _StartupCPUWeight = default(ulong); + public ulong StartupCPUWeight + { + get + { + return _StartupCPUWeight; + } + + set + { + _StartupCPUWeight = (value); + } + } + + private ulong _CPUShares = default(ulong); + public ulong CPUShares + { + get + { + return _CPUShares; + } + + set + { + _CPUShares = (value); + } + } + + private ulong _StartupCPUShares = default(ulong); + public ulong StartupCPUShares + { + get + { + return _StartupCPUShares; + } + + set + { + _StartupCPUShares = (value); + } + } + + private ulong _CPUQuotaPerSecUSec = default(ulong); + public ulong CPUQuotaPerSecUSec + { + get + { + return _CPUQuotaPerSecUSec; + } + + set + { + _CPUQuotaPerSecUSec = (value); + } + } + + private ulong _CPUQuotaPeriodUSec = default(ulong); + public ulong CPUQuotaPeriodUSec + { + get + { + return _CPUQuotaPeriodUSec; + } + + set + { + _CPUQuotaPeriodUSec = (value); + } + } + + private byte[] _AllowedCPUs = default(byte[]); + public byte[] AllowedCPUs + { + get + { + return _AllowedCPUs; + } + + set + { + _AllowedCPUs = (value); + } + } + + private byte[] _StartupAllowedCPUs = default(byte[]); + public byte[] StartupAllowedCPUs + { + get + { + return _StartupAllowedCPUs; + } + + set + { + _StartupAllowedCPUs = (value); + } + } + + private byte[] _AllowedMemoryNodes = default(byte[]); + public byte[] AllowedMemoryNodes + { + get + { + return _AllowedMemoryNodes; + } + + set + { + _AllowedMemoryNodes = (value); + } + } + + private byte[] _StartupAllowedMemoryNodes = default(byte[]); + public byte[] StartupAllowedMemoryNodes + { + get + { + return _StartupAllowedMemoryNodes; + } + + set + { + _StartupAllowedMemoryNodes = (value); + } + } + + private bool _IOAccounting = default(bool); + public bool IOAccounting + { + get + { + return _IOAccounting; + } + + set + { + _IOAccounting = (value); + } + } + + private ulong _IOWeight = default(ulong); + public ulong IOWeight + { + get + { + return _IOWeight; + } + + set + { + _IOWeight = (value); + } + } + + private ulong _StartupIOWeight = default(ulong); + public ulong StartupIOWeight + { + get + { + return _StartupIOWeight; + } + + set + { + _StartupIOWeight = (value); + } + } + + private (string, ulong)[] _IODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] IODeviceWeight + { + get + { + return _IODeviceWeight; + } + + set + { + _IODeviceWeight = (value); + } + } + + private (string, ulong)[] _IOReadBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOReadBandwidthMax + { + get + { + return _IOReadBandwidthMax; + } + + set + { + _IOReadBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOWriteBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteBandwidthMax + { + get + { + return _IOWriteBandwidthMax; + } + + set + { + _IOWriteBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOReadIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOReadIOPSMax + { + get + { + return _IOReadIOPSMax; + } + + set + { + _IOReadIOPSMax = (value); + } + } + + private (string, ulong)[] _IOWriteIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteIOPSMax + { + get + { + return _IOWriteIOPSMax; + } + + set + { + _IOWriteIOPSMax = (value); + } + } + + private (string, ulong)[] _IODeviceLatencyTargetUSec = default((string, ulong)[]); + public (string, ulong)[] IODeviceLatencyTargetUSec + { + get + { + return _IODeviceLatencyTargetUSec; + } + + set + { + _IODeviceLatencyTargetUSec = (value); + } + } + + private bool _BlockIOAccounting = default(bool); + public bool BlockIOAccounting + { + get + { + return _BlockIOAccounting; + } + + set + { + _BlockIOAccounting = (value); + } + } + + private ulong _BlockIOWeight = default(ulong); + public ulong BlockIOWeight + { + get + { + return _BlockIOWeight; + } + + set + { + _BlockIOWeight = (value); + } + } + + private ulong _StartupBlockIOWeight = default(ulong); + public ulong StartupBlockIOWeight + { + get + { + return _StartupBlockIOWeight; + } + + set + { + _StartupBlockIOWeight = (value); + } + } + + private (string, ulong)[] _BlockIODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] BlockIODeviceWeight + { + get + { + return _BlockIODeviceWeight; + } + + set + { + _BlockIODeviceWeight = (value); + } + } + + private (string, ulong)[] _BlockIOReadBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOReadBandwidth + { + get + { + return _BlockIOReadBandwidth; + } + + set + { + _BlockIOReadBandwidth = (value); + } + } + + private (string, ulong)[] _BlockIOWriteBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOWriteBandwidth + { + get + { + return _BlockIOWriteBandwidth; + } + + set + { + _BlockIOWriteBandwidth = (value); + } + } + + private bool _MemoryAccounting = default(bool); + public bool MemoryAccounting + { + get + { + return _MemoryAccounting; + } + + set + { + _MemoryAccounting = (value); + } + } + + private ulong _DefaultMemoryLow = default(ulong); + public ulong DefaultMemoryLow + { + get + { + return _DefaultMemoryLow; + } + + set + { + _DefaultMemoryLow = (value); + } + } + + private ulong _DefaultMemoryMin = default(ulong); + public ulong DefaultMemoryMin + { + get + { + return _DefaultMemoryMin; + } + + set + { + _DefaultMemoryMin = (value); + } + } + + private ulong _MemoryMin = default(ulong); + public ulong MemoryMin + { + get + { + return _MemoryMin; + } + + set + { + _MemoryMin = (value); + } + } + + private ulong _MemoryLow = default(ulong); + public ulong MemoryLow + { + get + { + return _MemoryLow; + } + + set + { + _MemoryLow = (value); + } + } + + private ulong _MemoryHigh = default(ulong); + public ulong MemoryHigh + { + get + { + return _MemoryHigh; + } + + set + { + _MemoryHigh = (value); + } + } + + private ulong _MemoryMax = default(ulong); + public ulong MemoryMax + { + get + { + return _MemoryMax; + } + + set + { + _MemoryMax = (value); + } + } + + private ulong _MemorySwapMax = default(ulong); + public ulong MemorySwapMax + { + get + { + return _MemorySwapMax; + } + + set + { + _MemorySwapMax = (value); + } + } + + private ulong _MemoryLimit = default(ulong); + public ulong MemoryLimit + { + get + { + return _MemoryLimit; + } + + set + { + _MemoryLimit = (value); + } + } + + private string _DevicePolicy = default(string); + public string DevicePolicy + { + get + { + return _DevicePolicy; + } + + set + { + _DevicePolicy = (value); + } + } + + private (string, string)[] _DeviceAllow = default((string, string)[]); + public (string, string)[] DeviceAllow + { + get + { + return _DeviceAllow; + } + + set + { + _DeviceAllow = (value); + } + } + + private bool _TasksAccounting = default(bool); + public bool TasksAccounting + { + get + { + return _TasksAccounting; + } + + set + { + _TasksAccounting = (value); + } + } + + private ulong _TasksMax = default(ulong); + public ulong TasksMax + { + get + { + return _TasksMax; + } + + set + { + _TasksMax = (value); + } + } + + private bool _IPAccounting = default(bool); + public bool IPAccounting + { + get + { + return _IPAccounting; + } + + set + { + _IPAccounting = (value); + } + } + + private (int, byte[], uint)[] _IPAddressAllow = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressAllow + { + get + { + return _IPAddressAllow; + } + + set + { + _IPAddressAllow = (value); + } + } + + private (int, byte[], uint)[] _IPAddressDeny = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressDeny + { + get + { + return _IPAddressDeny; + } + + set + { + _IPAddressDeny = (value); + } + } + + private string[] _IPIngressFilterPath = default(string[]); + public string[] IPIngressFilterPath + { + get + { + return _IPIngressFilterPath; + } + + set + { + _IPIngressFilterPath = (value); + } + } + + private string[] _IPEgressFilterPath = default(string[]); + public string[] IPEgressFilterPath + { + get + { + return _IPEgressFilterPath; + } + + set + { + _IPEgressFilterPath = (value); + } + } + + private string[] _DisableControllers = default(string[]); + public string[] DisableControllers + { + get + { + return _DisableControllers; + } + + set + { + _DisableControllers = (value); + } + } + + private string _ManagedOOMSwap = default(string); + public string ManagedOOMSwap + { + get + { + return _ManagedOOMSwap; + } + + set + { + _ManagedOOMSwap = (value); + } + } + + private string _ManagedOOMMemoryPressure = default(string); + public string ManagedOOMMemoryPressure + { + get + { + return _ManagedOOMMemoryPressure; + } + + set + { + _ManagedOOMMemoryPressure = (value); + } + } + + private uint _ManagedOOMMemoryPressureLimit = default(uint); + public uint ManagedOOMMemoryPressureLimit + { + get + { + return _ManagedOOMMemoryPressureLimit; + } + + set + { + _ManagedOOMMemoryPressureLimit = (value); + } + } + + private string _ManagedOOMPreference = default(string); + public string ManagedOOMPreference + { + get + { + return _ManagedOOMPreference; + } + + set + { + _ManagedOOMPreference = (value); + } + } + + private (string, string)[] _BPFProgram = default((string, string)[]); + public (string, string)[] BPFProgram + { + get + { + return _BPFProgram; + } + + set + { + _BPFProgram = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindAllow = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindAllow + { + get + { + return _SocketBindAllow; + } + + set + { + _SocketBindAllow = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindDeny = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindDeny + { + get + { + return _SocketBindDeny; + } + + set + { + _SocketBindDeny = (value); + } + } + + private (bool, string[]) _RestrictNetworkInterfaces = default((bool, string[])); + public (bool, string[]) RestrictNetworkInterfaces + { + get + { + return _RestrictNetworkInterfaces; + } + + set + { + _RestrictNetworkInterfaces = (value); + } + } + } + + static class SliceExtensions + { + public static Task GetSliceAsync(this ISlice o) => o.GetAsync("Slice"); + public static Task GetControlGroupAsync(this ISlice o) => o.GetAsync("ControlGroup"); + public static Task GetControlGroupIdAsync(this ISlice o) => o.GetAsync("ControlGroupId"); + public static Task GetMemoryCurrentAsync(this ISlice o) => o.GetAsync("MemoryCurrent"); + public static Task GetMemoryAvailableAsync(this ISlice o) => o.GetAsync("MemoryAvailable"); + public static Task GetCPUUsageNSecAsync(this ISlice o) => o.GetAsync("CPUUsageNSec"); + public static Task GetEffectiveCPUsAsync(this ISlice o) => o.GetAsync("EffectiveCPUs"); + public static Task GetEffectiveMemoryNodesAsync(this ISlice o) => o.GetAsync("EffectiveMemoryNodes"); + public static Task GetTasksCurrentAsync(this ISlice o) => o.GetAsync("TasksCurrent"); + public static Task GetIPIngressBytesAsync(this ISlice o) => o.GetAsync("IPIngressBytes"); + public static Task GetIPIngressPacketsAsync(this ISlice o) => o.GetAsync("IPIngressPackets"); + public static Task GetIPEgressBytesAsync(this ISlice o) => o.GetAsync("IPEgressBytes"); + public static Task GetIPEgressPacketsAsync(this ISlice o) => o.GetAsync("IPEgressPackets"); + public static Task GetIOReadBytesAsync(this ISlice o) => o.GetAsync("IOReadBytes"); + public static Task GetIOReadOperationsAsync(this ISlice o) => o.GetAsync("IOReadOperations"); + public static Task GetIOWriteBytesAsync(this ISlice o) => o.GetAsync("IOWriteBytes"); + public static Task GetIOWriteOperationsAsync(this ISlice o) => o.GetAsync("IOWriteOperations"); + public static Task GetDelegateAsync(this ISlice o) => o.GetAsync("Delegate"); + public static Task GetDelegateControllersAsync(this ISlice o) => o.GetAsync("DelegateControllers"); + public static Task GetCPUAccountingAsync(this ISlice o) => o.GetAsync("CPUAccounting"); + public static Task GetCPUWeightAsync(this ISlice o) => o.GetAsync("CPUWeight"); + public static Task GetStartupCPUWeightAsync(this ISlice o) => o.GetAsync("StartupCPUWeight"); + public static Task GetCPUSharesAsync(this ISlice o) => o.GetAsync("CPUShares"); + public static Task GetStartupCPUSharesAsync(this ISlice o) => o.GetAsync("StartupCPUShares"); + public static Task GetCPUQuotaPerSecUSecAsync(this ISlice o) => o.GetAsync("CPUQuotaPerSecUSec"); + public static Task GetCPUQuotaPeriodUSecAsync(this ISlice o) => o.GetAsync("CPUQuotaPeriodUSec"); + public static Task GetAllowedCPUsAsync(this ISlice o) => o.GetAsync("AllowedCPUs"); + public static Task GetStartupAllowedCPUsAsync(this ISlice o) => o.GetAsync("StartupAllowedCPUs"); + public static Task GetAllowedMemoryNodesAsync(this ISlice o) => o.GetAsync("AllowedMemoryNodes"); + public static Task GetStartupAllowedMemoryNodesAsync(this ISlice o) => o.GetAsync("StartupAllowedMemoryNodes"); + public static Task GetIOAccountingAsync(this ISlice o) => o.GetAsync("IOAccounting"); + public static Task GetIOWeightAsync(this ISlice o) => o.GetAsync("IOWeight"); + public static Task GetStartupIOWeightAsync(this ISlice o) => o.GetAsync("StartupIOWeight"); + public static Task<(string, ulong)[]> GetIODeviceWeightAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("IODeviceWeight"); + public static Task<(string, ulong)[]> GetIOReadBandwidthMaxAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("IOReadBandwidthMax"); + public static Task<(string, ulong)[]> GetIOWriteBandwidthMaxAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("IOWriteBandwidthMax"); + public static Task<(string, ulong)[]> GetIOReadIOPSMaxAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("IOReadIOPSMax"); + public static Task<(string, ulong)[]> GetIOWriteIOPSMaxAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("IOWriteIOPSMax"); + public static Task<(string, ulong)[]> GetIODeviceLatencyTargetUSecAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("IODeviceLatencyTargetUSec"); + public static Task GetBlockIOAccountingAsync(this ISlice o) => o.GetAsync("BlockIOAccounting"); + public static Task GetBlockIOWeightAsync(this ISlice o) => o.GetAsync("BlockIOWeight"); + public static Task GetStartupBlockIOWeightAsync(this ISlice o) => o.GetAsync("StartupBlockIOWeight"); + public static Task<(string, ulong)[]> GetBlockIODeviceWeightAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("BlockIODeviceWeight"); + public static Task<(string, ulong)[]> GetBlockIOReadBandwidthAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("BlockIOReadBandwidth"); + public static Task<(string, ulong)[]> GetBlockIOWriteBandwidthAsync(this ISlice o) => o.GetAsync<(string, ulong)[]>("BlockIOWriteBandwidth"); + public static Task GetMemoryAccountingAsync(this ISlice o) => o.GetAsync("MemoryAccounting"); + public static Task GetDefaultMemoryLowAsync(this ISlice o) => o.GetAsync("DefaultMemoryLow"); + public static Task GetDefaultMemoryMinAsync(this ISlice o) => o.GetAsync("DefaultMemoryMin"); + public static Task GetMemoryMinAsync(this ISlice o) => o.GetAsync("MemoryMin"); + public static Task GetMemoryLowAsync(this ISlice o) => o.GetAsync("MemoryLow"); + public static Task GetMemoryHighAsync(this ISlice o) => o.GetAsync("MemoryHigh"); + public static Task GetMemoryMaxAsync(this ISlice o) => o.GetAsync("MemoryMax"); + public static Task GetMemorySwapMaxAsync(this ISlice o) => o.GetAsync("MemorySwapMax"); + public static Task GetMemoryLimitAsync(this ISlice o) => o.GetAsync("MemoryLimit"); + public static Task GetDevicePolicyAsync(this ISlice o) => o.GetAsync("DevicePolicy"); + public static Task<(string, string)[]> GetDeviceAllowAsync(this ISlice o) => o.GetAsync<(string, string)[]>("DeviceAllow"); + public static Task GetTasksAccountingAsync(this ISlice o) => o.GetAsync("TasksAccounting"); + public static Task GetTasksMaxAsync(this ISlice o) => o.GetAsync("TasksMax"); + public static Task GetIPAccountingAsync(this ISlice o) => o.GetAsync("IPAccounting"); + public static Task<(int, byte[], uint)[]> GetIPAddressAllowAsync(this ISlice o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressAllow"); + public static Task<(int, byte[], uint)[]> GetIPAddressDenyAsync(this ISlice o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressDeny"); + public static Task GetIPIngressFilterPathAsync(this ISlice o) => o.GetAsync("IPIngressFilterPath"); + public static Task GetIPEgressFilterPathAsync(this ISlice o) => o.GetAsync("IPEgressFilterPath"); + public static Task GetDisableControllersAsync(this ISlice o) => o.GetAsync("DisableControllers"); + public static Task GetManagedOOMSwapAsync(this ISlice o) => o.GetAsync("ManagedOOMSwap"); + public static Task GetManagedOOMMemoryPressureAsync(this ISlice o) => o.GetAsync("ManagedOOMMemoryPressure"); + public static Task GetManagedOOMMemoryPressureLimitAsync(this ISlice o) => o.GetAsync("ManagedOOMMemoryPressureLimit"); + public static Task GetManagedOOMPreferenceAsync(this ISlice o) => o.GetAsync("ManagedOOMPreference"); + public static Task<(string, string)[]> GetBPFProgramAsync(this ISlice o) => o.GetAsync<(string, string)[]>("BPFProgram"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindAllowAsync(this ISlice o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindAllow"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindDenyAsync(this ISlice o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindDeny"); + public static Task<(bool, string[])> GetRestrictNetworkInterfacesAsync(this ISlice o) => o.GetAsync<(bool, string[])>("RestrictNetworkInterfaces"); + } + + [DBusInterface("org.freedesktop.systemd1.Scope")] + interface IScope : IDBusObject + { + Task AbandonAsync(); + Task<(string, uint, string)[]> GetProcessesAsync(); + Task AttachProcessesAsync(string Subcgroup, uint[] Pids); + Task WatchRequestStopAsync(Action handler, Action onError = null); + Task GetAsync(string prop); + Task GetAllAsync(); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); + } + + [Dictionary] + class ScopeProperties + { + private string _Controller = default(string); + public string Controller + { + get + { + return _Controller; + } + + set + { + _Controller = (value); + } + } + + private ulong _TimeoutStopUSec = default(ulong); + public ulong TimeoutStopUSec + { + get + { + return _TimeoutStopUSec; + } + + set + { + _TimeoutStopUSec = (value); + } + } + + private string _Result = default(string); + public string Result + { + get + { + return _Result; + } + + set + { + _Result = (value); + } + } + + private ulong _RuntimeMaxUSec = default(ulong); + public ulong RuntimeMaxUSec + { + get + { + return _RuntimeMaxUSec; + } + + set + { + _RuntimeMaxUSec = (value); + } + } + + private ulong _RuntimeRandomizedExtraUSec = default(ulong); + public ulong RuntimeRandomizedExtraUSec + { + get + { + return _RuntimeRandomizedExtraUSec; + } + + set + { + _RuntimeRandomizedExtraUSec = (value); + } + } + + private string _OOMPolicy = default(string); + public string OOMPolicy + { + get + { + return _OOMPolicy; + } + + set + { + _OOMPolicy = (value); + } + } + + private string _Slice = default(string); + public string Slice + { + get + { + return _Slice; + } + + set + { + _Slice = (value); + } + } + + private string _ControlGroup = default(string); + public string ControlGroup + { + get + { + return _ControlGroup; + } + + set + { + _ControlGroup = (value); + } + } + + private ulong _ControlGroupId = default(ulong); + public ulong ControlGroupId + { + get + { + return _ControlGroupId; + } + + set + { + _ControlGroupId = (value); + } + } + + private ulong _MemoryCurrent = default(ulong); + public ulong MemoryCurrent + { + get + { + return _MemoryCurrent; + } + + set + { + _MemoryCurrent = (value); + } + } + + private ulong _MemoryAvailable = default(ulong); + public ulong MemoryAvailable + { + get + { + return _MemoryAvailable; + } + + set + { + _MemoryAvailable = (value); + } + } + + private ulong _CPUUsageNSec = default(ulong); + public ulong CPUUsageNSec + { + get + { + return _CPUUsageNSec; + } + + set + { + _CPUUsageNSec = (value); + } + } + + private byte[] _EffectiveCPUs = default(byte[]); + public byte[] EffectiveCPUs + { + get + { + return _EffectiveCPUs; + } + + set + { + _EffectiveCPUs = (value); + } + } + + private byte[] _EffectiveMemoryNodes = default(byte[]); + public byte[] EffectiveMemoryNodes + { + get + { + return _EffectiveMemoryNodes; + } + + set + { + _EffectiveMemoryNodes = (value); + } + } + + private ulong _TasksCurrent = default(ulong); + public ulong TasksCurrent + { + get + { + return _TasksCurrent; + } + + set + { + _TasksCurrent = (value); + } + } + + private ulong _IPIngressBytes = default(ulong); + public ulong IPIngressBytes + { + get + { + return _IPIngressBytes; + } + + set + { + _IPIngressBytes = (value); + } + } + + private ulong _IPIngressPackets = default(ulong); + public ulong IPIngressPackets + { + get + { + return _IPIngressPackets; + } + + set + { + _IPIngressPackets = (value); + } + } + + private ulong _IPEgressBytes = default(ulong); + public ulong IPEgressBytes + { + get + { + return _IPEgressBytes; + } + + set + { + _IPEgressBytes = (value); + } + } + + private ulong _IPEgressPackets = default(ulong); + public ulong IPEgressPackets + { + get + { + return _IPEgressPackets; + } + + set + { + _IPEgressPackets = (value); + } + } + + private ulong _IOReadBytes = default(ulong); + public ulong IOReadBytes + { + get + { + return _IOReadBytes; + } + + set + { + _IOReadBytes = (value); + } + } + + private ulong _IOReadOperations = default(ulong); + public ulong IOReadOperations + { + get + { + return _IOReadOperations; + } + + set + { + _IOReadOperations = (value); + } + } + + private ulong _IOWriteBytes = default(ulong); + public ulong IOWriteBytes + { + get + { + return _IOWriteBytes; + } + + set + { + _IOWriteBytes = (value); + } + } + + private ulong _IOWriteOperations = default(ulong); + public ulong IOWriteOperations + { + get + { + return _IOWriteOperations; + } + + set + { + _IOWriteOperations = (value); + } + } + + private bool _Delegate = default(bool); + public bool Delegate + { + get + { + return _Delegate; + } + + set + { + _Delegate = (value); + } + } + + private string[] _DelegateControllers = default(string[]); + public string[] DelegateControllers + { + get + { + return _DelegateControllers; + } + + set + { + _DelegateControllers = (value); + } + } + + private bool _CPUAccounting = default(bool); + public bool CPUAccounting + { + get + { + return _CPUAccounting; + } + + set + { + _CPUAccounting = (value); + } + } + + private ulong _CPUWeight = default(ulong); + public ulong CPUWeight + { + get + { + return _CPUWeight; + } + + set + { + _CPUWeight = (value); + } + } + + private ulong _StartupCPUWeight = default(ulong); + public ulong StartupCPUWeight + { + get + { + return _StartupCPUWeight; + } + + set + { + _StartupCPUWeight = (value); + } + } + + private ulong _CPUShares = default(ulong); + public ulong CPUShares + { + get + { + return _CPUShares; + } + + set + { + _CPUShares = (value); + } + } + + private ulong _StartupCPUShares = default(ulong); + public ulong StartupCPUShares + { + get + { + return _StartupCPUShares; + } + + set + { + _StartupCPUShares = (value); + } + } + + private ulong _CPUQuotaPerSecUSec = default(ulong); + public ulong CPUQuotaPerSecUSec + { + get + { + return _CPUQuotaPerSecUSec; + } + + set + { + _CPUQuotaPerSecUSec = (value); + } + } + + private ulong _CPUQuotaPeriodUSec = default(ulong); + public ulong CPUQuotaPeriodUSec + { + get + { + return _CPUQuotaPeriodUSec; + } + + set + { + _CPUQuotaPeriodUSec = (value); + } + } + + private byte[] _AllowedCPUs = default(byte[]); + public byte[] AllowedCPUs + { + get + { + return _AllowedCPUs; + } + + set + { + _AllowedCPUs = (value); + } + } + + private byte[] _StartupAllowedCPUs = default(byte[]); + public byte[] StartupAllowedCPUs + { + get + { + return _StartupAllowedCPUs; + } + + set + { + _StartupAllowedCPUs = (value); + } + } + + private byte[] _AllowedMemoryNodes = default(byte[]); + public byte[] AllowedMemoryNodes + { + get + { + return _AllowedMemoryNodes; + } + + set + { + _AllowedMemoryNodes = (value); + } + } + + private byte[] _StartupAllowedMemoryNodes = default(byte[]); + public byte[] StartupAllowedMemoryNodes + { + get + { + return _StartupAllowedMemoryNodes; + } + + set + { + _StartupAllowedMemoryNodes = (value); + } + } + + private bool _IOAccounting = default(bool); + public bool IOAccounting + { + get + { + return _IOAccounting; + } + + set + { + _IOAccounting = (value); + } + } + + private ulong _IOWeight = default(ulong); + public ulong IOWeight + { + get + { + return _IOWeight; + } + + set + { + _IOWeight = (value); + } + } + + private ulong _StartupIOWeight = default(ulong); + public ulong StartupIOWeight + { + get + { + return _StartupIOWeight; + } + + set + { + _StartupIOWeight = (value); + } + } + + private (string, ulong)[] _IODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] IODeviceWeight + { + get + { + return _IODeviceWeight; + } + + set + { + _IODeviceWeight = (value); + } + } + + private (string, ulong)[] _IOReadBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOReadBandwidthMax + { + get + { + return _IOReadBandwidthMax; + } + + set + { + _IOReadBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOWriteBandwidthMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteBandwidthMax + { + get + { + return _IOWriteBandwidthMax; + } + + set + { + _IOWriteBandwidthMax = (value); + } + } + + private (string, ulong)[] _IOReadIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOReadIOPSMax + { + get + { + return _IOReadIOPSMax; + } + + set + { + _IOReadIOPSMax = (value); + } + } + + private (string, ulong)[] _IOWriteIOPSMax = default((string, ulong)[]); + public (string, ulong)[] IOWriteIOPSMax + { + get + { + return _IOWriteIOPSMax; + } + + set + { + _IOWriteIOPSMax = (value); + } + } + + private (string, ulong)[] _IODeviceLatencyTargetUSec = default((string, ulong)[]); + public (string, ulong)[] IODeviceLatencyTargetUSec + { + get + { + return _IODeviceLatencyTargetUSec; + } + + set + { + _IODeviceLatencyTargetUSec = (value); + } + } + + private bool _BlockIOAccounting = default(bool); + public bool BlockIOAccounting + { + get + { + return _BlockIOAccounting; + } + + set + { + _BlockIOAccounting = (value); + } + } + + private ulong _BlockIOWeight = default(ulong); + public ulong BlockIOWeight + { + get + { + return _BlockIOWeight; + } + + set + { + _BlockIOWeight = (value); + } + } + + private ulong _StartupBlockIOWeight = default(ulong); + public ulong StartupBlockIOWeight + { + get + { + return _StartupBlockIOWeight; + } + + set + { + _StartupBlockIOWeight = (value); + } + } + + private (string, ulong)[] _BlockIODeviceWeight = default((string, ulong)[]); + public (string, ulong)[] BlockIODeviceWeight + { + get + { + return _BlockIODeviceWeight; + } + + set + { + _BlockIODeviceWeight = (value); + } + } + + private (string, ulong)[] _BlockIOReadBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOReadBandwidth + { + get + { + return _BlockIOReadBandwidth; + } + + set + { + _BlockIOReadBandwidth = (value); + } + } + + private (string, ulong)[] _BlockIOWriteBandwidth = default((string, ulong)[]); + public (string, ulong)[] BlockIOWriteBandwidth + { + get + { + return _BlockIOWriteBandwidth; + } + + set + { + _BlockIOWriteBandwidth = (value); + } + } + + private bool _MemoryAccounting = default(bool); + public bool MemoryAccounting + { + get + { + return _MemoryAccounting; + } + + set + { + _MemoryAccounting = (value); + } + } + + private ulong _DefaultMemoryLow = default(ulong); + public ulong DefaultMemoryLow + { + get + { + return _DefaultMemoryLow; + } + + set + { + _DefaultMemoryLow = (value); + } + } + + private ulong _DefaultMemoryMin = default(ulong); + public ulong DefaultMemoryMin + { + get + { + return _DefaultMemoryMin; + } + + set + { + _DefaultMemoryMin = (value); + } + } + + private ulong _MemoryMin = default(ulong); + public ulong MemoryMin + { + get + { + return _MemoryMin; + } + + set + { + _MemoryMin = (value); + } + } + + private ulong _MemoryLow = default(ulong); + public ulong MemoryLow + { + get + { + return _MemoryLow; + } + + set + { + _MemoryLow = (value); + } + } + + private ulong _MemoryHigh = default(ulong); + public ulong MemoryHigh + { + get + { + return _MemoryHigh; + } + + set + { + _MemoryHigh = (value); + } + } + + private ulong _MemoryMax = default(ulong); + public ulong MemoryMax + { + get + { + return _MemoryMax; + } + + set + { + _MemoryMax = (value); + } + } + + private ulong _MemorySwapMax = default(ulong); + public ulong MemorySwapMax + { + get + { + return _MemorySwapMax; + } + + set + { + _MemorySwapMax = (value); + } + } + + private ulong _MemoryLimit = default(ulong); + public ulong MemoryLimit + { + get + { + return _MemoryLimit; + } + + set + { + _MemoryLimit = (value); + } + } + + private string _DevicePolicy = default(string); + public string DevicePolicy + { + get + { + return _DevicePolicy; + } + + set + { + _DevicePolicy = (value); + } + } + + private (string, string)[] _DeviceAllow = default((string, string)[]); + public (string, string)[] DeviceAllow + { + get + { + return _DeviceAllow; + } + + set + { + _DeviceAllow = (value); + } + } + + private bool _TasksAccounting = default(bool); + public bool TasksAccounting + { + get + { + return _TasksAccounting; + } + + set + { + _TasksAccounting = (value); + } + } + + private ulong _TasksMax = default(ulong); + public ulong TasksMax + { + get + { + return _TasksMax; + } + + set + { + _TasksMax = (value); + } + } + + private bool _IPAccounting = default(bool); + public bool IPAccounting + { + get + { + return _IPAccounting; + } + + set + { + _IPAccounting = (value); + } + } + + private (int, byte[], uint)[] _IPAddressAllow = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressAllow + { + get + { + return _IPAddressAllow; + } + + set + { + _IPAddressAllow = (value); + } + } + + private (int, byte[], uint)[] _IPAddressDeny = default((int, byte[], uint)[]); + public (int, byte[], uint)[] IPAddressDeny + { + get + { + return _IPAddressDeny; + } + + set + { + _IPAddressDeny = (value); + } + } + + private string[] _IPIngressFilterPath = default(string[]); + public string[] IPIngressFilterPath + { + get + { + return _IPIngressFilterPath; + } + + set + { + _IPIngressFilterPath = (value); + } + } + + private string[] _IPEgressFilterPath = default(string[]); + public string[] IPEgressFilterPath + { + get + { + return _IPEgressFilterPath; + } + + set + { + _IPEgressFilterPath = (value); + } + } + + private string[] _DisableControllers = default(string[]); + public string[] DisableControllers + { + get + { + return _DisableControllers; + } + + set + { + _DisableControllers = (value); + } + } + + private string _ManagedOOMSwap = default(string); + public string ManagedOOMSwap + { + get + { + return _ManagedOOMSwap; + } + + set + { + _ManagedOOMSwap = (value); + } + } + + private string _ManagedOOMMemoryPressure = default(string); + public string ManagedOOMMemoryPressure + { + get + { + return _ManagedOOMMemoryPressure; + } + + set + { + _ManagedOOMMemoryPressure = (value); + } + } + + private uint _ManagedOOMMemoryPressureLimit = default(uint); + public uint ManagedOOMMemoryPressureLimit + { + get + { + return _ManagedOOMMemoryPressureLimit; + } + + set + { + _ManagedOOMMemoryPressureLimit = (value); + } + } + + private string _ManagedOOMPreference = default(string); + public string ManagedOOMPreference + { + get + { + return _ManagedOOMPreference; + } + + set + { + _ManagedOOMPreference = (value); + } + } + + private (string, string)[] _BPFProgram = default((string, string)[]); + public (string, string)[] BPFProgram + { + get + { + return _BPFProgram; + } + + set + { + _BPFProgram = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindAllow = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindAllow + { + get + { + return _SocketBindAllow; + } + + set + { + _SocketBindAllow = (value); + } + } + + private (int, int, ushort, ushort)[] _SocketBindDeny = default((int, int, ushort, ushort)[]); + public (int, int, ushort, ushort)[] SocketBindDeny + { + get + { + return _SocketBindDeny; + } + + set + { + _SocketBindDeny = (value); + } + } + + private (bool, string[]) _RestrictNetworkInterfaces = default((bool, string[])); + public (bool, string[]) RestrictNetworkInterfaces + { + get + { + return _RestrictNetworkInterfaces; + } + + set + { + _RestrictNetworkInterfaces = (value); + } + } + + private string _KillMode = default(string); + public string KillMode + { + get + { + return _KillMode; + } + + set + { + _KillMode = (value); + } + } + + private int _KillSignal = default(int); + public int KillSignal + { + get + { + return _KillSignal; + } + + set + { + _KillSignal = (value); + } + } + + private int _RestartKillSignal = default(int); + public int RestartKillSignal + { + get + { + return _RestartKillSignal; + } + + set + { + _RestartKillSignal = (value); + } + } + + private int _FinalKillSignal = default(int); + public int FinalKillSignal + { + get + { + return _FinalKillSignal; + } + + set + { + _FinalKillSignal = (value); + } + } + + private bool _SendSIGKILL = default(bool); + public bool SendSIGKILL + { + get + { + return _SendSIGKILL; + } + + set + { + _SendSIGKILL = (value); + } + } + + private bool _SendSIGHUP = default(bool); + public bool SendSIGHUP + { + get + { + return _SendSIGHUP; + } + + set + { + _SendSIGHUP = (value); + } + } + + private int _WatchdogSignal = default(int); + public int WatchdogSignal + { + get + { + return _WatchdogSignal; + } + + set + { + _WatchdogSignal = (value); + } + } + } + + static class ScopeExtensions + { + public static Task GetControllerAsync(this IScope o) => o.GetAsync("Controller"); + public static Task GetTimeoutStopUSecAsync(this IScope o) => o.GetAsync("TimeoutStopUSec"); + public static Task GetResultAsync(this IScope o) => o.GetAsync("Result"); + public static Task GetRuntimeMaxUSecAsync(this IScope o) => o.GetAsync("RuntimeMaxUSec"); + public static Task GetRuntimeRandomizedExtraUSecAsync(this IScope o) => o.GetAsync("RuntimeRandomizedExtraUSec"); + public static Task GetOOMPolicyAsync(this IScope o) => o.GetAsync("OOMPolicy"); + public static Task GetSliceAsync(this IScope o) => o.GetAsync("Slice"); + public static Task GetControlGroupAsync(this IScope o) => o.GetAsync("ControlGroup"); + public static Task GetControlGroupIdAsync(this IScope o) => o.GetAsync("ControlGroupId"); + public static Task GetMemoryCurrentAsync(this IScope o) => o.GetAsync("MemoryCurrent"); + public static Task GetMemoryAvailableAsync(this IScope o) => o.GetAsync("MemoryAvailable"); + public static Task GetCPUUsageNSecAsync(this IScope o) => o.GetAsync("CPUUsageNSec"); + public static Task GetEffectiveCPUsAsync(this IScope o) => o.GetAsync("EffectiveCPUs"); + public static Task GetEffectiveMemoryNodesAsync(this IScope o) => o.GetAsync("EffectiveMemoryNodes"); + public static Task GetTasksCurrentAsync(this IScope o) => o.GetAsync("TasksCurrent"); + public static Task GetIPIngressBytesAsync(this IScope o) => o.GetAsync("IPIngressBytes"); + public static Task GetIPIngressPacketsAsync(this IScope o) => o.GetAsync("IPIngressPackets"); + public static Task GetIPEgressBytesAsync(this IScope o) => o.GetAsync("IPEgressBytes"); + public static Task GetIPEgressPacketsAsync(this IScope o) => o.GetAsync("IPEgressPackets"); + public static Task GetIOReadBytesAsync(this IScope o) => o.GetAsync("IOReadBytes"); + public static Task GetIOReadOperationsAsync(this IScope o) => o.GetAsync("IOReadOperations"); + public static Task GetIOWriteBytesAsync(this IScope o) => o.GetAsync("IOWriteBytes"); + public static Task GetIOWriteOperationsAsync(this IScope o) => o.GetAsync("IOWriteOperations"); + public static Task GetDelegateAsync(this IScope o) => o.GetAsync("Delegate"); + public static Task GetDelegateControllersAsync(this IScope o) => o.GetAsync("DelegateControllers"); + public static Task GetCPUAccountingAsync(this IScope o) => o.GetAsync("CPUAccounting"); + public static Task GetCPUWeightAsync(this IScope o) => o.GetAsync("CPUWeight"); + public static Task GetStartupCPUWeightAsync(this IScope o) => o.GetAsync("StartupCPUWeight"); + public static Task GetCPUSharesAsync(this IScope o) => o.GetAsync("CPUShares"); + public static Task GetStartupCPUSharesAsync(this IScope o) => o.GetAsync("StartupCPUShares"); + public static Task GetCPUQuotaPerSecUSecAsync(this IScope o) => o.GetAsync("CPUQuotaPerSecUSec"); + public static Task GetCPUQuotaPeriodUSecAsync(this IScope o) => o.GetAsync("CPUQuotaPeriodUSec"); + public static Task GetAllowedCPUsAsync(this IScope o) => o.GetAsync("AllowedCPUs"); + public static Task GetStartupAllowedCPUsAsync(this IScope o) => o.GetAsync("StartupAllowedCPUs"); + public static Task GetAllowedMemoryNodesAsync(this IScope o) => o.GetAsync("AllowedMemoryNodes"); + public static Task GetStartupAllowedMemoryNodesAsync(this IScope o) => o.GetAsync("StartupAllowedMemoryNodes"); + public static Task GetIOAccountingAsync(this IScope o) => o.GetAsync("IOAccounting"); + public static Task GetIOWeightAsync(this IScope o) => o.GetAsync("IOWeight"); + public static Task GetStartupIOWeightAsync(this IScope o) => o.GetAsync("StartupIOWeight"); + public static Task<(string, ulong)[]> GetIODeviceWeightAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("IODeviceWeight"); + public static Task<(string, ulong)[]> GetIOReadBandwidthMaxAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("IOReadBandwidthMax"); + public static Task<(string, ulong)[]> GetIOWriteBandwidthMaxAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("IOWriteBandwidthMax"); + public static Task<(string, ulong)[]> GetIOReadIOPSMaxAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("IOReadIOPSMax"); + public static Task<(string, ulong)[]> GetIOWriteIOPSMaxAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("IOWriteIOPSMax"); + public static Task<(string, ulong)[]> GetIODeviceLatencyTargetUSecAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("IODeviceLatencyTargetUSec"); + public static Task GetBlockIOAccountingAsync(this IScope o) => o.GetAsync("BlockIOAccounting"); + public static Task GetBlockIOWeightAsync(this IScope o) => o.GetAsync("BlockIOWeight"); + public static Task GetStartupBlockIOWeightAsync(this IScope o) => o.GetAsync("StartupBlockIOWeight"); + public static Task<(string, ulong)[]> GetBlockIODeviceWeightAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("BlockIODeviceWeight"); + public static Task<(string, ulong)[]> GetBlockIOReadBandwidthAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("BlockIOReadBandwidth"); + public static Task<(string, ulong)[]> GetBlockIOWriteBandwidthAsync(this IScope o) => o.GetAsync<(string, ulong)[]>("BlockIOWriteBandwidth"); + public static Task GetMemoryAccountingAsync(this IScope o) => o.GetAsync("MemoryAccounting"); + public static Task GetDefaultMemoryLowAsync(this IScope o) => o.GetAsync("DefaultMemoryLow"); + public static Task GetDefaultMemoryMinAsync(this IScope o) => o.GetAsync("DefaultMemoryMin"); + public static Task GetMemoryMinAsync(this IScope o) => o.GetAsync("MemoryMin"); + public static Task GetMemoryLowAsync(this IScope o) => o.GetAsync("MemoryLow"); + public static Task GetMemoryHighAsync(this IScope o) => o.GetAsync("MemoryHigh"); + public static Task GetMemoryMaxAsync(this IScope o) => o.GetAsync("MemoryMax"); + public static Task GetMemorySwapMaxAsync(this IScope o) => o.GetAsync("MemorySwapMax"); + public static Task GetMemoryLimitAsync(this IScope o) => o.GetAsync("MemoryLimit"); + public static Task GetDevicePolicyAsync(this IScope o) => o.GetAsync("DevicePolicy"); + public static Task<(string, string)[]> GetDeviceAllowAsync(this IScope o) => o.GetAsync<(string, string)[]>("DeviceAllow"); + public static Task GetTasksAccountingAsync(this IScope o) => o.GetAsync("TasksAccounting"); + public static Task GetTasksMaxAsync(this IScope o) => o.GetAsync("TasksMax"); + public static Task GetIPAccountingAsync(this IScope o) => o.GetAsync("IPAccounting"); + public static Task<(int, byte[], uint)[]> GetIPAddressAllowAsync(this IScope o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressAllow"); + public static Task<(int, byte[], uint)[]> GetIPAddressDenyAsync(this IScope o) => o.GetAsync<(int, byte[], uint)[]>("IPAddressDeny"); + public static Task GetIPIngressFilterPathAsync(this IScope o) => o.GetAsync("IPIngressFilterPath"); + public static Task GetIPEgressFilterPathAsync(this IScope o) => o.GetAsync("IPEgressFilterPath"); + public static Task GetDisableControllersAsync(this IScope o) => o.GetAsync("DisableControllers"); + public static Task GetManagedOOMSwapAsync(this IScope o) => o.GetAsync("ManagedOOMSwap"); + public static Task GetManagedOOMMemoryPressureAsync(this IScope o) => o.GetAsync("ManagedOOMMemoryPressure"); + public static Task GetManagedOOMMemoryPressureLimitAsync(this IScope o) => o.GetAsync("ManagedOOMMemoryPressureLimit"); + public static Task GetManagedOOMPreferenceAsync(this IScope o) => o.GetAsync("ManagedOOMPreference"); + public static Task<(string, string)[]> GetBPFProgramAsync(this IScope o) => o.GetAsync<(string, string)[]>("BPFProgram"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindAllowAsync(this IScope o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindAllow"); + public static Task<(int, int, ushort, ushort)[]> GetSocketBindDenyAsync(this IScope o) => o.GetAsync<(int, int, ushort, ushort)[]>("SocketBindDeny"); + public static Task<(bool, string[])> GetRestrictNetworkInterfacesAsync(this IScope o) => o.GetAsync<(bool, string[])>("RestrictNetworkInterfaces"); + public static Task GetKillModeAsync(this IScope o) => o.GetAsync("KillMode"); + public static Task GetKillSignalAsync(this IScope o) => o.GetAsync("KillSignal"); + public static Task GetRestartKillSignalAsync(this IScope o) => o.GetAsync("RestartKillSignal"); + public static Task GetFinalKillSignalAsync(this IScope o) => o.GetAsync("FinalKillSignal"); + public static Task GetSendSIGKILLAsync(this IScope o) => o.GetAsync("SendSIGKILL"); + public static Task GetSendSIGHUPAsync(this IScope o) => o.GetAsync("SendSIGHUP"); + public static Task GetWatchdogSignalAsync(this IScope o) => o.GetAsync("WatchdogSignal"); + } +} \ No newline at end of file diff --git a/SS14.Watchdog/systemd1.DBus.job.cs b/SS14.Watchdog/systemd1.DBus.job.cs new file mode 100644 index 0000000..5ae5917 --- /dev/null +++ b/SS14.Watchdog/systemd1.DBus.job.cs @@ -0,0 +1,13 @@ +using System; +using System.Threading.Tasks; +using Tmds.DBus; + +namespace systemd1.DBus; + +[DBusInterface("org.freedesktop.systemd1.Scope")] +interface IJob : IDBusObject +{ + Task GetAsync(string prop); + Task SetAsync(string prop, object val); + Task WatchPropertiesAsync(Action handler); +}