github.com/jrasell/terraform@v0.6.17-0.20160523115548-2652f5232949/website/source/docs/providers/azurerm/r/cdn_profile.html.markdown (about) 1 --- 2 layout: "azurerm" 3 page_title: "Azure Resource Manager: azurerm_cdn_profile" 4 sidebar_current: "docs-azurerm-resource-cdn-profile" 5 description: |- 6 Create a CDN Profile to create a collection of CDN Endpoints. 7 --- 8 9 # azurerm\_cdn\_profile 10 11 Create a CDN Profile to create a collection of CDN Endpoints. 12 13 ## Example Usage 14 15 ``` 16 resource "azurerm_resource_group" "test" { 17 name = "resourceGroup1" 18 location = "West US" 19 } 20 21 resource "azurerm_cdn_profile" "test" { 22 name = "acceptanceTestCdnProfile1" 23 location = "West US" 24 resource_group_name = "${azurerm_resource_group.test.name}" 25 sku = "Standard" 26 27 tags { 28 environment = "Production" 29 cost_center = "MSFT" 30 } 31 } 32 ``` 33 34 ## Argument Reference 35 36 The following arguments are supported: 37 38 * `name` - (Required) Specifies the name of the CDN Profile. Changing this forces a 39 new resource to be created. 40 41 * `resource_group_name` - (Required) The name of the resource group in which to 42 create the CDN Profile. 43 44 * `location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. 45 46 * `sku` - (Required) The pricing related information of current CDN profile. Accepted values are `Standard` or `Premium`. 47 48 * `tags` - (Optional) A mapping of tags to assign to the resource. 49 50 ## Attributes Reference 51 52 The following attributes are exported: 53 54 * `id` - The CDN Profile ID.