ARM resourceId Function

In its basic form, we need to provide just two pieces of information to the resourceId function: Resource type and resource name. We must add add subscription id and resource group name in situations where the resource is in a different resource group.

ARM Nested Templates

Nested templates are needed when you create related resources via two separate pipelines, ie a servicebus topic and a servicebus topic subscription. The dependency relation between the resources in the different pipelines is achieved via nested templates.

ARM DependsOn

ARM template syntax related to dependency relations: use function resourceId with separate parameters for servicebus, topic and subscription name, not one parameter with a nested reference.