Azure.setAzureAccount()

Sets the active azure subscription

Usage

Hover over inputs/exits for more info.

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


// Sets the active azure subscription

Azure.setAzureAccount({

subNameOrId: 'johndoe',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

subNameOrId required

The subscription id or name to set as active

'johndoe'

Exits

error

An unexpected error occurred.

success

OK.