Deis.listLimits()

Lists resource limits for an application.

Usage

Hover over inputs/exits for more info.

var Deis = require('machinepack-deis');


// Lists resource limits for an application.

Deis.listLimits({

token: '',

controller: 'http://deis.mydeisapp.com',

app: 'myawesomeapp',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// The token provided was invalid

notAuthenticated: function () {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

token required

An access token for use with a Deis install.

''
controller required

The controller location of your Deis install.

'http://deis.mydeisapp.com'
app required

The uniquely identifiable name for the application.

'myawesomeapp'

Exits

error

An unexpected error occurred.

notAuthenticated

The token provided was invalid

success

OK.

{ memory: '512M', cpu: 'unlimited' }