{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/116","repository_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/116/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/116/events","html_url":"https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/issues/116","id":144657149,"number":116,"title":"user should be able to set storage_account_name on a persistent disk","user":{"login":"pronoiac","id":171153,"avatar_url":"https://avatars.githubusercontent.com/u/171153?v=3","gravatar_id":"","url":"https://api.github.com/users/pronoiac","html_url":"https://github.com/pronoiac","followers_url":"https://api.github.com/users/pronoiac/followers","following_url":"https://api.github.com/users/pronoiac/following{/other_user}","gists_url":"https://api.github.com/users/pronoiac/gists{/gist_id}","starred_url":"https://api.github.com/users/pronoiac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pronoiac/subscriptions","organizations_url":"https://api.github.com/users/pronoiac/orgs","repos_url":"https://api.github.com/users/pronoiac/repos","events_url":"https://api.github.com/users/pronoiac/events{/privacy}","received_events_url":"https://api.github.com/users/pronoiac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T17:15:06Z","updated_at":"2016-03-31T01:22:33Z","closed_at":null,"body":"so that we can make sure that persistent disk uses specific storage account\r\n\r\nusers will say something like this:\r\n\r\n```\r\npersistent_disk_pools:\r\n- name: large\r\n  cloud_properties:\r\n    storage_account_name: premiumsotre\r\n```\r\n\r\nand then CPI will receive create_disk CPI call with cloud_properties filled in (https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/blob/master/src/bosh_azure_cpi/lib/cloud/azure/cloud.rb#L207).\r\n\r\nstorage_account_name on disk should take precedence over any other configuration (global or VM one).\r\n\r\ncc @cppforlife "},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/comments/203705952","html_url":"https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/issues/116#issuecomment-203705952","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/116","id":203705952,"user":{"login":"AbelHu","id":6416187,"avatar_url":"https://avatars.githubusercontent.com/u/6416187?v=3","gravatar_id":"","url":"https://api.github.com/users/AbelHu","html_url":"https://github.com/AbelHu","followers_url":"https://api.github.com/users/AbelHu/followers","following_url":"https://api.github.com/users/AbelHu/following{/other_user}","gists_url":"https://api.github.com/users/AbelHu/gists{/gist_id}","starred_url":"https://api.github.com/users/AbelHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbelHu/subscriptions","organizations_url":"https://api.github.com/users/AbelHu/orgs","repos_url":"https://api.github.com/users/AbelHu/repos","events_url":"https://api.github.com/users/AbelHu/events{/privacy}","received_events_url":"https://api.github.com/users/AbelHu/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T01:22:33Z","updated_at":"2016-03-31T01:22:33Z","body":"@pronoiac When you create VMs on premium storage account, the persistent data disks will be put on the same premium storage account. You do not need to specify storage account name in persistent_disk_pools.\r\n\r\n    resource_pools:\r\n    - name: vms\r\n      network: private\r\n      ...\r\n      cloud_properties:\r\n        storage_account_name: <your_storage_account_name>"}}