Thank you Adam for the content. There are a lot of object-oriented programming concepts here. I don't know about others but those long strings are killing me. When I finish reading them I almost forget what were they doing in the first place.
What about nested copy? I need to deploy a Pipelines of Azure Data Factory. Each pipeline has its own array of "source endpoints", with different lengths. So not only I need to iterate over the pipelines, I need to iterate over each "source endpoint" it has. Anyway to do this?
I'm trying to generate the ARM template for ADF migration but every time its creating 2 files in which json is randomly split between 2 files withn names ARM_0.json and ARM_1.json. How to create a single file?
Hi Adam, Really appreciated your video, I have one doubt, how container names comes container1,container2..., we have added the concadination with "Storage",uniquestring, as well right ??
Hi, Question: i create 2 VMs with a name using instance count and VMs 1 and 2 created,,, fine . but when I run the template again with same VM name it should start the VM name from 3,4 ... as I have already created VMs 1 and 2 in earlier run... please advise?
Thanks for the kind words. Unfortunately this scenario is not much different from copying multiple storage account. It is surely more complex because there are more components required for a VM but the technical knowledge required is the same. Since it doesn't require a new skill set I'm not sure if it constitutes a separate video. Thanks for the suggestion though. Keep up the good work!
@@AdamMarczakYT Thanks for the video. even i had similar question but i guess i need to learn a bit more and apply the info from this video for multi VM deployment.
Thank you for this great resource. I have a question about Disaster recovery, what is the best method to replicate all the infrastructure (vnet, subnet, disks, vm, etc ) instead of jus replicating VMs? Thanks a lot
Thank you so much for this Adam, very helpful. I have a question: Instead of using functions to generate names, what if I have a static set of names I already have, like storage-germany, storage-india... storage-singapore .. many names in array? How do i specify these in an array or object?
How would one get the storage queue endpoints? I have tried this: "storageQueueNames": { "type": "array", "copy": { "count": "[length(parameters('storageQueueNames'))]", "input": "[reference(resourceId('Microsoft.Storage/storageAccounts', variables('storage_account_name'), '/default'), copyIndex('copyQueues')).primaryEndpoints.queue]" } }
What I meant to say, if I have used your example 04-storage-child-resources.json and created storage queues instead of blobContainers, then how would I ouput these queue endpoint in the outputs section?
Hey, there are few examples here. You are almost done, your resourceid might be incorrect. docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#reference-example
Hi Adam, great examples. I am trying to get around creating load balancing rules on a MLB, using copy loops for that property (loadBalancingRules). I have a variable (numApplications) and for each application I must create 2 rules (http_access_appx and https_access_appx). With copy loops I am able to create one of the rules for all applications, but having trouble to create both rules, as I cannot use the copy loops multiple times inside the same resource... How would you recommend doing this? Thanks, and congrats for the great tutorials
Hey, thanks! If you always create only 2 rules then why use copy loops in the first place :) but if you really insist check my response on reddit on similar example www.reddit.com/r/AZURE/comments/fkxlbs/nested_arm_template_with_copy/
@@AdamMarczakYT thanks Adam! I think modulo function gives me an idea of how to solve it, awesome:) I have to use loops because the it depends on number of applications. If this number is 20, I am creating 40 loadBalancingRules in one go (20 for http and 20 for https). Cheers
Create a subnet resource and use copy look to multiply it. It's a bit trickier because you need to generate address spaces properly github.com/Azure/azure-quickstart-templates/blob/master/101-vnet-two-subnets/azuredeploy.json
I will definitely cover CDN. But there are so many more common/cool services on the list. Like synapse analytics, api management, log analytics and KQL, cognitive services, etc. But CDN will eventually get here.