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
Cronjobs
Cron jobs (KAS field max_cronjobs).
public AccountResource? Cronjobs { get; }
Property Value
Databases
Databases (KAS field max_database).
public AccountResource? Databases { get; }
Property Value
Domains
Domains (KAS field max_domain).
public AccountResource? Domains { get; }
Property Value
FtpUsers
FTP users (KAS field max_ftpuser).
public AccountResource? FtpUsers { get; }
Property Value
MailAccounts
Mailboxes (KAS field max_mail_account).
public AccountResource? MailAccounts { get; }
Property Value
MailForwards
Mail forwards (KAS field max_mail_forward).
public AccountResource? MailForwards { get; }
Property Value
Mailinglists
Mailing lists (KAS field max_mailinglist).
public AccountResource? Mailinglists { get; }
Property Value
Raw
The complete raw field map as returned by the KAS API.
public required IReadOnlyDictionary<string, object?> Raw { get; init; }
Property Value
SambaUsers
Samba users (KAS field max_sambauser).
public AccountResource? SambaUsers { get; }
Property Value
Subdomains
Subdomains (KAS field max_subdomain).
public AccountResource? Subdomains { get; }
Property Value
Wbk
WebFTP accounts (KAS field max_wbk).
public AccountResource? Wbk { get; }
Property Value
Webspace
Webspace in MB (KAS field max_webspace).
public AccountResource? Webspace { get; }
Property Value
Methods
Get(string)
Returns the resource stored under key, or null when absent.
public AccountResource? Get(string key)
Parameters
keystringThe KAS resource key, e.g.
max_webspace.