/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { EngineQuota } from './engine-quota'; /** * License info * @export * @interface License */ export interface License { /** * Asynchronous addon license synchronization task created after the platform license is saved. Only returned by the update operation. * @type {string} * @memberof License */ 'taskId'?: string; /** * The kubernetes cluster ID * @type {string} * @memberof License */ 'clusterID': string; /** * The licensed user email * @type {string} * @memberof License */ 'email': string; /** * The licensed user or organization name * @type {string} * @memberof License */ 'userName': string; /** * The licensed unit, such as CPU or Node * @type {string} * @memberof License */ 'unit': string; /** * The licensed total count of the unit * @type {string} * @memberof License */ 'quantity': string; /** * The supported engines and their quotas * @type {Array} * @memberof License */ 'engines': Array; /** * The licensed enterprise features. An empty list means all features are unrestricted for backward compatibility; a list containing `none` disables every enterprise feature. * @type {Array} * @memberof License */ 'features'?: Array; /** * The license expiration time * @type {string} * @memberof License */ 'notAfter': string; /** * The license start time * @type {string} * @memberof License */ 'notBefore': string; /** * The used count of the unit * @type {number} * @memberof License */ 'used': number; /** * The license key * @type {string} * @memberof License */ 'license': string; /** * If KubeBlocks Enterprise is embedded in another platform, the license may be managed by the platform. It this case, we should extract the KubeBlocks Enterprise license from the platform and use it. Different platforms may have different ways to provide the license. The licenseMode is used to specify the different platform. For KubeSphere Enterprise, the licenseMode is `kse`. * @type {string} * @memberof License */ 'mode'?: string; }