ravendb-cloud
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

RavenDB Cloud API Node.js Client

RavenDB Cloud delivers the world's leading NoSQL document database for modern applications as a fully automated cloud service run by the same developers that build and maintain the database engine. Communicate with our cloud programmatically and automate the actions you perform on your RavenDB Cloud products.

Install

npm install --save ravendb-cloud

Use

import { ApiClient } from "ravendb-cloud";

const client = new ApiClient({ 
    apiKey: "RVDB-XXXXXXXXXXXXXXXXXXXXXXXXXX" 
});

const createProduct = new ProductCreateRequest({
    displayName: "Fancy",
    subdomainName: "fancy",
    cloudProvider: "Aws",
    region: "us-east-1",
    tier: "Development",
    instanceTypeName: "Dev10",
    storageTypeName: "SsdStandard",
    diskSize: 15,
    releaseChannel: "Stable42",
    allowedIps: ["0.0.0.0/0"]
});

const response = await client.products.create(req);
// ProductCreateResponse { productId: '1234-B' }

const listResponse = await client.products.list();
// ...

OpenAPI

RavenDB Cloud OpenAPI definition:

Bugs

Bugs can be reported on Hibernating Rhinos' YouTrack.

Package Sidebar

Install

npm i ravendb-cloud

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

93.1 kB

Total Files

6

Last publish

Collaborators

  • ravendb