Table of Contents

Class AccountResources

Namespace
KASserver
Assembly
KASserver.Client.dll

The account resource quotas and usage as returned by get_accountresources. The KAS API returns a map keyed by resource name (max_webspace, max_domain, …) where each value holds the max/used/free/… figures. Field shape verified live against the KAS API.

public sealed class AccountResources
Inheritance
AccountResources
Inherited Members

Properties

Accounts

Subaccounts (KAS field max_account).

public AccountResource? Accounts { get; }

Property Value

AccountResource

Cronjobs

Cron jobs (KAS field max_cronjobs).

public AccountResource? Cronjobs { get; }

Property Value

AccountResource

Databases

Databases (KAS field max_database).

public AccountResource? Databases { get; }

Property Value

AccountResource

Domains

Domains (KAS field max_domain).

public AccountResource? Domains { get; }

Property Value

AccountResource

FtpUsers

FTP users (KAS field max_ftpuser).

public AccountResource? FtpUsers { get; }

Property Value

AccountResource

MailAccounts

Mailboxes (KAS field max_mail_account).

public AccountResource? MailAccounts { get; }

Property Value

AccountResource

MailForwards

Mail forwards (KAS field max_mail_forward).

public AccountResource? MailForwards { get; }

Property Value

AccountResource

Mailinglists

Mailing lists (KAS field max_mailinglist).

public AccountResource? Mailinglists { get; }

Property Value

AccountResource

Raw

The complete raw field map as returned by the KAS API.

public required IReadOnlyDictionary<string, object?> Raw { get; init; }

Property Value

IReadOnlyDictionary<string, object>

SambaUsers

Samba users (KAS field max_sambauser).

public AccountResource? SambaUsers { get; }

Property Value

AccountResource

Subdomains

Subdomains (KAS field max_subdomain).

public AccountResource? Subdomains { get; }

Property Value

AccountResource

Wbk

WebFTP accounts (KAS field max_wbk).

public AccountResource? Wbk { get; }

Property Value

AccountResource

Webspace

Webspace in MB (KAS field max_webspace).

public AccountResource? Webspace { get; }

Property Value

AccountResource

Methods

Get(string)

Returns the resource stored under key, or null when absent.

public AccountResource? Get(string key)

Parameters

key string

The KAS resource key, e.g. max_webspace.

Returns

AccountResource