June 2020
Intermediate to advanced
432 pages
11h 57m
English
A special type of resource is the dependent resource. For example, SQL databases are hosted on a SQL Server and Service Bus Topics are located within a Service Bus namespace. For a nested resource type, the type and name reflect this nesting:
{ "apiVersion": "2017-04-01", "name": "myNamespaceName/myTopicName", "type": "Microsoft.ServiceBus/namespaces/topics", "dependsOn": [ "Microsoft.ServiceBus/namespaces/myNamespaceName" ]}
Next to nesting the type and the name, the extra property, dependsOn, is also mandatory to specify that this nested resource can only be created after the containing resource exists. A location property is not necessary since this will be inherited from the containing resource.
Read now
Unlock full access