Azure.logWebjob()

Gets the latest log from a webjob on a given website.

Usage

Hover over inputs/exits for more info.

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


// Gets the latest log from a webjob on a given website.

Azure.logWebjob({

deploymentUser: 'johndoe',

deploymentPassword: 'p@ssw0rd',

name: 'myscript.ps1',

website: 'mysite',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

deploymentUser required

The deployment username for the website

'johndoe'
deploymentPassword required

The deployment password for the website

'p@ssw0rd'
name required

The name of the script for which info should be requested

'myscript.ps1'
website required

The name of the website the script lives on

'mysite'

Exits

error

An unexpected error occurred.

success

OK.