/* tslint:disable */ /* eslint-disable */ /** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * 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. */ /** * * @export * @interface PostgresqlStorageInstanceUsage */ export interface PostgresqlStorageInstanceUsage { /** * Kubernetes pod name for this PostgreSQL replica storage sample. * @type {string} * @memberof PostgresqlStorageInstanceUsage */ 'instanceName'?: string; /** * PersistentVolumeClaim name when it can be read from metrics labels. * @type {string} * @memberof PostgresqlStorageInstanceUsage */ 'pvcName'?: string; /** * Raw PostgreSQL replica role value read from metrics labels, kept aligned with instance detail display. * @type {string} * @memberof PostgresqlStorageInstanceUsage */ 'role'?: string; /** * Optional KubeBlocks component name when it can be read from metrics labels. * @type {string} * @memberof PostgresqlStorageInstanceUsage */ 'componentName'?: string; /** * Physical PVC capacity in bytes for this replica storage sample. * @type {number} * @memberof PostgresqlStorageInstanceUsage */ 'totalBytes'?: number; /** * Physical PVC used bytes for this replica storage sample. * @type {number} * @memberof PostgresqlStorageInstanceUsage */ 'usedBytes'?: number; /** * Available bytes derived from totalBytes - usedBytes when both values are available. * @type {number} * @memberof PostgresqlStorageInstanceUsage */ 'availableBytes'?: number; /** * usedBytes / totalBytes for this replica storage sample when both values are available. * @type {number} * @memberof PostgresqlStorageInstanceUsage */ 'usageRatio'?: number | null; /** * Metrics collection timestamp in UTC. * @type {string} * @memberof PostgresqlStorageInstanceUsage */ 'updatedAt'?: string; /** * * @type {string} * @memberof PostgresqlStorageInstanceUsage */ 'source'?: string; }