@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
47 lines (46 loc) • 2.04 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.
*/
import type { DeletionProtection } from './DeletionProtection';
/**
* The configuration needed to create a Pinecone index from a backup.
* @export
* @interface CreateIndexFromBackupRequest
*/
export interface CreateIndexFromBackupRequest {
/**
* The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.
* @type {string}
* @memberof CreateIndexFromBackupRequest
*/
name: string;
/**
* Custom user tags added to an index. Keys must be 80 characters or less. Values must be 120 characters or less. Keys must be alphanumeric, '_', or '-'. Values must be alphanumeric, ';', '@', '_', '-', '.', '+', or ' '. To unset a key, set the value to be an empty string.
* @type {{ [key: string]: string; }}
* @memberof CreateIndexFromBackupRequest
*/
tags?: {
[key: string]: string;
};
/**
*
* @type {DeletionProtection}
* @memberof CreateIndexFromBackupRequest
*/
deletionProtection?: DeletionProtection;
}
/**
* Check if a given object implements the CreateIndexFromBackupRequest interface.
*/
export declare function instanceOfCreateIndexFromBackupRequest(value: object): boolean;
export declare function CreateIndexFromBackupRequestFromJSON(json: any): CreateIndexFromBackupRequest;
export declare function CreateIndexFromBackupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateIndexFromBackupRequest;
export declare function CreateIndexFromBackupRequestToJSON(value?: CreateIndexFromBackupRequest | null): any;