I hereby claim:
- I am robjam on github.
- I am robjam (https://keybase.io/robjam) on keybase.
- I have a public key ASApH9VTTTFT3LH12Y8Nv-We4W3T9UT2Cdn2yUEAJLkhMwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var CosmosClient = require('@azure/cosmos').CosmosClient; | |
const endpoint = "[serviceEndpoint]"; // Add the URI from azure portal | |
const masterKey = "[masterkey]"; // Add the primary key from azure portal | |
const client = new CosmosClient({ endpoint, auth: { masterKey } }); | |
const databaseDefinition = { id: "myDatabase" }; // Add the databaseID | |
const collectionDefinition = { id: "myCollection" }; // Add the collectionId | |
async function run() { |