Which term describes the syntax style used by Azure Resource Manager (ARM) templates, where you define the desired state of your infrastructure rather than the sequence of programming commands to create it?
- AImperative scripting
- BResource group nesting
- Declarative syntaxAnswer
- DLocation inheritance
Answer
Declarative syntax
The correct answer is declarative syntax. With declarative syntax, you define the target state of the resources (such as virtual machines, storage accounts, or virtual networks) you want to create, along with their properties, and Azure Resource Manager manages the orchestration and deployment steps. You do not need to write procedural code or sequence commands.
Step-by-Step Solution
Key Concept
Azure Resource Manager (ARM) templates use declarative syntax to define infrastructure.