{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/283","labels_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/283/comments","events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/283/events","html_url":"https://github.com/Azure/azure-quickstart-templates/issues/283","id":79038763,"number":283,"title":"Example for placing vm into existing vnet","user":{"login":"trondhindenes","id":1747120,"avatar_url":"https://avatars.githubusercontent.com/u/1747120?v=3","gravatar_id":"","url":"https://api.github.com/users/trondhindenes","html_url":"https://github.com/trondhindenes","followers_url":"https://api.github.com/users/trondhindenes/followers","following_url":"https://api.github.com/users/trondhindenes/following{/other_user}","gists_url":"https://api.github.com/users/trondhindenes/gists{/gist_id}","starred_url":"https://api.github.com/users/trondhindenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trondhindenes/subscriptions","organizations_url":"https://api.github.com/users/trondhindenes/orgs","repos_url":"https://api.github.com/users/trondhindenes/repos","events_url":"https://api.github.com/users/trondhindenes/events{/privacy}","received_events_url":"https://api.github.com/users/trondhindenes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T15:13:39Z","updated_at":"2015-05-21T15:57:07Z","closed_at":null,"body":"I'm trying to figure out how to make resource templates that integrate with existing resources (such as storage accounts and virtual networks). OSDisks reference storage accounts simply using the storage account URL, so that one is easy. However, I'm having problems with deploying a vm into an existing vnet (the vnet lives in another resource group). I'm sure I'm missing something, since a hard requirement on vm and vnet in the same resource group would just be plain stupid, but I can't seem to figure it out. I'd love to see an example template for that scenario."},"comment":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/comments/104330480","html_url":"https://github.com/Azure/azure-quickstart-templates/issues/283#issuecomment-104330480","issue_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/283","id":104330480,"user":{"login":"singhkay","id":6164178,"avatar_url":"https://avatars.githubusercontent.com/u/6164178?v=3","gravatar_id":"","url":"https://api.github.com/users/singhkay","html_url":"https://github.com/singhkay","followers_url":"https://api.github.com/users/singhkay/followers","following_url":"https://api.github.com/users/singhkay/following{/other_user}","gists_url":"https://api.github.com/users/singhkay/gists{/gist_id}","starred_url":"https://api.github.com/users/singhkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhkay/subscriptions","organizations_url":"https://api.github.com/users/singhkay/orgs","repos_url":"https://api.github.com/users/singhkay/repos","events_url":"https://api.github.com/users/singhkay/events{/privacy}","received_events_url":"https://api.github.com/users/singhkay/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T15:57:07Z","updated_at":"2015-05-21T15:57:07Z","body":"@trondhindenes This might be what you're looking for https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-different-rg-vnet "}}