UNPKG

pkgcloud

Version:

An infrastructure-as-a-service agnostic cloud library for node.js

21 lines (13 loc) 483 B
//TODO: Make this a vows test var Client = new require('../../../lib/pkgcloud/core/base/client').Client; var helpers = require('../../helpers'); var azureApi = require('../../../lib/pkgcloud/azure/utils/azureApi'); var client = helpers.createClient('azure', 'compute'); var options = {}; azureApi.getOSImage(client, 'OpenLogic__OpenLogic-CentOS-62-20120531-en-us-30GB.vhd', function(err, result) { if(err) { console.log(err); } else { console.dir(result); } });