{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2546","repository_url":"https://api.github.com/repos/Azure/azure-xplat-cli","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2546/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2546/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2546/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2546","id":134119492,"number":2546,"title":"azure vm usage-list error: Cannot read property 'list'","user":{"login":"JasonRShaver","id":10146011,"avatar_url":"https://avatars.githubusercontent.com/u/10146011?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonRShaver","html_url":"https://github.com/JasonRShaver","followers_url":"https://api.github.com/users/JasonRShaver/followers","following_url":"https://api.github.com/users/JasonRShaver/following{/other_user}","gists_url":"https://api.github.com/users/JasonRShaver/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonRShaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonRShaver/subscriptions","organizations_url":"https://api.github.com/users/JasonRShaver/orgs","repos_url":"https://api.github.com/users/JasonRShaver/repos","events_url":"https://api.github.com/users/JasonRShaver/events{/privacy}","received_events_url":"https://api.github.com/users/JasonRShaver/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-16T22:54:11Z","updated_at":"2016-02-17T19:13:22Z","closed_at":"2016-02-17T19:13:22Z","body":"Running this command in 0.9.15:\r\n\r\n`azure vm list-usage -l westus -vv`\r\n\r\nGives this error:\r\n\r\nerror:   Cannot read property 'list' of undefined\r\nsilly:   {\r\nsilly:       message: \"Cannot read property 'list' of undefined\",\r\nsilly:       __frame: {\r\nsilly:           name: '__18',\r\nsilly:           line: 393,\r\nsilly:           file: '/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vm._js',\r\nsilly:           prev: undefined,\r\nsilly:           calls: 2,\r\nsilly:           active: false,\r\nsilly:           offset: 4,\r\nsilly:           col: 17\r\nsilly:       },\r\nsilly:       rawStack: \"TypeError: Cannot read property 'list' of undefined\\n    at __$listComputeUsage__19 (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vmClient._js:1286:26)\\n    at __func (/usr/local/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:47:5)\\n    at VMClient.listComputeUsage__19 [as listComputeUsage] (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vmClient._js:1283:12)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vm._js:372:25)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:111:13)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/lib/util/interaction._js:220:20)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:111:13)\\n    at /usr/local/lib/node_modules/azure-cli/lib/util/interaction._js:149:7\\n    at ReadStream.<anonymous> (/usr/local/lib/node_modules/azure-cli/node_modules/commander/lib/commander.js:763:5)\\n    at ReadStream.g (events.js:260:16)\\n\",\r\nsilly:       stack: \"TypeError: Cannot read property 'list' of undefined\\n  <<< async stack >>>\\n    at listComputeUsage__19 (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vmClient._js:1286:26)\\n  at __18 (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vm._js:397:18)\\n  <<< raw stack >>>\\n    at __$listComputeUsage__19 (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vmClient._js:1286:26)\\n    at __func (/usr/local/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:47:5)\\n    at VMClient.listComputeUsage__19 [as listComputeUsage] (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vmClient._js:1283:12)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/lib/commands/arm/vm/vm._js:372:25)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:111:13)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/lib/util/interaction._js:220:20)\\n    at ___ (/usr/local/lib/node_modules/azure-cli/node_modules/streamline/lib/callbacks/runtime.js:111:13)\\n    at /usr/local/lib/node_modules/azure-cli/lib/util/interaction._js:149:7\\n    at ReadStream.<anonymous> (/usr/local/lib/node_modules/azure-cli/node_modules/commander/lib/commander.js:763:5)\\n    at ReadStream.g (events.js:260:16)\\n\"\r\nsilly:   }\r\n<!---@tfsbridge:{\"tfsId\":5772280}-->"}}