{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/837","repository_url":"https://api.github.com/repos/Azure/azure-sdk-for-php","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/837/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/837/comments","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/837/events","html_url":"https://github.com/Azure/azure-sdk-for-php/issues/837","id":153613182,"number":837,"title":"[question] How to get instance size from service management","user":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2016-05-07T19:31:00Z","updated_at":"2016-05-11T18:58:08Z","closed_at":null,"body":"Given the following example, the instance sizes are always returning `null`:\r\n```php\r\n/* @var $hostedService \\WindowsAzure\\ServiceManagement\\Models\\HostedService */\r\nforeach ($hostedService->getDeployments() as $deployment) {\r\n    foreach ($deployment->getRoleInstanceList() as $roleInstance) {\r\n        var_dump($roleInstance->getInstanceSize()); // NULL\r\n    }\r\n}\r\n```\r\nHow can I get the instance sizes from service management? I need at least `memoryInMB` and `numberOfCores` properties.\r\nThank you in advance."},"comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/comments/218556169","html_url":"https://github.com/Azure/azure-sdk-for-php/issues/837#issuecomment-218556169","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/837","id":218556169,"user":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T18:58:08Z","updated_at":"2016-05-11T18:58:08Z","body":"What are your concerns about this?\r\nDo you think it must be addressed by the SDK as a new feature? Or is it out if the scope and should be omitted?"}}