/* tslint:disable */ /* eslint-disable */ /** * Account Management Service API * Manage user subscriptions and clusters * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SubscriptionCommonFieldsAllOf */ export interface SubscriptionCommonFieldsAllOf { /** * If set, the date the subscription expires based on the billing model * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'billing_expiration_date'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'billing_marketplace_account'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'cloud_account_id'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'cloud_provider_id'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'cluster_billing_model'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'cluster_id'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'console_url'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'consumer_uuid'?: string; /** * * @type {number} * @memberof SubscriptionCommonFieldsAllOf */ 'cpu_total'?: number; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'creator_id'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'display_name'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'external_cluster_id'?: string; /** * Last time this subscription were reconciled about cluster usage * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'last_reconcile_date'?: string; /** * Last time status was set to Released for this cluster/subscription in Unix time * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'last_released_at'?: string; /** * Last telemetry authorization request for this cluster/subscription in Unix time * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'last_telemetry_date'?: string; /** * * @type {boolean} * @memberof SubscriptionCommonFieldsAllOf */ 'managed': boolean; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'organization_id'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'plan_id'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'product_bundle'?: SubscriptionCommonFieldsAllOfProductBundleEnum; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'provenance'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'region_id'?: string; /** * * @type {boolean} * @memberof SubscriptionCommonFieldsAllOf */ 'released'?: boolean; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'service_level'?: SubscriptionCommonFieldsAllOfServiceLevelEnum; /** * * @type {number} * @memberof SubscriptionCommonFieldsAllOf */ 'socket_total'?: number; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'status'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'support_level'?: SubscriptionCommonFieldsAllOfSupportLevelEnum; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'system_units'?: SubscriptionCommonFieldsAllOfSystemUnitsEnum; /** * If the subscription is a trial, date the trial ends * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'trial_end_date'?: string; /** * * @type {string} * @memberof SubscriptionCommonFieldsAllOf */ 'usage'?: SubscriptionCommonFieldsAllOfUsageEnum; } export const SubscriptionCommonFieldsAllOfProductBundleEnum = { Openshift: 'Openshift', JBossMiddleware: 'JBoss-Middleware', IbmCloudPak: 'IBM-CloudPak' } as const; export type SubscriptionCommonFieldsAllOfProductBundleEnum = typeof SubscriptionCommonFieldsAllOfProductBundleEnum[keyof typeof SubscriptionCommonFieldsAllOfProductBundleEnum]; export const SubscriptionCommonFieldsAllOfServiceLevelEnum = { L1L3: 'L1-L3', L3Only: 'L3-only' } as const; export type SubscriptionCommonFieldsAllOfServiceLevelEnum = typeof SubscriptionCommonFieldsAllOfServiceLevelEnum[keyof typeof SubscriptionCommonFieldsAllOfServiceLevelEnum]; export const SubscriptionCommonFieldsAllOfSupportLevelEnum = { Eval: 'Eval', Standard: 'Standard', Premium: 'Premium', SelfSupport: 'Self-Support', None: 'None' } as const; export type SubscriptionCommonFieldsAllOfSupportLevelEnum = typeof SubscriptionCommonFieldsAllOfSupportLevelEnum[keyof typeof SubscriptionCommonFieldsAllOfSupportLevelEnum]; export const SubscriptionCommonFieldsAllOfSystemUnitsEnum = { CoresVCpu: 'Cores/vCPU', Sockets: 'Sockets' } as const; export type SubscriptionCommonFieldsAllOfSystemUnitsEnum = typeof SubscriptionCommonFieldsAllOfSystemUnitsEnum[keyof typeof SubscriptionCommonFieldsAllOfSystemUnitsEnum]; export const SubscriptionCommonFieldsAllOfUsageEnum = { Production: 'Production', DevelopmentTest: 'Development/Test', DisasterRecovery: 'Disaster Recovery', Academic: 'Academic' } as const; export type SubscriptionCommonFieldsAllOfUsageEnum = typeof SubscriptionCommonFieldsAllOfUsageEnum[keyof typeof SubscriptionCommonFieldsAllOfUsageEnum];