@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
53 lines (52 loc) • 1.72 kB
TypeScript
/**
* Pinecone Control Plane API
* Pinecone is a vector database that makes it easy to search and retrieve billions of high-dimensional vectors.
*
* The version of the OpenAPI document: 2025-04
* Contact: support@pinecone.io
*
* 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 IndexModelStatus
*/
export interface IndexModelStatus {
/**
*
* @type {boolean}
* @memberof IndexModelStatus
*/
ready: boolean;
/**
*
* @type {string}
* @memberof IndexModelStatus
*/
state: IndexModelStatusStateEnum;
}
/**
* @export
*/
export declare const IndexModelStatusStateEnum: {
readonly Initializing: "Initializing";
readonly InitializationFailed: "InitializationFailed";
readonly ScalingUp: "ScalingUp";
readonly ScalingDown: "ScalingDown";
readonly ScalingUpPodSize: "ScalingUpPodSize";
readonly ScalingDownPodSize: "ScalingDownPodSize";
readonly Terminating: "Terminating";
readonly Ready: "Ready";
readonly Disabled: "Disabled";
};
export type IndexModelStatusStateEnum = typeof IndexModelStatusStateEnum[keyof typeof IndexModelStatusStateEnum];
/**
* Check if a given object implements the IndexModelStatus interface.
*/
export declare function instanceOfIndexModelStatus(value: object): boolean;
export declare function IndexModelStatusFromJSON(json: any): IndexModelStatus;
export declare function IndexModelStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexModelStatus;
export declare function IndexModelStatusToJSON(value?: IndexModelStatus | null): any;