Introduction
Last updated
Was this helpful?
Was this helpful?
import * as sdk from '@ionos-cloud/sdk-nodejs-dbaas-mongo';const config = new sdk.Configuration({username: 'YOUR_USERNAME', password: 'YOUR_PASSWORD'});
const clustersApi = new sdk.ClustersApi(config);
clustersApi.clustersGet().then((response) => console.log(response));const config = new sdk.Configuration({username: 'YOUR_USERNAME', password: 'YOUR_PASSWORD'});
const clustersApi = new sdk.ClustersApi(config);clustersApi = new sdk.ClustersApi(sdk.Configuration.fromEnv());