{"action":"created","issue":{"url":"https://api.github.com/repos/azureautomation/automation-packs/issues/9","labels_url":"https://api.github.com/repos/azureautomation/automation-packs/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/azureautomation/automation-packs/issues/9/comments","events_url":"https://api.github.com/repos/azureautomation/automation-packs/issues/9/events","html_url":"https://github.com/azureautomation/automation-packs/issues/9","id":127348169,"number":9,"title":"Creating complex object variable in ARM templating","user":{"login":"mshorrosh","id":16309500,"avatar_url":"https://avatars.githubusercontent.com/u/16309500?v=3","gravatar_id":"","url":"https://api.github.com/users/mshorrosh","html_url":"https://github.com/mshorrosh","followers_url":"https://api.github.com/users/mshorrosh/followers","following_url":"https://api.github.com/users/mshorrosh/following{/other_user}","gists_url":"https://api.github.com/users/mshorrosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mshorrosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshorrosh/subscriptions","organizations_url":"https://api.github.com/users/mshorrosh/orgs","repos_url":"https://api.github.com/users/mshorrosh/repos","events_url":"https://api.github.com/users/mshorrosh/events{/privacy}","received_events_url":"https://api.github.com/users/mshorrosh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-19T02:05:42Z","updated_at":"2016-01-19T17:46:07Z","closed_at":null,"body":"Hi\r\n\r\nIs there currently a way to create a complex object Azure Automation Variable via ARM?\r\n\r\nThanks\r\nMatt"},"comment":{"url":"https://api.github.com/repos/azureautomation/automation-packs/issues/comments/172930773","html_url":"https://github.com/azureautomation/automation-packs/issues/9#issuecomment-172930773","issue_url":"https://api.github.com/repos/azureautomation/automation-packs/issues/9","id":172930773,"user":{"login":"elcooper","id":10818658,"avatar_url":"https://avatars.githubusercontent.com/u/10818658?v=3","gravatar_id":"","url":"https://api.github.com/users/elcooper","html_url":"https://github.com/elcooper","followers_url":"https://api.github.com/users/elcooper/followers","following_url":"https://api.github.com/users/elcooper/following{/other_user}","gists_url":"https://api.github.com/users/elcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/elcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elcooper/subscriptions","organizations_url":"https://api.github.com/users/elcooper/orgs","repos_url":"https://api.github.com/users/elcooper/repos","events_url":"https://api.github.com/users/elcooper/events{/privacy}","received_events_url":"https://api.github.com/users/elcooper/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T17:46:07Z","updated_at":"2016-01-19T17:46:07Z","body":"Yes, you should be able to pass in a JSON object as a parameter and the use it in the template. See https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/#parameters.\r\n\r\n\r\nFrom: Matt Shorrosh [mailto:notifications@github.com]\r\nSent: Tuesday, January 19, 2016 8:41 AM\r\nTo: azureautomation/automation-packs <automation-packs@noreply.github.com>\r\nSubject: Re: [automation-packs] Creating complex object variable in ARM templating (#9)\r\n\r\n\r\nIs it possible to actually pass in an arm object type in as a parameter? For example an param object such as this:\r\n\r\n\"adSettings\": {\r\n\"type\": \"object\",\r\n\"metadata\": {\r\n\"Description\": \"AD settings object\"\r\n}\r\n}\r\n\r\nMy end goal is to import this into a complex object variable, either by straight import like the above or to a runbook that can do the powershell (New-AzureAutomationVariable) to import it.\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/azureautomation/automation-packs/issues/9#issuecomment-172911022>.\r\n"}}