Azure.createWebsite()

Creates an Azure Website Instance

Usage

Hover over inputs/exits for more info.

var Azure = require('machinepack-azure');


// Creates an Azure Website Instance

Azure.createWebsite({

name: 'mywebsite',

location: 'West US',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

name

The name for the website

'mywebsite'
location

The Azure datacenter for the website

'West US'

Exits

error

An unexpected error occurred.

success

OK.