0
votes

I'm trying to create Azure Resource Group template for an application consisting of: Cloud Service (with single WebRole), Notification Hub, Azure Storage and Azure SQL.

I started in VS2013 by creating AzureResourceGroup project and using the JSON Outline i can add storage and SQL resources. But Cloud Service and Notification Hub is missing in Add Resource dialog. What is the schema for them? What is the best way to add them to the template?

Edit: I found schema for NotificatonHubs here and was able to add template for it. Still don't know how to define the Cloud Service.

1
Can you use a VM rather than a web role? Azure Resource Manager doesn't have good support for Web Roles/Cloud Services, but the VM/IaaS support is very good. You should be able to do everything with a VM as well, i.e. set the hostname, automatics updates, etc.theadriangreen
No, I don't want to change PaaS for IaaS just because of missing bits in relatively new feature.eXavier

1 Answers

2
votes

Cloud Services are in a "private preview" on ARM so we won't have snippets in VS until it goes public. I think that you have to be whitelisted as part of the preview to deploy at the moment... (i.e. the deployment will fail if you're not whitelisted)