Use this data source to access information about a CDN Profile.
data "azurerm_cdn_profile" "test" {
name = "myfirstcdnprofile"
resource_group_name = "example-resources"
}
output "cdn_profile_id" {
value = "${data.azurerm_cdn_profile.test.id}"
}
name - (Required) The name of the CDN Profile.
resource_group_name - (Required) The name of the resource group in which the CDN Profile exists.
location - The Azure Region where the resource exists.
sku - The pricing related information of current CDN profile.
tags - A mapping of tags assigned to the resource.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azurerm/d/cdn_profile.html