Table of Contents

Class LicenseQuota

Namespace
OneImlx.Terminal.Licensing
Assembly
OneImlx.Terminal.dll

Defines the licensing quota based on the TerminalLicensePlans.

public sealed class LicenseQuota
Inheritance
LicenseQuota
Inherited Members

Properties

Authentications

The authentication methods.

public IReadOnlyList<string> Authentications { get; }

Property Value

IReadOnlyList<string>

CommandLimit

The maximum commands. Returns null for no limit.

public int? CommandLimit { get; }

Property Value

int?

DataType

The strict date type. Returns false if not supported.

public bool DataType { get; }

Property Value

bool

Deployments

The deployment methods.

public IReadOnlyList<string> Deployments { get; }

Property Value

IReadOnlyList<string>

Driver

The terminal driver mode. Returns false if not supported.

public bool Driver { get; }

Property Value

bool

Dynamics

The terminal dynamics command mode. Defaults to false or not supported.

public bool Dynamics { get; }

Property Value

bool

Encodings

The text encoding.

public IReadOnlyList<string> Encodings { get; }

Property Value

IReadOnlyList<string>

Features

The licensed features.

public IReadOnlyDictionary<string, string[]> Features { get; }

Property Value

IReadOnlyDictionary<string, string[]>

InputLimit

The maximum arguments and options combined.Returns null for no limit.

public int? InputLimit { get; }

Property Value

int?

Limits

The maximum quota. Defaults to null or no limit.

public IReadOnlyDictionary<string, object?> Limits { get; }

Property Value

IReadOnlyDictionary<string, object>

Plan

The license plan.

public string? Plan { get; }

Property Value

string

RedistributionLimit

The maximum redistributions. Defaults to null or no redistribution limit.

public long? RedistributionLimit { get; }

Property Value

long?

Routers

The terminal routing methods.

public IReadOnlyList<string> Routers { get; }

Property Value

IReadOnlyList<string>

Stores

The terminal command stores.

public IReadOnlyList<string> Stores { get; }

Property Value

IReadOnlyList<string>

Switches

The licensed switches.

public IReadOnlyDictionary<string, bool> Switches { get; }

Property Value

IReadOnlyDictionary<string, bool>

TerminalLimit

The maximum terminals. Defaults to null or no limit.

public int? TerminalLimit { get; }

Property Value

int?

Methods

Create(string, IDictionary<string, object>?)

Creates a new instance of LicenseQuota based on the specified SaaS plan.

public static LicenseQuota Create(string licensePlan, IDictionary<string, object>? customClaims = null)

Parameters

licensePlan string

The license plan.

customClaims IDictionary<string, object>

The custom claims. Only used if SaaS plan is custom.

Returns

LicenseQuota