This example is borrowed from the Azure Terraform Provider, under the MPL-2.0 License.