New:Socket for Asana Is Now Available.Learn more
Get Started

ravendb-cloud

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ravendb-cloud

RavenDB Cloud API client

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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.

Keywords

ravendb

FAQs

Package last updated on 30 Jul 2024

Related posts